Better HN
topnewbestaskshowjobs
Log inSign up

diegoholiveira

343 karma · joined Aug 28, 2018 (8y ago) · 255 submissions

Submissions

comment 4mo ago · link · parent

The post advocates for structured concurrency, but it compares a language primitive with a library abstraction. In Go, implementing the same basic nursery concept is straightforward with `golang.org/x/sync/errgroup`:

  g, ctx := errgroup.WithContext(ctx)

  g.Go(func() error {
    return task1(ctx)
  })

  g.Go(func() error {
    return task2(ctx)
  })

  return g.Wait()
If you don't care about error propagation or cancellation at all, the standard library also provides `sync.WaitGroup`.

The author also seems to argue that structured concurrency is always preferable, but I do not think that is true. There are valid use cases for unstructured concurrency, particularly for long-lived or independently managed tasks.

comment 4mo ago · link · parent

I remember that. It was the first time I heard about Scala.

I saw a lot of RoR companies/users thinking “should we do the same?” without even realizing that they do not have the same twitter scalability problems.

comment 1y ago · link · parent

If that information it’s not right, you can notify the wikipedia editor who added it.

https://en.wikipedia.org/wiki/Carlo_Acutis

Or better yet, you can contribute with the wikipedia entry to remove any miss information.

4.

Carlo Acutis, a programmer being canonized as a saint(independent.co.uk ↗)

4 points · by diegoholiveira · 1y ago · 4 comments

5.

Show HN: A simple CLI tool to list network ports and their associated bin(github.com ↗)

4 points · by diegoholiveira · 1y ago · 3 comments

comment 1y ago · link · parent

After one year using Apple Mail and iCloud+, I did migrate to another client and provider because of this issue: https://discussions.apple.com/thread/256028878

comment 1y ago · link · parent

Chile is listed in Asia. LOL

comment 1y ago · link · parent

The only issue that I have with iCloud+ with my custom domain is about two gmail accounts which I don’t get mail from. It’s super weird.

comment 1y ago · link · parent

I don't think there is something close to Cursor but I'm using `claude.vim` for almost an year and it's pretty good, imo.

https://github.com/pasky/claude.vim

comment 1y ago · link · parent

China is doing pretty well on EV.

comment 1y ago · link · parent

Well, USD is used too. For decades. Even with too many regulations and security controls implemented by financial institutions around the world.

comment 1y ago · link · parent

> This increases the market for bitcoin mining and subsequently energy waste.

News technologies will require more and more energy.

> For me personally this enough reason to ban bitcoin

It's possible to ban bitcoin?

comment 2y ago · link · parent

The Catholic Church.

comment 2y ago · link · parent

Gambling has been a huge disaster for the country as a whole. If it were up to me, I would have already banned all gambling platforms in the country. But to make matters worse, the government is studying a state-owned gambling platform.

comment 2y ago · link · parent

> However, there are many rules and mechanisms in place to stop fiat being used for crime

Yes, but even with those mechanisms in place, crime was doing ok without crypto.

> Lastly, fiat is indispensable in running a modern economy.

Not sure about this.

comment 2y ago · link · parent

According to Gresham's Law, people will always spend the worst money first.

comment 2y ago · link · parent

USD and EUR is also used to buy illegal products.

comment 2y ago · link · parent

In your opinion, which one would be the WW4?

comment 2y ago · link · parent

> An equally strong argument can be made that WW2 never actually ended.

I already saw this argument to WWI, and on this case, the person consider that WWI and WWII was one war. But I never saw this argument about WW2.

comment 2y ago · link · parent

Not yet, but planning to.

comment 2y ago · link · parent

Didn't use it, but think nextjs would be a good choice on this scenario.

comment 2y ago · link · parent

Sad to hear that. I use it in several projects successfully.

comment 2y ago · link · parent

It's really interesting that CloudFlare accepted X (Twitter) as a client knowing the fights Musk gets into.

comment 2y ago · link · parent

My mistake. Thanks for pointing out

comment 2y ago · link · parent

R.I.P. great Commander Adama.

comment 2y ago · link · parent

GnuCash may be a good option

comment 2y ago · link · parent

The restrictions apply to X, so you can use your vpn to anything else. I use it daily on my job (it’s being hard to resist the temptation of take a look on X).

Also, I saw many people saying that a read only access is fine, but posting could be more problematic.

12345
9