Better HN
topnewbestaskshowjobs
Log inSign up

binary132

1,656 karma · joined Mar 24, 2014 (12y ago) · 1,717 submissions

Submissions

comment 2y ago · link · parent

So, if I as a 38-year-old had a mild liver impairment which could reduce my life expectancy to 60 (22 years from now) I should get priority over a 60-year-old with a debilitating, excruciating condition which will end his life in six months, merely because his life expectancy with the transplant may only be 70?

That’s an outrageous and obscene utility calculation to propose and it should be obviously so to just about anyone.

comment 2y ago · link · parent

what in the world

comment 2y ago · link · parent

It’s clumsy because C++ templates are an implementation of generic and dependent types, while C++ constexpr and consteval functions are for arbitrary computation. The fact that template metaprogramming _can_ be used for arbitrary computation is actually an unhappy accident of its design that was only proven after its publication.

comment 2y ago · link · parent

Yes, the purpose of C++ templates (not macros, macros are C preprocessor) is to implement generic classes and functions, not to implement arbitrary computation, and (iirc) it was only discovered after their publication that they are in fact Turing-complete.

comment 2y ago · link · parent

That is not a macro.

comment 2y ago · link · parent

good thing Emacs has a best in class git and visual diff editor package

comment 2y ago · link · parent

Relatively recent Emacs convert here

It is still very very good IMO

having been a somewhat longterm user of IDEA, Vim, Atom, and Eclipse

The addition of elisp JIT compilation even makes its performance more than adequate

comment 2y ago · link · parent

”Using vi is not a sin, it’s a penance” - you know who

comment 2y ago · link · parent

I’ve followed this project for years, and while it’s interesting, I think it’s really a shame that Perl 6 seemed to have been so badly waylaid by this sojourn into the looking-glass.

comment 2y ago · link · parent

Oh boy. Right in the feels. My dad is starting to decline.

comment 2y ago · link · parent

I like forward declarations and think that’s the order that things should be written in anyway.

comment 2y ago · link · parent

I am not a big Zig aficionado but I definitely contrast it in my mind moreso with C and C++ rather than Rust. It definitely aims at being a “better C” sort of language moreso than a “better C++” which Rust seems to be focusing on.

comment 2y ago · link · parent

Fundamentally it doesn’t matter whether 51% or 99% of a state goes for candidate A, assuming it is winner-takes-all in that state (a few aren’t.)

comment 2y ago · link · parent

Tbh, as craterbrained as LLMs are, they’d probably be able to make better decisions than some of these corporate leaders

comment 2y ago · link · parent

Hello. Currently debugging my kubernetes-based dev pod and not getting anything else done. What fun!

comment 2y ago · link · parent

I often think that our “portable assembler” isn’t really what it says on the tin any more, and that this is an opportunity for a new programming paradigm to be developed where it once stood.

comment 2y ago · link · parent

Just stop coming up with hot takes.

comment 2y ago · link · parent

1000 engineers don’t automatically crank out 50x more code than 20 engineers. But GP is just saying there are a lot of subcomponents involved that each need major engineering effort dedicated to them.

I see it less as an engineering problem and more as a market problem. AMD stuff has existed, it’s the market that doesn’t see a point in it, and at this point, even feature parity or CUDA compatibility for that matter won’t make a huge dent. People will just keep using what they know and are recommended.

It’s more amazing to me that NVDA is so intensely inflated by this LLM hype wave. I find it genuinely scary to think about what’s going to happen when 95+% of AI slopware startups fold. Nvidia won’t be the only company financially impacted. Our entire economy runs on fads.

comment 2y ago · link · parent

Fun article. A bit of mental time-travel back to early teen years and struggling to learn native windows game programming. :)

comment 2y ago · link · parent

I was under the impression PS4’s APU implemented unified memory, and it was even referred to by that name[1].

APUs with shared everything are not a new concept, they are actually older than programmable graphics coprocessors…

https://www.heise.de/news/Gamescom-Playstation-4-bietet-Unif...

comment 2y ago · link · parent

Yes, definitely a big difference between reality and a pretty, fast facsimile of it!

comment 2y ago · link · parent

I read all that marketing stuff and my brain just sees APU. I guess at some level, that’s just marketing stuff too, but it’s not a new idea.

comment 2y ago · link · parent

Let’s all write long explanations of one another’s long explanations, then the people who couldn’t comprehend the simple point in the first place will definitely understand

comment 2y ago · link · parent

That would be true if lights were simple point sources with simple straight ray behavior and no diffusion and no reflection but they’re not.

comment 2y ago · link · parent

no, people need to be able to program the browser without needing “tooling”

comment 2y ago · link · parent

Now I’m curious

comment 2y ago · link · parent

I think the claim here is that it’s hard to write really safe zig

comment 2y ago · link · parent

if only there were some type of way to operate a tech business that didn’t generate pathological incentives

oh well, back to my scaled agile workflow grooming planning meeting grooming meeting planning meeting

comment 2y ago · link · parent

You say all that, I just see “it’s fine if only one or two companies own all of the IP and manufacturing capabilities required for the whole world’s computing infrastructure”
1
323334
58