News for hackers. Stuff that matters.

Misiek

Re:Gmail hack – how was it done? on Friday July 18, 2014 @01:46AM (#8051853)
She probably registered to a forum or the other portal and she used her email with the same gmail password. And then the data (list of emails and passwords) form a forum/portal leaked. Ask her if she use the one password to all accounts.
I think the most important part of modern web developement are frameworks:

JS frameworks: jQuery, AngularJS, BackboneJS

CSS frameworks: Bootstrap, Foundation

and tons ready-to-use solutions on Github.

Re:Show HN: AtoZ CSS on Wednesday May 21, 2014 @02:17AM (#7776936)
thanks for sharing
Re:Ask HN: How productive are you? on Thursday March 13, 2014 @04:34AM (#7390624)
My productivity tips:

- to do lists and pomodoro technique

- automate everything what can be automated

- delegate everything what can be delegated

Re:Kill your index.php on Wednesday January 29, 2014 @03:41AM (#7142745)
btw of "rise in popularity of Ruby on Rails":

http://www.google.com/trends/explore#q=Ruby%20on%20Rails%2C%...

Re:Ask HN: What new technology in 2014? on Thursday January 09, 2014 @02:06AM (#7029216)
Laravel
Re:Help me build the developers nightmare list: on Tuesday December 03, 2013 @02:32AM (#6839114)
IE<9
Twitter Bootstrap is the best CSS framework but you mean rather a website with a default theme. There are a lot of themes and templates of Twitter Bootstrap that don't look like Bootstrap, for example on wrapbootstrap.com.
Re:2012, My Year of Code on Thursday November 07, 2013 @04:37AM (#6688510)
Any code examples? What did he build?
Re:Ask HN: How did you discover your start-up idea? on Thursday October 31, 2013 @02:53AM (#6645572)
I always build a site I need and I want to use
Re:Ask HN: reCaptcha isn't stopping spam, what should I do? on Thursday August 29, 2013 @02:19AM (#6294546)
You can change an action of the form using Javascript (ie. http://stackoverflow.com/questions/2701041/how-to-set-form-a...). Spam robots don't emulate Javascript. Users with no Javascript will see the message "This action requires Javascript".
Re:Noodlejs - Node.js web scraper on Tuesday August 27, 2013 @03:43AM (#6282042)
how to get the list of urls in this example on http://noodlejs.com/?

the selector: 'h3.r a' allows only to get the list of names

in your case "fap" means doing bullshit like playing games or reading news. If you want to stop doing bullshit you should train your willpower. "No fap" is not only about fapping but about our weaknesses.
Re:I've lost interest in myself on Tuesday July 16, 2013 @02:45AM (#6050336)
Don't give up. Motivation is a skill that can be trained like a muscle. Don't be afraid to make mistakes but never do the same mistake twice. Learn from other's mistakes. Exercise, I recommed martial arts. Read interesting books and watch good movies - start with http://www.imdb.com/chart/top. Eat dark chocolate and drink a glass of wine (or beer) every day. Fall in love. Start a family, have a baby.
The limits of my language mean the limits of my world.

Ludwig Wittgenstein

Re:Ask HN: Is there a mobile version of HN, or an app? on Tuesday June 11, 2013 @02:04AM (#5860029)
I tested many HN clients for Android but this is the best one: https://play.google.com/store/apps/details?id=com.glebpopov.... (Hacker News Droid)
Re:Ask HN: How much do you make from Adsense? on Thursday June 06, 2013 @04:37AM (#5831224)
now $30/month (max: $120/month, about 1k visits/day)
Is there an open source script witch scrolling page effect like in Strikingly?
Re:PHP frameworks: Which would you pick and why? on Wednesday February 20, 2013 @02:34AM (#5249392)
Try Fat Free Famework https://github.com/bcosca/fatfree
Re:Goodbye Ubuntu on Wednesday January 23, 2013 @01:44AM (#5101855)
I'am also disappointed with Ubuntu (version 10.10 was the best but 12.04 the worst). I wanted to try Fedora but I was reading interesting Fedora 18 Spherical Cow review on HN yesterday: http://www.dedoimedo.com/computers/fedora-18-kde.html What is the best Linux distribution (with Gnome 2) for Web Developers?
PHP (5.3):

  echo ((float)(string)(0.3 - 0.2) == (float)(string)(0.2 - 0.1)) ? 1 : 0;
  1
Re:Google does not index anything on meteor.com on Friday April 27, 2012 @09:47AM (#3898966)
Site meteor.com is not indexed by Google because there is no text. Content is generated by javascript and it is not interpreted by Google robot. Website owners should use <noscript> tag.
Re:Speed Hashing on Friday April 06, 2012 @11:17AM (#3807434)
yes, I put the first salt in database and the second salt under www-root. Hacker who hack the database only will not know the fist salt.
Re:Speed Hashing on Friday April 06, 2012 @09:40AM (#3807062)
I thought that hashing password with two types of salt (one of them is unique for every user) and two places to storage salts is secure enough.
Re:Speed Hashing on Friday April 06, 2012 @08:53AM (#3806941)
What is the best way to secure passwords?
Re:Speed Hashing on Friday April 06, 2012 @08:42AM (#3806921)
but only the second salt is stored in a database, the first salt is stored under WWW-Root.
Re:Speed Hashing on Friday April 06, 2012 @08:12AM (#3806830)
"salts alone can no longer save you"

I use two salts to hash a password: sha1(SALT . SALT2 . $password); the second salt is unique for every user and stored in a database. Why is it not secure?