Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
hsn915
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
61 ms
·
781.
▲
by
hsn915
5y ago
Isn't this just a reflection of most websites running wordpress?
782.
▲
by
hsn915
5y ago
> What is a reliable website? What does this website do? It performs well and doesn't randomly go down when someone posts a link to it on HN or tries to put in bad input. > I'm sure you can optimize it to be as efficient as
783.
▲
by
hsn915
5y ago
> distributed cache in front of a database Already an over kill. Think smaller. Think simpler. A single machine serving files directly from the file system (yes, from the SSD attached to the machine) will be able to handle a LOT more.
784.
▲
by
hsn915
5y ago
What topics specifically are you interested in? And where do all the people like you hang out? I'm not an old-school guy by any means .. but I might have something to contribute.
785.
▲
by
hsn915
5y ago
If you have a lot of extra money to throw I'd be happy to oblige.
786.
▲
by
hsn915
5y ago
> The likely scenario is not that you haven't fully understood their constraints or requirements, it's that you're just smarter than they are. I never claimed to be smarter. I just understand some things that I noticed a l
787.
▲
by
hsn915
5y ago
I don't understand. Why is 2k requests/sec supposed to be massive? Try this yourself: write a simple web server in Go, host it on a cheap VPS provider, let's say at the option that costs $20/mo. Your website will be able
788.
▲
by
hsn915
5y ago
On the contrary, I think this has aged really well. Look at this for example: > A recent example illustrates this. Your typical architecture astronaut will take a fact like “Napster is a peer-to-peer service for downloading music” and ig
789.
▲
by
hsn915
5y ago
Go doesn't have macros but it culturally encourages code generation. I myself generate hundreds of lines of code that would otherwise be annoying and error-prone to maintain manually.
790.
▲
by
hsn915
5y ago
This is fine: s2 := append(s1, item) It's only not fine if you some how assume that s2 and s1 will always refer to the same data. > other language separate slices and vectors Go has a separate type for arrays, which is a
791.
▲
by
hsn915
5y ago
They need senior level programmers, but most of them are not willing to pay much more than junior level salaries, because they think they just need copy-paste programmers.
792.
▲
by
hsn915
5y ago
Software Engineering is not in demand. What is in demand is cheap labor that can churn out low-quality web applications, label them MVP, and use them to convince investors to pour in money to hire more cheap labor. The biggest tell that thi
793.
▲
by
hsn915
5y ago
Go tells you very explicitly how it resizes slices by forcing you to write this: slice = append(slice, item) By merely typing this all the time when you add elements, you intuitively understand that appending can potentially re-all
794.
▲
by
hsn915
5y ago
I disagree with this at a very fundamental level. I'm not sure how to express my disagreement. I'll pick a seemingly random point: > Pick a language that most programmers consider weird but whose median user is smart, and then
795.
▲
by
hsn915
5y ago
The whole system is the IDE in the sense that it's meant to be an "integrated development environment". But that's not really a good thing: you only have one system, therefore only one environment. For example: How do yo
796.
▲
by
hsn915
5y ago
Brian Will; Programming lessons on various topics; YouTube What I like about his videos is they are short and straight to the point. He also happens to have a great voice. https://www.youtube.com/user/briantwill/pl
797.
▲
by
hsn915
5y ago
They are only a problem if you trying to use your cognitive power to prove mathematical theorems or discover natural physical laws. Which are not things that our brains are designed for. In all other situations, they are working as expected
798.
▲
by
hsn915
5y ago
I call this the "fallacy" fallacy.
799.
▲
by
hsn915
5y ago
The reason that "slippery slope" is almost never a fallacy is that people with intentions to perform actions that are outside the overton window[0] of acceptable behavior will first do a thing that lies just on the edge of the ove
800.
▲
by
hsn915
5y ago
I don't really know .. these are just guesses: - I think it will not support any platform that is less than 64 bits. - I think the preferred way will be to explicitly host the dependency in your repository. What ever the language does
801.
▲
by
hsn915
5y ago
What if they decide next year to use AI to automatically detect potential violating images? I hope you won't throw the "slippery slope is a fallacy" fallacy at me.
802.
▲
by
hsn915
5y ago
I think most people don't upload to facebook pictures of their kids taking a bath? But they more than likely store such pictures on their phones/laptops.
803.
▲
by
hsn915
5y ago
I object to the concept in its entirety. Your feelings of "inadequacy" are there you to motivate you to get better at what you do. If you label these feelings in a way that makes them seem like some sort of psychological ailment t
804.
▲
by
hsn915
5y ago
People focus too much on the SoA thing as if it was the whole point of the language, but it's really really not. Jon does a lot of programming streams, and I think anyone who watches his programming streams will recognize that "st
805.
▲
by
hsn915
5y ago
This link is misleading and contains very outdated information.
806.
▲
by
hsn915
5y ago
You only need to encounter this problem a few times before you stop trusting the compiler at all.
807.
▲
by
hsn915
5y ago
Does any of this matter? It's just an example to show that zero cost abstractions are actually not zero cost at all. The language would have you believe the abstraction is zero cost. If you were to really believe it, you would never th
808.
▲
by
hsn915
5y ago
I expect the special case handling for u8 to also apply to types that are just a strong typedef around u8.
809.
▲
by
hsn915
5y ago
This is .. amazing? Using what essentially should amount to a strong typedef .. causes code to be millions of times slower. This is worth bookmarking.
810.
▲
by
hsn915
5y ago
> matrix multiply probably one of the easy cases? I suppose the compiler must be able to somehow prove to itself that the code does not do anything else. What if, for example, within the loop you "printf(column)" or something l
More ›