Viewing profile — jub0bs
jub0bs
HN member- Joined
- Thu, Jun 27, 2019, 5:14 AM UTC
- HN karma
- 8
- Public activity
- 36 items
- HN profile
- View on Hacker News ↗
About jub0bs
No profile information was provided.
Recent public activity
-
comment
Comment #44167307
"Stateless" does not seem as strong as "pure", and purity is what I'm after. What about an iterator that maintains no state but prints to the screen? You could describe it as a "st…
-
comment
Comment #44134028
Ok, that is annoying. I hope it gets fixed soon.
-
comment
Comment #44125446
Your post does show that iterators are somewhat of a leaky abstraction, but I'm not sure I would go as far as calling some of their infelicities "bugs". Whether those infelicities …
- story
-
comment
Comment #43285301
Instead of recovering from what clearly is a bug, why not fix that bug instead?
-
comment
Comment #43285271
There are even panics that are intended as irrecoverable: https://cs.opensource.google/go/x/sync/+/refs/tags/v0.12.0:s...
-
comment
Comment #43283989
I don't think any reasonable member of the Go community would claim that any aspect of the language and its standard library is perfect. The many open issues on https://github.com/…
-
comment
Comment #43283847
One data point showing that Pike's views can be and sometimes are controverted: https://www.youtube.com/watch?v=5uM6z7RnReE&t=18m
-
comment
Comment #43283776
> actually they always intended to have generics There was a time when generics were not even on the table. I'm pretty sure I remember an old talk by Rob Pike where he says that mu…
- comment
- story
-
comment
Comment #41346147
[dead]
-
comment
Comment #41345871
You cannot use `Access-Control-Allow-Origin: *` indiscriminately, though. In some cases, it can be dangerous: https://security.stackexchange.com/questions/227779/concrete...
- story
- story
-
comment
Comment #40186649
I’ve just released jub0bs/cors, a new CORS middleware library for Go, perhaps the best one yet. It has some advantages over the more popular rs/cors library, including a simpler AP…
- story
-
comment
Comment #37271355
Functional options is a creational pattern that remains divisive in the Go community: loved by some, loathed by others. However, the pattern can tremendously improve a library’s AP…
- story
- story
-
comment
Comment #34931577
Thanks for the kind words!
-
comment
Comment #34707990
In this post, I investigate why developers struggle with CORS and I derive Fearless CORS, a design philosophy for better CORS middleware libraries.
- story
- story
- story