HNHacker News
TopNewBestAskShowJobs

c8d3f7b49897918

108 karma · joined December 31, 2017

submissionscomments
c8d3f7b49897918··on 10 JavaScript Libraries for Front End
I've been pretty disciplined about not shilling it too frequently. You can check my comment history.

I don't enjoy it, but a well timed shill is what got it to the front of hacker news one day, and got it a ton of exposure. When you are a solo dev without the reach of facebook, google or 37signals, you do what you have to do to get the word out.

Especially since you are all doing web programming wrong. ;)

c8d3f7b49897918··on 10 JavaScript Libraries for Front End
Alright, if we're gonna do javascript listicles today, indulge me in a bit of shilling:

11) http://intercoolerjs.org lets you add an AJAX front end to your app with simple HTML attributes

c8d3f7b49897918··on DNA tests can predict intelligence, scientists show for first time
Ethnicity is almost always a biological phenomenon as well.

Race and ethnicity are simply larger and smaller group categorizations of humans, both with reasonably accurate biological tests.

c8d3f7b49897918··on Why Is U.S. Health Care So Expensive? Some of the Reasons Turn Out to Be Myths
A daily reminder that the US spends more per-capita on socialized medicine than any other country except Norway, and spends more on socialized medicine per capita than many first world countries (e.g. france, australia, japan) spend on medicine in total, both public and private. [1]

Conservatives (I am a conservative) who say we have a free market system are wrong. Liberals who say we are too heartless to pay for a socialized medical system are wrong. Anyone who says our military spending is why we don't have public healthcare is wrong. Anyone who suggests the US is competent enough at public administration to implement a public health care system is also probably wrong.

Collapse appears to be the only way out.

[1] - https://en.wikipedia.org/wiki/List_of_countries_by_total_hea...

c8d3f7b49897918··on Ask HN: We're being censored. Why?
Maybe it is off topic? But, on the other hand, this unflagged:

https://news.ycombinator.com/item?id=16576865

Seems pretty arbitrary to me. That's the internet, I guess.

c8d3f7b49897918··on Bringing Back Skeuomorphic Design
Balance in all things: a design should be minimalist where that is called for (the background, unimportant or repetitive elements, etc.) and should increase in visual complexity/depth/color/brightness in areas that are important and need to draw the users eye. (NB: minimalism does not mean "nothing". Sometimes a slight texture completely changes the feel of a UI, but it requires a deft hand.)

I'm glad to see the flat-ui/material-design over-application of minimalism is coming to an end and designers are getting back to more complex visual treatments. My hope is that, rather than casting back and forth between the various schools of thought, designers start thinking in context-sensitive terms: not "Should I use flat design or skeumorphic design for this app?" but rather "Where in this UI are flat design AND skeumorphic designs best utilized?"

c8d3f7b49897918··on The Great Lightbulb Conspiracy
I would be interested in an economy that incentivized repair rather than replacement. Maybe make repairs tax-free or even a tax credit.
c8d3f7b49897918··on Is Bitcoin a Waste of Electricity, or Something Worse?
This headline is a good example of getting the target (you) to think past the sale: if you deny bitcoin is "something worse" you are implicitly conceding it is, in fact, a waste of energy (when contrasted with HFT server farms, I suppose?)

Trump did this with the "and mexico will pay for it" addendum to building the wall. By getting people to say "Mexico will never pay for it!" they are mentally conceding the wall.

I dislike these sorts of verbal tactics, but they are effective manipulations.

c8d3f7b49897918··on We Must Cancel Everyone’s Student Debt, for the Economy’s Sake
We must cancel everybody's debt for the economy's sake, but we also have to do it in a fair way. Thankfully, we have Steve Keen, who has already worked out a solution:

http://www.ideaeconomics.org/a-modern-jubilee/

c8d3f7b49897918··on Things are going so well we’re doing a hiring freeze
They are stopping at the lower end of Dunbar's number.

Smart guys.

c8d3f7b49897918··on The narcissism epidemic is dead?
> However, because older generations are typically in a good financial situation, having profited both from the pre-80's social contract, and often, from its disassembly - it's not at all narcissitic to care about personal concerns! It's absolutely rational - they aren't going to become homeless if they decide to go on a buddhist retreat, or engage in a messy divorce, or start a new career.

