Show more

Me: Oh great, someone on StackOverflow posted the exact question I have. I can probably find answers that are useful to me here!

*scrolls down to see answers*

StackOverflow community: Question closed as off-topic for not being useful to others.

Wow! Insert `/info` into a .gov.uk URL like the following, and you'll get that page's metrics and the user needs it's supposed to address: gov.uk/info/carers-allowance

(Hat tip: reddit.com/r/userexperience/co)

In this case, I was lucky that my debugging routine included testing in Private Browsing, which happens to also be a new window. How on earth I would have reproduced the bug otherwise, I have no idea. How do 10x engineers deal with that?

Those elusive bugs, which get triggered by some usage pattern that you, the developer, never seem to exhibit.

Who uses multiple browser windows? Are tabs not good enough for you?

And of course, the actual fix turns out to be a one-liner.

Diversity, looking for input 

I just learned that websites can mark password fields as `new-password`, and that at least Firefox is working on using it to autogenerate strong passwords for new users. Together with Mozilla's recent focus on Lockwise, this should make password managers a lot more accessible to more people.

developer.mozilla.org/en-US/do

I'm not sure what people mean when they say that WebAssembly is the new Flash. Flash was bad because:

- it did not integrate with the rest of the DOM, at all.
- it frequently made your browser crash or grind to a halt.
- it was proprietary and controlled by a single company.
- it came with considerable security risks.

None of those hold for WebAssembly, as far as I can see. Is the problem just that it's harder to 'View Source', like it is for minified Javascript?

The big difference is that the consumers of package managers (i.e. developers) are empowered to build a decentralized solution. We're coders. We got this. I think entropic will take off.

I'm more concerned about the state of social media. Social media isn't like CPAN or RubyGems or npm – the muggles use it! Who is out there defending the muggles?

If federated social media is really going to be "the commons," then it has to be accessible to more than just geeks. We have to democratize it.

Good morning Europe! 🇪🇺 Don't forge to vote. Vote for freedom, peace, openness and diversity... it's about our future and the future of our children.

And yes, Firefox is still fighting a huge uphill battle against Chrome interop, and I have no idea how they're even able to keep their heads above water. They need all the help they can get, because they're battling stupid bugs like this every single day.

WebKit (Safari) is no less amazing for the comeback they've pulled off in the past few years, although they have fewer interop pressures. Web devs make sure their sites work in Safari, because the CEO has an iPhone.

> In this paper, we aim to answer a long-standing open problem in the programming languages community: is it possible to smear paint on the wall without creating valid Perl?

> We answer this question in the affirmative: (...) merely 93% of paint splatters parse as valid Perl.

The idea is very funny, the presentation is hilarious.

colinm.org/sigbovik/

Aargh. I just pressed Ctrl+Q instead of Ctrl+W, and after a restart of Firefox, the Google Inbox tab I had open started redirecting to Gmail >.<

Rewrote emoji-mart's tests to run in Jest rather than Karma (github.com/missive/emoji-mart/). Gotta admit, Jest is nice:

- can test React components purely in Node
- has a concept of "snapshots," where it writes your expected component tree to a file and then tests against that file, which is what I want to do with my tests 99% of the time, except now it's automated
- I didn't even need a config file, what year is this

"I don't really want to argue against optional chaining because it's so popular and I don't want to make enemies, but here's how *other* people might argue against it."

- @rauschma

agripongit.vincenttunru.com/# Note, IMHO, Knowing #Git is probably a key skill for #FLOSS dev today ? If you don't check : A Grip On Git : A simple, visual Git tutorial by @vinnl

A major advantage of virtual DOM-based approaches I'd started to take for granted: being able to run unit tests without firing up a browser.

Tests become so much less brittle and much quicker, and I've almost forgotten the annoyance of debugging tests rather than code.

We'd like to thank you all for the follows, responses and support the last few days... 

have you ever noticed that someone post a screenshot of text without providing an image description, preventing you from being able to read it? or maybe they posted a huge amount of text that just can't possibly be described with the image description feature?

simply tag @OCRbot in a direct reply to the image. it will download the image and scan it using tesseract OCR to output the text contained in the image!

because OCRbot runs on fedi.lynnesbian.space, it has a character limit of 65535, so even the longest images should work OK!

check the reply to this image to see it parsing the attached screenshot!

Show more
Mastodon

Server run by the main developers of the project 🐘 It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!