HNHacker News
TopNewBestAskShowJobs

McGlockenshire

977 karma · joined March 24, 2012

submissionscomments
McGlockenshire··on Serverless Horrors
> every single one sounds like a complete amateur making a cloud configuration mistake

Golly if only the configuration wasn't made this way on purpose exactly to cause this exact problem.

McGlockenshire··on Serverless Horrors
blaming the victim? stay classy.

intentionally allowing huge billing by default is scummy, period.

McGlockenshire··on On File Formats
> How would it be easier than putting it at the front?

Have you ever wondered why `tar` is the Tape Archive? Tape. Magnetic recording tape. You stream data to it, and rewinding is Hard, so you put the list of files you just dealt with at the very end. This now-obsolete hardware expectation touches us decades later.

McGlockenshire··on What Sam Altman told OpenAI about the device he's making with Jony Ive
This is only possible for a minority of android hardware. Non-flagship and low-end devices will never get support.
McGlockenshire··on Material 3 Expressive
> Phones are bigger than ever

If you want to experience what your app is really like for the vast majority of real world people, go get a cheap monthly prepaid phone and try it out. Using the modern web on them is a complete nightmare. The screens are physically small and low resolution. The phone I had to use for a year and a half is 800something by 500something, which is literally first generation Android era resolution from over ten years ago. Information density matters. Huge buttons that get in the way are not merely frustrating, they are a design mistake and a demonstration that the designer is out of touch with reality, just as you seem to be here.

Please, get a crappy phone, get a crappy chromebook, make sure your app isn't frustrating to use for people that can't afford new, fast things.

McGlockenshire··on SMS 2FA is not just insecure, it's also hostile to mountain people
> Homeless people get free smartphones and free service in the US

Recently former homeless person here. The Republicans in Congress refused to renew the Lifeline program in 2023 and the replacement is objectively worse in every single way.

> Not all choices need to be subsidized.

Ah yes, being homeless, a choice. I hope it never happens to you.

McGlockenshire··on Backdoor found in popular ecommerce components
> The $licenseFile can be controlled by the attacker using the adminUploadLicense function

This is just as likely to be an RCE as it is to be a backdoor. Calling `include` on a file the user can write to is just asking for it. This has been a known footgun for decades.

McGlockenshire··on A PostgreSQL planner semi-join gotcha with CTE, LIMIT, and RETURNING
> it seems like the subquery is getting re-run on every single row of the task queue table

Y'all might find the term "correlated subquery" helpful here.

When I want them, I always get them. Sometimes I get them when I don't want them. Sometimes it's even my fault, not the result of the query planner looking at me sideways.

McGlockenshire··on Corporation for Public Broadcasting Statement Regarding Executive Order
> Show me a similarly soft pedaled, deferential NPR interview of a right wing extremist.

Steve Inskeep did 30 minutes with Steve Bannon this week. They did a piece with Chris Rufo yesterday (he's the guy that got right wing media to start freaking out about CRT, and then DEI). But please, do go on clutching your pearls about the WORST POSSIBLE THING EVER: PROPERTY DAMAGE!! Nope, not civil rights violations or gleefully platforming some of the most objectively harmful viewpoints on modern politics, nope, it's PROPERTY DAMAGE that is absolutely the most important possible thing to get upset about.

McGlockenshire··on Apple App Store guidelines remove ban on encouraging external payments in US
If Apple was worried about this, they shouldn't have flaunted the court order in a way that made the judge say in the subsequent order that "this is an injunction, not a negotiation."
McGlockenshire··on FTC takes action against Uber for deceptive billing and cancellation practices
Dev turned doordash driver here. Let me tell you why those estimates are bullshit.

First, there are three different ways that orders can come in. 1) Tight integration into the POS system. 2) Through a separate parallel physical tablet. 3) Something spits out something on a printer.

There are opportunities with 1 and 2 to do some sort of feedback on how busy things are. I know for the tablet option that at least for some restaurants they are able to indicate how long the order will take.

But half the places I get to have no integration, they just put the ticket on the pile and it's done when it's done. A couple places that do this in particular also don't even start the order until the driver shows up, on purpose. The app will tell the customer I'll pick it up in 5 minutes no matter what. There's a chain that does prep work in front of the customer, but certain locations will not make pickup/delivery orders if there's anyone in line in the shop. I stopped doing deliveries there.

You'd also think that places with the potential for awesome metrics making pickup timing a breeze would be fast food chains, right? Nope. Not a single iota of smart integration whatsoever.

I've found that keeping customers in the loop as to what's happening with their deliveries ends up keeping them happy, even if it's gonna be slow. I suppose some things never change.

McGlockenshire··on Goblin.tools: simple, single-task tools to help neurodivergent people with tasks
Grandparent commenter here.

I'm on the Oregon state health plan, which requires you to cycle through any of the standard ADHD drugs before they'll let you prescribe the long term versions.

The lowest dose of adderall (sp idk) didn't do much for me, but the next level up silenced the distraction demon pretty well. I ended up trying ritalin next, and am currently on the second highest dose of the long term extended release version.

I was able to notice adderall's stimulant effects, but I didn't notice ritalin's. That got me in trouble on the second day of taking the high dose long term one, or should I say it got me in trouble at 5 AM the next morning. Folks, always modify your full screen games to include a real time clock. It's important.

For now I find it to be acceptable. I've adjusted my schedule to make sure I take the meds on time and go to bed on time. Additionally, thanks to it I now have enough executive function to not only make a schedule but actually be able to mostly stick to it.

Again, this stuff can be life changing. If you have the opportunity, go a month or two with all of the major drugs to see what they do for you. I'm 44 and could have been diagnosed and on meds at 11. Don't wait.

McGlockenshire··on Goblin.tools: simple, single-task tools to help neurodivergent people with tasks
Not the parent, but I'm also AuDHD. My current drunk baboon is named OOH LOOK, SHINY but sometimes it's named THIS IS BORING LETS GO DO SOMETHING ELSE.

A sufficient dose of a medically prescribed stimulant medication quiets him down enough to usually ignore him, for me. It's been literally life changing. My lack of concrete executive function cost me the job of a lifetime.

