Mastodon Feed: Posts

Mastodon Feed

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

eminently sensible:

"If we use pub before a struct definition, we make the struct public, but the struct’s fields will still be private. We can make each field public or not on a case-by-case basis... if we make an enum public, all of its variants are then public. We only need the pub before the enum keyword"

#LearningRust

Mastodon Feed

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

okay, this makes a lot of sense to me as a project pattern:

"...a package can contain both a src/main.rs binary crate root as well as a src/lib.rs library crate root, and both crates will have the package name by default. Typically, packages with this pattern of containing both a library and a binary crate will have just enough code in the binary crate to start an executable that calls code with the library crate...

The module tree should be defined in src/lib.rs. Then, any public items can be used in the binary crate by starting paths with the name of the package. The binary crate becomes a user of the library crate just like a completely external crate would use the library crate: it can only use the public API. This helps you design a good API"

#LearningRust

Mastodon Feed

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

reviewing https://doc.rust-lang.org/book/ch07-02-defining-modules-to-control-scope-and-privacy.html again... the details of a complex project can kill ya, so best to pay attention from the gety-go

#LearningRust

https://doc.rust-lang.org/book/ch07-02-defining-modules-to-control-scope-and-privacy.html

Mastodon Feed

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

GottaLaff ("Laffy") wrote:

Ex-Minneapolis officer sentenced to nearly 5 years on state charge for role in #GeorgeFloyd’s death

https://apnews.com/article/586deaeb4d14807ef3f2bdd0196d0b86

Mastodon Feed

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

SueInRockville@mstdn.social ("Sue Cohen") wrote:

Please share with all OHIO voters:
Richard Uihlein, an IL billionaire right-wing megadonor has given $4M & other contributions come from GA,TN & more
Only 14% of money raised (under $700K) has come from within OH
https://newrepublic.com/post/174761/right-wing-billionaires-funneling-money-stop-ohio-abortion-ballot
#DefeatGOPFascists
#VoteNoOnIssue1

Attachments:

Mastodon Feed

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

The cyberpunk dream of uploading our minds to cyberspace has been downgraded to immortalizing zoom calls in a machine-learning database somewhere, without our consent.

https://freethoughtblogs.com/pharyngula/2023/08/07/i-am-an-ai-training-module/

Attachments:

Mastodon Feed

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

Watching the closet racists scramble to repudiate or make excuses for Richard Hanania. It's a difficult choice for them. Easy for me, at least.

https://freethoughtblogs.com/pharyngula/2023/08/07/another-racist-outed-time-to-follow-the-threads-to-his-promoters/

Attachments:

Mastodon Feed

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

okay, so it would have to be a very *short* elephant’s eye, but still…

Attachments:

Mastodon Feed

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

‘the world is changing, and I am determined not to be happy about that’

srsly ppl, there are bigger issues in this fork of reality

https://www.nytimes.com/2023/08/06/opinion/incandescent-led-bulbs.html?smid=nytcore-ios-share&referringSource=articleShare

Mastodon Feed

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

‘… said pairing facial recognition technology with an eyewitness identification should not be the basis for charging someone with a crime. Even if that similar-looking person is innocent, an eyewitness who is asked to make the same comparison is likely to repeat the mistake made by the computer.

“It is circular and dangerous,” Dr. Wells said. “You’ve got a very powerful tool that, if it searches enough faces, will always yield people who look like the person on the surveillance image.”

Dr. Wells said the technology compounds an existing problem with eyewitnesses. “They assume when you show them a six-pack, the real person is there,” he said.’

add in the reality that black people are much more likely to be mis-identified, and you get a really bad pattern. 6 of 6 bad IDs is bad indeed.

https://www.nytimes.com/2023/08/06/technology/facial-recognition-false-arrest.html?smid=nytcore-ios-share&referringSource=articleShare

Mastodon Feed

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

I think, in the intermediate to long term, this divide is Putin’s most serious political problem: “…also heard ambivalent voices like Ms. Rolikova’s, along with a few raised in outright dissent, especially from young people in a country with a stark generational divide.”

https://www.nytimes.com/2023/08/06/world/europe/putins-forever-war.html?smid=nytcore-ios-share&referringSource=articleShare

Mastodon Feed

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

a coup attempt is always “aspirational”, until it fails or succeeds

https://www.nytimes.com/2023/08/06/us/politics/trump-lawyer-pence-truth-social.html?smid=nytcore-ios-share&referringSource=articleShare

Mastodon Feed

Reblogged by rmrenner ("The Old Gay Gristle Fest"):

moshboy wrote:

donkey kong, sticker (1982) https://flickr.com/photos/14531705@N00/4096526848/

Attachments:

Mastodon Feed

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

airadam@mastodon.me.uk ("Air Adam") wrote:

