Earlier quoted context omitted.
I think the OP (hat off!) needed a way to transfer data to the front-end of another application. Since there's no back end involved, the only available channel is the request URL
> Since there's no back end involved, the only available channel is the request URL Not quite. I have a system that uses a custom userscript to create an extra button on certain webpages that, when clicked, scrapes some data from the current page and copies a lightly encoded version to the user's clipboard. They then switch to another webpage and paste it in a box. I've also gotten data from place to place using scra…
Ask HN: What's your "it's not stupid if it works" story?
421–430 of 510 posts
Re: Ask HN: What's your "it's not stupid if it works" story?
#422Earlier quoted context omitted.
No, they said some.
Emphasis is mine: > We caught the issue almost instantly since we were watching the deploy, and were able to stop updates before any other devices picked it up. But those that already got it were down.
Re: Ask HN: What's your "it's not stupid if it works" story?
#423At Google almost 20 years ago, a bunch of our machines (possibly with slightly bespoke CPUs?) were behaving oddly. These machines were mostly in use for serving Google's web index, so almost the entire RAM was devoted to index data; the indexserver processes were designed to be robust against hardware failure, and if they noticed any kind of corruption they'd dump and reload their data. We noticed that they were dump…
Re: Ask HN: What's your "it's not stupid if it works" story?
#424Around 16 years ago, Wordpress security was just not up to snuff yet, and my popular Wordpress-based site kept getting hacked by pharmaceutical spammers and the like. After several such incidents, I wrote a "wrapper" that loaded before Wordpress to scrutinize incoming requests before a lick of Wordpress code was executed. It had blacklists, whitelists, automatic temporary IP blocking, and that sort of thing. There wa…
16 years is a long time, many of those shell dashboard sources are probably lost.
It'd be interesting to upload them somewhere as a "historical museum" of sorts.
Re: Ask HN: What's your "it's not stupid if it works" story?
#425I attached gdb to the launcher, “print =” and detached. The run started going about 10 times faster and we got the whole thing done. Crazy, dangerous, but it worked.
Question also made me think of the last-minute change we needed to make to a database’s structure to avoid about 6 million lost user updates when all DB admins were out with no password. That was a fun one too. Not sure I should admit how we managed it.
Re: Ask HN: What's your "it's not stupid if it works" story?
#426Re: Ask HN: What's your "it's not stupid if it works" story?
#427At Google almost 20 years ago, a bunch of our machines (possibly with slightly bespoke CPUs?) were behaving oddly. These machines were mostly in use for serving Google's web index, so almost the entire RAM was devoted to index data; the indexserver processes were designed to be robust against hardware failure, and if they noticed any kind of corruption they'd dump and reload their data. We noticed that they were dump…
Re: Ask HN: What's your "it's not stupid if it works" story?
#428Fixing a CD drive with Polish Kielbasa: The CD drive in my first computer broke. We couldn't afford to get a new one, and after almost a year of using floppies I got a bit tired of having to carry them across the mountains every time I wanted play a new game. (context: I lived in a small village in southern Poland at the time -- imagine Twin Peaks, but with fewer people and bigger hills). Sometimes getting a copy of…
Re: Ask HN: What's your "it's not stupid if it works" story?
#429Earlier quoted context omitted.
I never said they should test for everything. OP's description suggests it was an error that's common to all the deployed instances that received the update, rather than some specific combination of environment and that deployment. It would have allowed them to run the same deployment locally and use physical access (serial, a display, sd card, whatever) to capture the error log. What they came up with is clever but…
After all this time I don’t remember what the bug was. We did have boxes locally that we tested on of course. But somehow this got out. It might’ve been something that only showed up under certain configurations. It might’ve been something that just should have been caught under normal circumstances and wasn’t for some reason. It may have been something that worked fine tested off-hardware until some bug in packaging…
I don't think anyone is truly a programmer until they've learnt the hard way the outcome of "what could go wrong"!
Thanks for the update, happy holidays mate!
Re: Ask HN: What's your "it's not stupid if it works" story?
#430So I wrote a cron job that, at 1905, started a script which sat in a loop, dropping the connection, dialing again, and then `sleep` for 29m, until the time got to 0655.
Very stupid, but it worked, I guess.