News for hackers. Stuff that matters.

primecommenter

Re:Please Learn to Code on Tuesday May 15, 2012 @08:49AM (#3976284)
Coding doesn't necessarily involve time deadlines, and maybe cooking doesn't either, although it seems to. I agree with the rest of what you said though.
Re:Please Learn to Code on Tuesday May 15, 2012 @08:38AM (#3976262)
Rule 11213: First person to mention "time" when linked article does not include the term "time" takes 1 step backward, 1 step forward, 2 steps backward, 1 step forward, 3 steps back. Back to the future.
Re:Please Learn to Code on Tuesday May 15, 2012 @08:12AM (#3976176)
Both are life skills and that is the context.
Re:Please don't learn to code on Tuesday May 15, 2012 @07:53AM (#3976113)
"If the mayor of NYC wants to learn to program in his spare time, why the hell not?"

I agree totally, not only would it be good for him but it sets a good example for his constituency (because as a basic competence it is good for anyone).

Re:Please don't learn to code on Tuesday May 15, 2012 @07:21AM (#3976012)
I'm not trying to be facetious, just misunderstanding whatever point original commenter is making. "Most people don't what programming even looks like"? I don't think that is true because most people can search for code samples if needed.
Re:Please don't learn to code on Tuesday May 15, 2012 @07:14AM (#3975984)
... and then profess to study that which his generational peers have foregone. If only we could all be mayors of NYC!
Re:Please don't learn to code on Tuesday May 15, 2012 @06:48AM (#3975924)
Indeed, why not? This is no more or less as exciting an announcement as that of a new knitting hobby.
Re:Please don't learn to code on Tuesday May 15, 2012 @06:44AM (#3975906)
As opposed to a professional "coder"? (I also see "programmer" as a more distinguished title and I prefer it to "coder" (and even "software engineer"), but I don't understand any of these terms to have any generally-accepted definition; personally it is only a matter of taste.)
Re:Please don't learn to code on Tuesday May 15, 2012 @06:19AM (#3975840)
I don't understand the distinction you raise in the first paragraph. Coding is programming. Just because everyone can divide doesn't mean everyone is trying to be a mathematician, but I think everyone should (at least have the opportunity to) learn long division. Programming may not be the fourth "R", but maybe "Research" is!
Re:Please don't learn to code on Tuesday May 15, 2012 @06:12AM (#3975818)
Most of us use most of a lifetime of knowledge in our day jobs, and machines are magical.
Re:Please don't learn to code on Tuesday May 15, 2012 @05:55AM (#3975764)
"Can you explain to me how Michael Bloomberg would be better at his day to day job of leading the largest city in the USA if he woke up one morning as a crack Java coder?"

If anything should trickle down, it would be the joy and satisfaction of acquiring a basic competence.

Re:Why can you turn clothing right-side-out? on Tuesday May 15, 2012 @04:49AM (#3975617)
... who, according to the story, asked why, expressing approval and amusement, but not surprise.
Re:Wozniak calls for open Apple on Monday May 14, 2012 @08:21PM (#3974135)
This is nonsense. It's absurd for you to argue that the difficulty of writing "Hello world" on an Apple device is somehow a good thing for Apple or anyone else on the basis of a wishy-washy concept like "abstraction".
Re:A Forgotten Principle of Compiler Design on Thursday April 26, 2012 @03:20AM (#3892856)
I don't see the connection. Is Go even bootstrapped?
Re:Quicksort is broken. Is it worth fixing? on Wednesday April 11, 2012 @04:24AM (#3826507)
It is possible to find the median in linear time (quickselect). Pivoting on the median makes quicksort optimal (O(n log(n))) while only using constant space. This is rarely used in practice because the overhead is large compared to the probability of being given a worst-case problem.
Doubly-homomorphic encryption (also called "fully-homomorphic") was recently invented and in principle solves the general problem.
It is already reduced to the initial handshake. That is exactly what a CA does. But perhaps you are right that a CA should sign certificates based on influence-weighted pseudonymous votes rather than simply receipt of payment! Should CA's require payment in bitcoins?
"We did this by computing the greatest common divisor (GCD) of all pairs of moduli from RSA public keys on the Internet." For your key to be safe from this method, all you need to do is choose the factors of the modulus uniquely, not even necessarily randomly.
Re:Roy: Small functional language that compiles to JavaScript on Friday January 27, 2012 @01:07AM (#3517312)
I particularly like the example of Literate Roy: https://github.com/pufuwozu/roy/blob/master/examples/sqrt.lr.... This example demonstrates some of the language features and syntax: https://github.com/pufuwozu/roy/blob/master/examples/structu....
Re:Twitter Will Censor Certain Tweets In Certain Countries on Thursday January 26, 2012 @08:38PM (#3516839)
How does equating rationality with profit-maximization further this discussion in any meaningful way?
Re:My uncle's factorization algorithms on Tuesday December 27, 2011 @11:14PM (#3398584)
Even more remarkable is that they build directly upon the 400-year-old method of Fermat (http://en.wikipedia.org/wiki/Fermat%27s_factorization_method).
Re:My uncle's factorization algorithms on Tuesday December 27, 2011 @07:43PM (#3398109)
If p^2+p+1 is smooth or if p^2+1 is smooth then n can be factored with cyclotomic methods. http://www.ams.org/journals/mcom/1989-52-185/S0025-5718-1989...
Re:My uncle's factorization algorithms on Tuesday December 27, 2011 @06:58PM (#3397986)
While perhaps not an advance, the algorithms implemented are state-of-the-art (GNFS, Pollard's p-1 test, Williams' p+1 test, cyclotomic polynomial test). But whatever the running times, it is an astounding artifact.