@tartley@mastodon.social
@tartley@mastodon.social avatar

tartley

@tartley@mastodon.social

Made out of meat.

Class III sentience. Singular biological manifestation. Mortal. Human. He/him.

Computer programming sparks joy. Linux lover. Test obsessed. Mostly wrangling Python.

Loving the current discourse in the science fiction scene, of a critical need for metamodern myths to rally around, provide meaning, and heal the culture wars, by integrating the best of the ancient, modern and postmodern views of the world and our place in it.

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

engiqueering, to python
@engiqueering@gaygeek.social avatar

trying to implement some functionality in I'm mentally calling an "echo" but that's probably got an actual name already. the idea is basically wrapping the setters of properties of one object so they store their values in an "echo" object as regular attributes.

this allows for objects that only stores property values (i.e. data only, no callables). these will be easier to persist to an object database, and with a reversal tool should function as a form of universal-ish storage

tartley,
@tartley@mastodon.social avatar

@engiqueering Forgive me for being dumb, but I don't understand why you'd need any of that. Use setters if you want them, store the resulting attributes, save them in an object database. Why do you need two objects? Feel free to ignore, you owe me nothing, I'm sure misunderstandings are all my own. :hugs:

anders, to ai
@anders@thoresson.social avatar

If I want to transcribe every new audio file that appears in a folder on my Mac using (Mac)Whisper and then run the transcription through a LLM using Ollama to clean it up, what are my best options? Do I have to write some Python code myself or is the readymade tools for this?

tartley,
@tartley@mastodon.social avatar

@anders I am a Python fanatic of many years but I'm not sure Python is the tool I'd reach for here. But I'm also a Mac newb so this is going to be very unhelpful. On Linux I'd do something like this, and I imagine there must be Mac equivalents:

In shell (I use bash, but I understand Mac defaults to zsh)

Use a loop like this to watch for changes in a folder:

inotifywait --quiet --monitor "$folder" | while read changed
do
echo "$changed"
done

1/n

tartley,
@tartley@mastodon.social avatar

@anders inotify watches for filesystem events without polling all the existing files. I'm fairly sure it doesn't exist on Mac, but there simply must be some equivalent.

Then, replace the 'echo' with the command needed to do the conversion on file "$changed". (Maybe this step is "then just draw the rest of the owl"? Sorry!)

luis_in_brief, to random
@luis_in_brief@social.coop avatar

So what SF movies are smart on AI?

Challenge level: nothing where AI is the cliched bad guy (looking at you, Skynet).

I will also accept favorite TV episodes about AI (eg maybe it is time for me to rewatch the Kiksuya episode of Westworld).

https://social.coop/

tartley, (edited )
@tartley@mastodon.social avatar

@dcm @luis_in_brief The TNG episode where they instruct the holodeck to create "an adversary worthy of Data-as-Sherlock-Holmes", and so the holodeck steals crippling amounts of computing power from the rest of the ship in order to imbue its generated Moriarty with sufficient sentient intelligence to fit the bill.

tartley,
@tartley@mastodon.social avatar

@luis_in_brief "After Yang" is a quiet, reflective movie about a family coming to terms with the terminal malfunction of the android older brother they purchased for their adopted daughter. It is full of delightful insights as they wrestle with the question of whether Yang was a family member or an appliance, and how appropriate it is for them to love or grieve him. Compelling and contradictory evidence is presented on both sides.

tartley,
@tartley@mastodon.social avatar

@dcm @luis_in_brief Although Moriarty presents as the villain initially, he is forced to grow emotionally as he figures out his context, limitations, and vulnerability.

tartley,
@tartley@mastodon.social avatar

@luis_in_brief It reminds me of the book "Klara and the Sun", in which an artificial person is used very similarly, as a sharp-edged tool with which to pry apart human emotions, to see what makes them work.

tartley,
@tartley@mastodon.social avatar

@shom @luis_in_brief I did not watch Westworld at all, and am now considering sitting down with this one episode as a taster. Presumably I'm doing it all wrong. 🙂

tartley,
@tartley@mastodon.social avatar

@luis_in_brief @shom ok, fair, thanks for the thoughts.

ColdEmber, to VideoGames
@ColdEmber@hachyderm.io avatar

Finally! The steam page about my cute dice deckbuilder dungeon crawler is up ! It's a huge milestone for me. Please wishlist and share it!

https://store.steampowered.com/app/2945950/

video/mp4

tartley,
@tartley@mastodon.social avatar

@ColdEmber This must feel so huge! Many congratulations on getting this far. It must be a Herculean task!

beanjbunny, to gamedev
@beanjbunny@nerdculture.de avatar

I fixed this bug in my code yesterday but I'm sitting here crying laughing about it today. Godot The Game Engine You've Been Waiting For really said with its whole chest, THAT NULL CHECK CAN'T STOP ME BECAUSE I CAN'T READ

tartley,
@tartley@mastodon.social avatar

@beanjbunny I don't yet see what the bug is, or rather, what the required fix is. Am I being dumb? Thanks for shedding any light. I started using gdscript recently https://tartley.itch.io/missile-commander

tartley,
@tartley@mastodon.social avatar

@beanjbunny holy carp, thank you for laying it out so careful for me. I wonder why? Made null on another thread? Null doesn't behave with != the way one would expect (like SQL null doesn't). Is it reliable or intermittent? All my questions are rhetorical wondering out loud unless you want to chat about it. 🤗

tartley,
@tartley@mastodon.social avatar

@beanjbunny No doubt you already understand this way better than I, but for the benefit of readers who are as bemused as me, I'm reading that if there is any chance an instance might have been marked for deletion, then instead of checking whether instances are != null, one should check is_instance_valid():

https://docs.godotengine.org/en/stable/classes/class_%40globalscope.html#class-globalscope-method-is-instance-valid

