HNHacker News
TopNewBestAskShowJobs

johnnyjeans

606 karma · joined February 20, 2023

submissionscomments
johnnyjeans··on The US has highest rate of pregnancy-related death among high-income countries
Two high-risk demographics for inadequate medical care. Something I hadn't thought about up until this point, would socialized healthcare improve the situation for natives? I foresee a lot of legal boilerplate and additional acts required to interface with the reservations on a healthcare basis. On top of that, the wealthy reservations already have their own system which is much more equitable than the national one. The reservations that are struggling, where these figures are the worst, are very rural. I'm not aware of any country where rural access to healthcare is "very good". Certainly we'd see some kind of improvement with stronger, more centralized federal support... but would we even reach adequate levels?
johnnyjeans··on Why I Program in Lisp
As others have said, a pure program is a useless program. The only place stuff like that has in this world is as a proof assistant.

What I will add is look up how the GHC runtime works, and the STGM. You may find it extremely interesting. I didn't "get" functional programming until I found out about how exotic efficient execution of functional programs ends up being.

johnnyjeans··on Man pages are great, man readers are the problem
personally i hate when i have to open a web browser to view documentation. it's an absolute waste with how heavy they are and the interface sucks. troff is a nicer markup language than markdown. definitely prefer man pages over anything else.
johnnyjeans··on Ask HN: Why hasn’t AMD made a viable CUDA alternative?
> Youtube could conceivably put multi language subtitles on every video.

They already do this, it's opt-in.

> But the "real value" would come from making adverts better targeted and more interactive.

Is there any evidence to suggest that a transformer would be better at collaborative filtering than the current deep learning system that was custom engineered and built for this?

johnnyjeans··on Ask HN: Why hasn't AMD made a viable CUDA alternative?
For a recent example:

https://www.youtube.com/watch?v=V2eCWWaCzwQ

johnnyjeans··on Ask HN: Why hasn’t AMD made a viable CUDA alternative?
I forbid myself from speculative trading as a consequence of idiosyncratic principles that I live my life by. One of many symbolic rejections of toxic profiteering that infests our neo-mercantile society. I have enough digits in my bank account that adding any more would be unambiguously greedy and distasteful, so in the end it would be violating my principles simply to debase myself. No thanks.

Anyways you'd need some kind of window of when a stock is going to collapse to short it. Good luck predicting this one.

johnnyjeans··on Ask HN: Why hasn’t AMD made a viable CUDA alternative?
I wonder what the purpose is behind creating a whole new API? Why not just focus on getting Vulkan compute on AMD GPUs to have the data throughput of CUDA?
johnnyjeans··on Ask HN: Why hasn’t AMD made a viable CUDA alternative?
> The delta between NVIDIA's value and AMD's is bigger than the annual GDP of Spain.

Nvidia is massively overvalued right now. AI has rocketed them into absolute absurdity, and it's not sustainable. Put aside the actual technology for a second and realize that public image of AI is at rock bottom. Every single time a company puts out AI-generated materials, they receive immense public backlash. That's not going away any time soon and it's only likely to get worse.

Speaking as someone that's not even remotely anti-AI, I wouldn't touch the shit with a 10 foot pole because of how bad the public image is. The moment that capital realizes this, that bubble is going to pop and it's going to pop hard.

johnnyjeans··on Why F#?
> Elixir

For me, it's Erlang. I just really like its horn clause syntax, it's so clean and readable. I know a common complaint is lack of piping (and even though you can implement it trivially, the order of arguments for some functions makes it of dubious use) but it's a small price to pay.

> I mean the language is really nice but the C# baggage and runtime was just a bit much

This was my experience with F#. Frankly, I've never been happy with my experience with CLI on Linux, and the toolchain inherits a lot of baggage from its C# heritage. Microsoft's toolchains have a very distinct workflow to them. F# has some interesting aspects to it like active patterns (something I wish was more common in the ML-family), but tbh I'm more than happy with ocaml.

johnnyjeans··on Supply constraints do not explain house price, quantity growth across US cities
Which is particularly interesting, because the quality of the buildings themselves have taken a steep nosedive since the 1940s. Something like 98% of all new builds are complete teardown crapshacks. It makes you wonder where the money is going if the materials are dogshit and the labor is incompetent.
johnnyjeans··on Show HN: VSC – An open source 3D Rendering Engine in C++
> I am not aware of any platform that doesn't have a decent C++ compiler

Plan 9

> I don't see what makes the CMake "harder to implement" than make/mk

If you can't use the existing codebase, then you have to implement cmake from scratch, which is orders of magnitude more difficult than implementing a mk interpreter.

johnnyjeans··on Show HN: VSC – An open source 3D Rendering Engine in C++
It's inherently less portable as it relies on C++ and the cmake language is rather complicated, and thus making it harder to implement. Make and more preferable mk, are reliant on C, and are simpler languages making them easy to implement. It's simple portability calculus.
johnnyjeans··on Show HN: VSC – An open source 3D Rendering Engine in C++
I'm not actually a fan of make, I think mk is a much better language, but everything is relative. I still prefer make over any meta-build system or garbage like boost jam. In my experience the problem of modern codebases is that they're structured like crap in the first place. Too complicated and for very little real reason. OP's codebase is actually trivial, so the problem doesn't really exist. It would be trivial to adapt it to use msvc, but if you have make on windows, chances are you already have gcc so there's not much point unless you REALLY want to use microsoft's compiler.
johnnyjeans··on Show HN: VSC – An open source 3D Rendering Engine in C++
make is more portable than cmake. docker has zero value add from what I saw in the repo.
johnnyjeans··on Europe bets once again on RISC-V for supercomputing
Not if your goal is to decouple from the US.
johnnyjeans··on Age Verification Laws: A Backdoor to Surveillance
I consider that a feature. Working and training problem solving skills and persistence through trial-and-error to the degree required for that kind of thing is great. I feel it's underappreciated in potential that treating a wide swath of these kinds of rules as nothing more than cattle-fences can have a shockingly positive effect.

