8,437 karma · joined Sep 8, 2011 (15y ago) · 1,419 submissions
comment 13y ago · link · parent
It's really variable. XIBs have issues with source control, but they can be very useful for bringing in assets without needing a load of boiler-plate image loading code. iPhoto, for example, is laid out programatically but most of the controls are coming in from XIBs.
comment 13y ago · link · parent
Ruby and Objective-C definitely aren't that similar internally - as someone else has suggested, there's no technical reason you couldn't do something similar for Python. It just happens that Ruby to Cocoa bindings have been around for a while (for some time with Apple support), and as a result there has been generally more interest in carrying it forward.
I've probably failed to adequately explain how it works, but the MacRuby source is available on GitHub, and Laurent Sansonetti has done a run through how RubyMotion does it's thing here: http://rubysource.com/laurent-sansonetti-on-rubymotion-inter...
comment 13y ago · link · parent
Secondly, I don't see the relevance of the number of felonies being charged at any one time. Many in the civil rights movement were repeatedly arrested, charged, and tried over many, many years. And many faced length sentences off only one or two charges.
I'm not totally sure of the point you were trying to make, but if you're trying to equate Aaron Swartz's persecution with that of those in the civil rights movement then you're treading onto extremely shaky ground.
comment 13y ago · link · parent
I don't know what Crashlytics enterprise pricing structure is like, but if it's anything like other similar services they'll probably be on twelve month agreements with their clients, which would be complex to untie. I doubt the service will go anywhere for paying clients for a little while. If you're relying on a free third-party service in your apps you always have a recovery plan should something get bought, retired, or just plain go wrong.
comment 13y ago · link · parent
It is up to Sweden, not the UK, to decide whether it wants to negotiate or not.
comment 13y ago · link · parent
999.
Snapchat vulnerability opens up users' cellphone numbers(cleveryou.net ↗)
1 points · by objclxt · 13y ago · discuss
comment 13y ago · link · parent
...I don't quite understand this. Surely he did have an option to "get off without pleading guilty" - to be found not guilty by a jury of his peers.
comment 13y ago · link · parent
comment 13y ago · link · parent
comment 13y ago · link · parent
The judicial system is one of the few areas where "just doing your job", no matter how 'evil' it may seem, is morally right. Even the most heinous and obviously guilty defendant deserves the best defence available. And similarly, is a prosecutor enforcing a law that society chose to enact inherently evil?
It is far, far better to take all this outrage and anger and direct it towards changing the outdated laws that govern computer crime.
comment 13y ago · link · parent
Getting a DA fired solves nothing. What happens once you have achieved it? What have you accomplished? The law remains the same, and these type of cases continue to be brought.
Change is difficult. But I hope that if people really cared about this they would put as much effort as they can into changing the law, rather than trying to place the blame on a single individual - because the latter can easily result in even more misunderstandings.
comment 13y ago · link · parent
I can't see how in many of these situations a controlled drug is going to help. We could only administer ketamine to those who exhibit depression or suicidal tendencies, but sadly these signs are not always visible or picked up.
comment 13y ago · link · parent
Certainly when I had my Google on-site for an engineering role I was spared the infamous questions that crop up in articles like this from time to time.
comment 13y ago · link · parent
Case in point: in the UK 27 million people watched the Olympic Games opening ceremony on TV, but only 0.4% of that audience (just over 100,000 people) watched it in 3D[1]. For a technology with 20-30% penetration this is pretty dismal.
[1]:http://www.pocket-lint.com/news/46728/3d-tv-viewing-update-b...
comment 13y ago · link · parent
It is not the rotation itself that is the problem, but saving the resultant file. If you're working directly with the pixel buffer you only do a lossless JPG rotation if the image height and width are multiples of 8 (or 16, in some situations). This is because once you've performed the rotation you'll need to save the resulting output as a JPG, and unless your dimensions factor into the block size you'll need to recompute. This SO answer covers it in more detail[1].
However, if you're not working with the pixel buffer this doesn't apply. You can use jpegtran (part of libjpeg), for example, which manipulates the JPG file directly and never decodes it. Many basic image viewers and editors (like the Windows Picture Viewer, and probably the iOS Photos app but I'm not sure) don't use this approach though.
[1]: http://photo.stackexchange.com/questions/12361/are-windows-p...
comment 13y ago · link · parent
http://www.ivir.nl/publications/helberger/EIPR_2008_5.pdf is the report itself, if you are interested in such things.
Interestingly, you'll find certain artists much more passionate about retaining their recording rights than others. Cliff Richard was one of the major proponents for the EU extension, whereas Noel Gallagher is on the record as not really caring at all[1]. It's not a coincidence that the former wrote virtually none of his songs, and the latter will own much more lucrative publishing rights (which have the standard life+70 clause) in addition to recording rights.
[1]: http://www.guardian.co.uk/music/2011/sep/15/copyright-extens...
comment 13y ago · link · parent
Since people are always going to wash clothes, retailers can guarantee they'll shift, and it's virtually un-perishable - and because the margins on tide are rather low, shops will happily buy suspect goods: they're practically untraceable and will shift fast.
Practically everyone does laundry, but not everyone drinks coffee. And those who do drink coffee will have differing tastes and far more varying brand loyalty than the detergent market.
comment 13y ago · link · parent
There is a volume licensing program for the App Store, where schools retain ownership and can buy in bulk at a discount (where developers opt in to allow such discounts). But in fairness, distribution still isn't perfect out of the box (it's done via one-time codes on the App Store. It is possible to automate this, but not as standard).
comment 13y ago · link · parent
It may not come as a surprise to many people to learn that laptops break almost as often as tablets when deployed one-on-one in schools. A quick Google led me to one study from 2004 in Maine, where over an 18 month period 50% of laptops required repair, and 35% of students experienced laptops breaking down or being accidentally damaged[1].
The main difference is that a higher percentage of tablets require total replacement, which is somewhat understandable as tablets (be they Android or iOS) are far less user serviceable.
[1]: http://maine.gov/mlti/articles/research/PCHSLaptopsFinal.pdf
comment 13y ago · link · parent
Also, on a more practical level, trying to procure a thousand Nexus 10s is no easy task. I don't think one platform is inherently better than the other in the education market, but it should be pretty self-evident that Apple is better set-up to currently sell into the sector.
comment 13y ago · link · parent
Both Harvard's CS50 and MIT's 6.00 are intended to introduce people with little or no experience to programming. However, the former has far more students with humanities and arts backgrounds. This requires a different approach to teaching. Neither course is 'better' than the other, and the student evaluations bear this out. The feedback I hear from contacts at edX is that both courses are being very well received.
The assumption you seem to be making is that the majority of people taking CS50 care about working in the industry, whereas they just want to find out more about programming. And that's not a bad thing.
comment 13y ago · link · parent
There is actually a course for the last third, it's CS1. I used to Head TF it: like CS50 it counts for Gen Ed credit, but it is designed primarily for that last third you talk about that may find CS50 too fast paced. It uses Java rather than C. No plans to take it to edX though (with both MIT and Harvard's Intro CS classes the space is crowded enough!).
CS1 was originally designed pre-Malan when CS50 was basically only taken by those majoring in CS, and it is somewhat less popular now as many students want to take CS50 for the 'experience'. The massive success of CS50 at Harvard (now one of the top three most popular classes across the entire undergraduate catalog) is both a blessing and a curse: it's great that more students are interested in learning to program, but it's also meant the department is having to rethink what it offers post-CS50.
comment 13y ago · link · parent
Clearly, it is a good thing that Anonymous is drawing attention to this case: going by the Atlantic's and the NYTime's reporting, there's a lot of suspect stuff going on and it should absolutely be investigated by people without any skin in the game.
However, Anonymous are not lawyers. Releasing potential evidence into the public eye is hugely problematic, because it may in the end not be admissible.
Suppose there exists a piece of evidence that appears to absolutely and totally prove the guilt of the accused. However, this evidence is inadmissible in court (this happens more than you might think). The jury wouldn't get to see or hear about this evidence. Now, imagine this key piece of evidence is leaked before the trial by somebody like Anonymous. Suddenly, it's everywhere, all over the news. The defence team are going to have a field day: it's mistrial time. Their client can't possibly receive a fair trial.
So I am in two minds about this: on the one hand, it's undoubtedly a good thing that attention is being drawn to this case. This would have been unlikely to happen on such a large scale if Anonymous hadn't gotten involved.
On the other, if Anonymous keep going down this road they will cause a mistrial. And that's going to result in the complete opposite of what they're trying to achieve.
comment 13y ago · link · parent
That's not the case. What appears to have happened is the guy's software was sub-licensed or resold to a company that took bets from people living in the US (which is, until the US legalizes online gambling, illegal).
However, if you go by the Wired article then the Manhattan DA doesn't actually have any proof that the developer of this software knew this was going on. You can only be an accessory to a crime if you have knowledge of it: selling your gambling software to a company that you knew was running an illegal operation would be a crime. Selling it to a company that subsequently resells it to an illegal operation and doesn't tell you would not.
If you go by the Wired article what seems to have happened is the developer in question had no knowledge of this, but received some terrible legal advice advising him to sign the plea bargain.