Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
epcoa
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
19 ms
·
211.
▲
by
epcoa
2y ago
SQLite database connection objects are not "just file descriptors" and with the default serialization build they are appropriately locked to allow multi-threaded use. In that sense, they are magic. https://www.sqlite.or
212.
▲
by
epcoa
2y ago
Like a CPU ISA, the WASM abstract machine doesn't have a concept of strings or encoding. It's just bytes in a linear memory. You implement whatever encoding you want. WASM specifies UTF-8 for the encoding of names in its file form
213.
▲
by
epcoa
2y ago
In theory, the language might be a decent fit. But it’s not the language (mostly), it’s the library and ecosystem. Definitely not enough to unseat C++ yet for many new projects.
214.
▲
by
epcoa
2y ago
Yes that's exactly how it works in serialized build/mode. Are you sure not ultimately compiling with -DSQLITE_THREADSAFE=0 or 2? Also the serialized setting is distinct from the isolation level. sqlite has a famously extensive tes
215.
▲
by
epcoa
2y ago
The particulars of using SQLite are clearly documented: https://www.sqlite.org/threadsafe.html You must use serialized mode or provide your own concurrency control.
216.
▲
by
epcoa
2y ago
> so they created a less potent alternative, phenylephrine, Just to be clear, phenylephrine is not a “creation” or necessarily less potent. It’s an even older drug and a very effective vaso/venoconstrictor. The problem is it has poo
217.
▲
by
epcoa
2y ago
Life is too short to deal with such brokenness then. Seriously, those jobs typically don't pay more than peanuts anyhow.
218.
▲
by
epcoa
2y ago
When I mentioned not terribly common I was speaking specifically of GFCI breakers in the breaker panel box as opposed to GFCI in the receptacle. Even in a retrofit or remodel it isn't common to put GFCI in the panel box for the reasons
219.
▲
by
epcoa
2y ago
Not sure why you're so triggered. I didn't even say you were wrong or anything. I originally thought the more pressing issue is filling half a table up with 0s. It's some idle commentary on a piece of code in a comment, relax
220.
▲
by
epcoa
2y ago
Fair enough (though a Unisys 2200 might be a stronger example, people still use them, but neither support C99 AFAIK). But by “break” here, it's only fair to point out, if such a compiler even existed, it would have the property of defi
221.
▲
by
epcoa
2y ago
Like python, and Rust with the format! macro (which doesn't even support arbitrary expressions), C# the full syntax for interpolated/formatted strings is this: {<interpolationExpression>[,<alignment>][:<formatString
222.
▲
by
epcoa
2y ago
> It's exactly the point that this is one token. Fair enough. The point, as you have acknowledged, being that unlike + you have to treat { specially for balancing (and separately from the “). > The fact that people tend to think
223.
▲
by
epcoa
2y ago
If it’s treated strictly as simple concatenation syntactic sugar then you are allowing something like print(“foo { func() ); Which seems janky af. > just very simple syntactic sugar for normal string concatenation. Maybe. There’s also p
224.
▲
by
epcoa
2y ago
> (i.e. also back through the ground wire) are unequal. You mean neutral or return wire. No current should be normally passing through the ground wire. In fact in the US at least, GFCIs can be used on grandfathered ungrounded outlets. Wh
225.
▲
by
epcoa
2y ago
In fact in the US, especially residential, GFCI circuit breakers are not terribly common for 120V circuits, people much prefer and are used to having the GFCI in the outlet, which can of course protect multiple conventional outlets downstre
226.
▲
by
epcoa
2y ago
I’d probably just go ahead on the original implementation and this and use uint32_t. The submitters because you might as well be more cache friendly on 64 bit systems, and here unsigned only guarantees 16 bits. People still use AVRs and the
227.
▲
by
epcoa
2y ago
> "foo { … That should probably not be one token. > My view on this is that it shouldn’t be interpreted as code being embedded inside strings I’m not sure exactly what you’re proposing and how it is different. You still can’t pa
228.
▲
by
epcoa
2y ago
https://en.wikipedia.org/wiki/Connection_Machine
229.
▲
by
epcoa
2y ago
First thing I thought when I saw this headline: People think this is a new scam?
230.
▲
by
epcoa
2y ago
They’re making modifications to kernel code, which they’re upstreaming. They don’t need to open anything that’s on the user side of the syscall interface. There’s plenty of closed source software that runs on Linux, VMware workstation inclu
231.
▲
by
epcoa
2y ago
> ikea is for people who will settle for worse than builer grade so long as they can convince themselves it is better. sure it is better than walmart furniture and a lot of 'high end' is just as bad, but it isn't real qual
232.
▲
by
epcoa
2y ago
You're linking to literally the lowest end builder grade piece of crap* non flat range, you even picked the one that doesn't have the oven window! I've even had near slumlords at least spring for the windowed glass top GE spe
233.
▲
by
epcoa
2y ago
> Satanic child sacrifices were not a widespread practice, though. You got me. This isn't debate club. If you want to think Apple's incumbent base isn't heavily using (or actively avoiding) LLMs either ChatGPT and Gemini o
234.
▲
by
epcoa
2y ago
Last month the moral panic in the 24 hour mainstream (pretty much every major media outlet in the US) news cycle was the environmental impact of LLM for writing emails, a bottle of water per email, think of the kittens, etc. Not to comment
235.
▲
by
epcoa
2y ago
> This really isn't as complicated to understand as you're making it. https://www.youtube.com/shorts/vGAVcSjqMps This is just running defense for the reality distortion field. > I know plenty of "
236.
▲
by
epcoa
2y ago
Again: It's unbelievable that someone (like this) would be using an LLM to compose an email to their boss for the first time. He's a lazy fuck office stiff (yet still manages to warrant an iMac desktop), you're telling me he&
237.
▲
by
epcoa
2y ago
> and it just spit out the correct answer instantly. What did it spit out? Because there is more than one solution (or none, if unhelpfully pedantic). It's certainly possible with practice to quickly mentally figure out that 3.75
238.
▲
by
epcoa
2y ago
The idea that a shlub like this would only just now for the first time be using an LLM like this is what is unbelievable. And as a joke it is simply stale. I get it, Apple has to at least pretend to themselves like they are groundbreaking i
239.
▲
by
epcoa
2y ago
Forget about lying, this is just amorally stupid and pandering. I find the hypothetical universe where that guy is going to get anywhere good suggesting what his boss should “undertake” unbelievable. (Also not a good demo). And we’ve been i
240.
▲
by
epcoa
2y ago
You missed the sarcasm. If all can exist together, which one is the “native” one? If the answer is all of the above, then the consistency argument for native doesn’t hold much water.
More ›