Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
drdaeman
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
34 ms
·
571.
▲
by
drdaeman
2y ago
It’s astonishing that handling and/or storing strings correctly is so hard, people actually suggest it’s somehow better to “just” stop such strings at administrative level. I find it harmful assuming that some externally-sourced data w
572.
▲
by
drdaeman
2y ago
This makes sense, but I think it's even a better reason to not use a code generator (which forces certain patterns on your code), but rather think about the best language-native way to express a certain concept you want to express.
573.
▲
by
drdaeman
2y ago
> narrow down to something where what can be defined in the schema language is also simple idiomatic structures nearly everywhere It feels more like a lowest common denominator to me, which is frequently (in presence of anything non-triv
574.
▲
by
drdaeman
2y ago
Yeah, I've edited my comment above and added the last paragraph with a note about it. Must be a really weird use case when you need to write a bunch of code in different languages (probably writing libraries for some API or JSON-based
575.
▲
by
drdaeman
2y ago
Feels much weaker/naive than JSON Schema, as TypeSchema barely has any constraints. The TypeSchema spec is hard to comprehend as it doesn't delve into any details and looks like just a bunch of random examples with comments than a
576.
▲
by
drdaeman
2y ago
You've omitted the most important part - what happened after? Had the reason prevailed? ;-) I'm asking, because all this "AI" text-generation stuff isn't a technology problem. It's 101% a human problem.
577.
▲
by
drdaeman
2y ago
Alcohol is illegal in some countries out there, today. I'll refrain from making any judgements, but I'll note that the word is, people still drink it there.
578.
▲
by
drdaeman
2y ago
It also must be widely accessible so there is minimal effort necessary to get help if you suspect you need it. When mental health is not accessible (reasons vary from country to country - in some it's merely a stigma, but in some it
579.
▲
by
drdaeman
2y ago
> My sense is that people have a cognitive bias here Of course - we all do! :-) I just thought you possibly have seen some more numbers/details about those diffuse harms, rather than merely a belief they must be bigger (which is tot
580.
▲
by
drdaeman
2y ago
> The total society wide harms of legalization are higher than the total society wide harms of criminalization Can you please elaborate why have you concluded so? I can see that legal consumption is naturally larger than illegal, as ille
581.
▲
by
drdaeman
2y ago
I thought most non-abandoned C/C++ projects have long switched to time_t or similar. 2038 is not that far in the future.
582.
▲
by
drdaeman
2y ago
> Indeed, so why doesn't setTimeout internally do that? Given that `setTimeout` is a part of JavaScript's ancient reptilian brain, I wouldn't be surprised it doesn't do those checks just because there's some sill
583.
▲
by
drdaeman
2y ago
> javascript's type system natively distinguishes undefined from null values. JSON is not JavaScript (despite the "J"), and `undefined` is not a part of JSON specification. However, I think every language out there that ha
584.
▲
by
drdaeman
2y ago
SQL functions can be non-deterministic just fine. E.g. SQL:2003 grammar defines DETERMINISTIC | NOT DETERMINISTIC characteristic for CREATE FUNCTION. Or, e.g. PostgreSQL has IMMUTABLE | STABLE | VOLATILE clauses.
585.
▲
by
drdaeman
2y ago
> And if both parties are using this setup, it greatly reduces the "only one person can speak at a time" feeling, allowing you to use more natural vocal interactions without feeling like you're interrupting. How does it wo
586.
▲
by
drdaeman
2y ago
Good question! IMHO, it's a spectrum, of course, not a binary concept. But if we have to define a criteria... I guess, integrated just enough so it can't be trivially removed, making it more of a "body part" rather than
587.
▲
by
drdaeman
2y ago
I wish I'd live to see the time of true cyborgs who will exceed ordinary human capabilities in some regard.
588.
▲
by
drdaeman
2y ago
> MMORPGs involve the cheat just playing the game and farming on behalf of the player From a player perspective that's not cheating, that's running a bot. It's automation of a routine grind - which is typically designed to
589.
▲
by
drdaeman
2y ago
> You are streaming video at the same time, so there's no point in worrying about idling. I'd argue it's completely opposite of this. You're streaming video, already putting some significant stress on the system. No r
590.
▲
by
drdaeman
2y ago
https://archive.is/mds9I
591.
▲
by
drdaeman
2y ago
Rather than a troll post, it feels more like a marketing spiel by using vagueness of "AI" buzzword to me. "AI" is vague, so they're taking an example of a minimum-effort integration of a basic LLM API with their pro
592.
▲
by
drdaeman
2y ago
Feels like a problem in search for a solution to me. Although I haven’t worked in an office for a while now, so it could be that I’m not understanding the importance in such setting (or whatever is this device’s target use environment) that
593.
▲
by
drdaeman
2y ago
> And to make it so cheaply and quickly? Pure science fiction. Don't scientists out there very explicitly avoid building self-replicating systems at any significant scale to avoid the associated risks? I think they already can creat
594.
▲
by
drdaeman
2y ago
I don't argue against compulsory education and minimum standards. I strongly agree that they are an absolute necessity. I was an outlier. Used to study well while it was interesting - just because I had access to the books and I loved
595.
▲
by
drdaeman
2y ago
I agree. An adult can ask themselves what they're doing and why and how it aligns with their interests so on (aka have that midlife crisis, haha), a kid probably doesn't yet have enough self-reflection capacity yet. In my percepti
596.
▲
by
drdaeman
2y ago
> If you're stuck in a room and the only thing you can do is read a math textbook you are going to do it. I'm not so sure if this is true. No clue about kids, but if I'm (personally) stuck at the office and I'm really
597.
▲
by
drdaeman
2y ago
Sometimes it's not even an article, but a video. And sometimes all you care is just a single tiny fact from that video. Although I don't think this particular summarizer works for videos. And I don't think Ollama API supports
598.
▲
by
drdaeman
2y ago
One niche feature of Erlang that I love is live module upgrades, particularly via gen_server's code_change/3 callback. It's a neat little trick that seems to be rarely used in practice, but every single time I've used it
599.
▲
by
drdaeman
2y ago
Wow, this is nice and looks well thought out. Thank you!
600.
▲
by
drdaeman
2y ago
Is it possible to exclude FAANGs and other large corporations? Mixing smaller companies and soul-draining leviathans all in the same pot does not produce meaningful results.
More ›