Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
icholy
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
21 ms
·
181.
▲
by
icholy
6y ago
It's slow.
182.
▲
by
icholy
6y ago
I tried this a few years back and gave up after a few days. Moving your foot is way slower than hitting a key.
183.
▲
Debugging a flaky Go test with Mozilla rr
(choly.ca)
1 points
by
icholy
6y ago
|
0 comments
184.
▲
by
icholy
6y ago
What does that even mean?
185.
▲
by
icholy
6y ago
One comment that's not even on the first page of comments.
186.
▲
by
icholy
6y ago
wtf are you talking about? I don't see any comments praising the author for writing the UI.
187.
▲
by
icholy
6y ago
nope
188.
▲
by
icholy
6y ago
Even basic cell references are a type of code.
189.
▲
by
icholy
6y ago
The time spent writing boilerplate is completely negligible to the amount of time spent finding the "perfect" combination of language features to express your problem. I write production ready code in Go way faster than in any oth
190.
▲
by
icholy
6y ago
> I've had coworkers who would put this before every method call, because...? Because then I can tell it's a method by only looking at the call site.
191.
▲
by
icholy
6y ago
Go has something similar to this https://github.com/kyleconroy/sqlc
192.
▲
by
icholy
6y ago
https://github.com/pinoceniccola/what-hn-says-webext
193.
▲
by
icholy
6y ago
It uses https://golang.org/pkg/syscall/#ReadDirent and https://golang.org/pkg/syscall/#ParseDirent to incrementally read them.
194.
▲
by
icholy
6y ago
There's https://golang.org/pkg/os/#File.Readdir
195.
▲
by
icholy
6y ago
Just because something doesn't work for your use-case doesn't make it the "dumbest way possible". It just makes you sound dumb.
196.
▲
by
icholy
6y ago
You can drop down into the lower level apis https://godoc.org/golang.org/x/sys/unix
197.
▲
by
icholy
6y ago
There was discussion about this. One approach would be to tie the entire fs.FS instance to a context. Something akin to `http.Request.WithContext`.
198.
▲
by
icholy
6y ago
> Things like no package management, no vendoring, importing modules directly from GitHub without any concept of versioning, the confusing mess that is $GOPATH You just said "no dependency management" 4 times in a row.
199.
▲
by
icholy
6y ago
Yep, I felt like I was rolling the dice every time I hit next.
200.
▲
by
icholy
6y ago
You can name the binary git-qlite if you want to invoke it as a subcommand on git. git qlite "SELECT * FROM commits"
201.
▲
by
icholy
6y ago
I just see two pictures of a disassembled camera. Is there more info?
202.
▲
by
icholy
6y ago
The problem is that solutions optimised for benchmarks are usually non-idiomatic. If the solution doesn't represent "real code", then is there any real value? An interesting benchmarking approach would be to take solutions to
203.
▲
by
icholy
6y ago
Can't get enough of those template errors.
204.
▲
by
icholy
6y ago
> If you design your functions in a way that that function will never receive an array, you dont have to test for it. And if some idiot tries one day, it should error very loudly that something is wrong. Then you've moved it from a
205.
▲
by
icholy
6y ago
> Go is popular because Google enjoys shoving it down our throats How exactly is Google "shoving it down our throats"?
206.
▲
by
icholy
6y ago
> Go's popularity is due to author's employer. Why isn't Dart seeing the same type of success?
207.
▲
by
icholy
6y ago
What's the deal with the fork?
208.
▲
by
icholy
6y ago
interfaces
209.
▲
Go Get for Everything Else
(github.com)
1 points
by
icholy
6y ago
|
0 comments
210.
▲
by
icholy
6y ago
> I'm seeing 714kb of data loaded over 924ms. That's really bad!
More ›