HNHacker News
TopNewBestAskShowJobs

adavies42

175 karma · joined June 16, 2010

submissionscomments
adavies42··on Judge Posner: U.S. patent system out of sync
Home sewing is killing fashion! http://upload.wikimedia.org/wikipedia/commons/4/4f/Homesewin...
adavies42··on Judge Posner: U.S. patent system out of sync
one of the things someone pointed out to me most of a decade ago is that more and more things are becoming algorithmic--or perhaps we should say, being revealed as being algorithmic.

take some classic physical patent like the Bessemer process for steel--given a suitably general collection of industrial robots and reconfigurable equipment, "make steel like this" is "implementable" in software.

or any random machinery patent--"be this specific kind of rotary engine" is software if your hardware is a few trillion nanites.

what exactly the implications are for the patent system, i'm still not sure....

adavies42··on Judge Posner: U.S. patent system out of sync
note that both "car" and "computer" were patented at the concept level (both causing huge messes, incidentally). of course, those patents expired long before the relevance of the concepts....
adavies42··on Judge Posner: U.S. patent system out of sync
partly it's payment details: a lot of patent extenders roll out right when the generic goes to over-the-counter status--insurance pays for the new prescription drug, but won't cover the old one at all anymore.

the one relevant to me on a daily basis is zyrtec/xyzal -- xyzal is just zyrtec filtered for the correct chiral form, but the prescription is cheaper than the OTC for me thanks to my insurances' rules.

adavies42··on Pricing psychology - 33% more beats 33% off
pointer tagging!
adavies42··on Malthusianisms
why do people repost three-year-old articles? because it's easier than finding new ones saying the same thing.

this is like anthropic reasoning--always true, rarely useful.

adavies42··on 2:40
yes, i love that one! now that's good common-case optimization.
adavies42··on 2:40
happens to my tea all the time--i don't know if it's actually superheated in the sense of being >212, but it sits perfectly still in the mug until i drop the bag in, at which point it goes nuts with the bubbles.
adavies42··on Cool URIs don't change.
> Gracefully handle 404s.

> [...]

> Consider linking to your home page and/or site map [...]

For a second I thought you were advocating redirecting 404s to the homepage, and I was about to flame you. I hate that one, and I think it's harmful enough that you probably ought to have a point about not doing it in that article.

adavies42··on Cool URIs don't change.
> What's needed is a distributed, decentralized system, ideally at the protocol level. Imagine if a GET request by default gave you the "current" version of a page, but you could send an extra header that said "give me this page, as it appeared at date-time X".

Sounds like Freenet USK's (see https://freenetproject.org/understand.html, search for USK (and boo on them for not having any anchors on that page)).

adavies42··on 2:40
the design thing that i notice about most microwaves is that some of them let you just punch in a time and hit start, while others make you hit "cook" first.

i find this to be an excellent example of (failing at) optimizing for the common case--probably >99% of the interactions people have with microwaves are pure timed-cook-at-100%-power, and requiring an extra button press to enter that mode is silly.

adavies42··on 2:40
actually microwaved water will frequently be above boiling--microwaving lets the water remain still enough for it to get superheated. when you disturb it (with a teabag, spoon, etc.) it will start bubbling wildly (and quite possibly give you a nasty scald)
adavies42··on Falsehoods Programmers believe about Time
* durations and points are commensurate

points in time are relative to some fixed point, and are (more or less) dimensionless. durations are not, and are (more or less) vectors. this has a couple consequences: durations are independent of epoch, while points aren't, and only certain types of math make sense with each.

basically, the only thing you can do with two points is subtract them (yielding a duration)--the rest of arithmetic (including addition) is meaningless. the only things you can do with a point and a duration is add or subtract them (yielding a point). you can't do anything at all with a point and a dimensionless scalar. the only things you can do with two durations is add or subtract them (yielding a duration) or divide them (yielding a scalar). the only things you can do with a duration and a scalar is multiply or divide them.

