skysight-inc/HackerNews huggingface dataset:
5 Steps to a Simple Scheduler in ASP.NET MVC
Follow this step-by-step guide to create a simple scheduler in MVC3/MVC4 Razor.
Fast setup via NuGet is available. Full source code is accompanied by screenshots.
Altomail - Aol's new mail client
It's even worse! Their website is so broken you can't change your password (new password fields are disabled) and you can't set a new email address as primary (the "make primary" button only appears when the new email address field is empty). Also, if you first add a new email address, save, then set it to primary, it disappears. Wtf.

I see no recourse other than closing my account, if that's still possible. [edit] No, not even that is possible.
Confused ..is this London in (UK or Canada), if anyone interested in meeting in UK drop me a line, info on profile
You can't even delete your Skype account if you want to. You can only change some of the information:

https://support.skype.com/en/faq/FA142/can-i-delete-my-skype...
Breaking the "cm" units in CSS is inexcusable.
Swedishism? Google ain't finding any explanation for me.
I'm having the exactly same problem, and I can't believe they're doing it. They won't even let us protect ourselves. Could they botch worse than that?
I guess it was done to prevent account stealing while Microsoft works on appropriate fix
Worked at CERN for 4 years and never heard of anyone using Haskel. Lots of C/C++ and Java for infrastructure. The Grid also uses Python if I'm not mistaken. Physicists typically use Python and MatLab.
Never use enter to complete forms, use the mouse. That works for me.
http://freemoviesite24.com/2012/11/jab-tak-hai-jaan-2012-ful...

http://freemoviesite24.com/2012/11/jab-tak-hai-jaan-2012-ful...

http://freemoviesite24.com/2012/11/jab-tak-hai-jaan-2012-ful...

http://freemoviesite24.com/2012/11/jab-tak-hai-jaan-2012-ful...

http://freemoviesite24.com/2012/11/jab-tak-hai-jaan-2012-ful...

http://freemoviesite24.com/2012/11/jab-tak-hai-jaan-2012-ful...
Dictionary comprehensions are pretty nice indeed, they're new in Python 2.7 so that might be why you've not seen them before ;-)
Duplicate of a comment I made below but:

There seem to be two main things here - touch targets and fonts.

All the reviews have suggested that by and large touch targets on existing apps are fine which suggests that it's not only possible but actually pretty simple to size them such that they're fine for both devices.

Fonts are somewhat different. There have been comments which suggests that some fonts are smaller than you'd want on the mini but the other side of that is that there is no one "right" font size. When I was in my 20s frankly the smaller the better, now I've turned 40 I'm happier with larger.

I agree configurability can be a cop out (and iOS is almost a monument to that view) but there are some things where there are really good reasons why you might make it something the user can work with and this feels like one.
We will throw bots at the servers until they fall over, but at any point after 50k concurrents we will not devote engineering time to fixing it.
Information Security Journalism Awards 2012
You can normally read from outside the sandbox on iOS: there are data in /usr/lib and /usr/share that are important to libraries shipped as part of the dyld cache (also incidentally found outside of the app container.)

