HackerTrans
TopNewTrendsCommentsPastAskShowJobs

x-shadowban

no profile record

comments

x-shadowban
·ปีที่แล้ว·discuss
Interesting write up. It should be part of their documentation, it's helpful to have historical contextual info like this.
x-shadowban
·2 ปีที่แล้ว·discuss
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.
x-shadowban
·2 ปีที่แล้ว·discuss
Oh yeah, re: SQL expect - I always wish joins had a "cardinality assertion", like a regex *?+ (or ! for exactly one)
x-shadowban
·2 ปีที่แล้ว·discuss
Fell for the Crosstrek but then got the ick with that dash tablet
x-shadowban
·3 ปีที่แล้ว·discuss
C++ only needs 4 things: gradually-introducable memory safety, static reflection, first-class compile time string manipulation, and adoption+refinement of its modules feature.
x-shadowban
·3 ปีที่แล้ว·discuss
Love me some lateral join / cross apply. Correlated subqueries and visibility in the where clause?! Whoo.
x-shadowban
·3 ปีที่แล้ว·discuss
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.
x-shadowban
·3 ปีที่แล้ว·discuss
This is a problem, seems like ctes and views are a possible ormless solution here
x-shadowban
·3 ปีที่แล้ว·discuss
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
x-shadowban
·3 ปีที่แล้ว·discuss
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
x-shadowban
·3 ปีที่แล้ว·discuss
Sort of an homage to the windows registry, but it's not a "secret 3rd thing" it's just another folder.
x-shadowban
·3 ปีที่แล้ว·discuss
Neat. It makes me wonder if there is work on mechanical computers at around the atomic scale.
x-shadowban
·3 ปีที่แล้ว·discuss
Ha I never wondered what the physical/life version of a shared library is until I read your post so thanks for that.
x-shadowban
·3 ปีที่แล้ว·discuss
Gradle is totally undiscoverable. Some autocomplete and goto def would be nice for gradle kts files.