Show more

RT @dustingetz
3360 LOC for all of Photon, compiler, runtime, server, and standard library, including photon-dom (350) and photon-ui widgets (350) and including a bunch of inline RCF tests for the compiler which is too hard to factor out. + an additional 1200 LOC of language tests.

My (large) employer is considering a move to the cloud, and I’ve become quite skeptical that the centralization of IT infrastructure saves any energy. Sure, if we were talking about code running on bare metal, putting all the servers together would probably represent some energy savings. But that’s not what we’re doing of course — we’re running (incredibly inefficient) code, in containers, on virtual machines, just to support this “centralization”.

It’s not lost on me that there’s a parallel to the State here. Think of all the wasted energy that goes into supporting a huge bureaucracy... just so some hack in DC can make decisions that will affect my life much more than they’ll affect theirs. What’s the carbon cost of a Supreme Court?

Weird stuff happens when you are trying to find the minimal fix for an old thing, knowing there is a better way but it would take a lot of time.

Thankfully, "me@gmail.com" is a valid username as just "me" so I didn't need to refactor my data structures or function.

Scratch that. If I have "gmail" twice in my authinfo it seems to always use the first one, regardless of who I've said the user should be.
QT: qoto.org/@worldsendless/108533

(webdev Tory) :emacs:  
All this time I've made an awkward and cumbersome work-around for having multiple log-ins for the same smtp server. The missing fact was that I can...

RT @a4w_m6h
The ideal candidate:

- have 3-5 years of experience writing JavaScript in a professional setting
- swift as the coursing river
- have the force of a great typhoon
- have the strength of a raging fire
- mysterious as the dark side of the moon
- strong opinions, weekly held

All this time I've made an awkward and cumbersome work-around for having multiple log-ins for the same smtp server. The missing fact was that I can have the same server specified multiple times in my .authinfo.gpg, and boom! No longer do I need to touch my /etc/hosts! Win for simplification!

RT @RobStuttaford
Github Copilot feels a bit like bringing a circus clown to a therapy session

RT @AdmiralBee
There's a pretty big difference between saying, "I have dryer balls" and "I have drier balls".

Spelling: it saves lives.

RT @bbatsov
The results look pretty good for Clojure, though. 😉 There’s always a silver lining. twitter.com/solnic29a/status/1

I have a 50k char limit on my QOTO (Mastodon)
---
RT @fndriven
Sorry, but thanks to social media we now have attention spans like Homer Simpson's Goldfish. TL;DR twitter.com/TwitterWrite/statu
twitter.com/fndriven/status/15

I ask because I suspect there are some solid answers.

To all the JVM users out there, other than momentum/ecosystem, what is the primary elevator pitch for doing JVM-based webdev in 2022? What does the JVM give us compared to Node, PHP, or Python?

Very nice! I didn't know about zstd. Trying it out:

Comparison: tar.gz 1.9G 11 min, tar.xz 1.2G 88 min

33 min, 1.3G result, -19 and all cores:
tar -c -I 'zstd -19 -T0' -f cleaned_files.tar.zst cleaned_files/

2 min, 1.7G result, -11 and all cores:
tar -c -I 'zstd -11 -T0' -f cleaned_files11.tar.zst cleaned_files/

Result: -11 compression on the ZSTD was smaller than the gzip compression and also more than 5 times faster. -19 compression was almost as small as the xz compression, and nearly 3x faster.
QT: qoto.org/@worldsendless/108522

(webdev Tory) :emacs:  
I have a directory of 529k json files, totalling 9.5G. Compression: tgz (zip): 1.9G. tar.xz: 1.2G. The 700 mb savings took my machine 1 hour 22 min...

RT @viebel
The final cover of Data-Oriented Programming 📖is finally ready 🚀.

I am so happy 😍to have @mtnygard and @rjs as foreword authors.

Great answers here
---
RT @fndriven
I still don't understand how to properly use JS promises in . 🤷
twitter.com/fndriven/status/15

I have a directory of 529k json files, totalling 9.5G. Compression: tgz (zip): 1.9G. tar.xz: 1.2G. The 700 mb savings took my machine 1 hour 22 minutes to compress; tgz was 11 minutes.

Show more
Qoto Mastodon

QOTO: Question Others to Teach Ourselves. A STEM-oriented instance.

An inclusive free speech instance.
All cultures and opinions welcome.
Explicit hate speech and harassment strictly forbidden.
We federate with all servers: we don't block any servers.