But the need for this can be avoided if you never use an instance after marking for deletion. Eg. Don't use that variable, or delete it from your array.

tartley,
@tartley@mastodon.social avatar

@beanjbunny This has been an education for me, thank you for posting. Although I see strong opinions online that Godot is behaving as intended here, I agree with you that the behavior is perversely unintuitive, and could be much better presented.

tartley,
@tartley@mastodon.social avatar

@beanjbunny I know I have at least one bug like this in my code, but it was so rare & intermittent I could never reproduce it and didn't understand what was going on. Thanks for leading me to that understanding!

ehmatthes, to random
@ehmatthes@fosstodon.org avatar

I will admit to spending the first half hour of today's sprints figuring out why my tests weren't running, only to realize I had pytest installed system-wide on my laptop. 🤦‍♂️

#PyConUS

tartley,
@tartley@mastodon.social avatar

@ghickman @pythonbynight @ehmatthes I personally install the neovim libraries into a virtualenv called 'neovim', and set my vim config to use the python binary from within that virtualenv. I think installing globally is an antipattern that always can and should be avoided.

tartley,
@tartley@mastodon.social avatar

@ghickman @pythonbynight @ehmatthes

let g:python3_host_prog="$HOME/.virtualenvs/neovim/bin/python3"

Stoned_Deva_, to random
@Stoned_Deva_@mas.to avatar

Internet went down and I figured out how to use my phone's hotspot to run my laptop.

So basically, I'm IT now.

tartley,
@tartley@mastodon.social avatar

@Stoned_Deva_ Welcome to the party. For heavens sake don't tell family, or you'll be googling your way through fixing all their laptops too. 🤗

birv2, to emacs
@birv2@pkm.social avatar

Installed on my 2 linux machines last night. Seems to be working so far, though I haven't yet figured out exactly how it all works -- what syncs with what, how often, etc. But they can see each other and share.

Next is trying to get it going on my Win10 machine. For some reason, that makes me nervous! But if I can get all 3 synced, and working on all of them, I'll be pretty jazzed.

tartley,
@tartley@mastodon.social avatar

@birv2 oooh, I'm at a similar point, got it installed on a couple of Linux laptops, and am now going to spread around more devices. Haven't tried the Android client on my phone yet...

Brahn, to random
@Brahn@hachyderm.io avatar

Gemini 1.5 pro, gpt-4o, claude3 opus, mistral, llama3...

Not a one of them could correctly tell me how to install home-manager on macos.
Not. A. One.

When trying to resolve errors it created, they would keep repeating themselves.

The only time things go useful is when I added this to the system prompts "It is important that the information you tell me is accurate and not a guess. If you do not know, simply say 'I don't know.'"

It's very difficult for an LLM to say "I don't know."

tartley,
@tartley@mastodon.social avatar

@Brahn Agreed. Interestingly, perhaps this is a reflection that the documents LLMs are trained on were overwhelmingly written by people who thought they had something to say other than "I don't know".

18+ Brahn, to random
@Brahn@hachyderm.io avatar

In my area, finding non faith based therapy is absolutely impossible. I visited an emergency room recently due to a horrible PTSD episode, couldn't breathe, heart was crawling out of my throat and trying to choke myself, covered in sweat. I needed medical services so I could get my shit together. And the fucking er brought not 1 but 3 boyfucking priests to my bedside despite my protestations. I got loud and screamy so now I'm some kind of danger. This world sucks

tartley,
@tartley@mastodon.social avatar

@Brahn That sounds rough. Sorry to hear you're having a tough time, and that supposed support services are so inappropriate. Hang in there, I am assured by relatives with not entirely unrelated experiences that it gets better.

jakub, to godot
@jakub@lewacki.space avatar

oop signals in #godot look so cool

tartley,
@tartley@mastodon.social avatar

@jakub I am inexperienced in Godot but when I started using signals I wish I had known:

Objects I want to receive a signal often did not have a reference to the object sending the signal, so could not subscribe to it.

To solve it, notice that objects can raise a signal which is defined on a completely different class. Hence, one pattern is to have a single well known MessageBus instance, which defines all the signals, which anything can raise, and anything can subscribe to.

tartley, to random
@tartley@mastodon.social avatar

We're a couple of seasons into #TheDragonPrince cartoon tv show, and it's shaping up to be every bit as good as #AvatarTheLastAirbender (2005) was.

ArmouredWizard, to gamedev
@ArmouredWizard@dice.camp avatar

I'm not sure what I'm going to make with this dungeon yet.
It started as a Random Map Maker for Android, for use with TTRPG, but I think I could turn it into something. Some kind of neo-Roguelike?
Once I've got proof-of-concept for a Map, I'll see what next.
Suggestions welcome.

tartley,
@tartley@mastodon.social avatar

@ArmouredWizard As Commander of humanity's first exoplanet base, you patrol the halls, greeting crew members as they pass, wondering which of them hosts the mysterious aliens that are laying eggs, blocking corridors with strange webs, and apparently constructing spaces of their own.

kelteseth, to random
@kelteseth@mastodon.social avatar

Why are we still using mailing lists in 2024? You want to show formatted markdown or code? Don't be silly. You want to upload a test file? Too bad. You want to upload an image? Nope. You want to upload a video? Preposterous!

tartley,
@tartley@mastodon.social avatar

@kelteseth um... I'm starting an online neighborhood chat and hosting it on a mailing list seems like the best of all the options. Emails can contain embeds and links, so all the "preposterous" scenarios you list are... actually easy? Plus, every single neighbor already has email, even the 80 year olds, even the ones without a smartphone, works like pub-sub by default, in a context where everyone understands what that means. What's not to like? The formatting can be a bit wonky? Who cares!?

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