HNHacker News
TopNewBestAskShowJobs

johnnyjeans

606 karma · joined February 20, 2023

submissionscomments
johnnyjeans··on Build It Yourself
he literally said he likes rust as a programming language, so no. also it's not "optional" when it's the de-facto standard in the language. you lock yourself out of the broader tooling ecosystem. no language server, no libraries (because they all use cargo), etc. oftentimes you run into ergonomic problems with a language's module system because it's been hacked together in service of the enormous combo build/dependency management system rather than vice versa. you're running so far against the grain you might as well not use the language.

this kind of passive-aggressive snark whenever someone leverages this very valid criticism is ridiculous

johnnyjeans··on C stdlib isn't threadsafe and even safe Rust didn't save us
or plan 9

modern computing is mostly just the most malignant, worst possible re-interpretation of plan 9 anyways

johnnyjeans··on Programming in Lua (first edition) (2003)
I would absolutely never, EVER encourage the use of a package manager when getting someone accustomed to programming. Why on earth would you do that? The problems that package managers solve are completely orthogonal to the environment of someone who hasn't even built up the intuition for basic things like flipflops, lexical scope, iteration, etc.

Downloading archives with a web browser and extracting them and just doing manual file management is vastly preferable in such an environment. That is a vastly simpler process which is impossible to break, and odds are the student will already be familiar with most of the process.

johnnyjeans··on The Untouched Goldmine of F#
I looked it up and apparently it actually comes from Algol, but I digress. Point being sum types and their equivalents are found all over the place. I wouldn't be surprised to find out modern prologs have them.
johnnyjeans··on The Untouched Goldmine of F#
the endofunctors operate on the category of you!
johnnyjeans··on The Untouched Goldmine of F#
Most languages have them, or allow them to be expressed. The name "Tagged Unions" literally comes from C.
johnnyjeans··on The great firewall is finally broken
> he is talking about the great firewall but the rules remain the same, nothing changed

You're misunderstanding the point of the great firewall, which is to create an isolation effect on the Chinese net. Obviously a bunch of American e-refugees foils that. This absolutely is a massive change to the status quo.

> he says people is leaving meta in anger, some are, I don't see a significant massive migration

He's saying zoomers are moving from TikTok to REDNote rather than Instagram/Facebook. Not that they're going from Instagram/Facebook to REDNote.

> honestly I think he is talking from his user experience and trying to extrapole it way beyond its real extent

Speaking as a zoomer, no he's right. I can think of maybe 2 friends who haven't gotten on REDNote in the last couple of days. The numbers[1] don't lie. Whether or not this sticks? Remains to be seen. But it's inarguable that it's happening.

[1] - https://www.newsweek.com/rednote-app-tiktok-ban-xiaohongshu-...

johnnyjeans··on The consensus on Havana Syndrome is cracking
> Just look at the completely made up fears about ODing from fentanyl just by touching it or even just breathing in the fumes.

It's not really made up, it's a case of mistaken identity. Carfent is potent enough that accidentally disturbing an open container of it and breathing in the dust kicks up will knock you out cold. LD50 in the hundreds of micrograms range. Carfent and fent are different molecules, but it's not really reasonable to expect the average person to know they're different. They will however know that fentanyl is particularly potent (which it is, albeit not quite a chemical weapon like carfentanyl) which compounds this misunderstanding.

johnnyjeans··on Alignment faking in large language models
I'm assuming you're in disagreement with me. In which case I'm going to point you towards the literal formulation of quantum mechanics being the description of a state space[1]. The universe as a quantum markov chain is unambiguously the mathematical orthodoxy of contemporary physics, and is the defacto means by which serious simulations are constructed[2].

It's such a basic part of the field, I'm doubtful if you're talking about me in the first place? Nobody who has ever interacted with the intersection of quantum physics and computation would even blink.

[1] - Refer to Mathematical Foundations of Quantum Mechanics by Von Neumann for more information.

[2] - Refer to Quantum Chromodynamics on the Lattice for a description of a QCD lattice simulation being implemented as a markov chain.

johnnyjeans··on Alignment faking in large language models
> If we set that knowledge aside, we unmoor ourselves from reality