Thank you for your earnest and thoughtful post.

I'd like to say that it is to some extent narcissistic to sacrifice future generation's wellbeing to satisfy present desires and I think it is reasonable for millennials too accuse baby boomers and, to a lesser extent, genX'rs of that fault. I am an X'er and, admitting their faults, I get upset when I hear millennials held up for undo scorn, given the cards they have been dealt.

c8d3f7b49897918··on With teen mental health deteriorating over five years, there’s a likely culprit
nihilism is not liberating or joyful, that is squishy lastman talk

it drove nietzsche insane, and he was much smarter and greater than any of us

nihilism is terrible and heroic and demonic, and possibly true

but i don't think so

c8d3f7b49897918··on With teen mental health deteriorating over five years, there’s a likely culprit
> Realizing that you can live your life as you wish is amazing.

You aren't taking nihilism seriously enough.

c8d3f7b49897918··on With teen mental health deteriorating over five years, there’s a likely culprit
> And nihilism isn't a bad thing.

You aren't taking nihilism seriously enough.

c8d3f7b49897918··on Trends to Avoid When Founding a Startup
Negative trend 6: adopting a trendy, complex web stack before you absolutely have to when a simple one would get you to market faster
c8d3f7b49897918··on A few reasons to try intercooler.js this year
I apologize for self posting on HN, but I haven't been doing much PR for intercooler lately and I'm hoping some new people find it an interesting alternative.
c8d3f7b49897918··on Teens Aren’t Partying Anymore
No:

https://en.wikipedia.org/wiki/Heritability

c8d3f7b49897918··on Teens Aren’t Partying Anymore
Extraversion/Introversion is one of the big five personality traits and is ~50% heritable:

https://en.wikipedia.org/wiki/Big_Five_personality_traits#He...

That's not to say introversion/extraversion wouldn't manifest differently in different contexts, but the trait does exist (as much as any personality trait does) and appears to have a large genetic component to it.

c8d3f7b49897918··on Stimulus: A modest JavaScript framework for the HTML you already have
intercooler should work in any browser that your chosen version of jquery or zepto works in.

If you want to see if a particular browser is compatible with a particular version of intercooler + (jquery || zepto), the unit tests are linked off the release page:

http://intercoolerjs.org/download.html

And you can simply open the the unit test page in question:

http://intercoolerjs.org/release/unit-tests-1.2.1.html?hidep...

This will run all tests for intercooler 1.2.1 using jQuery3 as the underlying library. Be sure to let the window retain focus or a few tests will fail.

c8d3f7b49897918··on Stimulus: A modest JavaScript framework for the HTML you already have
> The Turbolinks/Intercooler approaches seem to be managing state with the DOM,

I won't speak for turbolinks, but with intercooler the idea is to return to a stateless architecture, the second aspect of the REST-ful architecture[1]. State, as such, is stored on the server, not on the client.

It has scaled quite well in my applications: browsers are very fast at swapping new HTML into a page. The downsides can be additional chattiness with a server and a lack of interactivity if you are building a fancy (or fancy part of an) application, such as a game. In those cases, intercooler is not a good choice.

[1] - https://en.wikipedia.org/wiki/Representational_state_transfe...

c8d3f7b49897918··on Stimulus: A modest JavaScript framework for the HTML you already have
Thank you for the kind words about intercooler.js. :)

If you are interested in some reading on the theory behind it, I recommend these two blog posts that explain how HTML and REST/HATEOAS hang together better than Javascript with JSON:

http://intercoolerjs.org/2016/01/18/rescuing-rest.html

http://intercoolerjs.org/2016/05/08/hatoeas-is-for-humans.ht...

c8d3f7b49897918··on Ask HN: What did you work on in 2017?
I don't mind going against the current, I'm a contrarian by nature. :)

I hope you find it useful, and good luck in 2018.

c8d3f7b49897918··on Ask HN: What are your tech-related New Year's resolutions?
I would like to break the intercooler.js dependency on jquery.
c8d3f7b49897918··on Ask HN: What did you work on in 2017?
I continued to work on intercooler.js:

https://github.com/LeadDyno/intercooler-js

http://intercoolerjs.org

I'm trying to get people to reconsider the more traditional web development style of server-side rendering of HTML + HATEOAS.