Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
justinsb
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
33 ms
·
271.
▲
by
justinsb
12y ago
Is there a good open-source Paxos implementation? There are many open-source Raft implementations, some of which are good. goraft powers etcd, for example. I believe most developers just want to consume a working library. It seems likely
272.
▲
by
justinsb
12y ago
Thanks for explaining - makes a lot of sense. One cool feature (which might be what BranchMetrics does) would be to add a one-time-use token to the URL so I don't have to log in again on the app, if I already have a desktop login. It
273.
▲
by
justinsb
12y ago
Fair point. I got the impression it had been fixed, but that may have been wrong. Hopefully, once it is fixed, they will be named, otherwise I don't see how things can ever get better.
274.
▲
by
justinsb
12y ago
Is there a reason you're not naming them? You disclosed it responsibly, and presumably they have now fixed it. I don't understand the rationale for _not_ naming them.
275.
▲
by
justinsb
12y ago
So they thought they were under attack by a nation-state, and destroyed their USB(?) mice. Yes, we ridiculed them in 2013, but post-BadUSB they don't look _quite_ so crazy.
276.
▲
by
justinsb
12y ago
Congratulations on the traction. As an Android user though, I don't really get the problem. From a desktop browser, I expect a link to the Play Store, where I can then have the app installed to any of my devices. Is this really for
277.
▲
by
justinsb
12y ago
I would be surprised if ToroDB implemented the oplog which Meteor uses for efficient live-updating, but I guess it _should_ work with the polling mode. SQL support (i.e. direct Postgres support) is on the Meteor roadmap for post-1.0.
278.
▲
by
justinsb
12y ago
Tangentially, why didn't curl escape the trailing space to %20?
279.
▲
by
justinsb
12y ago
Looks like they were PATA for version 1 (search for 'PATA'). My guess is that they wanted to keep the SATA ports for their storage, and the motherboard had a PATA port available. It may also have been non-trivial to boot from JFS,
280.
▲
Square Testing New Payroll Product as Ambition Grows
(recode.net)
11 points
by
justinsb
12y ago
|
2 comments
281.
▲
by
justinsb
12y ago
Perhaps you selected the last ten orders for a particular customer, or something like that. In that case, the query planner would have to choose whether to scan the entire table, or to scan the timestamp index and then filter by customer.
282.
▲
by
justinsb
12y ago
Do you mean HSCAN with MATCH? Thanks for reminding me about that. I think it's so limited that the point still stands though.
283.
▲
by
justinsb
12y ago
If you're iterating over the entire dataset regularly though, you should _definitely_ use a relational database over Redis, because a relational database lets you push processing onto the server. With redis you'll have to fetch e
284.
▲
by
justinsb
12y ago
If you have an index on the date, then selecting the last 10 orders will be very cheap, and there's no reason not to do that in a relational database - it should be near-instantaneous. The trade-off here is that every index you add mak
285.
▲
by
justinsb
12y ago
Yes, I think it's a great idea. First of all, 3 million rows a month is not that much from a database point of view - if evenly distributed (though I'm sure it's not), it would be about 1 per second. (It is impressive to me
286.
▲
by
justinsb
12y ago
Exactly; this reminds me of the quote "I do not agree with what you have to say, but I'll defend to the death your right to say it." A key axiom of free software is that if you don't like something, you can fork it. If
287.
▲
by
justinsb
12y ago
It really depends on your workload. If your working-set fits into memory and is read-mostly, your I/O is basically irrelevant. Even if you're not in-memory, if you are doing mostly sequential reads (like the OLAP queries they ar
288.
▲
by
justinsb
12y ago
To be fair, they've made it very clear how it works: 1) They have optimized the (existing?) CSV import code to use SSE instructions, for faster CSV import 2) For a sufficiently complicated query, they will compile it to native code usi
289.
▲
by
justinsb
12y ago
I've joked about doing this for a long time: the Internet, just without all those annoying people that disagree with you. So on HN, you would only see comments from people that had similar opinions, stories would be ranked based on th
290.
▲
by
justinsb
12y ago
Good point! Safe if used very carefully, perhaps - like most of C++.
291.
▲
by
justinsb
12y ago
C++11 introduces unique_ptr, which has a lot of the same safety characteristics. Rust's syntax does seem much nicer, though.
292.
▲
by
justinsb
12y ago
There are lots of open source implementations of similar ideas. Check out anything based on Raft: etcd, for example. I also wrote some blog postings applying the idea to a bunch of different systems: http://blog.justinsb.com
293.
▲
by
justinsb
12y ago
1) At the extreme example, putting code through a mechanical transformation would result in no overlap, yet obviously would not change the license. Monit is arguing that inspeqtor is insufficiently dis-similar to escape the GPL. 2) You can
294.
▲
by
justinsb
12y ago
I remember reading the T&Cs for one of these 'marketplace lenders'; they would do collections for the lender, if the borrower was 60 days late (which doesn't even seem that late). But the lender would get nothing, settin
295.
▲
by
justinsb
12y ago
I don't think I've properly explained the idea... The goal is to get the same performance as ninja, in the common case when the dependencies/build steps haven't changed. We somehow use the makefile to generate the ninj
296.
▲
by
justinsb
12y ago
I do think it would be interesting to implement a Make -> Ninja compiler; the devil is in extracting all the correct dependencies. But... it sounds like the OP isn't really concerned about CPU efficiency (CPU is cheap compared to al
297.
▲
by
justinsb
12y ago
I agree, although perhaps ChromeBooks are "cheap and weak" because there are no applications that use the power (hence the failure of the Chrome Pixel). If ChromeBooks are to become ubiquitous, I think local VMs is a great soluti
298.
▲
by
justinsb
12y ago
No, I want the virtual machine to run on my Chromebook. And it sounds like that is what they're doing!
299.
▲
by
justinsb
12y ago
My understanding is that Adobe's previous cloud offerings download the programs to your machine, where they execute locally, saving files to the cloud. Is this how Photoshop works here? Or are they doing VNC/remote desktop style
300.
▲
by
justinsb
12y ago
This sounds like it is using anycast routing ("single global IP address"). Can anyone confirm? If so, I think that's awesome; I don't know of anyone else offering that as a service. Presumably this also lays the groun
More ›