Readit News logoReadit News
mseepgood commented on Building a TUI is easy now   hatchet.run/blog/tuis-are... · Posted by u/abelanger
elevation · 2 days ago
As LLMs consume all our compute resources and drive up prices for the compute hardware on which we run applications, the silver lining is that LLMs are helpful in implementing tooling without a heavy stack so it will run quickly on a lower-spec computer.

I've achieved 3 and 4 orders of magnitude CPU performance boosts and 50% RAM reductions using C in places I wouldn't normally and by selecting/designing efficient data structures. TUIs are a good example of this trend. For internal engineering, to be able to present the information we need while bypassing the millions of SLoC in the webstack is more efficient in almost every regard.

mseepgood · 2 days ago
The question is how many decades each user of your software would have to use it in order to offset, through the optimisation it provides, the energy consumption you burned through with LLMs.
mseepgood commented on Italy Railways Sabotaged   bbc.co.uk/news/articles/c... · Posted by u/vedantnair
BadBadJellyBean · 8 days ago
Probably Germany
mseepgood · 8 days ago
Our railways don't need sabotage - trains fail to run anyway.
mseepgood commented on CSS now has an if() conditional function   caniuse.com/?search=if... · Posted by u/aanthonymax
zkmon · 2 months ago
Give it enough time, every declarative language becomes a programming language. This is happening with all config files, markup languages, data formats.

The distinction between code, config and data is being erased. Everything is a soup now. Data is application, configuration is code. Code is an intermediate, volatile thing that is generated on the fly and executed in the temporary lambda containers.

mseepgood · 2 months ago
So why do people still design declarative languages?
mseepgood commented on Go's Sweet 16   go.dev/blog/16years... · Posted by u/0xedb
j-scott · 3 months ago
Never mind, I was wrong. Here’s a playground showing how go parses each one: https://go.dev/play/p/hyWPkL_9C5W
mseepgood · 3 months ago
> Octals must start with zero and then o/O literals.

No, the o/O is optional (hence in square brackets), only the leading zero is required. All of these are valid octal literals in Go:

0600 (zero six zero zero)

0_600 (zero underscore six zero zero)

0o600 (zero lower-case-letter-o six zero zero)

0O600 (zero upper-case-letter-o six zero zero)

mseepgood commented on Go's Sweet 16   go.dev/blog/16years... · Posted by u/0xedb
Someone · 3 months ago
> Which makes sense, it's got the smallest language spec of any of them

I think go is fairly small, too, but “size of spec” is not always a good measure for that. Some specs are very tight, others fairly loose, and tightness makes specs larger (example: Swift’s language reference doesn’t even claim to define the full language. https://docs.swift.org/swift-book/documentation/the-swift-pr...: “The grammar described here is intended to help you understand the language in more detail, rather than to allow you to directly implement a parser or compiler.”)

(Also, browsing golang’s spec, I think I spotted an error in https://go.dev/ref/spec#Integer_literals. The grammar says:

  decimal_lit    = "0" | ( "1" … "9" ) [ [ "_" ] decimal_digits ] . 
Given that, how can 0600 and 0_600 be valid integer literals in the examples?)

mseepgood · 3 months ago
You're looking at the wrong production. They are octal literals:

    octal_lit      = "0" [ "o" | "O" ] [ "_" ] octal_digits .

mseepgood commented on It’s not wrong that "\u{1F926}\u{1F3FC}\u200D\u2642\uFE0F".length == 7 (2019)   hsivonen.fi/string-length... · Posted by u/program
xg15 · 6 months ago
It gets more complicated if you do substring operations.

If I do s.charAt(x) or s.codePointAt(x) or s.substring(x, y), I'd like to know which values for x and y are valid and which aren't.

mseepgood · 6 months ago
The values for x and y should't come from your brain, though (with the exception of 0). They should come from previous index operations like s.indexOf(...) or s.search(regex), etc.
mseepgood commented on The daily life of a medieval king   medievalists.net/2025/07/... · Posted by u/diodorus
khazhoux · 7 months ago
The supplicants brings to mind the opening scene of The Godfather.

I’m endlessly perplexed how a human with the same number of hours as me, can rule a kingdom, or run a modern country, or be CEO of a major company, meanwhile I’m working long hours every day and still get nothing accomplished.

mseepgood · 7 months ago
Delegation is key
mseepgood commented on The daily life of a medieval king   medievalists.net/2025/07/... · Posted by u/diodorus
mseepgood · 7 months ago
So he only did four hours of actual work per day.
mseepgood commented on MCP: An (Accidentally) Universal Plugin System   worksonmymachine.substack... · Posted by u/Stwerner
mseepgood · 8 months ago
Is it some kind of CORBA?
mseepgood commented on Prompt engineering playbook for programmers   addyo.substack.com/p/the-... · Posted by u/vinhnx
bsoles · 8 months ago
There is no such thing as "prompt engineering". Since when the ability to write proper and meaningful sentences became engineering?

This is even worse than "software engineering". The unfortunate thing is that there will probably be job postings for such things and people will call themselves prompt engineers for their extraordinary abilities for writing sentences.

mseepgood · 8 months ago
You don't even have to write proper sentences. "me get error X how fix here code:" usually works.

u/mseepgood

KarmaCake day3743June 2, 2012View Original