Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
hibbelig
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
14 ms
·
121.
▲
by
hibbelig
4y ago
After a class on data structures and algorithms, a white board interview asking you to invert a binary tree is very different from the same interview when you apply for a job.
122.
▲
by
hibbelig
4y ago
I live in a small city and work in a nearby larger city.° The distance is 45km and it takes me about 45mins to drive the car, door to door. Public transport is pretty good on this connection, but overall it takes me 75-90 mins, because I n
123.
▲
by
hibbelig
4y ago
What's also useful is to set "commit.verbose" to true; then you get the diff in your editor when composing the commit message. This allows reviewing the diff and you can abort the commit if it's wrong.
124.
▲
by
hibbelig
4y ago
I've started using lazygit and/or tig, these present a UI in the terminal and easily allow staging files. Lazygit also easily allows staging parts of a file; not quite sure about tig.
125.
▲
by
hibbelig
4y ago
One of the programs is needed only because caps lock was rebound at the OS level. But Karabiner Elements can do the control or escape trick without that remapping. I do the window switching with Hammerspoon and a prefix key: after typing al
126.
▲
by
hibbelig
4y ago
The Dutch one is explained in the post as “women who are f cking”, but the German one is not spelled out quite so clearly. It’s “panties for f cking”. Does that help?
127.
▲
by
hibbelig
4y ago
Not familiar with this topic. What does $H mean? Annual gross salary?
128.
▲
by
hibbelig
5y ago
Sven also has a command for reverting a commit, ie committing the inverse of a previous commit.
129.
▲
by
hibbelig
5y ago
My wfh environment is a desk in a corner of the bedroom, an enclosed area about 150cm x 150cm, with walls on two sides and shelves on the other two, with two little gaps for the light. It's awesome. It feels so comfy. It's got t
130.
▲
by
hibbelig
5y ago
May no programming language ever introduce “foo” or “bar” keywords, lest mayhem be upon us.
131.
▲
by
hibbelig
5y ago
I once looked at 30 lines of code, analyzed them and found out that they always computed true, never false. My background knowledge told me that Zeit was the correct value. But I did not dare to eliminate it in the main branch, only in a re
132.
▲
by
hibbelig
5y ago
Ah, yes. I was having a discussion with BSD folks about how I was missing the equivalent of "service reload sendmail", and they replied that I have no business managing my own mail server if I don't know I should send SIGHUP
133.
▲
by
hibbelig
5y ago
I used to love tiling. But then I started to use apps that needed more than half of the screen: web browser, IDE. Now I put my IDE full screen and the browser about the top right 70% of the screen so that the console output in the IDE peeks
134.
▲
by
hibbelig
5y ago
Isn’t there an option to support spaces by LRU? It defaults to on. I turned it off ages ago. But I also stopped using spaced some time after that so perhaps the option was removed…
135.
▲
by
hibbelig
5y ago
Thank you. I completely missed that.
136.
▲
by
hibbelig
5y ago
If you think that the words "white supremacy" in that commit message allude to Strunk and White (maybe in a tongue-in-cheek way), then how does "people of color" fit into this?
137.
▲
by
hibbelig
5y ago
Another example: If you know how to pronounce "in" and "famous", you still don't know how to pronounce "infamous".
138.
▲
by
hibbelig
5y ago
Ad sites know which urls I’m accessing, too. Google should prohibit those, too.
139.
▲
by
hibbelig
5y ago
> You are free not to buy. Hardly. It's a mandate for the car manufacturers.
140.
▲
by
hibbelig
5y ago
The switcheroo happens in every three-digit group: When you read the number 123,123,123 out loud, you say "drei(3)-und-zwanzig(20)" three times. (I've used comma as the thousand separator here.)
141.
▲
by
hibbelig
5y ago
Very interesting. People are different. While I don't like this auto-complete popups, I do like the auto-pairing of quotes and parentheses and brackets of various kinds. Once you know that your editor does it, it's easy to pred
142.
▲
by
hibbelig
5y ago
All these friendly gooey things want to help you by popping up this kind of stuff. But luckily, some of them let you turn it off. I've told IntelliJ and Eclipse and VSCode to please stop popping up suggestions, and let me type Ctrl+sp
143.
▲
by
hibbelig
5y ago
The use goes to the Apple ID website to confirm. Then they know if the message was genuine.
144.
▲
by
hibbelig
5y ago
It took me quite a while to figure out what was being migrated from which source to which target. I wish the article would have provided that context, not leaving me guessing. It seems to be about migrating existing applications to another
145.
▲
by
hibbelig
5y ago
There are two German words that uppercase to the same: Masse (physical unit, measured in kg usually: mass) and Maße (plural of Maß: measurement). So downcasing MASSE either requires understanding the text or results in a superposition.
146.
▲
by
hibbelig
5y ago
Besides syntax, the home lists quite a few other items: static type checking, meta programming, concurrency. I don't think it's fair to ask makers of a general programming language to specify what it's for. It's general
147.
▲
by
hibbelig
5y ago
> I don’t agree with this perspective: why do entry-level students have to understand the internals behind compiling their code, and weird edge-cases like misspelling import? TFA doesn’t say that. It says to teach entry level students
148.
▲
by
hibbelig
5y ago
Very interesting. Thank you so much for teaching me. I guess it would be possible to create a git plugin that tracks such picked cherries and that provides changed merge and rebase commands. (The plugin would use the existing plumbing to
149.
▲
by
hibbelig
5y ago
The very concept of the DAG makes it impossible to represent this situation. Am I overlooking something? On branch B, we have this chain: [x]-->[y]-->[z] And because x is a parent of y, if we record y as merged, then we also record x
150.
▲
by
hibbelig
5y ago
Svn does do three-way merges, see the section "External diff" in the svn book. One thing I found in svn but couldn't find in git is merge tracking: you can merge individual commits and svn records which commits have been merg
More ›