Live data from Hacker News

Redis Loadable Modules System

antirez.com

31–40 of 62 posts

Re: Redis Loadable Modules System

#32
post #22

Earlier quoted context omitted.

You don't have to use it, and you should not use modules you don't trust.

In an ops-type capacity, I support developers. I keep up with news like this specifically to avoid winding up with modules somebody else trusts, but didn't inspect.

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.

Re: Redis Loadable Modules System

#34

I once built something like this for Redis but never really thought he would do it! https://github.com/spullara/redis/tree/plugins

I've written something similar too. Adding plugins/modules was like a rite of passage for anyone digging into the redis source. I'm definitely happy to see modules getting official support now though.

Re: Redis Loadable Modules System

#35
post #18

Earlier quoted context omitted.

It's not the constant interruptions (headphones do a good job of dealing with that), its the lack of internet access that is the showstopper - I don't have all the APIs + docs in my head.

I use https://kapeli.com/dash for offline documentation for when I'm on flights. Also, WiFi has been available on more and more flights. I actually have found long flights good for solid focused coding sessions (especially when I already have thought through what I want to build). edit: woops, looks like someone submitted this at the same time. In any case, working offline also forces you to reign in your app depende…

Wow, it even has Hackage support! Too bad it's OS X-only.

Re: Redis Loadable Modules System

#36

How people can code on airplanes amazes me. I have tried but the cramped space, the constant interruptions.. I never get much done.

As a father of three toddlers, I can tell you that sitting in an airplane for hours is pure heaven for concentration and lack of distractions.

I love working on the plane too. Noise-cancelling headphones and a 13" MacBook Pro. I usually code for around 40% of the SF to London flight. Great opportunity for uninterrupted flow.

Re: Redis Loadable Modules System

#37

How people can code on airplanes amazes me. I have tried but the cramped space, the constant interruptions.. I never get much done.

It's not the constant interruptions (headphones do a good job of dealing with that), its the lack of internet access that is the showstopper - I don't have all the APIs + docs in my head.

I have all the APIs in my IDE.

Re: Redis Loadable Modules System

#38
This is great and long awaited, please consider some kind of a namespacing scheme for module-defined commands though, or things can easily become messy. In the module example the "hello." prefix is specified for all defined commands - it would probably be better to specify it once on module initialization and have all commands defined by the module prefixed with it automatically, the module registries could then manage the prefix registration/allocation to module authors.

Re: Redis Loadable Modules System

#39

How people can code on airplanes amazes me. I have tried but the cramped space, the constant interruptions.. I never get much done.

This is how I try to justify flying up front (if the price works out right). I take the extra cost and attempt to "pay it back" by how many hours of extra work I can get done (or, if an overnight flight, extra work I can do the next day after sleeping the whole way instead of feeling like a zombie).

Re: Redis Loadable Modules System

#40

How people can code on airplanes amazes me. I have tried but the cramped space, the constant interruptions.. I never get much done.

One of the companies I started a few years back was born in the back of the highway 17 Express, a bus with cramped seats that blazes down a really windy road at 60 mph. It even has wifi (for some parts of the ride). After that, working on airplanes was easy. You just need to fight a bit for elbow room and hope you aren't seated between two obese people. If you're really lucky, the person in front of you will be too concerned with others to lean their chair back...but even if they do, it's workable.

Probably helps that I'm fairly scrawny though.

Post reply on HN