Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dvirsky
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
62 ms
·
661.
▲
by
dvirsky
11y ago
Oh great, my son who's 7 years old and can barely swim, is going to a water park tomorrow as part of his summer camp, and I won't be there to watch over him. Just what I needed to see right now :) Of course there are lifeguards ou
662.
▲
by
dvirsky
11y ago
Wow, it was so long ago, I don't remember the exact data structures, but I'm pretty sure it wasn't a skiplist. If you've already asked, one cool part of that technology is that the order of received packets is not import
663.
▲
by
dvirsky
11y ago
I was part of a team that designed and implemented a P2P UDP based video streaming protocol, that receives chunks of a stream simultaneously from up to hundreds of peers. It wasn't a "big problem" per se - I worked on seeming
664.
▲
by
dvirsky
11y ago
This is really impressive, but personally I'd rather interact with such agents in typed text, at least as the input method. But maybe I'm just too old.
665.
▲
by
dvirsky
11y ago
Do you have any pointers as to where do I start? I mean I can see how I can probably do it with a C bridge, but I don't know the runtime well enough to attempt to do it without it. Glad it's written in Go now :)
666.
▲
by
dvirsky
11y ago
maybe it can be done with some unsafe magic parsing ELF files or something?
667.
▲
by
dvirsky
11y ago
But I'm wondering - will this mysterious "plugin" package require changes in Go's core runtime, or can I implement whatever functionality it will expose right now. It looks to me like it can't be done without some C
668.
▲
by
dvirsky
11y ago
the question though is how do you go about actually loading it? can it be done without patching the runtime, or without running some C based "bridge" that loads the shared object file? I'm talking about a plugin architecture,
669.
▲
by
dvirsky
11y ago
Is it possible to dynamically load libraries that have been compiled with -buildmode=shared in runtime from within a running Go program? The design doc talked about it IIRC.
670.
▲
by
dvirsky
11y ago
True, but you still bet your future and work many many hours for no pay, and in some cases it never even gets seed funding, so you end up just wasting a ton of time, even though no one profited from your work. Also it should be mentioned fo
671.
▲
by
dvirsky
11y ago
One branch that isn't covered here is joining a non-funded startup as the technical co-founder.
672.
▲
by
dvirsky
11y ago
Yep, I guess finding someone everyone likes and is similar socially to the team - is a rough approximation, before you defined what your culture actually is or should be. BTW when we sat down and defined it, we tried conveying this to the w
673.
▲
by
dvirsky
11y ago
I think the key is to define within the company, what the cultural values are, and then talk about how to check if a person is aligned with them or not. At the company I work for, we value creativity, independence and taking ownership and r
674.
▲
by
dvirsky
11y ago
it's nice, very similar to my API sans the structured messages thing.
675.
▲
by
dvirsky
11y ago
The first project I published in Go almost 3 years ago, was a similar port of the python logger. While today I find this "I want to log like I do in python" approach a bit silly, IMO the Go standard logging package is still lackin
676.
▲
by
dvirsky
11y ago
It also has a nice forking model that lets you take other people's work and extend it for your needs, which is super useful if like me you're not part of the analytics team and don't remember the structure of the analytics ta
677.
▲
by
dvirsky
11y ago
When I was a 1 person operation, and worked as a consultant doing dev work and consulting, I had no problem using my Gmail account. Of course when I started a small company we used a hosted domain. But before the Gmail days it was weird and
678.
▲
by
dvirsky
11y ago
I've never bothered. Hotmail or Yahoo email addresses were embarrassing back in the day, but I guess the hype around Gmail changed that 10 years ago. I've never felt awkward putting a gmail address on a business card.
679.
▲
by
dvirsky
11y ago
Who still bothers to do that?
680.
▲
by
dvirsky
11y ago
This is a really cool and intuitive introduction to this sort of algorithms, and the example and visualization make it very accessible. Great work, I'm sure it will inspire some kids to get into ML and neural networks.
681.
▲
by
dvirsky
11y ago
More or less this. Row = HASH key, sorted sets for secondary key indexing, and also for iterating primary key entries. I've built an abstraction layer on top of redis to automate all that and it works rather well.
682.
▲
by
dvirsky
11y ago
the dropping prices of RAM lead us to re-evaluate what we consider "data that fits in RAM". at 10Gs it's just more economic, and even if we go up one order of magnitude, the serving speed of redis still makes it economic for
683.
▲
by
dvirsky
11y ago
My biggest cluster was 12 nodes, actually a 3*4DCs cluster. I don't recall what the exact issues were, but it took months to stabilize this cluster, and it never performed as well as we'd wanted.
684.
▲
by
dvirsky
11y ago
We've moved most of our data to redis (which we were using way before cassandra), with a bit of classic MySQL for off-line data, and Redshift for analytics. Right now redis is not using cluster mode, but we'll switch to it eventua
685.
▲
by
dvirsky
11y ago
I do believe Cassandra requires a much more intimate knowledge of its internals if you want to do anything serious with it - more so than any other database I've worked with.
686.
▲
by
dvirsky
11y ago
I haven't dealt with the ops side of running our clusters, and the details are not fresh in my mind, so I don't remember much about the storage engines. But we encountered surprises on almost any front when taking C* to production
687.
▲
by
dvirsky
11y ago
The thing is that contrary to many other tools, you can't run Cassandra with almost any of its default settings (maybe besides ports). In most tools you'll need to tweak a few defaults, with Cassandra you need to thoroughly read t
688.
▲
by
dvirsky
11y ago
I prefer to try a real MIDI keyboard at home tomorrow :) But the synth itself sounds and behaves very nicely.
689.
▲
by
dvirsky
11y ago
Really nice even though I don't have a MIDI keyboard lying around here.
690.
▲
by
dvirsky
11y ago
Years ago I shut down a start-up, and as part of some business partnership, we had a physical server hosted in some big company's datacenter. They forgot about it, and I didn't have time or incentive to drive over there to fetch o
More ›