McGlockenshire··on Matt's Script Archive (1995)
Despite the imperfections in your work, you still contributed something amazing to the internet. Even the imperfections ended up helping people. Thank you.
McGlockenshire··on Matt's Script Archive (1995)
Like many, I got my start with perl by finding myself having to customize a WWWBoard. The site owner then switched to a new perl based forum that used flat linear threads, the Ultimate Bulletin Board. (Which itself is based on code in Selena Sol's "Instant CGI/Perl"!) So, I learned that too. The guy that made it had a forum for it where other people were sharing their changes to the code, mind you this was a commercial product. The company ended up hiring a handful of us from that forum. I ended up doing the coding on the perl UBB for five years, launching my career.

So, thanks Matt. Your code may not have aged well, but it touched millions and millions of people.

McGlockenshire··on Fans are better than tech at organizing information online (2019)
You can totally use machine learning to classify stuff, that's one of the main things we've been trying to do with it, after all! But that automatic stuff often is entirely without soul and without contextual understanding. Useful as a starting point, perhaps, but the human touch is still needed to organize information like a human wants.
McGlockenshire··on Fans are better than tech at organizing information online (2019)
A lifetime ago, on Stack Overflow, I was one of those people that monitored tags. I nuked needless new tags as often as I could, replacing them on each post with more correct existing tags. I ended up with a set of huge search bookmarks with regularly recurring bad tags to help keep things under control. Burninating bad tags became a delightful passtime. But eventually I burnt out on SO as a whole and dropped out. That was a decade ago now. I recently rediscovered one of the search bookmarks and lemme tell you things got really bad in my absence. The New Tag Deletionist Cabal is no more.

Every volunteer counts.

McGlockenshire··on The 8-Bit Era's Weird Uncle: The TI-99/4A
The thing that became the 990 minicomputer was developed for a hotel chain. Perhaps you're thinking of another?

Source: David Pitts, who worked on the platform. https://www.cozx.com/dpitts/ti990.html

McGlockenshire··on The 8-Bit Era's Weird Uncle: The TI-99/4A
> "Bits" is a stupid measure of "computer".

But that is the very way that they are defined through our historical understanding. The 990 platform, established in 1973, not the 80s, is 16-bit, with 16-bit words and 16-bit pointers.

McGlockenshire··on The 8-Bit Era's Weird Uncle: The TI-99/4A
I've been working on a TMS99110 homebrew & emulator, and have studied the architecture of the 990 a whole lot over the past couple years. I want to make a very important distinction in a few things you said.

For anyone that didn't get the context, it's the 99/4 design that has this weird RAM layout. The 990 architecture itself can use any (16-bit) word in memory as the starting point of the 16 registers. Developers have been known to use and abuse the workspace pointer to slide around the "window" on the registers.

The window itself also uses the top three registers to link back to the previous workspace, status, and PC, if you use the proper instructions to branch and return. While there is no stack*, you can still crawl back through those references and get the state of each call.

It's a really cool little architecture, hobbled by the 16-bit address space and how slow it was to keep the registers in RAM. Nowadays I can pick up a 1MB memory chip that's faster than the native bus speed for a few bucks, but that wasn't anywhere near the case in the late 70s and early 80s.

*: The 990/12 minicomputer features the PSHS and POPS instructions, which take a pointer to a definition of where the stack lives and how big it should be. These instructions are not implemented in any production processor, but the platform makes it possible to emulate these instructions in software transparently... as an actual explicit instead of accidental feature in the later few iterations. The 990/12 itself was microcoded on a set of four daisy-chained programmable 4-bit bit slicers so they didn't need any of that nonsense.

McGlockenshire··on Jeremy Rowley resigns from DigiCert due to mass-revocation incident
This should probably be a direct link to the comment announcing the resignation: https://bugzilla.mozilla.org/show_bug.cgi?id=1910322#c17
McGlockenshire··on Why I can no longer recommend a Mac to fellow blind computer users
I think you just described compiler output.
McGlockenshire··on PostgreSQL 16
> bidirectional logical replication

Just to make sure, this is what we used to call multi-master, right?

(This is not a "why did they change it" post. Do not make it into a "why did they change it" post.)

McGlockenshire··on How far back in time can I take my website's design?
Kids, you have no idea how much better we have it now!

Back then, there wasn't a reasonable reliable cross-browser way to get single pixel collapsed table borders. If you wanted to have such a thing, you'd need to nest the table inside another table with a single cell for the background color. But Netscape had awful table rendering performance. The more content in the table, the longer Netscape would take to sit there and render it, scaling disproportionately. The nesting just made it worse! This was also in the days before reflow. If you resize the viewport, Netscape would redraw the entire page from scratch!

McGlockenshire··on Compuserve
What a delightful web design throwback. I hit the zoom a few notches so I could actually read it, and then felt right at home reading the news like I used to do decades ago.

I don't like this whole "getting old" thing.

McGlockenshire··on GCC Adopts a Code of Conduct
I know that dang hates culture war shit when it shows up here, but this is one of those times when I can't bite my tongue.

> the majority of CoC documents have been templated and written by one particular in-group of people who share extremist beliefs, and so it has been instrumentalized to drive their communities further into extremism and exclusionary tactics which eject people who believe differently or have dissenting political views.'

> [...]

> And that is why Codes of Conduct are vehemently opposed by people of good will, because they are designed to push an agenda and exclude individuals, not to keep the peace or make safe environments.

Lordy lordy lordy, what a mess. Let's zoom out a bit and add some context to what you've said here. The original open source CoC drama happened because one trans person got tired of being targeted with anti-trans harassment.

One of the primary arguments made against CoCs since then have matched yours in both spirit and even exact wording, as an attempt to frame harassment as "free speech" and shield harassers from the consequences of their own actions.

Your post copies, thought for thought and sometimes word for word, arguments from that time that were created by people that desire to silence and eliminate trans voices.

The real giveaway that demonstrates this is the "eject people who [...] have dissenting political views" thing. This specific talking point was invented to frame the mere existence of trans people as a thing of politics that is open to debate somehow. The emphasis of "one particular in-group" attempts to elevate trans peoples' attempts to stop being harassed for existing as some grand crusade by a strong united front of some kind.

So, for anyone that reads this thread before it's nuked from orbit, the post I'm replying to is the core counterargument from the anti-CoC crowd: they want to be allowed to be bigots and experience no pushback, nor suffer any consequences.

McGlockenshire··on Imaginary problems are the root of bad software
That's why I prefer the form "Do the simplest thing that could possibly work."

There's always going to be a minimum level of complexity. Sometimes that minimal level calls for throwing a PHP script up on some shared hosting provider somewhere. Sometimes that minimal level calls for an Enterprise-level design with ten layers of abstraction because you need to be able to individually unit test every aspect.

Being aware of where and when to introduce complexity is half the battle.

McGlockenshire··on PSVR2 hardware authentication has been cracked on PC
Two tips to follow twitter threads:

1) Only ever use it from a desktop browser with a sufficiently configured ad blocker. The mobile apps are intentionally designed to pull you out of the thread with only a single line of text delineating where it does so and no way to actually continue with the thread. It's a miserable experience and the people responsible should be ashamed of themselves. They try to pull the same bullshit on the website but it's more obvious there.

2) Twitter has two reply modes. Direct replies are put under the post they're replying to, much like normal linear forum discussions. But then there's retweets. They create a new thread, quoting the previous thread in the topic starter, so to speak... and unlike the standard linear model, the topic starter is done by top posting, with the quoted bit below.

McGlockenshire··on Click (2016)
The application is also constructed in a way that lets you call the internals directly. I ended up building a few bookmarklets that:

- Call the "the make a clip button got pressed" function a few thousand times

- Monitored the opacity of the quantum compute section and automatically called the right bits when they'd be most effective and never when they'd be ineffective or counterproductive

- Automatically calls the "entertain" bits when the swarm gets "bored" for maximum AFK-ability

- In the late late late game, allow factory production for only the length of a single setTimeout as to not overproduce factories and throw the entire balance off

McGlockenshire··on A WiFi color eInk picture frame
The entire site is nerd porn.

If you haven't read the one where he installs Linux on a hard disk, here it is: https://spritesmods.com/?art=hddhack

← PreviousPage 3 of 12Next →