Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
sacado2
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
61.
▲
by
sacado2
3y ago
I've never had to worry about what's a register in Python, and barely about pointers and memory (those are highly abstracted away, exactly to the same extent as they are in Haskell).
62.
▲
by
sacado2
3y ago
Some people dgaf. They are free to click on "I agree with everything." Some people do gaf. They are free to click on "I don't agree with non-legitimate use of my data." Those who don't want to submit to these s
63.
▲
by
sacado2
4y ago
In art, you can afford a few mistakes. Like, on many photo-realistic pictures generated by midjourney, if you look closely you'll see a thing or two that are odd in the eyes of characters. In an AI-generated novel, you can accept a typ
64.
▲
by
sacado2
4y ago
And in theological arguments back then, god was called "the great watchmaker". Now the question "are we living in a computer simulation?" keeps popping here and there. I wonder what the analogy will be in 400 years.
65.
▲
by
sacado2
4y ago
Yes, beans, tomatoes, potatoes, and corn to some extant, are an important part of French food in many regions of the country, and yet all of these went from America. And yet I'm pretty sure most people imagine this is what peasants use
66.
▲
by
sacado2
4y ago
Yes, tomatoes and potatoes were considered toxic for a long time, because they belong to the same family as a bunch of very toxic plants (such as the belladona), and even with tomatoes and potatoes, most parts of the plants are toxic anyway
67.
▲
by
sacado2
4y ago
Code is little more than a very formal way to describe an algorithm, the difference between a detailed algorithm and a piece of code is very small in many cases. And in the cases where the given algorithm is general and no code is given, re
68.
▲
by
sacado2
4y ago
> It looks like you don't understand the definition and the point of reproducibility. If you just click on a button to recompute the results from the same code, this is not "reproducibility". The point of reproducibility i
69.
▲
by
sacado2
4y ago
The fact watermarked images are available for free doesn't necessarily mean you can do whatever you want with them. It depends on what the getty licence on watermarked images says exactly. I'm pretty sure they don't include s
70.
▲
by
sacado2
4y ago
This is not as obvious as you may think. This is closely related to the "monkey selfies" copyright claim issues. The court didn't seem to agree with the photographer who said "I own the copyright of those pictures becaus
71.
▲
by
sacado2
4y ago
> I don't think you're correct on this issue? "x11 + x12 = 1" means that "x11 or x12 are 1, and the other is zero". and > In most of the 3SAT / SMT solvers for Sudoku I've seen, you set up the v
72.
▲
by
sacado2
4y ago
SAT solvers are used a lot for NP-complete problems, but they don't use the 3-SAT representation of clauses. 3-SAT is only interesting from a theoretical POV. Nobody uses it in practice. There are also intermediate representations. For
73.
▲
by
sacado2
5y ago
OTOH, as soon as you're a very big investor, you can't really invest a ton of money in, say, a small, discounted stock. Let's say you have ten billions to invest and you find that cute little company at an incredible discount
74.
▲
by
sacado2
5y ago
If browser ads had a real-life equivalent, they would be more like that creep who suddenly pops in front of attractive women in the street trying to grab their phone numbers, and no matter what you do you'll never get rid of him and he
75.
▲
by
sacado2
5y ago
Yes, for Option the default value is quite obvious. I'm talking about Result, because it's the second best-known sum type, and it doesn't have an obvious default value.
76.
▲
by
sacado2
5y ago
I'm not sure that would be any better, in practice, than doing return 0, nil.
77.
▲
by
sacado2
5y ago
Not as simple as it seems. For instance, what is the zero value of a sum type? Let's say, the zero value of a Result<int, error>?
78.
▲
by
sacado2
5y ago
They weren't ever firmly opposed to generics. Here's the FAQ from 2009: https://web.archive.org/web/20091113154906/http://golang.org... > Generics may well be added at some point. We don&#x
79.
▲
by
sacado2
5y ago
Absolutely, I didn't formulate that clearly enough in my comment I guess, because you're not the only one saying this.
80.
▲
by
sacado2
5y ago
No human is offended by those (I hope), but poorly-configured bots are easily triggered and can get an author censored or temporarily banned, or just annoy human moderators with irrelevant automated reports.
81.
▲
by
sacado2
5y ago
In some online communities, there are people who can't write which country they are from because the name of their country is offensive from a USA-centric point of view. I don't even know if those names raise flags here on HN, so,
82.
▲
by
sacado2
5y ago
The thing is, people judge (non-fiction) books by their width. They'd rather pay a significant amount of money for a merely useful 300 pages book than for a life-changing 10 pages booklet. So, as you say, turn your 10 pages booklet int
83.
▲
by
sacado2
5y ago
What would be cool, too, would be a proof that yeah, P != NP, sure, but there is an algorithm that can solve any NP-complete problem with a complexity of O((1+Ɛ)^n), with Ɛ very small, so still exponential but solveable in practice in most
84.
▲
by
sacado2
5y ago
> I'm using the marble in my DIY random number generator, based on a Geiger tube and an Arduino board. This is so nerdish, I love it!
85.
▲
by
sacado2
5y ago
Typescript has a pretty cool type system. A mixture of dynamic and static typing. You can be as dynamic as with js (or python), or stricter than Java (you can state a reference cannot be null for instance), or anything in between (and have
86.
▲
by
sacado2
5y ago
This is very common with writers. You (usually) don't know who produces content for the website (it can be the author himself or a third party). Plus it makes copy/pasting of the bio way easier, and you don't want, for instan
87.
▲
by
sacado2
5y ago
Fair enough, I didn't know these devices. I don't see how different they are from a computer with only one application installed, though.
88.
▲
by
sacado2
5y ago
Yeah, they sucked, you couldn't fix your mistakes, let alone insert a sentence just before another, or, god forbid, move a whole section of your text. Plus, you only had one copy of your text, you had to retype all of it if you wanted
89.
▲
by
sacado2
5y ago
1889. It's so old I don't think it's very relevant for a modern fiction author. It's older than 99.99% of popular, genre fiction. Older than the cinema, than radio, and than pulp magazines. Even Wells hadn't startin
90.
▲
by
sacado2
5y ago
The study you're probably talking about focuses on hospital survivors , not on the broad group of "naturally infected people".
More ›