HNHacker News
TopNewBestAskShowJobs

dyingkneepad

2,181 karma · joined September 19, 2019

submissionscomments
dyingkneepad··on Ask HN: Best Linux Distro for Development
Steam works just fine for me on Debian. The process of installing it is exactly the same as Ubuntu.
dyingkneepad··on Ask HN: Have you tried weight loss drugs?
> I think developing these habits requires real will power.

That's why the modern method suggests you to take *small* but permanent steps forward. Cutting a slice of bread per week was easy. Cutting M&Ms was easy. Cutting soda cups to be 60% of what they were before was, well, manageable. Biking for 15 minutes 2x per week was easy. If you feel a step is too big then it's going to require a lot of willpower, so you try to take a smaller one. Over time you accumulate a ton of tiny gains and realize it all adds up to make a big difference.

dyingkneepad··on Ask HN: Have you tried weight loss drugs?
To me what worked was going the slow route: do small but *permanent* adjustments to the diet in order to slowly decrease calorie consumption. This is the path that is safest against eating disorders.

Having soda 5x per week? Well, let's see if I can survive a month doing it only 3x per week. Perhaps later replace it with the Zero version, or buy a smaller bottle. Once I do one step and "stabilize" on it, then I can further reduce consumption.

Pay attention to what times of the day I am eating but not that hungry. I concluded that having just 1 slice of bread at breakfast (instead of 2) didn't make any difference at all, so I did that permanent change. It's just 70 calories, but it's 70 calories I was able to cut at basically no effort.

Recognize about how many calories each of the things you do have. Always start the optimization with the liquid calories: soda, juice, starbucks-like stuff, alcohol. Don't go hardcore and fully get rid of anything: reduce amount, frequency, try to substitute. I still love donuts, I still eat donuts: I'll never take this away from my menu. But I don't eat 5 donuts in a single seating, and I don't eat donuts every week. Chocolate was way easier to dramatically cut: I like it, but not that much. I have no idea why I ate M&Ms: it's not even that good, but it was available (as my son loves it), so I just ate it without thinking. I don't anymore.

Same with exercise: I bought a stationary bike and my first goal was to do 15 minute sessions 2x per week, while watching youtube. I soon realized I could do 20 minutes every other day. Now I also do a small amount of weight lifting 1x per week after the bike. Also recognize that the goal of the exercise is *not* to burn calories, as calories burnt by exercise area way too little. By developing muscles you increase your base metabolism, and that's the biggest help. Also you get healthier and your day gets easier.

One small step at a time. Permanent changes. That will get you there eventually. This is a really good path, unless your doctor is screaming at you saying you need to lose weight immediately or you'll die. Try it.

dyingkneepad··on Ask HN: Best Linux Distro for Development
Which software do you need from PPA?

At the end of the day, stuff in PPAs is just .deb packages, so it may be possible to just install them in Debian. That said, I've never had to use a PPA in my life, the default Debian archive already has basically everything.

dyingkneepad··on Ask HN: Best Linux Distro for Development
> leaning towards PopOs since I like Debain support

So why not just Debian?

Most developers I know use either Debian, Fedora or Arch Linux.

dyingkneepad··on Ask HN: WhatsApp, now integral to our lives, provides no tech support. Ideas?
My country only didn't settle for SMS because you still have to pay per message, where WhatsApp is free.
dyingkneepad··on Is software getting slower faster than hardware getting faster?
More important than speed is the perception of speed and how users react it. I usually don't notice things are slow until I see my wife using them. She has absolutely zero patience with tech, so if she taps/clicks something and it doesn't react in 0.3s, she's going to tap or click it again. I realized how slow my last smartphone was when she tried to used it and got extremely annoyed, then I couldn't unsee it anymore.

I am used to just waiting a few seconds even when there's no UI response at all, and don't get annoyed at slower stuff, unless it's something like an ssh session or a video-game, something where input is constantly causing output.

But to answer you: I think it really depends on which software and which hardware you're talking about. There's no general answer here.

