Mastodon Feed: Posts

Mastodon Feed

pzmyers@octodon.social ("pzmyers 🦑") wrote:

I'm sorry, creationists, this is just bad design. It's a bag of rocks held together with duct tape.

https://freethoughtblogs.com/pharyngula/2023/08/04/resigned-to-a-new-normal/

Attachments:

Mastodon Feed

jsonstein@masto.deoan.org ("Jeff Sonstein") wrote:

ugh, air quality hitting the edge of ‘bad’

Attachments:

Mastodon Feed

lloydmeta ("Lloyd") wrote:

To be clear, I took this prompt from somewhere. Crafting prompts that give good output is an art in itself for sure.

Mastodon Feed

lloydmeta ("Lloyd") wrote:

Not a human, but still...impressive #SDXL

"Imagine a scene of a human and an AI in conflict, their struggle symbolizing the broader tension between technology and humanity. The medium is a hyper-realistic photograph, with a style that captures the stark reality of this conflict. The lighting is harsh and unforgiving, illuminating the determined expression of the human and the unfeeling gaze of the AI. "

Attachments:

Mastodon Feed

jsonstein@masto.deoan.org ("Jeff Sonstein") wrote:

@NfNitLoop got to think about the mechanisms at work here, reusing a variable-size thingie sets off alarm bells for me

;^}

Mastodon Feed

jsonstein@masto.deoan.org ("Jeff Sonstein") wrote:

this is not good: “2 US Navy sailors arrested for allegedly spying for China” - ABC News

https://abcnews.go.com/US/2-us-navy-sailors-arrested-allegedly-spying-china/story?id=101990144

Mastodon Feed

Reblogged by cstanhope@social.coop ("Your friendly 'net denizen"):

futzle@old.mermaid.town ("Deborah Pickett") wrote:

The past is a different country
Full of incompatible connectors
And hazardous voltages

Attachments:

Mastodon Feed

Reblogged by kornel ("Kornel"):

ESL_fairy@mstdn.ca ("Kimiko Shibata") wrote:

Attachments:

Mastodon Feed

cstanhope@social.coop ("Your friendly 'net denizen") wrote:

I'm somewhat proficient with these computery devices, but even so I was surprised when I was ssh'd into my desktop from my phone, using an emacsclient session, and discovered that something I had just stuck in the emacs "kill ring" was now also in the phone's clipboard. Some magic goin' on there. 🤔

Mastodon Feed

Reblogged by cstanhope@social.coop ("Your friendly 'net denizen"):

stillgreenmoss@social.coop ("maren") wrote:

is there a #cooperative offering dns? currently i either use digital ocean dns, or dns.he.net if none of the thing i'm dnsing exists in digital ocean.

Mastodon Feed

jsonstein@masto.deoan.org ("Jeff Sonstein") wrote:

A Strange Boy by Joni Mitchell

https://pandora.app.link/cziBQYkwYBb

Attachments:

Mastodon Feed

jsonstein@masto.deoan.org ("Jeff Sonstein") wrote:

Guilty (2008 Remaster) by Bonnie Raitt

https://pandora.app.link/52dm6e7vYBb

Attachments:

Mastodon Feed

jsonstein@masto.deoan.org ("Jeff Sonstein") wrote:

Walk On By by Laura Nyro

https://pandora.app.link/yWl5EcYvYBb

Attachments:

Mastodon Feed

jsonstein@masto.deoan.org ("Jeff Sonstein") wrote:

O-O-H Child (Live) by Laura Nyro & LaBelle

https://pandora.app.link/TnmutzQvYBb

Attachments:

Mastodon Feed

jsonstein@masto.deoan.org ("Jeff Sonstein") wrote:

Suzanne by Judy Collins

https://pandora.app.link/AOEoDmxvYBb

Attachments:

Mastodon Feed

jsonstein@masto.deoan.org ("Jeff Sonstein") wrote:

Ooh Baby Baby (Live in Japan) by Laura Nyro ahhhhhh

https://pandora.app.link/eMRLF9YuYBb

Attachments:

Mastodon Feed

Reblogged by kornel ("Kornel"):

arstechnica ("Ars Technica") wrote:

Baldur’s Gate 3 early impressions: You’ll spend whole weeks in here and love it

Another remarkable feat of a streamlined tabletop experience by Larian Studios.

https://arstechnica.com/gaming/2023/08/baldurs-gate-3-early-impressions-youll-spend-whole-weeks-in-here-and-love-it/?utm_brand=arstechnica&utm_social-type=owned&utm_source=mastodon&utm_medium=social

Attachments:

Mastodon Feed

NfNitLoop ("Cody Casterline 🏳️‍🌈") wrote:

@jsonstein It's safe, though, because the lifetimes of all references to that memory are tracked. While the drain iterator exists, nothing else is allowed to use that memory. Once it no longer exists, the allocated memory is free to be re-used by the HashMap implementation.

That's a lot more efficient than constantly freeing and re-allocating the memory. Zero-cost by default! ❤️

Strings do this when you use them as input buffers too. Only grow when they read a line/chunk that's larger.

Mastodon Feed

jsonstein@masto.deoan.org ("Jeff Sonstein") wrote:

https://en.m.wikipedia.org/wiki/File:DC_policeman_William_West_1908_(cropped).jpg

Mastodon Feed

jsonstein@masto.deoan.org ("Jeff Sonstein") wrote:

“The claim that Grant was arrested while in office is associated with William H. West, a former Union Army private who joined the MPD in 1871.”

hell yeah, I’d buy that… although I’d have expected them to be an ex-CPL instead ;^}

#E4Mafia

Mastodon Feed

jsonstein@masto.deoan.org ("Jeff Sonstein") wrote:

ah, apologies… it seems to have been *while* Grant was President ;^}

Mastodon Feed

jsonstein@masto.deoan.org ("Jeff Sonstein") wrote:

if memory serves me, the last former President who was arrested was Grant… it was for recklessly speeding his carriage down a DC street a 2nd time, the Marshal apologized for the necessity, and the former President said no… it was right action.

Mastodon Feed

jsonstein@masto.deoan.org ("Jeff Sonstein") wrote:

@NfNitLoop “Keeps the allocated memory for reuse” seems to go against the safety-above-all approach of Rust the reuse issue just struck me

Mastodon Feed

jsonstein@masto.deoan.org ("Jeff Sonstein") wrote:

@NfNitLoop thank you for the detailed reply.

I am curious about ‘current practice’

Mastodon Feed

NfNitLoop ("Cody Casterline 🏳️‍🌈") wrote:

@jsonstein dangerous how?

Mastodon Feed

NfNitLoop ("Cody Casterline 🏳️‍🌈") wrote:

@jsonstein Like many things, it depends.

If first use is right under the declaration, then the types are clear. If the code is "distant", not easy to see, explicit types can help.

When I do add types, I prefer the turbofish syntax:

let mut scores = HashMap::new::<String,i32>()

Mastodon Feed

NfNitLoop ("Cody Casterline 🏳️‍🌈") wrote:

@pzmyers Airlines allow hideous bloated pink sausages aboard. Airplanes are the preferred mode of travel for many of our elder statesmen.

Mastodon Feed

NfNitLoop ("Cody Casterline 🏳️‍🌈") wrote:

I've been in the industry for 20+ years now and I have knowledge on so many topics, but I still feel the vast amount of value I provide is me banging the drum of "just do the right thing".

Please document this.

Use a strongly-typed language here.

Let's define a schema for this.

Let's put this data into a database.

We should automate this error-prone manual process.

We keep running into this problem which is solved by that tool. Let's use it.

Etc.

Mastodon Feed

NfNitLoop ("Cody Casterline 🏳️‍🌈") wrote:

It's disheartening to me how few problems in tech are actually new.

If you don't value documentation, or (good/useful) testing, or peer review, or input validation, or strongly typed languages/schemas, separation of concerns, etc., then OF COURSE you're going to end up with an inscrutable pile of spaghetti code.

If you can't be bothered to even type out your contract so that a computer can "understand" it, how will a person?

Mastodon Feed

Reblogged by cstanhope@social.coop ("Your friendly 'net denizen"):

sajan@mastodon.art ("Sjn") wrote:

the best console was this. invented by sir henry VIIIth

Attachments: