skysight-inc/HackerNews huggingface dataset:
If you have the time, go look at an explanation of NewtonScript then Self. NewtonScript takes the concepts of Self and created a pretty nice little language that is a little more accessible than Self (unless you know Smalltalk, then go with Self first).

I like prototype-based languages and really wish that NewtonScript had a little better syntax. On the other hand, I have never been fond of Javascript and don't know why.

http://selflanguage.org

http://en.wikipedia.org/wiki/NewtonScript and http://waltersmith.us/wp-content/uploads/2005/12/OOPSLA95.pd...
I'm sure this is what's happening. Their serializer is perhaps filtering out properties they knew about, but shouldGroupAccessibilityChildren is a new property on the UIAccessibility Protocol which is adopted by NSObject.

A good short-term fix is to update the web service, but they should update it to only use the POST parameters it expects. When they release an update to the iOS app, they can fix their serializer to only serialize the properties they need.

Apple isn't injecting this - their code is.
The real issue here is proprietary software. If all software was free software, then software piracy would be eliminated.

>Would it be impressive to be able to assert that every single copy of your software was paid for?

I can assert every copy of software I run on my machine is 100% free software. However, I didn't pay for it.
Yep. Wrong tab. A different submission did not link to this page and I meant to post there.
You're talking about the old behaviour. New rails apps have config.active_record.whitelist_attributes set. That means that models without attr_acessible statements will throw an error if mass-assignment is attempted. IOW, they've done exactly what you asked for. They should have done it years ago, but they did the right thing after it blew up in their face.
Why do you think a retina display would be more likely?
NYC-GUTS – NYC Interior Street Views
What?

"And this is exactly my point about why having the Zen of Python is problematic: it is not in any way definitive, but it is treated as though it is."

What does that even mean?

Not having 'one way' of doing things is a good thing. People program in different ways. Not everyone is the same. Its ok, don't panic.

I've encountered countless 'you're doing it wrong' messages from the rails community; or 'that's not idomatic ruby'.

Simple example, naming your files: MyClassName.rb instead of my_class_name.rb; I've never yet encountered a python guy who's hassled me for naming my python files differently. I've yet to meet a single ruby developer who hasn't commented on it.

...but you know what, that's ok too. I don't mind; these are different communities, and they have different outlooks.

I'm really not sure what point you're trying to make, but the point I'm making is: these are different tools, and the communities for them have different priorities.

Why do we need to rank them and say there's something 'wrong' with the community of one compared to the other?

The python vs ruby debate is unnecessarily divisive flame bait in almost all circumstances.
It breaks returning object literals because `return` on its own line is a complete statement.
The precipitating event was Apple's blocking of a Google Voice app from iTunes. I suspect that this had something to do with the disruption of Apple's relative positioning of the iPod Touch and iPhone within it's product line. The ability to text and talk across the garden wall with an iPod would have likely had a negative impact on iPhone sales.
Internet freedom : Anonymous Brings Philippines Government Sites Offline
I hope you realize that this is the identical argument PHP developers made whenever someone brought up how insecure the base language, libraries, and configuration were.

Users of a framework should have to go out of their way to make themselves insecure. It shouldn't be insecure by default.
JS Devs - I think if you can open up your minds and take a look at what is actually a new and interesting approach to a JS framework, you'll be glad you did. Take a look at the examples. There's definitely some potential with this one.
thwarted just learned how to wipe his ass.
-- via Charmin (like | share)

Brilliant. I laughed aloud. :)
Whenever I come across Allman style indenting, I get an overwhelming urge to run "indent"....
Any American jury is going to be biased against a foreign company

I'm not sure if this is true. I don't think most American's see Apple as an Apple Pie type of American company. I could be wrong, but I have never heard anyone say, I bought an iPad because it is an American product.

I say this as someone who is probably more supportive of American companies and not really supportive of Apple at all, so maybe I have my own bias, but I don't think so.
It hurts Apple's customers because they are blocking a superior free product for no apparent reason but to kill competition.

Seems like a hell of a good reason to me.

Was entering the mobile market a bad thing? was it not allowed? is it for Apple alone and no one else's?

Google and Apple had a symbiotic partnership, like WinTel, which dominated for the better part of two decades. Microsoft stayed out of chips, Intel stayed out of doing an OS. If one decided to take 100% and get into the market of the other, it would create a nasty situation where both were forced out of their comfort zones to make crappy stuff. It would break trust. And yet that's exactly what Google did with Android: it had a partner that didn't have search or web in its DNA—and thus an ideal partner—and decided it could take the partner's market. Pardon the teen parlance here, but that's a little backstabby. Apple's indignation, in my view, is entirely justified.
Home - QS Academic International Mobility
375 Million pageviews for $15 a month
Your views on environmentalism are interesting. Do you have data about most people being convinced "that no-one should be allowed to extend human life", or "that Malthus was right"? If we're going anecdote vs. anecdote, I really don't see what you're talking about - I hear very little about longevity or exponential population growth being the problem.

