@SnoopJ@hachyderm.io
@SnoopJ@hachyderm.io avatar

SnoopJ

@SnoopJ@hachyderm.io

Hi, I'm James. Eternal dilettante and purveyor of nonsense, much of it about #Python or #physics. I work for a computer vision company whose customers actually care about results, so the current """AI""" craze is slowly melting my brain. I boost more than I post. TANSTAAFL

Avatar drawn by Nick Shea

This profile is from a federated server and may be incomplete. Browse more on the original instance.

mcc, to random
@mcc@mastodon.social avatar

I hate it how transit apps will have a mode that lets you say you're about to get on a bus and then tracks your trip but if you're already on the bus and you just want it to estimate when you'll get there this is always awkward or impossible in the UI

SnoopJ,
@SnoopJ@hachyderm.io avatar

@mcc the Transit app that I use here has UI for this but I've never actually tried it on the bus, only the subway. I remember there being a quirk to how it's displayed (in particular two UI elements that seemed inconsistent) but the information is at least there without doing anything special, and it's been accurate when I've used it (which is rarely)

skinnylatte, to random
@skinnylatte@hachyderm.io avatar

Just passed a dog social club.

Whatever that means

https://www.dogppl.co/

SnoopJ,
@SnoopJ@hachyderm.io avatar
SnoopJ,
@SnoopJ@hachyderm.io avatar

@skinnylatte people really do lose their minds over the idea of exclusivity, it's incredible how many products the American market supports that are basically "I hate other people unless they're the RIGHT SORT of people"

SnoopJ,
@SnoopJ@hachyderm.io avatar

@skinnylatte maybe that's a very cynical take but man something about that site is 🚩🚩🚩

webology, to random
@webology@mastodon.social avatar

Mastodon filters are really what sells me on the platform.

Earlier today, I created a "paywall" filter to label news websites with a paywall label, so I can skip over them more easily.

Creating the 'paywall' filter brought back memories of the early days of Twitter, when users created hashtags before Twitter introduced UI support for them.

I have dozens of filter categories which are nice to take the edge off either temporarily or forever.

SnoopJ,
@SnoopJ@hachyderm.io avatar

@webology the "temporarily" is such a game-changer for me. Sometimes I'm just not on the same wavelength as someone else whose posts/boosts I generally enjoy seeing. It's nice to be have "take a break" as an affordance.

demofox, to random
@demofox@mastodon.gamedev.place avatar

When AI hype has settled some, I'd like to see neural primitives be considered to be part of standard CS education along with other ADTs.
Hype makes ML look like too good to be true magical algorithms, and then fails because it was a grift all along. But, there is legit value.
When you watch educational videos on auto encoders, U nets, etc etc, they talk about specific things they are good at to fit in a larger solution.

SnoopJ,
@SnoopJ@hachyderm.io avatar

@demofox do you think the primary value of adding these models to the 'standard' education would be in direct awareness of them (anticipating moments like "aha, we could use an autoencoder here"), or a more generalized familiarity with the basic bag of tricks that make up the current world of convnets (i.e. come up with some suitable architectural design and throw gradient descent at it)?

pkw, to python
@pkw@mastodon.sdf.org avatar

fixture config is magic and I don't like it.

def test_something(fixture):
...

So in pytest. What this does is get the name of the param fixture to see if it matches the name of a previously defined fixture function. If you don't know that it looks bizarre. That IS NOT a parameter passed into a function but a sentinel that is used to look up a fixture by it's parameter name.

WHY not just pass in the ACTUAL FIXTURE ?!?!

def test_something(fixtures=[fixture1, fixture2]):
...

SnoopJ,
@SnoopJ@hachyderm.io avatar

@pkw if you would prefer to write tests in the more explicit unittest style where you do all the setup yourself, pytest supports running tests so-written. This may be more acceptable if you find the pytest style offensive.

Other replies have already covered why pytest chose this style.

SnoopJ,
@SnoopJ@hachyderm.io avatar

@pkw it does read as very critical of a piece of software that is new to you, but I am personally not interested in arguing about it. Cannot speak for others.

SnoopJ, to random
@SnoopJ@hachyderm.io avatar

Bought myself some cooking chopsticks for the first time. They are delightfully Long

onelson, to movies
@onelson@mastodon.social avatar

Glass (2019)

I enjoyed Split last night. Time to see how the 3rd movie works.

SnoopJ,
@SnoopJ@hachyderm.io avatar

@onelson I have not heard a lot of good things, but godspeed 🫡

jonny, to random
@jonny@neuromatch.social avatar

hiring a hitman is a complicated game theory problem because the hitman always has the option of just taking the money and calling the cops. you have to convince them that you are capable of hiring another hitman to come after the first hitman, but the very act of trying to hire the first hitman indicates that you don't have a second, more reliable hitman ready to go. so i guess the moral of the story is don't be a landlord. https://www.latimes.com/california/story/2024-05-07/landlord-sentenced-20-years-in-prison-in-murder-for-hire-plots

SnoopJ,
@SnoopJ@hachyderm.io avatar
jonny, to random
@jonny@neuromatch.social avatar

The emerging field of Beethoven's Hair Studies is the only field where I try to keep up with the literature: https://doi.org/10.1093/clinchem/hvae054

SnoopJ,
@SnoopJ@hachyderm.io avatar

@jonny the Ferengi custom of auctioning off body parts of notable dead is mostly not fiction [gazing meaningfully at religion]

