Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
paulasmuth
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
14 ms
·
61.
▲
by
paulasmuth
11y ago
I have to admit I don't really understand what this is. Looking at the source I can find and a small server programm that sends/receives hardcoded UDP+JSON messages that contain some very specific data (a few numeric parameters, I
62.
▲
by
paulasmuth
11y ago
I realize that. I was joking [more like trying to, it seems] about the fact that parent commented on a technically amazing post with "I could have done this too in X" without providing any further insight, let alone a link to the
63.
▲
by
paulasmuth
11y ago
Yes, this seems like a bunch of work to keep up and running and I agree that most of the meat of their solution is actually in Google's or Amazon's systems running the GeoDNS/push stuff. Hopefully IPv6 will fix it all ™. Howe
64.
▲
by
paulasmuth
11y ago
The load balancing they describe in their article is only used for inbound requests, similar to a traditional HTTP LB setup. If I understand it correctly they don't implement the outgoing message delivery to the called user themselves,
65.
▲
by
paulasmuth
11y ago
I was under the impression that asm.js/emscripten are the new hotness these days? Hence not requiring porting everything to JS manually to bring it "to the web" anymore.
66.
▲
by
paulasmuth
11y ago
That's hilarious -- in fact the full quote is even better. This guy hits it right on the nose: jeff atwood: "any application that can be written in JavaScript, will eventually be written in JavaScript. Writing Photoshop, Word, or
67.
▲
by
paulasmuth
11y ago
Amazing. Maybe we are onto a new kind of Rule 34 here... "Everything that can be implemented in {c++ templates, javascript} will eventually be implemented in that language"
68.
▲
by
paulasmuth
11y ago
Pics or it didn't happen ;) /jk On a serious note: modern C++ does have const expression functions, too, albeit not as powerful (yet): http://www.cprogramming.com/c++11/c++11-compile-time-process...
69.
▲
by
paulasmuth
11y ago
I am not sure if I should be amazed or scared by this. Guess it won't be long before somebody comes up with the only thing left to do, going full meta and writing a "c++ to c++ templates compiler" (or something along those li
70.
▲
by
paulasmuth
11y ago
Thanks for the clarification! I understand that you got rid of the "trampoline"/dispatch code for calling methods by rewriting the respective bytecode at runtime. But you still need to register file descriptors and such with
71.
▲
by
paulasmuth
11y ago
Yeah, esp. love the "Would you possibly need a logo design later?" part of your questionnaire. That seems incredibly relevant to choosing a good name for a company. (Not intending to troll you though, hats off to a clever lead gen
72.
▲
by
paulasmuth
11y ago
I am not convinced this isn't some kind of innovative lead generation method or an ingenious scheme to collect lots of juicy juicy business ideas. Could at least put your name on there so people know who they're dealing with ;)
73.
▲
by
paulasmuth
11y ago
Thanks for the very interesting article. One thing I didn't find very clear from the paper was the rationale of using a framework/kitsune/all that wrapper code vs just implementing the feature natively. In other words, what i
74.
▲
by
paulasmuth
11y ago
To answer my own question here, but without being a java expert, so talking out of ignorance probably. This paper [1] argues there are only two methods to do this on the stock JVM. One is putting in some trampoline code, the other one is pa
75.
▲
by
paulasmuth
11y ago
Honest question; How can you even do this (replace the running binary/java code without closing file descriptors, etc) in plain java/on the jvm? [ Without resorting to tricks where there is some trampoline code that actually does
76.
▲
by
paulasmuth
11y ago
I love this! Now all we need is some higher level DRAW operations (draw a line from here to there, draw a piece of rendered text here) and we can glue PixQL and ChartSQL together to implement SQL query result visualization to bitmaps comple
77.
▲
by
paulasmuth
11y ago
I think that was parent's point. Coming from other languages, it's kind of unexpected that a var defined within a curly brace block (if/for/etc) is actually scoped on the whole function in which it appears and not just t
78.
▲
by
paulasmuth
11y ago
Any chance you could expand on some of those pains? Is the problem with simply sharing the data itself or with being able to slice/dice/query/do smth with the shared data? I'm sure there are a bunch of people around here
79.
▲
by
paulasmuth
11y ago
I am not the author of kerf/the linked software ;)
80.
▲
by
paulasmuth
11y ago
The snippet you posted will compute an aggregation based on a fixed time interval. I.e. it will put every row into a "bucket" of per-minute granularity and then compute an aggregate function for each of those buckets bucket, takin
81.
▲
by
paulasmuth
11y ago
It is not statically linked but loaded dynamically at runtime (see my comment above). And I think the .so is not bundled by UPX/shipped with the binary either. I believe this usecase is explicitly allowed by the GPL, but IANAL, so happ
82.
▲
by
paulasmuth
11y ago
I don't get all the negativity RE: kerf not being open source in this thread. It's obvious the implementation is not free software (check the README in the actual submission) because the author wants to sell commercial licenses. N
83.
▲
by
paulasmuth
11y ago
Awesome stuff, I am actually hacking on something similar, so I would love to hear your thoughts RE: supporting "windowed" aggregations. (E.g. a moving average over a timeseries). Are you planning on adding that and which syntax a
84.
▲
by
paulasmuth
11y ago
Ah turns out this binary actually isn't statically linked at all. It's just the UPX packer that you mentioned that adds a trampoline/stub (the decompression routine I suppose) around the actual binary [and that trampoline cod
85.
▲
by
paulasmuth
11y ago
Off topic; It looks like you linked the linux binary completely statically. I am curious why you decided to do this and how you achieved it. Did you use something other than glibc to compile these binaries? Also did you roll the SQL engine
86.
▲
by
paulasmuth
11y ago
> But as far as I understood this is about what in classic db would be called a sequential scan You misunderstood my comment then. The scheme I described is used to do "full table scans" on the data. Also this is not somethin
87.
▲
by
paulasmuth
11y ago
I believe these guys are actually going straight from SQL to "GPU instruction code" (so AIUI the SQL query execution is not some hack that is layered on top of the programmable shader pipeline [which is what's responsible for
88.
▲
by
paulasmuth
11y ago
I actually recently left my job at google to start my own company and that's what we do. We didn't consider using GPUs yet as the queries we are running for the specific usecase we are currently working on (web/ecommerce anal
89.
▲
by
paulasmuth
11y ago
Are problems that fit in memory on a single machine (96GB in this article) considered "big data" now? This buzzword is becoming absolutely meaningless. But yeah, "Hyper-interactive visualytics at scale.", go nvidia PR. A
90.
▲
by
paulasmuth
11y ago
I don't seem to get it. How is this different from just using a non-routed IP per container?
More ›