76 karma · joined Oct 26, 2017 (9y ago) · 89 submissions
comment 6d ago · link · parent
Minor note, the title also makes it easy to confuse the issue and think that a single hyperscaler has this kind of energy requirement.
From the article:
----
Using satellite imagery to verify the locations of 403 hyperscale data centers and power-plant records to estimate their emissions, the Harvard-led team found that the facilities’ electricity use was between 68 and 99 terawatt-hours in the year ending April 2025.
Based on that estimate, just those data centers would have accounted for 1.8% of the US’s total electricity consumption that year.
At the high end, it's close to the energy that states like Michigan or Tennessee use in a year. More concerningly, that power generation would have added 25.7 million metric tons of carbon dioxide to the atmosphere – more than Denmark’s entire emissions for the same period.
comment 2w ago · link · parent
It's that AI writing tends to be dense and difficult to really parse, for humans.
Something about the writing style does not sit well with how my mind works. My mind cannot parse it very well.
You could try asking it to write in Simplified Technical English (STE100), which ends up being easier to understand for humans. Or, at least for me.
comment 3mo ago · link · parent
What's more interesting to me is, how do we prove that the business intent is accurately encoded in the code? This is a different problem. Not "is the logic internally coherent," but "is the logic going to give us what we want?"
And how do we make sure that the logic keeps giving us what we want, iteration after iteration?
I've open source a tool, Drift, for this purpose. So far, biased and anecdotally as its builder, this has been the missing layer. It works because the spec is treated as a duplicate of the code, written and committed in the repo and kept in sync with hashes. The LLM then checks for diffs manually. There are ways to use perplexity here as well. Here is an article about how to get started. https://monarchwadia.medium.com/how-to-make-your-agent-more-...
Doubtless, many more automations will come. We live in very exciting times. It has been a while since a new technology affected every corner of software engineering with such depth of change. This might be unprecedented.
comment 5mo ago · link · parent
Is consciousness a complex form of information processing?
Is consciousness relating to the space in which qualia occurs?
Is consciousness the state of being awake, as opposed to asleep or dead?
Is consciousness some combination of the above?
Some of these are better understood than others. So, some people will show up with more confidence than others, which further confuses the issue.
Unfortunately, the above is not well understood, even among intelligent and informed audiences.
comment 6mo ago · link · parent
I ran this script to count all packages in package-lock.json:
node -e '
const lock = require("./package-lock.json");
const entries = Object.entries(lock.packages || {}).filter(([k]) => k); // skip root ""
const c = { prod: 0, dev: 0, optional: 0, peer: 0, total: 0 };
for (const [, p] of entries) {
c.total++;
if (p.peer) c.peer++;
else if (p.optional) c.optional++;
else if (p.dev) c.dev++;
else c.prod++;
}
console.log(c);
'
Output: { prod: 2, dev: 955, optional: 113, peer: 8, total: 1078 }
So, 1078 total dependencies.10.
The NPM CLI has 65 production dependencies from the NPM registry(github.com ↗)
2 points · by monarchwadia · 6mo ago · 3 comments
comment 7mo ago · link · parent
I'm actively moving away from Node.js and JavaScript in general. This has been triggered by recent spike in supply chain attacks.
Backend: I'm choosing to use Golang, since it has one of the most complete standard libraries. This means I don't have to install 3rd party libraries for common tasks. It is also quite performant, and has great support for DIY cross platform tooling, which I anticipate will become more and more important as LLMs evolve and require stricter guardrails and more complex orchestration.
Frontend: I have no real choice except JavaScript, of course. So I'm choosing ESBuild, which has 0 dependencies, for the build system instead of Vite. I don't mind the lack of HMR now, thanks to how quickly LLMs work. React happily also has 0 dependencies, so I don't need to switch away from there, and can roll my own state management using React Contexts.
Sort of sad, but we can't really say nobody saw this coming. I wish NPM paid more attention to supply chain issues and mitigated them early, for example with a better standard library, instead of just trusting 3rd party developers for basic needs.
comment 8mo ago · link · parent
comment 8mo ago · link · parent
I don't know about the other UIs, but on the web, some things impinge on the model you (and Redux) are proposing.
One thing is: you, in the gamedev world, have the luxury of having a frame buffer to write to. You fully control what gets rendered. Unfortunately, React and its cousins all have to deal with the idiosyncracies of the legacy browser environment. You have CSS, which applies and cascades styles to elements and their children in often non-obvious ways, and is a monster to deal with on any given day.
In addition to CSS, you have multiple potential sources of state. Every HTML slider, dropdown, input field, accordion, radio button, checkbox has its own browser-native state. You have to control for that.
On top of all of this, the browser application is usually just a frontend client that has to interact with a backend server, with asynchronous calls that require wait-state and failure-state management.
One thing that's in common with all of the above problems is: they're localized. All of these things I'm describing are specific to the rendering layer and therefore the component layer; they are not related to central state. A central state trying to capture all of these problems will fail, because component state has to be wrangled locally near where the HTML is; CSS also is component-level; and the network states are often very closely related to each component. If we maintain a central "game state", the data complexity just proliferates endlessly for each instance of the component.
So, the default these days is to keep state very close to each component, including network state, and often business logic also gets sucked into the mix. I try to avoid putting business logic in components, but people do it all the time unfortunately. But it does add to the complexity.
In other words, there is -real- complexity here, stemming from the fact that the web was never built to be a distribution+execution layer for rich applications, but evolved to become exactly that. It's not just bad application architecture or bad decisions by React maintainers.
Maybe I'm wrong, since I'm not a game developer and don't see what you're seeing on your side.
comment 8mo ago · link · parent
Shunyata means everything is empty. Empty of what? Empty of inherent, independent existence. That means everything is connected -- not only connected, but mostly illusory, sitting on top of a reality that cannot be understood in terms of objects, processes, distinctions, or boundaries between objects. Sometimes, this connection takes on strange forms.
For example: The horrible reality of war was a direct cause for your compassionate unease. I.e. war acted as a cause for compassion. This is strange. How do we reconcile this disturbing relationship, where a compassionate response is directly the child of war? In other words, horrific war has given rise to compassion, and this is a causal relationship, in the same way that a child arises from a mother. So, violence and love can arise from each other? What? Are they not supposed to be opposites?
The next step is a bit more provocative. Shunyata seems to imply that, since everything lacks inherent and independence existence, then suffering is not a part of the human condition. Instead, it is a mental construct. It isn't that the suffering of humanity does not exist; it's that it is constructed by the mind.
Deleuze and Guattari offers an interesting viewpoint on this. There are various intensities that do arise naturally. Injury, for example, is an intensity. But, suffering itself is not "really-real" unless we reify the intensities as suffering. And eliminating suffering partially involves the non-reification of intensities into suffering.
Obviously, easier said than done.
Anyway I'll leave it there. It's probably quite easy to destroy my points here, so I would appreciate it if people steelmanned my comment instead of strawmanning it. Shunyata is a genuinely useful discussion from a mental health and human flourishing standpoint. And has some very interesting and rigorous logic behind it. (see Mulamadhyamakakarika by Nagarjuna)