Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
smadge
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
46 ms
·
451.
▲
by
smadge
10y ago
Is it possible to use semantic class names then use a CSS processor to map those into tachyon classes?
452.
▲
by
smadge
10y ago
"hyperlinks still work" Not on Facebook, which is the whole point. You can paste URLs into Facebook, but they aren't hypertext.
453.
▲
by
smadge
11y ago
Or I feel like anything surrounding Linked Data, Semantic Web, RDF, RDFa, microformats, etc.
454.
▲
by
smadge
11y ago
That would be bad for the web. DRM and the web are incompatible concepts.
455.
▲
by
smadge
11y ago
I wish site publishers annotated their markup with RDFa tags so every web page was already an "api"
456.
▲
by
smadge
11y ago
Let's think in orders of magnitude here. Will moving template rendering from the client to the server increase server load by an order of magnitude? I might be wrong here, but if more than half your request is spent in a templating eng
457.
▲
Innovation is overvalued: maintenance often matters more
(aeon.co)
2 points
by
smadge
11y ago
|
0 comments
458.
▲
by
smadge
11y ago
The massive image sharing and social media network Snapchat uses Google App Engine.* * https://www.theinformation.com/Why-Google-s-Cloud-Needs-Snap...
459.
▲
by
smadge
11y ago
If you give someone a gun, they might shoot themselves. If you give someone a table saw, they might cut off their hand. If you teach someone objected oriented programming, they might write a unmaintainable ball of mud.
460.
▲
by
smadge
11y ago
Or using Continuation-passing style* programming. * https://en.wikipedia.org/wiki/Continuation-passing_style
461.
▲
by
smadge
11y ago
I just remembered this gem from the react community! react-magic [1] intercepts navigation and form submission, makes a XHR request, parses the response into JSX, and uses react to update the modified dom elements. I just tested it out on o
462.
▲
by
smadge
11y ago
I think what made the web so successful is how an html document can be easily statically analyzed. Every action (state transfer) a web page is capable of is statically encoded in the page itself. That is, encoded through <a>, <form
463.
▲
by
smadge
11y ago
I feel like the problem being solved by React and other virtual DOMs are only relevant because user agents never bothered to solve janky page transitions. Couldn't browsers do a minimal DOM update themselves without losing context or i
464.
▲
by
smadge
11y ago
> I've never seen any added javascript to a page that went as far as generating and rendering other pages completely, that's always been a refresh. pjax[1] does what you are describing. There are other similar libraries as well
465.
▲
by
smadge
11y ago
Traditional server-rendered pages would prioritize serving content first. Then they would sprinkle in some javascript to provide dynamic features(like navigating to new pages without refreshing). This is exactly what "isomorphic javasc
466.
▲
by
smadge
11y ago
Was going to say the same thing. Depressing. Most js devs probably don't realize the irony.
467.
▲
by
smadge
11y ago
Financial literacy is not enough. Lenders are always going to have more knowledge about their own financial products and the ability of the borrower to make payments. For example, in the subprime mortgage crisis, borrowers were blamed for r
468.
▲
by
smadge
11y ago
Does Liquidbase[1] do what you describe? [1] http://www.liquibase.org/
469.
▲
by
smadge
11y ago
initial impression: pretentious marketing
470.
▲
by
smadge
11y ago
I did exaggerate, sorry. There is some credible possibility of this happen, but our current models don't predict it. [1] I think it is fair to say that climate change could be very disruptive to civilization. Eg, it could cause famines
471.
▲
by
smadge
11y ago
Also, it's not a problem that threatens the continued existence of human life on Earth.
472.
▲
by
smadge
11y ago
I developed a hybrid mobile app using webpack/react/rxjs/cordova, so I have some experience with the ecosystem. Unless you are entirely using third party services, your single page application is probably contacting at least
473.
▲
by
smadge
11y ago
It all depends on the use case. I'm just trying to refute the parent comment. In some situations, e.g. when you are starting with server side logic and rendering, progressive enhancement is actually less effort. You get it for free sin
474.
▲
by
smadge
11y ago
> whether it's worth an extra X hours/days/weeks for any given bit of technical improvement, whether it's progressive enhancement or something else Progressive enhancement leads to less initial effort. Single page and
475.
▲
by
smadge
11y ago
When my teeth start to rot I get them fixed at the dentist, then start to maintain my teeth by brushing them. If I get a wound on my arm, I wash it and apply bandages, not finalize my will and kill myself. When your toilet gets clogged, you
476.
▲
by
smadge
11y ago
An item that can't be maintained is an dark pattern. It is a sign of planned obsolescence. It is goes against the interests of the user. Items should be designed to have long lifetimes. This only doesn't happen because capitalism
477.
▲
by
smadge
11y ago
Do you have sources for this? My gut reaction is that your claim that tough drug laws that targeted poor and minority communities wouldn't have passed without the support of those communities seems false. These communities have little
478.
▲
by
smadge
11y ago
Agreed! Learning the latest and greatest library isn't going to make you a better developer. I'm not saying client side scripting has no place on the web, I'm just saying for many purposes its place is overrated, and that bas
479.
▲
by
smadge
11y ago
Also, I'm not a "paranoid freak" I'm just curious about how the web works and how modern sites use JavaScript. Maybe I'm talking out my ass, since UX isn't my field, but I imagine that 90% of UX is "the ap
480.
▲
by
smadge
11y ago
Your site will be much more usable in developing countries with low spec mobile devices and high latency, low bandwidth networks if you design it to function first without JavaScript. You will reduce page weight, and client side CPU usage.
More ›