@daaain@fosstodon.org
@daaain@fosstodon.org avatar

daaain

@daaain@fosstodon.org

Full stack SWE at Twist.eco, ex Beryl Bikes, ustwo. ♥ open source, degrowth activist, minimalist, flexitarian, dad of 2, neurodivergent, 🇭🇺 & 🇬🇧 citizen

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

pluralistic, to random
@pluralistic@mamot.fr avatar

If there was any area where we needed a lot of "innovation," it's in climate tech. We've already blown through numerous points-of-no-return for a habitable Earth, and the pace is accelerating.

--

If you'd like an essay-formatted version of this thread to read or share, here's a link to it on pluralistic.net, my surveillance-free, ad-free, tracker-free blog:

https://pluralistic.net/2024/05/30/posiwid/#social-cost-of-carbon

1/

daaain,
@daaain@fosstodon.org avatar

@pluralistic "For every mWh of renewable power produced, we save $100 in social carbon costs." - that should be MWh, right?

pamelafox, to random
@pamelafox@fosstodon.org avatar

Users of ndjson/json-lines: if you encounter malformed json in the stream, do you give up entirely, or ignore that chunk and move on?

daaain,
@daaain@fosstodon.org avatar

@pamelafox for the case I used NDJSON for (ingesting accelerometer data uploaded to a bucket from an IoT device) I ignored that line, logged an error and moved on so the good data doesn't get lost. It's very context dependent though, if each line is precious you could send it to some sort of dead letter queue and hand process? Dropping the rest of the file sounds harsh...

kate, to random
@kate@fosstodon.org avatar

The mnemonic I use to remember Markdown link syntax is that the square brackets look a bit like a button and then the round brackets mention the URL as a note afterwards:

button

daaain,
@daaain@fosstodon.org avatar

@kate do you have one for image links with alt text, I can never remember those 😅

stfn, to RaspberryPi
@stfn@fosstodon.org avatar

I finally bought a USB meter and the findings so far are:

Raspberry Pi Pico with WiFi on is using 40mA all the time. Now that is a lot.

I could have bought a more precise meter.

I will be now investigating ways to reduce the Pico's power consumption.

daaain,
@daaain@fosstodon.org avatar

@stfn so that's 0.2W, right? That does sound a lot, my Macbook Pro draws 2W with a bunch of applications (Firefox with a lot of tabs, VS Code, Docker, etc) running, but the screen off.

bitprophet, to random
@bitprophet@social.coop avatar

What's the 2024 state of the art for local macOS+arm64 development nonsense?

Without spending TOO much time combing my (halfhearted because I've been developing via headless Linux since 2020 & it's actually very nice) notes, the last I recall hearing is:

  • Homebrew still "is what it is” & its entire world has since been updated for arm64?
  • Actual-Docker works now, but still via a (Virtualization.framework? emulating Intel??) Linux VM?
  • ISTR other non-Docker VM/container tools exist?
  • ???
daaain,
@daaain@fosstodon.org avatar

@bitprophet @Elucidating Docker still runs in a VM, but it keeps getting a better virtualisation framework every couple years, so runs much better now.

Also, ARM64 support in Linux got much better, so you can actually compile a lot more stuff natively, or if you're lucky even get precompiled binaries in packages!

That said, emulation of AMD64 via Rosetta 2 does work, but it's really slow, so to be avoided as much as possible, but useful to be able to quickly check if an image works.

daaain,
@daaain@fosstodon.org avatar

@bitprophet @Elucidating yes, I meant actually using the latest Apple provided Virtualization.framework rather than earlier Hypervisor / HyperKit, VirtualBox, etc. But also, VirtioFS which mostly solved file system woes.

Honestly, having Docker and a container running doing nothing doesn't really add any extra CPU load. Of course you still wouldn't want to run stuff like LLMs in Docker because you can't benefit from Metal, but for a web server and a database it's perfectly fine.

daaain,
@daaain@fosstodon.org avatar

@bitprophet after suffering with a lot of these tools and Poetry seemingly generating a new failure mode every few months, I concur with these article series (just use venv, pip and python -m): https://www.bitecode.dev/p/back-to-basics-with-pip-and-venv

daaain,
@daaain@fosstodon.org avatar

@Elucidating @bitprophet I haven't really noticed that much power draw from idle Docker, but just checking OrbStack recommended elsewhere in the thread and they actually measured the draw to be 123mW which isn't terrible: https://docs.orbstack.dev/benchmarks#power-k8s

daaain,
@daaain@fosstodon.org avatar

@Elucidating @bitprophet I was talking about power draw when idle as most of the stuff I work on isn't complicated enough to be doing much work without file system changes or requests, but I can imagine that any substantial work inside Docker vs natively can be very different, so depends a lot on the use case.

For me the bottom line is, running browsers with multiple tabs and an IDE will have much bigger impact than Docker vs native so it's not my greatest worry.

daaain,
@daaain@fosstodon.org avatar

@bitprophet ah, you mean like generating a comprehensive requirements.txt with all the subdependencies pinned too? https://adaptiware.company/en/blog/how-to-lock-requirements-using-pip-tools/

daaain,
@daaain@fosstodon.org avatar

@bitprophet I got let down by too many libraries not following semver so routinely pin everything and then use Snyk and other SBOM scanners to let me know if a library has a CVE and needs to be patch updated. In other words, the only acceptable version is the known working one 😅

mekkaokereke, to random
@mekkaokereke@hachyderm.io avatar

People on Twitter are debating whether a person using uncommon words like "delve" are trying to sound smarter than they are, or worse, are ChatGPT bots, because "normal" people don't talk like that.

