HNHacker News
TopNewBestAskShowJobs

justaaron

444 karma · joined March 15, 2015

submissionscomments
justaaron··on How the Valley treats experienced people
can and do. your premise is faulty
justaaron··on How the Valley treats experienced people
this. I don't expect the hubris to cease, but an aknowledgement of the failures of hubris to deliver concretely would be most satisfactory
justaaron··on How the Valley treats experienced people
pre cise ly
justaaron··on Ask HN: With advent of SPA, are Rails/Django still relevant?
Rails has also influenced an entire new generation of frameworks in other languages like Amber, so the principles and concepts DO translate. there are active-record implementations in several other languages circa 2018
justaaron··on Ask HN: With advent of SPA, are Rails/Django still relevant?
SPA is not a panacea for anything. It's also quite possible to integrate an SPA framework with a backend framework, they are orthogonal.

An SPA framework generally executes on the frontend in the users browser as Javascript. There may be build tools like webpack and browserify and babel, or one may y a simple spa.min.js file to include. Polyfills may be needed, even for such simple things as Object.values, as Javascript support varies across browsers and version.

The 2 backend frameworks you mentioned allow for front-end templating, which you really SHOULD use in lieul of the SPA-centric solution of "server-side-rendering" which basically takes advantage of Node.js running Javascript by hacking a client-side JS "template" to be processed by Node.js, which, unless your backend is ALSO Node.js based, requires an additional process and a totally different set of server tools than either Rails or Django.

There are a whole crop of app designs that basically use whatever backend with whatever SPA front-end in a more minimalist cohesive fashion. The basic idea is this:

1) server-template-rendered pages (NOT an SPA blob) that already have data affixed in them delivered as a response to a request on a given route path

2) judicious usage of Javascript on the front end only where needed, usually following the pattern of

A) the template assigns templated data to a Javascript object B) a Javascript virtual dom is created and mounted based upon the data in A C) normal XHRs or wss are used to send/get data from the server, with the response callback in an XHR setting the returned data into the Javascript object again, causing the Javascript virtual dom to redraw, as the data has changed.

Best of both worlds...

the main takeaway is to avoid making people wait for an SPA blob to download and then load it's data if the person is actually just interested in checking the contact info page, etc. SPAs serve a specific purpose, as a kind of interactive brochure that one is prepared to wait for initially, but later should move around quickly amongst it's various pages. I would go so far as to say that an SPA only really works best when the concept of "pages" is thrown away.

justaaron··on Ask HN: Which abandoned proprietary software would you resurrect?
Orion Platinum (a virtual synthesis studio app Richard Hoffman designed and released as Synapse Audio, who only make VST plugins these days.)

Cool Edit Pro (win-only audio editor with some interesting effects and processes.)

justaaron··on Ask HN: What to do after $8M (all cash, post tax) exit?
1) Put aside the majority to be safely invested for your families future. Don't play silly games like thinking of "donating it"... You will likely need it in the future. You had the fortune of stability thus far in life, and this doesn't last nor is it typical. Be a little more realistic here.

2) Devote your time to following your dream and doing what you enjoy doing. is there seriously nothing you always wanted to do but never thought it would be a reasonably paid career? Music? Film? Inventions? A programming side-project?

