Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
afiori
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
32 ms
·
661.
▲
by
afiori
3y ago
Is a "write if not exists" atomic operation enouhg as a concurrency primitive for database locks?
662.
▲
by
afiori
3y ago
Terms evolve and now filesytem and "system of files" mean different things, I would argue that not supporting folders or many other file operations make something not a filesystem today.
663.
▲
by
afiori
3y ago
by this logic the file "foo/bar/" correspond to the filename "f:o:o:/:b:a:r:/" (using a different caracter as separator)
664.
▲
by
afiori
3y ago
I think it is fair to say that S3 (as named files) is not a filesystem and it is inefficient to use it directly as such for common filesystem use cases; the same way that you could say it for a tarball[0]. This does not make S3 a bad storag
665.
▲
by
afiori
3y ago
One of our clients handles non-trivial usage with a setup that is not much more complicated. They use hosted db (like AWS RDS or MongoDB Atlas), an external service for some user data (sorta like Firebase to handle user accounts, paid/
666.
▲
by
afiori
3y ago
I like to think of it as partially owning how chatGPT sounds like "Cat, I farted"
667.
▲
by
afiori
3y ago
I had no idea the other style existed
668.
▲
by
afiori
3y ago
Rice cookers are designed to reach a certain humidity level, you can choose how much under/over cooked you can make the rice by putting less/more water
669.
▲
by
afiori
3y ago
maybe you could pre heat the water pour the rice for 5 minutes and then start fresh with new water.
670.
▲
by
afiori
3y ago
I agree that they too often chose to be petty and have a strong negative bias. They also sometimes seems to believe that insults are arguments. My personal opinion of Musk is quite different[0], but I do believe that they are not factually
671.
▲
by
afiori
3y ago
SpaceX launches keep exploding and to be compliant with Nasa requirements they need to start launching about now (they need a lot of successful launches not too close together) They proposal also requires dozens of in orbit refils and was r
672.
▲
by
afiori
3y ago
As far as I understand SpaceX plan requires dozens of launches in close succession with never-tested in orbit refill, while Blue Origin does not. For another view of some considerations: https://www.youtube.com/watch?v=OoJsP
673.
▲
by
afiori
3y ago
According to some commentators Blue Origin has more than a fighting chance to compete with SpaceX https://youtu.be/1slJdJTzfzc?si=V7HNxAvBz0TQtMTW
674.
▲
by
afiori
3y ago
Function names are scoped to the current namespace. This means that for local closures it is usually better to define functions as variables $closure = function(){}; instead of function closure(){}
675.
▲
by
afiori
3y ago
I believe that for almost all rationals trig functions never return a rational so you must have some kind of rounding tecnique. An advantage of rationals is that you have much more freedom in handling how the rounding works, for example you
676.
▲
by
afiori
3y ago
I feel like at some point the performance hit of using actual rationals (pairs of bignums) makes sense
677.
▲
by
afiori
3y ago
Almost every "escaping the sandbox" is due to some kind of bug. Sure if the PDF standard exposed a "globalThis.runBlobAsNativeExecutable" function it would be worse, but it is still escaping the sandbox.
678.
▲
by
afiori
3y ago
No, they are not executable by the OS (generally). Formats are on a gradient between "completely code" and "completely data" and PDFs are quite close to the "completely code" extreme'; I guess this is what
679.
▲
by
afiori
3y ago
It is still a lot
680.
▲
by
afiori
3y ago
This is a meaningless equivalence if you want to be even slightly cynic: the homegrown brainwashing apps are a surveilance tresure trove for the government [0]. Foreign brainwashing apps are too but for other governments. [0] https:/
681.
▲
by
afiori
3y ago
Honestly I would be more in favour of limiting car speed to 5mph
682.
▲
by
afiori
3y ago
so phones would be unresponsive on all public transport, boats, ferries, for all car passengers, and maybe even in places with shitty GPS?
683.
▲
by
afiori
3y ago
for any random trip it is far more likely that the car will be a better choice, but likely trip choice is a power law with most trips focusing on few routes. This to say that the purpose of trains is not to be better than cars at what car d
684.
▲
by
afiori
3y ago
My guess would be that they expect massive and irresponsible conversion of wild areas into farmland.
685.
▲
by
afiori
3y ago
I actually believe that a company can and should have drives other than making money for the shareholders. I would prefer if more companies had objectives like "make quality products affordable" or "cultivate and respect cust
686.
▲
by
afiori
3y ago
I am talking about what is a reasonable price for something vs its market price. As far as I know a stock has three useful uses: - you can sell it to someone - you can collect dividends - if the company is sold you get a fraction of the sal
687.
▲
by
afiori
3y ago
I am not talking about the valutatio of the company but about the price of the stock. The valutation of a company is meaningful for loans and investments, but not directly for retail trading. If the stock pays 0 dividends then the only valu
688.
▲
by
afiori
3y ago
I am not sure about the other companies, but Tesla has no plan to ever pay dividends to stock holders so (buyout aside) the only "rational" value for the stock is 0 independently of its valutation.
689.
▲
by
afiori
3y ago
Tautology aside "gambling is gambling" false just like "addiction is addiction" is false. I personally dislike tobacco and wish people would stop using it, but it would be dishonest to claim that it is as bad as heroine
690.
▲
by
afiori
3y ago
Few people watch routinely lotto extractions with strong emotions, millions are sport fan that never skip a game. Nobody cares wether the next lottery has a 24 and millions care very deeply about who wins the next sportball cup. Both allow
More ›