Two days left at work and I'm still putting out fires, with nobody to replace me. It's like this company doesn't want to succeeded...

The Kibana 6.4 web interface on a Raspberry Pi 2: Don't even try.

Weather forecast: Rain.
Me: Screw that, I want to take a walk.

...if only I wasn't so stubborn.

@ng0 Now I'm curious what kind of protections they have against trivial side-channel attacks by higher-level entities.

BTreeMap vs. BtreeSet with custom Ord vs. intrusive-collections's RBTree.

Analysis paralysis is kicking in again. :blobblush:

To my past self's defense, I was fully aware back then that the code was a horrible mess, I simply hadn't a clue how to do it well without using bloated frameworks that would have long been out of fashion by now. But nowadays we have much better options, such as Elm.

Just spent an hour fixing a tiny bug in some Javascript code I wrote 8 years ago. Back then I still thought it was a good idea to write complex UIs with plain DOM manipulation and a tangled mess of global variables.

Even my C code from that time is infinitely more maintainable.

Yet another very interesting discussion on how the stable Linux kernels are managed.
lwn.net/ml/linux-kernel/201812

I love those threads, they show how incredibly hard it is to provide reliable and stable software when everything keeps changing all the time.
(The fix, of course, is to stop changing things all the time, but that's unlikely to happen anytime soon 🙄)

Turns out I was (probably) wrong about the memory allocation part. Both the time and humantime crates have types that implement the Display trait, these can be used in a non-allocating manner and are (presumably) more efficient than allocating new strings.

(I haven't benchmarked a thing yet)

I want to format a timestamp obtained from a system call.

C: strftime() is available everywhere and no memory allocation needed.

Rust: Nothing in the standard lib, choose between various crates that can do this, figure out how to convert between SystemTime and whatever the crate has. Everything returns a newly allocated string.

All in all I wouldn't want to go back to C, but not everything is easier in in . :blobshrug:

Ayo boosted

*takes on 1000 projects, doesn't cull them enough*

*looks at TODO list for one single project in isolation* why am I not getting things done on this one single project

@alcinnz Alright, so an introductionary course in CS. That makes sense, and looks promising.

@alcinnz Apologies for being cynical, but I feel there is a gap in your stated goal and your solution. How will teaching the fundamentals of programming improve people's daily life? Will it help them understand the ridiculous complexity of the software they use in their daily life? Will it affect their choices in any way? How does this help them understand computers any more than teaching how electrons interact?

Or is this intended to just get people interested in CS?

I made this awesome drawing to show how I envision that TorFS is going to work.

The system is specifically designed for people who like dogs but don't own any themselves.
code.blicky.net/yorhel/torfs

@cesese The biggest problem with plain IRC clients is the lack of persistence. You disconnect for a bit and you miss part of the chat. IRC isn't very mobile friendly when compared to almost everything else.

I mean, I'm happy with Weechat Android, but that's definitely not easy to setup.

@RMW Uh, expect everything to be crowded, I guess. Don't expect you can switch between rooms quickly, the halls will be crowded and the rooms full.

@hund You're using the official client? That tool looked so fragile and overengineered that I never even bother giving it a try.

I've been using Dehydrated, it requires some manual configuration, but at least you know what you're doing and don't run into surprises very often. (Until the Let's Encrypt servers suddenly do weird things...)

github.com/lukas2511/dehydrate

@hund Lack of alternatives.

What broke this time?

Show more
niu.moe

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