Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
joesb
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
25 ms
·
211.
▲
by
joesb
11y ago
Because the you have to remember all possible state of your UI in your head. Say you subscribe to "name change" event, where you have to update your UI depends on your current UI state. Are you in list page? Are you in detail page
212.
▲
by
joesb
11y ago
It's not about them reviewing the device. It's about them reviewing the device and publish it before the product actually hits the market. Apple didn't have problem with them tearing down other Apple devices. And iFixit got t
213.
▲
by
joesb
11y ago
If there were life on Mars. It will be the our first, and may be the possible only, source of foreign life to study. I don't think we want to contaminate or destroy our only source of knowledge on other kind of life. May be we can do t
214.
▲
by
joesb
11y ago
MS didn't make search engine, either. They decided to make one anyway.
215.
▲
by
joesb
11y ago
> In that case, making (NaN == NaN) == false also defeats it. false isn't NaN either. With that logic, you could say making (1 == 1) == true is wrong, because 1 isn't true. > If true or false propagates out of a function who
216.
▲
by
joesb
11y ago
Documentation in Ruby is bad not because of the amount of resource available. But because the community's love on language's meta-programming. Module are dynamically included. Methods are dynamically generated. The generation stat
217.
▲
by
joesb
11y ago
Do you implicitly grant all parties willing to invest enough to break into the bank all the money you deposit in the bank?
218.
▲
by
joesb
11y ago
That's like saying that, by letting the bank hold your money, you're implicitly giving bank robbers the access to the money, by virtue of imperfect security. And since your own house's security is also imperfect, you are also
219.
▲
by
joesb
11y ago
I could not agree more. Rails's migration is probably the only one that works in any project condition we've been through. No problem working with legacy DB. No problem using it in the DB where other team change unrelated table. Y
220.
▲
by
joesb
11y ago
How do you get performance and not lots of nested queries out of GraphQL? GraphQL looks nice in theory, and surely in practice regarding Facebook's storage architecture, I just wish it can be used on smaller project with DB backed data
221.
▲
by
joesb
11y ago
Aren't these two changes in conflict with each other? One change remove assumption about DOM as rendered target, while another change means DOM must be the rendered target. Requiring ReacDOM.findDOMNode(ref) should be what they do if t
222.
▲
by
joesb
11y ago
This is why people should not wear seat belt, or be required to have driver license. It deters more people from driving a car and it communicates that driving car is a dangerous activity and require protective gear and license.
223.
▲
by
joesb
11y ago
jQuery's $.text/html() set the text of all matched nodes, not just the first one. I can use key-value object to assign multiple css property, and it can set the style on all matched nodes. If there are no matched elements, Bling&#
224.
▲
by
joesb
11y ago
Nice. So where is my $.text(), $.css(), $.html(), $.val(), $.first(), $closest(), etc.?
225.
▲
by
joesb
11y ago
IMHO, it's cheap practice in any movement. Use a common word with positive meaning in your movement to cause confusion and they try to own the word. It also easier to make your opponent looks bad. Saying a software isn't "fr
226.
▲
by
joesb
11y ago
data-query="val(...)" data-query="css(...)" data-query="click(...)" data-query="each(...)" ... Really? Are you aiming for single god function? "It makes so much sense to query a click!!" sai
227.
▲
by
joesb
11y ago
I try to use full word, except for loop variable. Not every shorten the same word the same way, not even yourself next year.
228.
▲
by
joesb
11y ago
The problem is I can never be sure exactly what the "spirit of GPL" is.
229.
▲
by
joesb
11y ago
> What good is modifiable software if the hardware will refuse to run software if it's modified? You are free to build your own hardware. GPLv2 ensure software is open, you use GPLv2 software, you ensure the software stay open. It d
230.
▲
by
joesb
11y ago
With this logic, you are simply making argument that those making any pre-required invention is more important than any later invention. Try making light bulb without glass blowing knowledge. Try making light bulb without electricity. Try
231.
▲
by
joesb
11y ago
Are you implying that Players of paid games do not fall into the same two categories?
232.
▲
by
joesb
12y ago
IMHO, tying language's defacto package management's capabiity to a single company's business model may hurts node. No other language does this. you have all the same capability for propretary package with RubyGem/Python&
233.
▲
by
joesb
12y ago
I would say tying language's main package installer capability to monetary need of the company hurts how I will node/npm as a stable platform. Imagine if RubyGem/PythonPackage/NuGet goes with this stragtegy.
234.
▲
by
joesb
12y ago
Still, it means that, if Facebook sue you with stupidly-obvious-invalid patent on entirely unrelated product, say a patent that car must have a glass windows, then you can't even defend that such patent is invalid.
235.
▲
by
joesb
12y ago
Facebook only grants you patent license related to React, but you have to pay with every patent license your company have. It's like saying Facebook can use all Google's patent, from search engines, Androids, Google car, etc. All
236.
▲
by
joesb
12y ago
The same can be said about adding anything to repeated items.
237.
▲
by
joesb
12y ago
I never notice that before. Can I see the scanned image of that yellow dot?
238.
▲
by
joesb
12y ago
The attacker would then intercept that scrypt hash sent from the client and use it to authenticate.
239.
▲
by
joesb
12y ago
The real benefit of React is not in virtual DOM, even though virtual DOM enable the real benefit to be feasible. It's in enabling developer to think only in "recreating the whole DOM". Subscribing to event and figure out wh
240.
▲
by
joesb
12y ago
> "We loved our iPods and iPhones for their sleek design and smooth UI, even when people dismissed them as “expensive toys”. We knew our $2000 laptops were incredible for the price, even while people mocked us for not buying cheap,
More ›