HNHacker News
TopNewBestAskShowJobs

mc4ndr3

212 karma · joined November 7, 2012

submissionscomments
mc4ndr3··on [dead]
Matt Parker attempted to run dozens of random Python scripts on his LED Christmas tree. Python is notoriously bad for repeatable builds. Evidently most people don't even bother to write down their dependencies in a pip requirements.txt file. Or Matt doesn't know how to use one. Or both. There's a good reason he began the LED challenge by limiting the third party libraries to just a few specific, well known frameworks. I don't think he indicated any particular version (of the frameworks or of Python).

It's 2022 and there are still broken widgets that target 2.x. I believe the Doge guy when he says Musk can't even run Python code due to his ineptitude. I also believe Python is a gamble.

mc4ndr3··on High tuition costs mostly stem from the Omnibus Budget Reconciliation Act 1993
Instead of transitioning college from a luxury to a municipal resource, we continue to treat it as a business.
mc4ndr3··on Alexa, why have you charged me £2 to say the Hail Mary?
god runs on a freemium service
mc4ndr3··on The “World’s Most Powerful Quantum Computer” Is a Hoax with Staged Photos [pdf]
someone's boss: no, don't worry about error rates. just deliver something by end of day. URGENT!
mc4ndr3··on Ilias: Readable aliases for core Ruby methods
I don't like that Ruby offers aliases of its own stdlib members. Don't make me memorize TWO names for the same thing.
mc4ndr3··on Enquire: Everything you wanted to know about your C Compiler and Machine (1993)
How does enquire compare to autotools?
mc4ndr3··on Study claims Amazon, Apple, Google, Meta, Microsoft work to derail data rules
Marketing is easy. Tech is difficult. Politics often feels impossible.
mc4ndr3··on Clifford Stoll was right; the web isn’t nirvana
Many technologies do not democratize or result in leisure time or cure any of the legion of ills that humanity suffers. Tech usually just amplifies the existing power of a political entity, be it statesman or soldier or businessman.

The singular piece of revolutionary tech of the last millennium which actually has improved lives for millions, is the laundry machine, which unlocks many hours of peace and relaxation or education or whatever is needed, for the poor, particularly to the benefit of women who traditionally washed our clothes. The Internet is nice, but perhaps not as pivotal as that invention.

mc4ndr3··on Gene-editing experiment turns hamsters into ‘aggressive’ mutant rage monsters
It was the pax...
mc4ndr3··on GitHub saved plaintext passwords of NPM users in log files, post mortem reveals
It's time to stop logging at scale. Logs are just not worth it. Setup telemetry instead, such as statsd. Select actionable metrics, such as the count of successful and erroneous operations. Save disk, save I/O performance, never stress about log leaks again.
mc4ndr3··on When I First Saw Elon Musk for Who He Is
The fact that Musk doesn't promote or even allow non-Tesla owners to charge electric vehicles at Supercharging stations demonstrates his tendency for monopolization, at the expense of mass electric vehicle adoption rates. Musk would sooner see his employees living and dying on Mars than fix carbon emissions on Earth.
mc4ndr3··on Paris Hilton wants to be the 'Queen of the Metaverse'
You can't be queen of a defragmented polity.
mc4ndr3··on [dead]
barf
mc4ndr3··on Cicada Language: A New Dependently Typed Language
How does Cicada compare to Coq, Agda?
mc4ndr3··on What was your first Linux experience?
Accidentally installed Fedora onto my dad's desktop instead of an attached USB drive.
mc4ndr3··on Physicists rewrite the fundamental law that leads to disorder
Both conventional probability and quantum mechanics are worrisome: On a long enough timeline, the universe will (repeatedly) reset itself to precisely the original state at the time of the big bang. It is difficult to avoid a universe where time is not cyclical. Especially if space turns out to be finite. Or if indeed parallel worlds do exist. Or if a big crunch happens.
mc4ndr3··on splice() and the ghost of set_fs()
with_resource(mutex file handle etc etc *o, func callback) is a safer pattern, for this reason. Thank you, Python

(with_resource is a generic example. Search for such capabilities in your library.)

Computers exist to automate. Let the computer remember to close resources upon scope end.

Go's defer is also helpful in this regard.

