HNHacker News
TopNewBestAskShowJobs

gws

673 karma · joined October 31, 2011

submissionscomments
gws··on Advanced Vim Registers
A less powerful but much simpler alternative to using the registers is the Yankring plugin (https://github.com/vim-scripts/YankRing.vim)

With that anything you have ever yanked or deleted is in the ring and when you paste something you can easily rotate through the items in the ring. Basically you type 'p' to paste and if that's not what you wanted you keep pressing ctrl-p until you get what you want.

gws··on "Impossible" to end drug trade, says Calderón
Producing drugs is almost as easy as growing flowers. And people are clamoring to give you billions to get them. How can you imagine to stop that?

Of course it is possible to kill the current 150 000 drug soldiers but it just becomes a giant game of whac-a-mole.

One gigantic waste of money, time, and human lives.

gws··on Amazon.com criticising new iPad on homepage
> 1. Much More for Much Less. Much More is obviously the kindle fire HD, and Much Less is the iPad Mini

I guess they actually mean you can get much more benefits for much less money

gws··on Ask HN: I tested an idea with AdWords, are the result good enough to work on it?
shit, thanks!
gws··on Bret Victor: Learnable Programming
I remember being a child and learning basic with a manual in a foreign language (English) I did not understand and an Italian-English dictionary. It was thirty years ago (shit, I'm old!) and admittedly my memory is foggy but I remember it to be funny and easy.

If some kids really need all these hoopla to start programming I wonder if they should really try...

gws··on Life as a Service
This article leaves me uneasy. We need to separate the process that societies use to determine laws and customs from the outcomes themselves. I'm also against many of the outcomes described in the article but the process used to get there in the countries where Jacques and I live in it's the best process we know of. OK, maybe the least worst is more appropriate but I can't really think anything else I would like to replace Democracy with.
gws··on Ask HN: What are your hobbies?
Olympic weightlifting

Coding (i don't in my job)

gws··on [dead]
The title of this post is a great example of how much bad PR Apple is getting out of its lawsuits. Doesn't matter what side these posts argue, in the end what people are left with is the asociation between Apple and patent trolls.

Of course the general consumer - Apple main customer today - does not give a damn about all this but developers, it is another story.

And it's not about defending Samsung, I don't give a damn about Samsung, it's all about that slight sense of discomfort I get now when I fire up my macbook. Completely irrational maybe, but last time I had it was about launching Windows.

I have to give a good look at those Google's notebook now...

gws··on A Tor of the Dark Web
In your opinion what is the overall impact on children safety of something like Tor? Positive, negative or neutral? I realize this is tough to answer.
gws··on All you ever wanted to know about building a secure password reset (NSFW)
I think the idea is to rig both cases to return after the set timeout to make them undistinguishable (so both to return after 5.0 in your example). Of course the timeout has to be set above the worst case timing for a valid login
gws··on Speed Hashing
You need to assume that the attacker will have access to anything on the server. So first thing is clearly no plain text passwords but hash only. Second thing is make as hard as possible for the attacker to decode the hash. One salt helps preventing use of rainbow tables but more salt is useless since the attacker has them. So you are left with choosing a hard algorithm to crack and currently the best one is bcrypt which is already implemented in most programming language for you.
gws··on Speed Hashing
It's still there on the server, if the attacker has her hands on the database you have to assume that the entire server might be compromised
gws··on Speed Hashing
Because it's stored in a database. If an attacker has access to the database with the hashed passwords she will likely have access to the database with the salt too.
gws··on Speed Hashing
Password security quick basics:

Developers -> use bcrypt

Users -> use a service like Lastpass with a long passphrase as master password; use unique 12+ character (including specials!) passwords through Lastpass

gws··on Show HN: Check for web application security issues.
it just opens a blank page...(https://www.webscanservice.com/index.php/startscan)
gws··on Official list of SOPA supporters
Both MasterCard and Visa are in the list (while I read somewhere else Amex is against SOPA), why would they support SOPA?
gws··on Google: Let it snow
> we are on the right side

There's no right or wrong only better and worse. Which obviously depends on the point of view. What people usually refer to as 'right' is simply what is better for most people (like opposing SOPA)

gws··on I Don't Understand What Anyone Is Saying Anymore
I guess pointless gum flapping is OK in a bar over a beer, less in a business meeting
gws··on Zendesk CEO calls Freshdesk a freaking rip off - Freshdesk responds
Very well executed response. If they can execute that well on this I can imagine that they are even better on product development and customer service.

I don't understand the comments against their response. I find shameful that a paid blogger tweet against a competitor with a subjective attack without disclosing the conflict of interest and that the guy paying the blogger chimes in insulting the competitor.

And Ghandi's quote at the end fit so well, I am still smiling :)

gws··on Jack Dorsey does 8 hours at Twitter, 8 hours at Square daily
Having lived in Italy and the US I can tell you there is a cultural divide that makes these verses very hard to grasp that side of the Atlantic. This translation in English is beautiful though
← PreviousPage 3 of 3