HNHacker News
TopNewBestAskShowJobs

lastofus

718 karma · joined January 14, 2014

submissionscomments
lastofus··on 1.2M-Year-Old Obsidian Axe Factory Found in Ethiopia
> ...a team of researchers has described the discovery of an obsidian handaxe workshop within a layer of sediment dated to 1.2 million years ago.

What kind of radiometric dating is used for sediment? Is it not possible for older sediment to shift around and cover newer stuff?

lastofus··on Ask HN: End-of-life planning while young?
Life insurance is probably silly with no dependents like OP, but long term disability insurance not tied to your employer is a good idea for peace of mind. There's a lot of unpleasant states between healthy and deceased.
lastofus··on U.S. stock market returns – a history from the 1870s to 2022
> The question is whether the power and influence of the U.S. will grow similarly over the next 150 years as it has over the last 150.

> To invest mechanically without thinking about what’s actually happening in the world is cargo cult behavior.

This is why it's suggested that unthinking mechanical investors invest globally, not just in the US. For example, VT, a single set and forget index fund has 40% international exposure. That's to speak nothing of the S&P 500 companies that do business internationally.

https://www.morningstar.com/etfs/arcx/vt/portfolio

lastofus··on Ask HN: What is your favorite front end state management solution?
I've recently started working with React Query (now Tanstack Query since is supports Vue and others) and I absolutely love it. Coupled with a sprinkling of `useState` and context, I'm all set.

Of all of the SPAs I've worked on, 90%+ of the "state" is just server side data, pulled down via APIs, to display to the user. Other state libs don't bother to take into account common things like cache invalidation, or loading states, but it's all built in to React Query.

lastofus··on Ask HN: How can I rediscover my passion about computers?
I've since lost interest in learning technical minutia for the sake of learning minutia. Instead, everything I learn is in service to reaching an end goal that is important and meaningful to me.

Thus, motivation comes down to find something meaningful/purposeful to work on, and then wanting to do the best implementation possible for that thing, whatever it happens to be.

lastofus··on High-documentation, low-meeting work culture
Some people have built it. For example: https://www.macupdate.com/app/mac/49459/draft-control
lastofus··on Ask HN: How fast did you pay off mortgage?
Wealthy people have access to lines of credit, secured against their wealth, at low interest rates unheard of to us common folk. This further widens the spread between a very cheap mortgage, and the average 6-7% expected returns from investments (which in turn are taxed cheaply at cap gain rates).
lastofus··on 37signals Leaves the Cloud
I’d think the latency between the app servers and the DBs would be a problem, given they didn’t live in the same data center. How was that mitigated?
lastofus··on Ask HN: How did you stop drinking?
Check out the Sinclair Method, which is basically taking Naltrexone before you drink. Also check out the book "The Cure for Alcoholism: The Medically Proven Way to Eliminate Alcohol Addiction" by Eskapa.

I used this method, along with keeping a log of drinks consumed, to eventually quite drinking over the course of a year. I went from having anywhere from 3-8 drinks a night, every night, to eventually stopping completely. In turn I've been sober 6 years now.

I found keeping the drink log useful both for charting my progress, and also just forcing me to be honest with myself about what I did and did not drink. It's too easy to skew ones memory in favor of having less of a problem if you feel like it.

lastofus··on Ask HN: How do you balance having kids and improving your skills?
You have to accept that being a parent is a second full time job, and you are just going to be slower for a little while. It's now on you to compete with being a great parent.

The free time will slowly return as the kiddo gets older.

lastofus··on Would you quit a job three months in?
I put in notice at the 3 month mark at my last job. It wasn't a problem at all, though I don't bother to list it on my resume.
lastofus··on Software engineering books to read and reread
The 2nd edition is much more recent (2018), and re-written with examples in modern(ish) Javascript.

