HNHacker News
TopNewBestAskShowJobs

wizard_2

576 karma · joined January 5, 2009

I'm just this guy, you know?

email me at wizard@wizardcomputing.com

submissionscomments
wizard_2··on Obama administration moves forward with unique Internet ID for all Americans
And that is a very large controversy. Governments can't even get voting machines that a) work correctly and b) are tamper resistant. It scares me to death that the same contract/bidding system that produces the many monstrosities that support a basic right are going to produce this.
wizard_2··on SOAP: The 'S' stands for simple (not really)
I don't buy this, you have to plan the versions of your "api" if I'm going to change a field into a required field I have to have a plan for clients who don't supply it. You skip all the business and validation logic with direct db access.

As for error codes, it doesn't seem non trivial to explain why your validation failed.

wizard_2··on Hidden device distorts news at hotspots
I love how this is all possible albeit not practical.
wizard_2··on Engineering management at Facebook
Ditto - the firt few tools were small and only used by my team, the next few were big and used by everybody eventually, working on round 3...
wizard_2··on SOAP: The 'S' stands for simple (not really)
I'm being asked to create webservices so other developers don't do direct database access and their stuff wont break when things change. How do you manage that?
wizard_2··on Build a new year clock with an SQL query? Sure, why not
This got sent to my dba team. =)
wizard_2··on Hotlinking to jquery.com will be disabled on January 31, 2011
Stolen from the html5 boilerplate

    <!-- Grab Google CDN's jQuery. fall back to local if necessary -->
    <script src="//ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.js"></script>
    <script>!window.jQuery && document.write(unescape('%3Cscript src="js/libs/jquery-1.4.2.js"%3E%3C/script%3E'))</script>
