Better HN
topnewbestaskshowjobs
Log inSign up

mjcohenw

61 karma · joined Sep 30, 2011 (15y ago) · 54 submissions

Submissions

comment 12y ago · link · parent

I misinterpreted the title as "X Windows consortium to close."

comment 12y ago · link · parent

How about FP64?

comment 13y ago · link · parent

Google is behind it this year.

Next year, who knows?

comment 13y ago · link · parent

You probably could do APL Warrior in one line!

comment 13y ago · link · parent

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.

comment 13y ago · link · parent

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"!

comment 13y ago · link · parent

"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.

comment 13y ago · link · parent

Fleb!!!

comment 13y ago · link · parent

Ha! Nobody there I ever heard of.

comment 13y ago · link · parent

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.

comment 13y ago · link · parent

Just take a picture of the screen with another camera. Nothing can stop this.

comment 13y ago · link · parent

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:)

comment 13y ago · link · parent

How well does this work from a Chromebook?

comment 13y ago · link · parent

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.

comment 14y ago · link · parent

Yes.

comment 14y ago · link · parent

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!

comment 14y ago · link · parent

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.

comment 14y ago · link · parent

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.

comment 14y ago · link · parent

I wish that were true. Once religion, especially fundamentalist religion, gets control, science is in real trouble.

Read Heinlein's "Revolt in 2100".

comment 14y ago · link · parent

Also, please spellcheck!

comment 14y ago · link · parent

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.

comment 14y ago · link · parent

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.

comment 14y ago · link · parent

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.

comment 14y ago · link · parent

I would trust them more than Tepco.

comment 14y ago · link · parent

If the micro-sd card is treated as random-access storage, how much will its performance degrade with time compared with a ssd drive?

comment 14y ago · link · parent

Another proof that we don't have a democracy, or anything near it.

comment 14y ago · link · parent

It's only fair.

comment 14y ago · link · parent

How well does this work with LaTeX and other document formatting systems?

comment 14y ago · link · parent

Are you sure about the Bezier curve algorithm? It has "xx *= xx;" and xx is never reset (unless I misunderstand the code).

comment 14y ago · link · parent

The algorithm only works with points with integer coordinates, so the slope is always rational.
12