You don't have to get upset, or embroiled in the debate. Not worth the time or attention. But I'll share some important context as your friendly neighborhood Nigerian 🙋🏿‍♂️

Many Nigerians have bigger English language vocabularies and better command of grammar than the typical American or English person

daaain,
@daaain@fosstodon.org avatar

@mekkaokereke thanks for delving into this important topic 🙃 joking aside, I think this is true to a degree for any non-native speaker, even my childen are getting snide comments from primary school classmates that they "can't understand the nerdy words"...

alex, to random

Does anyone have self-hosted open-source photo gallery software they like? I am trying to load all of ImageNet (~14M images) for viewing.

PhotoPrism is okay, but it tries to run some kind of inference on each image, so it's slow and it maintains a large cache.

daaain,
@daaain@fosstodon.org avatar
chriskrycho, to random
@chriskrycho@mastodon.social avatar

What if we could actually do better than Git? I have spent the last six months using Jujutsu (jj), and… I think it actually has a shot.

I am so excited I also spent the last six months writing >10,000 words about it, so check it out! https://v5.chriskrycho.com/essays/jj-init/

daaain,
@daaain@fosstodon.org avatar

@Di4na @chriskrycho similar experience here, sounds like just like git, it demands a fairly deep understanding of a lot of concepts and commands to be really useful.

Of course I would definitely appreciate easier conflict resolution and on skimming the repo readme some other nice workflows, but will probably only give it a go once there's a well designed UI like Fork for git.

daaain,
@daaain@fosstodon.org avatar

@chriskrycho @Di4na oh right, maybe the in depth comparison to complex git concepts dragged it down a bit then. There's a lot of value in a deep dive post so don't edit all the details out, but maybe a TL;DR intro or a separate quick start post would be great. Or dividing this long post into a series?

daaain,
@daaain@fosstodon.org avatar

@Di4na @chriskrycho to be fair most version control systems have branches and merges as the most basic building blocks to model the workflow of taking a shared codebase, make some changes to it, and contribute them back. If this is not your experience then you'll find it hard to work with open source, which of course is perfectly fine if you don't want to do.

daaain,
@daaain@fosstodon.org avatar

@Di4na @chriskrycho right, so you get it and use it, but don't like it and have developed different concepts that work better for you and your group.

It would be amazing if you could write about those different concepts to share them more widely! That would also make it much more likely that someone would develop a new system with those concepts in mind!

Loukas, to random
@Loukas@mastodon.nu avatar

I had a dream the other night that someone shamed me because I don't know any Irish.
And it is a bit weird that I lived my first three decades next to Ireland without picking any up.
And so do most people in Britain, but that's also weird.

Anyway, I've started it on Duolingo

daaain,
@daaain@fosstodon.org avatar

@Marrekoo @Loukas or l'eau de vie?

daaain,
@daaain@fosstodon.org avatar

@Marrekoo @Loukas now I went down the rabbit hole and there's also aqua vitae, acquavite, okowita, оковита , акавіта, яковита...

mike, to random
@mike@fosstodon.org avatar

See, here's the thing. I don't mind AI. I kind of like it actually. I want it to be local, not cloud, so privacy is maintained, but that's besides the point I'm trying to make. I don't need some AI assistant key on my keyboard. I didn't need or want a Windows key, I don't need or want a "Copilot" key. This is a bad idea.

https://www.osnews.com/story/138199/microsoft-and-windows-oems-to-put-dedicated-ai-copilot-key-on-keyboards/

daaain,
@daaain@fosstodon.org avatar

@mike it's a bit of a gimmick but I guess as long as you can remap it to launch an open source, local assistant, why not?

daaain, (edited )
@daaain@fosstodon.org avatar

@mike Microsoft will not make it easy to remap for sure, what I had in mind is 3rd party apps like the open source https://www.autohotkey.com/

FWIW there's already an Android Copilot app which I occasionally use, but I don't expect these to be free for much longer – in fact I'd be surprised if all MS Copilots wouldn't become paid subscription or ad laden in 2024. That's why I don't really want to invest much time into building workflows with them and instead experiment with open source ones.

daaain,
@daaain@fosstodon.org avatar
aral, to foss
@aral@mastodon.ar.al avatar

The GNU folks: Hehehe, we called it GIMP. And the main branch is called master. Because GIMP, get it?! We couldn’t possibly change it because fart noises

Also GNU folks: Why does everyone think we’re three misogynistic 12-year-old boys in a neckbeard suit?

There are so many low hanging fruits for you folks to embrace inclusivity and make a dedicated effort to clean up your act but you seem too bloody busy pissing all over the tree to mark your territory.

#foss #fsf #inclusivity #gnu #gimp

daaain,
@daaain@fosstodon.org avatar

@aral on that note, "low hanging fruit" can also be problematic: https://theinclusionsolution.me/words-and-phrases-that-sting-black-marble-and-low-hanging-fruit/

Sadly, so many idioms and turn of phrases have pretty questionable origins...

noodlejetski, to foss
@noodlejetski@masto.ai avatar

okay, it's a slow part of my 24 h shift, so it's finally time to make a thread about the apps that I use on my phone, most of them obtainable through @fdroidorg . I've trawled through its repositories many times over years, and managed to find a bunch of great software fitting my needs, so hopefully someone finds this useful as well.

daaain,
@daaain@fosstodon.org avatar

@noodlejetski oh man, I was so excited about this one, but it hasn't been updated for years...

daaain,
@daaain@fosstodon.org avatar

@noodlejetski isn't the database downloaded from this repo? https://gitlab.com/xynngh/YetAnotherCallBlocker_data

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