Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
SPBS
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
35 ms
·
361.
▲
by
SPBS
7y ago
> If you can, don’t reach for a goroutine, or a channel, or embed a struct, anonymous functions, going overboard with packages, interfaces for everything, instead prefer simpler approach rather than the clever approach. This reminds me o
362.
▲
by
SPBS
7y ago
I would say autohotkey is far superior to python on windows. The runtime comes with everything you need, no need to install/manage external dependencies. For example, I copy-pasted a 324 line snippet from the forums ( https://
363.
▲
by
SPBS
7y ago
Is Boeing still using Ada?
364.
▲
by
SPBS
7y ago
that would only make it more authentic
365.
▲
by
SPBS
7y ago
Surely they have to considered expressions to be assignable to a variable?
366.
▲
by
SPBS
7y ago
Vim highlights those by default too. I had no idea that was a default in vscode as well
367.
▲
by
SPBS
7y ago
Yeah I think the zeppelin bend is the greatest knot ever, extremely secure and 100% jam proof (jam proof means the knot is easily untied even after extreme loads). I can’t think of any other bend that has those two properties, usually it’s
368.
▲
by
SPBS
7y ago
The key point of the article is that Ruby and Go are similar for being very developer friendly and productive languages. It is not about keyword arguments or the expressive power of the language or something similar. Although it's not
369.
▲
by
SPBS
7y ago
If anyone is interested, here's a full list that I got it from that blew my mind https://support.apple.com/en-us/HT201236
370.
▲
by
SPBS
7y ago
What cmd-key shortcuts are you thinking of? FWIW every apple filepicker window I come across I can utilise the following shortcuts consistently, which is very nice: Cmd-Shift-A: Open Applications folder Cmd-Shift-H: Open Home folder Cmd-Shi
371.
▲
by
SPBS
7y ago
Yeah homebrew does that remote lookup thing when I try to complete `brew install xx<TAB>`. Because of the delay, it's not a good way to discover packages at all especially if the package name has an unexpected prefix that causes
372.
▲
by
SPBS
7y ago
I don't know if overprovisioning servers to counter traffic spikes is over engineering, the mental model is pretty simple. May not be as cost effective or infinitely scalable, but it's simpler to wrap your head around.
373.
▲
by
SPBS
8y ago
:tabedit % will do that in vim. :tabclose to close the tab when you're done.
374.
▲
by
SPBS
8y ago
I actually didn't notice until I read your comment. Seems fine enough to me :p
375.
▲
by
SPBS
8y ago
slight addition: command! Tab1 set ts=1 sts=1 sw=1 command! Tab2 set ts=2 sts=2 sw=2 command! Tab4 set ts=4 sts=4 sw=4 command! Tab8 set ts=8 sts=8 sw=8 The ! exclamation mark is there to prevent vim from complaining ab
376.
▲
by
SPBS
8y ago
They trumpet those features only because it doesn't conflict with their MacBook Pro aesthetic that's meant to appeal the the wider audience. Given a choice between a sexy MacBook Pro design and a pro-developer feature, Apple will
377.
▲
by
SPBS
8y ago
> And somehow I find the VSCode's multi-cursor feature so much more convenient than Vim's macros. That’s not an unpopular opinion, I suspect it’s because multiple cursors provide an extremely tight visual feedback loop (feedbac
378.
▲
by
SPBS
9y ago
I know that at least since El Capitan there was already the 'cut and paste' built in, you just have to Cmd-Opt-V instead of Cmd-V after Cmd-C-ing a file. Slightly different paradigm but essentially the same as Ctrl-X Ctl-V in wind
379.
▲
by
SPBS
9y ago
But we don't know how much of that is due to regular cars usage being much larger in volume compared to electric. Only way we'd know is if electric car usage ramps up to comparative levels, which seems quite far away given the cur
380.
▲
by
SPBS
9y ago
This has been my experience as well. My vimrc is full of little niceties that I could live without, but if I end up in a vim without my shortcut keys I'd be like 'Oh this again I guess I have to :bn :bn instead of <C-q><C
381.
▲
by
SPBS
9y ago
I see this caveat all the time, why don't people just rebind C-c to Esc and be done with it
382.
▲
by
SPBS
9y ago
There's no problem with having an older iOS that still runs as fast as the day you bought the phone. Many people I know purposely hold off the upgrades just to retain the same speed, and are satisfied with it
383.
▲
by
SPBS
9y ago
There's no reason why one can't type notes the same way as well, first listening and understanding before distilling that information into a few choice sentences. I find writing better because you can freely draw on your lecture n
384.
▲
by
SPBS
9y ago
I'm curious, then what makes you hate Emacs?
385.
▲
by
SPBS
9y ago
I remember playing the first few levels of this game when I was still new and starting to learn vim. It marked my first foray into programming as it was a requirement for my basic programming module, so vim tutor was quite intimidating back