Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
zaphar
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
38 ms
·
541.
▲
by
zaphar
4y ago
There is a long tail of other languages. JaneStreet uses Ocaml. I wouldn't be surprised if there was some usage of Go out there. I'm familiar with at least one trading house that uses Elixir. The bulk of it is Java or C++ though.
542.
▲
by
zaphar
4y ago
The two biggest languages I'm aware of in that space are Java and C++. I don't think I've heard of any shop using C. Java seems to be keeping up with C++ there as far as I know. Do you have evidence to the contrary?
543.
▲
by
zaphar
4y ago
With one very important difference. Unless you use a thread_safe interior mutability implementation like Mutex Arc won't allow you modify or change the wrapped value. C++'s shared_ptr does not enforce the same. All of which mean
544.
▲
by
zaphar
4y ago
I worked at Google for 7 years, admittedly a decade ago. We didn't grind leetcode, We didn't jump through mindless hoops, and we had almost 0 bureaucracy. So for at least that letter in the acronym it was nothing like you describe
545.
▲
by
zaphar
4y ago
Law in the sense that there is legal precedence from court cases, yes. Law in the sense that there are literal statutes saying so, no. Sadly, both matter.
546.
▲
by
zaphar
4y ago
Ahhhh yes, The this was a great business if only they hadn't thrown all the money out the window argument. If a business is throwing money out the window then it doesn't matter how good the rest of the business is. The company i
547.
▲
by
zaphar
4y ago
I'm a manager with discretionary time off. I default to yes and then push back on deadlines if the PTO means we can't make it. So far it's working.
548.
▲
by
zaphar
4y ago
Our company has discretionary time off. I can't speak for other managers in the company but in my own role as manager I actually lecture my people if they don't take enough time off. I don't know if my frequent encouragement
549.
▲
by
zaphar
4y ago
That would not tell you anything about how much someone values a product. Everyone will happily pay 0 for something they value at 10. It's a fantastic deal for them. Too discover the true value you have to raise the price until they re
550.
▲
by
zaphar
4y ago
I think it's more accurate to say that chatGPT was trained than written. The advancements in this space have been primarily pushingb the parameter sets of the model high enough that you hit a threshold where you unlock an order of magn
551.
▲
by
zaphar
4y ago
There are not multiple mutable references in the same scope. The mutable reference is only valid for the scope of the function `f()`. This doesn't sound like a problem understanding mutable references but a problem understanding scope.
552.
▲
by
zaphar
4y ago
No,he is correct when he says XSLT. It's a pure functional language with a terrible syntax. Nix as a language is fine. There isn't actually much to it. However the extreme approach to laziness while quite powerful also means you c
553.
▲
by
zaphar
4y ago
Today when we can go into space and fly literally around the world it's trivially falsifiable. So no, it's not the same thing in any sense of the word.
554.
▲
by
zaphar
4y ago
Disbelief in Evolution as the origin of life is rooted in a belief about the origins of the universe that is fundamentally impossible to falsify either way. In fact you can believe evolution exists and also believe that it is not the ultima
555.
▲
by
zaphar
4y ago
Flat Earth is trivially falsifiable. Beliefs about the origins of the universe are not so it's not really the same thing.
556.
▲
by
zaphar
4y ago
Exceptions are a return type of functions. They return via a different path but there is no possible way you could disagree that they are a form of return.
557.
▲
by
zaphar
4y ago
The error here is not that they are wrapping the exception necessarily. It is that they re-threw it as an unchecked exception. I strongly believe the only good use of unchecked exceptions is if the code should do the closest reasonable thin
558.
▲
by
zaphar
4y ago
Very few languages actually support Either or Result types ergonomically. I don't have a problem with people using exceptions for these but I do think if the language has compile time type checking it should provide a distinction betwe
559.
▲
by
zaphar
4y ago
If it's an unchecked exception experience says I have a 60-70 percent chance of not knowing it's there without a careful reading of the code. Which means I can't know myself if it's possible to handle it or not. I can al
560.
▲
by
zaphar
4y ago
I think there are two kinds of exceptions in languages that have them as their error handling mechanism. 1. Exceptions you expect your consumers to handle. 2. Exceptions you don't expect your consumers to handle. The first one I would
561.
▲
by
zaphar
4y ago
Not only could you do that in Postgres, but you could do it in a real language of your choice. The reason you don't see it done is because the people who choose Postgres over Oracle know that it's kind of a terrible way to build i
562.
▲
by
zaphar
4y ago
What thing, I looked briefly through your link and didn't see anything that I can't get via Postgres. I'm sure there are probably some very niche things that work differently and make Oracle a compelling choice,n but you have
563.
▲
by
zaphar
4y ago
Colloquially speaking, which your conversation here is, nuke has always meant bombs not reactors. He's not pearl clutching, he's reacting to what sounds like unnecessarily negative terminology.
564.
▲
by
zaphar
4y ago
Batteries have had a lot of problems meeting capacity as a storage solution. Pumped Hydro is pretty good but highly location dependent, Gravity and compressed air I believe show a lot of promise. I don't know enough about Hydrogen or t
565.
▲
by
zaphar
4y ago
When it comes to error handling I rank things along a spectrum: Enumerated Types > Checked Exceptions > Error values > Unchecked Exceptions. The spectrum I'm ranking on is how much assistance the compiler gives me in ensuring
566.
▲
by
zaphar
4y ago
If you encode your test in a type then you don't have to write it separately. Even in python you can use types for this sort of thing it will blow up at runtime but so will your test. Just have a US Money type that won't return a
567.
▲
by
zaphar
4y ago
I never wanted to be a manager until I experienced one of the worst managers I had ever run across and decided maybe I should revise that particular opinion. I'm now a VP and I make it my goal not to be that kind of a manager. I do sti
568.
▲
by
zaphar
4y ago
In a large distributed system stop the world garbage collection is probably not going to work very well.
569.
▲
by
zaphar
4y ago
I would argue that those aren't truths. They need some other term to describe them but truth doesn't really fit the bill. Conflating them with truth leads to weird outcomes in your reasoning. A more accurate term might be stories
570.
▲
by
zaphar
4y ago
The thesis of the article is that EA started out with those stated goals but because of human nature and the effects of forming a larger public organization it is probably unlikely that they still do so or will continue to do so longer term
More ›