Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
alexkus
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
34 ms
·
271.
▲
by
alexkus
14y ago
ObTrivia: In the UK it is convention that surgeons drop the Dr title and revert to Mr/Mrs/Miss/Ms. (History: http://www.newmediamedicine.com/forum/modernising-medical-ca... )
272.
▲
by
alexkus
14y ago
No, English isn't that simple.
273.
▲
by
alexkus
14y ago
Very sad. _Prime Numbers - A Computational Perspective_ (a.k.a. "Crandall and Pomerance") is a seminal book in that field and introduced me to very useful concepts such as Montgomery multiplication.
274.
▲
by
alexkus
14y ago
Advice your parents could have used...
275.
▲
by
alexkus
14y ago
If you don't have kids don't tell people with kids what to do just because they have kids.
276.
▲
by
alexkus
14y ago
X-ray a twisted ankle?
277.
▲
by
alexkus
14y ago
It depends on the setup. I've seen a CMS brought almost to its knees because the previous owner of that IP had a site that had lots of distinct pages on it. Since every page in the CMS was stored in a DB it took a DB lookup to find out whet
278.
▲
by
alexkus
14y ago
> Indeed, especially since most domain parking garbage sites seem to have robots.txt files for some crazy reason. Presumably to avoid being plagued (in terms of load and bandwidth costs) by the numerous crawling bots looking to update t
279.
▲
by
alexkus
14y ago
Many, but not all, of those algorithms will work for numbers which are a product of two roughly even sized primes (depending on size). Especially the Quadratic Sieve and Number Field Sieve class of algorithms (NFS, GNFS, SNFS, etc). Size is
280.
▲
by
alexkus
14y ago
> I wish I knew more about encryption. Unfortunately it isn't a very accessible area, even if you have a degree in CS you aren't really qualified to even touch the stuff, you need a maths degree at the very least. A good Number Theory c
281.
▲
by
alexkus
14y ago
As someone with both a Bachelors degree in Computer Science and a Bachelors degree in Mathematics I'd agree. My CS degree was quite theoretical (completed in 1999) so it wasn't just being taught the language of the day (we did x86 assembly,
282.
▲
by
alexkus
14y ago
n(n+1)/2 also exists as a simple direct method of summing a series of 1..n. There's no similar (obvious) shortcut for n! (I don't count lgamma as obvious...)
283.
▲
by
alexkus
14y ago
Hanger Lane is scary as most drivers haven't realised that it's not really a (proper) roundabout any more. On a normal roundabout if you stay in a lane (one of the inside ones at least) you'll just keep going round and round. With the redes
284.
▲
by
alexkus
14y ago
The lawyer-ish response to that would be that such a change could be considered an admission that, at the time of the original campaign, the T&Cs weren't clear on this matter and that some people therefore had expectations of a guarante
285.
▲
by
alexkus
14y ago
Don't forget hybrid solutions. I've done things in the past with: a) co-location for the main DB servers (allows you to be very specific about hardware choices: RAID cards and SSDs not just preferred manufacturer but also the exact model) a
286.
▲
by
alexkus
14y ago
Sure, but a hash collision for a specified value is still a needle in a haystack. The sheer size of the keyspace (2^128) means that rainbow tables can only ever exist for a subset of the keyspace. 1M machines running for a year each capable
287.
▲
by
alexkus
14y ago
In this case, salting would give almost no benefit given the poor password choice. The pull request included the code that does the hashing:- if( empty( $auth_pass ) || ( isset( $_POST['pass'] ) && ( md5($_POST['pass']) == $au
288.
▲
by
alexkus
14y ago
Not just Poland. I've been to an identical wedding in Slovakia (I can still remember the burn from the slivovica).
289.
▲
by
alexkus
14y ago
Спасибо.
290.
▲
by
alexkus
14y ago
> Remember one attack that caused our Linux boxes to panic, but I can't remember what it was called. teardrop?
291.
▲
by
alexkus
14y ago
Got the original expression in Russian? (Not interested in Google translations of it!)
292.
▲
by
alexkus
14y ago
Not that close... $ date +"%y/%m/%d %H:%M:%S.%N" 12/12/12 12:12:12.367166822
293.
▲
by
alexkus
14y ago
Indeed. London 101 though: It's tricky to see Big Ben as it's one of the bells housed inside the tower. The tower is officially called "Elizabeth Tower" (recently changed from the "Clock Tower" in honour of the Jubilee). There are tours to
294.
▲
don't miss 12/12/12 12:12:12
5 points
by
alexkus
14y ago
|
3 comments
295.
▲
by
alexkus
14y ago
Thanks for the clarification, I did say they were examples (they were the first results I found in a quick google) and that you should use epsilon values appropriate to the values you are comparing.
296.
▲
by
alexkus
14y ago
As a Brit who has lived in the US for a couple of years on and off it gets very confusing. I can never remember which spelling is correct for the current situation for some terms: centre/center, tire/tyre, singular or plural collective noun
297.
▲
by
alexkus
14y ago
Hmm, that's a useful tactic as I'm seeing + addresses becoming much less effective due to the reasons I gave above.
298.
▲
by
alexkus
14y ago
The + trick is becoming well known with spammers anyway. I registered with one site as "something+else@example.com" having never used the "something@example.com" address anywhere and within a few days I was getting spam to "something@exampl
299.
▲
by
alexkus
14y ago
> lie about the details of the system Rather than trying to hide everything another tactic is to provide random misinformation (different user-agent strings, only presenting a subset of fonts and plugins, etc). Enough to defeat the fuzz
300.
▲
by
alexkus
14y ago
That's why you don't compare floating point numbers with the = operator. You use something like: fabs( a-b ) < epsilon where epsilon is usually defined by the language as a very small quantity (example values in C are 1E-8 for
More ›