News for hackers. Stuff that matters.

informalo

I often manually switch to the built-in mic of my MBP [edit: while using Airpods for audio output]. To switch more quickly, I found that when you alt-click on "Sound" while in the Control Center, you can select audio devices for input and output independently of each other.
Re:I Always Hit the Crosswalk Button (2015) on Thursday November 30, 2023 @01:46PM (#38477359)
These are only there to help blind people cross the road. They have no influence at all on how fast the pedestrian light will turn green [1].

[1] https://www.absv.de/die-blindenampel

Re:Git Branches: Intuition and Reality on Thursday November 23, 2023 @10:24AM (#38393699)
Yup. If it works, it ain't stupid.
Re:Git Branches: Intuition and Reality on Thursday November 23, 2023 @10:22AM (#38393687)
> You do need to explicitly specify the other branch when merging or rebasing or making a pull request (like git rebase main), because git doesn’t know what branch you think your offshoot is based on.

I think a big issue with the presented intuition is that it's limited to wanting to merge the base/trunk/main branch into your feature branch. However, sometimes you want to merge a feature branch into another feature branch. With this in mind, you can form a better intuition, imo, where it's absolutely clear that you have to specify what branch you want to merge into another one.

It seems to me like this is only happening to articles from bigger publications. Perhaps because these publications have Medium monetization options turned on and this paywall is suddenly applied to all monetized publications as a "new feature"? Terrible, really.
There is a very good TED talk on the relationship between self-worth and procrastination that also, like you, makes a point about separating "me and my work" [1].

Watching this about a year ago was eye opening to me and I wished I'd found this video when I started studying in college!

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

Something related I came to know only recently is that it has been shown to be more effective to floss before brushing teeth. I have been doing it the other way around my entire life.
Well maybe the article was written using ChatGPT.
For anyone looking to be infected by this mass sociogenic illness, here is his most popular video: https://www.youtube.com/watch?v=KLhaYHJTXmI
Re:Jsonhero.io: Enhanced JSON structure visualization on Tuesday November 29, 2022 @04:17PM (#33793440)
Good point, thanks.
Similar resource for zle which is used by zsh instead of readline [1].

[1] https://thevaluable.dev/zsh-line-editor-configuration-mousel...

Re:Jsonhero.io: Enhanced JSON structure visualization on Tuesday November 29, 2022 @06:39AM (#33786302)
You can do that with Chrome dev tools: Network -> No throttling -> Offline

Don't know how reliable this is though or whether a web developer could work around this.

Re:The Perks of a High-Documentation, Low-Meeting Work Culture on Tuesday November 22, 2022 @04:47PM (#33711992)
With uBlock

  *SmoothScroll*$script
Re:Extremely Linear Git History on Tuesday November 22, 2022 @10:08AM (#33706590)
Other customers also brew-installed: fuck [1]

[1]: https://github.com/nvbn/thefuck

Re:Ask HN: What made you finally grok Git? on Friday November 18, 2022 @07:47AM (#33653818)
My basic understanding

- Untracked: Files that Git doesn't know about.

- Tracked: Files that Git knows about. Further divided into unstaged files (will not be part of the next commit) and staged files (will be part of the next commit).

What helped me here was to know that it's possible to track a (yet untracked) file without staging it:

  git add --intent-to-add <path>
For userstyles, you can do that with uBlock's custom filters [1] [2]

  news.ycombinator.com##a:has-text(Hacker News):style(color: green !important)
[1]: https://github.com/gorhill/uBlock/wiki/Procedural-cosmetic-f... [2]: https://github.com/gorhill/uBlock/wiki/Static-filter-syntax#...

Older »