justaaron··on FoundationDB Document Layer
i think we are going to generally see more and more object to key-value mapping layers as the latter are widely available via cloud providers, and one basically needs something in the spirit of persistent-volume-claims from kubernetes land in the database layer that can be fulfilled by some key-value backend...
justaaron··on FoundationDB Document Layer
more like a scaling issue, as mongo is master-slave and a distributed horizontally scaled world can't live with such a bottleneck.
justaaron··on FoundationDB Document Layer
That's huge. I could have used this a few years ago
justaaron··on Lessons Learned from Writing Over 300k Lines of Infrastructure Code
nice. it's rather on-point.
justaaron··on OCaml for the Masses (2011)
is there any NON-garbage-collected functional programming language? Something suitable for real-time or deterministic timing usage?
justaaron··on The faster you unlearn OOP, the better for you and your software
The I in solid sounds like a major issue WRT a cross-cutting concern like security, in which hermetically sealed should mean airtight, not a piecemeal approach, etc.
justaaron··on Why 'flammable ice' could be the future of energy
it would be BETTER to produce hydrogen from sustainable non-contributing-to-climate-change-further sources such as electrolysis of water from onsite hydrogen generation such as wind farms, when the grid is not buying, rather than spinning down, produce hydrogen.
justaaron··on Why 'flammable ice' could be the future of energy
Oh gee, more "burning stuff that's not hydrogen" aka one more producer of greenhouse gasses. Kickin' that can down the road....

I love one contributers assessment near the end of the article that it's "going to take awhile" to "transition"

"transition" = not doing something about the problem.

What part of "we have 10 years more or less to reduce our carbon emissions drastically to XYZ level or face tipping a very delicate chain reaction irrevocably on the side of disaster" is difficult to understand?

Incrementalism won't cut it. We need a renewably sustainably produced electrical energy system with on-site hydrogen generation for what still must combust (likely, chainsaws and such, depending upon motor designs etc...) or as a storage means. Hydrogen is the only substance that, when combined with oxygen rapidly aka "burned" produces water. Methane produces water AND CO2, a greenhouse gas.

Grow up.

justaaron··on Finland freezes arms export permits to Saudi Arabia and UAE over Yemen
It's going to cause breadlines, but I disagree with the OP's sentiments expressed here. This money IN is smaller than our war expenses OUT, and it was always so.

Arms dealers rip off the nations populations whose governments they sell arms to.

justaaron··on Finland freezes arms export permits to Saudi Arabia and UAE over Yemen
Indeed.

But of course, how many UK and American citizens know the history of Iran, our role in overthrowing the democratically elected Mossadegh, who rightfully wanted to nationalize their oil (the obvious source of the Occidents umbrage too...) and our installation of the repressive Shah Pahlavi regime that led to the Iranian revolution of 1979 that initially featured students and workers and such, but later turned into a purge, as most revolutions do, in which the powerful theocrats basically seized the nation, and thus bringing us into the modern era and the detente with Iran that still makes no sense.

Contrast this with the constant support of the various Hashemite kings directly since Trans-Jordan and Syria-Palestina were handed over... basically we set up satrapies in the wake of seizing the Ottoman empire and not being able to manage it ourselves...

justaaron··on Finland freezes arms export permits to Saudi Arabia and UAE over Yemen
Good.

Now let's get UK, France, Spain, and the others still selling arms to the Saudis and UAE to ALSO stop.

justaaron··on What can I do about climate change?
If you insist upon cherry-picking an incoherent viewpoint from a basic principle: "I wish to live", I suppose one could concur with your premise.

See:

1) I, myself, my spawn, any reasonable proxy for me. a human?

2) Wish, desire, seek, want.

3) to live, life. continuance. reproduction, etc.

See, we are currently trashing the entire ball we live on:

1) too many of us. We did a good job at the whole "Go forth and multiply" thing. (talk about an incoherent philosophy: how about "the underpinnings of our civilization" for 2 points.)

resulting in:

A) loss of biodiversity. We killed the other animals

B) a HUGE footprint (land area) required for making our STUFF

C) hubris. we think OUR STUFF and OUR ECONOMY (read: make-believe silly nonsense we pretend is real) is more important than LIFE itself! The hacker news crowd is extremely guilty of this, as many people live in a simulated screen reality so much that they forgot about the wetware underpinnings of LIFE. your life.

2)We have no sense of collective responsibility, no sense of collective existence at all. It's not the squirrels fault that you can't understand why sustaining life on earth might be a worthy goal.

