Better HN
topnewbestaskshowjobs
Log inSign up

foo101

982 karma · joined Jul 7, 2016 (10y ago) · 339 submissions

Submissions

comment 9y ago · link · parent

Why is sending true plain text email worse for deliverability?

comment 9y ago · link · parent

> Vim is the best lightweight single file editor there is.

Are you serious? Do you know about Vim buffers? The `:b` command? The `Ctrl + 6` command? The `m` and `'` commands? These commands alone make Vim a far superior multi-file editor than anything else I have seen.

Now if you add plugins like `NerdTree`, `CtrlP` or `fzf` to the list, I don't think there is any other editor on the planet with the exception of emacs that comes anywhere close to multi-file editing productivity that Vim can offer.

comment 9y ago · link · parent

I am not convinced they are very different models.

My argument: An attacker can save the encrypted SSH traffic going over an insecure channel, then hold the traffic until 2030 and decrypt then.

Do you find a flaw in my argument?

comment 9y ago · link · parent

You are going to receive many suggestions and many words of advice in this thread. Here is mine, so that you can consider this as well while making your final decision.

- Coding is a good choice but like any profession, it has its pros and cons. Pros could be immense job satisfaction in creating something that has a tangible effect on the world. Cons could be having to work for terrible managers that could turn a fantastic job into a very depressing one.

- I suggest you start with Python and Django. Complete the Python Tutorial. Complete the Django Tutorial. With these two under your belt, you could apply for entry level Python-based web development roles.

comment 9y ago · link · parent

This is precisely what I am forced to do and I do this very often when I have to setup my environment in a remote box I don't have root-login too. But this is by no means a trivial process compared to how easily we load a complex app into a browser tab just by clicking a URL.

I think it is fair to hope that after 25 years of Internet, it should be easy to bring in new tools from the Internet into our local environment without requiring root access in a safe and trivial manner.

comment 9y ago · link · parent

What surprises me is that even after 25 years of the Internet, we cannot bring in new tools into our environment (be it a remote box I ssh into or a trimmed down docker image) on the fly.

The popular package management tools rely heavily on FHS and like to install stuff into directories that require root permission.

Imagine if there was a tool that could download binaries of modern tools from a certain repo and install it to our ~/bin. Imagine if we could use new command line tools as easily as we can download a fully functional complex applications securely into a browser tab just by typing its URL!

comment 9y ago · link · parent

About 8 images per second? How does that prove that Pytorch is great in production?

I am not saying that Pytorch is bad in production but I fail to see how your metric of 8 images per second proves anything.

comment 9y ago · link · parent

I was reading your post and thinking, "Okay. Fair point. Although I don't face this problem while using Tensorflow, but I can imagine this could be a problem for some people", until I came across this sentence,

> Pytorch’s interface is objectively much better than Tensorflow’s

How does your subjective opinion about Tensorflow suddenly become objective? I don't see any fact based or metrics based argument that establishes this objectively. All I see is an argument based on your needs and preference. That is far from objective.

comment 9y ago · link · parent

What kind of companies are these? I have worked in a dozen companies so far and in not one of them using GMail for personal use was against the corporate policy.

comment 9y ago · link · parent

Really, what's with experienced HN users jumping to conclusions and writing comments without reading the entire post? The exact concern you raise in your comment is addressed at the bottom of the post!

comment 9y ago · link · parent

I am having a hard time finding the actual legal text of the license. Can someone share it here?

222.

Ask HN: What is a good free alternative for Picasa for photo editing?

5 points · by foo101 · 9y ago · 3 comments

comment 9y ago · link · parent

Related: Agile is Dead (Long Live Agility): https://pragdave.me/blog/2014/03/04/time-to-kill-agile.html

From the blog post:

> And, unfortunately, I think time has proven me right. The word “agile” has been subverted to the point where it is effectively meaningless, and what passes for an agile community seems to be largely an arena for consultants and vendors to hawk services and products.

