Pinned toot

I got really bored so I wrote a simple dithering tool in Kotlin. It is surprising how little loss you get when reducing an image to 8 colors. Source code: gist.github.com/Frederikam/115

Fre_d boosted

Danish politicians: "We need gender-neutral traffic lights"
Aarhus city council:

You can teach me things that I have already known for 7 years, but please do not teach gaping security holes like this.

They'll probably also neglect to tell us about SQL injections, like when I was taught Java in high school a year ago.

Apparently at university we'll be learning relational algebra alongside SQL.

But why use an obscure notation when you can just use SQL? :think_bread:

I wonder if my cat is trying to get educated or just wants to be in the way

The local news just said that 5G was "the next generation of internet" :thonking:

Grammar, typesetting, rant Show more

For context, I am trying to scrape a 24/7 192Kbps MP3 stream from a radio that is closing in 2020. Trying to figure out if using 48Kbps opus will be of similar quality

I need some help
Which sounds better?

fred.moe/xJS.flac
OR
fred.moe/nMB.flac

They both have the same file size
(mostly)

They are both based on a 192Kbps clip, but one of them was compressed to 48Kbps of opus.

Me: "Oh no, my bicycle broke. Now I need to bring my bicycle to a mechanic. Oh noes, I neglected to go to the mechanic due to [insert bad excuses]. Now I need to skip lectures to have time to bring it to a mechanic."

Also me: *reattaches bike chain with no effort after skipping uni*

I am not as rational as I like to think I am.

This week has been full of server issues that I've had to fix for my work. Take last night for instance. I was migrating servers for 6 hours straight until early morning. The data center pulled the plugs before I was finished. I wasn't even told more than a couple hours in advance.

if coffee doesn't wake you up in the morning, try waking up to a malfunctioning network adapter in a remote production server.

Went to sleep at 2 AM. Got paged to fix a production issue at 4 AM. Was woken up at 6 AM because the last fix only did half the job. It's now 7 AM, and I think the problem is fixed.

Something tells me I won't make it to my introductory database lecture in an hour.

I wish universities and other institutions would be better at teaching more modern technologies when it comes to coding. I'm sick and tired these obligatory courses in Java, SQL, and religious OOP practices.

My uni mates spent a lot of time and effort creating a simple ceasar cipher using OOP. Meanwhile there's me my declarative code:

My professors better have a very good reason to collectively decide to schedule all lectures 2-4 hours earlier than last semester :blobsleepless:

Show more
niu.moe

We are a cute and loving international community O(≧▽≦)O !