HNHacker News
TopNewBestAskShowJobs

MawKKe

478 karma · joined January 26, 2016

Programming enthusiast. Electronics hobbyist.

https://github.com/MawKKe

https://www.youtube.com/user/MawKKe

https://www.reddit.com/user/MawKKe

https://twitter.com/MawKKe (Although I don't use it..)

submissionscomments
MawKKe··on GNOME has no thumbnails in the file picker and my toilets are blocked
Many years ago I was a hit by a bug in the Gnome file chooser (on ubuntu) that selected a random sibling file in the same directory. Caused me to accidentally upload something I definetely didn't want to publish.

In fact I have never since directly uploaded anything from my own personal file directories, instead I make a copy of it under /tmp for the upload process.

Not sure if this is the same bug you are talking about

MawKKe··on GNU Units
FYI: use tab completion in the 'units' REPL to show a list of available definitions. You won't find them in the 'units' manpage, as they are defined in an external datafile (on my machine this file is /usr/share/units/definitions.units)
MawKKe··on South Korea now has 11M 5G subscribers
Are you sure about those units? Typical SATA SSD can reach ~500 MegaBytes/s, not Megabits/s
MawKKe··on Anticipatory Procastrination [pdf]
Your reply is too long. I will get back to you in 6 months. Maybe.
MawKKe··on We Fix: A DIY Manifesto (2014)
You can also reinforce plastic joints/parts with metal wire by heating and pushing it into the plastic.

(As a side note, I don't think there is any other DIY material that is as cheap and versatile as metal wire. All you need is some imagination and you can repair just about everything.)

MawKKe··on PinePhone – KDE Community edition
This thing is exactly what has been really infuriating on recent ubuntu releases. When a program misbehaves, I have no idea what the actual process is called
MawKKe··on Diagram Maker: Open sourcing IoT visualization
In that case you should rename the project GObjectJS to avoid further confusion :-)
MawKKe··on Using time travel to remotely debug faulty DRAM
FYI Last I tried memtest86+ (in June?), it had been outdated for quite some time and downright crashed on newer hardware. The non-free alternative called Memtest86 (by Passmark) works just as well if needed.
MawKKe··on We need physical audio kill switches
Yeah. It's one thing that does not need improving.

My parents bought a new microwave with all kinds of fancy digital features that nobody uses 99% of the time. In addition to being really difficult to use, it also makes a very loud BEEEP on every button press. Insanity.

MawKKe··on Microsoft submits Linux kernel patches to enable complete Hyper-V on Linux
unrelated: what does TFA mean? someone else used it in another comment
MawKKe··on SSH hacks – a little sanity for remote workers
Another annoying "feature" is that opening a new shell with ssh -X will not enable the forwarding if the original master connection was not enabled with it.
MawKKe··on Audacious 4.0 released, switches from GTK to Qt 5
I just built it on ubuntu 18.04. It looks pretty much identical to the native 3.9 version, except for icons.

FYI anyone reading this, take a backup of your $HOME/.config/audacious before trying the new version. It did something funny there and no files would play on the old version anymore...

MawKKe··on Wanggongchang Explosion
> it seems a bit improbable that a bolide would just so happen to hit the armory. Given that bolide events are rare to begin with, the low chance of hitting a military building is enough to make me skeptical.

Well, isn't the probability of hitting the armory identical to that of hitting anywhere else on the planet?

MawKKe··on Cracking LUKS/dm-crypt passphrases
So.. nothing to do with LUKS?
MawKKe··on Ask HN: What is the most beautiful piece of code you've ever read?
Idiomatic python:

  v = names[0] if names else "empty"
MawKKe··on Some Obscure C Features
More than once have I written something like this

  if(condition)
    printf("WTF??! value: %d", value);
...only to have the compiler nag me about it. That's pretty much the only situation I've come across trigraphs :)
MawKKe··on Scaling Erlang cluster to 10k nodes at WhatsApp [video]
Direct link to video: https://www.youtube.com/watch?v=FJQyv26tFZ8
MawKKe··on Microsoft is building a Chromium browser to replace Edge on Windows 10
Was it due to the upgrade removing files the current version expected to be there?

Similar to how pacman (by default) removes all modules for the current running kernel, during an upgrade?

..which then breaks pretty much everything that relies on dynamic module loading, such as USB.

MawKKe··on Tell HN: Google requiring phone number to log into Chromebook
Even if you removed that number from you account immediately after logging in, something tells me google will not forget that association.

He might not had an account then, but could create one in the future. So now if either of you messes up or does anything even remotely suspicious (in google's eyes) - say goodbye to your account.

MawKKe··on A look at VDO, the new Linux compression layer
For block level checksums there is dm-integrity :)

It's dm layers all the way down...

MawKKe··on Sigaction: see who killed you, and more
Also the last void* argument of the signal handler points to a ucontext_t object (man getcontext), so you can do something crazy like jumping over a NULL-dereference by modifying the instruction pointer and then "returning" with setcontext().
MawKKe··on OpenBSD 6.3 released
So.. they are like linux network namespaces?
MawKKe··on Show HN: /usr/bin/htop
Hah, me too
MawKKe··on WebAssembly: Mozilla Won
FYI You can just add / at the end for the same effect
MawKKe··on Scientists Predict Star Collision Visible to the Naked Eye in 2022
I quite often think similarly about 2038-01-19. That's 21 years from now.

I've set a reminder for that "event" on Google calendar. I'm sure nothing major will happen, but at least I could host a "end of the world" party for my friends.

I wonder if that service (or Google for that matter) will be alive then. I wonder if I will be.

MawKKe··on Applying the Linus Torvalds “Good Taste” Coding Requirement
Comparing the two versions, I found the 'clever' version to have less cognitive overhead, since the reader has less state to keep track of (1 vs 2 variables).

I don't find the pointer syntax that difficult to reason with.

How would you expand the code?

← PreviousPage 4 of 4