HNHacker News
TopNewBestAskShowJobs

e67f70028a46fba

437 karma · joined June 30, 2018

submissionscomments
e67f70028a46fba··on SSL: Stupid Stack Language
I use a simple rpn calculator as a demo and motivation in many of my classes. Stack languages are so neat.
e67f70028a46fba··on I Miss My Bar
Even the term: lockdown

Free societies don’t have lockdowns. Prisons do. One would think that the government would come up with a better term, if only out of self interest.

But then perhaps that’s the point.

e67f70028a46fba··on Htmx 1.2.0 Release
Not sure. Happened the last time htmx was on the front page too...
e67f70028a46fba··on Htmx 1.2.0 Release
It’s a mindset change. With htmx you should start with the entire body updating and then scale down to achieve the ux you want, rather than thinking in terms of individual components updating. The htmx merge algorithm is pretty good and you often don’t need to target small parts of the ui.
e67f70028a46fba··on Hotwire vs. Htmx – Comparison
It’s a reasonable take for someone who doesn’t know htmx very well.

Hotwire is definitely more progressive enhancement friendly (although htmx has he-boost).

htmx is an attempt to complete html as a hypertext and, as such has a different approach to html-oriented development. Generally I would expect htmx to cover more functionality in a pure hypertext and Hotwire to “just work” more often.

e67f70028a46fba··on The Emperor’s Woke Clothes
> How did an elite, repressive minority policing speech and culture through political correctness come to browbeat the American democratic majority?

Setting aside whether or not this situation is good, the author clearly thinks it is not, or even accurately describes the situation, the answer to this sort of question can be found in this excerpt from "Skin In The Game" by Nassim Taleb:

https://medium.com/incerto/the-most-intolerant-wins-the-dict...

e67f70028a46fba··on Ask HN: Is Ruby on Rails still worth learning?
I was just talking about this with my co-workers. Rails has so much built in and has been refactored and cleaned up so many times that, if you are just trying to build a web application with a reasonable authentication system, it's a great platform to know.

It's very fast to first real web app request (not just a hello world response) and many of the concepts will translate to another platform.

e67f70028a46fba··on Why We're Ditching Ruby on Rails for JavaScript and Node.js
the willingness to be uncool may become a powerful competitive advantage
e67f70028a46fba··on Millennials are struggling. Is it the fault of the baby boomers?
To an extent, yes.

The problem is that for the boomers, taking on lots of debt has worked out smashingly as they levered into a booming (in part due to that leverage) economy. But now we've reached the conclusion of that leveraged boom, and there is no more room to cut interest rates or increase the amount of interest as a percentage of monthly income. Prices can't fall because that would be deflationary and wreck the banks first and foremost through defaults, and everyone else after that.

There is no way out and we have to wait until compound interest, even at these minuscule rates, sparks the default wave that triggers the great deflation, or until the lack of family formation eventually destroys the economies ability to meet the periodic interest payments.

In the meantime, enjoy the ride and try to be nice.

e67f70028a46fba··on ‘Overtourism’ Worries Europe. How Much Did Technology Help Get Us There?
> The article falls directly into the "good old days" fallacy

This comment falls directly into the "things never change" fallacy.

This fallacy can be applied whenever anyone complains about any change anywhere. Picking one sample piece of anecdotal data from another period that can roughly be lined up with some other vague impressions of today does not refute the claim.

I have no strong opinion on overtourism or the effects on it by social media, but I'm willing to listen to people who discuss it without dismissing them.

e67f70028a46fba··on What Economists Still Don’t Get About the 2008 Crisis
the inflation had already happened in the preceding asset bubble

QE got swallowed up to make the large creditors whole and it ended up being a massive wealth transfer to them, so you see elite real estate, art, etc. being bid up while the rest of the economy flounders around aimlessly

e67f70028a46fba··on What Economists Still Don’t Get About the 2008 Crisis
until the word 'usury' is resurrected and reintegrated into economic thought, nothing changes: there will be cycles of capital concentration followed by credit collapses and, eventually, social unrest

thus always to debtors

e67f70028a46fba··on Dissolving the Fermi Paradox
> If this is right – and we can debate exact parameter values forever, but it’s hard to argue with their point-estimate-vs-distribution-logic – then there’s no Fermi Paradox. It’s done, solved, kaput.

this makes no sense at all: whether or not there is a fermi paradox absolutely depends on the parameters "we can argue about"

e67f70028a46fba··on Apple planning 11″ iPad Pro, Mac mini, 1.57″ and 1.78″ Apple Watch, AirPower
works great, and amazing support from folks who know the systems well

keyboard is obviously far better than the macbook, and the screen is matte

you can get 32GB of memory

it's a great rig, i am just unreasonable about wanting a single cable for lappy (which apple introduced two decades ago, btw: https://en.wikipedia.org/wiki/Apple_Display_Connector)

e67f70028a46fba··on Apple planning 11″ iPad Pro, Mac mini, 1.57″ and 1.78″ Apple Watch, AirPower
same, long time mac user getting sick of apple's shit

i recently bought the system76 galago pro:

https://system76.com/laptops/galago

unfortunately I can't drive power and data over the USB-C port, so I'm going to return it

otherwise it is great

e67f70028a46fba··on Goodbye Microservices: From 100s of problem children to 1 superstar
As with J2EE EJBs, microservices conflates two things:

- a strong API between components

- network calls

The former is a very good idea that should be implemented widely in most code bases, especially as they mature, using techniques like modules and interfaces.

The latter is incredibly powerful in some cases but comes at a huge cost in system complexity, performance and comprehensibility. It should be used sparingly.

e67f70028a46fba··on Intercooler.js – Simple AJAX Using HTML Attributes
lol intercooler does a ton more than barbajs does with almost no javascript, they aren't even comparable

as w/ pjax or turbolinks, barbajs is a fine library, but it isn't trying to create HTML++ and there isn't much REST-ful theory behind it

i'm sure it's good for a lot of stuff though

e67f70028a46fba··on Intercooler.js – Simple AJAX Using HTML Attributes
yeah, I mock the ajax requests out so I don't have to host a server-side app

you can click on the code tabs and see what's going on, and it should be easy enough to map to whatever backend technology you are using

e67f70028a46fba··on Intercooler.js – Simple AJAX Using HTML Attributes
if it helps you can think of intercooler as HTML++, addressing the shortcomings of HTML (only supporting GET/POST, only allowing clicks/submissions to generate requests, only targeting full page replacements, etc.) rather than trying to be something like React.

It isn't right for everything, but it works well for me w/ a rails back end and there are some good theoretical reasons for using HTML if you like REST/HATEOAS. I linked a few articles up thread you can read if you are interested.

e67f70028a46fba··on Intercooler.js – Simple AJAX Using HTML Attributes
I have used swagger a bit for JSON API development, but didn't find it added much over just keeping it simple and reacting to client needs.

I typically split my externally facing JSON API out from the main application (which uses HTML/intercooler) because the use cases are typically so different: the JSON API needs to be general and abstract whereas the web application UI has a lot of fiddly little specific data needs that are better implemented on the back end, where you have full access to the domain model and a proper query language.

e67f70028a46fba··on Intercooler.js – Simple AJAX Using HTML Attributes
i work on intercooler, you can AMA

as usual, a lot of negative comments from HN on the approach (which is admittedly against the grain) but I've used it for a relatively large and successful web app (rails back end) and it has worked out well compared to the SPA architectures I've had to deal with

i think the philosophical roots in REST/HATEOAS are worth considering, if you are open minded:

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

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

← PreviousPage 3 of 3