News for hackers. Stuff that matters.

mjcohenw

Re:X to close on Wednesday August 13, 2014 @12:32AM (#8171460)
I misinterpreted the title as "X Windows consortium to close."
How about FP64?
Re:Zero-downtime restarts in Go on Monday March 25, 2013 @05:55PM (#5439969)
Google is behind it this year.

Next year, who knows?

Re:Forth Warrior: A Programming Puzzle Game on Sunday February 17, 2013 @04:48PM (#5236867)
You probably could do APL Warrior in one line!
Re:A farewell to bioinformatics (2012) on Sunday January 27, 2013 @01:42AM (#5123434)
I love awk. I once had to search a multi-megabyte hunk of data that was made up of 25-bit data items packed into 32-bit words. Instead of doing bit packing and unpacking, I converted the words into 32 character strings of 1's and 0's. I ended up with a string 300,000,000 (that's three hundred million) characters long!!! Awk had no problems handling it.

To build the string, I had to concatenate 1024 of the 32 characters strings to an intermediate string, and then concatenate these into the final monster, because concatenate just the 32 character strings took too long - a reallocation after every concatenation.

That was fun.

And, of course, none of those bankers are in jail, where they should be rotting.

Even if a company is "too big to fail", its executives are NOT "too important to jail"!

Re:We Need More Operating Systems on Tuesday January 01, 2013 @08:54PM (#4994910)
"Why have both an if-statement and a ternary operator?"

Because one is for control of statement execution and one is an expression that returns a value. Two similar-in-purpose but different-in-meaning constructs.

In my experience, if the ?-: operator is written in the same way as the if-else (condition, true, and false parts each on their own line), nested expressions are quite clear and understandable.

Re:Trap street on Tuesday January 01, 2013 @06:00PM (#4994370)
Fleb!!!
Ha! Nobody there I ever heard of.
I'm one of the happy subscribers. I prefer the mobile site, even on a Mac, because I find it easier to read and navigate.

On my Nexus 7, I use Firefox instead of Chrome because (1) I can use stylize to make it white text on black background, and (2) it has a built-in reader that makes the articles easy to read.

Re:Introducing Poke for Mobile on Friday December 21, 2012 @11:23PM (#4955761)
Just take a picture of the screen with another camera. Nothing can stop this.
Re:Would the Last Blackberry User Please Turn Out the Lights? on Sunday December 16, 2012 @12:05AM (#4927400)
The physical keyboard on my Droid 2 is one of the main reasons I keep it. For one thing, it makes text selection easy - shift and arrows.

I'm waiting for the Droid 5. Come on Motorola:)

Re:Online collaborative LaTeX editor on Sunday December 16, 2012 @12:02AM (#4927393)
How well does this work from a Chromebook?
Re:A single line of Basic sends readers into a labyrinth on Friday November 30, 2012 @10:55PM (#4856772)
I discovered this on my Commodore PET probably about 1980 and presented it at a users' group meeting (in the Los Angeles area). I have no way to prove this right now, but I swear that this is true.
Re:An ABC proof too tough even for mathematicians on Monday November 26, 2012 @01:45AM (#4830949)
Yes.
Every time I have used Acrobat to convert PDF to Word, the only usable parts have been the tables. The rest is generally garbage.

Fortunately, the tables were the only parts I wanted! I needed to get them from the PDF into text (csv) form. So, from Word, I copied the tables, pasted them into Excel, and saved that as csv. Easy as 1-2-3-4-5!

A number of years ago the project I was working had problems in Ada because the conversion of floating point numbers from character string to internal floating point by the Ada compiler did not always produce the same values as runtime conversion. I had fun reconciling the two.
When I was 14, I had to push the electrons around by hand. It was painful getting clobbered by those massive protons and neutrons. I eventually got around the problem by converting the particles to waves, so that they only tickled.
Re:Nate Silver has made a career out of predicting things on Sunday October 07, 2012 @06:31PM (#4624657)
I wish that were true. Once religion, especially fundamentalist religion, gets control, science is in real trouble.

Read Heinlein's "Revolt in 2100".

Re:Light Table - Embracing Abstraction on Wednesday September 26, 2012 @04:12PM (#4577761)
Also, please spellcheck!
Re:A conjecture about code reviews on Tuesday September 25, 2012 @07:59PM (#4573458)
When I participated in code reviews (of C code) when I worked at an aerospace company, I was the ONLY one who actually reviewed the code and I always found a few serious errors.
I think Apple believes that their map app will eventually become as good as Google's.

Also, by doing this, Apple denies Google the information about what locations Apple's users are looking for and makes this available to only Apple.

Re:Why I went from Python to Go (and not node.js) on Friday September 14, 2012 @11:48PM (#4525222)
Sounds like a variation on George Carlin's line that everyone who drives slower than me is stupid and everyone who drives faster is crazy.
Re:Tepco releases badly altered image of Fukushima Unit 4 on Monday September 03, 2012 @06:57PM (#4472162)
I would trust them more than Tepco.
Re:The Nifty MiniDrive - SD slot hack for the Macbook on Monday September 03, 2012 @06:54PM (#4472144)
If the micro-sd card is treated as random-access storage, how much will its performance degrade with time compared with a ssd drive?
Re:Apple rejects Drones+ thrice. App maker looks to Android on Saturday September 01, 2012 @10:58PM (#4465971)
Another proof that we don't have a democracy, or anything near it.
Re:BranchOut Falsifies Wall Street Journal Quote on Friday August 31, 2012 @11:59PM (#4462611)
It's only fair.
Re:Show HN: A multi-touch document manipulation system on Saturday August 18, 2012 @08:59PM (#4402854)
How well does this work with LaTeX and other document formatting systems?
Re:The Beauty of Bresenham's Algorithm on Tuesday August 07, 2012 @11:34PM (#4353755)
Are you sure about the Bezier curve algorithm? It has "xx *= xx;" and xx is never reset (unless I misunderstand the code).
Re:The Beauty of Bresenham's Algorithm on Tuesday August 07, 2012 @11:30PM (#4353741)
The algorithm only works with points with integer coordinates, so the slope is always rational.

Older »