Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
zarzavat
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
31 ms
·
871.
▲
by
zarzavat
2y ago
Indeed, and I'm not sure that China will arrest you when you're travelling in a foreign country, for trading with Taiwan. https://en.wikipedia.org/wiki/Extradition_case_of_Meng_Wanzh...
872.
▲
by
zarzavat
2y ago
> even if lunar time is well known The date of Ramadan is not well known because it's based on being able to see the moon from the local position on Earth. If the sky is particularly overcast for instance, then you cannot see the
873.
▲
by
zarzavat
2y ago
You can, you can switch it off by declaring a normal non-async function. It's almost as if there's two fundamentally different types of functions that people might want to declare, necessitating two function colors. Go is a langua
874.
▲
by
zarzavat
2y ago
People still do drugs but they do it behind closed doors because otherwise they would be immediately caught and sent to prison for a long time. Because drug use is forced into private spaces, the rest of society is able to maintain strong c
875.
▲
by
zarzavat
2y ago
I would rather the government outright bans things rather than pseudo-banning them via the back door via taxes. At least then they have to expend an appropriate amount of political capital, and there is a proper amount of debate over it. We
876.
▲
by
zarzavat
2y ago
A model should as closely as possible represent what it is (a table in a DBMS), not what it wants to be (the thing that the table is representing). Otherwise you have two models, the model in your web framework and the model in your DBMS.
877.
▲
by
zarzavat
2y ago
Remember the PHP 4 era. The average developer is incapable of implementing everything from scratch securely. Django and similar big frameworks perform a vital public service, by providing sensible defaults to people who need them. I do agre
878.
▲
by
zarzavat
2y ago
Depends on the framework. You can use class= in Preact.
879.
▲
by
zarzavat
2y ago
There's completion but it will come from China. Nobody else is paying attention.
880.
▲
by
zarzavat
2y ago
Why is the path a string and not an array? That means you have to have some way to escape / in keys, and also you need to parse the path string. Parser in parser syndrome. Or otherwise it can't handle arbitrary JSON documents.
881.
▲
by
zarzavat
2y ago
> How is that any different than an in person meeting? Because you can see yourself. Whereas people IRL conduct themselves in ways that are unoptimized - because they can't see themselves, and since everybody is unoptimized it doesn
882.
▲
by
zarzavat
2y ago
It's much more likely to have died out because of smartphones. The boredom of the pre-smartphone era led to all kinds of ingenuity. Kids were bored so they found ways to not be bored. Nowadays everybody is addicted their phone, simple
883.
▲
by
zarzavat
2y ago
> That's pretty obviously not going to be viable with any existing technology. What Musk understands is that technology is a moving target. You shoot for where it will be, not where it is now. Sometimes he's overoptimistic, how
884.
▲
by
zarzavat
2y ago
IANAP but it seems that fundamental physics suffers from a lack of monotonicity of knowledge. Although physics does its best to explain things, those explanations are more like guesses than known facts. A theoretical physicist can have thei
885.
▲
by
zarzavat
2y ago
If you allow arbitrary values, what's the difference between a record and a frozen object? I thought that the whole point is to have guaranteed deep immutability, which you can't have if it's got arbitrary objects in it.
886.
▲
by
zarzavat
2y ago
Different parts of a string can be in different languages too[1]. The lowercase of "DON'T FUSS ABOUT FUSSBALL" is "don't fuss about fußball". Unless you're in Switzerland. [1] https://en.wikiped
887.
▲
by
zarzavat
2y ago
This time it affects their bottom line in a profound way so wishful thinking is probably not going to work unfortunately.
888.
▲
by
zarzavat
2y ago
> An other baffling design I've encountered in the UK is a roundabout with traffic lights half-way through.. Wasn't the concept based on removing traffic lights to fluidify traffic..? This is indeed a weird one from a US perspe
889.
▲
by
zarzavat
2y ago
I wouldn't be so sure. AI can ingest far more information about humans than a human ever could. It has read our stories and understands our languages. AI might have more to say about humans than we do ourselves. Of course AI can never
890.
▲
by
zarzavat
2y ago
I agree and people are missing the bigger issue here. Energy prices are an existential issue for brick-and-mortar businesses. Restaurants and cafes in particular struggle to pay their energy bills. Even if you have no customers you still ha
891.
▲
by
zarzavat
2y ago
Lean (and iirc Mathematica) use backslash escapes: you type \symbolname and the symbol is inserted by your editor. You can also imbue the backslash escape sequence with the same meaning as the unicode, so that in the event that the editor d
892.
▲
by
zarzavat
2y ago
British Indian Ocean Territory isn’t a state, it’s just a territory with a military base on it, so there is no successor state. It’s like if Guantanamo Bay had its own ccTLD. The land will go to Mauritius, the legal entity of British Indian
893.
▲
by
zarzavat
2y ago
Did they agree who will get the the .io ccTLD? Or is that up to ICANN?
894.
▲
by
zarzavat
2y ago
Please stop talking, for your own sake.
895.
▲
by
zarzavat
2y ago
I don’t know about that, it’s normal to name a business after the founder. For example JCPenney, Johnson & Johnson, Pfizer, Disney, Boeing, Wells Fargo. The reference is also quite oblique.
896.
▲
by
zarzavat
2y ago
Obviously anyone scraping on their home IP is being foolish. Getting blacklisted is the least bad thing that can happen. As for fingerprinting, you can just use a different computer. Most people probably have a bunch of old computers lying
897.
▲
by
zarzavat
2y ago
There seem to be many people who are at pains to tell us what generative AI won't do in the future. Any such prediction seems extremely likely to be false without a time bound, or an argument to physical impossibility.
898.
▲
by
zarzavat
2y ago
It's technically doable, the text in the right pane would be stored as comments in the source. The editor would parse the comments and collapse them into UI elements in the code, so that they could still be copy and pasted e.g. how the
899.
▲
by
zarzavat
2y ago
You can do it in VSCode. It's running in a browser. There may extensions to do that or if not you could write one easily. The reason it doesn't come with the editor is because every language has its own specific documentation form
900.
▲
by
zarzavat
2y ago
That depends on when Meta stops. The longer Meta keeps releasing free models, the more capabilities are made permanently unprofitable. For example, Llama 3.1 is already good enough for translation or as a writing assistant. If Meta stopped
More ›