News for hackers. Stuff that matters.

vaneck

Re:Sublime Text 2.0 Released on Tuesday June 26, 2012 @11:01AM (#4162209)
Command-T gives you similar functionality in Vim. It's great.

https://github.com/wincent/Command-T

An Argentinian here.

I honestly believe the current government is, in many ways, the best this country has had for the past 30 years (at least), even taking into account its many and very real shortcomings (the mangling of official statistics and the outrageous restrictions on foreign currency ranking very high among them).

I am obviously partial in the matter, but I also believe Argentina still has much going for it. The upper education system in particular remains very good in most places and is completely free. I attend the University of Buenos Aires and can attest to this, even though I'm by no means a top student. The resources aren't abundant, but the quality of the education itself is excellent.

Lastly, the government is forcefully buying the oil company that used to be state-owned until the early 90s neoliberal selling spree happened. It's not like it's arbitrarily taking companies by force. I think there's some kind of consensus in economics about oil being a strategic resource, so I'm not sure it's fair to extrapolate from this one data point.

Re:Find the best templating engine for your project on Friday April 13, 2012 @07:39AM (#3836240)
I think a better title would be "Find the best templating engine for your Javascript project".

Lazy bug report: if you switch options too fast (probably while the fadeout/in is still running) the change doesn't get reflected in the list.

Re:Google announces 50 search changes implemented in March on Tuesday April 03, 2012 @07:16PM (#3795297)
Not an extension, but:

http://finderr.org

Disclaimer: I made that, but I gain nothing from its usage and don't collect any private information (like the search terms).

Re:PyPedia: a Python IDE and method repository in a wiki on Saturday March 10, 2012 @06:10PM (#3689001)
I'm not the original poster, but MoinMoin is widely considered mature and featureful. I'm guessing they had a good reason not to use it; it may be worth asking them.
Re:Criticism and two-way streets on Saturday March 10, 2012 @05:57PM (#3688962)
I hope criticizing the link itself isn't considered trolling here (I'm still new), but what I see here is an article that is 90% a quote from a different article and 10% pretty uninspiring commentary. Why link to this particular site instead of the place where the actual content is in?

http://blog.intercom.io/criticism-and-two-way-streets/

Re:Vim: revisited on Monday December 12, 2011 @08:20AM (#3343439)
Pro tip: after you paste code, it might not be indented correctly in the new context. You can select just pasted lines and autoindent them with V`]=. This should fix the indentation in most cases.

A better alternative: issue the ":set paste" command just before pasting text. That way you keep the original indentation.

With the risk of sounding naive or out of place - am I the only one surprised at this idea raising $2.5m? Not that the site isn't cool and well done, but I can't figure out how developing and hosting a site like this, say for the next five years, may cost something in that range.

What would they possibly need that kind of money for?

Re:The + operator has been replaced. on Saturday October 22, 2011 @12:41PM (#3143809)
Thanks for the feedback! I fixed the handling of quotes. I'm not currently adding 'allintext:' to the search but I do add &nfpr=1 to the query string, which as far as I can tell from testing should be equivalent or actually cover more cases.
Re:The + operator has been replaced. on Saturday October 22, 2011 @11:12AM (#3143644)
You can append &nfpr=1 to the query string to make it more strict. That's what http://finderr.org does.
Re:The + operator has been replaced. on Friday October 21, 2011 @08:10PM (#3142305)
I did just that, thanks for the input. I actually went ahead and discarded the actual query strings being used; so I'm now logging access times, referrers and user agents only.

I agree that an extension may be better, although this may come handy when you're not using your computer or main browser.

Re:The + operator has been replaced. on Friday October 21, 2011 @06:57PM (#3142087)
I'm glad someone finds it helpful! I used web.py, by the way.

I'm not sure how to go about the log configuration. If the users prefer it I can just disable logging altogether, although I'd prefer keeping some information (not IPs) at least for a single day so I can get basic usage statistics. I promise not to do anything evil with the little information I may get in any case.

Re:The + operator has been replaced. on Friday October 21, 2011 @06:18PM (#3141967)
I put together http://finderr.org and use that as a search service exactly because of this. I don't keep IPs in the logs of the server.
Re:Logging out of Facbook is not enough on Sunday September 25, 2011 @06:24PM (#3036886)
You can always use what I call "old school" sharing - just copy & paste the relevant URL in a status update.
Re:Simple Two-Factor SSH Authentication on Friday September 23, 2011 @08:41AM (#3029774)
Beware that this may break apps that use SSH as a transport protocol (like rsync and mercurial, depending on your setup of course).

Simple app that helps you when searching for fragments of error messages

http://finderr.org

I put together this very simple app using web.py to automatically quote the terms in Google web searches. I was fed up with Google silently discarding terms in error messages and other multi-term searches that contained rare terms along with other more common ones and having to quote individual words by hand.I'm not logging any IP addresses, by the way.I hope you find it useful!

( Read More... | no comments | 5 points | on HN )
Well, I can't edit this anymore but I decided to give it a shorter URL so it's more convenient (I had one free anyway):

http://finderr.org

Hope someome finds it useful!

I made this in an hour or so when learning the web.py basics. It's running on mod_wsgi.

Very simple but it's something I find relatively useful (it forces Google not to ever discard any of the search terms, which comes in handy when searching for error messages, log fragments, etc.), so I thought I'd share it here in case someone else does too.

More background on the motivation for this here:

http://news.ycombinator.com/item?id=2931994

Bad example then, Google shows me this as the first result:

http://ubuntuforums.org/showthread.php?t=933508

DuckDuckGo is nice but not for this. The same keywords yield a first result which includes 'notebook' and 'linux' but not 'basketball'.

Ask HN: Is there a way to make Google web search work like it used to?

Hi HN community.I, the same, as pretty much everyone, used to very much enjoy Google's way of doing web search. With that I mean the old way of only listing results that contained all the words one had searched for. This started changing a couple of years ago, and has made my work as a Sysadmin harder when searching for error messages (you can sometimes get around this by using quotes or adding...

( Read More... | 3 comments | 2 points | on HN )