Readit News logoReadit News
evanelias commented on Waitgroups: What they are, how to use them and what changed with Go 1.25   mfbmina.dev/en/posts/wait... · Posted by u/mfbmina
porridgeraisin · a day ago
errgroup cancels the whole task if even one subtask fails however. That is not desirable always.
evanelias · a day ago
If the context cancellation is undesirable, you just choose not to use WithContext, as the sibling comment mentions.

You could also just make your subtask function return nil always, if you just want to get the automatic bookkeeping call pattern (like WaitGroup.Go from Golang 1.25), plus optional concurrency limiting.

Also note, even if a subtask function returns an error, the errgroup Wait blocking semantics are identical to those of a WaitGroup. Wait will return the first error when it returns, but it doesn't unblock early on first error.

evanelias commented on Waitgroups: What they are, how to use them and what changed with Go 1.25   mfbmina.dev/en/posts/wait... · Posted by u/mfbmina
stefanos82 · a day ago
Personally I wished they had it backported to previous versions too, because it's rather convenient!

What is quite sad is that we cannot add it ourselves as it's so simple of what they have done:

    func (wg *WaitGroup) Go(f func()) {
        wg.Add(1)
        go func() {
            defer wg.Done()
           f()
        }()
    }

evanelias · a day ago
You can just use golang.org/x/sync/errgroup instead, which has always provided this style of use.

errgroup also has other niceties like error propagation, context cancellation, and concurrency limiting.

evanelias commented on Show HN: ChartDB Cloud – Visualize and Share Database Diagrams   app.chartdb.io... · Posted by u/Jonathanfishner
evanelias · 3 days ago
I'd love to hear more about your experience with AGPL licensing and building a cloud/SaaS product later. It looks like you introduced a CLA four months ago, but have a lot of external contributions prior to that.

How did you solve the AGPL hurdles for that pre-CLA third-party code? It's usually impractical to get a lot of contributors to retroactively sign a CLA. Did you have to rewrite some/all of those older code contributions, or is the full cloud product open source as well?

evanelias commented on AI is different   antirez.com/news/155... · Posted by u/grep_it
antirez · 8 days ago
To understand why this is too optimistic, you have to look at things where AI is already almost human-level. Translations are more and more done exclusively with AI or with a massive AI help (with the effect of destroying many jobs anyway) at this point. Now ebook reading is switching to AI. Book and music album covers are often done with AI (even if this is most of the times NOT advertised), and so forth. If AI progresses more in a short timeframe (the big "if" in my blog post), we will see a lot of things done exclusively (and even better 90% of the times, since most humans doing a given work are not excellence in what they do) by AI. This will be fine if governments immediately react and the system changes. Otherwise there will be a lot of people to feed without a job.
evanelias · 8 days ago
> Book and music album covers are often done with AI (even if this is most of the times NOT advertised)

This simply isn't true, unless you're considering any minor refinement to a human-created design to be "often done with AI".

It certainly sounds like you're implying AI is often the initial designer or primary design tool, which is completely incorrect for major publishers and record labels, as well as many smaller independent ones.

Deleted Comment

evanelias commented on I gave the AI arms and legs then it rejected me   grell.dev/blog/ai_rejecti... · Posted by u/serhack_
mystraline · 18 days ago
You should change the license to AGPL and 'custom, contact for payment details', and provide a link to this as why you did so.

Simply put, anything not a viral license like GPL allows parasitization by companies effectively living off FLOSS devs, with absolutely nothing to gain. Human rights under GPL were meant to apply to humans, not '3 lawyers in a trench coat' (corporations).

They can make their decisions (snubbing a dev of code they deem good enough for enterprise). And you can make comparable decisions, punishing them for the sheer hubris.

It also reaffirms that my decision of AGPL for everything is the right one. They can contact for custom terms.

evanelias · 18 days ago
> It also reaffirms that my decision of AGPL for everything is the right one. They can contact for custom terms.

Since your replies below are focusing on compensation: have you actually made a nontrivial amount of money with that model?

I would expect that should be a prerequisite to reaffirm it was the correct decision, especially if you're giving unsolicited advice to strangers about how they should license their software.

evanelias commented on What went wrong for Yahoo   dfarq.homeip.net/what-wen... · Posted by u/giuliomagnifico
Melatonic · a month ago
But think of all the additional ads that uBlock origin is now hiding you could have seen :-D
evanelias · a month ago
Believe it or not, some of us don't use ad blockers. The ads are easy to ignore anyway when they're as irrelevant as the bad search results!
evanelias commented on What went wrong for Yahoo   dfarq.homeip.net/what-wen... · Posted by u/giuliomagnifico
aydyn · a month ago
Google search increased 22% from 2023 to 2024. You sure about that?
evanelias · a month ago
An increase in searches isn't necessarily a positive thing. Anecdotally, I've increased the number of Google searches I do simply because it now requires multiple attempts to frame my query in a way that provides the results I'm actually looking for!
evanelias commented on Open Source Maintenance Fee   github.com/wixtoolset/iss... · Posted by u/AndrewDucker
liotier · a month ago
If it solves your problem, why would you care about what other people do with it ? Free software isn't charity, just a way to find allies - usage by other people is a side effect which doesn't cost anything to the project and is entirely irrelevant apart as some input for the user-to-ally pipeline.
evanelias · a month ago
Have you ever spent a huge amount of unpaid time to create an innovative, successful open source project and then had it forked in this manner? If not, I don't think you can accurately predict how this feels. Especially if the forker takes credit for your work, raises large amounts of venture capital, and uses their fork in a way which directly competes with your original project.
evanelias commented on The Italian towns selling houses for €1   theguardian.com/society/2... · Posted by u/lazydogbrownfox
evanelias · a month ago
> The €1 house project seems to have been the brainchild of Vittorio Sgarbi, the Italian art critic and TV personality turned mayor of the small, rapidly depopulating town of Salemi, Sicily.

Not coincidentally, that's the same guy and same town that acquired the massive film collection from legendary NYC chain Kim's Video [1], ostensibly to create a cultural hub in Salemi, but instead they let the collection rot.

There's a documentary about it [2], but it's a bit insufferable at times, and you can basically get the gist from some articles [3].

[1] https://en.wikipedia.org/wiki/Kim%27s_Video_and_Music

[2] https://www.imdb.com/title/tt24132144/

[3] https://news.artnet.com/art-world/kims-video-documentary-246...

u/evanelias

KarmaCake day2572June 6, 2012
About
NYC-based software engineer. Founder of skeema.io. Formerly a member of Facebook's db automation team and engineer #4 at Tumblr.

Email: evan @ skeema.io

Code: https://github.com/evanelias

DJ mixes: https://soundcloud.com/dj_eje

View Original