SnoopJ, to random
@SnoopJ@hachyderm.io avatar

coming up on the second birthday of this +1/-0 PR to get TensorFlow to not treat all writes to stderr when importing NumPy as fatal errors

SnoopJ,
@SnoopJ@hachyderm.io avatar

props to gbaned for the continued effort to get a reviewer to look at one (1) line of code, this is SO FAR beyond the typical treatment of issues or PRs in that project, which ranges from apathy to open contempt for bug reports/contributions

bikepedantic, to random
@bikepedantic@transportation.social avatar

Facebook AI is just an impossibly dumb reply guy

SnoopJ,
@SnoopJ@hachyderm.io avatar

@bikepedantic finally, the technology of the future 😻

benroyce, to twitter
@benroyce@mastodon.social avatar

I've been pretty tolerant of people still on #Twitter

I'm now going to full intolerant

#ElonMusk recently reinstated the account of an outright #Nazi

GET. THE. FUCK. OFF. TWITTER.

It is a Russian #troll farm, #racist, #bigot paradise. Stop feeding this cesspool!

GET. THE. FUCK. OFF. TWITTER.

NOW

SnoopJ,
@SnoopJ@hachyderm.io avatar

@xinit @benroyce it is extremely unpleasant to have the thing that was to be left behind brought here deliberately, whether or not it's attached to a message about how that other site is bad.

But that's why Mastodon offers users ways to stop seeing this kind of thing.

whitequark, to random
@whitequark@mastodon.social avatar

why does every time i tap on the screen on my android phone it puts a message into logcat with "tf_lite_classifier.cc" in it

SnoopJ,
@SnoopJ@hachyderm.io avatar

@whitequark extremely charitable reading: accidental touch protection (if the screen is locked and it's enabled, anyway)

more likely reading: ad/spyware surveillance

skinnylatte, to random
@skinnylatte@hachyderm.io avatar

I learned to develop film out of necessity.

Dev and scan for 7 rolls of film is US$150 where I live.

With my Bellini chemicals, and scanning setup at Photolaundry where I get a Fuji frontier scanner by the hour, it costs $4-5 per roll (excluding my time, but I actually do this to destress)

SnoopJ,
@SnoopJ@hachyderm.io avatar

@skinnylatte the circulator is a clever trick!

whitequark, to random
@whitequark@mastodon.social avatar

please tell me the most obscure joke you know

(feel free to explain or not explain it, depending on what you find more amusing to think of me reading it)

SnoopJ,
@SnoopJ@hachyderm.io avatar

@whitequark an infinite number of mathematicians walk into a bar. The first one orders a beer, the second orders half a beer. The bartender sighs, says "you're all idiots", and pours two beers.

SnoopJ, to random
@SnoopJ@hachyderm.io avatar

It's funny whenever a movie does "slow-mo but we didn't film this at a higher framerate so it's just choppy crap" thing

Did this ever look good?

SnoopJ,
@SnoopJ@hachyderm.io avatar

@bitprophet well in the movie they set the runaway train in Pennsylvania for… some reason? I don't know why that happened, maybe because it raises the stakes to imply proximity to the Northeast Corridor or something

SnoopJ,
@SnoopJ@hachyderm.io avatar

@bitprophet alas, nothing quite that spectacular

onelson, (edited ) to movies
@onelson@mastodon.social avatar

Star Wars: Episode I - The Phantom Menace (1999)

Background TV as I wind down my work day.

I'll work my way through the main 9 movies over the next few days, and starting with The Phantom Menace might be sacrilege to some, but who cares.

SnoopJ,
@SnoopJ@hachyderm.io avatar

@webology @onelson Finn's whole-trilogy arc in particular is bizarre given the clear narrative set-ups in this one.

Two movies worth of set-up + almost no pay-offs = ????

SnoopJ,
@SnoopJ@hachyderm.io avatar

@onelson kinda funny that they wrote themselves into a corner hard enough that they just didn't try to address why what they did wasn't a huge break in the rules of space combat established for the series. just… move along.

SnoopJ,
@SnoopJ@hachyderm.io avatar

@onelson oh yea the perils of hyperspace gone wrong in general are definitely established. It's cool that 8 decided to bring that to space combat, but it does feel like it leaves a hanging "uhhh well why not always do this"

Probably they figured that fans would (do) eagerly debate the reasons if they just never bothered to address it

gvwilson, to random
@gvwilson@mastodon.social avatar
SnoopJ,
@SnoopJ@hachyderm.io avatar

@gvwilson the patch for this that adds a warning just landed, I believe it will be in the next incremental release of setuptools

https://github.com/pypa/setuptools/commit/abe65803bf09c93be2e46cc662431f09a11921d8

Hopefully fewer toes will be stubbed on this silly typo problem going forward 😅

  • All
  • Subscribed
  • Moderated
  • Favorites
  • Leos
  • Durango
  • ngwrru68w68
  • thenastyranch
  • magazineikmin
  • hgfsjryuu7
  • DreamBathrooms
  • Youngstown
  • slotface
  • vwfavf
  • PowerRangers
  • everett
  • kavyap
  • rosin
  • anitta
  • khanakhh
  • tacticalgear
  • InstantRegret
  • cubers
  • mdbf
  • ethstaker
  • osvaldo12
  • GTA5RPClips
  • cisconetworking
  • tester
  • normalnudes
  • modclub
  • provamag3
  • All magazines