HNHacker News
TopNewBestAskShowJobs

dedward

1,621 karma · joined February 21, 2010

submissionscomments
dedward··on Divide a number by 3 without using * / + - % operators
Yup - they're the same thing... you trisect the angle from the corner, and end up with an edge neatly in thirds. Surprised me when I found it too - neat stuff, paper.
dedward··on Divide a number by 3 without using * / + - % operators
IF you have a ruler, we can do it with some origami folds and measure the result.

Or a slide rule, though that's possibly cheating (technically you'd be dividing....)

dedward··on Economics of Google Fiber and what it means for U.S. broadband
One would imagine they were thinking long term and big - they didn't start laying the foundations for this 10 years ago for no reason.... and while they may have toyed with some "lab" projects that never took off... this one represents a hell of an investment - they're probably several moves ahead of everyone else already. Now imagine what they have up their sleeve that they aren't telling anyone about.
dedward··on Economics of Google Fiber and what it means for U.S. broadband
The point of a CDN, at least a significant one, is to reduce latency. To put your content closer to your customers. It also lets you handle larger load, is more resilient to DDOS, etc, but, at least in my view, those are often secondary... the main issue is latency, and perhaps capacity.

Gigabit to your house won't remove latency, other than perhaps to apps hosted by google (including google, obviously)

dedward··on Just pay me.
That could work - I'd be tempted to put a limit on it though - a 10% penalty (or whatever) immediately upon overdue, and a cutoff point where you simply send them to a collection agency.

Of course, in the end, you put what the law allows and your clients will accept....

dedward··on The Story of Steve Jobs: An Inspiration or a Cautionary Tale?
As a Canadian, I can say that Americans have more fun in life than just about anyone. Sure, we canucks and the rest of the world like to call them out on their shortcomings all the time, but they brought us disneyland and superman, etc.
dedward··on The Story of Steve Jobs: An Inspiration or a Cautionary Tale?
Doesn't need idolizing - he made himself an icon, and there's the right-place-right-time factor. His biography never says "Be like me" by any stretch of the imagination.

Nobody is a perfect role model - everyone has faults. Is his attention to detail something we shouldn't forget? I think so. Is childish behavior the way to lead people? Not if it means tantrums and inappropriate responses - but then again, we may lose to much of the child in all of us when we hit the corporate world... there should be room for some playtime and wonder in the things we build.... nobody is perfect.

It's awfully hard to say a billionaire who made such an impact on people all over the place and died far too young isn't someone we should learn a bit about if we can, is it? (There are more out there than just Steve Jobs, of course... biographies exist. Jobs is just fascinating and current.)

dedward··on Mojang, makers of Minecraft, sued by patent troll
I'll defer to experts on the patent issue, but in principle, if you are quick to take measures to avoid doing business with people in states that cause you trouble as soon as they bring it up, it will very likely give you much better chances in court, and much more favor with whoever is deciding your fate, especially if it's international.
dedward··on Mojang, makers of Minecraft, sued by patent troll
If the business is in Sweden, it would have to go to court in Sweden, would it not? Does Sweden actually allow judges to have a look at a foreign decision and then just declare their ruling, no trial, nothing? I suspect not (eager to learn if otherwise)
dedward··on Mojang, makers of Minecraft, sued by patent troll
No offense meant, but where does this idea come from? I hope it's not common - US Court decisions are valid in the US. Period.

Anything else is an international thing, and unless covered by treaties signed into law between countries, courts from one country never just honour some other countrie's legal system.

Extradition is possible on crimes where both countries agree it's a crime and generally have an extradition treaty, or policy for such requests, but to think that the US courts are somehow global is factually incorrect.

dedward··on In a First, an Entire Organism Is Simulated by Software
Anyone else recall a Greg Egan story along these lines? can't recall the name.
dedward··on Addict Pride?
I won't judge, everyone is different, but the real test will be your quality of life at the end. Based on your description, I'm not sure I'd call you an addict at this point, not in the classical sense, you seem to be choosing to use, not using because you need it to stave off withdrawal symptoms, above all else.

And while you may be one of those exceptions, those edge cases that can choose and walk away, it's important for people to understand that everyone can't do that, and you can't know in advance whether or not you'll end up an addict, in some way or another, for the rest of your life tangling with that stuff.

Yes, there should be focus on harm reduction rather than jail time. Yes, the stigma should go away... booze is as bad or worse than other things that are far more stigmatized. But let's not pretend drugs are all great happy awesome things. Addicts do end up completely screwed up and dead on clean pharma drugs.... every day. Let's not pretend it's safe and happy.

Yes, it's true, most of the damage from opiate addiction is due to it's legal status... there's always the risk of overdose with higher doses.

