Programming for fun

Message Bookmarked
Bookmark Removed

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 (one year 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 (one year 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 (one year 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 (one year 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 (one year ago) link

two weeks pass...

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 (eleven months ago) link

ten months pass...

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 (one month 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 (one month 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 (one month 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 (one month ago) link

Good luck with that!

(We're Not) The Experimental Jet Set (James Redd and the Blecchs), Wednesday, 2 November 2022 16:10 (one month ago) link

> 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 (one month ago) link

unrelated question - how do you stop your eyes from hurting after looking at code all day?

― | (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 (four weeks ago) link

or I guessmake the font size huge and huge monitor

| (Latham Green), Friday, 4 November 2022 16:39 (four weeks 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 (four weeks ago) link

Nice!

(We're Not) The Experimental Jet Set (James Redd and the Blecchs), Saturday, 5 November 2022 04:58 (three weeks ago) link


You must be logged in to post. Please either login here, or if you are not registered, you may register here.