Better HN
topnewbestaskshowjobs
Log inSign up

90s_dev

1,788 karma · joined Mar 13, 2025 (1y ago) · 921 submissions

Submissions

comment 1y ago · link · parent

The existence of the Pope is inherent in the need for doctrinal and disciplinary unity. Otherwise when there's a dispute over whether to obey a pastor or whether he's correct about something in faith or morals, there's no arbiter, so the church splits in two, and it continues on the pattern of cancer. Naturally there will be faithless people in the church who use such positions as if they were political, but only because "if there is no resurrection, then let us eat and drink, for tomorrow we die" and politics is the most obvious way of ensuring that luxury.

comment 1y ago · link · parent

Now that you mention it, JavaScript has this inherent problem too:

> foo["hello world!"]()

I'm halfway glad I've never needed to write C++ professionally, but it seems to me like all my TypeScript would probably transliterate to very clean C++31.

comment 1y ago · link · parent

https://www.shadertoy.com/view/XXyGzh

... this is amazing!

I can't wait to dig in and figure out how to add effects like this over my 2d content!

comment 1y ago · link · parent

A better solution is to have a testing framework that doesn't rely on functions to name tests, especially in a language that has anonymous functions.

comment 1y ago · link · parent

On this note, can anyone recommend basic webgl 2d effects tutorial? I have a super exciting project I'm really close to announcing, but the last step is adding some pretty Animal Well style effects via webgl2, but I know practically nothing about webgl except the very very basics that you learn from webgl2fundamentals.org. Any pointers would be appreciated.

comment 1y ago · link · parent

I would not have even approved it. But that's just me.

comment 1y ago · link · parent

I can't help but think some of the Swift leads just really like Haskell.

comment 1y ago · link · parent

So it's becoming C++?

comment 1y ago · link · parent

It just seems to me that this is the exactly wrong way to solve a programming problem. If the problem boils down to "I want some variables (almost always test function names) to be more human readable", the solution should never be "hey let's add this feature to the core language and make identifiers use any ASCII string! I dunno, maybe I'm wrong here and being overly critical. But to me it just screams "Swift has lost the plot."

comment 1y ago · link · parent

> So, rather than writing > > @Test("Strip HTML tags from string") func stripHTMLTagsFromString() {...} > > we can instead write > > @Test func `Strip HTML tags from string`() {...}

Maybe I'm just really new at programming, but this seems like an absolutely bad feature, and the example actually perfectly proves it:

You really want to name a function "Hello World!" instead of helloWorld, just so your stack traces can pass a 5th grade English class exam?

comment 1y ago · link · parent

I have not looked at Swift since I last wrote some around maybe v3. I hear that it's generally not a competitor to Rust, and is only really useful within the Apple ecosystem. Why is it not more useful as a C++ alternative, since I think that's kind of what the initial goal was? Is it just that non-Apple support is new-ish and not yet matured? Or a more fundamental issue?

comment 1y ago · link · parent

The signature looked compatible with JSX to me. You could probably easily create JSX functions that just use $ internally, and make your web build tool's react-auto-import setting point to it.

comment 1y ago · link · parent

The two downsides you list ("lack of community" and "lack of ecosystem") are not really downsides. If something is good enough, people will simply adopt it out of excitement, and those two problems will disappear entirely. See Rust and React.

This looks and sounds incredibly clever, and seems to be what I always wanted React to be. I'm eager to try it out!

Could you make a demo of a simple Todo list app in it that lets you edit items, toggle them complete individually, inverse all items, and delete all done items? That way we can see how this works with relatively complex hierarchies.

comment 1y ago · link · parent

Why would that even be a good thing? Religion is inherently above politics. Politics is concerned for the temporal good of its subjects.

Religion is concerned for the ethical and spiritual good of its subjects. Politics are short sighted and can never produce a paradise. Religion can produce a paradise in the soul of one even in the worst political and economic circumstances.

Jesus was homeless and broke.

comment 1y ago · link · parent

I hope this Pope recognizes that the only way to lead is a personal martyrdom of self interest.

A true leader must pave the way, not merely point to it. "I must decrease so that my children can increase" in the words of St. John the Baptist and the actions of St. Joseph, who St. Luke calls the father of Jesus, and who is the living image of the father.

St. Joseph's staff only sprouted the life of lilies because it was dead first (Hebrews 9:4, which book the Blessed Virgin Mary probably wrote).

(Also Chicago represent!)

comment 1y ago · link · parent

I wonder if this is related to that bare metal bios os post from a week or so ago. I asked the author why he used tty asm calls to print instead of calling int 10 directly and he said it was more efficient, but for different reasons.

https://news.ycombinator.com/item?id=43873822

comment 1y ago · link · parent

I'm not, but I see how it sounded that way. I'm just picky lately. I can relate to most people on at least something, and can make friends easily. I don't struggle with that. I just don't care about those interests enough to put the effort in lately, and I have few circumstances tying me to specific people anymore (neighbors, coworkers, family, etc). Maybe it's because of where I am in life, and my current responsibilities. [edit] For example, when it seems like you're near the end of your life, you think much more about bigger picture things, like your own mortality, the past and future, what mark you did or didn't leave on the world, love, truth, beauty, goodness, and a lot of heavy things that people generally don't want to talk or think about when they're in their prime and want to enjoy it.

comment 1y ago · link · parent

Wow you're right. To be fair it was about 9-10 years since I last tried it, so either it didn't have that back then, or I forgot that it did.

comment 1y ago · link · parent

> You stop performing. You stop pretending. And that’s freedom.

Reminds me of a talk Ian McKellen gave somewhere, where he says that we're always wearing costumes and acting.

I can relate, I've acted when I was younger, to try to fit in, be acceptable, make friends.

A while ago I stopped caring. I have no friends on earth, and I'm fine with it. The few times I tried to connect with people while allowing myself to fully be myself, it never worked.

I wonder if they were still just acting.

comment 1y ago · link · parent

I definitely feel ageless most of the time.

Not "kid at heart" in a foolish way like Will Ferrell.

Not "fine wine aged" like Ian McKellen.

I'm just... me

comment 1y ago · link · parent

> often blamed for the world’s problems or pitted against younger generations

Generation pitting is a red herring. Divide and conquer has always been a useful technique to distract from the real causes, usually by those behind them.

comment 1y ago · link · parent

JetBrains IDEs always had difficult and unintuitive default keyboard shortcuts. I think it's just because of its age (same is true with Visual Studio). Whereas VS Code's out of the box shortcuts were relatively great. If JetBrains IDEs shipped with VSCode-style shortcuts as an option (not necessarily default) that I could switch to without having to manually remap everything, I'd be so glad to use them.

comment 1y ago · link · parent

This is the reason I stopped trying to write high-level tools that change every 1-2 years, and moved to creating/publishing low/mid-level tools that should still be relevant in 10 years.

In other words, instead of creating Jekyll, I created a library that makes it trivial to make your own Jekyll however it makes sense to do so that year.

comment 1y ago · link · parent

I like so much about Rust.

But I hear compiling is too slow.

Is it a serious problem in practice?

comment 1y ago · link · parent

> Would you store all your ~/ in something like SQLite database?

Actually yeah that sounds pretty good.

For Desktop/Finder/Explorer you'd just need a nice UI.

Searching Documents/projects/etc would be the same just maybe faster?

All the arbitrary stuff like ~/.npm/**/* would stop cluttering up my ls -la in ~ and could be stored in their own tables whose names I genuinely don't care about. (This was the dream of ~/Library, no?)

[edit] Ooooh, I get it now. This doesn't solve namespacing or traversal.

comment 1y ago · link · parent

> Is there a principle for such a thing?

Confirmation bias.

comment 1y ago · link · parent

True, but there's also the bored engineers who just can't force themselves to write enterprise code unless they make it fun for themselves. I'm absolutely convinced this is why Clojure even exists and is so widely used in fintech.

comment 1y ago · link · parent

Someone's tweet from about 15 years ago (paraphrased from memory):

"We rewrote 200k line Java codebase in only 50k lines. Guess what language we used?"

The follow-up tweet a day later:

"It was Java."

comment 1y ago · link · parent

A trick I used to use is to check during my custom build step whether the image is under 1k, and inline it if so, otherwise add its hash to the url and add a preload to the html header. I'm trying to get back to that in my latest custom build tool, but it's a gradual process to evolve it to that point properly.

comment 1y ago · link · parent

Also you don't need to separate :root from html in your code, they're always the same here, so you can save a couple lines by joining them.
1
2728293031