Opiates work for your case, that's great - but statistically unlikely as a remedy for the general public. Most people with depression who end up using opiates and/or other drugs end up more screwed up in the long run.

Whether a drug is related or not doesn't matter... weak opiates are useful wheras strong ones can be srongly addictive, or lethal. Weak short-acting benzodiazepines, like what's in Ambien are far less likely to cause you addiction requiring hospitalized withdrawal so you don't die compared to say, long term use of longer and stronger drugs that are almost identical (thinking xanax, valium)

Street meth his horrid shit, and while closely related to the amphetamine salts used for adhd kids, is horrificly addictive and extremely bad for your health - that's comparing playing with matches to playing with hand grenades. Sure, if you take enough adderall or related, that's prone to abuse and addiction, but it's nothing compared to what crystal meth does to your body and mind.

Just because drug companies made mistakes in the past is no reason to toss caution to the wind.

You were diagnosed Bipolar, that's something you have to deal with; I can't claim to understand it, so if what you are doing makes your life truly better for you, then I see no problem, but for the vast majority of people, that's not the usual outcome.

dedward··on I Won't Hire People Who Use Poor Grammar
It's not a sneak test - it's an actual grammar test. If you are asked to document something, and you can't observe basic english grammar, I see a problem too. Zero tolerance may be taking it a bit too far, but one would imagine he can tell the difference between a typo in a big test and actual fundamental lack of knowledge of the grammar you should have learned by the time you were 14.

(Yes, the double space after the period is a built in habit from typing class, and a debatable item in the computer age, but nobody seems to care one way or the other.)

dedward··on Unbreakable crypto: Store a 30-character password in your subconscious memory
Simple answer there.... just have the system automatically lock the account if you statistically miss the password, just at it statistacally allows you in if you play properly.

Or maybe it's only accessible from secure locations - you don't go this much trouble to secure day to day stuff.

It's not unbreakable, but the idea that you're letting someone in by statistical analysis of their conditioned response to a game, including their mistakes is clever - no reason you couldn't lock them out or use other security measures by failure to meet that response.

dedward··on Five Men Agree To Stand Directly Under An Exploding Nuclear Bomb
Got kids? Travelled or live outside of the well-developed world?

Correlation doesn't imply causation, but causation DOES lead to correlation obviously.... and the reason those vaccines are done, idealistically, is because they've been proven to work. Epidemics of non-vaccinated people wiped out entire cultures.... The only reason we don't hand out smallpox vaccines is because it's considered by health authorities around the world to be eradicated..... the last known naturally-occurring case was in 1978. At that point, vaccination is more dangerous that not vaccinating - but if smallpox were to arise again, you want to vaccinate as many people as possible to protect everyone.

dedward··on Five Men Agree To Stand Directly Under An Exploding Nuclear Bomb
One of those three (A or C, I forget) has no vaccine. The other two do, both are serious, common, and life threatening in a global scale, even if not so much in well-off places.... but it's out there en-masse. Hep B is among the most virulent and widespread diseases in the world and LOTS of people out there have it.
dedward··on Coming Home to Vim
attach/dtach/dvtm perhaps then......
dedward··on Coming Home to Vim
It goes without saying..... check out vimgolf if you haven't - whether novice or expert, competing or just reading, you learn new stuff.

