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 C meeting is over. C23 added:
...can't you just configure your build system to compile those modules with pre-c23 standard?
MawKKe··on Haskell error messages: come on
GHC is like a mathematican: unable to explain mathematical jargon without resorting to more mathematical jargon
MawKKe··on Ten Years of ThinkPadding
Have you checked the display cable connections? I have a x240 and the connection to the panel has come loose twice due to bumping/dropping the machine. And I do mean the connection on the panel, not on the motherboard.
MawKKe··on Clumps of human brain cells in a dish can learn to play Pong faster than an AI
Upgrade your gray matter, 'cause one day it may matter!
MawKKe··on Show HN: I made a modern web UI for Wikipedia
Whoa, thanks.

However, that link is totally in the wrong place, no wonder I could not find it. I just assumed there was no such link/button and always angrily removed the 'm.' from each URL.

MawKKe··on If Apple keeps letting its software slip, the next big thing won’t matter
For iPad oh boy they sure added new niceties such as:

- Not being able to click a tab unless you drag it to the center of the tab bar

- Make a "drag a link/anchor into a new window" feature; except it triggers way too easily from ordinary scrolling, forcing you to spend the next 15-30 seconds figuring out how the FUCK do you close it with an non-obvious swipe gesture. Apparently buttons with "Close" or a big X are too complicated.

MawKKe··on Tips For Making a Popular Open Source Project in 2021
Demos sure are important, however I would advocate using videos (.mp4) instead of GIF. That way you can pause and seek the video, to get better idea what's going on.

So many times I've come across demo GIFs/animated shell sessions that "type" at about 1000 characters a minute, and the animation loops over before I even had a chance to blink.

MawKKe··on Meterorite chunk crashes into house, bedroom, pillow
My hypothesis is that her dog didn't necessarily observe the meteorite, but began to bark as a response to other barking neighborhood dogs who did see the flash.
MawKKe··on Ask HN: Why does validating a user require 14000 files?
I wanted to remove the profile picture on my account, but could not find such button anywhere in the account settings. So instead of removing, I replaced it with a blank white square. I thought I was clever.

Instead, I got a strike on my account.

IIRC it takes three strikes and you're out. But if a strike is handed out due to such a silly thing, I wonder what the next silly thing is going to be?

Clearly I cannot rely on such a platform, considering I would likely NEVER get my account back. From that point onwards, I've tried to reduce my dependency on Google accounts as much as possible.

MawKKe··on A quick and simple editor for cron schedule expressions
Related note: with systemd you are probably better off using its OnCalendar facilities. There is even a tool called 'systemd-analyze', which can be used for verifying the correctness of your OnCalendar timespec:

    $ systemd-analyze calendar "*:11/5" --iterations 3
      Original form: *:11/5                      
    Normalized form: *-*-* *:11/5:00             
        Next elapse: Mon 2021-08-30 23:21:00 EEST
           (in UTC): Mon 2021-08-30 20:21:00 UTC 
           From now: 47s left                    
           Iter. #2: Mon 2021-08-30 23:26:00 EEST
           (in UTC): Mon 2021-08-30 20:26:00 UTC 
           From now: 5min left                   
           Iter. #3: Mon 2021-08-30 23:31:00 EEST
           (in UTC): Mon 2021-08-30 20:31:00 UTC 
           From now: 10min left
MawKKe··on Police find electronic signal-jamming device inside California home
you won the bet...by using a power source? :)
MawKKe··on Apple iPhone charger teardown: quality in a tiny expensive package (2012)
Heh. If I plug an iPad charger in the "wrong way" (symmetric EU socket), I observe massive interference/hum via the 3.5mm audio jack. The hum disappears if I rotate the plug, or touch the metal backplate of the iPad.
MawKKe··on New in Git: switch and restore
it is used for that purpose in many other tools as well (grep, for example)
MawKKe··on Haiku Beta 3
I decided to try out Haiku last week. I was positively surprised how fast the whole process was. Installer loaded, system was installed and rebooted in about 20-30 seconds (not accounting for human I/O latency). And this was in a VM with SATA disk backing.

Makes you yearn for simpler times.

MawKKe··on Fun with Unix domain sockets
I just tested this and it seems to work by default on Linux but not on FreeBSD. On both the address is configured as 127.0.0.1/8, i.e the whole block. Go figure.

This discussion [1] sheds some light on the matter, but does not fully explain the reasons for differing behaviour across OS's.

[1]: https://serverfault.com/questions/293874/why-cant-i-ping-an-...

MawKKe··on Fun with Unix domain sockets
If you run tests through the loopback interface, you should be able to use any of the 127.0.0.0/8 addresses, instead of 127.0.0.1 (a.k.a ”localhost”). Each address has its independent port space, so you would avoid collisions/contention.
MawKKe··on Twike
I guess what GP meant is that you can rent only whenever you need it, as opposed to 500/month for _every_ month you own?
MawKKe··on Deurbanising the Web [pdf]
as in "it exists already"?
MawKKe··on Use the 'tail' command to monitor everything
couldn’t you pause/unpause the stdout with ctrl-s/ctrl-q instead?
MawKKe··on Chinese paddlefish, one of the world's largest fish, declared extinct
Last time similar topic came up (either here or reddit), someone posted this recording of a ”Kauaʻi ʻōʻō” bird [1] in which a male, apparently the last of its species, is trying to connect with a female. Reeally eerie.

[1] https://www.youtube.com/watch?v=nDRY0CmcYNU

MawKKe··on Improving Firefox stability on Linux
It does not really ask, it straight up bricks the whole browser session until you do.

But otherwise, FF has been really stable for years now

MawKKe··on $1 Unistroke Recognizer (2007)
I believe it is a reference to the US dollar
MawKKe··on Building a Distributed Turn-Based Game System in Elixir
From Finland: Through LTE I get served via 'fra' with ~60ms (as one might expect). However if I switch to Wifi I get 'hkg' with ~260ms?? Not exactly next-door :)
MawKKe··on How to navigate directories faster with Bash (2015)
Another one:

  cdof () {
    cd "$(dirname $1)"
  }
as in 'Change into Directory Of"

Changes into the directory of a file. This is useful when you're doing complicated commands with long path names, but realize it would be easier if you were to cd into that directory. Use in combination with <Alt+.>. Especially useful if the filename component is long:

  $ pwd
  => ~/
  $ ls -l path/to/whatever/deep/somewhere/2021-04-22-filewithverylongnamefoobarbaz.xyz
  $ cdof <Alt+.>
  $ pwd
  => path/to/whatever/deep/somewhere
MawKKe··on Discord ends deal talks with Microsoft
To be fair, the client forces you to upgrade on windows too, although automatically. Which in windows-land is business as usual...
MawKKe··on Discord ends deal talks with Microsoft
Similiar issue with the browser client. I observed it eating away 40% cpu doing...nothing? I can't do anything else with my laptop If I want to be heard or understood by others
MawKKe··on Lisp and the Web: Creating Web Apps Through Lisp and GCE
https://github.com/ashok-khanna/common-lisp-by-example/blob/...

Formatting queries like this is not a good idea at all. See: https://en.wikipedia.org/wiki/SQL_injection

MawKKe··on Windows 95 – How Does It Look Today?
1) case in point: Windows 10 Settings
MawKKe··on Obfuscated Tiny C Compiler
How do you know the person who designed that isn't in on it?
MawKKe··on AMD vs. Intel vs. Nvidia: How Users Are Switching
No kidding. Few weeks ago 'apt upgrade' killed my X server and locked up the whole machine. I'm like 99.99999% sure it was the nvidia drivers.
← PreviousPage 3 of 4Next →