Even if what you say about IDEs is true (which I don't think it is), it's still instructional to know the "why" of a refactor, and when to apply it. Perhaps it's too basic for you personally, but there's much wisdom Fowler is passing on to the world here.

lastofus··on Ask HN: Which password manager do you use?
Same here, except the Chrome broke the v6 legacy plugin with an update, which makes it kinda useless. I ended up switching to Bitwarden just so I could auto-fill in Chrome again.
lastofus··on Sick and struggling to pay, 100M people in the U.S. live with medical debt
I don't think anyone is suggesting medical providers do not get paid.
lastofus··on Ask HN: How can you buy high quality healthcare?
Consider seeing a doc or PA/NP in Physiatry. They tend to take a much more holistic and thorough approach to diagnosing issues, including neck-spine related pain.

Physiatry is a small specialty which most folks have not heard of. I'd encourage you to research the specialty and what it's about at the very least.

lastofus··on Racket Is an Acceptable Python (2019)
After writing Clojure for a few years, there were several times where I ended up with a complex function with unbalanced parens, and the only way I could fix it was to basically re-write the function piece by piece. This is something I've never had to do in any other language.

I'd also end up in not great places when utilizing parinfer while editing code written using different formatting than what parinfer expected. I'd have to fall back to paredit and hope for the best.

This is all to say that yes, sometimes editing lisp syntax is "hard", at least for me. Turns out some humans make so-so AST parsers.

That said, structural editing is great once you get good at it, and something I miss back in other languages.

lastofus··on What are some cools topics one can learn about that aren't software dev related
Do you have any material you would recommend on these subjects to start diving in?
lastofus··on I have no idea what to do with my life
Consider working for a non-profit, or company with a mission that you feel strongly about. When you see the end result of your days labor bring good to some people, it can be quite fulfilling in a way that bringing home a FAANG paycheck can not be.
lastofus··on US Federal Reserve raises interest rates for first time since 2018
A typical retiree portfolio should have a significant portion in bonds (or more likely, bond funds). Initially this will hurt, but over time, higher rates mean higher bond returns

Equity markets can take a hit at pretty much any time for completely unforeseen reasons. This is expected and should be factored into a "safe" withdrawal rate (see Bill Bingham and the 4% rule).

Anyone who was relying on an equity market that never tanked, to survive retirement, was doomed from the outset.

lastofus··on Ask HN: Being bombarded by recruiter emails, all same pattern
I wish I knew. I've noticed recently the sequence count has been upped to 4 emails, thus inundating my inbox further. They are clearly automated, yet there is never an unsubscribe link.

Perhaps we need a service that will send an automated barrage of emails directly to a recruiter to remove an email address from their system. If enough people start using said unsubscribe service, recruiters might start to take the hint.

lastofus··on Ask HN: What is your favorite book for learning statistics?
"Naked Statistics" by Charles Wheelan is a very approachable entry level book. As opposed to a textbook, it's something that can be read casually in a relatively short amount of time, while still building a solid intuition on the subject.
lastofus··on Ask HN: Do You Like Stocks Crypto or Precious Metals for 2022?
Most everyone agrees the price to earnings of stocks is crazy high right now for stocks. Everyone is expecting a crash at some point. That said, no one has any idea when it's going to happen, and how bad it will be. If history is any indication, eventually the economy will recover and will continue to grow. How long will that recovery take? Again, no one knows. Point is, you will probably be fine with stocks if your time horizon is long enough.

IMO Crypto is a ponzi scheme that is simultaneously hurting the environment. Others feel differently. The only real value I've seen come out of crypto beyond making illegal activity easier is immigrants from El Salvador can now send money home without fees.

Ray Dalio has an interesting "all weather" portfolio for capital preservation regardless of what the market does, part of which holds precious metals. Beyond that, metals and commodities are speculation IMO.

If you are nervous and want to sleep better at night, just adjust your asset allocation to be more bond heavy (ex. 65/35 stocks/bonds). Thanks to inflation, TIPS are killing it this year. Also, max out your Ibonds if you haven't already.

lastofus··on Ask HN: Is it possible to solve Sudoku or Rubik's Cube without training
Unless you are an exceedingly clever person, it's unlikely you will re-discover all of the advanced/extreme techniques needed to solve the hardest Sudoku puzzles that are out there.

Here is an example of one of the aforementioned "extreme" techniques: https://www.sudokuwiki.org/Exocet

That said, you can probably solve up to and including "difficult" Sudoku puzzles on your own without having to learn advanced techniques.

As another poster mentioned, "Enjoy Sudoku" is a great app to try, as each difficulty level is defined by the techniques needed to solve the puzzle. This should help define for you the boundaries of what you are able to discover on your own.

lastofus··on Polyglot programming and the benefits of mastering several languages
My brain is in the exact same state, which is frustrating when doing live coding interviews, as suddenly it's impossible to not come off looking like a complete beginner. Throw it some nervous jitters on top and it gets ugly fast.
lastofus··on More than 99.9% of studies agree: Humans caused climate change
The amount of immediate unsupported skepticism showing up in these comments is incredibly disheartening.

I feel rather certain at this point humanity as a whole is unable/unwilling stop this impending disaster due to the perverse insentives that existm that allow people to continue to bury their heads in the sand, and pretend everything is fine.

lastofus··on Ask HN: Which API framework for rapid application development?
I work on exactly this at work using Python/Django along with:

- Python Social Auth: handles social login

- Django Rest Framework: does all the heavy lifting for API dev

Django takes care of all of your other requirements such as user management, DB migrations, interaction with both PG and SQLite via both the ORM and raw SQL.

This app runs on Heroku and is quite easy to deploy.

You mention wanting to generate the API from OpenAPI spec, but this is not needed with DRF. Instead, the API is generated from your models + sterilizer + view code which in turn generates an OpenAPI spec for documentation purposes.

I've worked in a number of other languages/frameworks and I can't imagine anything that does more heavy lifting for you than this stack, which in turn lets you focus on the business logic.

More importantly, this stack is battle tested, and very well documented (except for perhaps Python Social Auth, which could use some doc love).

lastofus··on The financial literacy industrial complex
Rob Berger's youtube channel is pretty great, especially w.r.t investing for retirement. He's quite articulate and straight to the point on a lot of somewhat complex topics.

https://www.youtube.com/channel/UC9C17-OMxa-7oRSaCtztObw/fea...

lastofus··on Golang: Code of Conduct Updates
> Is lack of subtle/direct snarkiness a good thing?

It's quite possible to call out and dismantle bad ideas, without making it reflect poorly on the originator of the idea.

A snarky tone can have an underlying implication that the idea was so bad, the idea originator is not even worthy of a respectful reply.

Maybe this is warranted in some cases (e.g. a bullshitter bullshitting), but in the case of coworkers/contributors with good intent, this is just unnecessary abrasiveness.

lastofus··on Django for Startup Founders: A better software architecture for SaaS startups
Sounds like you might have a View Model.

One option would be to define this View Model that takes your Model in the constructor, then make this view model object available in the template context.

lastofus··on Ask HN: Any Tips for Understanding OOP?
"99 Bottles of OOP" by Sandi Metz does a fantastic job IMO of answering the first 3 questions listed.

> Can I write a serious program without OO...

Absolutely! See any program written in a functional only language, or C.

> Should I look into another paradigm?

Eventually... I'm personally a huge fan of Clojure. That said, don't give up on OOP. It's pretty unavoidable in industry.

← PreviousPage 2 of 11Next →