Don't become too plugin dependent too early, but a quick browse through some other's dotfile repositories (yadr is worth looking at, especially if you are on a mac - not necessarily to use, but definitely to see what's possible). Things like EasyMotion really make you think. As do things like persistent undo files. (gundo and other stuff)

At some point you should be buildilng up your own set of dotfiles from scratch.... not just relying on someone elses (some day some bug hits you and you have no idea where to start otherwise)

dedward··on Coming Home to Vim
QuickCursor on OSX does basically that in just about everything... (like this post) It's not free (bummer) but it lets you take just about any text input area and by some clipboard trickery fire it up in your favorite editor (macvim being one of the defaults, but not limited to that) then writing back to that field when you exit/save.

So you can quite literally edit in your editor of choice, 100% in the environment you want.... pretty much what you just asked for right?

(Basically it's just cutting/pasting and opening applications in an automated way rather than have you do it - but bind it to a friendly key and you're good to go.)

dedward··on Stephen Hawking lost $100 bet over Higgs boson discovery
The same could be said of many subatomic particles that were found as we built larger and larger colliders.... it's a very big deal in advancing our understanding of.... everything.
dedward··on Higgs Boson Explained by Cartoon
Couldn't agree more - I wasn't thinking about how that might be interpreted when I wrote it..... Absolutely we ask "why" - and look for explanations. I meant nothing with regards to being defeatist and not looking at things - only that, as far as I can see, even though we'll keep going deeper and deeper and discovering more and more, we'll never get to a final answer (other than perhaps getting to a point where we can't research further without blowing up the universe? I read too much sci-fi.

A final answer would be boring..... WHY is a fantastic question - it's just not something pure science can answer with finality, only layers until we get to an unknown.

dedward··on Higgs Boson Explained by Cartoon
Great comment.

I want to hijack it and add....

Couple of points along the same lines that I always like to explain to people.

The familiar E=mc^2 we all know - people like to say that means that the energy in a system is equal to the mass times the speed of light (squared) - if we convert between the two. Which is true..... but it's also saying something else. In this formula, energy is measured in joules, and mass in kilogams - the speed of light in meters per second. Importantly, notice the c^2 is a constant - it's there for unit conversion. What we really have is a statement that energy=mass. Energy and Mass are the same thing.

In the same line - there's no such thing as "pure energy" (if I'm wrong, someone educate me, I'm all ears) - people have a hard time with this. Energy is a property of a system that can be calculated. "pure energy" doesn't exist. Radiation is not what we mean by "energy" (though obviously it's got energy) - energy is a property that we can calculate and work with, and a rather important one at that.... but it's not a "thing" or "stuff" or "non-stuff" that moves around... it's a property of a system that can be calculated.

dedward··on Higgs Boson Explained by Cartoon
At some point "why" becomes impossible - everything just becomes a set of relationships between things that we can define and predict. The only real answer to "why", from a scientific point of view, is ultimately "because that's how it is"
dedward··on Higgs Boson Explained by Cartoon
It's just a model - finding higgs will add validity to that model as a useful tool. not finding it - invalidating that theory puts us back to the drawing board and/or focuses people on other theories. It's not the end or beginning of anything, just another step.

I want my time travel and anti-gravity and FTL drive, at consumer prices. I want to see dinosaurs and travel around the universe in the blink of an eye. Keep working science people.

dedward··on Higgs Boson Explained by Cartoon
Well, mathematics is somewhat unique in that ultimately, it's purely detached from reality - it's purely conceptual.

When we can use it to model the things we percieve, that's great, but at it's most fundamental level, mathematics is not a natural science (if that's the right term) - it's a human construct - purely abstract.

But to be fair, when we say "prove" in common speech with regards to science, do we really need to say "science can't prove anything?" - every time? Most people get that on forums that discuss such things - "proven" in these things simply mean their theories checked out. We'll never know what the universe really "IS" - we only know what we percieve, directly or indirectly,and what we can predict. It's still turtles, all the way down.

- not literally that it's an absolute truth - that's impossible, as you said, other than in mathematics.

dedward··on Higgs Boson Explained by Cartoon
Thanks - I'll read up. I've long interpreted E=mc^2 to mean not just that energy and mass are interchangeable, that energy and mass are one and the same. What I can't quite get my head around yet (just need to read up more) is how they figured out something about the rest mass of a photon - something about using superconducting rings or something like that. (Because photons aren't generally at rest, and they don't accelerate, right?)
dedward··on Higgs Boson Explained by Cartoon
Might be totally wrong here - photons have no volume yet can exhibit mass. (I don't fully understand that particular one yet.. need to read more. Whether or not photons have mass is a complex question it seems - or rather, multi-faceted)
dedward··on The Oatmeal fights back, snaps photo of cash, sends money to charity
Homosexuality has existed as long as humans, it's all over our recorded, and spoken, history.

The legal problem is mostly about the word "marriage" and nothing else. Sure, we could fix everything by changing tons of laws (LOTS and LOTS) - or we could federally re-define marriage and be done with it. Or as a Canadian PM said "Different but equal is not equal".

Marriage started as a religious concept. Eventually, it flowed into non-religious lawmaking with separation of church and state in general, and the churche's waning power over the state. It wasn't a grand plan with tons of subtle concepts.

An adopted child with two loving dads or moms is better than an institutionalized child with the state raising them. And who says that there is no mommy-type figure in the picture too? You don't know everyone's personal business.

And news fella - homosexual women are physically capable of having children, and homosexual men are physically capable of providing their needed bit to get a woman pregnant.

To your last paragraph - why do we bother to elect lawmakers and have a government if not to make law.

Plenty of heterosexual couples cannot bear children either - should they not be allowed to marry?

dedward··on Shall We Use Clojure?
As does java - it's all the same jvm.

The VM is optimized for long-running applications, not brief scripts............ bang those out in whatever.

dedward··on Twitter Loses 'Occupy Wall Street' Case, Forced To Hand Over User Info
The prosecutors have to convince a grand jury to issue an indictment. That's what the initial investigation is about.

They may not have the duty to disclose, however, the warrant/subpoena has to be specific, and what IS scary is the idea that those served can be put under a gag order not to talk about it. For big RICO cases it made sense, but for smaller ones that's an abuse.

← PreviousPage 7 of 34Next →