wizard_2··on Ask HN: Why doesn't HN use SSL/HTTPS for its login form?
How is https like an electric fence?
wizard_2··on Ask HN: I've got a full time job I love & extra cash, I want to invest.
I am in NYC. I've never worked with any over seas developers though.
wizard_2··on Ask HN: I've got a full time job I love & extra cash, I want to invest.
Thanks for your advice!
wizard_2··on SSH scans - I caught one
Try to get the cops to care about this. Try to get campus security to care about this. Try to get your campus IT department to care about this. (They probably don't want you running servers anyway.)

Law enforcement has bigger issues. In a world where HBO can send a letter to my roommate from an IP in 10 days, and the police investigating a robbery have to wait 9 months for the same thing. You did the right thing.

I would have played a longer con game instead of nuking some random ftp server, he probably just set up another one.

wizard_2··on When the Tech Guy is 13 (or even 10)
I started as one of those kids (now I'm twice their age) and it why I'm a good consultant. I got experience and made mistakes when I had the time and freedom to. I got to try things I probably wouldn't today. (Mostly because I didn't know better. I wish I had found a mentor who knew about consulting at that point.) So I'm pro these kids exploring making things for money.

I'm bothered by the article though. It's written as if these kids are just as good as a "professional" and gives me the impression that the author thinks the only difference between someone doing this for years and a kid who went to computer camp is a degree of professionalism and responsibility.

wizard_2··on Please fork, contrib & push Paython (Payments in Python) forward
I recently spent about a week trying to hack Django Bursar into something useful. I was woefully surprised at the lack of payment libraries available in python. I highly recommend stealing as much as you can from existing systems (including Bursar and Satchmo) it will save you some time.
wizard_2··on Expedia on how one extra data field can cost $12m
They don't really care about the companies name or if it's a company credit card.
wizard_2··on WePay Drops 600lbs of ice in front of PayPal Conference
What's the major difference between wepay and someone else like Square? I've recently received my square reader and I'm liking their service well enough.
wizard_2··on Trouble sleeping? Maybe it's your iPad
You will get used to it and if you're ever up before dawn and see it change to blue again you'll be even more weirded out. The hardest part is explaining to other people, but even they've stopped noticing.

PS And yes, it lets me get tired at night easier. I physically notice if I disable it for a game or movie.

wizard_2··on Firesheep: Easy HTTP session hijacking from within Firefox
The cpu load can be mitigated with frontend https accelerators or proxies (think nginx as a load balancer doing the https). The real problem is the first connection. Browsers don't fall back to https, if nothing answers on http they'll give an error. If the first connection is over http then a man in the middle attack can succeed.
wizard_2··on Gift HN: Anybody want a subdomain of ww.com?
Can I have nyc.ww.com cnamed to nyc.wizard-domains.com (which I'll add for this purpose!) I see that it's taken but inactive. Otherwise nycme.ww.com. =)
wizard_2··on Examples of using dispatch tables in perl
I grabbed that out of an older project, most of my newer ones only have a save.
wizard_2··on Examples of using dispatch tables in perl
I'm pretty new to perl scripting but most of my cgi's at work look like this near the beginning. How is that crazy bit of code better? (Post_only is just a function that returns the function or a 404 if the request isn't a post)

  # Dispatcher
  my %action = (
    'search'      => \&controller_search,
    'view'      => \&controller_view,
    'save'      => post_only(\&controller_edit),
    'delete'    => post_only(\&controller_delete),
    'index'     => \&controller_index,
  );
  if(exists $action{$q->param('do')}){
    $action{$q->param('do')}->();
  }else{
    $action{'index'}->();
  }
  exit;
wizard_2··on Adobe AIR now Available for Android
While I have no doubt it sneaked its way in though some means you weren't expecting, I've never seen air install automatically. It often is shoehorned in though flash, but there are numerous prompts about what it's about to do.
wizard_2··on Big Android Market expansion
What app did you make?
wizard_2··on $250,000-a-day Minecraft strikes indie game gold
Same dam story for me too - I'm not a big gamer, I don't have time to play normally and minecraft has won over starcraft 2 for the past week.
wizard_2··on Ask HN: He stole my laptop, and sent me this, what would you do?
I can tell you first hand the police don't have the manpower or knowhow to track people on the internet. They're good but they need help.
wizard_2··on Ask HN: He stole my laptop, and sent me this, what would you do?
I feel your pain, I was robbed earlier this week and they took my laptop (among other things). There are two things you can do.

1) Report the serial number and your police case number to the genius bar. If this guy ever goes for service they'll call the cops. This isn't apple's policy but it seems to be an apple store thing. 2) Renters insurance.

wizard_2··on Why pornographers no longer love the web
Who sees your credit card statement? You get it mailed, you see it online, its fairly private.
wizard_2··on Things I've Learned from Traveling Around the World for Three Years
I'll second that, as a New Yorker who works in midtown I see tourists all the time. Mostly people ignore them, often we give directions or advice (like don't stop in the middle of the sidewalk, don't leave your purse on the subway seat, this train doesn't go west 4th).

Most visitors aren't used to having so many people around them. Just be mindful of your surroundings. Probably good advice for any city.

wizard_2··on We Had No Idea (the first digital camera)
I'm one of the 9 million new yorkers who take the subway to work every morning and work in midtown. If I had to rely on a net connection for music, photos, etc I would be without a great deal of the day. (During transit, at 5pm, in some office buildings.)

I also don't like the idea of renting, music, property or otherwise.

wizard_2··on Clojure in Python
Or understand what it does.

I learned yesterday that a closure is a function that's saved in a variable with out being effected by the context its run in, just the context it was saved in.

wizard_2··on Ask HN: How do I ask for a salary increase?
This is absolutely correct. Most people tend to fear step one much more then they should. I recently changed jobs and their offer was exactly what I was making at my full time job and my side jobs. I asked for a 5-10% bump, got it and now I have a new job (and I'm pretty happy about it). What surprised me the most was that I wasn't worth some arbitrary number to them, or a potential value that I wanted to be worth. I was worth exactly what I was able to get other people to pay for me, and a little more because they needed me too.
← PreviousPage 4 of 10Next →