Readit News logoReadit News
arccy 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
tombert · 12 hours ago
Forgive a bit of ignorance, it's been a bit since I've touched Go, but this looks awfully similar to a Java CountdownLatch [1]. Is this just a glorified Go port of that or am I missing something vital here?

[1] https://docs.oracle.com/javase/8/docs/api/java/util/concurre...

arccy · 11 hours ago
CountDownLatch looks like it can only count down? the go one you can add/remove at will
arccy commented on Show HN: JavaScript-free (X)HTML Includes   github.com/Evidlo/xsl-web... · Posted by u/Evidlo
johncolanduoni · a day ago
I believe the spec is at XSLT 3.0 but no browser actually implemented past XSLT 1.0 (not 100% sure - almost nobody cared about this feature last month so hard to find good docs on support). HTML5 and C++ are cut from the same cloth - massive and no reference implementation so full of features that have been “standard” for 10 years but never implemented by anyone.
arccy · a day ago
even outside of browsers barely anything supports XSLT newer than 1.0
arccy commented on Leaving Gmail for Mailbox.org   giuliomagnifico.blog/post... · Posted by u/giuliomagnifico
stevage · a day ago
> starting at €2.50/month (paid annually)

> I had no issues with paying the equivalent of two coffees a month

Where can you get coffee for €1.25?!

arccy · a day ago
Italy I think
arccy commented on Leaving Gmail for Mailbox.org   giuliomagnifico.blog/post... · Posted by u/giuliomagnifico
Sniffnoy · a day ago
That sounds like a problem with the Gmail webmail client -- I don't think Gmail does that when used over IMAP with an external client?
arccy · a day ago
the web client can send plain text, it's only the mobile client that doesn't have an option to do so
arccy commented on Go is still not good   blog.habets.se/2025/07/Go... · Posted by u/ustad
J_Shelby_J · 2 days ago
No one cares more about rust than Gophers.
arccy · 2 days ago
Usually it's the other way around...
arccy commented on Go is still not good   blog.habets.se/2025/07/Go... · Posted by u/ustad
openasocket · 2 days ago
I've worked almost exclusively on a large Golang project for over 5 years now and this definitely resonates with me. One component of that project is required to use as little memory as possible, and so much of my life has been spent hitting rough edges with Go on that front. We've hit so many issues where the garbage collector just doesn't clean things up quickly enough, or we get issues with heap fragmentation (because Go, in its infinite wisdom, decided not to have a compacting garbage collector) that we've had to try and avoid allocations entirely. Oh, and when we do have those issues, it's extremely difficult to debug. You can take heap profiles, but those only tell you about the live objects in the heap. They don't tell you about all of the garbage and all of the fragmentation. So diagnosing the issue becomes a matter of reading the tea leaves. For example, the heap profile says function X only allocated 1KB of memory, but it's called in a hot loop, so there's probably 20MB of garbage that this thing has generated that's invisible on the profile.

We pre-allocate a bunch of static buffers and re-use them. But that leads to a ton of ownership issues, like the append footgun mentioned in the article. We've even had to re-implement portions of the standard library because they allocate. And I get that we have a non-standard use case, and most programmers don't need to be this anal about memory usage. But we do, and it would be really nice to not feel like we're fighting the language.

arccy · 2 days ago
I guess you'd be interested in the arena experiment, though it seems to be currently on pause
arccy commented on Go is still not good   blog.habets.se/2025/07/Go... · Posted by u/ustad
apwell23 · 2 days ago
> But yeah the whole error / nil situation still bothers me. I find myself wishing for Result[Ok, Err] and Optional[T] quite often.

I got insta rejected in interview when i said this in response to interview panels question about 'thoughts about golang' .

Like they said, 'interview is over' and showed me the (virtual) door. I was stunned lol. This was during peak golang mania . Not sure what happened to rancherlabs .

arccy · 2 days ago
They probably thought you weren't going to be a good fit for writing idiomatic Go. One of the things many people praise Go for is its standard style across codebases, if you don't like it, you're liable to try and write code that uses different patterns, which is painful for everyone involved.
arccy commented on "Remove mentions of XSLT from the html spec"   github.com/whatwg/html/pu... · Posted by u/troupo
delfinom · 5 days ago
WHATWG literally forced W3C to sign a deal and obey their standards. WHATWG is basically Google + Apple + Microsoft directly writing the browser standards. Fixing Microsoft's original mistake of Internet Explorer of not creating a faux committee lol.
arccy · 5 days ago
w3c architecture astronauts have no place dictating standards that they can't implement.
arccy commented on "Remove mentions of XSLT from the html spec"   github.com/whatwg/html/pu... · Posted by u/troupo
redwall_hp · 5 days ago
The W3C spec was. But WHATWG and HTML5 represent a coup by the dominant browser corporations (read: Google). The biggest browser dictates the "living standard" and the W3C is forced into a descriptivist role.

The W3C's plan was for HTML4 to be replaced by XHTML. What we commonly call HTML5 is the WHATWG "HTML Living Standard."

arccy · 5 days ago
the old sages in ivory towers handed us a spec engraved in stone and expected is to live by it

no wonder they were sidelined

arccy commented on "Remove mentions of XSLT from the html spec"   github.com/whatwg/html/pu... · Posted by u/troupo
bayindirh · 5 days ago
No. The official statement from Brian was “I received a couple of personal e-mails from some credible people who stated that their data belonged to them, so we (I) decided to make it opt-in” (paraphrased).

I spent days in that thread. That uproar was “a bunch of noisy minority which doesn’t worth listening” for them.

arccy · 5 days ago
where is this official statement, I don't think you even managed to get the name right

u/arccy

KarmaCake day1387May 7, 2018View Original