Writing lots of JavaScript had me leaning fairly hard towards indenting using spaces rather than tabs.
However this post from a friend of mine, @zwyx , has pretty clearly changed my mind.
https://zwyx.dev/blog/indentation-for-accessibility
#accessibility #programing #webdev #javascript #visuallyimpaired
Chase Davidson says hi, hope you’re doing well.
If you’re not doing so well, you’re not alone. This can be a difficult time of year. There are people you can talk to about your mental wellbeing.
https://www.health.act.gov.au/about-our-health-system/office-mental-health-and-wellbeing/need-help
@rauschma Oh interesting I hadn't seen that proposal before, almost like RxJS functionality built directly into the language! Very neat!
Although I do wonder about coming across say `fn().map()`. Will it be obvious that we're dealing with an iterator? as opposed to an array.
In RxJS land they wrapped all the operators in `fn().pipe(map())` so it wasn't as big an issue.
Excited to dig more into the proposal soon.
Here is another quick write up about one of my past #projects.
A #PWA kilterboard rock climbing app.
https://tim.wants.coffee/posts/kilterboard-app/
It was a ton of fun, from automating a virtual android device in the cloud to help extract data.
To reverse engineering a #Bluetooth protocol and re-implementing it with #WebBluetooth.
@rauschma @nolan I'm not sure if I agree entirely, things like throwing regex at problems where number manipulation would cut it don't seem particularly harder?
Perhaps the recursion one there was a bit of a hit in code cleanliness.
I don't think we can just wave our hands and hope for a better compiler.
Sound heuristics for grabbing more efficient operations, when a profiler is showing a slow hot path, seems like something we should encourage?
"Speeding up the JavaScript ecosystem - one library at a time" by Marvin Hagemeister https://marvinh.dev/blog/speeding-up-javascript-ecosystem/
I'll bet you could find a lot of little optimizations like these in common Node.js tools. I wonder how much of the speedup from various Rust/Go/etc replacements is just because nobody bothered to optimize the existing JS-based tools.
@brunoph Try something like 11ty.
Feels like a breath of fresh air with how close to HTML and CSS you are.
To celebrate 1K followers here, something I have been wanting to figure out for a long time: a slippy #Mapbox map with an overlaid #D3 #SVG map synced to it: https://svelte.dev/repl/2578120142f44b32962d67049e975a16?version=3.53.1
This means: Mapbox base layers and controls + all the D3 geo goodness like great circles, geoCircles and curved line interpolations!
Of course, built with #Svelte
Platform Law Blog breaks down how digital regulation is coming to Australia 🇦🇺
Call it an obsession, but I love the GitHub contribution graph.
I wrote up a little script to replicate my companies non-Github repos to Github, while shipping no code to hopefully not freak them out.
https://tim.wants.coffee/posts/owning-my-contribution-graph/
@simon I gave it a try, knocked out a post of half the size in like 2 hours or so.
I guess I have something to strive for the next 20 years! 😅
Software Engineer, works on Medical Software.
Passionate about data viz, open data, rock climbing and hiking!