HNHacker News
TopNewBestAskShowJobs

Kibae

270 karma · joined February 19, 2019

submissionscomments
Kibae··on Russian forces invade Ukraine after Putin orders attack
I doubt they would do that. It would cause Apple's biggest market, China, to rethink allowing Apple and Google devices in their country.
Kibae··on 200k-year-old hand art found near a Tibetan hot spring
> A study of DNA extracted from the leg bones of extinct moa birds in New Zealand found that the half-life of DNA is 521 years. [1]

So at most ~5.6% of DNA could have survived. It would be interesting if researchers would be able to detect a fraction of that amount, but it seems implausible.

[1] https://www.sciencefocus.com/the-human-body/how-long-does-dn... | https://archive.is/S39fv

Kibae··on Confessions of a Ransomware Negotiator
IMO, the next major war won't be fought with missiles and bullets. No democratic government will want to mass-murder citizens. I think the next major war will be cyber.

We've seen what hackers are capable of with Colonial Pipeline. We've seen the damage that can be done by taking out Texas' energy grid.

By targeting infrastructure that directly affects citizens, adversaries can influence the democratic process.

If China is able to take out the internet infrastructure in a city like Seattle, people are going to look for someone to blame. That person would likely be whoever is in charge of the country at that point.

Kibae··on A new book looks behind Xi Jinping’s anti-corruption campaign
Archive Version: https://web.archive.org/web/20210912041701/https://www.econo...
Kibae··on Andrew Yang to launch a third party
With society becoming more left-leaning with the growth of the NDP, this will pull Conservatives more to the left perhaps creating a void on the right that the PPC may fill.

For now, the PPC is irrelevant, but that may soon change. Only time will tell.

Kibae··on Andrew Yang to launch a third party
I'm guessing he was talking about the Libertarian Party.
Kibae··on Andrew Yang to launch a third party
Canadian here.

I understand the appeal of ranked choice voting for citizens, but I don't see either the Liberals or Conservatives supporting it.

On the Liberal side, they will always have the idea of strategic voting, where they tell progressive voters "A vote for the NDP/Greens is a wasted vote that will get the Conservatives elected."

On the Conservative side, the next closest party is the Liberals. So their voter base will choose Liberals as their second option (Assuming the PPC is irrelevant).

Kibae··on Ask HN: What math equations and properties should engineers be more aware of?
The most recent one I can think of that I've used is random sampling.

When I started thinking of potential customers I found a list of n potential users. I could have started by reaching out from #1 then worked down. But this would not have been representative of my potential user base.

So I picked a random number from 1 to n and reached out to that customer. Then picked another random number, and so on.

This ended up being more representative of my potential market.

Kibae··on Ask HN: What would you be working on if money were no object?
I would try to solve the worlds' plastic problem. As most of us know, most plastic ends up in a landfill. I think we need to be conscious about what happens to our purchases after its lifespan.

At the end of a tree's life, it is decomposed and turned into fertile soil that will feed future generations of the forest. This is a sustainable cycle.

I think we need to develop a plastic alternative, say X, that can be used to make products such that at the end of the products' life, the product can be converted back into X. Then, X can be reused to make new products creating a sustainable cycle.

Kibae··on Ask HN: How can I increase my stress tolerance?
Growth = Stress + Rest [1]

To maximize performance it is necessary to take breaks to give your brain time to process information. By stepping on the gas 24/7 you are guaranteed to burn out.

Schedule breaks and take them. You're not doing yourself any favours by pushing yourself beyond your limits.

Like others here have said, don't neglect your health. Take time to eat healthy, workout, and sleep. Sleep is the ultimate nootropic.

--

[1] Peak Performance by Brad Stulberg and Steve Magness

Kibae··on Ask HN: How many domains do you own?
I bought kibae.com (my name) and I intend to make a portfolio site, create an email me@kibae.com, etc.

But in the meantime, it just redirects to A Rick Roll

Kibae··on Entrepreneurs don’t have a special gene for risk, they come from rich families
y = mx + b

y = Where you are

m = Your ability to grow

x = Time

b = Where you start

Although where you start is important, your ability to grow (or decay) ultimately determines where you end up.

Kibae··on Ask HN: Can I have successful career in software engineering starting at 40?
"I knew that when I was 80 I was not going to regret having tried this. I was not going to regret trying to participate in this thing called the Internet that I thought was going to be a really big deal. I knew that if I failed I wouldn't regret that, but I knew the one thing I might regret is not ever having tried." - Jeff Bezos when deciding whether or not to start Amazon

Do you think you will regret not taking the leap 5, 10, 15 years from now? It's a big decision that only you can make.

Kibae··on GitHub Copilot
I hope it would suggest something like `//process.env.API_KEY` to get users in the habit of not storing secrets on repos.
Kibae··on Ask HN: Anyone tried quitting Instagram?
I made it a habit to “seek boredom” during my breaks. Walk around the block, drink some water, meditate.

In general, avoid stimulants like HN, Reddit, Instagram to minimize context switching.

Kibae··on Show HN: I discovered a trading algorithm that returns ~24.85% annually
January 30, 2005 - June 6, 2021.

You can try sampling different time periods by downloading data from Yahoo Finance. I may need to make the code more robust because there is some data that I hard-coded just for the dates I selected.

Kibae··on Show HN: I discovered a trading algorithm that returns ~24.85% annually
Yup
Kibae··on Show HN: I discovered a trading algorithm that returns ~24.85% annually
I just downloaded historical data on Yahoo Finance and parsed the CSV files. There are definitely more efficient ways to do this.
Kibae··on Show HN: I discovered a trading algorithm that returns ~24.85% annually
I decided not to add trading commissions because most brokers have removed them after Robinhood entered the market.
Kibae··on Show HN: I discovered a trading algorithm that returns ~24.85% annually
It looks like it is mean reversion. This is my first time hearing that term.

The way I discovered this algorithm was initially I wanted to buy the previous day's best performing sector ETF, with a hypothesis that the momentum would continue. But I learned that it actually ended up losing money.

So I decided to inverse the algorithm. There are still a few optimizations I can test out, e.g. Buying the previous day's worst performing sector.

Kibae··on Show HN: I discovered a trading algorithm that returns ~24.85% annually
This is a simple trading algorithm I discovered that operates on the Vanguard sector ETFs. This backdating algorithm provides on average a return of ~0.0878% for each trading day, or ~24.85% annualized return assuming 253 trading days per year.

## The Algorithm

This algorithm is really simple.

1. On day `n`, determine which ETF gave the highest return

2. On day `n+1`, short sell the previous day's highest performing ETF at market open and close your short position at market close.

Because this algorithm operates on Vanguard's 11 Sector ETFs, it is resilient against the volatility of individual stocks.

### Caution

Hindsight is 20/20 and because this is a backdating algorithm, similar results are not guaranteed in the future. Use at your own risk.

Kibae··on Ask HN: Best iPod Shuffle Alternative?
I see price isn’t a listed factor in your decision, so I’m going suggest the Apple Watch.
← PreviousPage 2 of 2