Recent submissions

Comment · 6 months ago
I developed for windows before moving to linux. I was surprised to find that was no system call similar to windows WaitForMultipleObjects. Sure you can implement something similar using poll() or using condition variables. but WaitForMultipleObjects seems so much simpler and more versatile
Comment · 1 year ago
For the love of god please change the blue on black text to something more readable
Comment · 1 year ago
I own a stationary indoor exercise bicycle. Its quite fancy.. has a magnetically coupled flywheel to adjust the difficulty setting and has all the electronic counters etc. I try use it every day/second day and on those days I really have to motivate myself to get on it and do my 40 min cycle. The first 10 mins is really tough for me and I find I have to put in a lot of mental effort to enter a meditative frame of mind that helps me finish the workout but, by the end of those 40 mins and for the rest of the day I feel on top of the world... its the one thing that helps to motivate me to get back on it everyday.

I suspect its the same thing with most endurance type sports which include running. Most people don't actually like the idea of it but the feeling of well-being makes them keep on doing it.

Comment · 1 year ago
I started writing C code again because i started using gstreamer and needed to write a modem plugin for ModemManager. This meant i had to get familiar with glib. Even thought the learning curve has been steep it been worth and I am really enjoying writing in C again, even going so far as to refactor some existing code of mine use glib and make it GObject based. The end goal here is to use gir to use my code from scriptable languages like python.
Comment · 1 year ago
We have hundreds of raspberry pi s out in the field that experience sdcard failures far too often even though the filesystems are setup as readonly using a ram based overlay filesystem. I suspect something happens during reboot of these pi's and that the SoC generates spurious signals on the bus lines causing havoc with some of the sdcards. It doesn't seem to happen with high end cards or the same setup but with a compute module (which we now use exclusively) with an on board emmc chip.
Comment · 1 year ago
That's not the original content on the site
Comment · 1 year ago
What guard rails could anyone with an unrestrained high IQ possibly have?
Comment · 2 years ago
That github repo contains the sources. You can also compile tracy by cloning the repo.
Comment · 2 years ago
I have had tinnitus since I was about 20 and I am now 50. Its always been there until last year when I had a slight reprieve for about 10 seconds. I was sick, the sickest I had been for years. I came down a with bad flu and was on a cocktail of drugs... antibiotics, painkillers etc. So there I was, lying in bed staring out the window when suddenly everything went peaceful and very quite. I then realised that i could no longer hear the ringing in my ears. I was sick but not delirious. Try hard as I could, i couldn't hear the ringing in my ears for about 10 seconds when suddenly as quickly as the ringing appeared, it re-appeared again.
Comment · 2 years ago
So almost like an optical wheatstone bridge ?
Comment · 2 years ago
My relationship with food seems to mirror yours. You have some good advice on how to deal with it.
Comment · 2 years ago
Comment · 3 years ago
Sure... but that machine learning PhD has a vested interest in being optimistically biased in his observations.
Comment · 3 years ago
100% agree. I have a coding job and although co-pilot comes in handy for auto completing function calls and generating code that would be an obvious progression of what needs to be written, I would never let it generate swaths of code based on some specification or even let it implement a moderately complex method or function because, as I have experienced, what it spits out is absolute garbage.
Comment · 3 years ago
As far as i know, the earth's crust below and around the impact gets displaced by a fair amount. I think the crust acts like a rubber sheet bouncing backwards and forwards. This most likely contributes toward the displacement of water above.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton