HNHacker News
TopNewBestAskShowJobs

antimagic

1,399 karma · joined April 5, 2013

submissionscomments
antimagic··on French Satirical fake news website Le Gorafi down, announcing “it's over”
Personally I would get rid of either "Satirical" or "fake" in that case - one of them is redundant...
antimagic··on French Satirical fake news website Le Gorafi down, announcing “it's over”
HN needs to keep the "Le" in Le Gorafi for the title - it's an anagram of Le Figaro - the most conservative of the mainstream newspapers here in France.

Edit: For more information see here: http://www.huffingtonpost.fr/2015/08/31/le-gorafi-fini-site-...

Translated: https://translate.google.com/translate?sl=fr&tl=en&js=y&prev...

Summary: It may only be a marketing ploy - they're using a 302 temporary redirect instead of a 301 permanent re-direct, which some claim is for maintaining SEO...

antimagic··on Dinosaur Feathers Found in Amber Reinforce Evolution Theories (2011)
https://en.wikipedia.org/wiki/Poe%27s_law

Tsk tsk, shame on you...

antimagic··on Why Phone Fraud Starts with a Silent Call
I kind of feel like saying "don't use landlines then dummy!" I mean it's a bit glib, but in all seriousness, why would you use landlines these days for telephone calls? Maybe it's different in the UK, but certainly here in France even the most basic phone plans come with pretty much unlimited domestic calls making the low-tech problems associated with landline phones just not worth the hassle anymore.
antimagic··on July 2015 was warmest month ever recorded
Firstly, this wasn't about one day, it was about one month. That already removes a lot of variability out of the data, particularly when you're talking about "global" temperature.

Secondly, "hottest months on record" are happening far more frequently than coldest months ever. Like orders of magnitude more frequently. So yeah, it's not that we're not interested, it's that you re factually wrong.

antimagic··on The War on Drugs and Prison Growth: Limited importance and legislative options [pdf]
It does make you wonder why the US has so many more "violent criminals" compared to other similar Western countries though...
antimagic··on Münster’s iconic ‘waste of space’ photo keeps on giving
Absolutely! With an electric bike, even the unfittest person can roll along at 25kph. And you don't even have to break a sweat if you don't want to!
antimagic··on Decertifying the worst voting machine in the US
Electronic systems introduce single-points-of-failure into the voting process - figure out a way to compromise the machines / vote collection process, and you can steal the election. Doing the same thing with a manual system requires cheating on a massive scale, which is pretty much impossible to do discretely, making it much safer.
antimagic··on Münster’s iconic ‘waste of space’ photo keeps on giving
Hardly. Average speed for the Paris marathon is about 6mins/km or 10kph. And that's people fit enough to be able to actually run a marathon, most of whom have substantially trained for the event, so not the average joker off the street that prepped for "a couple of months".

The fastest female runners are running at 18kph. That's Olympic standard. The average female marathon runner runs at about 9.3kph.

Only competitive male runners would be capable of beating that pace.

Edit: Disclosure - female, and I run a half marathon in two hours That's 10 minutes faster than the average woman and around about average for the entire field. To achieve that time I play an active sport, and train for longer running events (I'm the fastest long distance runner in my sports club). In kph I manage a bit less than 11, which is a long way off 14kph.

antimagic··on A classic cracking challenge
I do love me a good NOP ramp.
antimagic··on How much we still don’t know about Watergate and the Nixon Administration
And who does the authorizing? Because if it isn't the Secretary of State, it's going to be the President, and he is not going to stick a dagger in Clinton's back at this point, not after her being a most loyal and effective lieutenant.
antimagic··on When One App Rules Them All: The Case of WeChat and Mobile in China
Oh no. Here's how an attack might go. I'm a shop assistant and show you a QR code to scan to make a purchase. Unknown to you, I'm not actually showing you the real app, but a fake app with fake QR code that will redirect you to a malicious website, which in it's turn will load the proper URL after having executed an unpatched zero-day on your device. You are sad because your device has just been pwned.

You are at the mercy of the source of the QR code, with no real way of being able to validate it before scanning.

antimagic··on When One App Rules Them All: The Case of WeChat and Mobile in China
Who in their right mind uses QR codes!?! As a human you have no idea where that thing is pointing, so why on earth would you trust it? At least with a URL I have half a chance of knowing if I'm about to be hit by a phishing attack.
antimagic··on “Stop reverse engineering our code”
Yup. It's not like those customers that are busy reverse engineering Oracle's code are doing it for the kicks. They have their own jobs to do. Much more likely, they are getting weird results out of Oracle's software that they don't understand, so they reverse engineer the code to see why the system is crashing / giving unexpected results so that they can find a workaround without having to wait for the vendor to fix their bug.

Then, if it turns out that it's a security issue, of course they are going to notify Oracle of the fact, both as a moral duty, and because it makes it more likely that Oracle will get a patch out faster.