> So I think it is time to retire the word “Agile.”

> I don’t think anyone could object to a ban on the word when it is used as a noun. That’s just plain wrong. “Do Agile Right” and “Agile for Dummies” are just two of the innumerable attacks on the English language featuring the word. They are meaningless. Agile is not a noun, it’s an adjective, and it must qualify something else. “Do Agile Right” is like saying “Do Orange Right.”

comment 9y ago · link · parent

Good luck living in your comfortable bubble!

comment 9y ago · link · parent

This 'jk' and 'kj' mapping works only to get out of the Insert mode. But it does not match the full capability of the original 'Escape'.

- How do you escape from visual mode to normal mode?

- How do you ensure that your abbreviation gets expanded when you escape from insert mode to normal mode?

- How do you escape from operator-pending mode to normal mode? With this mapping, if you press 'd' to delete something and then change your mind and decide to return to normal mode, you are forced to use the original 'Escape' anyway. If you happen to press 'jk' due to habit at this time, it is going to end up deleting lines.

For these reasons, I thought to have a clean mapping of another convenient key (such as Caps Lock) to Escape at an operating system level, rather than trying to make Vim treat some other key as Escape in certain modes.

comment 9y ago · link · parent

> It gives you access to keyboard shortcuts for moving around ...

Your whole comment can be dismissed easily because of this one gross misunderstanding. Vim is not a bunch of weird keyboard shortcuts. If one approaches Vim as an editor that uses keyboard shortcuts that are inconsistent with every other editor out there, then one is simply setting themselves up for pain and unproductivity.

Vim is not a bunch of keyboard shortcuts. It is an interactive editing language! For more, see this excellent comment on StackOverflow: https://stackoverflow.com/a/1220118/1175080 (a very well written answer!).

comment 9y ago · link · parent

The inoremap jk <esc>, inoremap kj <esc> configuration gets you back to normal mode only from insert mode. What do you do if you want to return to normal mode from visual mode or command mode?

What if you want to type an abbreviation and expand it when you escape from insert mode to normal mode?

comment 9y ago · link · parent

Vimium has been a very frustrating experience for me. The one thing where I always trip:

- Press 't' to open a new tab.

- Now I realize I want to go back to the previous tab. I press 'Escape'. Nothing happens. The focus is stuck in the address bar. I press 'J' and of course the 'J' gets typed into the address bar. How do I escape back to normal mode? I can't figure.

With VimFx for Firefox, it works exactly as one would imagine.

- Press 't' to open a new tab.

- Now I realize I want to go back to the previous tab. Press 'Escape' to return to normal mode. Press 'J' to go back to the previous tab.

If this is something that works fine in cVim, I am going to ditch Vimium in favor of cVim today!

comment 9y ago · link · parent

What do you do when you actually need to type the string "jk"? Type "j", then wait for sometime and then type "k"?

comment 9y ago · link · parent

I have been using Vim for 15 years now and I see no other editor (not even Emacs) that comes anywhere close to the ergonomics of Vim. I can edit code the fastest in Vim.

If you think Vim is not helping you being more productive, I suggest reading the excellent StackOverflow answer that explains how learning Vim is like learning a language (not just learning keyboard shortcuts): https://stackoverflow.com/a/1220118/1175080

