@jonocarroll
Ah, this is what happens when I read and code with 4am brain 😄 This just swaps the first digit with the max/min (non-zero) digit, which gives the same result in many cases, but fails for numbers like 92484957 (maxxie should return 99484257, returns with no swaps instead).

@jonocarroll
Just came across your blog post, here's my Julia solution:
```
maxmin(n::Integer) = maxxie(n), minnie(n)

function firstdigitswap(n::Integer, f::Function)
n == 0 && return 0

digs = digits(n)
val, i = f(digs)
digs[i] = digs[end]
digs[end] = val

digits2num(digs)
end

digits2num(digs) = mapreduce((i, d)::Tuple -> d*10^(i-1), +, enumerate(digs))

maxxie(n::Integer) = firstdigitswap(n, findmax)

minnie(n::Integer) = firstdigitswap(n, digs -> findmin((d > 0 ? d : 10 for d in digs)))
```

Sundar boosted

@mttaggart

LinkedIn was down. A lot of people were panicking.

But rather than panic, I saw an #opportunity.

Using all of my strength I ran to the nearest LinkedIn datacenter. I was able to gain access because I made a #personal #connection with the security guard. I actually invested in their ceramics business while I was talking to them.

Once I’d gained access to the servers I was able to deploy a fix I’d written using ChatGPT #AI #genAI.

I fixed LinkedIn, and walked out of the datacenter where everyone was applauding.

I say this not to brag or show off, but to share a story of how you have to show #leadership in the moment, and step up when you can. The CEO of LinkedIn called me that night to thank me. #influencer #hustle #horseownership

Sundar boosted

I'm someone who argued fifteen years ago against Linux fanatics who wanted to pretend was a viable replacement for the average user for . As much of a enthusiast as I am, that simple wasn't true at the time - Windows was a much smoother experience in general than Linux.

Today though, I can confidently recommend a major Linux distro and know that they'll have as smooth an experience as they would on Windows. Not (just) because Linux has improved by leaps and bounds, but also because Microsoft seem to be doing a great job driving Windows to the ground.

Show thread

Windows really has gone downhill!

While my laptop is away being repaired, I got a rental laptop. I asked for a machine just to if I'm missing out on some latest flashy advances in proprietary land, having been on for many years now.

And I can't believe this is the world's primary OS! It's a buggy, unintuitive mess (and this is coming from someone who used Windows for 10+ years) where the only "advance" seems to have been in being ever more intrusive and taking more and more control away from the user.

Real answer: because sex takes over everything, while Nazis only wish they could. People come up with all these complicated hypotheses about puritanism and shriveled old men controlling everything not wanting anyone to have fun - if you think those types of reasons would overrule people's greed for more traffic and more money, you have too rosy a view of humanity.

The simple truth is that once you allow sexual content on a platform, the majority of the content you'll be serving henceforth will be sexual. Advertisers don't like that, most parents don't want that, and your legal team and your PR/marketing team aren't gonna like the thorny and potentially brand-ruining issues this is going to bring in.

Lex  
I think the Substack discourse is good and that we should really be asking "why are Nazis okay but sex isn't" for nearly everything involving our s...

@yourautisticlife @actuallyautistic

Glad there are others that feel this way. I'd always heard great things about weighted blankets, but when I actually tried one out, I couldn't get out fast enough.

I've learnt that I prefer soft, light-weight, barely-there blankets that still provide good cold protection.

Sundar boosted

"OpenAI says it’s “impossible” to create useful AI models without copyrighted material"

10 years ago three dudes from Sweden were hunted by FBI, Interpol and their own government for challenging copyright laws and seeking a fresh approach without ever profiting from it. 🏴‍☠️

Now venture capitalist-backed corporations will sell us our own copyrighted material at a premium. Working tirelessly to embed it in every product designed from now on so you will not be able to avoid it. 💰

The One Piece live action on Netflix has a Tamil dub, and it actually isn't bad!

Usually in Tamil dubs, they seem to take out all the flavour of the dialogue, making it very basic. So I was expecting to be disappointed and move back to English when I changed the Audio language, but they surprised me!

Sundar boosted

My daughter, who has had a degree in computer science for 25 years, posted this observation about ChatGPT on Facebook. It's the best description I've seen:

@st0neybrat
How is a meme post about ad blocking relevant to all the hashtags here? The "Mastodon rulebook" is to be considerate to others timelines and have empathy, I hope you find your way there at some point.

A lot of people are shy and socially anxious, especially people who use and follow these tags, and don't speak out in cases like this. Using that as reason to spam them with irrelevant posts is inconsiderate.

@st0neybrat
hi, could you please avoid spamming the tags with posts like this? copy-pasting all the tags into posts indiscriminately clutters up our feeds and makes the tags less useful for everyone.

Sundar boosted
I didn't think my little camera would capture the colors of these soap bubbles as well as it did. This photo is from an event hosted by the Friends of Olmsted-Beil House in honor of Frederick Law Olmsted's 201st birthday.

#Bubbles #Olmsted #Iridescent
Sundar boosted

The amount of public space we have surrendered to cars!

An illustration by Swedish Artist; Karl Jilg

#Road #FootPath #PublicSpace #Car #Roads #Illustration

@jdmyeepa
You may be interested in this: [A cross-cultural study of animal fears](sciencedirect.com/science/arti).

As an Indian, I've always found the (excessive) fear of spiders a bit perplexing (I used to wonder if it was just an online meme). I certainly find caterpillars creepier and even fire ants scarier than spiders.

Sundar boosted

"We've got eyes on you." Eyespots may mimic the eyes of their predators’ enemies, eg mimic dangerous snakes that might attack a hungry insect-eating bird. Birds, of course, mimic their predators- I’ve often been fooled into thinking I’m hearing a Crested Serpent Eagle when it’s actually a drongo having a bit of fun (or sounding the alarm).
This lot all hawk moths (Sphingidae)
see caterpillar-eyespots.blogspot.
#lepidoptera #caterpillars #moths #nature #biology

an example of the plausible-sounding bullshit (about the Venpa rhyming scheme in ). this one's not in the "abcb" scheme, there's no "third" or "fourth" lines, and I think this is not even a Venpa:

Show thread
Show older
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.