Better HN
topnewbestaskshowjobs
Log inSign up

x-shadowban

64 karma · joined Aug 2, 2021 (5y ago) · 55 submissions

Submissions

comment 1y ago · link · parent

Interesting write up. It should be part of their documentation, it's helpful to have historical contextual info like this.

comment 1y ago · link · parent

for functions that don't escape the current compilation unit (`static` functions, anonymous namespace functions), can/do compilers ignore calling conventions and do the faster thing? Of course, they can just inline, and that makes this moot.

comment 2y ago · link · parent

Oh yeah, re: SQL expect - I always wish joins had a "cardinality assertion", like a regex *?+ (or ! for exactly one)

comment 2y ago · link · parent

Fell for the Crosstrek but then got the ick with that dash tablet

comment 3y ago · link · parent

C++ only needs 4 things: gradually-introducable memory safety, static reflection, first-class compile time string manipulation, and adoption+refinement of its modules feature.

comment 3y ago · link · parent

Love me some lateral join / cross apply. Correlated subqueries and visibility in the where clause?! Whoo.

comment 3y ago · link · parent

The backtrace argument is good, but I wonder how valuable traces would be in a world that never experienced reads-of-nothing (npe, reading from undefined, reading out of bounds array, etc). Presumably this would be because of 100% use of ADTs, or maybe some other mechanism; but, even Haskell throws exceptions out of `IO a` so such a world might never be realized.

comment 3y ago · link · parent

This is a problem, seems like ctes and views are a possible ormless solution here

comment 3y ago · link · parent

Thanks man I really feel the same when what should be 2 joins, becomes an all day hellscape of inspecting orm emitted sql, to debug why its blizzard of exists-subqueries is absolutley jacked and why fixing that breaks other code depending on such bugs

comment 3y ago · link · parent

Often we just want "totally adhoc result set, but constrained using some common where or join." We keep on with the orm, but it's basically a slow and complicated form of a view at this point

comment 3y ago · link · parent

Sort of an homage to the windows registry, but it's not a "secret 3rd thing" it's just another folder.

comment 3y ago · link · parent

Neat. It makes me wonder if there is work on mechanical computers at around the atomic scale.

comment 3y ago · link · parent

Ha I never wondered what the physical/life version of a shared library is until I read your post so thanks for that.

comment 3y ago · link · parent

Gradle is totally undiscoverable. Some autocomplete and goto def would be nice for gradle kts files.

comment 3y ago · link · parent

Can you add any number of A's, or just 1, or shorten it by 1, and it still is functional?

comment 3y ago · link · parent

The anti-singularity, where an AI produces decreasingly correct versions of itself.

comment 4y ago · link · parent

It's neat to see `foo` in "ancient" texts.

comment 4y ago · link · parent

Roaches of the sea

comment 4y ago · link · parent

...and then there was a perf regression cause the jawns were being autoboxed to Jawns...

comment 4y ago · link · parent

Node heap profiler in chrome is pretty good, often it will show the largest retainers and if your hookes to a live vm (not a snapshot) you can inspect the object and eventually go "oh yeah this array just grows and grows..."

comment 4y ago · link · parent

Really would like "select * except ..." and a non-dynamic-sql way to remap column names

comment 4y ago · link · parent

Many reports of drought in europe, I had wondered where that water went (it doesn't just evaporate into space...right?)

comment 4y ago · link · parent

>Priapus weighting his dick in Pompei

Ah the origin of priapism, it all makes sense now. Not sure if that's an honor or not for the guy.

comment 4y ago · link · parent

An interesting game. The govt could then raise the fine, but would they risk bankrupting the hospitals by pushing too far?

comment 4y ago · link · parent

I can never get them to tell me what it would cost if insurance were to cover it. Either pay a definitive amount of cash today, or insurance will cover some unknown arbitrary portion of a similarly arbitray and unknown amount tomorrow, and pay the difference.

comment 4y ago · link · parent

A fun protest / boycott would be all americans stop using their hospitals and all go over the border.

comment 4y ago · link · parent

Generics or otherwise, I just want type info to flow into and out of things like 'map' or 'SpecialContainer<T>', and for my editor to surface that information.

comment 4y ago · link · parent

It would be nice if this was the public debate we were having. Recently they dragged oil company execs in for a light video chat based grilling in the house. I would prefer to see the medical insurance companies pilloried, but and for those pillorings to yield something of substance. I imagine that every minute of talk about abortion or immigration has the insurance companies and its benefactors thinking "wow, we're still getting away with it!"

comment 4y ago · link · parent

This redesign really would wreak havoc on the muscle memory of "grab for the orange circle with red-and-white-spiral coming out of it"
12