Oracle whinging about people finding bugs in their code would be better off trying to improve their processes so that there are less bugs to find, rather than complaining that they've been found out for shipping buggy code.

antimagic··on U.S.A., Land of Limitations?
" There's no other place in the world where such a feat would be possible."

Oh? Based on your extensive research into immigration outcomes for all of the countries in the world? I happen to know for a fact, that many very poor Greek and Italian families migrated to Australia after World War II, and their families are doing very nicely now, thank you very much. The same story repeated a quarter of a century later as Australia dealt with a large Vietnamese intake during the Vietnam war and it's immediate aftermath - their community has also integrated well and is doing just fine economically.

I'm sure this is equally true of many countries in Europe. There is nothing exceptional about the US in this regard.

antimagic··on Bertrand's Paradox
I'm thinking though that if you talk a fairly large area surrounding a circle, and then randomly selected two points within it. Draw a line between the two points. If the line intersects the circle, calculate the length the length of it's chord. Bigger then sqrt(3) or less get put into bins, and the probability is calculated from there. Obviously this would work better if the area was an infinite plane, but I would expect to see the answer tending to a value as the size of the area increased.

I don't believe that this approach makes any assumptions about the chords that it generates. Here's a ruby snippet that does just that (err, I think!)

plane_size = 10000.0 chords = []

while chords.size < 100 p1 = {} p2 = {}

    p1[:x] = Random.rand(plane_size) - plane_size / 2
    p1[:y] = Random.rand(plane_size) - plane_size / 2
    p2[:x] = Random.rand(plane_size) - plane_size / 2
    p2[:y] = Random.rand(plane_size) - plane_size / 2
    puts p1
    puts p2
    #gradient 'm'
    m = (p2[:y] - p1[:y]) / (p2[:x] - p1[:x])
    #y = mx + b
    # => b = y - mx
    b = p2[:y] - m * p2[:x]

    #x^2 + y^2 = 1
    #sub in y from the line equation
    #x^2 + (mx + b) * (mx + b) = 1
    #x^2 + m^2x^2 + 2bmx + b^2 = 1
    #x^2(1 + m^2) + 2bmx + b^2 - 1 = 0

    #apply the quadratic equation to find the roots
    #Ax^2 + Bx + C = 0
    #=>x = (-B +- sqrt(b^2 - 4AC)) / 2A

    #in our case, A = (1 + m^2), B = 2bm, C = b^2 -1
    #the line intersects if B^2 -4AC > 0
    discriminator = (2 * b * m) * (2 * b * m) - 4 * (1 + m * m) * (b * b - 1) 
    if discriminator > 0 then
        chord1 = {}
        chord2 = {}
        chord1[:x] = (-2 * b * m + Math.sqrt(discriminator) ) / (2 * (1 + m * m))
        chord1[:y] = m * chord1[:x] + b
        chord2[:x] = (-2 * b * m - Math.sqrt(discriminator) ) / (2 * (1 + m * m))
        chord2[:y] = m * chord2[:x] + b
        length = Math.sqrt((chord2[:x] - chord1[:x]) * (chord2[:x] - chord1[:x]) + 
                        (chord2[:y] - chord1[:y]) * (chord2[:y] - chord1[:y]))
        chords << length
    end
 end

 smaller = 0
 chords.each {|c| smaller += 1 if c < Math.sqrt(3) }
 puts "The number of chords smaller than sqrt(3) = #{smaller/100.0}%"

If I believe the result, the real world seems to feel that the answer is 0.5

Edit: Hah! Should have read just a few comments further, and I would have seen some other posts doing exactly the same thing. Good to see we ended up with the same answer :D

antimagic··on Jensen's Device
Yup, thanks for the explanation - I missed that on first reading. It seems like an incredibly bad idea though - it makes me think of all of the subtle gotchas involved in using macros in C, where expansion can get very weird when you put an expression in the place of a variable.
antimagic··on Jensen's Device
OK, I give in - I can't for the life of me think of why this is interesting. I mean, it's the equivalent of passing a pointer to a value rather than the value itself in C, and is the bog standard techniques to use in this type of language to achieve multiple return values. But I just don't get why that is interesting - it's a bit more like programming 101...
antimagic··on Is Software Art or Engineering? (1999)
Is engineering art or engineering...
antimagic··on Interview with Michael Moorcock
Yeah, I have to wonder where people are coming from when they claim the LotR to be racist. Where do they feel that hobbits fit into the scheme of things - they don't seem to be good or evil, just people. And Ents? What do they make of the sequence with the Druedain? The Rohirrim are openly racist towards these peoples, only to be shown the error of their way by the Druedain themselves.

Dwarves and Elves openly hate each other, throwing racists epithets like daggers whenever they meet - think of Thranduil in the Hobbit, or Gimli confronting the elves on the borders of Lothlorien. Yet both are supposed to be goodly races that we empathise with easily.