dyingkneepad··on Ask HN: What is the most productive stack or lang for single devs ?
Well, back when I was single, Ruby was definitely the answer. Now that I'm married I would still try it, or some or the JS frameworks backed by the big companies and still alive. I don't think my wife would mind me using Ruby.
dyingkneepad··on Most common PIN codes (2012)
TIL brute-forcing from 0000 to 9999 is a decent strategy.
dyingkneepad··on Ask HN: Good sources of math exercises for ~10-17 y/o?
Video games often present some nice math lessons. Trying to understand why the Grief runeword in Diablo 2 did so much more damage than other items that had way bigger numbers was a great exercise in math, lol (and I didn't fully grasp it until my 20's).

Another example is card games, like Hearthstone or Pokémon TCG. For younger kids you can focus on the more basic "how much damage do you need to kill this?" or "given these coin flips, how much damage can you expect on average?", while for the older kids you can present bigger challenges like "how likely are you to start with this card in hand?" or "how likely are you to find it in the first 10 turns?", "how likely is it that this crucial card to your gameplan is going to be hidden in the prize card list?" etc. But perhaps the adult here needs to be good in card games in order to be able to grasp the math behind the game and properly teach kids.

Anyway, math is often hidden behind interesting things, which is way better than boring plain exercises.

dyingkneepad··on 00Key a 75% Keyboard
You have it configured in KDE. The cool keyboards allow configuring layers in the keyboard firmware.

Yeah it took me a while to get used to my layers, but now it's all muscle memory and I don't even remember which key does what.

dyingkneepad··on 00Key a 75% Keyboard
Decent fractional keyboards have buttons that change the meaning of every other key, they're called "layers". You get less keys but you get more options, and 100% less wrist moving.
dyingkneepad··on 00Key a 75% Keyboard
I have a keyboard that's "missing" essential keys, but I have a special key that I can press with my thumb that changes that every single key does (it's called a Layer). So I never need to move my wrist to press the arrow keys: just hold the thumb button and press hjkl. Page up is layer+t, page down is layer+g. And so on. It's great, my wrists thank me. I can even program a macro that will trigger an OS shortcut that will send a packet to my Smart Coffee Grinder or tell Alexa to call 911. Or have the F479001600 key you mentioned.

There are a bunch of keyboards with this functionality. I personally use a Dygma Raise.

dyingkneepad··on DNS traffic can leak outside the VPN tunnel on Android
Lol. On the other hand, I use Linux network namespaces to make programs run outside the VPN on a specific machine that has the whole system configured to go through the VPN. So yeah if you get namespaces you can use them to both isolate programs and also bypass the VPN.
dyingkneepad··on Ubuntu 24.04 LTS is so buggy you can't install the OS [video]
Yeah, good reminder about Testing security. But some packages with serious security issues get a fast pass from Unstable to Testing sometimes.

Chances are that if you're installing a server that's new enough to need to run Debian Testing (or newer), you probably already know what you need to know. So yeah Testing is more for Desktops.

