Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
setr
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
54 ms
·
631.
▲
by
setr
5y ago
I don’t think size matters for this kind of thing — if they grow, and you didn’t enforce action when they were small, you don’t have much claim when they’re large (and the violation is worth more, and they’re more established in it, and the
632.
▲
by
setr
5y ago
Grass. I believe oats and seed is fairly recent development. Historically, you had animals grazing by rotating pastures, or consuming dried grass (hay) when you couldn’t graze (eg winter). Also interesting tidbit — apparently horses of mode
633.
▲
by
setr
5y ago
The logical implementation seems fairly easy to imagine to me. You do ant-like pheromone tracking for movement by all peasants of the world. (Each cell keeps a tracker, which gets incremented by passing peasants and decays over time). Upon
634.
▲
by
setr
5y ago
LINQ is a much nicer SQL IME, at least for CRUD operations — but I generally don’t use the “objects” part of it except for very rudimentary insert/deletes. However group by specifically seems to be a hack, and it falls on its face in w
635.
▲
by
setr
5y ago
Aren’t you referring to parameterized/prepared queries? Any proper DB driver/library should have this feature. do_sql('SELECT * FROM tab where name = ?", "abc") https://www.php.net/manu
636.
▲
by
setr
5y ago
The problem with SQL is that it doesn’t have the fundamentals correct — it doesn’t compose well, the language is an arbitrary hodgepodge of keywords, it conflates data administration with data manipulation/retrieval, it runs a ternary
637.
▲
by
setr
5y ago
Rust traits have the opposite behavior. If it says it’s an iterable, it must quack like an iterable. Something that quacks like an iterable cannot be used as an iterable, unless the trait is explicitly stated — unlike python, where it simpl
638.
▲
by
setr
5y ago
Rust also produces compiled binaries?
639.
▲
by
setr
5y ago
The eviction moratorium was effectively using the “wealthy” as a capital buffer, by delaying payments. The solution for refilling that buffer is to tax the “wealthy” and use their income to fill in their own deficit? This is getting pretty
640.
▲
by
setr
5y ago
I think it’s more about internal consistency. If a world hasn’t said something about it (or hasn’t shown a derivation of it — e.g. gravity presumably exists, because all objects shown have been affected by it), then you’re free to do whatev
641.
▲
by
setr
5y ago
RTS games typically run deterministic simulations locally, and only sync inputs, with no real need for an authority. The anti-cheat mechanism is simply the fact that simulation state has to stay in sync, and artificial changes would trivial
642.
▲
by
setr
5y ago
> If games are interactive simulations by nature, why is DF so unusual? It’s an honest attempt at making a thorough simulation. Most games attempt only shallow rules and simulations — nearly everything that happens in Witcher 3 is en
643.
▲
by
setr
5y ago
Use this date instead — the epilogue link fails in 2009. http://web.archive.org/web/20080408110250/http://www.geociti...
644.
▲
by
setr
5y ago
Games are interactive simulations, by nature. DF is an honest attempt at simulating things thoroughly. Therefore, DF is an honest attempt at making a thorough game. Very few games can make such a claim
645.
▲
by
setr
5y ago
That’s part of why I’m only interested in starting at plate tectonics — solving the Goldilocks problem is not that interesting to me, and would require serious effort. But given the right base parameters, I don’t think post-tectonics have t
646.
▲
by
setr
5y ago
Is there any domain other than com/edu/gov that’s actually used for its official meaning, and isn’t hosted by a government body? I feel like 99% of .ly sites have nothing to do with libya
647.
▲
by
setr
5y ago
I’m assuming your link was meant to be https://news.ycombinator.com/item?id=27948008
648.
▲
by
setr
5y ago
According to my iPhone tracking, I apparently walk several miles a day just from a habit of walking when on calls (largely circling around the parking lot like a vulture, for no apparent reason and probably confusing bystanders and co-worke
649.
▲
by
setr
5y ago
Neat. I’ve been looking for something like this for gamedev — being able to model pseudo-realistic simulation of planetary evolution (for my interest, just starting at plate tectonics and going up until wind patterns) to provide a “basis” f
650.
▲
by
setr
5y ago
The primary mechanism patents provide is the open publishing and explanation of the technologies/mechanisms/etc involved. The goal is to extract research from the depths of company archives and promote iteration on existing techn
651.
▲
by
setr
5y ago
Easiest I can imagine is a user-facing id that gets incremented by trigger (e.g. select max(col)+1 — autoincrement/serial doesn’t guarantee contiguity, or even reasonable increments…). And then any second trigger that relies on that va
652.
▲
by
setr
5y ago
Under GP’s terms, success is trivial to define — pick a reasonable metric. IQ is also well defined — general intelligence is not, and whether IQ maps to general intelligence is questionable (because the latter is hard to define). But for th
653.
▲
by
setr
5y ago
Alphabetical makes it so two databases with the same triggers have the same behavior. FIFO breaks that, because now it depends on trigger construction order (eg when dump/restoring) and is totally invisible to the user. Additionally, m
654.
▲
by
setr
5y ago
> Are you really trying to equate a protests/riots against systematic racism, for gay rights, or against racism/assassination of MLK JR with a riot based on lie? I think I’ve been very clear that I’m not equating anything to an
655.
▲
by
setr
5y ago
That’s not whataboutism — that’s pointing out that your definition of violent uprising is ridiculously broad; it captures everything from the protests you don’t agree with (Capitol Hill) to protests you presumably agree with (BLM, Stonewall
656.
▲
by
setr
5y ago
> And make sure to allow some time for people to think about things and give an honest estimate. I like to tell people to give an estimate for when they can provide an estimate.. and estimate for that, if needed :) Eventually someone kno
657.
▲
by
setr
5y ago
My rule of thumb is that if you give me an honest estimate, then it’s my job to make it work. Negotiate scope, change implementation, move resources, increase cost, whatever. But I need estimates that at least reasonably correspond to rea
658.
▲
by
setr
5y ago
It seems to me any reasonable money launderer would strive not to bring attention to himself, by outbidding the market value by such an extreme. You’d rather just do multiple transactions, maybe 20% above real value (which would further avo
659.
▲
by
setr
5y ago
Is it resolved at compile time? it was my understanding that Julia only attempts it at runtime, specialization being the job of the JIT
660.
▲
by
setr
5y ago
the set of over-optimizing app developers will do just that :) But more generally, optimizations eventually stop being true in general, and start being true only in a specific context -- and the lower that optimization, the more specific th
More ›