Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
wycats
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
48 ms
·
421.
▲
by
wycats
15y ago
"Web SQL DB is a terrible spec, as it stands." And further, Mozilla championed and gained consensus for IndexedDB ( http://www.w3.org/TR/IndexedDB/ ). It's simply not true that Mozilla is disengaged or actively hostile to popular standards
422.
▲
by
wycats
15y ago
It's worth noting that #if, #each etc. are not built-in structures. They are simply helpers that you can register in the host language. Block helpers receive the block as a function that can be invoked as though it was a top-level templat
423.
▲
by
wycats
15y ago
"If it were that simple, we wouldn't be having those problems, would we?" How do you figure? Our behavior is driven by powerful forces, and rational analysis is a relatively new factor. The book "Predictably Irrational" by Dan Ariely explor
424.
▲
by
wycats
15y ago
Except that this factor isn't consistent with the known uncertainty discount, even if we and the person in question understand the discount rationally. In fact, it is often wildly different from the known rational answer. In other words,
425.
▲
by
wycats
15y ago
SproutCore 2.0 is very much alive. Tom Dale and I have been working on it since we left Strobe over a month ago, and have been using it quite a bit in client projects. The feature we've been working on recently is to eliminate the <span
426.
▲
by
wycats
15y ago
A canonical, standard video codec supported by all web browsers.
427.
▲
by
wycats
15y ago
I have a better explanation. Wages have not even remotely kept pace with productivity, so most people do not see the benefits of increased overall productivity . http://rationalrevolution.net/images/EPI_Productivity_vs_Com...
428.
▲
by
wycats
15y ago
In both Ruby 1.8 and 1.9, Ruby code will not cause all threads to block when the CPU is idle. However, poorly coded C libraries that blocked on IO without providing Ruby a file descriptor (via rb_thread_select) could cause all threads to bl
429.
▲
by
wycats
15y ago
It seems as though he didn't disclose those conflicts though.
430.
▲
by
wycats
15y ago
A large chunk of San Francisco has credit card enabled meters: http://sfpark.org/ The whole program is actually really interesting: the meters update their prices by 25-50¢ each month to attempt to meet congestion targets per street. Plus
431.
▲
Quantum Levitation
(youtube.com)
8 points
by
wycats
15y ago
|
0 comments
432.
▲
by
wycats
15y ago
Every Ruby object is an instance of a singleton class that inherits from its declared class. # o is an instance of its singleton class, # which inherits from Object o = Object.new It is like saying: class Object
433.
▲
by
wycats
15y ago
The mistake Netflix made was adding in streaming to its DVDs-by-mail brand in the first place. Had they launched Qwikster instead of adding Instant to Netflix, Qwikster would almost certainly be a strong brand today, probably the leading st
434.
▲
by
wycats
15y ago
The time to make the decision was before they added streaming to Netflix. Had Netflix launched Qwikster in the first place instead of Netflix Streaming, they might be in a stronger position today.
435.
▲
Steve Jobs on Death
(youtu.be)
1 points
by
wycats
15y ago
|
0 comments
436.
▲
by
wycats
15y ago
This is one of those US/UK differences. In the US, we usually refer to companies or groups (like sports teams) as singular. In the UK, companies have been historically referred to as plural. Since the parent uses the British spelling 'favou
437.
▲
by
wycats
15y ago
Even if a binary DOM was the same size as HTML (it would actually be much smaller), eliminating the cost of parsing HTML (forgivingly) and serializing it into a DOM would be a significant improvement. Similarly, even if JS bytecode was the
438.
▲
by
wycats
15y ago
Both PeepOpen and CommandT for vim offer superior file switching functionality (by fixing a problem with Textmate's version whereby it does not take the directory into consideration, which can really help narrow down a search).
439.
▲
by
wycats
15y ago
This is precisely why those kind of page speed up tools never took off. Chrome now has a mechanism for a page author to explicitly request this behavior, but in the general case, it has never worked.
440.
▲
by
wycats
15y ago
What makes you think that? CSRF vulnerabilities are possible precisely because cross-domain POST requests can be created without violating the cross-domain policy.
441.
▲
Things the W3C Should Stop Doing
(infrequently.org)
18 points
by
wycats
15y ago
|
0 comments
442.
▲
by
wycats
15y ago
But the word function is so many bytes...
443.
▲
by
wycats
15y ago
Newer browsers (like mobile Safari and Android Webkit) have better layout support, such as http://www.w3.org/TR/css3-flexbox (the flexible box model).
444.
▲
by
wycats
15y ago
Low- and middle-income families pay most of their taxes in the form of payroll taxes, which are a mandatory 15% tax (shared by the employer, who also pays their salary) on all income. Consumption taxes also apply to everyone, and for those
445.
▲
by
wycats
15y ago
Ruby 1.9 has lightweight threads built-in (fibers) but you have to write and manage the scheduler on your own. That also means you can't use any existing IO libraries that already know how to yield back to the scheduler, but it's only a mat
446.
▲
by
wycats
15y ago
What makes you think that the node community has a well-thought-out rebuttal to a mostly academic debate about whether ideal threads could perform as well as events?
447.
▲
by
wycats
15y ago
That syntax already works in blocks, so it will work with define_method ;)
448.
▲
by
wycats
15y ago
v ^= 1 in Ruby should work.
449.
▲
Understanding "Prototypes" in JavaScript
(yehudakatz.com)
144 points
by
wycats
15y ago
|
9 comments
450.
▲
by
wycats
15y ago
Rubinius (in the current 2.0 betas) has removed the GIL as well. In fact, the only Ruby that still has a GIL is MRI. MacRuby, JRuby and Rubinius (as of 2.0) all have threading without a GIL.
More ›