Collectively speaking, humanity is a dud. We didn't manage to organize anything with regards to our collective selves. We just ignorantly pursue selfish aims because some 18th century English "economist" (phlebotomist?) told us about "invisible hands"...

Maybe you should devote your vast brainpower to explaining the coherence involved in justifying industry and human "civilization" thus far?

justaaron··on Stop biodiversity loss or we could face our own extinction, warns UN
I propose a voluntary mission where all those interested in perpetual crapitalism and archaic social values voluntarily move en-masse to Mars, and please try not to rob too many of Earths resources getting there...

Bring the right wingers and life-haters with you too please...

justaaron··on Stop biodiversity loss or we could face our own extinction, warns UN
Holy guacamole. "easier to terraform mars or create a habitable satellite than saving earth"

this is the most ignorant thing I've ever seen written on the internet. Get back to me once you have 1/10000000th the bio-diversity of earth on your habitable satellite.

1) change our paradigms, economic system, and other social factors. I can assure you that this is far more maleable than Martian soil composition...

our social structures evolved in the context of low population densities and plentiful resources.

our economic system is what needs to give, it doesn't even function for humans, let alone the planet and the rest of life we share it with...

need I remind you that 1) we are only ONE species, and haven't the RIGHT to destroy our shared home, nor the other species. Some of us humans are upset about this, and we WILL take you other humans on over this issue!

2) our planet is STILL the only known place with LIFE in the entire universe. This is likely to change, at some point, but not if you get us all killed first.

3) our social systems are flexible, arbitrary, dare I say "PRETEND"... change em.

justaaron··on A Heretic's Guide to Deplatforming
what the person above me said: SPOT ON!!!

"It's noticeable which people only show up to defend far right speech on the internet."

justaaron··on A Heretic's Guide to Deplatforming
Despite all the handwringing here, there's no concrete proposal for what to do with rent-seeking attention-seeking deliberatvely difficult individuals whom one has no obligation to entertain the ideas of.

If I were NYU, I would simply never book Milo Whatever-his-name-is. Having to deplatform him indicates that someone wanted to platform him in the first place. Kick his useless ass to the curb/kerb, as the case may be.

justaaron··on Alan Kay: Is it too late to create a healthy future? [video]
... I'll grant you, the Bret-Victor-esque "scratch demo" stuff was a bit of a non-sequitur. Once he got back to the limits of human cognition stuff and the "t-ball for human sciences" part, I felt we were on track for a proper lesson from an elder.
justaaron··on Alan Kay: Is it too late to create a healthy future? [video]
vagueness? he's simply discussing comparative pedagogical models and techniques! jumping around a bit = we've been culturally ok with that since mtv circa 1993 or the beatnik authors of the late 50's or virtually any film or literature that jumps around in the narrative timeline.
justaaron··on Alan Kay: Is it too late to create a healthy future? [video]
or you could put the slightest modicum of effort into trying to see the very clear picture he has painted...
justaaron··on Alan Kay: Is it too late to create a healthy future? [video]
this is mindblowingly good.
justaaron··on Stop using JWT for sessions (2016)
set the cookie in the response to their next request to you?

specifics depend upon the language and framework used on the server, etc...

justaaron··on Stop using JWT for sessions (2016)
what i propose: 1) login = sending username and hashed password (over tls) that does a bcrypt etc, compares to bcrypted etc hash in db, if correct = provide a jwt set as a cookie with "secure httpOnly", jwt should be logged.

2) logout = request to server, server sets cookie with "token=empty;expires:1970yaddayadda" as it's httpOnly there's no client-side messing baout with the cookie otherwise

3)_all pages send cookie with each request, so must be tls

upon logout, cookie has empty token, must be re-set with new token. old token, if stolen, can be compared with logged history, etc.

what do you see, in terms of flaws?

justaaron··on Stop using JWT for sessions (2016)
so, what about a single-use token you exchange for another token (or not)?
← PreviousPage 4 of 11Next →