Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dvirsky
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
48 ms
·
571.
▲
by
dvirsky
10y ago
I was planning on writing a Go module wrapper but didn't get to it before RedisConf. I'm more interested though to see when a JS module wrapper gets implemented.
572.
▲
by
dvirsky
10y ago
Yeah, not surprising :) Also, the API sort of reminds me of the Python C API.
573.
▲
by
dvirsky
10y ago
I've added the real links beside the bitly links, thanks.
574.
▲
by
dvirsky
10y ago
We're printing this on a page to give people at redisconf, that's why.
575.
▲
by
dvirsky
10y ago
The idea was to illustrate how little boilerplate is required, that's all. [EDIT] - and to have the tutorial fit on a printed A4 page.
576.
▲
Creating a Redis Module in 15 Lines of Code
(gist.github.com)
115 points
by
dvirsky
10y ago
|
41 comments
577.
▲
by
dvirsky
10y ago
Thanks, will let the relevant person know.
578.
▲
by
dvirsky
10y ago
They're not going to be as fast, but almost as fast. You could do that in theory but IMHO there's not much point
579.
▲
by
dvirsky
10y ago
> most of these should really be in Redis by now This exactly the point of the module system. You don't need to either convince antirez to accept/implement a new feature, or fork redis if he doesn't agree. It will make the
580.
▲
by
dvirsky
10y ago
Actually the post explains the motivation well. The basic idea is to add capabilities to redis at native speeds, without having to either convince antirez that they're necessary or forking redis. I work for Redis Labs, and over the cou
581.
▲
by
dvirsky
10y ago
What would be a must and should probably be a default, is not allowing to load modules using the network API, only via config file.
582.
▲
by
dvirsky
10y ago
You don't have to use it, and you should not use modules you don't trust.
583.
▲
by
dvirsky
11y ago
... in Go.
584.
▲
by
dvirsky
11y ago
It certainly distorts results where the median and average in the general population differ by a lot. Where I live the average is almost 50% higher than the median.
585.
▲
by
dvirsky
11y ago
An Uber for package managers
586.
▲
by
dvirsky
11y ago
that's certainly how I install pip on a new machine
587.
▲
by
dvirsky
11y ago
Usually it's just one of the languages the technical founder is most familiar with. Mark Zuckerberg's weapon of choice before Facebook was PHP - which was one of the best options for web dev circa 2004 - so he just used the most p
588.
▲
by
dvirsky
11y ago
For what it's worth, I don't either when I'm in the US.
589.
▲
by
dvirsky
11y ago
I looked up some international stats on robbery, but they don't differentiate between mugging of people on the street and robberies at businesses, banks, etc. The US has a rate about x3 higher than my country (Israel), but again, it do
590.
▲
by
dvirsky
11y ago
Actually crime rates in the US have been dropping steadily for decades. Thought personally, not living in the US, just the thought of being robbed is like science fiction to me. And it's not like I live in a great country, but things l
591.
▲
by
dvirsky
11y ago
To me it's a broken window thing. Go's main mission is to make life easier for me as a developer, and compile times are a big factor in that. If we stopped being obsessed about it, we'd eventually end up with compile times re
592.
▲
by
dvirsky
11y ago
this thread is about java vs python. go to me is a sweet sport between what I like about other strongly typed languages and what I like about python
593.
▲
by
dvirsky
11y ago
I'm very comfortable in Go, Java and Python, and in my experience Java and Go fill the same niche in terms of use case, but I'm way more productive with Go, for various reasons. And in terms of language, it's waaaaay less ver
594.
▲
by
dvirsky
11y ago
If you're looking for a sweet spot you should try Go.
595.
▲
by
dvirsky
11y ago
You should definitely try Pollock. It's a bit rough, and the code is messy and hard to understand - but very powerful.
596.
▲
by
dvirsky
11y ago
I'm from Israel and I never realized it's unique, funny. I think it started about 15 years ago as way for mobile providers to create unique numbers for their own services like support. And since those are also very short numbers,
597.
▲
by
dvirsky
11y ago
Google is not listed on the customers list of vidyo BTW
598.
▲
by
dvirsky
11y ago
did it work inside the browser? as a Linux user, that's a big plus, not having to be stuck with some lame version like in Skype's case, or not have any working version at all.
599.
▲
by
dvirsky
11y ago
Considering that Google Hangouts is perhaps the best video conferencing tool I've tried, it's not odd for me at all.
600.
▲
by
dvirsky
11y ago
it looks like it is his extension, he's committing to this repo if you look at the log. looks like it just moved to the Microsoft org (if it wasn't there already).
More ›