@kfdm@social.tsun.co avatar

kfdm

@kfdm@social.tsun.co

Software developer living in Fukuoka #japan.
Mostly builds in #python and #django.
Interested in #quantifiedself and #iot

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

simon, to random
@simon@simonwillison.net avatar

Introducing datasette-write-ui: a Datasette plugin for editing, inserting, and deleting rows

I've been working with @alexgarciaxyz to get Datasette Cloud ready for wider launch - we're announcing his first project on the brand new Datasette Cloud blog

https://www.datasette.cloud/blog/2023/datasette-write-ui/

kfdm,
@kfdm@social.tsun.co avatar

@simon Out of curiosity, is there a reason you don't use class based views like ListView or DetailView? Or is it because these pages are currently very simple?

dansup, to random
@dansup@mastodon.social avatar

I will be surprised if threads.net rolls out nodeinfo support, might have to manually track stats based on whatever stats they release publicly

kfdm,
@kfdm@social.tsun.co avatar

@dansup That's an interesting point. I guess a more corporate project would be wary of exposing numbers like that. I think we sometimes take for granted the data the existing fediverse projects provide ๐Ÿค”

simon, to random
@simon@simonwillison.net avatar

TIL there are dozens of neat little command-line tools hidden away in the Python standard library, available to run on any machine that has a Python installation https://til.simonwillison.net/python/stdlib-cli-tools

kfdm,
@kfdm@social.tsun.co avatar

@simon I use python -m json.tool a LOT ๐Ÿ˜ƒ

bitprophet, to random
@bitprophet@social.coop avatar

It's always hilarious to me that even people who get paid computer-toucher money, always balk anytime something costs more than pennies. I feel so bad for literally anybody who likes getting paid for their software or services.

kfdm,
@kfdm@social.tsun.co avatar

@bitprophet I copied this from twitter a long time ago, but I'm also guilty of this way of thinking if I don't catch myself.

> $5 for a cup of coffee? Sure. $5 for a burger? Yep. $25 for a t-shirt? Fair. $75/month for cable? Duh. $800 for a phone: Obviously. $5/year to upgrade a 100% free app & support a crew of indie developers: WHAT THE FUCK, Iโ€™M NOT MADE OF MONEY, I HAVE A FAMILY TO FEED, ONE-STAR.

simon, to random
@simon@simonwillison.net avatar

OK, who can recommend a domain name registrar that:

  • Is boring and dependable and has a rock solid track record
  • Has a really good UI, including on mobile
  • Supports as many TLDs as possible
  • Isn't likely to get acquired by someone else
  • Ideally supports multiple payment methods as insurance against accidental card expiry

I'd settled on Google Domains... but they just sold themselves to Squarespace! https://9to5google.com/2023/06/15/google-domains-squarespace/

kfdm,
@kfdm@social.tsun.co avatar

@simon I'm using namecheap and have no real complaints but I would like to be able to push a zone file and use gitops with my domains. I have some hacky code I wrote against the namecheap API, but I'm curious to see what sourcehut eventually has planned with a names.sr.ht registry ๐Ÿค”

https://sourcehut.org/blog/2022-11-15-four-years/

stux, to random
@stux@mstdn.social avatar

Cool! Got OwnTracks(https://owntracks.org) working โœ…

Upcoming weekend I am at 3 days festival with my gf and I wanna keep track of it a bit :blobcatgiggle: But on my own way ofc!

kfdm,
@kfdm@social.tsun.co avatar

@stux Owntracks is pretty slick.
The recorder [1] and frontend [2] can also give some neat visualizations

https://github.com/owntracks/recorder
https://github.com/owntracks/frontend

There is an @owntracks account but it's low volume I think.

dansup, to random
@dansup@mastodon.social avatar

If I had more time, I'd love to build a mobile app for Calckey, I think it would be fun

kfdm,
@kfdm@social.tsun.co avatar

@dansup I feel you on that. So much I want to build but not enough time or energy to build everything ๐Ÿ˜…

dansup, to random
@dansup@mastodon.social avatar

So I've been struggling with disk space on my M1 macbook air (256G), between android + ios development, work and pixelfed development (incl a 16G database) I would have to delete one to work on the other and it's really frustrating, to the point I want to get a new mbp with at least 1 TB of storage.

Tonight I found multiple logs from php and mysql that were 10GB+ in size, oh gosh. Now I'm not constrained by my workflows and I wish I discovered these huge logs sooner ๐Ÿ˜…

kfdm,
@kfdm@social.tsun.co avatar

@dansup haha, I think every developer has been there at some point. Random files taking up gigs of space. On Mac, Iโ€™ve used this to find surprise files at times.

https://daisydiskapp.com

andrew, to random
@andrew@aeracode.org avatar

Wrote up some thoughts about @takahe and a refactor/redesign I'm doing, with the aim of more customisable profiles and proper domain separation: https://aeracode.org/2023/04/29/refactor-treat/

(also, maybe we can support BlueSky/AT as well? Who knows!)

kfdm,
@kfdm@social.tsun.co avatar

@andrew @takahe All of that sounds great! Definitely will be following the progress.

> In addition, all of this will be built on a somewhat-extensible plugin system, so that if people have ideas they want to explore on the Fediverse, they can do so without having to author the majority of a server themselves.

Probably the most exciting part since it's a lot of work to re-invent the base activitypub for each new project (especially if existing implementations are not in your 'chosen' language.

kushal, to programming
@kushal@toots.dgplug.org avatar

Questions to the : What are the different python build systems do you use to build your package?

  • pip
  • poetry
  • flit
  • hatch

^^ to name a few. In the reply can you please tell me what do you use? I am trying to come up with a good list of such projects.

Please share the toot for more reach.

kfdm,
@kfdm@social.tsun.co avatar

@kushal I use a Makefile with pip and pip-compile to manage things. I try to ensure every project I maintain has a make test command

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