Hacker News new | comments | show | ask | jobs | submit | hyyypr's comments login

This is interesting.

Yelp has also started doing something along these lines selecting quotes from reviews in which a word that occurs frequently has been found.

I would suspect that instead of word frequency, they likely use TF-IDF (or even better, BM25[1]) or LDA [2] to identify relevant keywords to highlight.

1. https://en.wikipedia.org/wiki/Okapi_BM25

2. https://en.wikipedia.org/wiki/Latent_Dirichlet_allocation

Love tmux, fail to see how desk and tmux are related. I think you missed the point.

Wheb i boot up, i still have to ^R to cd to the right location, and then ^R again to "compile" etc.

I'm looking forward to trying this out, direnv (mentionned above) seems like an even better idea.


I have four directories which I frequently use. For one of them, I commit as let's say me@example.com and in the other three as me@example.edu.

So first of all, I have a bash function declared in my bashrc which takes one argument -- the domain -- and sets a few evironment variables such as GIT_AUTHOR_EMAIL and GIT_COMMITER_EMAIL.

Next I have one two-letter alias and three three-letter aliases which all cd to their respective paths and call the function to set the env vars.

Finally, I have two-letter aliases to git add, git diff, git commit, git push and so on.

Dead simple and works great. All I need is my bashrc.


You can actually save tmux sessions on disk, and you can script tmux, too. I have a tmux session that creates a directory if it doesn't exist yet, then it clones git repos there, then it creates a window for each of them, cds into it, loads the corresponding virtualenv (Python stuff), installs the required packages from a .txt file (also Python stuff) then prints me a tree of the last 10 commits and the current status of the repo (if it's not new I want to see if I forgot to commit something before I checked out the day before). All tmux. I only have to write "work<Enter>" into any shell and that's what I get.

Hope you could learn something, because that's the reason I'm writing here.


I'm using tiddlywiki [1] and I absolutely love it. You can host it where you want (owncloud works fine), and it has basically everything you just described.

I edit mainly using the web interface, but you can also edit the "tiddlers" (each note) using any text editor. The note has it's metadata at the beginning of the file.

I think I'm only using a very small % of TW's capabilities, but it feels like a very powerful tool.

1: http://tiddlywiki.com/


I used dokuwiki quite similarly for this in the past and it was okay - I just wrote using browser and embedded images with it, too. Maybe I could edit the "source" using vim and have the wiki-pages using a browser be the reader-mode for my notes. Thanks


Yea, I used to use Wiki on a Stick on a flash drive. When I had to migrate away, I ended up going to Evernote rather than Tiddlywiki. But it's a great tool.


Was and still am a big evernote fan. I just switched away from it towards tiddlywiki to be in full control of my data.


Thank you for this! I've been using capslock as Ctrl for a long time time, and fell into the bad habit to use C-c to exit insert mode.


Please, make your contribution worth something by explaining your issues with OVH.

I've been a very happy customer for years now.


We paid OVH for the renewal of our company's domain name several weeks before its expiration. This domain hosted our google apps for business and more. We received an invoice and bank statements for that. OVH never renewed with the registry.

We only got to know about this because of a standard email warning from the country's registry (not OVH as a registrar) itself about quarantaine and expiry!

We spent over eight hours over several days talking to OVH. I have been able to verify that the problem was on the side of OVH only, and not on the registry's side at all.

In the end, we made a direct payment to the registry to make sure the domain was not deleted.


Isn't it just lossy compression related artifacts from the glow ?


I suspect that image was sent back uncompressed.

You can very clearly see (12!) layers of the atmosphere in this photo:



Pulling _all_ Enlightenment[1] dependencies just for a terminal emulator is a waste of time and space.

Why would I use that instead of rxvt ?

1: https://www.enlightenment.org/?p=about/terminology


Meh, waste is relative. I run KDE programs, Gnome programs, and a couple of other random hodgepodge things at my personal whimsy, and I'm still only using 2.5GB of the 8 on my system for non-cache work, and over a third of that is just Firefox. I've got 3.5GB literally sitting empty, according to free. I can't even fill the caches. Running another set of depedencies to get me a noticeably better terminal emulator would cost me virtually nothing real.

Of course if you're in difference circumstances the answer changes. But there's no particular virtue in using a worse terminal so that more of your RAM sits there with lots of 0s in it.


Tell that to the guy above who uses a Linux VM just to get a speedy terminal. :)


Well, fwiw my local Debian Jessie claimed terminology along with dependencies (that weren't already installed) would claim 24MB. Pretty steep for a terminal. I tried opening one each of Terminology and Sakura[s] -- and as far as I can tell, running:

  i=0;while true; do echo $i;i=$((i+1));done
is, if anything, slower in Terminology. Big caveat: I've just installed kernel 4.1.6 and while I've recompiled/installed the proprietary fglrx AMD driver, I'm not entirely convinced most OpenGL apps work as they should.

[s] http://www.pleyades.net/david/projects/sakura


This terminal emulator is also a file browser and media center, so you can save space by removing your old ones of those ;)

(tyls is ls with thumbnails, and tycat is like cat except that if you try and cat a movie file to stdout it will display a video player instead of raw bytes)


s/terminology/terminator/ then ..


You can read html emails in mutt with decent support, using "links" or a somilar app. Mutt let's you define application that generate dumps for a given MIME type.

See: https://www.debian-administration.org/article/75/Reading_HTM...


Great article, there's something I didn't quite understand though. Why would the Sun's gravity make the probe go _slower_ as it moves _away_ from it?


Because the sun attracts the probe (and vice versa). Or equivalently the probe is climbing out of the gravity well of the sun loosing kinetic energy in exchange for potential energy in the sun's gravitational field.


The same reason as when you throw a ball into the air, and it slows down despite moving away from the Earth (until it eventually stops and starts to fall again).


Linus explains his point of view on this here: https://www.youtube.com/watch?v=JZ017D_JOPY



Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | DMCA | Apply to YC | Contact