we have a programming as a career thread but I'm always interested in what people write for their own amusement?
― koogs, Thursday, 2 December 2021 03:04 (three years ago) link
(i know people who are good coders but only ever write work code and I'm always slightly suspicious of that, not sure why)
anyway, my big on and off thing has been an ebook generator that lets me take Project Gutenberg text files, out more recently html files, mark them up in a hopefully trivial way - <chapter></chapter>, and generate epubs from them that are better than their epub downloads (their tocs are shocking! and everything's a bit plain)
I've just rewritten it to use and actual document parser rather than the noddy xml parser I'd thrown together and finally added image support, albeit only full page images atm.
― koogs, Thursday, 2 December 2021 03:13 (three years ago) link
other than that i like mathsy geometry stuff, things that move, are interactive, things that are generally not what i do at work.
https://www.procjam.com/ always looks fun, as does Ludum Dare and the thousands of other jams throughout the year. but I'm never organised enough to do anything at the right time.
(I'm generally finding I've been working later during lockdown and my personal programming has taken a bit of a hit because of it, both timewise and enthusiasm-wise)
― koogs, Thursday, 2 December 2021 03:19 (three years ago) link
Yeah in a similar boat, since lockdown I haven't got into anything - prior I was starting out on Python and loving it, then I just felt bleurgh about everything.
I don't code for work so it's purely hobbiest based. Have started to reread the c++ essentials by Meyers, which are heavy but brilliant.
― Ste, Thursday, 2 December 2021 08:39 (three years ago) link
I’ve been playing with algorithms in Python recently to calculate how a record’s exact key in hz changes if a you play a 45rpm record at 33 and vice versa, and how many % plus or minus to hit an exact note.The end goal is to enter a database of a handful of records and their rpm, original key and bpm - then have an app suggest matches you wouldn’t immediately think of (eg; turns out record x at the wrong speed -2.5% mixes perfectly with record y).Not sure I’ll do anything useful with it but it’s good to break out of the endless Power BI / SQL I do for a day job. If I were more focused I’d convert what I have to Android then try and add BPM counting and a basic piano for entering the key but realistically ADHD will find me other new and shiny things to do by the time I get that far.
― Agnes, Agatha, Germaine and Jack (Willl), Thursday, 2 December 2021 12:16 (three years ago) link
still in the fun-coding doldrums.
but i did realise the little web page display thing that i run on an android tablet to show me what's playing on the jukebox, and whose refresh rate option only goes as low as once-per-minute, might respond to a meta-refresh tag. one line added to the noddy node script and now it updates within 10 seconds of the song changing.
― koogs, Sunday, 19 December 2021 22:25 (three years ago) link
Is it a signal of maturity or hubris to be able to push automatic updates upon release? Does the answer to the question depend upon the audience for the update?
― youn, Thursday, 20 October 2022 19:50 (two years ago) link
To try to answer the question, what if your work and hobbies coincide, you have some leeway in the projects you choose for work, and you need the structure and motivation that work provides? (I don't qualify to ask.)
― youn, Friday, 21 October 2022 01:22 (two years ago) link
unrelated question - how do you stop your eyes from hurting after looking at code all day?
― | (Latham Green), Wednesday, 2 November 2022 16:02 (two years ago) link
Only read well-written code.
― (We're Not) The Experimental Jet Set (James Redd and the Blecchs), Wednesday, 2 November 2022 16:10 (two years ago) link
Good luck with that!
> unrelated question - how do you stop your eyes from hurting after looking at code all day?
dim or invert colours on your ide.
― koogs, Wednesday, 2 November 2022 17:32 (two years ago) link
― | (Latham Green), Wednesday, November 2, 2022 9:02 AM (yesterday) bookmarkflaglink
some time last year i started doing serious eye exercises, and they've helped. i still do the old temple rubs but massaging below the eyes feels incredibly comforting. eyebrows and some forehead rubs are good, too. i haven't really read anything definitive in terms of what works and what doesn't though, so i've just been trying random stuff. also, monitor position, body posture, and neck and head position i find help a lot, weirdly enough
i've only ever coded professionally in dark mode, so i'm not sure if light vs dark mode has any effect, personally
― Punster McPunisher, Thursday, 3 November 2022 21:13 (two years ago) link
or I guessmake the font size huge and huge monitor
― | (Latham Green), Friday, 4 November 2022 16:39 (two years ago) link
actually did some fun programming for a change. this is a cut down version of something i did for a friend's birthday, hence the candle. done on pico8, written in lua...
left, right, x to jump, watch out for the bats
http://wwe.koogy.clara.co.uk/hlwn
i have some more features to add, more enemy types etc
― koogs, Friday, 4 November 2022 19:22 (two years ago) link
Nice!
― (We're Not) The Experimental Jet Set (James Redd and the Blecchs), Saturday, 5 November 2022 04:58 (two years ago) link
7 days into this year's Advent Of Code where you get two little tasks to write code for everyday, all 14 stars so far
using Ruby, which means i have to look up about 50% of the code i write, and the nature of it is that none of it will be reused so it's as scrappy as all hell but...
https://adventofcode.com/
― koogs, Saturday, 7 December 2024 19:01 (one month ago) link
spent the weekend catching up on the two i'd dropped. and today's was a bitch. but 30/30 so far.
― koogs, Sunday, 15 December 2024 21:53 (one month ago) link
46/50 and counting. the 50th is apparently a freebie if you have the other 49 so three more to do...
(16b - union of multiple minimum paths 19b - count the (millions of) ways to parse some strings21b - 25 robots in a chain)
― koogs, Sunday, 5 January 2025 12:36 (two weeks ago) link
silently applauding anyone who ventures that far - similar kind of minor awe when you see someone completely destroy a og video arcade game
― Elvis Telecom, Monday, 6 January 2025 06:16 (two weeks ago) link
Literally one of my favorite Christmas traditions. This year I did all 50 points in modern C++. It ruled.
― Allen (etaeoe), Monday, 6 January 2025 14:22 (two weeks ago) link
I've been using ruby in an attempt to get better at ruby. i have got better at the kind of scrappy ruby you use to do these puzzles (which, luckily, is the same kind of ruby that i use for component tests). but i have missed strong typing.
― koogs, Monday, 6 January 2025 17:41 (two weeks ago) link
and proper 2d arrays
16b done
got the cost of the minimum path quite quickly, but getting the ROUTE of ALL the paths with that value took, well, weeks. adding enough information to each step to remember where it came from, and then more code to use that data. redid it in Processing so i could see it working, ended up saving the final frame and counting the pixels as a check...
― koogs, Friday, 17 January 2025 20:04 (one week ago) link