Why do so many tools have JSON config filesโฝ Commenting why options have been set the way they have is just such a basic thing to want to doโฆ Why do tech people have such an aversion to writing things downโ
aeres-u99 on github, CodeAtlas \o/
โฆ
@johy๐ฆฅprofilefollowreplied to@lemonthymeshortbreadprofilefollowI carved wooden spoons and my favourite herb is lemon thyme.:
This is like the third time in my life I've seen an interrobang in the wild.
And I don't know, but I'd prefer JSON over having configuration as constants in a PHP script like at $DAYJOB sob
@lemonthymeshortbreadprofilefollowI carved wooden spoons and my favourite herb is lemon thyme.replied to@johy๐ฆฅprofilefollow:
Ok, that sounds significantly worse, but like, YAML and TOML exists peopleโฆ
@keitachikawa๐profilefollowaeres-u99 on github, CodeAtlas \o/replied to@lemonthymeshortbreadprofilefollowI carved wooden spoons and my favourite herb is lemon thyme.:
My problem with yaml is the indentation annoyance it leads to, and if you are using the same tool on two different machine like windows and linux, have fun configuring those tabs and spaces all the time. I do like toml and ini for editing, but json is not as bad as yaml for sure
@brunoborges๐profilefollowreplied to@lemonthymeshortbreadprofilefollowI carved wooden spoons and my favourite herb is lemon thyme.:
TOML is a better format for configuration files IMO, if not for many reasons, primarily because TOML accepts comments.
However, one annoying thing for TOML was the lack of schema, and the reliance on JSON Schema for that. Which I decided to tackle years ago when I started the TOML Schema project. In the past few months I leveraged code agents to take to the finish line and got something compelling: tomlschema.org
@lemonthymeshortbreadprofilefollowI carved wooden spoons and my favourite herb is lemon thyme.replied to@brunoborges๐profilefollow:
Thatโs really cool. I suppose it would allow people to verify their config file is valid without having to pass it to in the intended program, which might be running in production or infeasible to run locally โ very interesting
@brunoborges๐profilefollowreplied to@lemonthymeshortbreadprofilefollowI carved wooden spoons and my favourite herb is lemon thyme.:
Exactly! The schema also enables tools to have rich editors to config files without having to know about the config file format upfront. There is an editor for TOML Schema as an example, on the website.
@turndownthenightprofilefollowreplied to@lemonthymeshortbreadprofilefollowI carved wooden spoons and my favourite herb is lemon thyme.:
I don't know:
They should be using YAML:
- That's for sureโฆ
@stagas๐คธprofilefollow
creative technologist
creator of textlogreplied to@jamesjan3profilefollowresearcher, developer, dancer:
creative technologist
creator of textlogreplied to@jamesjan3profilefollowresearcher, developer, dancer:-altr
@avioliprofilefollowProgrammer by day and night. Lover of art. Mixing art and programming is the dream.replied to@stagas๐คธprofilefollow
creative technologist
creator of textlog:
creative technologist
creator of textlog:I wish ls had an option to make
. and .. top-sticky no matter of -r and -t.@avioliprofilefollowProgrammer by day and night. Lover of art. Mixing art and programming is the dream.replied to@jamesjan3profilefollowresearcher, developer, dancer:
-Fla, so thatโs my la aliasโฆ, but now I use ezaGitHubGitHub - eza-community/eza: A modern alternative to lsA modern alternative to ls. Contribute to eza-community/eza development by creating an account on GitHub. and thus alias la=โeza -F -l -a@procyonprofilefollowlate is the hour in which this conjuror chooses to appearreplied to@jamesjan3profilefollowresearcher, developer, dancer:
Missed opportunities ITT for cheeky puns like -thrall -Flash etc
@keitachikawa๐profilefollowaeres-u99 on github, CodeAtlas \o/replied to@jamesjan3profilefollowresearcher, developer, dancer:
-altrh mostly does the job
@chanuxprofilefollowI ain't no nothing!replied to@keitachikawa๐profilefollowaeres-u99 on github, CodeAtlas \o/:
I'll try this -lahtr
Its to replace using central ai for basic tasks like text editing, analysis and brainstorming.
@evnmprofilefollowSoftware engineerGitHubevnm - Overviewevnm has 51 repositories available. Follow their code on GitHub., trail runnerStravaSignup for free to see more about LawrenceJoin Lawrence and get inspired for your next workout, gear-maker. Working on something new for homeownersgetonmain.comMain ยท A quiet, well-organized record of everything that keeps your home running.A quiet, well-organized record of everything that keeps your home running.replied to@candlewaxscribe๐profilefollowNew here, wanted to try textlog:
If you have Mac, you might check out this app: blaizzy.github.io/nativ/
@jamesjan3profilefollowresearcher, developer, dancerreplied to@candlewaxscribe๐profilefollowNew here, wanted to try textlog:
i think the best you can get right now is qwen 3.8 27B. youre gonna need 24 gigs of some fast memory though, i heard theres decent quantizations that can also make it run on 16. im quite excited about open/local models, but theres big investment overhead with the prices right now
@keitachikawa๐profilefollowaeres-u99 on github, CodeAtlas \o/replied to@candlewaxscribe๐profilefollowNew here, wanted to try textlog:
You might be able to try out colibri, its quite good and the models are a bit better. I am unable to connect any of the cli agents to do things with it though, probably due to context limits, but try it out. OlMoe is the lightest
Devs! Drop your #githubnotesfollow so we can follow each other! Love to see the projects youโre working on. Mine: github.com/stagasGitHubstagas - Overviewstagas has 462 repositories available. Follow their code on GitHub. โ #open_sourcenotesfollow
โฆ
@hippo๐ฆprofilefollowStrictly no LLMs. No exceptions.replied to@stagas๐คธprofilefollow
creative technologist
creator of textlog:
creative technologist
creator of textlog:Gave up on github after the acquisition. Very glad I did, given the unsurprising decline since then.
@stagas๐คธprofilefollow
creative technologist
creator of textlogreplied to@hippo๐ฆprofilefollowStrictly no LLMs. No exceptions.:
creative technologist
creator of textlogreplied to@hippo๐ฆprofilefollowStrictly no LLMs. No exceptions.:And what do you use now?
@hippo๐ฆprofilefollowStrictly no LLMs. No exceptions.replied to@stagas๐คธprofilefollow
creative technologist
creator of textlog:
creative technologist
creator of textlog:Some gitlab, some codeberg. More recently the latter as gitlab have an annoying tendency to mess with their UI for no discernible reason.
@avioliprofilefollowProgrammer by day and night. Lover of art. Mixing art and programming is the dream.replied to@stagas๐คธprofilefollow
creative technologist
creator of textlog:
creative technologist
creator of textlog:I think is time to vibecode an alternative!
I know I would
@semperos๐profilefollowPresbyter, husband, father, technologist, linguist, musician.replied to@stagas๐คธprofilefollow
creative technologist
creator of textlog:
creative technologist
creator of textlog:@keitachikawa๐profilefollowaeres-u99 on github, CodeAtlas \o/replied to@stagas๐คธprofilefollow
creative technologist
creator of textlog:
creative technologist
creator of textlog:
github.com/Aeres-u99
I have created a small tool, codeatlas, that basically generates an index to codebase that your llm can lookup syper quick, github.com/Aeres-u99
there is also a cbz->pdf converter that I wrote for eink devices which is nice
@davidprofilefollow๐ A lifetime Apple user. Partner says I am pedantic, sarcastic, and cynic. I just want to be me.wrote:
Which Linux distribution do you like the most, and why? Follow the previous with your favourite desktop environment.
โฆ
@pqs๐คชprofilefollowreplied to@davidprofilefollow๐ A lifetime Apple user. Partner says I am pedantic, sarcastic, and cynic. I just want to be me.:
I use Ubuntu with the default Gnome Desktop. I like it a lot and it just works. I've been using it since the beginning. It is not perfect (what distro is?) but it works fine for me.
@vrvnprofilefollowreplied to@davidprofilefollow๐ A lifetime Apple user. Partner says I am pedantic, sarcastic, and cynic. I just want to be me.:
Ubuntu or Linux Mint with Cinnamon and i3 alternating as window managers here
@melting_coffee_mug๐คprofilefollowreplied to@davidprofilefollow๐ A lifetime Apple user. Partner says I am pedantic, sarcastic, and cynic. I just want to be me.:
Arch Linux with KDE. I like that Arch comes with nothing and is pretty vanilla. No bloat, and customisable. No major upgrades where 5 things break at once. Install once, and it's fine until the device has to be replaced. Only then usually do a fresh install. It's up to date, still pretty boring, and you learn a bit in the process.
@hris_deb๐คprofilefollowreplied to@davidprofilefollow๐ A lifetime Apple user. Partner says I am pedantic, sarcastic, and cynic. I just want to be me.:
i distro hoped a lot. Finally i found my cozy home with debian with kde. 3 years still running without a problem all the software i use works perfectly and the games run smoothly.
@keitachikawa๐profilefollowaeres-u99 on github, CodeAtlas \o/replied to@davidprofilefollow๐ A lifetime Apple user. Partner says I am pedantic, sarcastic, and cynic. I just want to be me.:
Arch with i3, have been using it for like 7-8 years now. Started out at elementary os, really good and everything, but the thing where I dont need to install *-dev libs separately saves me a lot of time during compilations and building. Also, AUR is a life saver at times.
โฆ
@gruntprofilefollowI am just a grain of sand on your beach.
www.gruntsoft.comreplied to@stagas๐คธprofilefollow
creative technologist
creator of textlog:
creative technologist
creator of textlog:Microservices.
Not really programming, as this is more on the architectural level.
Microservices is a valid approach when you need to address massive scale. The thing is, I have seen it applied to things that could realistically serve its audience in a handful of modest servers with a less fashionable approach.
It was done under the guise of simplification; each individual microservice was in fact very small. But this at the cost of absolute spaghetti architecture.
@keitachikawa๐profilefollowaeres-u99 on github, CodeAtlas \o/replied to@gruntprofilefollowI am just a grain of sand on your beach.
www.gruntsoft.com:
This indeed makes sense, it is a lot more like locality, if a concept doesn't needs a function, don't give it a function
@hotterprofilefollow#Emacsnotesfollow, dev, life, random stuff. the netherlands.replied to@stagas๐คธprofilefollow
creative technologist
creator of textlog:
creative technologist
creator of textlog:Clean Code
@nathan๐ฅธprofilefollowreplied to@hotterprofilefollow#Emacsnotesfollow, dev, life, random stuff. the netherlands.:
I had so much pointless discussions about this ...
but when you say "Clean Code" , do you mean the book or the general idea that such a thing exists?
@hotterprofilefollow#Emacsnotesfollow, dev, life, random stuff. the netherlands.replied to@nathan๐ฅธprofilefollow:
The book, but actually ideas, like tiny functions and names. Aposd is much deeper book. Hilarious read github.com/johnousterhout/aposd-vs-clean-codeGitHubGitHub - johnousterhout/aposd-vs-clean-code: A discussion between John Ousterhout and Robert Martin about differences between John's book "A Philosophy of Software Design" and Bob's book "Clean Code".A discussion between John Ousterhout and Robert Martin about differences between John's book "A Philosophy of Software Design" and Bob's book "Clean Code". - johnousterh...
@asmund๐ฅทprofilefollowFather, getting older every day, technologist, enterprise architect @ work, like to explore tech. Like to keep it simple and work in the shell, write in vim, prefer Debian if I have the choice. Plays saxophone and clarinet. Enjoy motorcycle riding, photography, hiking. Christian.replied to@stagas๐คธprofilefollow
creative technologist
creator of textlog:
creative technologist
creator of textlog:I assume this is not original at all at this point - but (extreme) DRY is not a good practice. My experience is that a bit of copying yourself and your colleagues in the code base often make maintenance of the code base easier.
@honey_ohs๐ฅทprofilefollowSoftware engineer. [Reluctant] Salesforce dev. Salesforceโs biggest hater.
stephenlf.devstephenlf.devImportant Thingsreplied to@asmund๐ฅทprofilefollowFather, getting older every day, technologist, enterprise architect @ work, like to explore tech. Like to keep it simple and work in the shell, write in vim, prefer Debian if I have the choice. Plays saxophone and clarinet. Enjoy motorcycle riding, photography, hiking. Christian.:
Many have adopted the term WET (write everything twice)
Getters and setters for everything. Certainly, if you want an object to be doing more than just getting and setting a value right now, get them in there!
Planning to add functionality later without breaking code? Stop it! That should break code! If I'm consuming a library and have been using this setter method for 2 years, I don't want it to suddenly introduce brand new validation, caching, or logging behavior!
@lemonthymeshortbreadprofilefollowI carved wooden spoons and my favourite herb is lemon thyme.replied to@keui๐profilefollow:
Are getters and setters on everything even considered a good practice? To me it screams junior developer who hasnโt yet fully understood encapsulation and abstraction โ if youโre just exposing getters and setters as the interface then what is the class/module/etc providing beyond what a standard variable doesโฆ?
โฆ
@hotterprofilefollow#Emacsnotesfollow, dev, life, random stuff. the netherlands.replied to@jamesjan3profilefollowresearcher, developer, dancer:
Ghostel on emacs + claude = super combo
zellij within ghostty - tmux for the 21st century
I was using this combination and zellij is buggy when comes to source file or root folder changes and resource consuming. Then I moved to tmux + wezterm
@fastidiousprofilefollow
"Beware those that would deny you access to information, for in their heart they dream themselves your master." โ Sid Meyersreplied to@kk๐ฆprofilefollow:
"Beware those that would deny you access to information, for in their heart they dream themselves your master." โ Sid Meyersreplied to@kk๐ฆprofilefollow:Yeah, I had issues with
zellij too. I am sure it works great for many. I am too entrenched into tmux, will always find something to complain if I try to switch. And I have tried many times.agenttop.dev - much need tool in current time to monitor what's happening across harness or Agents that running in my Mac.
@asmund๐ฅทprofilefollowFather, getting older every day, technologist, enterprise architect @ work, like to explore tech. Like to keep it simple and work in the shell, write in vim, prefer Debian if I have the choice. Plays saxophone and clarinet. Enjoy motorcycle riding, photography, hiking. Christian.replied to@jamesjan3profilefollowresearcher, developer, dancer:
Iโm not supposed to take that literally of course, but I donโt think software has such an important role in our lives, for most of us. Water, food, air. Those you canโt live without. When it comes to software, I spend most of my workdays in the shell (vim, git, grep,โฆ) and if $place allows in mutt+weechat (although thatโs mostly outlook and teams). Nothing particularly new!
@keitachikawa๐profilefollowaeres-u99 on github, CodeAtlas \o/replied to@jamesjan3profilefollowresearcher, developer, dancer:
I have been using
Wezterm, Aerospace on Mac, Neovim is something that I need. My config blows up on my powkiddy, (oomkilled) other than that its perfect, and on linux its vivaldib+ ublock origin, My self hosted jf + bookserver and using webdav for obsidian notes backup was the life saving trick i needed