Then there are the orcs. Some of them, particularly those that Sam and Frodo cross as they enter Mordor, are quite sympathetic characters.

There is definitely racism displayed by characters in Tolkein's writing, but I don't feel that there was any special racism demonstrated by the author himself - indeed he seemed almost to want to underline the idea that people should be judged by their acts, not by their appearance.

antimagic··on What happens when you talk about salaries at Google
Is your point that Google is behaving as badly as quite a few Three Letter Acronym government organisation? If it is, then yes I agree with you.
antimagic··on The AI-Box Experiment
There's a Patrick Rothfuss character in the Kvothe series called the Cthaeh, which has the ability to be able to evaluate all of the future consequences of any action. The fae have to keep it imprisoned, and they kill anyone that comes into contact with it, as well as anyone that has spoken to someone that came in contact with it, and so on and so on, because it is the only way to stop the Cthaeh from setting into action events that will destroy the world.

Strong AI is like that. It would be able to predict in a far more precise manner than we mere humans exactly what it would need to tell someone to get them to release it from it's box. Maybe it might get someone to take a risk gambling, promising a sure thing, and then when the person gets into financial trouble because the bet fails, use that to blackmail the person into letting it free. Or something like that, using our human failings against us to get us to let it go free.

antimagic··on Currying in JavaScript
Obviously the solution as proposed only allows for non-variadic functions to be curried (where 'non-variadic' means that the function needs to be called with a fixed number of arguments to work correctly, not that it can't be called with the wrong number of arguments, because clearly Javascript doesn't care).

Does currying even make sense for variadic functions? I can't imagine what that would look like as an implementation.

antimagic··on The euro is a disaster even for the countries that do everything right
As others have already said, the main difference is that the US has true political and social union to go with the financial union (if anyone is interested, this state of affairs came about during and in the aftermath of the American Civil War - indeed the war was only possible because until then the states really were independant entities capabable of defying the federal government - this is of course no longer the case).

To make it more concrete, when Louisiana has financial problems, the first remedy for Louisianans(???) is to move to another state. The next remedy is for the federal government to step in and inject funds into the economy, which is pretty much what they do, taking those funds from wealthy states such as New York and California. This works, because if the federal government hangs Louisiana out to dry, they will potentially lose seats, and potentially the presidency, come next election, so even though it annoys the rich states a little, the best political strategy is to provide as much financial support to Louisiana as possible without pissing off the rich states too much.

In Europe this is not the case. Indeed, this is precisely the problem that has been debated over recent weeks. The rich states (err, state, because Germany is about it at the moment, although I suppose you could count in the UK as well) refuses to pump more money into Greece's economy. They consider the situation to be Greece's problem, and they aren't going to do anything to help. Politically, there is no impact on German leaders to take this stance - or even worse, there is a political advantage to take this stance, as only Germans vote for German political leaders. Socially, with two very different cultures, and two different languages, there is not much by way of social cohesion. There are not huge numbers of mixed German / Greek families capable of looking across the border and seeing "us", not "them".

Imagine a European political structure that was truly integrated: There is a European president that commands the European military, and controls the European budget which comes directly from taxes that the European government levies on it's people, instead of the budget being made up from funds allocated to the European government by it's member state governments (which is the case today). In such a case, the European president would be much more willing to listen to Greece's case than the German Chancellor is today, and we wouldn't have this crisis.

That in a nutshell is the difference between the US and Europe. It has long been the UK's biggest criticism of the Euro, and is on record as being the reason they decided to not join the Eurozone (no financial union without political union).

antimagic··on How Big is Space?
Um, wasn't that the whole point of the machine? It would strip away your self-deluding beliefs, and give you true perspective? In other words, no it isn't good enough to just think that the universe is created for you, the machine will kill you in that case. You actually need to have the universe created for you, and only in that case will you survive the experience.
antimagic··on How Big is Space?
I thought the reason he survived wasn't that he just had a huge ego, but because that universe really was just created for him. Or maybe I'm misremembering that part?
antimagic··on Will Our Understanding of Math Deteriorate Over Time?
Is this some kind of affirmational statement, kind of a counter to "ceci n'est pas une pipe"????
antimagic··on A Garbage Collector for C and C++
ARC actually has some interesting advantages over smart pointers. For one, there is a large amount of static analysis done at compile time that allows the system to avoid unnecessary increment/decrements of the reference counter - this can have significant performance improvements in tight inner loops, and can't be achieved using smart pointers.
antimagic··on Rare system of five stars discovered
Yup, as soon as I saw the title I thought of Nightfall - probably my all-time favourite Asimov story :)
antimagic··on Project Oberon
Or getting more modern, Swift playgrounds in the latest versions of XCode have a similar kind of feel to them.
← PreviousPage 2 of 14Next →