HNHacker News
TopNewBestAskShowJobs

carson

501 karma · joined December 7, 2008

https://www.ioncannon.net/
submissionscomments
carson··on Who's Submitting AI-Tainted Filings in Court?
Steve Lehto has been covering some of the AI filings that have gone bad on his Youtube channel. They seem to be getting more frequent https://www.youtube.com/@stevelehto/videos
carson··on AWS Lambda
From hearing the details it seems that there is no real limitation to what you can execute as long as it runs on the instance. I get the feeling that if you zipped up all of the parts of python or ruby you need to ru you could execute a script using either of them as long as you initiated it from your node script. The key word here is probably "support" and that may be more of an issue if you want to edit your scripts with their web IDE.
carson··on Amazon announcement on June 18
Someone pull a CSI and enhance the reflection in the glasses at about 43 seconds in!
carson··on Video Processing at Dropbox
It would be awesome to see the 1st and 3rd tools open sourced.
carson··on Amazon’s holiday success and UPS’ holiday fail
Anyone know how "thousands of packages" cited in the original article turned into "millions of customers" in the gigaom piece?
carson··on C# is the language of the year, Python of the decade
From the #code2012 poll on twitter C# is 8th where it was last year: http://www.ioncannon.net/projects/code2012/ Not that it is any better a stat than Google searches but the number one language from the poll was Javascript and I tend to think that from a use standpoint that is probably "the language of the year" if there is one.
carson··on Why I Love Being A Programmer in Louisville
It is also worth pointing out that you can fly to DC and NYC in under 2 hours from Louisville. You can fly to Chicago and get there before you took off thanks to the time change. So you have access to pretty much any of the "best" of those things listed here in about 3 hours including the time it takes you to drive to the airport, get through security and board.
carson··on How to directly upload files to Amazon S3 from your client side web app
#2 is possible but #3 isn't unless you have a completely open bucket and that wouldn't be good.
carson··on How to directly upload files to Amazon S3 from your client side web app
I will second this. At the bottom of this article there is a reference the article I wrote a while ago when Amazon released this feature. I was planing on doing multipart uploading at that time using the FileReader but there was a bug in the way S3 did CORS so I didn't want to continue until that was fixed. They fixed it and I never came back to it. Maybe be a good time to try it again. Resuming a partial upload seemed like a good win to me.
carson··on How to directly upload files to Amazon S3 from your client side web app
I wrote the example referenced at the bottom of the article and it has an example of indicating progress to the user. You can see it in app.js here: https://github.com/carsonmcdonald/direct-browser-s3-upload-e...
carson··on If I was your cloud provider, I'd never let you down
Anyone remember Joyent's Strongspace service? http://www.datacenterknowledge.com/archives/2008/01/21/joyen...
carson··on Catalyst: a new front-end developer training program
Can you share the empirical evidence that it works? There is a lot of talk about these programs but not many resources on the outcomes that I know of.
carson··on Raspberry Pi now with 512MB RAM
Maybe it depends on where you order from but I ordered one from element 14 a couple weeks ago and had it in 4 days.
carson··on Hidden Gem of iOS6: File Uploads in Mobile Safari
This is great but sadly you can't resize images in the same version of mobile safari so it limits the usefulness for image uploads. There is a bug that makes large images incorrectly render to a canvas. It seems odd that this wasn't a use case they tested against.
carson··on Announcing Heroku Enterprise for Java
There are probably any number of reasons, valid or not. The easiest to cite is "Who do I call if we have a problem with OpenJDK?"

Outside of OpenJDK there are other issues that make this a hard push for Enterprise customers. I haven't seen a large installation that uses memcached. Most go with something that is tailored for Java like Terracotta's bigmemory. Again it is "Who do we call if it breaks?"

Heroku is in an interesting place here I think. They are certainly on the right trail but this is VMWare's back yard now. Being a polyglot platform is probably a disadvantage for Heroku in this arena. If you look at VMWare they have a complete system tailored to work with Java. The hardest hurdle I see is that VMWare's solution can go from developer size deployments to production all on the hardware owned by the Enterprise. Heroku can't do that and I assume will never do that. Not "owning" the entire system will be an uphill battle for a lot of Enterprise customers.

