1,519 karma · joined Mar 15, 2023 (3y ago) · 544 submissions
comment 1y ago · link · parent
comment 1y ago · link · parent
In C and C++, it's easy to write incorrect code, and difficult to write correct code.
In Rust, it's also difficult to write correct code, but near-impossible to write incorrect code.
The new crop of languages that assert the inclusion of useful correctness-assuring features such as iterators, fat-pointer collections, and GC/RC (Go, D, Nim, Crystal, etc.) make incorrect code hard, but correct code easy. And with a minimal performance penalty! In the best-case scenarios (for example, Nim with its RC and no manual heap allocations, which is very easy to achieve since it defaults to hidden unique pointers), we're talking about only paying a 20% penalty for bounds-checking compared to raw C performance. For the ease of development, maintenance, and readability, that's easy to pay.
comment 1y ago · link · parent
https://constitution.congress.gov/constitution/article-2/
In short: Job protection for executive employees defeats the entire point of an executive that is accountable to the people. Major magistrate positions are subject to Senate approval before being vested authority, but they are appointed and serve at the behest of the president, who literally embodies the executive.
comment 1y ago · link · parent
Complexity has its place, especially for engine builders like Terraforming Mars where complex interactions are the point. Many designers seem to be throwing in the kitchen sink arbitrarily. We're in a "bigger is better" paradigm.
comment 1y ago · link · parent
comment 1y ago · link · parent
Currently solo managing a 30k line data analysis application I built for my company. Easily fits in my head given the obvious pyramidal functional-like structure. Maybe two lines of memory semantics anywhere in the entire thing, and only one module that's OO with a constrained scope. Lots of static data files (style sheets, fonts) slurped up as const strings at compile time. Incredible performance. Invoked by our PHP server backend, so instead of doing parallel or async in the analysis, the server gets that through batch invocation.
Working stupid well for our product, plus I can easily compile binaries that run on ARM and RISC-V chips for our embedded team just by invoking the proper gcc backend.
Replaced an ailing and deliberately obfuscated 20 year old jumble of C and PHP designed to extort an IP settlement from my company. Did it in a year.
comment 1y ago · link · parent
That's how I finally understood that power is energy rate (Joules per unit time), current is charge rate (electrons per unit time), and voltage is energy per unit charge (Joules per electron). Voltage makes a lot more sense as the excitation of electrons; them wanting to jump gaps and go to a lower energy place feels more intuitive in that framing.
comment 1y ago · link · parent
comment 1y ago · link · parent
comment 1y ago · link · parent
comment 1y ago · link · parent
1) Dependence on proprietary software is at best a short-term support boon, and in the majority of cases a crippling liability when the vendor changes support terms or goes under (personal experience talking).
2) Open source software is a slow but inevitable creep towards feature-matching and quality that has borne ample fruit already.
3) As ephemeral information with near-zero material cost other than labor, software finds most low-hanging fruit quickly, while higher-hanging fruit attract the formation of non-profit foundations to continue development; there just aren't many more interesting software products to offer.
Working business models in the tech industry seem to revolve around the provisioning of hardware because buying software just isn't an appealing proposition to customers in most cases.
Sure, LLMs are interesting software, but they're a perfect demonstration: Open source LLMs already exist and gather huge momentum when released; the field is still so new that novel and efficient solutions are not the exclusive realm of proprietary research; and because of these factors, business models can't revolve around interesting model capabilities so much as provisioning the hardware they run on.
comment 1y ago · link · parent
I should've considered this, I have an RTX A5000. It's a gigantic GA102 die (3090, 3080) that's underclocked to 230W, putting it at roughly 3070 throughput. That's ~15% less performance than a 3090 for a ~35% power reduction. Absolutely nonlinear savings there. Though some of that may have to do with power savings using GDDR6 over GDDR6X.
(I should mention that relative performance estimates are all over the place, by some metrics the A5000 is ~3070, by others it's ~3080.)
comment 1y ago · link · parent
Can anyone explain what might be going on here, especially as it relates to power consumption? I thought (bigger die ^ bigger wires -> more current -> higher consumption).
comment 1y ago · link · parent