HNHacker News
TopNewBestAskShowJobs

xyzzy4747

100 karma · joined December 22, 2020

submissionscomments
xyzzy4747··on The Last 1%
If something isn’t making for example the cost of a fulltime salary in revenue then the last 1% is a waste of time.
xyzzy4747··on The back-to-office backfire: Companies ending WFH perks lose out on top talent
I have multiple million in my brokerage account and a newborn child... to put it mildly nobody can entice me to go back into the office.
xyzzy4747··on Will browsers be required by law to stop you from visiting infringing sites?
This law would inadvertently be a good thing for the open source movement.
xyzzy4747··on Don't be clever
This is also something the Rust language does well with macros. It’s a pretty standard approach.
xyzzy4747··on Japan’s population fell by 800k last year as demographic crisis accelerates
I disagree about the public assistance part especially for a country like Japan.

I'm not sure if anyone cares about this anymore, but ethnically Japanese people will become nearly extinct if they don't make some radical changes. They should massively incentivize people - even financially poor Japanese - to have kids. Just because someone has a career in e.g. a Japanese bank moving spreadsheets around doesn't mean they should be favored.

xyzzy4747··on Japan’s population fell by 800k last year as demographic crisis accelerates
Well one problem is that from an individualistic perspective, it makes financial sense to have as few children as possible (all other concerns aside). There should be government policies such that it's more financially rational to have kids, especially since children are generally a net positive.

Perhaps there should be a tax that starts at age 19, and increases in percentage the longer you don't have children. I am also not sure if it's better to only tax women (since they are the ultimate gatekeepers) or men as well.

If you do have children, especially 2 or above, the government should pay you dividends in some form along with other benefits.

xyzzy4747··on Japan’s population fell by 800k last year as demographic crisis accelerates
They should tax people who don't have kids, subsidize child care, enforce long maternity leave, etc.

Maybe the people who have kids should rake in dividends from the people who don't have kids.

xyzzy4747··on A proposal to build a sub-Saharan Africa electrical grid across 12 countries
It's a nice idea in theory but won't they just funnel the money to their families and such, instead of making things operate well? I heard that's been a big problem in South Africa for example.
xyzzy4747··on Medicaid Could Save $2.6B Within a Year If Just 1% of Recipients Quit Smoking
1% of 11 billion is $110 million.

To go from a million to a billion, you multiply by 1000.

Same to go from 1 to one thousand or one thousand to one million. It’s also easy to remember since the commas are every 3 decimal places.

1/1000 is equivalent to 0.1%, not 1%.

xyzzy4747··on Medicaid Could Save $2.6B Within a Year If Just 1% of Recipients Quit Smoking
You only have to be below income limits, not asset limits.
xyzzy4747··on Inconvenient Truths about TypeScript
If you use TypeScript on the server and client, you can define object types (interfaces) just once, which makes it a lot faster to write. If you use anything else you lose out on this luxury.
xyzzy4747··on Why it’s necessary to shoot yourself in the foot
This also works pretty well:

  ssh <server>
  cd <directory>
  git pull
  tsc
  pm2 restart all
xyzzy4747··on Ask HN: Co-founder equity split methods?
Never, ever give equity to a part-timer.
xyzzy4747··on Look Where You're Headed
You don't need to predict the newest and hottest trend to make a startup. You just have to make customers happy. You can literally do any industry.
xyzzy4747··on Look Where You're Headed
When you have a startup, you have to look towards where the growth and money will happen. Stop paying attention to other stuff as much.
xyzzy4747··on Tech debt metaphor maximalism
Good engineers don’t create as much tech debt in the first place, or if they do it’s straight-forward code that’s relatively easy to refactor. The #1 fix to prevent most serious tech debt and also get features done quickly is the quality of your engineers (or yourself if you’re the one coding). Someone knowledgeable with several completed projects and up-to-date knowledge should create the codebase.

Also it depends a lot on what stage your project is in. If you have zero customers or money coming in, your focus should be on creating a working product and getting customers. That means zero tests for now, just a working product. It will also more quickly validate if you’re working on the right thing or not, or if you need to pivot.