carson··on Announcing Heroku Enterprise for Java
Sadly I think the OpenJDK will scare off most "Enterprise" developers. I see this as a good option for testing/development but I have never seen an Enterprise use OpenJDK in production. Most are using Oracle's JDK or some other special purpose JDK. And if you can't make it look exactly like production most shops are not going to touch it.
carson··on Sample iOS 6 Passbook Web Service in Rails
Apple really needs to stop putting this type of stuff under NDA. I've had something like this since 3 weeks after WWDC but I was sitting on it waiting for the NDA to lift. So many people are ignoring the NDA that at this point it seems that maybe Apple is effectively not enforcing it.
carson··on Browser-Side Amazon S3 Uploads, Using CORS and JavaScript
I put together a FileAPI based uploader using signed PUTs. I hadn't gotten around to releasing it yet but here is a gist for those who might be interested: https://gist.github.com/3593744
carson··on The Pixate Project: Bringing CSS to Native Apps
I found this interesting when I saw it before. I had thought of something similar after seeing Nimbus Chameleon http://blog.jeffverkoeyen.com/nimbus-chameleon The difference for me however was I was just thinking iOS and was wondering if something could be created that utilized the UIAppearance APIs in UIKit http://developer.apple.com/library/ios/#documentation/uikit/...

Edit: I realized I ran into something that does almost exactly what I wanted a couple weeks ago on github https://github.com/robertwijas/UISS

carson··on Pixate promises app UI production in pure CSS
I was thinking about something like this the other day. Nimbus has something similar I think http://blog.jeffverkoeyen.com/nimbus-chameleon
carson··on Sam Soffes open sources Cheddar for iOS
I just picked a line out of the area to point to. I'll pose a few questions that go into more about why I believe this is code that isn't straightforward and in general a bad reference point for a beginner:

* Can you tell me why that entire block of code gets dispatched to one queue then right into the main queue?

* Can you tell me what queue the animation completion blocks run on and why it might matter?

* Can you tell me what queue the network request runs on?

* Do you think the animation completes before the network request finishes? Can you tell me why/why not?

* What happens if the network request fails?

carson··on Sam Soffes open sources Cheddar for iOS
As much as I love seeing example apps like this I think beginners probably need to be cautious looking at this code. Here are a couple things that concern me:

* The UI is all hand coded. Not to start a religious war but interface builder makes supporting different devices a lot easier.

* There is some hairy concurrency stuff going on like this https://github.com/nothingmagical/cheddar-ios/blob/master/Cl...

carson··on The Mac App Store’s future of irrelevance
I think the idea that Apple can't require MAS is wrong. Maybe they can't for everyone but I would bet they can for a lot of people and probably plan to. At some point developers will be buying the developer version of the OS that gets them around the sandbox.
carson··on Simple And Safe In-App Purchase Using Parse
It should stop that type of piracy for IAP for the most part. From what I have seen those hacks just fake receipts that will not pass this type of validation. What could happen at some point is jailbreak hacks using real receipts that do pass validation. For that to happen someone would have to make a real purchase and then give that receipt out. That makes it traceable back to the original receipt purchase and adds an initial hurdle. If this were to become popular it would be easy enough to just catalog the hacked receipts and reject them. Apple could do that or it could be something that gets integrated into the system before the request even goes to Apple. This type of server side validation is a pretty solid defense against piracy.
carson··on Apple’s in-app purchasing process circumvented by Russian hacker
Apple has a way of validating receipts for in app purchases, see: http://developer.apple.com/library/ios/#documentation/Networ...

If you are using IAP in your app and want to keep this hack from working you should be validating receipts. It isn't hard to do, check out https://github.com/carsonmcdonald/iap-validator for an example.

carson··on Census Bureau's American FactFinder software cost taxpayers $33.3 million
From the site in question:

"American FactFinder works with Mozilla Firefox 3.6 and Microsoft Internet Explorer 7. Other browsers may not perform as expected. "

I wonder what it would cost to get support for Chrome.

carson··on WWDC 2012 Session Videos
The videos for sessions 205 and 219 would probably be the first two I would recommend if you are an iOS developer.

The videos for sessions 600 and 601 would be good if you are developing web apps.

carson··on Pinterest Architecture Update - 18M Visitors, 10x Growth, 12 Employees, 410 TB
You are just counting EC2 cost. The AWS cost for 410TB of S3 storage is around $39k. You would need to add in BW cost on top of that.

It is also interesting that they seem to be using Akamai for a CDN instead of Cloudfront so not a completely AWS based solution.

I wish they went into what they are storing in S3. 410TB is a lot of storage. My initial guess was cached images but 80M objects breaks down to 5MB per object and that is a lot more than what is needed for image caching.

carson··on ESPN Developer Center
The terms of service are even better, make sure to read the three bullet points in section 3...
carson··on Xbox 360 Teams Up With Entertainment Leaders to Transform TV
It will be interesting to see details on this. I expect that it will be disappointing and you will be forced to have the cable channels to get the online content. This is already something that is making its way into other XBox content like espn 360.
Page 1 of 4Next →