Viewing profile — dlsspy
dlsspy
HN member- Joined
- Sat, Jul 18, 2009, 1:39 AM UTC
- HN karma
- 1,374
- Public activity
- 500 items
- HN profile
- View on Hacker News ↗
About dlsspy
No profile information was provided.
Recent public activity
- story
-
comment
Comment #6771255
Should also note that the "arrays are values" thing doesn't actually matter in practice. I've written a wide variety of go code in the last > 4 years and I can only think of two pl…
-
comment
Comment #6771233
" I just notice this section has been removed. I'll be less angry now. :)
-
comment
Comment #6771125
This is very much false: While this will return immediately: v, ok :=
-
comment
Comment #6167648
> Your modified Go server doesn't return "Pong" for "Ping". The program doesn't read the result, so it doesn't matter. Returning Pong isn't harder, but why write all that code if i…
-
comment
Comment #6165277
It's not obvious to me what that does. Does that only service one of the 100 clients or one of their 10,000 pings each? Or both?
-
comment
Comment #6165214
Did you consider running the go client against the scala server and vice versa? Also, that's kind of a lot of code. Here's my rewrite of the server: http://play.golang.org/p/hKztKK…
-
comment
Comment #5959172
We've done a few of them here. Notably: * http://cbgb.io/ * http://dustin.github.io/2012/09/09/seriesly.html * https://github.com/couchbaselabs/sync_gateway cbgb is an API compatib…
-
comment
Comment #5652764
I have no idea what my response was about. As I said, I was pretty sick that day. Sorry you had to type all this stuff to explain to me that I'm a moron. :)
-
comment
Comment #5628260
Then why isn't that the default?
-
comment
Comment #5623326
> but I think " And what looks even better: defer close(doneChannel) (it's also syntactically correct -- you ca't just have a defer block without a function invocation)
-
comment
Comment #5623302
Or turning that around, do you think it requires all 8 of my cores to copy data over the network? Do you think the two lines of code + justification text provides sufficient value …
-
comment
Comment #5623218
Here's the version I threw together in (what it says here), 12 minutes: https://gist.github.com/dustin/5478818
-
comment
Comment #5623175
There's so much code here. If I weren't sick, I'd submit a new version that: 1. Didn't reimplement io.Copy 2. Didn't avoid io.TeeReader 3. Didn't do weird things to avoid regular c…
-
comment
Comment #5623158
goroutines are not threads because thread means something and goroutine means something else.
-
comment
Comment #4524400
What else would I use? I've been writing tons of go code for nearly three years now. I get fast, concurrent, parallel code in very little time. I was pretty much production-ready w…
-
comment
Comment #4513606
This is great feedback. You seem to get what I'm going for. Thoughts on your specific items: 1. I could probably prioritize the query/doc processing and get most of this out of the…
-
comment
Comment #4508287
What kinds of advanced things are you wanting to accomplish?
-
comment
Comment #4508183
There are two hard things in computer science. The next blog post I'm planning is related to cache management.
-
comment
Comment #4507805
Whisper (backend for graphite), cube, ganglia... possibly more. I used to build things directly on top of rrdtool, but the schema definition can be a pain when you've got a lot of …
-
comment
Comment #4507364
I think there are some good ones. I wrote this because I could get it running faster than I could get the data I've got adapted to existing ones. That doesn't mean they're bad as m…
-
comment
Comment #4506782
BTW, my demo site is running in my bedroom on a slow ARM5-based debian box over my terribly slow DSL. If things get slow, that's why. The web server itself is a homemade http serve…
-
comment
Comment #3955068
The two ways (C90 and C99) you can create a variable length item at the end of a structure in C are invalid C++. You can't express them at all. I work around it by making a one ele…
-
comment
Comment #3767277
go1 has been my goto language for a while now. I don't even understand why, but everything makes a lot of sense. It compiles about as fast as python and I have an easy time making …
-
comment
Comment #3438456
So you have a good trainer and a bad yoga teacher?