What you mention that I do hear a lot about is that resources are running out. This concept seems almost a tautology to me - if resources are finite, and we are using them without replacing them, then they are running out. This says nothing of how quickly they are running out, which is why people are doing lots of research on this problem.

Your point about incentives is actually exactly why the possibility of resource shortage frightens me more than nuclear war - the people of the world and their leaders are currently incentivized to trade off long-term resource scarcity for short-term economic growth, and there are currently many economies in need of growth.
I'm a Python/Django guy so I'm not intimately familiar, but is that really the case? I was under the assumption that the handler wouldn't pass any POST vars not in attr_accessible to the model. In which case additional, unexpected ones would become silently dropped.
Who is the next Steve Jobs (and is there one)?
If you flip the players around, could you see Google allowing Siri on the Google Play market?

I could. (Siri would even be able to launch apps, etc, due to Android's more robust API)
I test at controller level that things aren't accessible (security) and at integration level that the appropriate things are accessible and error messages are correct when not (functionality).
I think this is a great area to work on. I set up something similar myself but just for cameras/photos - FoundCamera.com

So far I've found that a bigger proportion of items are reported lost than found however I guess that shouldn't be an issue on tgifound as people can return anything.

How are you facilitating the reunion of objects - do you just let people send messages to each other?
The music industry sells music on Apple’s iTunes Store with zero DRM†. I can send it to anyone and they can just play it. Just like with apps, I can also log in on a friend’s PC and re-download my music. Using the music industry as a counter-example in this article is hilariously misguided.

Of all the digital stuff Apple sells, music is by far the easiest to pirate.

—

† No watermarks either. The tracks contain the Apple ID of the purchaser as well as purchase date and time as metadata that is easy enough to strip away.
Coding is my new Gaming
You should check your IP laws in your country. I'm in France but IP principle must be common to many countries.

As soon as you create something, you are the author and you own the IP. Your employer can only claim ownership if the creation was made during an explicit (written) mission to do so, by contract or if the creation was made by using "means" of the company (e.g. PC, data, time,...). The burden of proof is then on your employer, not you.

You can retain partial ownership if you can prove that only part of the product were made in the condition yielding ownership to your employer.

Remember that it is the employer that has to justify his claim of ownership, assuming you are the author and this is not contested. If such physical proofs would by accident disappear, then your employer could have a hard time to claim any ownership. But keep in mind the perfect "crime" doesn't exist. He might have copy of your stuff, witnesses, mails referring to the creation, etc.

The best would be that he never heard of your side project in the first place and that you never used any means (e.g. PC, data, storage, time,...) of the company to create and work on your stuff.

Now you know why it was 'Ok' for him that you worked on your side project. Don't waste your time with written things. Get your stuff away of him, if it is still possible. You will be in a much better position to negotiate if this should happen.
How exactly can #3 not be accomplished on Brand X's website?

People can then post said coupons and contests to FB, where they can interact with each other, using Facebook, instead of Brand X's website.

Why does Brand X need the interaction to happen on their site? It's not like FB is some magical land of coupons and contests that could not have been offered before.

EDIT:
Also, why on earth do 300,000 people like a TOILET PAPER page? Is TP really THAT incredible? What business value comes from 300K likes on FB?
Nope, it's been developed by Justin Vincent of the TechZing podcast.

He spent about five minutes on the latest show explaining it... but frankly I still have no clue what it is.
Different shoes have different capabilities. I wouldn't wear hiking shoes to a job interview, but would wear them hiking. Same with apps. Siri might be good at some kinds of voice assistance and Google's offering at others.
Apparently the reason the tunnels were closed was that Transurban could not operate the emergency sprinkler system and smoke extraction fans.
Surely it would have been cheaper for Transurban to pay a few MFB fire trucks to be stationed outside the tunnels and close a lane to guarantee them access in case of an emergency. That way traffic could flow, tolls could be charged, and nobody would be as upset. I am sure Transurban make more than the fire brigade would charge them per hour.
I see two fundamental issues at the heart of the problem:

* iOS allows users to install only applications approved by Apple. This makes about as much sense as a house with built-in technology that prevents the owner from using any furniture, kitchen equipment, and entertainment device that isn’t pre-approved by the home builder.

* iOS prevents users from installing and accessing other app stores. (Other proprietary mobile OSs make it difficult or impossible to install third-party app stores.) This makes about as much sense as the home builder having the legal and technological power to prevent the homeowner from visiting certain shopping malls in the area.

Installing any app you want -- and any app store you want -- on your own device ought to be an inalienable right.

--

Edit: I updated the second point to reflect that Android does allow the installation of third party app stores -- see comments below. (Thank you mokeyfacebag, stanleydrew, and ZeroGravitas for pointing this out!)
I just spent over a month on a project where we started to use Drupal and I can't see a single thing that is good about it. Poorly written core code. Poorly written modules. Abysmal UI. The only thing I can possibly think that Drupal has going for it is a great community and, as this article mentions, the ability to make a lot of money for little work.

Needless to say, a month and a half into the project we dumped Drupal.
This is rather late, but http://codereview.stackexchange.com/ was made for this purpose. Post code for improvements, or review other people's code to suggest improvements. Working code only.
> Any American jury is going to be biased against a foreign company

I disagree with that statement. If you read the groklaw piece linked below, the jury was actually siding with Samsung before Hogan started practicing law.
What strips vocals from audio when a 1/8' audio jack is partially unplugged?
Since when have anti-competitive actions been bad things in the absence of a monopoly, which Apple most assuredly does not have in the mobile space? We're all for competition and its benefits, except when we're not?
Splitting content based on chapter, category, or topic makes sense. Splitting it based on a fixed length "page" is antiquated, and not just on the web. Ebooks and ebook readers that force explicit page lengths and page "turning" are equally as annoying. Content flows much better through scrolling instead of having hard fixed length breaks.
> The basic principle here is, do not talk to "progressive" black people

-- 6 hours later --

> So I'm not saying white people shouldn't talk to black people

Surely you can forgive _pius for assuming you meant what you said.
What is the problem with arbitration? If I were Ms Pao, I wouldn't want a jury trial. Jurors hate people who they think are looking for a handout.

Here is how it is going to play out: "KPCB is an investment fund, meaning we take money from groups such as a teacher's union retirement fund, and invest it in companies. The returns from those investments are paid back to the investor, ultimately helping secure the retirements of teachers. We pay our employees exceptionally well, because the stakes are so high. Small investment decisions can impact the bottom line of the fund by many millions of dollars".

Juror thinks: "I am not going to take from school teachers to pay Ms Pao because her feelings were hurt. I am sorry some guy harassed her, but that doesn't mean she wins the lottery. Hell, I'd let my boss kick me in groin every day if it meant I got her salary.".

Jury trials are a bad idea when the jury can't relate to the victim. Getting a fair jury is almost impossible in a sexual harassment case.
The whole updating/upgrading argument can be made for all software. Many pirated versions of operating systems and major software suites can't be updated, but this doesn't stop a huge number of people from pirating it (Windows, Office, and Photoshop to name a few).

There are plenty of apps on the app store where all you have to do is zip up the application's directory and send it to a friend. This means that you don't even need to log into your account on their Mac. All you have to do is install the update, zip it, and toss it in dropbox or send it in an e-mail.

This is a gaping hole in Apple's infrastructure. While circumventing piracy completely is impossible, it really shouldn't be this simple either.
Unpopular? In some designer circles maybe, in 90% of working web developers absolutely not. Not to mention that the flow layout techniques are sub-par and worse than tables in every area where they overlap.

It's no coincidence that the w3c finally created a grid layout spec as well as the flex layout to surpass the "flow" mess, or that all desktop UI layout tools use some grid and/or constraint based system for layout.

Plus, content-presentation separation should be at the level of CMS/database/RESTful service where the data come from, not imposed at the level of the published content.
1.5 - 3 pots a day :(
Visualization of tweets for election debate
Your second point is not accurate. I have the Amazon app store installed on my Galaxy Nexus.

Edit: now that you have completely changed your second point, my comment is not a valid response. Please refrain from substantially changing your comments once posted.
Anyone who thinks that isn't how most juries go probably hasn't done much jury duty.

There's always someone who thinks they know what's going on, or who the others think knows what's going on.

That's why they get elected foreman.
Replacing iOS 6 Maps: Hands-on with MapQuest, Bing, Waze, Google, Nokia
Not only held up by Apple, but held up by Apple for anti-competitive reasons. Fact of the matter is: we don't know. Conjectures are just that.

This is nothing more than a blog rant.
OP here. Just to flesh out why Monogram is better than your average Instagram gallery, we import all of the images to our db and allow users to create galleries from any of those images.

If you have a cool photo you took a year ago and one from yesterday then you can easily add these to the same portfolio. You can also filter by your most liked and most commented photos.

These are features not available through the Instagram API so we built them and we think it's pretty cool. We also periodically refresh the images to keep their comment/like counts up to date and use the realtime API to pull in new additions.

Any feedback welcome!
If public transportation is an option for you, I find that I get about an hour (30 minutes each way) of dedicated reading / people-watching time every day while I ride the Chicago L.
Could you elaborate on what you mean by "shared examples"?
> Both iOS and Android prevent users from installing and accessing other app stores.

This is not true for Android. Some OEMs might ship a version of Android that is tied to a single app store (e.g., Kindle Fire), but I'm quite certain that vanilla Android can install any old .apk from any source.
Why Facebook's Search Engine Won't Be Anything Like Google's
The negativity over Python3 has stretched my patience with the community, even though I truly love the language. I'm not looking for my day-to-day language to change on a daily basis, but I don't want it to stagnate into Java, either. I feel like there is a large camp in the community who would prefer that.
Shedding light on Apple exec drama: Why SVP Bob Mansfield unretired
Microsoft would win the game and take the princess home if they just sawed off the damn numpad off either the Natural 4000 or even better the black Natural Elite.
none, Don't SaaS me man...
Own My IP Launches to Ease the IP Transfer Process
My Ascension To Programmer
Walter White in the pilot - full head of hair and a mustache - he's hapless, blown hither and thither on a wayward course by cancerous winds.

Walter White by the end of season 4 - shaved head and a goatee - large and in charge.
I'm impressed. I really thought I'd seen all approaches to unit testing, but apparently I hadn't. This really appeals to me!

Is there anyone here who's been using DocTest and has some experiences to share?

I love how, as a side effect, this approach to unit testing encourages implementing a good toString / __str__ on each class. In those languages that have that, of course.
Things startups do and don’t need
Your comment claimed (up until a moment ago) that Android prevents users from installing and accessing other apps. Now it says 'proprietary mobile OSes', which from certain angles Android is. Yet my Android phone has multiple app stores on it.
No, I think what you get is an easier channel to communicate with an interested customer, where "easier" is defined as "'interested' customer doesn't even have to visit our site and fill out a form to get an email ... we can just inject messaging into their feed".

Signing up for a coupon, contest, or other deals list via email is already the best direct, reusable channel. FB didn't improve this. They simply created a method whereby companies can take advantage of doing what email marketing does without ever having to ask the user for anything more than a click.

And still, this serves to cement FB's brand and position in the market far more than the interested company's, I think.
Looking at Groklaw's overall coverage of this, you have to wonder if she and not Quinn Emanuel are Samsung's legal team :-)
Why I Canceled My Klout Account
This is superb.
Yup, the real best practice is to use your judgement and choose the right test for the job.

If it's something that you can see in a browser (and the results are visible too), then it's a candidate for an integration spec.

You really shouldn't be integration testing stuff like security. For example, testing a user can't submit a form they can't see (which is where horrible Rake::Test::Methods mixin hacks start appearing).

You also shouldn't (imho) be integration testing side effects that aren't visible to the user. For example, if an action ends up in an audit log that the user is never going to see, there's no point firing up an integration test to do that. A light-weight controller test can do that just fine.
Is this the same group that worked on the Elbrus VLIW computers?
http://en.wikipedia.org/wiki/Elbrus_%28computer%29
I've got the unicomp 122 that I use at work, and the HHKB Pro Silence∂ that I use at home.

I only got the 122 because they were out of stock of of all the Classic and Space Saver when I was ordering, and truth be told I can't think of any intrinsic advantages that the 122 brings. I do love the layout of the arrow keys (with Home in their middle), but the singe best feature of the board is the BS switches.

Back when I bought mine there were a few more configuration options for the 122, one where the additional F keys (13 - 14) would send a "normal" F13 signal, and one where it sends shift + the F key below it. For example, F13 would send Shift-F1. Seeing how unicomp does not give you options any more, you might want to check what the default is.

Also, if you like the Natural, you might be in to ergo boards? You might like the Truly Ergonimic[1] with MX browns. Watch out of the placement of the important programming keys though, since they are a bit off (~ [ ] { } ; : / \ etc.)

1: https://secure.trulyergonomic.com/
Alan Kay said "The best way to predict the future is to invent it".

Kay popularized that quote, but didn't invent it. It goes back to a 1963 book called Inventing the Future by physicist Dennis Gabor: http://quoteinvestigator.com/2012/09/27/invent-the-future/
I love the shift click to get brackets trick, any idea on how to get it on vim?
If there was a competitive market then Apple would release Google's search app to the App Store and allow iPhone users to choose which one to use. The author or the article suggests that Apple is intentionally delaying approval of the app to force iPhone users to use Siri. The author (and others) argue that this is anti-competitive.
That was an enjoyable read, and Id like to Point out that it is also a chapter in many of our lives. Maybe not as directly or deeply, but for me my discovery of slashdot coincided with my move back to the valley in 97 specifically to get into silicon valley IT.

I've grown a lot, slashdot was a part of that growth and while I don't visit it that often any longer, it's still a part of my professional and personal DNA.

Nostalgia is a good thing, after all; memories are the only things you have to think back on. ;)