News for hackers. Stuff that matters.

brunoac

Re:Getting to know logical clocks by implementing them on Saturday July 03, 2021 @05:03AM (#27720322)
Thank you :)
Re:Getting to know logical clocks by implementing them on Saturday July 03, 2021 @05:03AM (#27720320)
For Lamport Clocks the implication is only one way. But for Vector Clocks it is both ways.
Re:The Cache Is Full on Monday May 24, 2021 @08:18AM (#27263485)
This is a discussion about the cache replacement problem on which cache entry to evict when the cache is full and implementations of four popular replacement policies FIFO, LRU, CLOCK, and LFU in Go.

There are so many policies out there in a variety of contexts. If you have experience in them, trade-offs, and real-world use cases, I'd love to hear.

Re:Discovering and exploring mmap using Go on Monday January 11, 2021 @05:39AM (#25727119)
Fundamentals are key. And it is very fun for those who really enjoy their craft
Re:Ask HN: Are you preparing for a market crash? How? on Sunday January 10, 2021 @12:30PM (#25717008)
Sure. Not an expert here.

Of course in the short-term is very risky and would not recommend anyone to make an entry right now. I have been reducing my exposure as the prices have been going up.

However when you look at the fundamentals of the technology and what all governments are doing to money I think it is not a so risky bet for a 3-year (don't know, maybe 10-year?) bear market with high inflation. One of the greatest assets in the world for keeping your purchasing power intact. If the government keeps printing, the price will keep going up. Just like the Venezuelan bolívar is >1 Million to 1 USD. A question comes to my mind: are Venezuelans thinking that the US dollar is too risky to buy?

Re:Ask HN: Are you preparing for a market crash? How? on Sunday January 10, 2021 @11:42AM (#25716471)
Here is some facts

- There was a massive increase of money supply last year. That combined with the restrictions imposed on our economy by the pandemic means prices will certainly go up and purchasing power go down

- There are many indicators telling us the stock market is overvalued. Some of them: Warren Buffet indicator (cap-to-GDP), ev/ebitda, Shiller P/E, ...

- Commodities are historically at a low price

You should adjust your portfolio with the reality of the asset class (store of value, stocks, bonds, crypto, commodites, real state, ...).

You cannot predict if a crash is coming or not. And you should not. You should adjust your exposure related to risk. The greater the risk, less exposed you should be to that asset. It is not binary.

Right now

- Stocks are risky

- Gold and BTC as store of value to protect against inflation, not so risky

- Silver, oil, and other commodities, not so risky

- Bonds seems very risk also

- Real state I have no clue

What I mean from non-bullshit is the one that worries more about the problem that he is solving than his career.

It is more about tech innovation

Ask HN: How can I find meaningful problems to work with long-term people?

Hello HN,I am a 30-year-old Engineering Manager that is confused about what is up next and would love to hear from HN some options.Love tech but kind of tired of the startup world, Venture Capital craziness, short-term thinking, solutions-oriented thinking (vs problem-oriented), ...How can I find meaningful problems to work with non-bullshit long-term people? I know there are plenty out there,...

( Read More... | 5 comments | 10 points | on HN )