I tried the reportbug utility once, it made up an email for me (related to my machine's hostname) and I never ever heard about the bug again. Couldn't find it on the web interface. I'm not that stupid and I failed to report a bug. Beautiful web interfaces are a million times better for bugs, and they're also capable to send e-mail notifications to whoever wants them.

dyingkneepad··on Ubuntu 24.04 LTS is so buggy you can't install the OS [video]
I'm here just to remind everybody that the Debian Stable release cadence is about the same as Ubuntu LTS. Plus Debian doesn't have snaps, Unity and the other Ubuntu-specific "value-adds".

(on the other hand, Debian's bug report is stuck in the 1920's, still being completely based on e-mail)

Edit: also, if you use new hardware, just install Debian Testing, configure /etc/apt/sources.list to say "trixie" instead of "testing", which will ensure that next year you'll be using Debian Stable then Trixie becomes Stable.

dyingkneepad··on Ask HN: Has anyone else stopped playing video games as an adult?
To me, what happened is that my tastes have changed. I no longer appreciate games that are huge time-sinks and require grinding or mindless tasks. I prefer things that are engaging and allow quick gameplay sessions. I tend to gravitate to Fighting Games and Indie Games, and I haven't played any of the huge recent AAA successes.

Other than that, gaming with my kids. Minecraft, TMNT: Shredder's Revenge, Cuphead, Lego games, etc.

dyingkneepad··on Ask HN: What are your go to shell one-liners?
The champion is definitely this:

    alias s='cd ..'
This was enabled by default in some distro, I think it was Mandrake Linux. I learned to use it and now I can't live without it. 's' is always ready to be immediately pressed, and it can even be spammed.

    export EDITOR=vim

    function highlight() {
        egrep --color "$1|\$"
    }

    function mkcd() {
        mkdir $1
        cd $1
    }

    function git-cite() {
        git log -1 $1 "--pretty=format:%H (\"%s\")%n" | sed -e 's/\([0-f]\{12\}\)[0-f]*/\1/'
    }

    alias gd='git diff'
    alias gpr='git pull --rebase'
(and a bunch of other similar aliases)

    function gcmr() {
        git checkout origin/merge-requests/$1
    }
dyingkneepad··on Ask HN: Could you train someone to do your job in a month?
No prior programming or domain knowledge? Absolutely not. Even good programmers take months to become productive in my team due to how obscure the knowledge that is required. You have to lean piles of stuff you would otherwise not have learned, on top of what a programmer in our "general area of knowledge" is expected to have.
dyingkneepad··on Ask HN: C++ devs who went C only
Sorry I can't give details about my specific job.

Companies that require C programmers:

- Companies that manufacture hardware (drivers are often in C). People often think little when they think about Hardware, but it's much more than usually comes to mind. I bet you didn't think about Cars and Tractors when you thought Hardware.

- Companies that develop operating systems (like Google, which develops multiple OSes, Microsoft, Sony, Nintendo, Cisco, Synology, Apple, Samsung, etc).

- Companies that use or write low-level system libraries or software that needs to be absolutely fast (think OpenSSL (security), networking stuff, databases, gaming engines, virtualization, compilers, AI, virus scanners, etc).

- Companies that do Open Source stuff (a lot of Linux stuff is still written in C).

Good luck!

dyingkneepad··on Ask HN: What older games are you playing through?
On a PS4, from the PS store.

I had originally played both the PC and the Playstation 1 port.

dyingkneepad··on Mobile Ad Blocker Will No Longer Stop YouTube's Ads
I tried using it for a while, but it always took forever to start loading the videos. It was significantly slower to the point of being annoying. I gave up.
dyingkneepad··on Ask HN: C++ devs who went C only
I am a dev who work mostly on C-only codebases and it's so... relaxing when I get the opportunity to write C++ so I can use stuff like std::vector or std::string. I think of C++ as a scripting language. On the other hand, I'm not looking forward to reading other people's C++.
dyingkneepad··on Ask HN: What older games are you playing through?
Just beat Doom last week and I'm now playing through Doom 2. It's still amazing. It brought me back some memories I had completely forgotten about me playing with my cousins. Also, remembering some old map layouts gave me a very weird feeling like I've been visiting a real place I've been when I was a child. 10/10 would recommend.
dyingkneepad··on How much faster are the Gnome 46 terminals?
The lack of mention to Linux's power management system during measurement is worrying. This is the kind of test that gets completely affected by Linux power management policies, up to the point where results may be meaningless.
dyingkneepad··on Google Books Is Indexing AI-Generated Garbage
And how often do you go back to read them?
dyingkneepad··on OpenBSD 7.5
Does anybody know what are the major companies employing OpenBSD developers these days? To what level are they invested?
dyingkneepad··on Intel to Receive $8.5B in Grants to Build Chip Plants
I think since Pat Gelsinger took over as the CEO, no stock buybacks were made.
dyingkneepad··on Ask HN: Who programs outdoors and how do you do?
> Anticipating the spring season in the Northern Hemisphere

Well, that's kind of an issue that's about to start: heat from the Sun will melt your laptops, your thermal firmware won't like it. Also the screen glare.

I, specifically, have to close the blinds in my office otherwise I can't see shit. And when I do benchmarks I put the laptop on top of the AC vent pipe.

dyingkneepad··on Ask HN: Are you teaching your kids to code? (and how)
They both have very different personalities, but I actually thought the oldest would be more inclined to do programming, the logic part of his brain works flawlessly, he is really really good with raw logic. He's the kind of kid that finds plot holes in TV shows.
← PreviousPage 4 of 25Next →