HNHacker News
TopNewBestAskShowJobs

lex-lightning

54 karma · joined February 8, 2024

Just trying to make up for having bad karma in real life
submissionscomments
lex-lightning··on We need to talk about parentheses (2020)
Dope. Thanks.

Have you written much Prolog?

I was thinking about in Prolog terms and I think it’s the hardest paradigm to avoid the scoping problem in

lex-lightning··on The myth of big salaries (it's all marketing)
Are you better at inventing than the worker is?

Are your subsequent inventions better than the art they create?

Do we really need double the widgets?

I mean, the top post on this site yesterday was a self-balancing cube someone invented. This is precisely the community that should understand that inventions for inventions’ sake aren’t necessarily improving anything.

lex-lightning··on "Accelerationism" is an overdue corrective to years of gloom
I’ve asked Bing about sexual health questions and been told it’s not okay to talk about that.

I asked it a question about Christianity and it stated things with the tone and certainty of a preacher.

Just gross. And worse to put something like that in the hands of billionaires.

I am somewhat of a doomer not because I think it will be the Terminator. More like AI theocracy here we go.

lex-lightning··on "Accelerationism" is an overdue corrective to years of gloom
Count me unimpressed too

Bing Copilot can’t even answer simple questions about businesses in a particular city without lying. When confronted, it will apologize and then repeat the same text verbatim.

Zero reasoning happening.

lex-lightning··on We need to talk about parentheses (2020)
If I wanted to deeply pedantic, I think the blocks associated with those monady bits keep the parameters in scope longer than needed.

But I never got into Haskell so I don’t really know.

lex-lightning··on We need to talk about parentheses (2020)
I’m a contrived idea man, not a contrived solution man, damnit.
lex-lightning··on How to write stuff no one else can
What if someone works 30 hours a week performing a service which is not yet automated, but uniquely theirs, like their own standup comedy.

Contrast that with the replicable software example.

lex-lightning··on We need to talk about parentheses (2020)
I still don’t fold clothes. I just buy stuff that doesn’t wrinkle. Work smarter not harder.
lex-lightning··on The myth of big salaries (it's all marketing)
In the first case no, in the second yes.

Great that you reduced the need to work. You are a hero to society.

Not great to use that as a reason to control others.

lex-lightning··on The myth of big salaries (it's all marketing)
Devil’s advocate: they’re both clerks and the liquor store is more dangerous, so yes they should be paid more
lex-lightning··on We need to talk about parentheses (2020)
Hey I’m down to party with some monads, but I leave that as an exercise to the reader.

One note: each variable only gets assigned to once, so FP won’t magic that away.

The side effects might have a different way of management in FP. But the IO will happen in the same order in reality anyway.

So I don’t think there’s a way out, but I honestly would be interested to see it.

lex-lightning··on The myth of big salaries (it's all marketing)
The logarithmic decay could be more about more and more people hitting their satisfaction level, than about what the wealth can purchase. In other words, very few people actually want to be billionaires.

Or more simply: most people want to retire.

lex-lightning··on The myth of big salaries (it's all marketing)
I think genuinely most people don’t want to exert power over others, so the value doesn’t increase for most
lex-lightning··on We need to talk about parentheses (2020)
I appreciate your interest.

I’d argue that even declaring ‘c’ is against the spirit though. To say nothing of the eldritch shadow cast there (no disrespect, I think we’re both enjoying playing around here)

lex-lightning··on The myth of big salaries (it's all marketing)
What about different working conditions? Is one hour in a coal mine the same as one hour as an actor?

What if a person has a debilitating illness that prevents them from working but is also expensive to take care of?

lex-lightning··on The myth of big salaries (it's all marketing)
You are morally and intellectually superior.
lex-lightning··on The myth of big salaries (it's all marketing)
I would have paid double my taxes over my career if the US would spend it on elevating the poor. But asking me to not retire, to give away my savings to very few people? What, that’s not ethical.

What if I made a lot, but spend very little? Shouldn’t that weigh in, if your issue is consumption level?

What if in my early retirement, I go around lifting people up in non-monetary ways?

What if my job earned me a lot of money but was ultimately doing something I found socially harmful? I should continue working to the detriment of my mental health and against my principles?

We can elevate the poorest and decrease the amount of work the median/average person must do.

keyword references: degrowth, UBI

lex-lightning··on The myth of big salaries (it's all marketing)
My personal pet peeve is how every retirement calculator bakes in an assumption like “you’ll NEED 75% of your current income as living expenses when you retire.”

Like your salary won’t change over your career. Like you’re just an impulse buyer. Like there’s anything but a distant correlation between these numbers.

I think there’s a conspiracy or a (USA) cultural aversion to not working.

lex-lightning··on I applied for a software role at FedEx and was asked to take a personality test
I had a great manager who was a coding genius, always available to pair even if it took hours to explain something, and has been a friend for years after we both left that company.

But before that company I had a manager at a very small company who absolutely had no ability to do the work — and would have failed a personality test on top of that.

lex-lightning··on We need to talk about parentheses (2020)
a = getInt(); b = getInt() + a; c = getInt(); d = b / c; puts(d); puts(c); puts(b); puts(a);

Nothing in the middle of this code prevents using ‘a’ even though it isn’t relevant to ‘c’. And there’s no way to arrange it to change that.

lex-lightning··on We need to talk about parentheses (2020)
For real though. This was my biggest frustration when I was an SE.

Want people in a large organization to ignore your ideas? Speak them out loud.

Want them to follow them as dogma? Write a blog post under a pseudonym.

lex-lightning··on We need to talk about parentheses (2020)
When I was a kid I would tell my parents I cleaned my room, then they’d look in the closet and see everything in a pile.
lex-lightning··on Piezoelectrics enable displays to provide both audio and touch feedback
you are specifically the person who should get a case. Or wipe your hands or something? This is an absurdly high rate of breaking phones. no one here has any incantations or runes that will safeguard you from physics
lex-lightning··on We need to talk about parentheses (2020)
This isn’t always possible, even in lisp. Compare to Rust’s non-lexical lifetimes
lex-lightning··on We need to talk about parentheses (2020)
This sounds like another option while maintaining agreement with the gist of what I meant. Those are good, though that’s where I start preferring smallness
lex-lightning··on Built-in workaround for applications hiding under the MacBook Pro notch
I agree. I love my iPhone and my iPad. But that touch bar era on the Mac was rough.
lex-lightning··on We need to talk about parentheses (2020)
Smooth, squiggly, hard, and pointy are my gotos
lex-lightning··on We need to talk about parentheses (2020)
But what if the two houses are otherwise identical? Even a small convenience will tip decisionmaking
lex-lightning··on We need to talk about parentheses (2020)
Yes, but programming is more akin to copywriting than mathematical notation most of the time.

Math has very well-defined, well-trod conventions that are densely packed into the notation. When people try to write code like this though, it’s hard to read.

All else equal, I’ll take a snippet of code with more characters in it but less work to unpack those characters. Reading linearly is cheap; I get tired reading formulas faster than reading technical prose. Precedence makes the mental parsing nonlinear.

lex-lightning··on We need to talk about parentheses (2020)
The drawback of the microscopic function craze is you lose the ability to read a whole procedure from top to bottom. If some code is truly reused, break it out into a function with a good name, sure.

But in my domain I have seen countless one-line functions used in one place each, and it’s frustrating having to jump around the code (and add to my mental context stack*) rather than just putting some curly braces and a comment. Functions aren’t primarily meant as a hygiene mechanism. I really like the curly brace scoping in Rust.

I found my style partly by reading John Carmack and Casey Muratori’s coding philosophies and putting them to the test for myself.

* For a natural language analogy, consider the difference between parenthetical remarks and asterisks. You have to remember your place in the text.

Page 1 of 2Next →