mc4ndr3··on Type 2 diabetes accelerates brain aging and cognitive decline
The sugar epidemic has reached epic levels.
mc4ndr3··on Ask HN: Which programming language that you've used had the best DX?
I feel most productive in Go. Less clutter to manage. Modern concurrency support.

As for least productive, the Fallout 3 tool bench scripting language. Some proprietary nonsense with examples so bad they clearly didn't understand basic for loops.

AppleScript is fairly awful, simply because it saves the source code as binary rather than text.

newLISP has phenomenal API documentation, with at least one example for every function. Unfortunately not spec to either Scheme or CommonLisp. For spec, see Chicken Scheme.m or CLISP.

Not a fan of Java, due to the temptation to overengineer everything. A second rate implementation of OOP in any case. altJVM languages tend to break the build tools. And you end up having to memorize two languages instead of one.

I prefer compiled languages, but if I had to pick a dynamic one to save my life then that would be Ruby. My pseudocode mimics a mix of Ruby and other languages. Ruby gives you enough rope to hang yourself. Or build a bridge. It borrows IF as expression from Scheme.

Shell (any flavor) has revealed just how risky the simplest line of code can be. The developer experience can be slightly improved here by turning on as many set safety flags as possible (e.g., set -eEuo pipefail). But generally I've learned to treat all shell scripts as time bombs. Just say no to ksh and to non-POSIX shell languages like Fish, PowerShell, rc, (t)csh.

C++ as a teaching tool has been enlightening for studying applied computer science concepts, especially about performance. Rust has a smoother, less warty syntax.

Python I would say is a siren calling out in sweet dulcet tones. As you approach production, Python snaps its eval jaws around your torso and drags you into the abyss. It looks friendly for newbies but is less reliable or expressive for advanced use. Ruby is similar but better in so many ways.

Node.js has wonderful ideas with their NPM. Too bad about ECMAScript.

mc4ndr3··on Serious security vulnerability in Tails 5.0
Does TAILS apply DoH at the operating system level yet? Or is DNS resolved via TOR?
mc4ndr3··on Why is Delta airlines flight status page time off by several hours?
This is why all computer time displays should feature explicit timezones. Ambiguity serves no one, especially in the context of international travel.

Not a fan of how airline tickets implicitly apply local times to the different start and end flight times.

mc4ndr3··on FTC fines Twitter $150M for using 2FA phone numbers for ad targeting
And port the dang 2FA apps to desktop. A tower or laptop is something you have. Don't depend so much onna damn phone for everything.
mc4ndr3··on Google encrypts every search to protect you from harm
but then sells it to marketers
mc4ndr3··on Operations at the Edge
One hurdle to edge computing is convincing companies (especially lip service microservice companies) that yes, we can safely compute on not a centralized node. Some companies are still scratching wounds from the old, raw SQL queries generated by thick client days, and so they don't allow anything but the absolute bare minimum of instructions to execute outside of a cloud container.
mc4ndr3··on Early Copy Protection on the Apple II
Fun read!

I'm having trouble understanding how a max byte read, a la ``dd`, would somehow be insufficient to yield a working digital master of an analog cassette tape.

mc4ndr3··on The benefits of “low tech” user interfaces
I detest touch screens. The feedback, durability, reliability, discoverability, and general focus of an application can often be maximized by selecting more traditional hardware user interface components. The ROC curve for gesture based volume controls peaks at false positives and again at false negatives.
mc4ndr3··on Original Pong did not have any code or even a microprocessor
One indication of logic gate level programming's enduring success is that algorithmic complexity can be expressed in terms of the minimum number of gates involved. There are proofs relating to NP completeness et. al. that cite gate count as proof of an algorithm's membership in such and such complexity class.
mc4ndr3··on A PC monitor with a 500 Hz refresh rate is coming from Asus
pigeon gamer entered the chat
mc4ndr3··on Think climate action is expensive? Inaction could cost $178T
Too bad financial reports are quarterly rather than decadial.
mc4ndr3··on Getir, the $12B instant delivery startup, plans to axe 14% of staff globally
I would like to see investment caps on businesses, in order that companies stop these ridiculous mass-hire-then-mass-layoff patterns. Stop pretending everyone's a unicorn and start planning for a stable income.
← PreviousPage 2 of 13Next →