One of the biggest problems that grows with each generation, is how do you get the youth to actually engage in constructive development of real skills? How do you get them to be interested in something that will be useful for society down the line? Quietly looking the other way while a statistical minority breaks some of the safety-rails of society basically solves that problem. Breaking the rules is cool. You're basically exploiting the rebellious nature of the youth to trick them into learning useful skillsets. So long as the hurdles to circumvent the rules remain reasonably involved to overcome, and the secret intention remains unspoken, you basically double up the rewards of the rules.

johnnyjeans··on AMD RDNA 4 – AMD Radeon RX 9000 Series Graphics Cards
> but it's not enough

How do you mean?

johnnyjeans··on AMD RDNA 4 – AMD Radeon RX 9000 Series Graphics Cards
this has never been the case for me, and evidently for the vast majority of others as well.
johnnyjeans··on Imposing memory security in C [video]
Maybe I just misinterpret what you mean. When you say "no way" and "all cases", I take your meaning literally. The existence of pointers to bypass the borrow checker, disabling runtime bounds checks and unsafe blocks are exactly that: escape hatches to break Rust's safety, in the same way type-casting is an escape hatch to break C's (anemic) type safety, and unsafePerformIO in Haskell is an escape hatch to break every bone in your body.
johnnyjeans··on Fish 4
sure sure, and what i mean is that ideally the package manager can be made to use any arbitrary vcs system by the programmer. that's all. early on choices were made with cargo's development to where it's non-trivial to make something like that work, you touched on that briefly. it's a good example of why making a package manager is hard, there are so many aspects to them and it's really easy to engineer yourself into a corner to where any individual aspect of them might be flawed. typical software problem, expounded by the fact that package managers are deceptively complicated. doubly expounded by what i mention with language package managers not having the "opt-in" inherent quality of system package managers, not in the same way.

ideally it'd just have an interface you can write a module against. maybe they've added that? i sure hope they didn't have to hardcode the options of that new vcs switch ;)

> that’s why rustc and cargo are different

indeed. but rust analyzer really likes you to use cargo. i know it provides facilities for specifying a json in place of cargo.toml, which is great, but my limited experience with that saw me running into some weird issues (maybe they've been fixed, maybe it was just a skill issue.)

also i will say cargo does at least let you specify local paths as dependencies relatively painlessly, so it gets points for that escape hatch.

johnnyjeans··on Imposing memory security in C [video]
> There is no way to break out of the clearly stated guarantees.

I disagree on this, and having escape hatches is critically important. Are we really going to call Rust or Haskell memory unsafe because they offer ways to break their safety guarantees?

johnnyjeans··on Fish 4
well that's the thing, you never know. certainly if i ever used rust to a serious degree, i'd not stop using darcs. however right now that'd necessitate bypassing the whole package management part of cargo, at least for my own libraries (and i suffer from a terminal case of NIH syndrome)

i don't think it's reasonable to assert that my own quirks and tastes are explicitly tended to. and that's why ideally you just give the programmer space to do whatever, hence why it's so hard. vcs is just one single point of contention. this isn't unique to rust by the way. cargo is arguably a bit better than the dune experience, it's a bit more flexible and feels simpler.

arguably system package managers are better here, since they're effectively opt-in by choosing what distribution of what operating system you use. language package managers don't have that luxury.

johnnyjeans··on Fish 4
no darcs?

and this is why i really loathe language package managers, because they're prone to this kind of thing. assuming one has no problems with the opinions made in a language itself, when it has a tightly bound package manager embedded into it's ecosystem (using rust without cargo is like pulling teeth) you have an entire extra hurdle of far more rigid and controversial opinions to deal with.

package managers are maybe next to shells with "it's several orders of magnitude harder to make a good one than it is to write a compiler." with the dozens, possibly hundreds of package managers i've touched over the years, there's only been one that i'd call "good". the absolute worst ones have always been language package managers. at this point i've basically written off the concept, even system package managers.

johnnyjeans··on Geometric Algebra
works fine on firefox on a 10 year old thinkpad. considering someone is also reporting issues on iphone, might want to file a bug report with apple.
johnnyjeans··on Fish 4
different tastes.
johnnyjeans··on Fish 4
the only vcs it supports is git
johnnyjeans··on Beautiful, boring, and without soul
I couldn't get more than a few paragraphs into the article. This is possibly the most egregious example of unusably low information density I've ever seen.
johnnyjeans··on Firing programmers for AI is a mistake
> But why do you need programmers to utilize the AI?

For the same reason you need Engineers to operate CAD software.

johnnyjeans··on C is not suited to SIMD (2019)
c89 is 19 years into c's life
johnnyjeans··on Build It Yourself
yes a large component of it is about developers. if developers were perfect beings, we wouldn't need rust in the first place.
← PreviousPage 4 of 8Next →