Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
hibbelig
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
42 ms
·
451.
▲
by
hibbelig
7y ago
> Python's rule is simple, it's JS that came up with confusing rules. I think Perl was there first: in addition to 0 and "" being falsy in Perl, "0" is also falsy. Then there is this nifty Perl value "
452.
▲
by
hibbelig
7y ago
I’ve worked in an office where they gave me Windows 2000, but I didn’t mind because I could see the XP scenery when looking out the office window :-)
453.
▲
by
hibbelig
7y ago
I use Karabiner Elements to allow me to press and hold space while hitting 1234567890-= to get F1 through F12. I find this to be an acceptable workaround.
454.
▲
by
hibbelig
7y ago
> It has, but there's a fundamental incentive problem that I have to wonder might be a byproduct of how younger people are switching jobs so often. And the young people switch jobs so often because the corporations don't care
455.
▲
by
hibbelig
7y ago
I was very surprised as well. It’s pretty awesome isn’t it?
456.
▲
by
hibbelig
7y ago
You would or would not have thought? I suspect you forgot a negation.
457.
▲
by
hibbelig
7y ago
I think if it avoids having to repeat the type then type inference helps. And especially that last Java example, there I feel it is useful: for (var x : someMap.entrySet()) { String key = x.getKey(); Entity value = x.
458.
▲
by
hibbelig
7y ago
Well, there is agile as described in the Agile Manifesto: https://agilemanifesto.org/ And then there is Half-Arsed Agile: https://www.halfarsedagilemanifesto.org/ The author meant the former. Writing lies
459.
▲
by
hibbelig
7y ago
For the record, I found 67% of the words, and said yes to 0% of the nonwords. I proceeded conservatively, only saying yes when I have seen the word before, not when I guessed it should be a word. They say this is fairly high for a native s
460.
▲
by
hibbelig
7y ago
I think GP was complaining about desktop-main, not about defun.
461.
▲
by
hibbelig
7y ago
The _intent_ was to release this patch on June 11, but Microsoft didn't make it.
462.
▲
by
hibbelig
7y ago
I got cVim related stuff in the header :-)
463.
▲
by
hibbelig
7y ago
Stops in the suburbs are closer than in the city center?
464.
▲
by
hibbelig
7y ago
> So a good syntax highlighter should differentiate between these different kinds of comments. Grey out the javadoc stuff, but emphasize the informative and warning comments. But those who write Javadoc well, will put important stuff i
465.
▲
by
hibbelig
7y ago
>> Commented-out code should not exist, granted .... I'll remove it later, I promise. > In my opinion, you should never commit commented out code. But the editor works on uncommitted code, too. GP doesn't want to be
466.
▲
by
hibbelig
7y ago
> Sad to see the same thing happening on Everest. If I saw that line, I would immediately turn around. Unfortunately, in this picture, turning around meant to go back up, towards the summit.
467.
▲
by
hibbelig
7y ago
I don't quite see that I should be using Edge on Mac because Edge on Windows is easier to manage.
468.
▲
by
hibbelig
7y ago
Without a shell, how does one debug if anything goes wrong?
469.
▲
by
hibbelig
8y ago
I agree with GP. The 'sign' function with a mandatory argument I understand. Making the argument optional I don't understand.
470.
▲
by
hibbelig
8y ago
Sane or not, it pays the bills... It really does help to get a reminder from the IDE regarding which methods exist and what their parameter lists are. For C, ctags works well enough I guess and we can complete function names that way. But
471.
▲
by
hibbelig
8y ago
I don't see how they could be done with regexes. It seems to me that most of them require class hierarchy analysis so that you don't touch the wrong method that just happens to have the same name.
472.
▲
by
hibbelig
8y ago
The article mentions this problem near the end, and the component they built provides a solution.
473.
▲
by
hibbelig
8y ago
AFAIK, there are no neutered professions in German. So that would be a big change, it's hard to imagine. I know very little French, but if I understand correctly, because person in French is female (la personne), you could have a sent
474.
▲
by
hibbelig
8y ago
A normal function call evaluates the arguments and then calls the function. Because macro expansion does something before evaluating the arguments, you can say that evaluating the arguments has been delayed. I feel this is just looking at t
475.
▲
by
hibbelig
8y ago
But you can have the initial key show a notification that describes the possible keys to press next. Then if you forget a key combo, you can always look it up.
476.
▲
by
hibbelig
8y ago
On iOS, the keyboard just suggests compounds. This works for those you use often. Another option is to choose a prefix, then backspace (over the space), then add to the prefix. Example compound word: Schleifmaschinenverleih (word boundari
477.
▲
by
hibbelig
8y ago
Why can't the NLP split the compounds? I think this problem of splitting happens in multiple languages -- the submission mentions German, and then you have Chinese which doesn't have spaces, so you have to split words. (I unders
478.
▲
by
hibbelig
8y ago
Yes. Command line completion for fx is pretty obvious, if you know what fx does. It's missing a link to fx. https://github.com/antonmedv/fx
479.
▲
by
hibbelig
8y ago
Actually, I found this pretty useful. I have to use "graphical" programs (browser, IDE, email client) rather than terminal based ones. And the graphical ones seem to assume that their windows are pretty large. Let's say I s
480.
▲
by
hibbelig
8y ago
The article says that making the problems too hard results in a _worse_ selection, and not just more false negatives.
More ›