HackerTrans
TopNewTrendsCommentsPastAskShowJobs

alain_gilbert

no profile record

comments

alain_gilbert
·il y a 3 mois·discuss
I was actually thinking of making a similar app for hacker news comments. Should we all quit hacker news too?
alain_gilbert
·il y a 8 mois·discuss
reminds me of an project I made many years ago to manage dependencies in between repositories. So if project A was waiting for a fix in project B to be in production, you could draw a line between the two commits (from project A to project B) and get notified when the commit in project B gets into the "production" branch. And then merge and deploy your feature branch from project A.
alain_gilbert
·il y a 8 mois·discuss
I worked on a toy programming language (that compile down to golang), which is a fork of the go lexer/parser, but it changes how functions can only return one value allowing the use of Result[T]/Option[T] and error propagation operators `!` and `?`.

It has enums (sum type), tuple, built-in Set[T], and good Iterator methods. It has very nice type inferred lambda function (heavily inspired by the swift syntax)... lots of good stuff!

https://github.com/alaingilbert/agl
alain_gilbert
·il y a 8 mois·discuss
@tinfoilhatter if that's the example of an `hostile and abrasive member of the Nim community` looks to me like the nim community is doing just fine.
alain_gilbert
·il y a 8 mois·discuss
> ...and views he expressed to me regarding climate change...

Is that for real? I bet I can find some chocolate chip cookie recipe that the Go team would disagree with me. I ain't ever using Go again.
alain_gilbert
·il y a 9 mois·discuss
> Even after reading the article, it's not clear why that particular expression is so egregiously poor.

I'm glad I'm not the only one wondering why this is not instant to type check.
alain_gilbert
·il y a 9 mois·discuss
Seems like it got fixed just now. Thanks for doing it. It looks much better now :)
alain_gilbert
·il y a 9 mois·discuss
I'm well aware of it. But I don't think I have ever seen an editor/website which would display it as 9 spaces. Github for example default to 4 spaces width.
alain_gilbert
·il y a 9 mois·discuss
I like how he kept "tabs" (and display it as 9 spaces) to make it as ugly as possible for the bad example, then proceed to use 4 spaces for the other examples.
alain_gilbert
·il y a 9 mois·discuss
61 dependencies, no codegen. Nothing special really.
alain_gilbert
·il y a 9 mois·discuss
I have a fairly small go project (100k loc) and it takes ~30sec to build.

I'd be thrilled to have it build in 300ms.

(Using a macbook pro 2019)
alain_gilbert
·il y a 9 mois·discuss
> Honestly, who cares about the difference between 1s vs 100ms vs 10ms for a build though?

I definitely do. Not necessarily because of the 10ms vs 1s. But because of the later stage when it becomes 600ms vs 60s.
alain_gilbert
·il y a 9 mois·discuss
[dead]