In the early days of Google Chrome, I was tasked with making it work with Windows screen readers. Now, accessibility APIs on Windows were documented, but web browsers used a bunch of additional APIs that were poorly documented. Chrome's design was radically different than Firefox's and IE's, so it was a challenge to implement the APIs correctly. At first I was just trying to get it to work with completely static web…
That is a good story :) It makes me wonder what future Wayland protocol may enable clients/apps to advertise themselves as screen-reader capable.
Ask HN: What's your "it's not stupid if it works" story?
281–290 of 510 posts
Re: Ask HN: What's your "it's not stupid if it works" story?
#282Earlier quoted context omitted.
That's why you always delimit your data fields in a text file with a unicode snowman Surely noone will ever use that character!
live and learn. It was the re-split when they saved the new products through my brilliant parser that royally fucked it all up. Genius that I was, I used "|" to separate attributes, but I also definitely used a double asterisk to mean something else. Nothing teaches you not to get clever better than screaming customers and abject failure. And having to find/replace a thousand asterisks to figure out which ones were m…
Re: Ask HN: What's your "it's not stupid if it works" story?
#283Guess how I implemented my main character.
Re: Ask HN: What's your "it's not stupid if it works" story?
#284Not my idea or implementation. Our startup built a plugin for Microsoft Outlook. It was successful, and customers wanted the same thing but for Outlook Express. Unfortunately, OE had no plugin architecture. But Windows has Windows hooks and DLL injection. So we were able to build a macro-like system that clicked here and dragged there and did what we needed it to. The only problem was that you could see all the actio…
That's called double-buffering.
Re: Ask HN: What's your "it's not stupid if it works" story?
#285Mine's getting command output out of docker. For long builds (I had one that took 4 hours), it was gutting to have it fail a long way in and not be able to see the output of the RUN commands for thorough debugging. So I devised a stupidly simple way: add && echo "asdfasdfsadf" after each RUN command. I mashed the keyboard each time to come up with some nonsense token. That way, docker would see RUN lines as different…
Re: Ask HN: What's your "it's not stupid if it works" story?
#286Earlier quoted context omitted.
That’s horrible. I love it! I’m not quite sure I understand why it was GET though. No way of running something like fetch or (more likely) XMLHTTPRequest?
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
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 scraping from temporary iframes (same site).
Re: Ask HN: What's your "it's not stupid if it works" story?
#287Re: Ask HN: What's your "it's not stupid if it works" story?
#288Not my idea or implementation. Our startup built a plugin for Microsoft Outlook. It was successful, and customers wanted the same thing but for Outlook Express. Unfortunately, OE had no plugin architecture. But Windows has Windows hooks and DLL injection. So we were able to build a macro-like system that clicked here and dragged there and did what we needed it to. The only problem was that you could see all the actio…
The thing (screenshot and all) was routine done in the 90s with all those fancy non-rectangular applications/demos/launchers [usually available on CDs that came w/ magazines]. They had transparent/alpha zones that copied the screen under them.
Re: Ask HN: What's your "it's not stupid if it works" story?
#289It was only her machine. It worked on all others.
I looked at the file, and it was a tad smaller than on the other machines.
I disabled her anti-virus, it worked !
Realizing kaspersky was taking a bite at the report, I created a self signed tls certificate so the anti virus could read it.
Worked.
Re: Ask HN: What's your "it's not stupid if it works" story?
#290Earlier quoted context omitted.
This is why remote work is so important. You could have been home the entire time.
To play devil's advocate, had OP not wanted to go home so badly Parkinson's Law would've kicked in and OP may have tried to do things the "right way" which may have taken much longer.