HNHacker News
TopNewBestAskShowJobs

000ooo000

2,550 karma · joined February 13, 2023

submissionscomments
000ooo000··on [dead]
Subject matter aside, this article comes off as an unhinged rant.
000ooo000··on On Being a Senior Engineer (2012)
I hope one day we all can realise that all of the pontification about the defining qualities of a 'senior' engineer, or the height at which the bar should be set, whether the bar has slowly been lowered over time, etc is all pointless. Senior or not senior is a lens useful only to HR and insecure engineers.
000ooo000··on On Being a Senior Engineer (2012)
>Avoiding responsibility for estimates is another way of saying, “I’m not ready to be relied upon for building critical pieces of infrastructure.”

There's potential for significant nuance in such a scenario and to reduce it to this silly quote hurts the piece, IMO.

000ooo000··on Discord runs Powershell on load to find Nvidia binaries
It's a direct quote from GP's bio.
000ooo000··on Discord runs Powershell on load to find Nvidia binaries
>I am here for good faith arguments, not just to poke at people.
000ooo000··on Metaprogramming in Bash
FYI one can avoid duping a command to echo it out as in some of the examples by using set -x (set -o xtrace). It can be disabled with set +x afterwards, or you can run it and your desired command in a subshell if performance is not a priority.

   (
       set -x
       ssh ...
   )
000ooo000··on Ditch the sim rig and use your car instead (2019)
>I probably wouldn't want to spend dozens of hours turning my car's wheels in a stationary position, it puts strain on things.

He blew his engine, at a raceway. Something tells me that gently steering back and forth on his garage's polished concrete floor isn't something he is concerned about.

000ooo000··on Principles I Find Interesting
>Occam’s Razor

>What is it? The simplest answer is most often correct.

Isn't it: for a given outcome, reached by two hypotheses, the hypothesis with the fewest assumptions is usually correct? Which isn't always necessarily the same as "simplest is usually correct", or at least how I commonly see it deployed.

I like Kant's response: "The variety of beings should not rashly be diminished".

000ooo000··on Ask HN: What code editors or IDEs are easily scriptable?
Neovim. You can use Lua, but you can also use your language of choice via msgpack.

https://github.com/orgs/neovim/repositories?type=all&q=Clien...

000ooo000··on The Coffee Machine Hiring Test
Why don't we cut to the chase and just start hiring based on star sign? What a joke
000ooo000··on Online Dating
>Online Dating. Is anyone having a good experience with this?

>Third, make the app look like a CRM.

>Now you are on to the qualify leads step. If you aren’t agreeing on a time to meet in the first ten messages, this is a dead lead.

What an incredibly ironic piece. Somehow I don't think any technical solution proposed here is going to improve online dating for people who think like this.

000ooo000··on Games Managers Play: Unmasking Psychological Tactics in Tech Leadership
>It’s not inherently wrong to do any of these things. They don’t necessarily require any lies to be told.

>commentators who oversimplify

000ooo000··on Please add a "dark" theme for Hacker News
You're right. Someone should do it for you, for free. /s
000ooo000··on Show HN: Vdm, a sane alternative to e.g. Git submodules
Not so much of a hot take as some confusion: what are the pain points of Git submodules that lead to this tool? You imply they're 'not sane', worse but don't mention any of the deficiencies that your tool overcomes.
000ooo000··on Why many studies wrongly claim it's healthy to drink a little alcohol
Also: am I supposed to take seriously the opinions regarding alcohol safety of a man with this profile picture?

https://substackcdn.com/image/fetch/f_auto,q_auto:good,fl_pr...

000ooo000··on Why many studies wrongly claim it's healthy to drink a little alcohol
>In his comments to the Guardian he more or less admits that he is only doing this because the benefits of alcohol consumption are inconvenient to people like him who want to regulate booze like tobacco...

>>“The idea [alcohol has benefits] has impacted national drinking guidelines, estimates of alcohol’s burden of disease worldwide and has been an impediment to effective policymaking on alcohol and public health,” he added.

That doesn't sound like he's "admitting to" what your linked article says he's admitting to.

Seems like a lot of trouble to go to, trying to debunk this Stockwell guy's work, only to make oneself look unreliable with such claims.

000ooo000··on Firefox Testing New Privacy Feature, Working with Meta
Had the misfortune of opening TFA while not on my PiHole's network. The undertones of the article seem a little ironic given how utterly riddled with ads the site is.
000ooo000··on Eza: A modern, maintained replacement for ls
Apologies for the slow response. They're not really interesting:

- ctrl+j => equivalent of 'ls -la' using exa/eza

- ctrl+k => git status followed by git log showing only current branch's commits (vs. tracked)

- ctrl+l => sometimes I'll manually bind this to 'git reset @~'

- ctrl+; => thinking I'll use this for calling fzf through my wrapper which sets up hotkeys for either `cd`/`$EDITOR`-ing the selected item

Point is to reduce typing of the commonly-used commands.

Somewhere in my shell profile/rc setup (I'm on Workman, not Qwerty, hence NEOK instead of JKL;):

    bash_functions=(
      "__bash_ctrl_n"
      "__bash_ctrl_e"
      "__bash_ctrl_o"
      "__bash_ctrl_k"
    )
    
    for bash_function in "${bash_functions[@]}"
    do
      if ! type -t "$bash_function" 1> /dev/null
      then
        eval "$bash_function() { echo \"$bash_function(): This function should be overridden/aliased\"; }"
      fi
    done
Then in my .bashrc (Note the leading space prior to `__bash_ctrl_x` - with Bash's `HISTCONTROL=ignorespace`, these keybinds won't pollute your history):

    bind '"\C-n": "\C-u __bash_ctrl_n\C-j"'
    bind '"\C-e": "\C-u __bash_ctrl_e\C-j"'
    bind '"\C-o": "\C-u __bash_ctrl_o\C-j"'
    bind '"\C-k": "\C-u __bash_ctrl_k\C-j"'
Then in my app-specific configs/dotfiles:

    __bash_ctrl_n() { git status; git log ..; }
Bonus: these Bash bindings can be cool for little QoL tricks, e.g. Ctrl+Y to rerun the last command with sudo.

    bind '"\e\C-y": "\C-usudo !! \C-j"'
Other good ones:

- Append `--help | $PAGER` and run

- Rerun last command and pipe into $PAGER (some terminals support viewing last command output in a pager without re-running it, e.g. Kitty)

Hope that helps.

000ooo000··on Bash-Oneliners: A collection of terminal tricks for Linux
Yeah if you can't locate code you wrote in your own home directory, I dunno what to tell you mate. I'm not here to tell you not to continue your love affair with reverse history search. Do what works for you. All I did was share the easiest way I know to persist a history item as a fn or alias.
000ooo000··on Bash-Oneliners: A collection of terminal tricks for Linux
Easiest way I know of:

Ctrl+R to start reverse search

Type enough to locate last command

Ctrl+X, Ctrl+E to launch command in $EDITOR

Wrap in fn() {} or alias

Save as, or append to some file, e.g. in Vim `:w >> ~/.aliases`

000ooo000··on Eza: A modern, maintained replacement for ls
Bash users: FYI you can bind shortcuts like this, too. I have my right hand home row keys bound to __bash_ctrl_n() (for e.g.), and various tools in my dotfiles override these functions (git, if installed, sets up __bash_ctrl_e() to run git status and git log).
000ooo000··on "No way to prevent this" say users of only language where this regularly happens
This was only mildly amusing the first time, and it doesn't improve with every repost.
000ooo000··on Ask HN: Those who run mainly Linux and game on Windows, what's your setup like?
1 x PC

1 x GPU

2 x SSD

1 x Windows 10 host OS (SSD 1)

1 x Windows 10 guest OS (SSD 1)

1 x Arch Linux guest OS (SSD 2)

My limited gaming is on the Win host, I do my dev in the Arch guest, and I do general BS in the Win guest. The Arch guest is using SSD 2 as a physical disk whereas the Win guest has a small virtual disk on SSD 1. I was experimenting with being able to run the Arch install as a 'native' boot while still being able to use it as a VM but I never finished setting that up - would be nice, as Hyper V GPU acceleration doesn't/didn't seem to exist and it's noticeable on my 4K screen.

There's a couple of other misc VMs set up, like Debian and a development-oriented Win 10, but I use those much less.

I wanted to try the VFIO stuff but the anti-cheat problems were off putting and I ultimately lacked the gusto.

000ooo000··on CSS Classes Considered Harmful
Good job everyone. We're almost back there again. Twenty years later, 2026 will be the year of semantic CSS, though I guess it will have a new, cool name. Complete Stylesheets or something I dunno I'm not in marketing.
000ooo000··on What happened to blogs
Can't speak to the data sci Medium content, but Medium's low barrier to entry is its downfall for programming content; I will ignore any Medium link I see because the articles are somehow nearly always crap. I suspect most programming articles on Medium are just devs employing that advice re. getting hired, i.e. "get your name out there! Start a blog!"
000ooo000··on Tell HN: your next idea should focus on aged care
You've got it all wrong. Entrepreneurs aren't short on ideas; they're short on ideas that will make them rich. Why/Who's paying for a robot to wipe grandpa's butt when "there's a huge volume of exploited laborers keeping the system afloat"?
000ooo000··on Ask HN: What is your favorite rolling Linux distro?
Arch, but I have nothing interesting to contribute to the topic. Instead posting to share my Pacman 'checkupdates' Bash wrapper that splits up the output into major/minor/patch/packaging sections for easy reading from the Waybar icon tooltip where this I have it show. Helpful to know if I can expect issues from major updates (though not everything is semver'd obviously).

e.g.

    Major:
        * neovim 0 -> 1

    Minor:
        * jq 0.1 -> 0.2
etc

https://pastebin.com/FeVg0kDU (expires 202408)

Definitely a case of something that started as Bash and wound up likely better as something else. It's not a clean script, bit of inconsistency - don't @ me :)

000ooo000··on It's not just you, Next.js is getting harder to use
I don't think that distinction is key to the insinuation
000ooo000··on It's not just you, Next.js is getting harder to use
Relax. No-one is taking your precious jQuery from you.
000ooo000··on Ask HN: What brought back the joy of programming for you?
Same here, big Lit fan.
← PreviousPage 12 of 29Next →