The problem is that this knowledge is an a priori assumption. If we're exercising skepticism, it's important to be equally skeptical of the baseless idea that our notion of mind does not arise from a markov chain under certain conditions. You will be shocked to know that your entire physical body can be modelled as a markov chain, as all physical things can.

If we treat our a prioris so preciously that we ignore flagrant, observable evidence just to preserve them -- by empirical means we've already unmoored ourselves from reality and exist wholly in the autocomplete hallucinations of our preconceptions. Hume rolls over in his grave.

johnnyjeans··on Borrow Checking, RC, GC, and Eleven Other Memory Safety Approaches
No, simply because GC isn't an optional part of ocaml's design. You can "disable" it only in the sense that you stop any frees from happening.

In order to do away with Garbage collection you'd need to completely change the type system, and while you might get a result which ends up looking a lot like ocaml, it won't be ocaml any more than ocaml is sml.

This is what Rust started out as, by the way. In my opinion, it should have stayed that way. Post-Mozilla Rust has been nothing but a gigantic disappointment.

johnnyjeans··on Moms Carry 71% of the Mental Load
> New research shows that mothers take on 71% of household mental load tasks, including planning, scheduling, and organizing, while fathers manage just 45%

71% and 45%? What do these numbers actually mean? The article doesn't really make any of this make sense.

Additionally, something I'm going to note, I don't do any of these things regardless of the fact that I am not a father and live alone. "Scheduling, planning, organizing" are all things I detest immensely. I like to live simply and according to the free-flow pace of life. The kind of highly structured, bureaucratic life driven by 4th order Baudrillardian simulations of rituals which I find most people to live, if I'm being brutally honest I don't really consider that living at all.

For the last 5 years I've handled Christmas dinner for our family. The most planning I do is ensure my food stores are full. Day of I simply look at who's showed up to my house and start cooking with what I have, completely ad hoc. Considering I've been entrusted with this for 5 years at this point indicates I'm doing something right. The idea that one would RSVP for a feast, serve specific things in specific amounts... nope. Wouldn't do that in a million years. Where's the joy? To me it always seems like a lot of pointless stress and effort for a result that doesn't actually care if people enjoy it in the moment, you just want the picturesque trope. I'm not running a restaurant here, I'm spending time with family and putting good vibes in the air. Literally nothing else matters in the slightest.

Recently went on a roadtrip with friends. The planning? When are we leaving and where are we going and for approximately how long. That's a 2 minute conversation. I wouldn't do it any other way because it's always the most fun way to do things. You're free to simply enjoy the precious moments as they come. I remember structured trips and how hollow they always felt. I'm loathe to ever go back.

Now in some things, these things can't be helped. Interaction with the medical crap, certain things with work, interacting with a bureaucracy of any kind really, especially the government. I put up with these only out of necessity. If I have the control to not have to deal with the insane, anti-human, borderline demonic nature of rigidity and structure you better believe I'm exercising that control.

People just live their lives in ways that seem to add needless mental effort and expenditure of energy. Absolutely none of this would change with a child, unless I found it to be negatively affecting them. Which isn't to say raising a child isn't a care-free experience that can be done without immense mental effort and stress. Just the idea that a household and your life must be strictly organized is more than a little cap. Is that mental effort actually doing any meaningful good? Ask yourself if your ancestors, before they developed spoken language, would give a single rat fuck about the benefit. If you can reasonably be sure they wouldn't, chances are it's not a meaningful benefit. Food? Good. Comfort? Good. Family? Good. Min max optimizing time tables and having an hour-by-hour rundown of a plan? Not my monkey, not my circus. Your ancestors are expressing concern over your furrowed brow.

johnnyjeans··on The unbearable slowness of being: Why do we live at 10 bits/s?
> Our bodies' systems are biochemical wetware that will never be aptly described using a boolean basis.

All physical systems are described on a base-2 basis using bits, or shannon entropy.

