Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
rudolf0
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
49 ms
·
451.
▲
by
rudolf0
12y ago
Yeah, that'd be pretty cool.
452.
▲
by
rudolf0
12y ago
Personally I like it and find it clear. Compare: ary.map(_ * 2) ary.map(x => x * 2) "_" is perhaps an ugly choice of character (frankly I'm not sure why Scala is so obsessed with it, since it's used for
453.
▲
by
rudolf0
12y ago
Streaming, pattern matching, and regex combined in one sounds pretty damn cool. Might also be nice to borrow some of Scala's features for terser code than Ruby, like ary | { _ + 5 } instead of ary | { |el| el + 5 }
454.
▲
by
rudolf0
12y ago
Easier to understand for beginners, I suppose. For the record, I have utterly no math background (hardly passed algebra), but I also agree that checking only 3 and 5 is the better solution and is how I've always written FizzBuzz.
455.
▲
by
rudolf0
12y ago
Many companies do provide maternity leave, many (but fewer) also provide paternity leave, but companies below a certain size are not federally required to provide either (though I believe there are some arrangements where you can take unpai
456.
▲
by
rudolf0
12y ago
The work still has to be done manually in those cases, though, whether they type it themselves or rent use of a captcha farm.
457.
▲
by
rudolf0
12y ago
Here's the unfortunate truth: a good majority of security companies out there are banking on the hope that the signals they are looking for are not known to hackers and so cannot be mimicked or evaded. >unless your signals are somet
458.
▲
by
rudolf0
12y ago
It kind of is, actually. Cloudflare, for example, uses a single CAPTCHA to prevent ongoing DDoS attacks. If they switched to this new reCAPTCHA and if a DDoSer can use Selenium to get past the challenge, then the CAPTCHA process has failed.
459.
▲
by
rudolf0
12y ago
Yeah, I feel like it won't be too long before spammers start finding ways to emulate users without having to solve any CAPTCHAs. Google is likely going to need to switch their 98%/2% to something more like 80%/20% (that is, 2
460.
▲
by
rudolf0
12y ago
Exactly. It's perfectly reasonable to present users who disable JS with a one-time CAPTCHA they have to solve to use the site. Many sites just (usually unintentionally) prevent users with Javascript disabled from navigating a site at a
461.
▲
by
rudolf0
12y ago
I understand pointers and structs just fine, it's just that you would think a modern language like Go would avoid use of pointers to structs and "bring-your-own-buffer" type calling conventions except wherever possible. It ma
462.
▲
by
rudolf0
12y ago
>For anyone wondering why this is necessary, as some others in this thread have mentioned, the standard go way to deserialize json is to pass a pointer to a struct I sometimes have trouble understanding Go. It kind of seems to retain a l
463.
▲
by
rudolf0
12y ago
"The quest for a reactionless space drive"? That's the article's URL slug, though not its title.
464.
▲
by
rudolf0
12y ago
No, I don't think all code should be open source at all. Humanity isn't worse off for it if you don't release the source, but you could potentially make humanity better off by releasing it. If you keep it to yourself foreve
465.
▲
by
rudolf0
12y ago
It is a sense of entitlement, but it's far more reasonable. If you spent years working on a codebase which at least a few people liked enough to use, is it really worth dumping all that code in the trash for all of eternity just becaus
466.
▲
by
rudolf0
12y ago
Because she's (sort of) a public figure and if it was revealed she was lying, it would look very bad for her? She also hasn't had a history of lying about such things in the past, so there's no reason to suspect she is now. S
467.
▲
by
rudolf0
12y ago
I agree.
468.
▲
by
rudolf0
12y ago
You're describing an overly optimistic scenario. "Why not just harden all your machines?" Because it's more complicated than that. Yes, you can automate basic hardening (configuration of access controls, limited use of S
469.
▲
by
rudolf0
12y ago
>It's fundamentally much better to just harden every system and implement proper federated authentication Much better? Yes. More practical? No. Once you have a network of more than 3 hosts, host security can quickly become difficult
470.
▲
by
rudolf0
12y ago
I actually don't really think so. The people sending death threats and harassment to "anti-GamerGate" and the people sending death threats and harassment to "GamerGate" are not members of the opposing side or the sa
471.
▲
by
rudolf0
12y ago
"KingOfPol" is known for lying and generally being not too mentally stable, so it's certainly not a stretch. Sarkeesian on the other hand is unlikely to lie about such things, but there was clearly some exaggeration involved.
472.
▲
by
rudolf0
12y ago
Yep, I think both parties are sort of in the wrong. It's silly how Express currently handles routes, and it's silly of the Netflix engineer to suggest that they should use maps instead.
473.
▲
by
rudolf0
12y ago
I use RE2 and currently achieve this with regular string concatenation. Do you know if they provide an API for doing this without concatenation, and if it would be faster?
474.
▲
by
rudolf0
12y ago
I know very little of NFAs/DFAs/FSMs, or even string parsing in general, but a year ago I built a URL matching engine using exactly this method in Python, in combination with Google's RE2 library ( https://code.goog
475.
▲
by
rudolf0
12y ago
He didn't say he didn't like git; he just said he prefers Mercurial.
476.
▲
by
rudolf0
12y ago
I Google Python-related things all the time from work, including yesterday and today, but I prefer not to login to any of my Google accounts when doing so. I've not yet received any kind of popup or redirection to foobar.
477.
▲
by
rudolf0
12y ago
Where are you drawing this line between religion and ethics? Jews believe it is wrong to eat pork, vegans believe it is wrong to eat animals. What makes one of these beliefs a protected status and one not? >How do you actually determine
478.
▲
by
rudolf0
12y ago
I'm going to have to disagree with you there. Religious diets are not voluntary, but choice of religion is voluntary. Vegetarian/vegan diets adhering to an ethical philosophy are not voluntary, but choosing to accept an animal rig
479.
▲
by
rudolf0
12y ago
>Ever notice how people who make claims about why they got banned never provide links to the posts in question? >their claims are nearly always false. >perennial sob story Hmm, I wonder where these fall on Graham's disagreemen
480.
▲
by
rudolf0
12y ago
Religion and/or ethics are completely different from distaste.
More ›