Better HN
topnewbestaskshowjobs
Log inSign up

rayshan

3,803 karma · joined Dec 11, 2013 (12y ago) · 491 submissions

Hello world.
Submissions

comment 6y ago · link · parent

No. It does a perfect job because Puppeteer is just Chrome, not JavaScript :) Thanks though!

comment 6y ago · link · parent

This looks great, will test it out, thx!

comment 6y ago · link · parent

What's a good JavaScript-based solution to render SVG into an image? html2canvas doesn't work well with SVG, especially those heavily styled with CSS.

comment 6y ago · link · parent

I'm in the camp of more preparedness is better, and actions need to be taken. For me it's about studying recession histories, stay calm, keep investing.

Sharing what I posted in another thread: my look into the 2008 Great Recession was very helpful with my pattern matching. 98 out of 100 stocks lost money during that recession, but most of them did super well during the longest recovery period in U.S. history. Even AIG made people a bunch of money.

Here's the full dataset of 1363 mid cap + stocks that traded during the 2008 recession, and their performances: https://shan.io/writing/learnings-from-the-2008-great-recess...

comment 6y ago · link · parent

Sure! The same learning still applies though - don't be scared, it'll be ok, keep investing.

126.

Learnings from the 2008 Great Recession(shan.io ↗)

14 points · by rayshan · 6y ago · 3 comments

comment 6y ago · link · parent

Thank you! I did a while back, will see if HN lets me do it again. Feel free to AMA!

comment 6y ago · link · parent

Good insides on what companies can and cannot withstand a once-in-a-lifetime event. My look into the 2008 Great Recession was very helpful with my pattern matching. 98 out of 100 stocks lost money during that recession, but most of them did super well during the longest recovery period in U.S. history. Even AIG made people a bunch of money.

Here's the full dataset of 1363 mid cap + stocks that traded during the 2008 recession, and their performances: https://shan.io/writing/learnings-from-the-2008-great-recess...

comment 6y ago · link · parent

Hey! Maker here. I built this because I couldn’t find a quick, easy and up-to-date source to help me pattern match IPOs.

How do you decide to invest in newly public companies?

Happy to answer any questions too.

comment 6y ago · link · parent

This is a good example of how this leaderboard is very focused on short term IPO performance. Facebook is a another example (I’ll add it) that went down a lot but look at where it’s at now. I’m a big fan of Xiaomi and companies with products that make my life better everyday.

comment 6y ago · link · parent

Thanks! Zoom is there, #3 from the cohorts that haven’t seasoned for 1 year.

Yea I’ll see what I can do to get the pre-IPO private round in. It’s easier to get per-IPO exposure as a retail investor nowadays.

132.

Show HN: A better unicorn IPO leaderboard(blog.ltse.com ↗)

12 points · by rayshan · 6y ago · 6 comments

133.

Ramp – Enterprise Corporate Cards(tryramp.com ↗)

3 points · by rayshan · 6y ago · discuss

134.

The Lean Startup and the Long-Term Stock Exchange (YC S17) [audio](acquired.fm ↗)

10 points · by rayshan · 6y ago · discuss

135.

The Monster Project(themonsterproject.org ↗)

4 points · by rayshan · 6y ago · discuss

comment 7y ago · link · parent

There's not enough discussion about the eventual recovery in all these recession articles. I was looking at the last 2008 recession and found some interesting gems. For example, if you bought AIG, one of the main causes of the financial crisis, you would've made out like a bandit during the recovery period. Definitely too big to fail.

Here's all the data on how stocks performed during and after the last recession: https://shan.io/writing/learnings-from-the-2008-great-recess...

comment 7y ago · link · parent

Why not keep a good chunk of cash around? During the 2017 ~ 2018 financial crisis, 1331 out of 1363 midcap+ stocks lost money. It was a great time to buy undervalued stocks that eventually benefitted from the longest recovery period ever, still going strong today. Even AIG, the villain that caused the crash and was bailed out by the government, was one of the top performers during the recovery.

If you're curious, here's the full stock performance dataset I pulled for the last recession: https://shan.io/writing/learnings-from-the-2008-great-recess...

comment 7y ago · link · parent

Right, they aren't the same. The '87 black friday crash made a big impact on the investment community, but it wasn't a recession.

The commonly used U.S. definition is the one from NBER (National Bureau of Economic Research):

"A recession is a significant decline in economic activity spread across the economy, lasting more than a few months, normally visible in real GDP, real income, employment, industrial production, and wholesale-retail sales."

Here's a list of past recessions: https://www.nber.org/cycles.html

comment 7y ago · link · parent

Yes, a recession will happen. So will the post-recession recovery period. It’s going to hurt. 98 out of 100 stocks during the 2008 Great Recession lost people money. At the same time recessions don’t last long [1], and it’s a great opportunity to buy, whether it’s stocks or homes.

I was just looking into the last recession, and I found that the market was wrong, and overreacted about a lot of stocks during that time [2]. Even AIG, the villain that caused the crash and was bailed out by the government, was one of the top performers during the recovery.

Try to have a balanced approach - cash + defensive assets (like gold and household staple stocks) + not selling all your stock.

[1] 2008 Great Recession: 1.5 years; 2000 dot com bubble: 8 months; early 1990s recession: 8 months

[2] https://shan.io/writing/learnings-from-the-2008-great-recess...

comment 7y ago · link · parent

Not helpful when you're trying to grow/protect your savings to put your kids through college.

comment 7y ago · link · parent

There's something to your idea of breaking this complicated problem in smaller chunks and tackling it over time. Would you like to write about this together?

comment 7y ago · link · parent

Agreed but what's the best way for a main street investor with a full time job and families to research? Ratings distill research down into a single number. Super efficient when they work.

143.

Learnings from the 2008 Great Recession(shan.io ↗)

3 points · by rayshan · 7y ago · 5 comments

comment 7y ago · link · parent

+1 works well but long calculate times

comment 7y ago · link · parent

很整洁!Really like it!

What's the thinking behind the Bitter font? I thought it was monospaced for a minute, which would've been cool.

May I recommend spacing out the lines? The usual rule of thumb is 1.5x spacing vs. line height.

More examples with photos and figures in various sizes would help users who are picking out the theme.

I also went for something minimal for my blog. Here's a comparable page: https://shan.io/writing/

comment 7y ago · link · parent

For a large-screen-centric, all-batteries-included React UI component library, I love Palantir's Blueprint: https://github.com/palantir/blueprint

147.

China's State Council Calls for Shenzhen Integration with Hong Kong, Macau(reuters.com ↗)

1 points · by rayshan · 7y ago · discuss

comment 7y ago · link · parent

Thank you! Good point about bots not parsing JavaScript. I find it increasingly important to build and test structured data so users sharing the content within these walled gardens will have a good experience.

comment 7y ago · link · parent

I echo what others like @sharkweek are saying - Google has been saying that they index JavaScript for quite a while now. At I/O 2019 they said the crawler should be on the latest Chromium codebase that supports all modern JavaScript features. I built some test cases [0] to see if this is true, and just couldn't get Google to index content inserted via JavaScript. For example, scroll down to the Popover button test case.

Maybe I'm doing something wrong? Open to feedback. Opensourced code is here [1].

[0]https://shan.io/will-it-index/

[1]https://github.com/rayshan/rayshan.github.io/tree/master/wil...

150.

KrispNet – Voice Playback with Deep Learning(2hz.ai ↗)

23 points · by rayshan · 7y ago · 5 comments

1
456
17