HNHacker News
TopNewBestAskShowJobs

mjcohenw

61 karma · joined September 30, 2011

submissionscomments
mjcohenw··on X to close
I misinterpreted the title as "X Windows consortium to close."
mjcohenw··on PowerVR GR6500: Ray tracing is the future and the future is now
How about FP64?
mjcohenw··on Zero-downtime restarts in Go
Google is behind it this year.

Next year, who knows?

mjcohenw··on Forth Warrior: A Programming Puzzle Game
You probably could do APL Warrior in one line!
mjcohenw··on A farewell to bioinformatics (2012)
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.

mjcohenw··on Aaron Swartz: Unequal Justice for Web Activists vs Health Care Executives
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"!

mjcohenw··on We Need More Operating Systems
"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.

mjcohenw··on Trap street
Fleb!!!
mjcohenw··on Show HN: Harmogram, Web Audio API + Canvas (Paper.js) FFT/Harmonograph
Ha! Nobody there I ever heard of.
mjcohenw··on The New York Times Paywall Is Working Better Than Anyone Had Guessed
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.

mjcohenw··on Introducing Poke for Mobile
Just take a picture of the screen with another camera. Nothing can stop this.
mjcohenw··on Would the Last Blackberry User Please Turn Out the Lights?
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:)

mjcohenw··on Online collaborative LaTeX editor
How well does this work from a Chromebook?
mjcohenw··on A single line of Basic sends readers into a labyrinth
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.
mjcohenw··on An ABC proof too tough even for mathematicians
Yes.
mjcohenw··on Show HN: Docverter, the hosted document conversion service, is now open source
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!

mjcohenw··on What Every Computer Scientist Should Know About Floating-Point Arithmetic
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.
mjcohenw··on Show HN: I'm 14, I learned Objective-C, and this is my first iPhone game
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.
mjcohenw··on Nate Silver has made a career out of predicting things
I wish that were true. Once religion, especially fundamentalist religion, gets control, science is in real trouble.

Read Heinlein's "Revolt in 2100".

mjcohenw··on Light Table - Embracing Abstraction
Also, please spellcheck!
mjcohenw··on A conjecture about code reviews
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.
mjcohenw··on If I Were Google, I Wouldn’t Release A Native iOS 6 Maps App For Six Months
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.

mjcohenw··on Why I went from Python to Go (and not node.js)
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.
mjcohenw··on Tepco releases badly altered image of Fukushima Unit 4
I would trust them more than Tepco.
mjcohenw··on The Nifty MiniDrive - SD slot hack for the Macbook
If the micro-sd card is treated as random-access storage, how much will its performance degrade with time compared with a ssd drive?
mjcohenw··on Apple rejects Drones+ thrice. App maker looks to Android
Another proof that we don't have a democracy, or anything near it.
mjcohenw··on BranchOut Falsifies Wall Street Journal Quote
It's only fair.
mjcohenw··on Show HN: A multi-touch document manipulation system
How well does this work with LaTeX and other document formatting systems?
mjcohenw··on The Beauty of Bresenham's Algorithm
Are you sure about the Bezier curve algorithm? It has "xx *= xx;" and xx is never reset (unless I misunderstand the code).
mjcohenw··on The Beauty of Bresenham's Algorithm
The algorithm only works with points with integer coordinates, so the slope is always rational.
Page 1 of 2Next →