Better HN
topnewbestaskshowjobs
Log inSign up

ithrow

372 karma · joined Feb 21, 2020 (6y ago) · 311 submissions

Submissions

comment 6y ago · link · parent

I guess this makes "national security" as an argument a bad joke.

comment 6y ago · link · parent

Wow my 2013 macbook air is supported, nice.

comment 6y ago · link · parent

The web is more than static websites.

comment 6y ago · link · parent

That's more work and more messy than just writing the whole thing as a SPA from the beginning IME. I'm talking about real interactive applications, not simple blogs.

comment 6y ago · link · parent

Much faster compiles times sounds like a good reason to me ;)

comment 6y ago · link · parent

Don't suffer from the blub paradox.

Can you expand on what you mean by this?

comment 6y ago · link · parent

Shouldn't the Math for CS come before the Algo book?

comment 6y ago · link · parent

This sounded more like a anti-SPA post. Maybe the title should be "Reasons for not building a SPA".

comment 6y ago · link · parent

Java is going downhill(as in not much new code is being written in it), so of the mainstream languages is going to get supported last if ever.

comment 6y ago · link · parent

No PDF version?

comment 6y ago · link · parent

Stepping further from Go, this same principle is at play in Clojure, which favors open maps for information.

Curious, know little Clojure but isn't "open objects" a Javascript thing too? What is special about Clojure here?

comment 6y ago · link · parent

No SEO needed, web app behind a login. Will try to write a PoC with domvm, thanks. My goal is <300ms including 60ms network latency.

comment 6y ago · link · parent

That's fast hydration. How much will the performance suffer if no hydration was done but you kept the multi page aspect? ex: As if you took out SSR from Thermasoft and did client rendering witg domvm but doing page reloads for main pages as it does now.

I ask because my server app is not a nodejs process and don't want to add one for now but do want to avoid heavy state management and client side routing as you did.

comment 6y ago · link · parent

React is not the problem, it's fine as a component in a page. The issue is the abuse of SPAs.

comment 6y ago · link · parent

interop is first class

That's hardly true, not even clojure.org claims that. Interop is far from seamless.

comment 6y ago · link · parent

One of many: https://twitter.com/KirinDave/status/1234685098600960000

Laughed at the "How to refactor? Just don't write code that needs refactoring, simple made easy!"

comment 6y ago · link · parent

This happened to me with Clojure. You really get to appreciate languages with big ecosystems when working on niche languages. It's sad because these languages are more enjoyable to work with IMO. Thy are better cause they had the advantage of being created much later than the mainstream ones but that also means they had hard competition.

comment 6y ago · link · parent

NextJS is another alternative. To talk to a (django) API you need to go through getStaticProps and getServerSideProps which, depending on the location of your API server, can be a little slow, but you get pre-rendered HTML and page based routing so again no global state management required.

The problem with this approach is that you will need to manage another server process(nodejs) besides django for server-side rendering with nextjs.

comment 6y ago · link · parent

They are called books.

comment 6y ago · link · parent

There are two primary advantages for the ockam.io site to use JAMStack:

No need for a database or complex backends

Building and hosting are decoupled

I don't get it, since when building a static site requires a database? Are they referring to eliminating some kind of CMS?

comment 6y ago · link · parent

Wasn't CSS Grids the best thing that has ever happened to CSS? Why is Flexbox keep getting recommended on its own without Grid?

comment 6y ago · link · parent

If you feel the same way about the Elm project as the author of the article does, you won't be happy with Clojure[script] either. Its community already went through this drama and all the top community contributors(or that at least tried to contribute) left.

comment 6y ago · link · parent

Already implied that in "truly serverless and scalable database". My point is that it would be very dumb to not use something like postgres for relational data unless you really need those dynamodb features.

comment 6y ago · link · parent

Curious, besides being a truly serverless and scalable database why else would one choose to model relational data in DynamoDB? For the 'single table design' scheme the author talks about you are in a world of hurt if you need new access patterns? which is highly probable for most systems.

comment 6y ago · link · parent

Clojure is the most productive(and beautiful) language in existence(personal preference) as long as you don't have to leave its world.

I stop using it because the lack of Clojure libraries pushed me to use Java libraries, and that was a life-sucking experience. Java is fine as language but you cannot say the same about the APIs of many of its libraries. I also started sensing that new open source libraries are not being created in Java which worsens the story for Clojure.

comment 6y ago · link · parent

HN is way more geeky/nerdy than your regular tech news, hence my curiosity.

comment 6y ago · link · parent

Just curious, how does a bartender ends up staying reading HN?

comment 6y ago · link · parent

they simply output HTML without consideration for the life cycle of a site, if any.

If you don't mind, as someone who is not familiar with react can you elaborate on the difference? What do you mean by life cycle of a site? In the template I use, I can organize all parts of a site as functions and compose/reuse them freely.

1
7891011