lol omg i accidentally a massive rant
Alexandra Lanes likes this.
Alexandra Lanes reshared this.
lol omg i accidentally a massive rant
Alexandra Lanes likes this.
Alexandra Lanes reshared this.
I feel like there ought to be a discipline of something like "perceptual geometry", and I need to be better at it.
We all know that finding the "optical centre" of a glyph is not straightforward (but there are algorithms). Even something as apparently simple as "stroke contrast" requires thought. Stroke contrast is just the thickness of the thickest part divided by the thinness of the thinnest part, right? Not so. The thickest part of the O on the right is not relevant to contrast.
Alexandra Lanes likes this.
Alexandra Lanes reshared this.
Today is a GREAT day for the ocean. Not only is the new Attenborough Ocean film out today, but I got a sneak peak at the new Great Map being installed at the National Maritime Musuem in Greenwich, and it's just astonishing. It's the Spilhaus projection - a way of unwrapping the globe that keeps the ocean intact - and it's got beautifully detailed topography and plenty of other fun bits and pieces. The whole redecorated hall will be renamed Ocean Court and will reopen to the public on June 7th, World Ocean Day. Do go as soon after that as you can - it really is stunning.
#Ocean
32 s
Alexandra Lanes likes this.
reshared this
The commands 'cd $PWD' and 'cd .' in bash both look like useless no-ops which change into the same directory you're already in. But they're not, and both can be useful.
$PWD is a string variable which caches the pathname that your current directory had at the time you changed into it. It's not automatically updated in between cd commands.
So 'cd $PWD' (or 'cd "$PWD"' if you're being properly careful) changes to whatever directory _now_ lives at the pathname that your actual cwd _was_ when you changed to it.
'cd .' really _does_ just change directory to the same physical directory you're already in, but it's still not useless, because it causes bash to recalculate the value of $PWD.
For example, if one shell is in ~/test, and in another shell you rename ~/test to ~/newname and make a new directory ~/test, then in the first shell 'cd $PWD' will move to the new ~/test, whereas 'cd .' will stay in the original directory but update $PWD to reflect the fact that it now lives at ~/newname.
Alexandra Lanes likes this.
Alexandra Lanes reshared this.
That's remind me something i found amusing some times ago:
~/tmp/tmp$ rmdir ../tmp
~/tmp/tmp$ # where am i now?
~/tmp/tmp$ pwd
/mnt/vg00/diego/tmp/tmp
~/tmp/tmp$ echo $PWD
/mnt/vg00/diego/tmp/tmp
~/tmp/tmp$ # everything is fine, right?
~/tmp/tmp$ ls
~/tmp/tmp$ ls .
~/tmp/tmp$ cat /dev/null > x
bash: x: No such file or directory
~/tmp/tmp$ # ah!
~/tmp/tmp$ mkdir ../tmp
~/tmp/tmp$ # so does it works now?
~/tmp/tmp$ cat /dev/null > x
bash: x: No such file or directory
~/tmp/tmp$ #still no luck
~/tmp/tmp$ cd .
~/tmp/tmp$ cat /dev/null > x
~/tmp/tmp$ # now it works!
While the error in creating the file looks legit, why can I list a directory that doesn't exist? And I think that a new directory with the same name, it's still a new directory, but looks like "cd ." somehow fix the cwd of the shell.
Just for reference tests were made on linux on a ext4 filesystem (but does it matters?).
@diegor 'why can I list a directory that doesn't exist?' – it does exist, it just isn't linked from anywhere. On Unix, directories as well as files have the property that the inode (containing the actual contents) persists even after there's no path to it from the filesystem root, if a process has it open. So your cwd can still be in a directory that's been deleted.
'looks like "cd ." somehow fix the cwd of the shell' – assuming the shell is bash, yes, by default "cd ." will do that. It _doesn't_ do what I claimed in the head of the thread, unless you have the non-default 'set -P' option, which I set long ago for myself and had forgotten was relevant. If _I_ had done "cd ." in that situation, I'd have stayed in the deleted directory.
reshared this
like this
reshared this
Alexandra Lanes likes this.
reshared this
@laura_fae that was perhaps the thing I needed to get over to transition. I was so used to maximizing my safety, but still I felt neither safe nor happy. I was just hiding from the world.
Transition involved making myself deliberately vulnerable, and that is a risk! But what I didn't realise beforehand was how much courage that would generate.
THE BIGGEST NEWS! Rob and I are offering up a hand-signed hardback, first edition/first printing copy of Monstrous Regiment straight from the Pratchett archives. Those who know the story will know why it’s a pertinent one for this cause.
32auctions.com/organizations/1…
Auction item 'Monstrous Regiment (Signed 1st edition)' hosted online at 32auctions.32auctions
reshared this
I won't be able to partake in this but thank you for this!
Not only do you carry on Terry's legacy, but you are so much of an amazing person in your own right and I love your work.
Alexandra Lanes likes this.
reshared this
Martin Gleadow reshared this.
like this
reshared this
The Transphobic Guardian practically jumping for joy today, as is 'White Feminism'
How well things are going for that rich bigot in her castle, a new TV Series, Trans people being punished for simply existing.....and Westminster just shrugs and follows Gilead's lead
I feel ill, as a Queer man I fill ill and alone in this country, it's not hatred mostly I see, it's indifference....so when the Fash come for us, nobody will make a stand.
I don't feel British at all.
Alexandra Lanes likes this.
Alexandra Lanes reshared this.
Sorry man
You're just a victim of the human condition, apathy 🤷
Or
🎵💃🕺📯Derrr da derrr
🥳👯♀️📯
Da der da der dadud derrr🎵
YOU CAN GO DOWN DANCING!
FUCK EM
Young man
there's no need to feel down
I said, young man
pick yourself off the ground
I said, young man
'cause you're in a new town
There's no need
to be un happy
THEY MARCH YOU TO THE TRENCH, ASK IF YOU WANT A SMOKE/BLINDFOLD, TAKE THE SMOKE, KEEP DANCING. EVEN IF THEY TELL YOU TO STOP, WHAT ARE THEY GUNNA DO, SHOOT YOU¿
Ah, I see that GNOME has started throwing X out the airlock. According to the Fedora 42 release notes, GDM no longer supports X-based sessions, leaving Cinnamon, XFCE, and various other desktops out to lunch, and if you switch to another login manager, GNOME itself may not work properly.
Good job, everyone, right when Windows 11 could give desktop Linux a great opportunity to pick up users.
Alexandra Lanes likes this.
reshared this
By Durante.
Alexandra Lanes likes this.
reshared this
Tony Finch reshared this.
One of the more unhelpful trauma responses that’s resurfaced this year is the fear of copying. When I was a kid I was mocked for picking up interests from friends, so I used to try hard not to do that or to be cautious or contrary in how I developed interests.
I learned not to do this at some point, especially with transition initially (which I think I knew had to be about me and nobody else whatever my brain said) but it’s come back this year. I have to fight against an urge to reject for myself anything people I know find positive.
Alexandra Lanes likes this.
reshared this
I always feel there should be a mirror image of the heart emoticon "❤". We talked about this - after all, Unicode should offer some possibilities - and so far we have:
E> - robot heart
∈> - lewd Jack-in-a-box
∑> - sideways cat.
Alexandra Lanes likes this.
Alexandra Lanes reshared this.
Alexandra Lanes likes this.
Alexandra Lanes likes this.
Alexandra Lanes reshared this.
Alexandra Lanes likes this.
reshared this
Alexandra Lanes likes this.
reshared this
Alexandra Lanes likes this.
reshared this
This is what I try to communicate to team leaders, that even looking past all the obvious reasons for equality and inclusion, choosing NOT to take full advantage of the skills available in your team is simply bad for business.
The (mostly) men in this world are wasting such an immense amount of talent.
Rust is indeed woke. It's woke technology that embodies a woke understanding of what it means to be a programming language.
Blog post, by me.
reshared this
I agree with this post, and think it's an insightful perspective.
However, I think Rust faces a challenge with complexity. I completely failed to get any of the rest of the team to work on a Rust project I'd developed on leaving my last programming job cos they got stuck learning Rust (before they saw my code!)
Folk found things like co-/contra-variant lifetimes befuddling. I couldn't even convince people they need to know the difference between heap and stack. Not least, management stripped this exact question out of hiring interviews.
Things like async are a mistake, I think. (A mistake I used in my project until I understood why), mainly because of the way they pile on things like pinning. I coped okayish, but the project failed because I was the only compsci degree-er.
I worry that Rust is turning into C++
I don't really think Rust can hope to be inclusive while it require so befuddling concepts. I hold out hopes for maybe Zig (I've not learnt it).
I have no problem with the community.
I do agree that Rust faces a challenge with complexity.
But, I think the problem in the language is much less severe than often imagined. One can write eg Easy Mode Rust - which is still a highly performant and reliable language.
I certainly wouldn't bother novices with lifetime variance; that's advanced stuff which you hardly ever have to worry about (and as ever, either if builds it's fine, or you're an expert doing unsafe). I think "heap vs stack" is another thing novices can ignore.
It doesn't help that there's still a fair amount of perf hacker thinking even in resources for total newbies.
A very real challenge is the way that Rust programs almost never compile first time, which can be deeply offputting to people who've been socialised to be afraid of error messages. I wish we could somehow persuade folks that compiler errors are completely normal and fine, so they feel free to go ahead and experiment.
People apparently don't realise that I moderate comments on my blog. They think that if they send a 1000-word screed complaining about "wokeism" that anyone (even me) will read it.
FTR, my practice is to moderate comments vigorously so as to try to maintain the space as both enlightening and pleasant.
Alexandra Lanes likes this.
Alexandra Lanes likes this.
reshared this
Given the onerous requirements of the UK online safety act this is a very good way forward. mstdn.party/@pandorablake/1142…
Matthew Vernon reshared this.
Alexandra Lanes likes this.
Alexandra Lanes reshared this.
Yeah. The original UNIX philosophy was "small single-purpose tools that do one thing brilliantly and can be connected like Lego bricks"; systemd pours a pint of cyanoacrylate glue into the toy box.
mastodon.social/@LinuxAndYarn/…
reshared this
Some of you have been eagerly awaiting part 2 of my test date with Jack. HERE IT IS!
The conclusion: love yourself before you start #dating. You'll know you're ready to #date when you can accept rejection with a shrug and 'your loss!'.
(pls share if you like it!)
girlonthenet.com/blog/love-you…
Part two of the test date I had with a blog reader, and a message I don't think men get to hear often enough: love yourself before you start dating.Girl on the net (Girl on the Net)
Alexandra Lanes likes this.
reshared this
That's a lovely piece.
(JHR's internalised transphobia) "But!"
(JHR) "No. I'm sure you think you mean well, but no. The core message is still correct."
Jochie 👨🏻💻🏳️🌈
in reply to Tony Finch • • •Tony Finch
in reply to Jochie 👨🏻💻🏳️🌈 • • •@jochie yeah i might have written up a proposal along those lines ~20 years ago, it’s basically adding an lmtp mode to smtp
but tbh i doubt it’s worth the effort because spammers tend not to co-operate with anti-spam features
and if recipients disagree on the value of a message then it’s borderline enough to deliver to spam folders instead of rejecting
Jochie 👨🏻💻🏳️🌈
in reply to Tony Finch • • •yeah, there is that. the $work use case I was thinking of is a little different: we handle SMTP in a proxy like manner and then if 49 recipients were successfully delivered but one was deferred or blocked by the destination server, we have to work around that, because we’re trying to avoid sending NDRs at all cost.
Oh well, back to dreaming of a solution
Simon Tatham
in reply to Tony Finch • • •the mention of format=flowed reminds me that I had a correspondent around 2011 who used to send me f=f mail done exactly wrong.
The point of f=f ought to be that you can read it even in a MUA that _doesn't_ support it (as mine at the time didn't) and it looks enough like ordinary wrapped-at-72 text/plain that you almost don't notice, and if you did notice, wouldn't care. Meanwhile a more savvy MUA can use it to reflow if it needs to.
But my correspondent's email had each paragraph on a single physical line, including quoted paragraphs starting with a >. So the receiving MUA _had_ to speak f=f to read it as intended. Exactly missing the point!
(Obviously, not my actual correspondent's fault. The sending MUA takes the blame, and what do you know, it didn't identify itself in the headers.)
Roger BW 😷
in reply to Simon Tatham • • •Martin Hoffmann
in reply to Tony Finch • • •I really enjoyed how the thing flipped from reasoned analysis into angry rant without so much as a warning.
That said, I had hope for email, but seeing how high-ranking IETFers now write email, I’ve officially given up.
Royce Williams
in reply to Tony Finch • • •jelte
in reply to Tony Finch • • •Jyrgen N
in reply to Tony Finch • • •