Better HN
topnewbestaskshowjobs
Log inSign up

0942v8653

1,248 karma · joined Oct 17, 2014 (12y ago) · 552 submissions

email is my username at the email service run by google
Submissions

comment 11y ago · link · parent

Does this allow highlighting function names in function calls? PythonImproved[0] does this (see lines 9 and 23 of [1]).

[0]: https://github.com/MattDMo/PythonImproved

[1]: https://packagecontrol.io/readmes/img/048b2068c7a455f3796334...

comment 11y ago · link · parent

There is a link in the old thread: https://news.ycombinator.com/item?id=4242002

comment 11y ago · link · parent

https://xkcd.com/567/

comment 11y ago · link · parent

Yeah but if you suspend your machine doesn't it stop accepting connections? I personally set up a tmux window on a raspberry pi for this, but it's too much to expect a whole company to manage this (vs. a nice simple web GUI like slack)

comment 11y ago · link · parent

The main issue with IRC is that you have to stay connected all the time to recieve messages, and you have to leave your IRC client to see and search the logs (unless you have some intermediate IRC client server that runs all the time). It's just not as nice.

comment 11y ago · link · parent

I didn't like the old warning, because it looked more like a yellow up arrow to me than an orange warning triangle (I am colorblind). At first I thought the old one meant the page had upgraded or better security. I don't like the new one much better, though. I'd prefer to have the red slash through it like the one that appears in some cases.

comment 11y ago · link · parent

> web-apps as desktop-apps is probably the future

Can you expand on this? I'm interested in your viewpoint because the general consensus on HN seems to be that webapps are better off as webapps and desktop apps are better off as desktop apps—being in the browser seems to be good enough for most webapps, and when packaging something as a desktop app there are little quirks that mess it up.

comment 11y ago · link · parent

Just in case the server does die, here's a snapshot someone took a few minutes ago: https://archive.is/TkaU4

comment 11y ago · link · parent

When I switched from emacs to vim, I was looking for something that

1. starts up fast - I used emacsclient but that got to be sort of a headache, and still did not start up as instantly as Vim does

2. Better keybindings - I would have used evil-mode but I felt at the time that it would be better to use actual vim.

3. Runs in a terminal window - Absolute necessity, so my only real choices were emacs and vim. I liked the workflow I had with `emacs *.py` or whatever I was doing but I thought at the time that vim would better support it.

A friend actually pushed me into using vim, which is funny because he uses the arrow keys with it... I got used to vim way quicker than I expected to, mostly because it was the only editor I installed at all (I switched from emacs to vim at the same time I switched from mac to linux)

Of course i do not recommend you switch between them but those were my reasons at the time.

comment 11y ago · link · parent

As I interpreted it, the "problems we would not have without developers" isn't referring to the people, it's referring to the tools and processes of development. Especially the tools; don't let "the tools themselves [become] a problem".

comment 11y ago · link · parent

> the billions of js frameworks and wars about how everything anyone tries to do is wrong

IMO...

This isn't universal. HN is one of the places where it is the worst. I probably wouldn't be fighting with Go right now if it weren't for HN; I'd probably be using Java. Staying up to date isn't really as important as it appears. There are people having successful careers with COBOL right now, and while that may not be where you want to go, switching between JS frameworks does not sound any better. And you can basically ignore the JS frameworks. They don't matter.

Because of HN I switched from TextMate to Sublime Text to Emacs to Vim. What did I get out of it? Not a thing. Maybe I can type a little faster when I am in vim. But mostly I just get annoyed when the rest of the OS doesn't support the shortcuts that I am now used to. I switched from Mac to Linux to Mac. I got nothing out of it, except that now I get more annoyed when I can't do something on my Mac that I was able to do on Linux. Don't do what I did.

I think it's completely possible to be a developer without all this, as long as you can recognize when you are wasting your time.

comment 11y ago · link · parent

ctrl+[ works in any vim because it sends the exact same character as Escape. Unless your terminal emulator is very oddly configured, then it will work the same.

comment 11y ago · link · parent

Apple reverses scrolling by default. I don't know about other coders' computers, but there are people who don't know how to change it, and whenever I boot into recovery mode it gets reversed.

comment 11y ago · link · parent

It seems weird to me that Postgres and MySQL are both going down. I'd expect interest in Postgres to be rising at the very least—what are people switching to?

comment 11y ago · link · parent

How would you sign in to Nautilus Prime without enabling cookies?...

comment 11y ago · link · parent

Maybe I'm biased because for the music I listen to, the quality makes little difference, but if you want the high bitrate, shouldn't you expect to actually pay for the song?

287.

Introducing AP Computer Science Principles(apstudent.collegeboard.org ↗)

2 points · by 0942v8653 · 11y ago · discuss

comment 11y ago · link · parent

OS X users don't have that option unfortunately.

comment 11y ago · link · parent

I read through nearly the entire thread thinking that the Adblock mentioned had a capital B.

comment 11y ago · link · parent

The commands you mentioned along with "ci'", "ci[", and "ciW" to replace all text between delimiters have been some of my favorite to use. It really annoys me when my terminal's vi-mode doesn't support "ci" (I think it's vim-only).

comment 11y ago · link · parent

Way more useful (for me anyway) is mapping Capslock to ESC. It works with any vi anywhere as long as you are using your main machine to connect. Also with inoremap don't you have to wait for the letter j to show up until you type your next character? That would drive me crazy.

Edit now that I have actually looked at the article: Yes, you can map it to Control but for me it's an awkward place to put a modifier. What if you want to do Ctrl-A? Ctrl-C? At least the way I type, I'm better off using the one in the corner.

comment 11y ago · link · parent

I find that even moving to the F1-F12 row is sometimes slower than hitting a key combination (whether with a prefix key or a modifier) somewhere closer. Back when I used Caps Lock as both Escape (am vim user) and my i3 modifier I could keep my hands on the home row when switching windows. (I'm on oS X now...)

The layout posted would be useful for launching apps and resizing windows but I can't imagine using it for copy and paste or typing things like "px".

comment 11y ago · link · parent

Reminds me of http://ackuna.com/badtranslator which was way better back when you could still use Bing and Google Translate.

comment 11y ago · link · parent

I've never seen anyone decide not to get an iPhone because the screen is too fragile. I have seen people decide to upgrade their phone because the screen on their old one is broken.

comment 11y ago · link · parent

https://news.ycombinator.com/item?id=10274898

comment 11y ago · link · parent

pvg pointed[0] me to Safari Blocker[1] which had some issues at first (I got a couple freezes when I installed it) but since then has worked well. It is free and allows you to make your own filters as well.

[0]: https://news.ycombinator.com/item?id=10232639

[1]: Safari Blocker by Luke Li https://appsto.re/us/Y5pt8.i

297.

Ask HN: When did Apple reverse its position on notification widget launchers?

1 points · by 0942v8653 · 11y ago · discuss

comment 11y ago · link · parent

Quick note: You are not setting the page (tab) title with the <title> element. Right now it says "The Death of the Party" for every story.
1
91011
19