Side note : when you get something new, try to get a manual in PDF form straight away. Store them all together in a "Manuals" folder, because the paper ones will absolutely get lost, and when an item is no longer manufactured, you may not be able to download a copy either!

Mastodon Feed

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

eribosot wrote:

I'm following the devastating news from Slovenia, where one month's worth of rain fell in 24 hours. It's the biggest natural disaster in the young country's 32-year history. Large parts of the country are flooded. I can't even begin to imagine the time and money needed to recover from this.

But it's hard to find non-Slovenian coverage of this disaster. Press agencies like Reuters and AP are reporting it, but newspapers in, say, Germany or the US aren't picking it up.
https://www.reuters.com/world/europe/floods-hit-slovenia-forcing-evacuations-disrupting-transport-2023-08-04/

Mastodon Feed

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

housepanther@mstdn.goblackcat.com ("Meow ... m'row :verified:") wrote:

If you are as disgusted as I am at Zoom's decision to use content from BOTH free and paid accounts to train AI, you've got some other options:

https://opensource.com/article/21/9/alternatives-zoom

Mastodon Feed

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

evan@cosocial.ca ("Evan Prodromou") wrote:

When unoccupied, what is the proper state of your bathroom door?

#EvanPoll #poll

Mastodon Feed

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

The_Whore_of_Blahbylon ("The Whore of Blahbylon") wrote:

US healthcare.

Attachments:

Mastodon Feed

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

::chefs_kiss::
perfection

https://hachyderm.io/@mattdm/110842310722119102

Mastodon Feed

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

mattdm@hachyderm.io ("Matthew Miller") wrote:

My flight at gate 404 is delayed because... the plane isn't there.

I am not making this up.

Mastodon Feed

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

emilymbender@dair-community.social ("Emily M. Bender (she/her)") wrote:

As I said -- utterly brilliant. Go read the whole thing!

https://karawynn.substack.com/p/language-is-a-poor-heuristic-for

Mastodon Feed

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

taniel@journa.host ("Daniel Nichanian") wrote:

One of the biggest elections of 2023 is happening in 48 hours. https://boltsmag.org/ohio-gop-sets-up-vote-to-weaken-direct-democracy/

Mastodon Feed

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

jbigham@hci.social ("Jeffrey P. Bigham 🔥🔥") wrote:

if i haven't responded to your email, my time had a buffer overflow. please don't hack me. also, can this meeting you requested be an email?

Mastodon Feed

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

andrew@esq.social ("Andrew Leahey") wrote:

Hey #law and #legal folks in the broader #lawfedi world. If you're on a general-interest instance and you have any desire to hop over to one geared towards legal professionals -- you have options!

One of those options is here at https://esq.social.

We have a great Local Timeline and we're always looking for new additions. Let me know if you need help, have questions, etc.

@law #lawyer #attorney

Mastodon Feed

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

CatDragon@mastodon.world ("Catherine is Tired") wrote:

@timnitGebru I hate Airbnb for a lot of reasons. Racism, owners who stick arbitrary charges on ( pro tip, photograph yourself returning keys if you MUST use Airbnb. Trust me on this one)
What I truly hate however is how they’ve priced lower income people out of the rental market and driven up housing costs in many areas. They’re an insidious sort of gentrification that extends far past city limits. If it were up to me Airbnb would be banned.

Mastodon Feed

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

lednabm@c.im ("🍸Pooka🥕Boo🍸") wrote:

This is a great analogy I came across....

Attachments:

Mastodon Feed

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

how is this not fraud?

‘Tesla employees had been instructed to thwart any customers complaining about poor driving range from bringing their vehicles in for service. Last summer, the company quietly created a “Diversion Team” in Las Vegas to cancel as many range-related appointments as possible.

The Austin, Texas-based electric carmaker deployed the team because its service centers were inundated with appointments from owners who had expected better performance based on the company’s advertised estimates and the projections displayed by the in-dash range meters of the cars themselves’

https://mastodon.social/@madbarrister/110845710562174649

Mastodon Feed

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

ben@werd.social ("Ben Werdmuller") wrote:

Black faces are overrepresented in databases used to train AI for law enforcement - and some facial recognition software used in this context fails 96% of the time. This practice is an accelerant for already deeply harmful inequities. Time to ban it. #AI https://finance.yahoo.com/news/every-reported-case-where-police-194117982.html?utm_source=werd.io&utm_campaign=mastodon&utm_channel=mastodon

Mastodon Feed

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

paninid@mastodon.world ("Sampath de Pāṇini ® ✅") wrote:

@vij
I’m still crossing my fingers that he makes a run for the dacha waiting for him outside Moscow and encounters cocaine orcas somewhere in the Bermuda Triangle.

I want this vision to manifest itself into the universe:

Mastodon Feed

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

carnage4life@mas.to ("Dare Obasanjo") wrote:

This is the least surprising headline I’ve read all year.

Attachments: