Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
hibbelig
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
52 ms
·
541.
▲
by
hibbelig
9y ago
I feel it's a matter of style. I've resisted a long time, but then I've come to appreciate: some_function_name('some long thing', further, arguments) Assuming a tab width of four, there is no probl
542.
▲
by
hibbelig
9y ago
Maybe integration with Language Server can provide useful functionality like navigation and completion.
543.
▲
by
hibbelig
9y ago
The tax the OP is talking about is not the iteration itself, it's the book-keeping required by the form of the `for` loop. One example: if you want to iterate over the elements of an array `a` of size `n`, the header of the `for` loop
544.
▲
by
hibbelig
9y ago
I really liked going 112 km/h with that 200D, but I also had faster cars. 200 km/h is my personal speed limit: the car might be able to go faster, but I can't. It's the responsibility of the fast driver to make sure the
545.
▲
by
hibbelig
9y ago
I don't get it. I used to drive a Mercedes 200D (W123) for some years, and 112 km/h was my preferred speed. Overtaking a truck does take some planning if I don't want to be an obstacle on the left lane, but you know, at tha
546.
▲
by
hibbelig
9y ago
De gustibus non disputandem. I like grep... It does not do the same thing as Ctrl+F in my editor, but that's fine.
547.
▲
by
hibbelig
9y ago
Well, significant whitespace will play the role of braces, right? You can't have your editor "fix" the braces, either -- the author has to put them in. In the same way, you can't have your editor "fix" the in
548.
▲
by
hibbelig
9y ago
Phoenix can do this ( https://github.com/kasper/phoenix ). Hammerspoon can also do this (hammerspoon.org). Phoenix is programmed in JS, it seems faster for me, has fewer features. (But what you want is there.) Hammerspo
549.
▲
by
hibbelig
9y ago
I think experiencing it is stronger than abstractly thinking about it.
550.
▲
by
hibbelig
10y ago
I think VS and VS Code are about as similar to each other as Java and JavaScript. In other words, the names are similar, but everything else is not so similar.
551.
▲
by
hibbelig
10y ago
What is exVIM?
552.
▲
by
hibbelig
10y ago
If you run PowerShell, then PSReadline will give you a similar editing experience in PowerShell. I believe that PSReadline is built into the PowerShell that's part of Windows 10.
553.
▲
by
hibbelig
10y ago
There is Divvy which is an interesting approach. There is Hammerspoon if you fancy Lu's hacking and Phoenix if you fancy JavaScript. Hammerspoon can do more.
554.
▲
by
hibbelig
10y ago
What do they gain from me having to type "ls -lah" instead of "ll"?
555.
▲
by
hibbelig
10y ago
They mention Clojure, and the Clojure interpreter is a Java program, which is not native. So there is nonzero information in mentioning that the interpreter is native.
556.
▲
by
hibbelig
10y ago
For the IDO part: If you open a folder in VS Code, then you can use Ctrl+P or Ctrl+T (I keep forgetting which), and that allows you to type part of the file name, and then it will find it. The best is, it searches the entire subtree of th
557.
▲
by
hibbelig
10y ago
The alternative forms are just syntactic sugar. Don't you like sugar? (But the basic form is "cond".) (In C, you can say "x = x + 1" or "x += 1" or "x++", where the first one is enough. Still
558.
▲
by
hibbelig
10y ago
It's just a consequence of the Lisp syntax: (if COND THEN ELSE), so this list has four elements, and the second is the condition, the third is one leg, and the last is the other leg. How would you make the "THEN" part longer
559.
▲
by
hibbelig
10y ago
This blog post does contain those recommendations: https://promon.co/blog/tesla-cars-can-be-stolen-by-hacking-t... Near the bottom, it says: The app should provide its own keyboard for entering the username and passwo
560.
▲
by
hibbelig
10y ago
It's silent. Maybe to you it makes no difference, but for me it's really important.
561.
▲
by
hibbelig
10y ago
What are those risks?
562.
▲
by
hibbelig
10y ago
nmh FTW!
563.
▲
by
hibbelig
10y ago
My (20 seconds) experience: In "selection" mode there is an eye and it moves when my mouse moves, but it does not follow the mouse pointer. For example, I could move my mouse to the right, and the eye will go both left and righ
564.
▲
by
hibbelig
10y ago
It doesn't follow the mouse pointer. Does anyone know of a macOS equivalent of xeyes?
565.
▲
by
hibbelig
10y ago
Why the format the site owner wants? Why not the format the user wants?
566.
▲
by
hibbelig
10y ago
My private machine is an MBP and I like the feeling of the keyboard. So I bought a Cherry Clean Desktop, and it's a pretty good approximation of that MBP feeling. Slightly more force is needed, but only slightly.
567.
▲
by
hibbelig
10y ago
This uses Nashorn to execute the Javascript.
568.
▲
by
hibbelig
10y ago
In German we have the two adjectives "einsam" (lonely) and "allein" (alone), and I guess the second one goes with solitude. So the concepts are there.
569.
▲
by
hibbelig
10y ago
Let's say for simplicity's sake that _every_ bug needs exactly five years until it is found. This means that you will see zero bugs introduced in the last five years -- they haven't been found yet!
570.
▲
by
hibbelig
10y ago
_You are using mysql, you make a transaction with say deposit and withdraw._ _What happens on the mysql machine if you pull the plug exactly when mysql has done the deposit but not the withdraw?_ MySQL guarantees that this cannot happen. Th
More ›