15,501 karma · joined Jan 22, 2011 (15y ago) · 3,183 submissions
comment 11y ago · link · parent
I think you may have accidentally skipped this part from codingdave's comment:
>>> What I mean by this is that whatever your site is, if your audience has a legit interest in specific products, and the next logical step in their personal workflow would be to buy something, go ahead and put in some affiliate links. It makes sense, and everyone gets what they need/desire.
comment 11y ago · link · parent
I don't think that works, though. Take for example these two coordinates:
(30, 75)
(90, 225)
Those would both map to the same rational—2/5—and that would make it not a one-to-one mapping.comment 11y ago · link · parent
My problem is with the article's attempt to present their side as a fact; that the existence of opposition must be due to some defect in humanity itself, rather than a reasoned stance. It's very patronizing and doesn't help to convince those that need convincing.
When people have a general distrust of the handling of their tax dollars, they often have experience that informs that distrust. One should not summarily discount and ignore that sentiment if they're looking to raise funds.
comment 11y ago · link · parent
Maybe the "no" voters see it differently? They're probably dubious that "the mayor’s plan will shorten commute times on Vancouver’s most congested roads by 20-30 minutes per day, while transit riders will save up to half an hour."
> A report by HDR Consulting found that, even after the sales tax, the average family can expect to save about $360/year.
I'm going to bet that HDR Consulting was smart enough to provide the answer their client was looking for.
I know I sound cynical here, but this article takes campaign-style promises at face value, then cries, "Why can't they just see what's better for them??"
comment 11y ago · link · parent
I also have the Logitech Trackman. I swear by it, and will never go back to using a mouse. I started with the wired version, then reluctantly bought the wireless model when I needed another one. The wired sells used now for $300.
FYI, Pledge or similar furniture wax works wonders on the trackball. I pop mine out every couple of weeks and give it a good waxing.
comment 11y ago · link · parent
They don't need to count each and every person to determine relative wait times, as long as the portion of wifi-enabled travelers is roughly the same in each area.
> Another reason for their system's inaccuracy is - not many people use airport wifi. Most of us have data plans.
You don't have to be connected to the airport's wifi for this system to work. The phone's wifi radio just has to be turned on.
comment 11y ago · link · parent
super_random = rand() * rand();
...in an attempt to make it "more random". You end up destroying the distribution and making the output a little more predictable.Except in this case, it took knowledge of the implementation to determine that raw SHA-256 output cannot be safely password_hash()'d.
comment 11y ago · link · parent
The cord-cutting trend has barely just begun. Television five years from now will be a completely different landscape than it is today, and the change from now to then will make what has happened over the past five years look like barely a movement.
comment 11y ago · link · parent
http://store.apple.com/us/product/MJ1L2AM/A/usb-c-vga-multip...
I wish the power adapter itself would also have the passthrough.
comment 11y ago · link · parent
I'm not sure how close to each other these rendering engines are. I imagine they're still very very similar, but now that the fork has occurred, time will tell how divergent (or not) they become.
comment 11y ago · link · parent
I then argued with him about the money he would likely lose implementing his plan. He said, "what are the odds the ball will land on red five times in a row?". (We were ignoring the existence of the green 0 and 00). I took out a quarter, flipped it seven times, and it landed heads every time. This happened straight-away.
That was a random sequence, it was all 0s, and I'd like to think he was lucky that it happened that way, and convinced him to abandon his plan.
But I was also lucky. I had intended to demonstrate this, and was prepared to be flipping the coin hundreds of times until the run of 0s came up. You could say I was predicting the next result correctly 100% of the time on those first 7 flips. But my ability to predict the results didn't show their non-randomness, instead it showed my "luckiness". Which really means they weren't predictions at all, I guess.
comment 11y ago · link · parent
Not a good bet to take.
> my point is that this is not information-theoretically relevant.
Exactly. This whole post is about the challenger trying to be clever with the rules and trying to sidestep the core information theory.
comment 11y ago · link · parent
comment 11y ago · link · parent
The judge can disconnect his computer from the Internet, attempt to run the submitted decompressor and file, and declare failure when it doesn't work. Nothing in the challenge guarantees Internet connectivity on the machine.
> Does a decompressor that depends on linked libraries count? Do things like libc count towards the total decompressor size?
Nope. In the email exchange, Mike said that just a script that called out to gunzip would be fine, and that he'd only count the size of the script as the decompressor size
> Where do you draw the line? Can any decompression code call an external dependency and not be disqualified in the same way?
Yup, as long as the dependency is already on the machine I suppose.
That's what's so enlightening about this challenge. Even a tiny, tiny script that calls to other programs still can't compress a "pathologically" random file by more than a few bytes.
comment 11y ago · link · parent
While you're obviously correct about the information theory aspect of this, in this particular challenge, the contestant enjoys the privilege of pruning his decompressor to match just the one file. All the other "if" statements can be thrown away. So now a lossy algorithm can be used, that just happens not to be lossy on that one particular file.
comment 11y ago · link · parent
What's funny is that Patrick (the challenger) asked if a bash script consisting solely of a call to gunzip would suffice as the decompressor. In other words, all he had to do was compress the file by more than the amount of the script. Mike allowed it, knowing that even a tiny "decompressor" that really just called out to the real thing, would still be larger than the compression achievable on a well-crafted random blob.
comment 11y ago · link · parent
Seems perfectly doable. Feel free to correct my napkin math. I could be off quite a bit but Fermi-wise I think I'm good.
comment 11y ago · link · parent
Likewise, it is rare for parents to be found neglectful when allowing their children to walk alone, yet that is what we HNers are screeching about.
The linked news story is news because it is a rare event. Hundreds of thousdands of kids walk alone from/to school each day and don't get the cops called on them.
comment 11y ago · link · parent
> Retailers can collect a cut of CEC’s $320 fee each time they present an offender with the option of signing up for the program—a form of restitution, said Caffaro, which usually ends up being around $40 per case.