Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
hathawsh
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
56 ms
·
661.
▲
by
hathawsh
10y ago
I like this idea a lot. Perhaps every IoT device should publish a profile of its expected behavior to the router. For example, a wifi-enabled thermostat might tell the router that it only intends to connect to a particular range of server
662.
▲
by
hathawsh
10y ago
If I wanted to do what React does, but without React, I might start like this: document.innerHTML = myComponent.render(); That way, I can write components similar to React components and it can render very quickly. However, this strategy w
663.
▲
by
hathawsh
10y ago
Thanks for pointing that out. The term "DOM renderer" does seem much clearer than "virtual DOM".
664.
▲
by
hathawsh
10y ago
I understand your dilemma very well. I have experience building server-rendered web apps, web apps enhanced with jQuery, Angular apps, and React apps. I resisted React for a while, but I'm glad I finally tried it out. Compared with
665.
▲
by
hathawsh
10y ago
He died in 1988 at the young age of 69. He will be missed. https://en.wikipedia.org/wiki/Richard_Feynman
666.
▲
by
hathawsh
10y ago
I saw an article not long ago that clarified for me what Twitter is: it's the community for journalism. It's the perfect place for journalists to quickly pick up the current vibe on a given topic, then repackage what they learn a
667.
▲
by
hathawsh
10y ago
The complexity of this tutorial reflects the current state of web app development more than the complexity of React. React by itself is actually rather simple on the surface. Even though I don't need this tutorial to be productive, I
668.
▲
by
hathawsh
10y ago
Your explanation is appealing because it fits Hanlon's razor: "never attribute to malice that which is adequately explained by incompetence." If you're right, then we're putting chemicals of unknown toxicity in home
669.
▲
by
hathawsh
10y ago
Consider hypnosis. If we could find a way to hypnotize people from many different backgrounds into believing some specific wild assertion, regardless of how much that assertion conflicts with their beliefs, that would be strong evidence ag
670.
▲
by
hathawsh
11y ago
I follow Dan Abramov's recommendations: https://medium.com/@dan_abramov/lint-like-it-s-2015-6987d44c...
671.
▲
by
hathawsh
11y ago
I like this one: https://github.com/davezuko/react-redux-starter-kit
672.
▲
by
hathawsh
11y ago
From my point of view, React brings two important ideas to web app development: 1. The virtual DOM. When I'm writing jQuery-based code, I have to write both a component template and code that updates the DOM in response to input; when
673.
▲
by
hathawsh
11y ago
Thanks for the tip. For anyone else wondering, OpenWRT 15.05 (Chaos Calmer, the current stable release) is still based on uClibc, while the OpenWRT trunk is now based on musl. (AFAICT)
674.
▲
by
hathawsh
11y ago
Very cool. As a Rust newbie I'd like to understand what's going on here. Is this a "procedural" macro? Does Rust specifically target writing DSLs using its macro system? Can we expect macros like this to continue wor
675.
▲
by
hathawsh
11y ago
Python can perform a similar calculation using large integers: 10 ** (24 * 116) / 999999999999999999999998999999999999999999999999 Very cool math.
676.
▲
by
hathawsh
11y ago
It looks like the diet was ProLon: http://www.l-nutra.com/index.php/products/prolon
677.
▲
by
hathawsh
11y ago
The authors disclosed they have equity in a company called L-Nutra, which intends to sell diet food packs: http://www.l-nutra.com/index.php/products/prolon Nothing for sale yet, but hopefully the price will be com
678.
▲
by
hathawsh
11y ago
Use SNI, Server Name Indication: https://en.wikipedia.org/wiki/Server_Name_Indication All modern browsers support it, as do Nginx and Apache.
679.
▲
by
hathawsh
11y ago
http://learntomod.com My kids and I have tried it and we like it a lot. Lots of tutorials and ideas. Easily worth more than $30/year.