johnnyjeans··on Taxpayers spend 22% more per patient to support Medicare Advantage
I'd much rather follow Germany's model of healthcare (which is privatized) than the UK or Italy's (which is nationalized), having experienced all three and the US's.
johnnyjeans··on Slop
It's just zoomer slang. It applies to more than just AI images. Its meaning ranges from low-quality, to undesirable, and can even be used as a cognate of "for the birds".
johnnyjeans··on 8 months of OCaml after 8 years of Haskell in production (2023)
For me, my problem with Haskell's syntax is less rooted in the fact that it's in the ML-family. It's more to do with just how horrific complex type aliases can end up being thanks to currying. Imagine we have type aliases that are built up out of function signatures, made up of more aliases of function signatures, and this is a tower of some 20 layers deep. If you're working with types at different levels of this tower of garbage at the same time, you very quickly end up in an associativity hell and the type signatures you have to work with are beyond unhelpful.

Combination of both the flaws of currying as a concept, as well as the complexity of Haskell's type system.

johnnyjeans··on 8 months of OCaml after 8 years of Haskell in production (2023)
That's because real-world Haskell tends to not be idiomatic, and it involves a lot of directly telling GHC what to do. Mathematicians don't have to (and rarely, if ever) make efficient code. GHC is a really advanced and impressive compiler, but that really doesn't amount to much. At some point the language just devolves into understanding what arcane compiler internals you need to invoke, and it's more like a bunch of C macros with a fancy runtime.
johnnyjeans··on 8 months of OCaml after 8 years of Haskell in production (2023)
Haskell is 30 years old at this point. It was pretty cutting edge in the 90s, but the pinnacle has climbed ever higher.
johnnyjeans··on Go and Java: Rethinking Type Safety for the Pragmatic Age
You could just use a for-statement, you know. I feel like there's a reactionary avoidance to iteration to the point that it doesn't really make sense.

I feel like we've jumped out of the frying pan of the 90s' OOP craze, directly into the fire of doing the same cargo cult behavior with functional programming. Always avoid loops, always use higher-order functions. It just makes sense. If you are not provided with the shotgun spread of higher-order functions out of the box, be frustrated.

I vaguely recall reactions to Haskell in the late 90s where vitriol was spewed over the lack of inheritance and classes.

johnnyjeans··on Warp terminal – no more login required
Still using xterm, don't plan on stopping anytime soon. It's not the simplest terminal in the world, not by any means... but it's never blown my foot off and I can trust to just work.
johnnyjeans··on Warp terminal – no more login required
> isn't this a technical product for technical users?

I would expect a technical user would be immediately skeptical at the value proposition. I can't even trust git to not break itself when I'm using it directly. Throwing in an LLM and natural language sounds like an express elevator to hell.

johnnyjeans··on From BSP to ESP – How S3ctor Abused Quake Editors to Redefine the Morrowind Mod
I sincerely doubt it.

One of the more underexamined consequences of computers being so ubiquitous and widespread is how it's affected child rearing. Any parent or anyone who works with children knows one of the most important parts of child rearing is socialization. It's imperative that your child gets along with other children, always has been. Today, with children being given access to social media, that means that your child too will have to be given access to social media in order to fit in. The reason being that this is what kids will talk about amongst each other primarily, it will constitute much of their interests early in life.

The problem of course with this mandatory exposure is that it's vampiric. The odds of getting a kid into 6502 assembly after they've been exposed to the monoamine explosion of trite garbage like TikTok may as well be an impossibility. Deprive them of that explosion... they'll probably not have a good time with their peers. Social ostracization will harm their personal development, and they will experience it if they can't yap about the latest memes with the other snotlings. They'll grow to resent you for making them the weirdo with nil cultural knowledge.

It's a rather worrisome situation, honestly. The best route to getting kids into programming, in my opinion, is through Roblox or making Fortnite custom maps. It's stuff they can share with their friends in a medium that they'll enjoy and think is cool. It fits in with their cultural motions. If you do a good job of encouraging their experiences doing so and instilling a hunger for more and deeper knowledge, eventually they'll move on to greater horizons.

I say this as someone that's absolutely loathe to do any of this. I would want to raise my child on Plan 9. Teach them how to write 6502, how to write lua, how to write C. But it's just not how the world works anymore.

