Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
byroot
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
39 ms
·
541.
▲
by
byroot
13y ago
No it's not. setInteval(function() { console.log('foo'); }, 1000) Is not a memory leak. But I agree that it's not surprising at all. If you can access a variable from somewhere it will obviously not be garbage col
542.
▲
by
byroot
13y ago
There is no way that it become notable. bcrypt is precisely designed to be slow and greedy in computational power. So adding an extra md5 hashing is totally insignificant (in term of computation).
543.
▲
by
byroot
13y ago
You can even do simpler. On signup store: $password = password_hash(md5($password),PASSWORD_BCRYPT); And on login: password_verify(md5($password), $password_hash); Then you just have apply password_hash() on all you passwords
544.
▲
by
byroot
13y ago
Companies can easily workaround the 35 hours week with the "cadre" status that basically nullify the regulated hours constraint, and they do. I don't know any developer in Paris that do a 35 hours week. Actually it's even the contrary, Fren
545.
▲
by
byroot
13y ago
If a 75% tax rate is being socialist big time, were the US communist back in the 50' ? Because they had tax rates up to 91% at the time. It's under 50% only since Reagan. One source among others: http://www.beggarscanbechoosers.com/2011/09
546.
▲
by
byroot
13y ago
Go take a look at the amount of men in the business of midwifing, it's even worse. Is there anything that prevent a men to work in this field ? I know a guy who did, so I can tell you: Nothing. If we lack of women in CS it's mostly because
547.
▲
by
byroot
13y ago
The home page states: Note: most RFCs can't be prettified at the moment, as their source files are unavailable to the public and need to be requested from rfc-editor.org. I'm working on this. I suppose that it's just a matter o
548.
▲
by
byroot
13y ago
Most scheme designate a protocol not a action. Do you suggest that we should have the same scheme for HTTP and HTTPS because in the end both return you a resource ? Same for ssh: and telnet:, same for xmpp:, msnim:, facetime:, irc:, skype:,
549.
▲
by
byroot
13y ago
It's just a formating issue. Nothing prevent you to reformat them: http://pretty-rfc.herokuapp.com/RFC2616
550.
▲
by
byroot
14y ago
Browser marketshare is not a constant, it totally depends of your business. At my current job it's: - ~55% Chrome - ~35% Firefox - ~5% Safari - 1.5% IE 9+10 - 1% Opera So for us it make sense to use API even less supported th
551.
▲
by
byroot
14y ago
I found this one: http://jsperf.com/jquery-1-7-2-vs-jquery-1-8/29 2.0 is slightly faster on every measures.
552.
▲
by
byroot
14y ago
This change broke our chrome extension a few weeks ago. We were able to workaround it using a trick inspired by this blog post: http://brianmayer.com/2012/12/defeating-chromes-content-secu... Hope it help someone.
553.
▲
by
byroot
14y ago
With a 1.77 child per women it make 188k€ of deposits (not capital) per household. It's a lot. Since the GDP per capita is around 28k€, 62k per capita seems insane to me. > Why would a country with 68B Euros on deposit be begging for a
554.
▲
by
byroot
14y ago
> With the possible exception of people living in old cities whose roads are just too small. It's more the rule than the exception. European car makers have a specific car category named "City cars", big enough to host 4 to 5 people but
555.
▲
by
byroot
14y ago
The Github API started to implement it but is now going backwards[0]: Standardize on existing *_url attributes for hypermedia. Remove all _links objects If somebody knows the rational behind it I would love to hear it. [0] http://de
556.
▲
by
byroot
14y ago
Yes, they will share their cookies. So if you use these "Good Cookies" (sic) to store your session key you will have some huge troubles with corporate proxies and also 3G connections since a lot of mobile ISP transparently proxy HTTP and th
557.
▲
by
byroot
14y ago
> They have delay issues (try Quebec!) Yeah .. 2 or 3 weeks to get a appointent with a doctor, 6 to 8h at the emergency service at the hospital. I prefer to be sick in France than in Quebec. > There are already riots every 3 to 4 ye
558.
▲
by
byroot
14y ago
No. Before performing a POST/PUT/DELETE or any other method with side effect to another domain your brother will issue an OPTIONS to get authorization first and will never perform the request if the server do not authorize it. Then if your
559.
▲
by
byroot
14y ago
It's not even about the silliness of his benchmark. His rubinius is bugged or badly compiled. Anyone who try to reproduce his benchmark will see it.
560.
▲
by
byroot
14y ago
The point here is to benchmark the startup time. Given how long can be some VMs to boot it's not that stupid. The stupid things in that benchmark is that there is obviously something wrong with his ruby. Even rubinius should be an order of
561.
▲
by
byroot
14y ago
Maybe to prove his point ? Because I tried with ruby 1.9.3p327 (2012-11-10 revision 37606) [x86_64-darwin11.4.2] and the result is more real 0m2.835s user 0m2.236s sys 0m0.449s (of course the computer and the system are different but still)
562.
▲
by
byroot
14y ago
While I agree with you, I don't think PEAR/PECL a good exemple. Even with a good Gemfile if the libxml2-dev is not installed you will not be able to bundle your Rails app which use Nokogiri. Where the argument of PHP run on any cheap shared
563.
▲
by
byroot
14y ago
Isn't this a warning from ssh not heroku ?
564.
▲
by
byroot
14y ago
Because it use less as default pager and less is an interactive utility. If you prefer you can use another pager like more that will let you ctrl-c: export PAGER=more Or activate the -K option of less that will quit on ctrl+c exp
565.
▲
by
byroot
14y ago
I don't know if it's recommended but for simple cases where I just want to trigger some methods on multiple models I just use a concern: https://gist.github.com/byroot/5036110
566.
▲
by
byroot
14y ago
2003 or 2013, ASP or Rails both are terrible ideas IHMO. At least as a default. Sure it can be very efficient, but it's a terrible default. When DHH state: > except, maybe, compatibility issues with some existing JavaScript packages Som
567.
▲
Who Seeks Control over The Internet?
(fredscalliet.com)
1 points
by
byroot
14y ago
|
0 comments
568.
▲
by
byroot
14y ago
It does reappear as soon as I remove all text under firefox 16 and Chrome 24 at least.
569.
▲
by
byroot
14y ago
There is not CORS benefits for private data if your CORS endpoint have a cookie based authentication.
570.
▲
by
byroot
14y ago
Well, Tipsy, bootstrap tooltips and similar javascript based tooltips require you to initialize them. It's fine if you have a mostly static page, so you can initialize all fo them on domready. But if you are in a very dynamic page with pjax
More ›