Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dvirsky
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
85 ms
·
841.
▲
by
dvirsky
13y ago
"Stupid idea" is indeed not constructive. "Will never work because [XYZ]" is constructive IMHO, although not very polite. Being Israeli I prefer brutal truths over polite bullshit. And personally I try to be honest with
842.
▲
by
dvirsky
13y ago
I agree that more honesty when you don't like ideas is needed. A few years back when I started a company (as the tech founder), we approached a high profile investor. He was positive at first and then cooled off after a few days. Then
843.
▲
by
dvirsky
13y ago
I recently added the statement "type T interface{}" to a piece of code, as a private joke about the generics-in-go talk. now my code looks like "func map(x []T, f func(T) T)" and everybody's happy :)
844.
▲
by
dvirsky
13y ago
+1, but I'm ont sure how that's going to work. Even if you support Py2 syntax, some of the internals are different and might cause code to misbehave, especially the str/unicode/utf stuff.
845.
▲
by
dvirsky
13y ago
The irony is that what's keeping Python from moving forward is its own ecosystem. PyPi makes it so easy to just add small libraries as dependencies to your project. This is part of what I like about it, but it comes with a cost - this
846.
▲
by
dvirsky
13y ago
Thanks :) Feel free to contribute if stuff's missing for you. We are already using this system for a lot of things, but there is a wish list of some relatively low hanging fruits.
847.
▲
Show HN: Re:dash - collaborative dashboards using RedShift
(geeks.everything.me)
7 points
by
dvirsky
13y ago
|
2 comments
848.
▲
by
dvirsky
13y ago
When their map implementation has union and intersect, I'll shut the hell up. In the mean time people who need this need to implement these operations by themselves, or try to figure out which set implementation on github to use.
849.
▲
by
dvirsky
13y ago
I tend to agree that simple generics would have made things a bit less annoying working with custom containers (BTW - I think the standard library should have a proper set type, it's silly that there are a zillion set implementations o
850.
▲
"Because YOLO" Oriented Programming
(github.com)
4 points
by
dvirsky
13y ago
|
1 comments
851.
▲
by
dvirsky
13y ago
I'm using this model in a team of 12, it works fine, except for: 1. needing to have reliable testing environments for QA/product people to try features, as many feature branches are worked on at once; and 2. new people having tro
852.
▲
by
dvirsky
13y ago
I'm hoping this will make one thing easy enough to be worth the effort: a proper UI for GDB debugging Go code.
853.
▲
by
dvirsky
13y ago
It's a function of the number of keys more than heap size directly. I've benchmarked the STW at 20ms pauses for ~2G if the values are ~10k each, and 200ms if the keys are 1K each at the same amount of RAM.
854.
▲
by
dvirsky
13y ago
[project author here] The idea here was to actually sort of extend redis. People often ask "can redis do X" and get the answer that their use case is not broad enough, or it can be done with Lua, or simply no. then they ask what a
855.
▲
by
dvirsky
13y ago
Neither - it is an in-memory server that you run and connect to with the redis protocol.
856.
▲
by
dvirsky
13y ago
I would love to use it on my already existing Ubuntu installation. I see that it's based on Precise, and I have Raring. Is there an apt repo I can put on top of my Ubuntu box to enable this?
857.
▲
by
dvirsky
13y ago
I've done lots of C++, and memory management has become much easier since shared and scoped ptrs have entered the std lib. But still, going back to it now for a new project seems highly unlikely to me, it's like moving from a feat
858.
▲
by
dvirsky
13y ago
I tried the recommended vim plugin. it was okay, nowhere near as powerful as intellij's plugin - and still didn't solve my gdb issue.
859.
▲
by
dvirsky
13y ago
A few are just UX quirks - ctrl+b tries to build from the current package, not the project root, leaving you tabbing to main.go for each recompile, which is annoying; cursor "runs away" from the prompt not affecting anything. but
860.
▲
by
dvirsky
13y ago
I know it's not a popular view, but being pretty much in love with Go, what I find most difficult about it is the lack of any real IDE. And by real IDE I basically mean: a rich editor, stable code completion, jump-to-declaration etc; a
861.
▲
by
dvirsky
13y ago
I sorta like them for two reasons: 1. It's interesting to see what people struggle with or like about it, having written a lot of Go. That gives me some perspective, I guess. 2. The comments usually have these little gems of tips and
862.
▲
by
dvirsky
13y ago
Cool, I didn't know that. will change my Set implementation :) BTW You should remember that if you really want a python-like set, map[interface{}]struct{} is not enough - you still have to implement intersection, union, diff yourself.
863.
▲
Show HN: GoMR, a toy MapReduce framework using Goroutines
(github.com)
1 points
by
dvirsky
13y ago
|
0 comments
864.
▲
by
dvirsky
13y ago
it's basically this thing https://play.google.com/store/apps/details?id=me.everything.... embedded into the OS.
865.
▲
by
dvirsky
13y ago
still included with the batteries in 2.7, which comes with most distros.
866.
▲
by
dvirsky
13y ago
how does this affect Python users? Berkeley is part of the default standard library and is installed by all Python users everywhere.
867.
▲
by
dvirsky
13y ago
Years ago, in the early days of Ajax, I made a spinner for a web app, and contributed it to some guy's collection. I'm not even a designer and it's badly made and a bit wobbly, but I've seen it since so many times, in so
868.
▲
by
dvirsky
13y ago
the benchmark still has to run somewhere :) and it takes up CPU as well. running both the server and benchmark on one CPU reduces performance dramatically. On a 2 core EC2 machine the results are much closer. However if you ran the benchmar
869.
▲
by
dvirsky
13y ago
I wouldn't go as far as calling it scarcely usable, but EC2 does add some overhead to running redis. I've been using it on EC2 for over 2 years (some of the metrics in the doc you linked are on my machines BTW :) ), and you just h
870.
▲
Go-PyLog: Go logging - Python style
(github.com)
2 points
by
dvirsky
13y ago
|
0 comments
More ›