Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
thedufer
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
73 ms
·
691.
▲
by
thedufer
12y ago
No one is claiming Aereo has that right. They're claiming that the person renting the antenna does. The implication of the case seems to be that renting an antenna does not give you those rights in the same way buying one does, which
692.
▲
by
thedufer
12y ago
You can trivially farm data that people are sending to their local apps by having DNS occasionally change to an IP you own (and then immediately back, to avoid detection). On that IP, you would have something that remembers the parts of th
693.
▲
by
thedufer
12y ago
OTA is pretty terrible throughout Brooklyn. Unless you live at the top of a tall building, you're basically out of luck. I have a fairly clear view of the sky from my window, and I "get" 2-3 channels (my TV can identify the
694.
▲
by
thedufer
12y ago
Mods: could use a (2009) tag.
695.
▲
by
thedufer
12y ago
> However, I can't take a stack seriously as an enterprise or production ready piece of software when it does something like iterate a list recursively in performance sensitive code. It's just bizarre. JS doesn't have tail
696.
▲
by
thedufer
12y ago
> just looked for unescaped paren groups Don't forget non-matching groups! Which brings up my point yet again - everyone is pretending this is a dead-simple problem to solve, but all of the proposed solutions are buggy. Not really
697.
▲
by
thedufer
12y ago
The point is to be able to have middleware that only runs on certain urls. For example, you might have middleware that only runs on a particular version of your API (`regexp: ^/1\/.*/`). I've used it fairly extensively
698.
▲
by
thedufer
12y ago
> First off, you don't need to handle the 'multiple' case, since the "|" has precedence rules applied to it. Read my top-level post again - multiple routes can be called on the same request, so express has to be
699.
▲
by
thedufer
12y ago
By that logic the app I work on would have a DFA with ~200,000 nodes. That sounds fairly large to me. I suspect this is a slight overestimate, but the point stands - non-trivial apps could quickly build very large state graphs.
700.
▲
by
thedufer
12y ago
> I can generate the regexp ((^\/foo\/bar$)|(^\/foo\/bar\/\d+$)) And how would you know which one got matched? The regex match isn't going to tell you that. Also, it needs to recognize if multiple were mat
701.
▲
by
thedufer
12y ago
Oh, right. My CS has gotten fuzzy - the tree gets enormous, but the runtime stays is O(n) on input length. Thanks for the explanation.
702.
▲
by
thedufer
12y ago
Yeah, but what's n there? Isn't that going to be something like the sum of each route's length? That doesn't buy us anything (well, probably a smaller constant). Unless you go the NFA route, but I'm pretty sure th
703.
▲
by
thedufer
12y ago
> It’s unclear why Express.js chose not to use a constant time data structure like a map to store its handlers. Its actually quite clear - most routes are defined by a regex rather than a string, so there is no built-in structure (if the
704.
▲
by
thedufer
12y ago
Thanks for the response. That's all very interesting. > If I had any actionable advice to offer, it would be to look into this crap now. Is that still relevant given that I don't have options? My company only offers one plan
705.
▲
by
thedufer
12y ago
My answer to that question is pretty much the same as my answer to anything else about investing in the stock market - don't pretend you know more than the professionals; just use index funds. My problem wasn't with TSLA. > Wh
706.
▲
by
thedufer
12y ago
I'd like to repeat that these are assumptions - the worst I've ever done is broken a finger, so I'm not the one stretching the limits of the plan. Some of the things I don't know about: Is abortion covered? I don'
707.
▲
by
thedufer
12y ago
Retail investors on average underperform the market, yes. Retail investors who only invest in index funds tie with the market (pretty much by definition) and those who think they can beat it drag the average down. You're generalizing
708.
▲
by
thedufer
12y ago
Statistically, professional investors don't beat the market. People aren't "downvot[ing] what they don't understand", they're downvoting demonstrably poor advice.
709.
▲
by
thedufer
12y ago
By limits to the coverage, I meant health issues that are not covered (I don't know what those might be, but I have to assume there's something). As reference: http://www.joelonsoftware.com/items/2014/07&
710.
▲
by
thedufer
12y ago
A truly awful automated translation of the Japanese at the beginning of the post seems to say that he's in the process of doing the translation but welcomes help from someone who could do it faster. So I would assume it doesn't e
711.
▲
by
thedufer
12y ago
I think http://www.kalzumeus.com/2012/09/17/ramit-sethi-and-patrick-... and http://www.kalzumeus.com/2012/09/21/ramit-sethi-and-patrick-... are good places to start. If you ha
712.
▲
by
thedufer
12y ago
Its rare, but actually good health insurance exists here. I'm young/healthy enough that I haven't hit the limit of coverage, but I understand that's pretty hard to do, and deductibles/co-pays/drug costs are al
713.
▲
by
thedufer
12y ago
> Check the statistics. I'd love to. Link? > Why else did the people under Plan Jefes CONTINUE doing their jobs - kind of for free, really - after the jobguarantee was replaced with an income guarantee? Again, link? I can'
714.
▲
by
thedufer
12y ago
I was using some implicit assumptions made by crdoconnor (without which the `"need to work" -> PWA > BI` implication falls apart). The first, that "work" implies something you can reasonably be paid for. And the
715.
▲
by
thedufer
12y ago
> People actually like to work - to feel useful Your argument seems to hinge on this, but I see no reason to believe it. There have been fairly long-term experiments on BI, and people who choose not to work do things they enjoy - learni
716.
▲
by
thedufer
12y ago
Right, but that's the point of a GUID. Claiming no chance makes it sound like its distinct from other GUID generators in that way. I think the intended claim is "here is a scheme for roughly timestamp-ordered GUIDs", which
717.
▲
by
thedufer
12y ago
Please, generate 2^<length>+1 of them and let me know how it goes.
718.
▲
by
thedufer
12y ago
Oh. I honestly didn't see the conspiracy theory coming. You got me.
719.
▲
by
thedufer
12y ago
"no chance of collisions" can't be applicable to any finite-length ID. Low chance, perhaps. That said, this appears to be exactly the scheme MongoDB uses (except Mongo IDs are 96 bits).
720.
▲
by
thedufer
12y ago
A quick internet search shows that one person came up with that estimate and published it without any actual calculations. I'd be curious to see the calculations, if only to point out what happens when a non-economist tries to make su
More ›