Live data from Hacker News

Viewing profile — gnum4n

gnum4n

HN member
Joined
Tue, May 04, 2021, 3:23 PM UTC
HN karma
85
Public activity
15 items

About gnum4n

I write code and sometimes blog about it on mattnakama.com

Email: matt+hn@mattnakama.com

Recent public activity

  1. comment
    Comment #40025702

    That is a very good point. Why buy big iron "pets" when you can buy x86 "cattle"? It works for a lot of stateless apps and services. A node dies, and k8s quickly moves the workload…

  2. comment
    Comment #39889477

    And now that they bought RedHat, they're eagerly dropping support for all linux distros that are not RedHat, and they're attempting to lock out anyone who wants a personally afford…

  3. comment
    Comment #39889086

    Aside: I hate the popup subscription CTA that asks for my email address in the middle of reading the article. How could I know whether I want to subscribe before I finish reading, …

  4. comment
    Comment #39888882

    Former P-series/AIX SME here. I agree 100%. IBM's training programs are a joke. P-series and mainframe machines have a lot of cool tech, and they're very resilient. They can even l…

  5. comment
    Comment #39888774

    As a former P-series/AIX specialist, I can say that the pay is not as good as a decent linux job, and the career growth potential is very low. Your career options are basically to …

  6. comment
    Comment #39810779

    My Windows PC is only for gaming. That said, I found a simple way to avoid the worst of the Windows update problems: Always stay at least one major version behind. That means laggi…

  7. comment
    Comment #37305077

    Ask for more stock/promotions/pay. You won't get what you don't ask for. As an early employee, you have value in your company knowledge. Otherwise, I'd probably just leave for a co…

  8. comment
    Comment #37286091

    Yeah, but if the phone/browser decides to delete some of the PWA's code to save space, you won't be able to use any maps at all until you connect back to the internet. Before you s…

  9. comment
    Comment #37285809

    Yes, "Add to home screen" is exactly how you install a PWA to your phone =) It's a bit confusing, isn't it? "Add to home screen" makes it seem like you're just adding a link, but i…

  10. comment
    Comment #35048536

    The UI looks pretty neat, but the install instructions are essentially "curl {url}/install.sh | bash -", which is kind of icky and runs a bunch of sudo commands. Since you're using…

  11. comment
    Comment #27065027

    If Go does have some kind of "__builtin_expect" equivalent, I can't find it. I'd say it probably doesn't exist. Even if it _did_ exist, the Go compiler authors would reserve it for…

  12. comment
    Comment #27047267

    Author here. Thanks for the advice! That's a very good point. Maybe it's worth doing a follow-up on this? I originally thought of doing unit tests to ensure it's actually running i…

  13. comment
    Comment #27046978

    In that case, the code would probably work like the C code example I gave. So... I guess you're right. It _can_ be done in Go without `if` if we use unsafe. I can't argue with that…

  14. comment
    Comment #27046870

    You're probably thinking of the CMP instruction: https://www.aldeid.com/wiki/X86-assembly/Instructions/cmp TEST does a boolean AND test: https://www.aldeid.com/wiki/X86-assembly/In…

  15. story