johnnyjeans··on Multiple new macOS sandbox escape vulnerabilities
My Grandma doesn't have a need for backwards compatibility or the million other things that stop Apple from just making a new operating system.

Normal people's use cases for their computer is light file management, light document and productivity workflows and everything else is done in the browser. Hell, most of the document processing and productivity crap is in the browser these days too.

johnnyjeans··on We Can Terraform the American West
No worries. It's not commonly known! For as important as it's become to talk about the climate, the brass tacks remain pretty esoteric.
johnnyjeans··on We Can Terraform the American West
Interglacial periods are a part of ice ages. Even tells you right at the beginning of that article.

> Individual pulses of cold climate within an ice age are termed glacial periods (glacials, glaciations, glacial stages, stadials, stades, or colloquially, ice ages), and intermittent warm periods within an ice age are called interglacials or interstadials.

You can actually see the definition (albeit a little verbose) as the first sentence of that article:

> An ice age is a long period of reduction in the temperature of Earth's surface and atmosphere, resulting in the presence or expansion of continental and polar ice sheets and alpine glaciers.

On a technicality, you can get me for not mentioning the snow capped mountains part, I'd concede on that. That part is actually news to me. All the same, the earth is colder than it usually is. [1]

An interesting thing I like to bounce around in my head: Could we live in the interior of the Pangean super continent if we had to? Interesting stepping stone between Earth's current, very mild climate, and trying to live in a place like Venus. Definitely would have to live like mole people.

[1] - https://www.climate.gov/media/11332

johnnyjeans··on We Can Terraform the American West
I agree. Megaprojects that make large changes to highly chaotic systems never end well. From Mao's Four Pests to the ongoing wildfire crises that plague the west coast thanks to all the terraforming California has undergone (exacerbated by ongoing climate change)

To say nothing of the fact that this is wanton environmental destruction. Just because something is arid, it's alright to completely change it? And for what? Having lived in Dallas, which is not unlike Nevada but more humid and wet, it's not a proper place to live. People jump from pool of air conditioning to pool of air conditioning. You go outside and walk for just 5 minutes, and you're completely soaked in sweat. Shade does not help. Lack of concrete does not help, you can drive 2 hours into the middle of nowhere and it's still like being in a preheated oven. You can't really do anything fun outside for half the year because you'll get heat stroke, or generally just be extremely stinky.

If you want to make use of empty land, going to the miserably cold uninhabited swaths of Canada are far wiser. You can always bundle up, but you can only take off so many layers of clothing.

johnnyjeans··on We Can Terraform the American West
It wasn't the lack of water that made Florida inhospitable, it was the climate. Florida's population explosion precisely coincides with the adoption of air conditioning in American households, in the post-war period[1]. Very few people want to live in a place where it's so hot and humid all the time.

> During the last ice age, only 10,000 years ago

We're still in an ice age. An ice age is simply when the earth's poles have an ice cover.

[1] - https://countrydigest.org/florida-population/

johnnyjeans··on Use Prolog to improve LLM's reasoning
Oh, apparently I only had half the story. I remembered reading that it was written in a committed-choice derivative of Prolog for concurrency reasons, but apparently that was just a failed experiment that happened early on.[1]

[1] - https://erlangforums.com/t/is-the-first-version-of-erlang-wr...

johnnyjeans··on Use Prolog to improve LLM's reasoning
Prolog (and logic programming in general) is much older than you think. In fact, if we take modern functional programming to have been born with John Backus' Turing Award presentation[1], then it even predates it.

Many advancements to functional programming were implemented on top of Prolog! Erlang's early versions were built on top of a Prolog-derived language who's name escapes me. It's the source of Erlang's unfamiliar syntax for more unlearned programmers. It's very much like writing Prolog if you had return values and no cuts or complex terms.

As for penetrating general use, probably not without a major shift in the industry. But it's a very popular language just on the periphery, even to this day.

[1] - https://dl.acm.org/doi/10.1145/359576.359579

johnnyjeans··on A Language of Beautiful Impurity
The Dutch language is extremely cute to me as a native English speaker. "Sneeuw" is probably my favorite word of all time in any language.
← PreviousPage 5 of 8Next →