Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
kbd
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
109 ms
·
511.
▲
by
kbd
10y ago
A few comments: I'm still happy with my iPhone 5. I still easily get more than a day's charge. (Full disclosure: I did actually have a battery issue a long time ago. They replaced the whole phone.) I'm very happy with my Pebb
512.
▲
by
kbd
10y ago
Yes, I get that, but because they're both based on Electron, they're essentially both browsers and will do all their rendering through DOM manipulation. Yet VS Code is reported to be much better at it than Atom, so I was wondering
513.
▲
by
kbd
10y ago
Every time Atom is discussed, it's pointed out how slow it is, and then others point out how VS Code is much faster yet is also based on Electron. Could someone explain what makes VS Code significantly faster? Full disclosure: Every ti
514.
▲
by
kbd
10y ago
Anyone else get an ad blocker message when you're not using one?
515.
▲
by
kbd
10y ago
If you already have a Time Steel, you should wait on this one. Your watch is less than a year old and the new ones are an evolutionary upgrade.
516.
▲
by
kbd
10y ago
> I've been trying to cut down on screen time and distractions. Is getting a smartwatch a good idea? You make it sound like those desires are at odds, when in fact a smartwatch supports your goal. Thanks to my Pebble, I only take
517.
▲
by
kbd
10y ago
I put real in quotes for a combination of at least the following reasons: * "real" as in real numbers instead of integers. * to acknowledge the fact that computer division is only ever an approximation of real numbers. * real as i
518.
▲
by
kbd
10y ago
> You can use // to get integer division more consistently Exactly. / in Python 3 now consistently means "real" division. If you intend integer division, you can explicitly say that with //. Apart from
519.
▲
by
kbd
10y ago
Posted the other day: https://news.ycombinator.com/item?id=11680369 No traction then, weird. Didn't know HN would accept dups within days.
520.
▲
The Panic Sign
(panic.com)
9 points
by
kbd
10y ago
|
0 comments
521.
▲
by
kbd
10y ago
Thanks, hadn't heard of TXR. Gema[1] is another tool I'm surprised I never hear mentioned. [1] http://gema.sourceforge.net/
522.
▲
by
kbd
11y ago
Haven't heard of this tool until now. Say I already use wget (or curl) for command line downloads. Besides the ability to download torrents, why should I switch?
523.
▲
by
kbd
11y ago
> Presumably, there aren't 10,000 people who want the same name. Pretty sure I've seen someone with a 5-digit number after the hash. In any case, you're right, it's a great system. In most Blizzard games, the name you
524.
▲
by
kbd
11y ago
This was weeks ago...
525.
▲
by
kbd
11y ago
This actually looks very similar to the MessagEase keyboard (which is a real thing) https://www.exideas.com/ Edit: here's their video: https://www.youtube.com/watch?v=45gR-J0Yj6M
526.
▲
by
kbd
11y ago
The presentation asserts that 0-based arrays have "More interesting mathematical properties". Dijkstra's classic paper on this is a must-read: http://www.cs.utexas.edu/users/EWD/ewd08xx/EWD831.P
527.
▲
by
kbd
11y ago
> but will send screenshots as well as videos once I do. Sweet! Thanks for following up, I'll keep an eye on this thread.
528.
▲
by
kbd
11y ago
> Guess I should clean up and open source it for the interested. I'd definitely be interested, at least in some screenshots to see what you mean by having both excel-like features and hierarchy. It sounds somewhat similar to Smartsh
529.
▲
by
kbd
11y ago
> The main reason is that I tend to work on a lot of servers... I agree with sticking with bash for that reason, but why not customize that as much as you want since it's easy to scp dotfiles around?
530.
▲
by
kbd
11y ago
> is a feature built into the Cocoa text system Well, yes, thanks. So it arguably should have worked in iTerm2 to start with. In any case, now with the same configuration it'll even work on Linux (I also configured ctrl+left and rig
531.
▲
by
kbd
11y ago
> Projects like oh-my-zsh are nice because they provide a much richer default that lazy folks like me can use without ever having to know or care about how to actually configure a shell because the alternative is that I just won't d
532.
▲
by
kbd
11y ago
Could someone please explain to me the attraction in using Oh My Zsh (and similar)? It seems strange to me to use others' configs. Over time I've customized my bash config and have all the information I want in my prompt. If I eve
533.
▲
Skylake CPUs have 'inverse Hyper Threading' to boost single-thread performance
(myce.com)
43 points
by
kbd
11y ago
|
21 comments
534.
▲
by
kbd
11y ago
Shortest way: $ false; echo success@$((! $?)) success@0
535.
▲
by
kbd
11y ago
> It was merely an observation... jo looked as though it was for use in the shell though, so I was curious as to the design decision here. I think it makes sense how it is, since if I typed "success@1" I wouldn't expect th
536.
▲
by
kbd
11y ago
Because the shell substitutes the return code before passing to jo, jo sees 'success@1'. How do you expect jo to know where the 1 came from to change its interpretation? Edit: or you're saying jo should always consider 0 true
537.
▲
by
kbd
11y ago
> I might have to use 'xclip' to go about making something equivalent. Right now my code just shells out to pbcopy on Mac, but you may be interested in pyperclip[1] which provides cross-platform access to the clipboard. [1] ht
538.
▲
by
kbd
11y ago
I remember getting a ton of homework in kindergarden . I never did it, and I always felt guilty about not doing it. I expected something bad to happen at the end of the year, but nothing did. Lots of bad lessons for life were learned that
539.
▲
by
kbd
11y ago
I have a stupid little 'clip' program I wrote that has a dictionary of common texts that I can call by name and have added to the clipboard. $ clip lod $ pbpaste ಠ_ಠ Maybe you can do the same without needing to re
540.
▲
by
kbd
11y ago
That excerpt from Grant is in the original article...
More ›