(personally i'd say that even the commutative operations shouldn't necessarily be commutative--i'd say point+duration->point, but duration+point->undefined--but that may be a bit too strict.)

as a quick rule of thumb, if your code would break if you changed epochs, it's already broken.

adavies42··on Falsehoods Programmers believe about Time
* floats are ever a good idea for storing time. a system i use (no, not excel) has one of its time types defined as a double of days since their epoch. the problem is that it's universally represented in the interface as a timestamp to millisecond precision, and many different values may have the same string representation.

i just ran a quick test, and for a specific millisecond around now, about 13,000 distinct timestamps have the same string representation. if you use that string representation as a serialization of any one of those timestamps, it will always map back to a single float value, which will be only one of those 13,000, meaning the others aren't round-trippable.

the system implements a comparison tolerance for floating point numbers, but this helps only slightly, as only about 1100 of those 13,000 test as equal to the one you get if you enter it as a string.

the end result is that you can have data printing to the screen that you can't actually find in the system because its string representation doesn't match its internal one due to precision issues.

(the solution is not to use the type--they deprecated it in favor of one based on longs of nanos several years ago.)

adavies42··on Falsehoods Programmers believe about Time
* highly-precise (nano-second or better) time has any intrinsic meaning at all (relativity)
adavies42··on Falsehoods Programmers believe about Time
the "country/(city/region)" notation is from zoneinfo, the standard unix timezone system. "X standard time" (and "X daylight time") are the common names most people in america use when referring to timezones.

zoneinfo's form has the benefit of having a nice, unambiguous way to refer to the various daylight-saving time exceptions (arizona, indiana, hawaii, etc.).

recently i've seen huge timezone lists that basically throw in the kitchen sink--they'll have the entire zoneinfo set, the common american names, miscellaneous other common regional names (euro, australia, etc.) and raw whole-hour offsets as well. makes for a long drop-down to navigate....

adavies42··on Falsehoods Programmers believe about Time
> Even if you have a mathematical proof that your software is correct, it's still only correct given certain assumptions taken as axioms in the proof. Violate those axioms and your software can't be held responsible.

"Beware of bugs in the above code; I have only proved it correct, not tried it." - knuth

adavies42··on Falsehoods Programmers believe about Time
17% of the world's population lives in a single .5 timezone (https://en.wikipedia.org/wiki/Indian_Standard_Time), so i'd hope that one's not too widespread....
adavies42··on Falsehoods Programmers believe about Time
> In the Jewish calendar, the day starts when the moon comes out.

say what? afaik (speaking as a jew here), it's when the sun goes down. (moonrise, averaged over all time, happens at any point in the 24-hour cycle.)

possibly you're thinking of when (jewish calendar) months start?

adavies42··on Snow Crash movie to be written and directed by Joe Cornish
what about something like _Kill Bill_ that's basically an animated movie that just happens to be live action? (i'm pretty sure it actually had both "a guy in a three piece suit run around with a katana" and "a cyborg girl in a fishnet bodysuit shoot a machinegun at a group of robot assassins".)
adavies42··on Snow Crash movie to be written and directed by Joe Cornish
if you're looking for smart books, you want _The Diamond Age_

<rimshot>

adavies42··on June 30th 2012 will be 1 second longer: 23:59:60
they should replace the gears with tighter tolerance ones then and clear this up permanently
adavies42··on What is good customer service?
be careful of looking like you're overdoing it tho. some of the replies to the comments on the article are so generic, i assumed they were spam until i checked the author's link (reply to "Joel Parker Henderson" is awful, reply to "Doctor McFacekick" is medium terrible, reply to "Lucb1e" is pretty good).

it's a bit like being on hold--i'd far rather hear hold music uninterrupted for five minutes at a time than hear the robot break in every 15 seconds to reassure me that whoever i'm waiting for values my loyalty.

adavies42··on Eric Raymond: Why I think RMS is a fanatic, and why that matters
huh? did you have a point?
adavies42··on Eric Raymond: Why I think RMS is a fanatic, and why that matters
giflib is probably his most important project in terms of how many people use it

gpsd is probably the project he's working on right now with the most potential for widespread use and importance

forgeplucker http://home.gna.org/forgeplucker/ (oddly not linked at http://www.catb.org/~esr/software.html) is probably the project he's working on right now that's the most interesting (and ironically something i expect RMS would be a huge fan of)

adavies42··on LeakedIn
"recently"?!?
adavies42··on Fish: Finally, a command line shell for the 90s
i've gotten to the point where i can subconciously key off the window chrome to know how to paste. (half my coworkers use xterm, the other half putty.)
adavies42··on Body Language
nice article from a magazine i wasn't familiar with.

does anyone have any more recommendations for "in-depth general interest" magazines? the classic is the new yorker, and the one i (re)discovered recently (mostly through links from places like HN) is the atlantic monthly.

adavies42··on My GF learned to code in 3 months. This is what she came up with.
"I can't define it, but I know it when I see it."
adavies42··on My GF learned to code in 3 months. This is what she came up with.
the way i think of my language skills in my own head is mostly a three-level system: read, write, and debug.

at the first level, you know enough to be able to look at existing code and have some idea what's going on. (this is me with C++.)

at the second level, you know enough to write new code with real functionality and have some chance of its working. (this is me with C.)

at the third level, you have a fairly thorough understanding of most parts of the language and know idioms, common pitfalls, etc., and can fix other people's code. (this is me with q, and it was me with java seven years ago when i was working in java.)

if you want to extend this, an extra level up could be "hack", where you contribute to the language itself--modify gcc or the python interpreter or whatever. (i aspire to get to this level in q, and i think i'm close.)

not sure how to wedge a fifth level into the system....

← PreviousPage 2 of 6Next →