The main question is: what exactly lays outside the sandbox? A good thing to search for could be Cydia, but there are alternative package managers. MobileSubstrate isn't a sure bet either, but I suppose it's a far cry safer than Cydia. An additional method could be trying to map a page you can both write to and execute, which should fail unless specific kernel patches indicative of a jailbreak have been applied (or you're a webview with Nitro enabled.)

The best method, however, is to not care, because if you do it's for the sake of either tracking/analytics or screwing over your users.
There are enough people who come from top notch statistical backgrounds who don't necessarily have a firm grasp in whatever fancy machine learning heuristic is in flavor today (which is not a deal killer), or don't know how to code (which probably is depending on the company)
You could also use access(), which will not incur any file reading overhead or exchange of encryption keys.
Most people that have a problem with OOP are conflating it with how OOP gets used in Java.

Like if you wanted to represent a RGB pixel on screen, in Java that ends-up being a class having methods like draw() and such. And this is the problem with OOP in Java, because of the limited toolset, you always end up having heavy Objects that have their own behavior instead of functions that operate on a whole composite of such values. Having draw() defined for a pixel is pretty bad design and yet people do it anyway.

Also, some of the common complaints about OOP classes (e.g. you end up having to write boilerplate, like when defining getters and setters and equals and hashCode) are again related to Java and Java-like bureaucratic OOP languages. In Scala all you have to do is this:

case class RGB(r: Int, g: Int, b: Int)

Is it statically type-safe with a good self-documenting structure? Yes. Is it just a simple tuple? Yes. And under the hood Scala also generates a proper equals() with structural equality and the right getters/setters for the values, because in Scala (like in Smalltalk) member access is always done through a method call. And because it is also a class, you can also attach things to the constructor, like runtime checks to make it even more type-safe:

case class RGB(r: Int, g: Int, v: Int) {
require(r >= 0 && r < 256, "r must be a value between 0 and 255")
}

Is this OOP? That's indeed a class, but saying that programming with classes as types is OOP is like saying that programming with functions is functional programming.

In my opinion Java should never be taught as an introductory language and in universities people should really get exposure to pure forms of OOP, like Smalltalk and CLOS.
TBCache - Optimizing scrolling performance in image-heavy UITableViews using KVO
HTML5 Canvas performance: low-level optimization tips and tricks
Low-level optimizations matter even if you write your code in high-level language such as JavaScript. Code is still executed on same hardware as if you write it on C++.
Each JavaScript engine is different. You can have significant performance boost in one browser, but at the same time your fix may make your code slower in another browser. Test your code in all browsers your application must work with.
Keep the balance between code readability and performance considerations. Sometimes it makes sense to inline function even if it makes your code less readable. But always make sure that it brings you desired value: it doesn’t make sense to sacrifice code readability for 2 ms performance boost for code that is already fast enough.
Think about object allocation, memory usage and cache utilization, especially if you work with memory intensive algorithms.
I think with the advances in C++11, that's even more likely to remain the status quo.
I'm a big proponent of working (i.e. laboring) as little as you possibly can in order to leave as much room as possible for convivial activities and personal growth. But I think it is disingenuous in this case to paint Molyneux as a slave driver.

They were ill-prepared for the launch and stuck together to scoop the water out of the boat. It's probably a bad idea to do it for 36-hours straight, but it's understandable. I would certainly stick my teeth in there till the storm's passed. Especially in a company this small, where the line between collegiality and friendship are probably quite blurred.

I'm much more interested in what the RSI is a result of. That shit needs to be taken care of.
I think it was just meant as being local to Sweden.
I use unique and secure passwords for all online services, https://agilebits.com/onepassword makes it really simple.
> So OOP skills aren't going anywhere.

And you're disagreeing with author about what, exactly? He states explicitly that:
"applied to problems below an arbitrary complexity threshold, OOP can be verbose and contrived [...] it makes it harder to identify the cases where an object-oriented style truly results in an overall simplicity and ease of understanding"

Also, read (it doesn't hurt) the previous post he links to at the end: http://prog21.dadgum.com/93.html

Basically the author says that OOP should be applied only where appropriate - not to every simple script or every course for beginners.
This appears to be a bug.

After adding the email address and clicking save, logging out, and logging in, I found the email address was successfully added. At this point I could change it to the primary one, click save, paste my password, and click the button on the password prompt to successfully change my primary email address. If I tried to add the email and make it primary in one session, it would not work. If I entered my password and hit enter, it would not work.
This reminds me of the "isUserAMonkey" thread: http://stackoverflow.com/questions/7792123/strange-function-...

That turned out to refer to automated testing harnesses as opposed to live users (see: http://developer.android.com/tools/help/monkey.html). Unfortunately, http://developer.android.com/tools/help/goat.html 404s.

The Android API is known for lots of little hidden references and Google jokes. The SensorManager for example has a bunch (i.e., GRAVITY_DEATH_STAR_I and SENSOR_TRICORDER: http://developer.android.com/reference/android/hardware/Sens...).

According to the Chrome team, the "Goats Teleported" reference in Chrome is just a random number: http://www.quora.com/Google-Chrome/How-is-the-number-for-Goa...

So, it appears that isUserAGoat is most likely just an engineering joke that shipped.
How to Create a Responsive Image Slider in jQuery and CSS3
Today we will code a responsive image slider from the Impressionist UI. We will code it using the FlexSlider plugin for the functionality and style it using CSS3.
Returns True on LL Cool J's phone: http://en.wikipedia.org/wiki/G.O.A.T.
微博观光团飘过...
HTML5 Boilerplate recommends NO build process ;)
Quite a difficult piece of writing to follow actually, lots of we/our/their/the company/they ambiguity.

the tl;dr is a fair summary.
Get Raymond Chen to patch iOs.
What makes this potentially very interesting is that Microsoft is suppose to push out IE10 to most Win7 users after it's released. Within 12 months IE10 could be the most used IE browser. Hopefully, approaching 20% market share.
They say in the article that the pricing is the same as for Glacier.

> With Glacier you can limit the amount you pay by retrieving really slowly

This will only work if you have small enough Glacier archives and stagger the retrieval requests. The pricing is based on the speed that they retrieve from Glacier internally during the job, not at the speed that you retrieve after the job is complete. I presume the same will apply for S3.
But not large print books because that might suggest that they were real.
also it seems the password reset link, is not working for me.
> But what happens when get a tuple from somewhere containing {289, 345, -1}? Or god forbid {200, "Monkeyspit", {}}!

You just move type check to runtime and use some kind of contracts... but what does it have in common with OOP? It's closer to classic dynamic vs. static typing argument and as someone pointed out OO type systems are mostly inferior to Haskell's. The point being - it's not relevant here.
Yes, literally.

People flogging that dead horse fail to realize that a word has many meanings, not always compatible with it's original or primary meaning ("sad gay people", do exist, for example).

If they have looked into a recent dictionary, e.g dictionary.com, they would have read, for example:

lit·er·al·ly   [lit-er-uh-lee] adverb
(...)
4.in effect; in substance; very nearly; virtually.

Emphasis mine.

There's even a usage note:

Since the early 20th century, literally has been widely used as an intensifier meaning “in effect, virtually,” a sense that contradicts the earlier meaning “actually, without exaggeration".
Here is what Linus Torvalds said on the topic in the other interview:
"In many ways, I actually think the real idea of open source is for it to allow everybody to be "selfish", not about trying to get everybody to contribute to some common good. In other words, I do not see open source as some big goody-goody "let's all sing kumbaya around the campfire and make the world a better place". No, open source only really works if everybody is contributing for their own selfish reasons."
Link to the whole interview:
http://www.bbc.co.uk/news/technology-18419231 .
And when you try to change your password:

Character not recognized. Please choose a mix of letters and numbers.

...
Quora adds new "Online Now" feature to getting answers fast
Or based on the frustration of iPhone users being punted onto second rate "mobile sites" when the full site in Safari with a bit of zooming is absolutely fine.

Don't give people any more information which they're likely to use to do dumb things?
That he "begged" them to go home is suspect. Is he not in charge?

I've sent people home during crunch times before when they demonstrated they were becoming a liability even though they still wanted to keep working.

You don't beg. You tell them that is how it is going to be. Leave or get escorted off the premises.

> Seriously, is there another option?

Yes. Send people home for some sleep and resume. Unless the people who stayed were carrying out purely menial tasks, odds are having them on the job 36 hours straight got far less work done than if they'd taken reasonable breaks. Sure, you can pull more than 8 hours now and again. Sure, you can even pull all nighters now and again.

But over a 36 hour period the vast majority of peoples productivity at complex tasks will nosedive well before half way, and stay flat to even negative in jobs like software development, as you slow down other people and negatively impact communications once you get too tired.

If you want the most amount of work done in 36 hours, you don't make people work the whole 36 hours.
"Is this OOP?"

Okay, that's beyond my pay grade. I could argue that either way. OOP is the grouping of data and functionality into units called types or classes. So yes, technically, but I know what you mean.

I agree that Java is a bad way to start, but I wonder if I wouldn't come at it from just the opposite angle. Start with C, move to structs, then move to something like the class you show, then to more complex type creation. After all, C++, probably the most widely-used OOPL on the planet, started with the problems of scaling C.

The problem here is the confusion between "the way things work in language X" and "the way things generally are". I think you need a few OOP languages, and perhaps some functional ones too, under your belt to be able to understand that.

What I think you're getting at is problem-solving strategies. There is a certain problem-solving strategy available in OOP that doesn't make much sense in FP. Many functional guys look at OOP and say something like "It all looks like just a bunch of wiring" -- which is true but misses the point. It works the same in FP, they have ways of solving problems differently than the OOP guys, but that's for another day.

In either case, starting with Java is not so good, if for no other reason than you end up in namespace-land with even the simplest code. Start simple, either with Smalltalk or with C, and work in the more complex pieces.

Note: I _do_ think that any OOP learning experience should end with creating your own robust type system, just like I think any FP learning experience with creating your own parser and compiler. But this also is a topic for another day.
Apparently, https://login.skype.com/account/password-automation still works.
MS is fixing the problem right now. They turned off password recovery form few minutes ago.
"There's gold in them hills!" The (growth of) the Internet is like the days of the Gold Rush in the US. Everyone tries to strike it rich, and one a very few actually do find 'gold'. But I'll tell you who ALWAYS made a killing: The clever guys that sold the shovels and axes. Be a tool. (You know, like the guys at 37Signals).
Frolden?
Seconded. I like just "Pistol Lake"
Queen receives Samsung Galaxy Note 10.1 for the Royal Collection
I also managed to remember some of the Edlin's commands.
1. We're not done yet, rather at an early stage.

2&3. I did write "(outside of Air and games, let's say)". Did you miss that?

See also Emscripten, which produces GC-free well-typed JS. We're also working in Mozilla Research to show Emscripten + JS can competes on performance, and excel on reach, with alternative single-browser and proprietary approaches.

/be
The code responsible for enumerating goat teleportation (on very low contrast page):
http://100-geek.net/articles/goats_teleported
Python: "Paradigm(s): multi-paradigm: object-oriented, imperative, functional, procedural, reflective"

JavaScript: "Paradigm(s): Multi-paradigm: scripting, object-oriented (prototype-based), imperative, functional"

Ruby: "Paradigm(s): multi-paradigm: object-oriented, imperative, reflective, functional"

From Wikipedia. So, where the faux pas is?
This is the paradox of platforms in general: the more you empower smart, nice devs, the more you also empower not-so-smart, not-so-nice devs.
If a person did it, we'd call it immoral. When it's a group of persons doing it, we'd call it immoral. But when it's one group of persons doing it -- the employees -- in the name of another group -- the owners -- it's suddenly unethical not to do it? I don't get that.

You don't strike me as having a libertarian bent, but that's essentially the argument used to justify taxes as immoral:

If I steal from my neighbor and distribute the proceeds to the community, including my neighbor and myself, it's theft – immoral.

But if the whole community gets together and vote to steal from my neighbor, and his neighbor, and everyone's neighbor, and split up the proceeds – that's suddenly moral?

Point is, not all arguments generalize from "a person doing it to" to a group doing the same thing collectively.
I so wish they're hacking a proof of concept right now.
With regards to distributed processing of neural networks, how do you split up the neural network onto the various nodes? Do you cut it up into sections and then compute the combined weights from each nodes outputs?
Anecdotes like yours are one of the main reasons I read HN. Thanks for sharing.

Y'welcome. Have another from the same session of teacher training. It's one I trot out while wearing my UX hat when folk talk about 'intuitive' interfaces.

This was late eighties remember. In the UK too. Mice were not common. Almost everybody we put down in front of one had problems initially. This was often the first time these folk had been in front of a computer - let alone one with a mouse.

In one case I had to take the mouse apart (look here's this ball - it moves against these rollers - they send the x/y changes to the computer, that moves the little arrow on the screen) before the teacher 'got it'.

Intuitive? Ain't no such thing ;-)
Notice that he uses the word, "Selfish" in quotes to make it clear that he's not using the word in the way we commonly define it.

There's a very large difference between Linus's definition of "Selfish" (Which is basically people scratching their own itch, serving their own need) - and societies definition of selfish, "MW Def: concerned excessively or exclusively with oneself : seeking or concentrating on one's own advantage, pleasure, or well-being without regard for others"

To some degree, all human behavior is "selfish" - we're all driven to do those things that bring us pleasure. The question is, in doing so, do we do so exclusively, and without regard for others. Traditionally, when we use "selfish" in the pejorative, that's the differentiator in how we use the word and Linus does.

The genius of the GPL, of course, is that it aligns ones own self interest with those of a greater community. You can use the software as much as you want, just as long as you contribute back your changes to others. An enforced quid-pro-quo, if you will.

I absolutely understand the argument that Linus is making, and I agree with him - that, long term, people need to be driven by the need to satisfy some personal need, not some greater community good. But suggesting that contributing software to the GPL is selfish is using language in the same way that suggesting affirmative action is racist. This is only true if we stretch the definitions of the words selfish and racist.
Ziddu.com-View Photo Photo0296.jpg
what I do is intersperse the site name with my username at my domain e.g. for skype:

ksekryrpiedge0@mydomain.com

then I have a catch-all on the domain, and lower the priority of emails that aren't to my normal address, but any important emails get their own forwarder to forward into my main inbox, so I will get the emails on my mobile devices.

quite effective actually.
I'm not in any way saying that you shouldn't plan for the future. We certainly have designed everything wherever possible not to get in the way of future scaling. It's just the problems you can't predict are what really get you.

For example, in theory the first "designed in" limitation that our architecture has should kick in around 1.5 million concurrents. There is a service in the backend that, due to the way it is designed, could never possibly handle more concurrents than that without redesigning some pretty core internals.

In reality though, when we get to 2 orders of magnitude less concurrents then that the realm starts to develop issues that we are currently resolving.

So yes, don't design things that can't scale, but don't expect your designs to actually scale without serious engineering effort.
Prepare for Extreme Global Warming
The end of management
The design is nice but I've found the font not so readable (Chrome 22 on Win7)
It's not a client-side fix. Just stop the server from sending the token/link to the clients. Sure, that might degrade the client experience a bit(assuming that the client isn't just displaying a webview in which case no degradation would occur) but it would fix the problem for now.

Later on you can take your time rolling out a client fix if it's required, but a hotfix server-side is entirely possible, there's no excuse keeping this vulnerability possible when it's been made this public(step by step instructions to hack someone's account, with screenshots!) especially since you were contacted privately about it ~3 months ago.
Vimeo launches pay-to-view service Movies
Our mission is to support totally original video and the people who create it, which means providing more than a home. It means creating an environment where creators can access the resources to make their next film, and the one after that. Our new pay-to-view service enables creators to upload and distribute work that they depend on for their livelihood, all with easy setup and affordable rates. In turn, our community gets access to amazing work from the world’s leading filmmakers.
You don't push the fix to the client. They have some notification system ou there that is sending the messages to the client. They just need to stop it from sending these kind of messages. Obviously I can't say how much work is involved in that - but they don't need to push an updated client.