Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
cout
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
22 ms
·
271.
▲
by
cout
3y ago
This has been a debate since long before React or Angular existed. Keeping code and templates together typically makes sense to programmers while keeping the template as html in a separate file means you can edit it in any html editor, no
272.
▲
by
cout
3y ago
It might be that finding vulnerabilities is easier than fixing them (think AI-driven fuzz testing).
273.
▲
by
cout
3y ago
Chatgpt or a successor dynamically generating in-game dialogue could be fun. Or maybe it won't be. I'm interested in seeing it done.
274.
▲
by
cout
3y ago
I wonder what makes getting sleep to work consistently a challenge. Hasn't ACPI been around since the 90s?
275.
▲
by
cout
3y ago
Ruby does not have a switch statement; it has a case expression (which can be used in a statement).
276.
▲
by
cout
3y ago
What about SSDs?
277.
▲
by
cout
3y ago
It seems backward to me, too. Try reading it as "DOS subsystem for [running] Linux".
278.
▲
by
cout
3y ago
I don't think that does count as shadowing, unless the floppy is mapped into memory and then the RAM is later mapped at the same address.
279.
▲
by
cout
3y ago
I like make. So now you can say that as far as you know, no one likes make except one oddball who replied to you on HN.
280.
▲
by
cout
3y ago
I think the closest we have today to "make with better syntax" is ninja. It lacks pattern rules and macros and other fancy features because it is expected that ninja files are built with a code generator, but for a tool that just
281.
▲
by
cout
4y ago
I like to say "tell me a story". What kind of story, you ask? Any story. I like true stories, but you can make something up too. The conversation ends up a lot less awkward than going off script after talking about what you d
282.
▲
by
cout
4y ago
What made it great? Can you elaborate?
283.
▲
by
cout
4y ago
To such people, the classic "I statements" sometimes help. Instead of saying "that was disrespectful" or "you are being disrespectful", you can say "I feel very disrespected by what you just said and it re
284.
▲
by
cout
4y ago
Parquet is not better than csv in every useful way. CSV, being row-oriented, makes it much easier to append data than parquet, which is column-oriented. CSV is also supported by decades of software, much of which either predates parquet or
285.
▲
by
cout
4y ago
You may find easy to write parquet from one tool and read into duckdb, but it isn't always that simple. There are multiple variants of parquet, and they are not always compatible. I have to be careful which features of parquet I use
286.
▲
by
cout
4y ago
I'm a fan of using two translation units: * one TU with code that is fast to compile and modified often * another TU with code that is slow to compile but modified rarely I still use header files, but the fast-to-compile and modified-o
287.
▲
by
cout
4y ago
I agree. While I like the idea of tup ( https://gittup.org/tup/ -- the first "forward" build system I remember hearing of), writing a makefile is easy enough that thinking about the problem upside-down doesn&
288.
▲
by
cout
4y ago
One problem with this for kids is if it is connected to the monitor with a cable, kids used to wireless keyboard may try to grab it and get a surprise when it gets disconnected or pulls the monitor down with the keyboard.
289.
▲
by
cout
4y ago
There are plenty of places under your car where you can securely mount a box to hold the drive, if you really want to do this, but there are probably better places to keep a backup than a moving vehicle.
290.
▲
by
cout
4y ago
Author of Ludicrous JIT here (one of the earliest Ruby JITs). It is easy to get a 10-20x speedup, if you limit yourself to compiling a subset of Ruby. When I first wrote Ludicrous JIT, I saw huge gains, but as I implemented more of the lan
291.
▲
by
cout
4y ago
Oh is it supposed to be Guild? I was wondering about that and figured it was an obscure use of the word Guilt that I was not familiar with.
292.
▲
by
cout
4y ago
For me, the last example feels messy for two reasons. First, I have to worry about matching parens. That can feel mentally exhausting even for simple cases. Second, it's written all on one line, so it's harder to mentally separa
293.
▲
by
cout
4y ago
I found a big improvement in eslint by disabling specific tests that I don't need. The worst offender was the whitespace/indentation check. Turning that off made a huge difference in overall build time.
294.
▲
by
cout
4y ago
I do like that design -- it reminds me of the Zalman Flower, which I also find beautiful.
295.
▲
by
cout
4y ago
Good point, I meant to say molecule, not atom. I blame lack of coffee.
296.
▲
by
cout
4y ago
I am also not a chemist. A (bronstead) acid is a proton donor. An atom that donates a proton becomes an (an)ion. The acid is not the anion; the anion is the conjugate base of the acid. Not all acids form an anion; hydronium is an ion that
297.
▲
by
cout
4y ago
What if space isn't expanding and we are just shrinking?
298.
▲
by
cout
4y ago
I have a friend who chose to leave his home computers unlocked for games and such that the kids were not allowed to play during study time. The idea is that they had to learn to exercise self control or receive consequences for breaking th
299.
▲
by
cout
4y ago
Are there any prompts which will generate a satisfying answer? Almost all the responses I have seen have either been overly simple or obviously wrong.
300.
▲
by
cout
4y ago
> Question: What does it mean for a news source to be reliable? > > Answer: A news source is reliable if it is a reputable source of news. > > Formal Definition: A news source is reliable if it is a reputable s
More ›