Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dvirsky
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
46 ms
·
451.
▲
by
dvirsky
10y ago
At first I hated it and didn't get why the looooong introduction to the canvas (that part could have been much shorter). But eventually I think he did a great job explaining the subject to people with close to zero knowledge, and his s
452.
▲
by
dvirsky
10y ago
You can use modules from Lua if they are loaded, there is not difference between them and native stuff. You can certainly manipulate ReJSON objects from Lua, parse ReJSON returned objects from Lua, etc. No limitations as long as the module
453.
▲
by
dvirsky
10y ago
If you're serializing and saving the entire object always - you don't need this extension. But if you're storing say, a 1K user profile, and most of the time you just want to update the access time, or get some auth token - t
454.
▲
by
dvirsky
10y ago
Right now the problem that ReJSON tries to solve is very specific and typical for Redis users: You save JSON blobs on Redis (usually session data), now you want to get just a part of a JSON key, or manipulate just one element in a specific
455.
▲
by
dvirsky
10y ago
TOML seems like a nice middle ground, it's gaining some popularity in the Go world.
456.
▲
by
dvirsky
10y ago
Thanks! What I'm looking forward is adding secondary indexing to this module :)
457.
▲
by
dvirsky
10y ago
I feel the same about JS in general, yet it rules the world.
458.
▲
by
dvirsky
10y ago
We wanted to start with something simple and intuitive, and since we're not doing indexing yet, we figured complex multi-selectors are an overkill at this stage. What we chose is basically the most rudimentary subset of JsonPath. Once
459.
▲
by
dvirsky
10y ago
Are you using ReJSON?
460.
▲
by
dvirsky
10y ago
We're also developing a secondary indexing module ( https://github.com/RedisLabsModules/secondary ) and a search module ( https://github.com/RedisLabsModules/RediSearch ), the direction is to int
461.
▲
by
dvirsky
10y ago
For anyone else interested but having rendering problems: A talk by the author on youtube: https://www.youtube.com/watch?v=NLRbq2FtcIk The ReJSON website: https://redislabsmodules.github.io/rejson/
462.
▲
Redis as a JSON store
(redislabs.com)
158 points
by
dvirsky
10y ago
|
113 comments
463.
▲
by
dvirsky
10y ago
I'm not sure, it came pre-installed with the car. It warns me when I'm drifting between lanes without signaling first, it tells me if I'm speeding (no warning sound though), it indicates if I'm within a safe distance of
464.
▲
by
dvirsky
10y ago
Try git praise: https://github.com/ansman/git-praise
465.
▲
by
dvirsky
10y ago
I got one with my car (a Hyundai) recently. Works rather well, although has some false positives once in a while, where it screams that I'm about to hit someone while there's no one near me. Just think about the scale and quality
466.
▲
by
dvirsky
10y ago
How about navigating yourself to an architect-style role? You get to be very hands on, the work is more interesting, and it's "respectable" enough for older dudes like myself.
467.
▲
by
dvirsky
10y ago
It was probably written by their PR firm.
468.
▲
by
dvirsky
10y ago
I didn't think this is what you implied, but having seen the actual email, I also think the security bad practice was on the sender side, and this wasn't a phishing attempt.
469.
▲
by
dvirsky
10y ago
It wasn't an internal email, it was from someone at some private investment fund, and emailed to someone at the bank. Also, for clarification, 12345678 wasn't the actual number, it was something that looked completely legit.
470.
▲
by
dvirsky
10y ago
I seriously doubt it was, at least not a blanket automated attempt aimed at multiple people. It was years ago but IIRC, there were actual names and the email was clearly between two people who knew each other personally, contained phone num
471.
▲
by
dvirsky
10y ago
I once worked with a guy who had a domain that is the name of a major bank in my country (i.e. he owned {bank_name}.xyz and the bank's domain is {bank_name}-bank.xyz). Somehow he managed to hold on to it over the years. Anyway, he had
472.
▲
by
dvirsky
10y ago
I've just switched to Mac a couple of weeks ago after over a decade of Linux as my desktop - Ubuntu and Gnome for the past 6 years or so. I have a much better machine now (although there are nice Linux certified laptops out there) and
473.
▲
SessionGate – Secure Session Management using Redis (module)
(github.com)
1 points
by
dvirsky
10y ago
|
0 comments
474.
▲
by
dvirsky
10y ago
Shameless plug: I'm working on RediSearch, an open-source, in-memory Redis module written in C that does search. Not nearly full-featured as Lucene and friends, of course, but it's a very young project. http://redisearc
475.
▲
by
dvirsky
10y ago
Yeah, at times the obsession of gophers with "idiomatic code" is annoying. But when you read someone else's code and it's idiomatic, you almost immediately have an intuitive sense how it works and can understand and mod
476.
▲
by
dvirsky
10y ago
Not sure. the diff between 12 to 14 years experience is not like 2 to 4 years.
477.
▲
by
dvirsky
10y ago
Not that I know of, but Go is super easy to learn. You will get a grip of the basics and be productive over a few hours or weekend at most, and one or two hobby projects later you'll learn to appreciate the stuff I'm talking about
478.
▲
by
dvirsky
10y ago
I can't say that Java has improved me in any language, but Go and Python have improved my Java. But any time you learn new idioms in a new language, your understanding of programming gets better I suppose.
479.
▲
by
dvirsky
10y ago
But Go really does encourage good practices. I came to Go after programming in C, C++, Java and a bunch of dynamically typed languages. After a couple of years with Go I returned to C (and a bit to Java). And I'm writing better code in
480.
▲
by
dvirsky
10y ago
yeah but certainly 8 bytes are not 32 bit
More ›