Better HN
topnewbestaskshowjobs
Log inSign up

omra

51 karma · joined Aug 16, 2012 (14y ago) · 35 submissions

Submissions

comment 13y ago · link · parent

I don't think it's meant to play chess, it's just to show chess positions (see the example page: http://chessboardjs.com/examples).

It is in a similar vein to this: http://andrewphoy.github.io/chess-replayer/. (Which is more full-featured.)

comment 13y ago · link · parent

Apple Corps v Apple Computer. Wikipedia: http://en.wikipedia.org/wiki/Apple_Corps_v_Apple_Computer

comment 13y ago · link · parent

I expect it will still exist, after all, there is both AskUbuntu.SE and ubuntuforums.com. It might start seeing less activity though.

comment 13y ago · link · parent

Check out the status reports to the Apache Board of Directors (http://stdcxx.apache.org/status/):

(05/11)

      No changes. Stdcxx continues to be dormant. There was a flurry of emails
      on the stdcxx-dev list suggesting continued interest from the same two
      parties (ARM and Sun) but no new work.
---

The Attic is where retired Apache projects go.

(02/2012)

      A vote to move stdcxx to the Attic failed. The majority of stdcxx
      contributors voted in favor of continuing to maintain the project.
      Several inactive committers stepped up to help with the project.
---

I do not think that this was a surprise. Regular status reports stopped completely after February 2012. It's also notable that Chris Bergström was proposed for the new chair position, see http://mail-archives.apache.org/mod_mbox/stdcxx-dev/201306.m...

comment 13y ago · link · parent

https://github.com/joelthelion/autojump

(It's like a smart version of cd.)

comment 13y ago · link · parent

I agree that an off-by-one error is not a huge deal in most cases, but cryptography is one of those places where you cannot get it wrong. The programmers, or a employee well-versed in cryptography, should have ran a Chi-Squared test immediately on the random data to make sure it was random. (That is the first thing I would try, and I only have a working knowledge of statistics and cryptography.)

Cryptography is unforgiving, and when your code could seriously endanger someone else, you have to be constantly vigilant.

comment 13y ago · link · parent

The URL in the location bar seems to update with the steps you've done (here's one showing the first construction: http://www.sciencevsmagic.net/geo/#0A1.1L0.1A0.3L0.3L1). Undo/Redo can then give an animation like appearance.

comment 13y ago · link · parent

No notable mathematician has considered one prime since the early 20th century (of course, I'm oversimplifying, see [1] for more information).

[1]: https://cs.uwaterloo.ca/journals/JIS/VOL15/Caldwell1/cald5.h...

comment 13y ago · link · parent

BBC and Bloomberg also saying the same thing [0][1].

[0] http://www.bbc.co.uk/news/business-23150658 [1] http://www.mikebloomberg.com/index.cfm?objectid=A08875E3-C29...

comment 13y ago · link · parent

Diminishing returns: The amount of mine-able bitcoins decreases overtime, as well as the amount of reward decreasing as the hashing power of the network increases. Assuming the price of Bitcoins does not increase accordingly, the amount of money gained will go down.

Bitcoin Collapse: If Bitcoins collapse, you now have a bunch of worthless miners. Compare this to a quick sell it and done.

God forbid you gain a significant amount of network control, because you have a problem. Miners will probably begin to reject your transactions for the sanity of the network, because you could double-spend, and virtually create infinite bitcoins.

Also, how is setting up a business like this trivial? I imagine that a huge part of it (initial investment, buying power, and maintaining all these devices) could be problematic, although I could be wrong.

comment 13y ago · link · parent

I highly recommend reading the explanation on how this is significant, it goes into more depth about timing attacks:

http://cr.yp.to/antiforgery/cachetiming-20050414.pdf

comment 13y ago · link · parent

And now if you want to depress yourself, tick the "Forecast" checkbox on the right.

comment 13y ago · link · parent

Already posted a few hours ago: https://news.ycombinator.com/item?id=5845541

comment 13y ago · link · parent

Another very interesting part of the article is the call for the decryption of the SMP source code:

http://blog.stephenwolfram.com/2013/06/there-was-a-time-befo...

comment 13y ago · link · parent

Go does not have constant time string comparisons by default. The crypto/subtle package supplies constant time comparisons.

comment 13y ago · link · parent

a) That solution is sometimes implanted. The problem is: its slow, very, very, slow. It is not nearly as fast as regular integer arithmetic. (Also, +, -, /, and * aren't called axioms.) Also, how do you handle things such as powers and exponentiation (especially non-integer arguments)?

b) Search up for "BigInt libraries". The problem is the same with the others, its slow. You still have to allocate memory and the operations aren't as fast. However, BigInt libraries are widely used when necessary.

17.

RFC 6921: Design Considerations for Faster-Than-Light (FTL) Communication(rfc-editor.org ↗)

7 points · by omra · 13y ago · discuss

comment 13y ago · link · parent

[Slash/A](https://github.com/arturadib/slash-a) is specially designed for genetic programming / random generation. No matter how you piece together the instructions, it is still a valid program.

comment 13y ago · link · parent

Sadly, some of the items are no longer available at inventables (e.g., https://www.inventables.com/technologies/magnetic-fluid or https://www.inventables.com/technologies/temperature-sensiti...).

comment 13y ago · link · parent

Assuming the digits of pi are randomly distributed, any finite digit sequence can be found in pi.

The probability any sequence of length d is found in N digits of pi is 1 - 1/exp(N*0.1^d) (Poisson distribution for approximating the binomial). Then the limit as N approaches infinity is 1 for any finite d.

comment 13y ago · link · parent

I hope that ICANN accepts a small amount of these. Isn't this the point of subdomains? Why can't ABC just use foo.abc.com (or foo.abc.go.com) instead of foo.abc? The new TLDs are confusing and I'm sure many people will just type in .com as well.

Then again, ICANN has nothing to lose by encouraging many applicants, they get an awful lot of money from the applications (about 357 million [1]). They may be non-profit, but they still need money to keep running.

  [1] http://www.name.com/blog/general/news-2/2012/06/icann-reveals-the-new-gtlds/

comment 13y ago · link · parent

Out of the 3000 repositories which I estimate to be affected by this issue (using Google and eliminating some common techniques used to circumvent the problem), I estimate 1600 of them are not on Github. Even if Github does its best to remove the issue completely, I don't believe it will have a huge impact.

I believe that a better idea is to fix this in Rails. Why is a secret key loaded from the configuration directory? I agree with ajross's comment (http://news.ycombinator.com/item?id=4970347).

This isn't to say that Github should do nothing to control the problem, but more must be done than just that.

comment 13y ago · link · parent

I have no problem with old issues or vulnerabilities being posted, of course, especially when they are very widespread such as in this case.

Note that not all of those results are necessarily vulnerable, for example, https://github.com/hotsh/rstat.us/blob/master/config/initial... loads the secret key from the environment, and https://github.com/GreenplumChorus/chorus/blob/master/config... loads it from an ignored file (like the article). I would estimate the real number of projects to be somewhere less than 3000, with about 1400 being on Github. This also assumes that these are all actually production keys.

Just to reiterate, I do believe that this is a legitimate problem even now, but I just wanted to note the age of the article and to refute the claim that this is the first mention of the issue.

comment 13y ago · link · parent

Note that this was published back in May 2012, so it's not entirely recent (which is OK, just thought I would note it). However, this seems to have been public by February 2011 (http://stackoverflow.com/questions/5132152/when-you-have-sec...). I don't think the issue is entirely widespread, and a different key is likely used for production.

comment 13y ago · link · parent

I've already counted 90+ authors and contributors from a _brief_ history of finite simple groups, using [1]. This includes "et. al", from which I have assumed best practice of APA Style Guidelines, indicating at least 6 authors. I also could have counted more using [2], but I believe this is sufficient.

I feel that the statement that "only 100" mathematicians worked on the classification of finite groups is disingenuous. There is clearly a disparity between contributing a kernel patch and dedicating your entire life to researching a mathematical topic.

As for the Linux kernel, I would like to point out that the original paper [3] states that 7,944 developers have contributed since 2.6.11 (which is more than your estimate, but important regardless). A paragraph later on is a little more telling:

>[D]espite the large number of individual developers, there is still a relatively small number who are doing the majority of the work. In any given development cycle, approximately 1/3 of the developers involved contribute exactly one patch. Over the past 5.5 years, the top 10 individual developers have contributed 9% of the total changes and the top 30 developers have contributed just over 20% of the total.

That is to say, 30 developers have made 20% of Linux. This is not unlike the classification of finite groups, where a small amount of people have done a large majority of the work. It would be insane to say only 100 people have ever looked at finite groups. Indeed, proving something is exponentially harder than learning it. Similarly, you would not say that 7000 people use Linux, because 7000 have hacked on the kernel.

As for your last comment regarding about how you did not choose the topic, I agree. But I think that this entire debate is silly: neither side is more important than the other, more difficult than the other, mutually exclusive, or so on. I do not agree with Dijkstra on this point, and I feel that his fame is no reason to excuse him from it.

[1] http://www.ams.org/journals/bull/2001-38-03/S0273-0979-01-00...

[2] A History of Finite Simple Groups, by FCC Doherty.

[3] http://go.linuxfoundation.org/who-writes-linux-2012

comment 13y ago · link · parent

I think the entire statement is silly in that it attempts to compare two entirely different branches of mathematics, it would be almost as arguing between physics and biology. Physics is the study of matter and energy. Biology is the study of life. Any attempt to assign some "order" to them or declare one "harder" than the other is subjective and pointless.

However, there are some factual problems with your reply which I want to address. The Classification of Finite Simple Groups was a large endeavor spanning over an entire century. It was not made "by about 100 mathematicians".

The fact that the current was not working is not sufficient enough to conclude that the result was a failure or that pure mathematics is somehow worse than computer science. It would be similar to writing some code, and then suddenly realizing that you have to rewrite it if you want to get acceptable performance or to stop it from becoming spaghetti code. Neither of this sheds bad light on the field of computer science.

The key note errors you refer to are not much different from bugs, which of course are inevitable.

comment 14y ago · link · parent

There certainly is a mechanism [0], however it doesn't actually completely remove the commit from the remote GitHub repo, as people with the direct link can still access it. I'll check to see if I can find removed commits using this.

[0] https://help.github.com/articles/remove-sensitive-data

comment 14y ago · link · parent

Interesting! I decided to do some detective work and find out why. I found this: http://imkevinxu.com/xkcd/parser.js, and thought that maybe if I knew how the strings were parsed, I could figure out why it was doing that.

    $ string_eval("x*x1")
    "x*x1"
I figured that the issue must be with the equation drawing or evaluated. Here's what I found as an inline script (note that i is points at which the function is evaluated):

    current_expression = expression.split("-x").join(-i);
    var result = eval(current_expression.split("x").join(i));
So it just splits up the equation and rejoins it. From here it was pretty easy to see what was happening:

    $ expression = string_eval("x*x1");
    "x*x1"
    $ expression.split("x").join(12);
    "12*121"
    $ expression.split("x").join(3);
    "3*31"
    $ expression.split("x").join(0.3);
    "0.3*0.31"
    $ expression.split("x").join(-3);
    "-3*-31"

comment 14y ago · link · parent

I'd say no; the mean poverty fraction is 30.91%, with median 28.25% and standard deviation 19.05%. [0] Afghanistan has a poverty rate of 36% (as of 2008). [1] So it's definitely above the average.

[0] http://www.wolframalpha.com/input/?i=poverty+fraction

[1] http://www.wolframalpha.com/input/?i=Afghanistan+poverty+rat...

comment 14y ago · link · parent

(I'm not the poster, but you can find the times of reddit links by mousing over the timestamp.)

* Found this on my windshield today. Good people rule. - Mon Jul 2 19:50:42 2012 UTC

* 15 years ago my mom made me take "glamour shots". She sent me this today. - Wed Sep 12 12:18:08 2012 UTC

* Photographer snuck this gem into my cousins wedding album. - Fri Sep 14 00:41:23 2012 UTC

* My friend won't approach cliff edges because he says the risk isn't worth it. This is how he looks over, every time. - Thu Sep 27 00:03:55 2012 UTC

The best times to post are given here: http://blog.reddit.com/2011/07/nerd-talk-tale-of-life-of-lin...

12