Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
nlitened
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
23 ms
·
361.
▲
by
nlitened
4y ago
Just don't break it. Problem solved.
362.
▲
by
nlitened
4y ago
If I understand your point correctly, you say that suspend keyword gives you a hint for which functions are long running, so that you run them in a background thread. I think that’s a very flawed assumption. Some IO operations are pretty fa
363.
▲
by
nlitened
4y ago
In the simplest case, you take an async function, remove `async` and `await` keywords, and as a result you get a normal function which you can call and get a result without awaiting, which has better and more predictable performance, and a
364.
▲
by
nlitened
4y ago
Async/await is extra syntax and one more function color which you have to keep in mind, while being just a workaround for expensive threads. Recent Java has just made threads cheap, so async concurrency is much simpler and more consist
365.
▲
by
nlitened
4y ago
We will call you back, Sir. Have a good day!
366.
▲
by
nlitened
4y ago
Add a new library dependency when built-in one-liner regex does just fine? I don’t think that’s a good idea by any measure. Also, learning regex syntax has much better ROI and is a much more transferable skill, than learning a specific pars
367.
▲
by
nlitened
4y ago
It does look pretty clean. You're the creator of this blockchain, I assume?
368.
▲
by
nlitened
4y ago
Which one is that?
369.
▲
by
nlitened
4y ago
Yes, Vitalik asks everyone to download a new version with the protocol patched. Previously it was "pretty please do this", now it is "do this, or you lose all your staked ETH".
370.
▲
by
nlitened
4y ago
Their “serfs” are free to go though, that’s a big difference. Also feudal lords own land which is in limited supply, but Bezos and Musk own equity which is in unlimited supply, that’s a second big difference. Sorry, but I see it as just pla
371.
▲
by
nlitened
4y ago
If you wrote a program in one week that saved some company multiple millions of dollars per year in expenses, and you get 1% of that saving—did you steal that money? Were you being parasitic on that company? Were you not deserving of that m
372.
▲
by
nlitened
4y ago
$75/hour of GDP is _average_. Per-person GDP follows power law, which means that given the average, _lots_ of people also produce $0.75/hour of GDP or less, and quite a lot of people produce $7500/hour.
373.
▲
by
nlitened
4y ago
If I understand correctly, not being able to tune .NET is a shortcoming. It is like having a JVM which does not have tuning options, it works optimally only for some workloads, and fails severely for others.
374.
▲
by
nlitened
4y ago
Most people have a phone and/or a desktop computer, that’s enough for production of many valuable things. Problem solved, right? Now people don’t have an excuse to not work anymore.
375.
▲
by
nlitened
4y ago
I think, documenting requirements beforehand with high degree of detail might not be required soon, if GPT can quickly re-write the code upon request given changed requirements.
376.
▲
by
nlitened
4y ago
It might soon start receiving your salary as well :)
377.
▲
by
nlitened
4y ago
I like how the machine refuses to acknowledge that something is technically completely impossible, rather resorting to “I can’t do it” and “not possible within such a short time frame”. I also like to imagine that it is machine expressing p
378.
▲
by
nlitened
4y ago
> I'm not sure I get what you mean by "you might not be looking at the meaningless part"? For example, you might not be pushing buttons that trigger the meaningless part, but the other parts of the system might still be fu
379.
▲
by
nlitened
4y ago
> What I saw was that the repl leads to a runtime state that is invisible and therefore hard to predict I'd also add to what Borkdude said: it also helps that Clojure strongly encourages you to keep runtime state localized (not spre
380.
▲
by
nlitened
4y ago
Also should be taken into account, it's about _reported_ larceny theft. Allegedly, they say that in "anarchist California" people don't even bother reporting anymore.
381.
▲
by
nlitened
4y ago
You can also use immutable/persistent data structures and GC, which gives the same safety from bugs, but is much cheaper from the perspective of precious time spent.
382.
▲
by
nlitened
4y ago
Yeah, I agree that in that Python example, use of exceptions is awful (and the entire example is awful, I think). > But whatever it does internally has no affect on the outside world. Raising an exception is definitely a side effect. How
383.
▲
by
nlitened
4y ago
I am not trying to argue, rather being curious. I've tried to look up what "pure functional" means exactly, and failed to find anything better than Wikipedia[0]: In computer programming, a pure function is a function th
384.
▲
by
nlitened
4y ago
Why do you consider raising an exception not being pure functional? In my opinion, it is exactly equivalent to propagating error return value up the call chain until it is handled (but is faster if no exception is thrown, and contains a sta
385.
▲
by
nlitened
4y ago
If you want all the C# features, just use C#. Java is a separate language with its own tradeoffs.
386.
▲
by
nlitened
4y ago
> I fail to understand how this use of stable coins is better than licensed currency transfer companies. It's not better—if you have access to licensed currency transfer companies. But 220 million people from Russia and Iran don
387.
▲
by
nlitened
4y ago
Yes, like when you go to a shopping mall, you do need fiat currency to purchase goods, _but_ you also need to keep your car's gas tank topped up to get there. Your car's gas price also fluctuates, but usually it does not affect yo
388.
▲
by
nlitened
4y ago
I can explain seriously and answer follow-up questions. I will simplify and just highlight the most valuable current use case, there might or might not be others now or in the future. The value of ether (ETH) is to be a currency that you ne
389.
▲
by
nlitened
4y ago
Victims rightfully desire revenge. If criminal justice system did not provide at least partial revenge, people would start searching for (and finding) other ways to conduct it.
390.
▲
by
nlitened
4y ago
Why not?
More ›