One problem I see is when engineers want to solve the tech debt problem before even proving the product should exist. No, first establish the demand, get real cash flow, then start focusing on tech debt.

If you are an entrepreneur then tech debt is literally the last of your concerns. If you grow enough where it is then it’s a good problem to have - the biggest problem is typically not enough customers, not too much tech debt.

On the other hand if you are working at Google, and know for a fact thousands or millions of people will use your code, then you should “lock it down” right at the beginning, have all the testing upfront, good documentation, etc.

xyzzy4747··on How to build a website without frameworks and tons of libraries
I just do literally everything with next.js and Vercel and either MUI Joy or Tailwind.css... works pretty well and fast to implement once you understand it.
xyzzy4747··on Mistakes to avoid to build a better 1-person business
You can release a Next.js project that uses Tailwind.css really quickly though, and for free. It all depends on your skillset. It would personally take me longer to do something with Rails just because I don't know it as well.
xyzzy4747··on Next.js App Router Update
Ah, I see. That’s very annoying.
xyzzy4747··on Next.js App Router Update
You can use getServerSideProps to look at the cookies before rendering the page for a user.

It’s slightly annoying though since you can’t use both getServerSideProps and getStaticProps on the same page.

xyzzy4747··on Reddit.com appears to be having an outage
Karma at its finest.
xyzzy4747··on Downtown San Francisco is at a tipping-point
https://archive.is/IkYHB
xyzzy4747··on Ask HN: How do you not take criticism of your work personally?
For anything work related in your entire life, just focus on what makes money and what doesn’t. Everything else stems from this tenet.
xyzzy4747··on Apple announces multibillion deal with Broadcom to make components in the USA
You haven’t worked for Broadcom before. The equity is usually over $100k per year.
xyzzy4747··on Following UK antitrust order, Meta sells Giphy to Shutterstock for $53M
There's always speculative value because some executive somewhere thinks they can turn it around and make it profitable. So it can keep being flipped across different owners. It can go infinitely because the cash comes from elsewhere.
xyzzy4747··on Ask HN: How to move from dev role to management/team lead role?
Start a company and hire people
xyzzy4747··on Estimated IQ distribution of children given IQ of parents
I highly doubt it. For example in New York City there were historically immigrants from lots of different backgrounds all living in the same place working in the same industries. Is it just a coincidence that the most intelligent of them also became the most successful across every metric (on average)?
xyzzy4747··on Estimated IQ distribution of children given IQ of parents
Agreed, if genetics didn’t have a factor then it’s like saying you can’t prove a human is smarter than a dog (the difference of course between species stems from genetics - similarly as between humans).
xyzzy4747··on Estimated IQ distribution of children given IQ of parents
But Ashkenazi Jews are undoubtedly more intelligent than both. They also end up with a disproportionate amount of over-performers across the arts, sciences, finance, media, and entrepreneurship.
xyzzy4747··on Heather Armstrong has died
I guess there could be multiple things going on then, one is irrationality (like what you mentioned) and the other is self-centered behavior. I am guessing it could also result from loneliness or not having good relationships with people.

Nobody disputes that they have a troubled mind and are feeling various forms of depression or pain, but that doesn’t necessitate ending their life.

Just more broadly speaking, any animal that opts to kill itself has a severe mental issue. It just doesn’t make sense from an evolutionary psychology point of view. The priority should be in seeking treatment. But I don’t expect irrational/self-centered/depressed people to all reach this conclusion.

Edit: I also personally have had a very troubled mind from time to time. I was diagnosed with bipolar in 2009, but went off meds on my own will a couple years after (not sure whether it was an accurate diagnosis). I now am happily married and expecting our first child. But I can relate a bit to these sorts of feelings.

In the end your mind is just your mind, thoughts are just in your head, and you can have a happier life once you realize this. You don’t have to identify with what goes on in your head. It’s like a radio channel that won’t turn off but you don’t have to give too much importance to negativity.

← PreviousPage 7 of 13Next →