The only things that I find lacking in Vim is good support for various software development environments, for example, Java development. Another thing that used to bother me is the awkward placement of the Escape key but I overcome that easily by remapping my Caps Lock to Escape (see https://github.com/susam/uncap#uncap for examples).

comment 9y ago · link · parent

I have considered such alternatives in the past and they did not work for me. For example, how can I conveniently type the string "jk" or "kj" with such a configuration?

The artificial delay I have to introduce between typing "j" and "k" to actually type "jk" is unacceptable. Although it is rare, I sometimes do have to type "jk" in special circumstances such as while typing LaTeX code.

Mapping Caps Lock to Escape is just a much cleaner solution that does not come with any surprises.

comment 9y ago · link · parent

I have been using Vim for 15 years now and I completely agree with sevensor's comment.

- Vim is not newbie-friendly regardless of whether you remove guioptions or not. One has to spend at least a few hours of study and practice to get comfortable with Vim. If one is forced to invest a few hours to learn an editor, one might as well get rid of guioptions and follow other advice provided in sevensor's comment.

- Learning hjkl is not really pointless. hjkl and other motion commands makes Vim a unique and ergonomically a very superior experience. If one does not want to spend time learning hjkl and other motion keys, then one might as well skip learning Vim and pickup Emacs, Sublime Text or another capable editor.

comment 9y ago · link · parent

The first thing I do on a new system is map my Caps Lock key to Escape[1][2][3] so that I can use Vim conveniently without having to reach the physical Escape key placed awkwardly at the corner of the keyboard.

The choice of Escape key to return to normal mode and H, J, K, L for navigation makes total sense if we look at the original Lear Siegler ADM-3A terminal[4] that Bill Joy used while creating vi, but in the modern day keyboard, the choice of Escape key to return to normal mode really disturbs the otherwise fine ergonomics of using Vim.

[1]: https://github.com/susam/uncap#uncap

[2]: http://vim.wikia.com/wiki/Map_caps_lock_to_escape_in_Windows...

[3]: http://vim.wikia.com/wiki/Map_caps_lock_to_escape_in_XWindow...

[4]: https://vintagecomputer.ca/wp-content/uploads/2015/01/LSI-AD...

comment 9y ago · link · parent

Do you or anyone similarly have any suggestions or recommendations about NetBSD or OpenBSD? With Linux, the decision to choose Debian and CentOS has been easy for me. Ubuntu is very popular and Debian is at the top of the lineage tree. Similarly, RHEL or CentOS is very popular in the industry where RHEL is at the top of the lineage tree and CentOS is just the rebranded RHEL made available for free.

But with BSD, inspite of being very interested in it, I have not been able to pick one due to analysis paralysis. If I have enough time only to spend time with one of the BSDs, what possible criteria should I use to evaluate them against one another and pick one?

comment 9y ago · link · parent

If you don't want to put some effort in writing a substantive comment, probably you should go back to Slashdot. Your first comment showed no effort in justifying your speculation with relevant evidence. The reason why I like HN so much and why I gave up Slashdot and Reddit in favor of HN is how I don't have to scroll down a list of funny or low-effort comments to find a few substantively written comments. The low funny-to-substantive ratio of HN is what attracts me to HN and I am glad that low-effort comments like yours are quickly downvoted.

comment 9y ago · link · parent

The Wikipedia article on bloom filter is already pretty thorough and discusses the computation of the probability bounds as well as the optimal parameters: https://en.wikipedia.org/wiki/Bloom_filter

comment 9y ago · link · parent

> Again, the amount of impact it has caused is there for everyone to see.

That's your opinion. Two people have already mentioned that what they saw is inconsistent with what you claim everyone can see.

Do you have a personal anecdote to share that describes your experience? If yes, do so.

Do you have substantive evidence that your experience has been the experience of the majority? If yes, cite such statistics from trusted sources.

comment 9y ago · link · parent

Nobody implied it is okay. Read carefully before responding. This is Hacker News, not your Facebook timeline.

Describe your experience anecdotally or provide citations when you make broad claims about the country's experience, and speak substantially in both cases.

comment 9y ago · link · parent

Unrelated: Does anybody know why the favicon of http://www.fast.ai/ an "H"?

comment 9y ago · link · parent

Yes, that's a really nice video. Here is the link: https://www.youtube.com/watch?v=u6XAPnuFjJc (Unfortunately, the highest resolution supported is 240p. Anyone has a link to a higher resolution video?)
1
789
12