Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
foxhill
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
foxhill
2mo ago
i do wonder how something like this can be generally implemented. i presume this must only support a subset of SQL/plpgsql, as some things would be.. utterly insane to manage manually. e.g., if i have a table with a btree-gist overlap
2.
▲
by
foxhill
2mo ago
that's a nice example. on my M4, i measured 3.4s vs. 0.42s. honestly surprised there's ~10x improvement to be found. as you've pointed out, you've literally micro-optimised this - isn't this what you'd expect?
3.
▲
Trust your compiler: Modern C++
(categorica.io)
68 points
by
foxhill
3mo ago
|
45 comments
4.
▲
by
foxhill
1y ago
it probably shouldn’t be a “release” thing. actually, certainly. i do wonder how many bugs would never have seen the light of day, if someone’s “set” actually turned out to be a sequence (i.e. allowed duplicate values) resulting in a debug
5.
▲
by
foxhill
1y ago
huh. very cute. in the past, i had an idea for terser lambda syntax, similar to C#'s expression body functions - which i did end up implementing in clang: auto sum = [](auto a, auto b): a+b; but this is something else. i didn&
6.
▲
by
foxhill
2y ago
you can't be serious, surely? yes, mozilla's TOS update is a bad thing, but switching to chrome (or chromium-based) for it is really cutting your nose to spite your face.
7.
▲
by
foxhill
2y ago
you’re conflating reaction times and latency perception. these are not the same. humans can tell the difference down to 10ms, perhaps lower. if you added 200ms latency to your mouse inputs, you’d throw your computer out the of the window pr
8.
▲
by
foxhill
2y ago
what a miss. i’d consider myself a day-to-day c++ engineer. well, because i am. i like lots of things from rust. there’s a few things i don’t. c++ has a lot to learn from rust, if it is to continue to exist. but really.. isn’t this the poi
9.
▲
by
foxhill
2y ago
friends. you understand that you can just.. take it off, right? fully unscrew the cap then just either continue twisting the cap over the the edge - honestly effortless - or just.. pull it off? the cap still functions as a cap, afterward. a
10.
▲
by
foxhill
2y ago
so, when do you want to die, then? really, i’m not trying to be mean here. you assert life must be finite, and all i’m asking is how finite it should be.
11.
▲
by
foxhill
2y ago
apologies, i wasn't being specific; none of what i said necessitates a CRT display, it was only as an example of how an older technology had less latency. if modern a modern 60Hz LCD/OLED display couldn't get beneath 16.6ms l
12.
▲
by
foxhill
2y ago
you don't need to "beam race" to achieve sub-frame latency - you don't need to be accurate. switching off vsync should, principally, be enough to achieve this. otherwise, yes, modern APIs go out of their way to avoid the
13.
▲
by
foxhill
2y ago
> An application with 10 frames of latency will be faster on a 1 kHz display than a perfectly coded application on a 60 Hz display. thats actually not true. you seem to be implying that the best a 60hz display can manage is 16.6ms of lat
14.
▲
by
foxhill
2y ago
fair enough :) apologies!
15.
▲
by
foxhill
2y ago
correct me if i’m wrong, but i believe the point that is trying to be made is; a system user/admin has an intuition about files. saying that ‘journalctl -f -u’ (fu, indeed :) and whatever else is inherently undiscoverable, and is a..
16.
▲
by
foxhill
3y ago
yes, that’s what collective health care means, regardless of if it’s state-mandated, or fully private. you, or i, don’t get to decide what’s fair to treat, or who’s deserving of treatment.
17.
▲
by
foxhill
3y ago
the (presumably) stateless, serverless function that appears to serve the site has.. crashed? i dunno, i feel like the wording of this error message could be improved :)
18.
▲
by
foxhill
3y ago
only if you want to store them in the open air. vacuum sealing them would obviate the need for an expensive hvac bill. and deep ground is not ridiculous. we’re expecting the storage to be in the “mostly write only” regime, after all.
19.
▲
by
foxhill
3y ago
i am quite familiar with compiler internals :) of course, across the TU boundary things get difficult, but i don’t think it’s fair to dismiss LTO entirely (although.. i agree with the thesis that it’s not particularly.. good) similarly, de-
20.
▲
by
foxhill
3y ago
ah, sorry, i didn’t read that correctly. perhaps for values like this you’re fine. i think my point still stands about the reader of a built-in list/sequence type, surely? and, not to sound facetious, that’s exactly what optimisers do
21.
▲
by
foxhill
3y ago
i could be wrong, but i’m reasonably confident that this is UB for even trivial types? someone more knowledgeable with the language lawyering would need to opine one way or the other. regardless of that outcome, i think i’d prefer to requir
22.
▲
by
foxhill
3y ago
apologies, perhaps i’m missing something here, having not used cap’n proto in any context at all before. is it not possible to delete the rvalue reference overload of ‘getList’? as far as i can tell, the error producing code wouldn’t have p
23.
▲
by
foxhill
3y ago
the optics are already less than ideal for apple. beeper mini dismisses the any technical challenge apple may claim a hurdle to android having iMessage. i don’t doubt this will also get shutdown in the near term, but i’m 70% confident in a
24.
▲
by
foxhill
3y ago
presumably because OP was traumatised by this interaction with law enforcement that - had things been only subtly different - could have been a catastrophic event in their life. there wasn’t a moral crime here - MDMA is widely regarded to b
25.
▲
by
foxhill
3y ago
yes, as opposed to the stock market; if i go buy AAPL calls, i can’t expect to manipulate apple’s share price by, say, buying a bunch of iphones. conversely, i can’t buy puts, hoping that my stock sell off will effect them being in the mone
26.
▲
by
foxhill
3y ago
oh god i just updated to ubuntu 22.04 and it’s a been a nightmare. i use firefox, and ubuntu want me to use the snap-based distribution now. it didn’t tell me that’d be a thing, so i was surprised when opening firefox that: * it took ages
27.
▲
by
foxhill
3y ago
it's a LLM. none of them have human decency. none of them understand anything - so how could they? > The murder bit though - people do Google “how to poison my wife” or whatever, and that turns up as evidence in trials. "weap
28.
▲
by
foxhill
3y ago
let me guess, you experience “random selection” events more than the expected amount? apologies for joking. it must suck.
29.
▲
by
foxhill
3y ago
two process nodes difference. apple have bought out all of TSMC’s “3nm” capacity. they obviously consider it an important competitive advantage.
30.
▲
by
foxhill
3y ago
“new architecture on new process node almost as fast as competitor’s flagship from a year prior, from two process nodes ago” power efficiency aside (which admittedly is non-trivial), this is not that big a deal or particularly interesting
More ›