skysight-inc/HackerNews huggingface dataset:
Precisely, what's the offending rule?
Slide 54 is insanely important. At my current place we've invested tons in instrumentation and metrics. Every IO operation is guarded with a semaphore and access is monitored and exposed. Every cache in the system logs everything from hit and miss rate to volume etc. Every async operation logs operation trails. We also ship a ton of tools for everything from bread and butter stuff like stack dumping, pinpointing long running threads etc. to more sophisticated stuff like being able to break in to a page rendering and profiling various element hierarchies, either over time or following specific users.

As I said, we've invested so much in getting the entire stack monitored very granularly, but every time our customers run in to issues it pays dividends.

For reference, we run on the JVM which is very pleasant. A ton of tools interop with it and basic things like MBeans being integrated in to JVM makes monitoring a lot easier.
Also see Etherpad Lite, much easier to get started and way more features.
Mobile Patrols
Sharp Edge is chewing gum removal, commercial cleaning company offers wide range of programs for individuals and also specialize in the retail security services
Pasting in most of Shakespeare's works seems to have made editing non-responsive for about 30s. Pretty neat though.
Then have fun signing up for Dropbox on you iPhone using IAP and then only getting to use Dropbox on you iOS devices (no Macs or PCs or the web), since IAPs aren't allowed to give you services outside the app

> 11.3 Apps using IAP to purchase physical goods or goods and services used outside of the application will be rejected

In app purchases are simply a wildly inadequate solution for many apps and services, and Apple forcing everyone to use them is absurd and helps nobody.
Lately I've been thinking that Haskell might be a really good language to write cross platform native apps in. It's super fast but also high level so you can be really productive. I know there are some libs for iOS but if some sort of cross platform framework existed I think it could be really powerful.
Oakley Deception
That would be actually very good for Oracle. Oracle would pay a certain amount of money to IBM in exchange for licensing these APIs. As they say, business is IBM's middle name so it's not like they're going to make this a political question, they will happily take the money. Suddenly, the barrier to enter to relational database market is a lot higher, and PostgreSQL (and MySQL copies without a license from Oracle) are illegal. How is this a stupid move on Oracle's part?
RCB vs KXIP Live Streaming Video | Match 44 | IPL 5 | Match Preview
And also that the bubble is back, big time.
Content management system (CMS)
Content management system (CMS), also called a Web management system, is a system which is used to manage the web site’s content. CMS offers a collection of methods that are used to maintain work flow in a collaborative atmosphere. These methods can be computer – based or manual. Typically, content management system contains two types of elements; content delivery application (CDA) and content management application (CMA).
The problem wasn't misstated, when they aren't in order the solution isn't obvious unless you remember a bit about sums. Most interview problems, if restricted, can either be solved very quickly, or aren't interesting anymore. Either way, as it was stated, it's a fairly common interview question as another comment has pointed out.
"built in HTML, CSS and JavaScript."

Why is that good? Eclipse is built in Java, and it's janky.
HTML5 Boilerplate removes pink text-selection highlight
It was an iconic h5bp element, users complain.
Le PERL est mort
If it were so easy to switch, why wouldn't developers target all the platforms? It isn't market suicide, but it's not as easy as recompiling the code either.
1°: s is the sum of the numbers in the array, x = n(n+1)/2-s

2°: s sum, p product, solve the linear system {n(n+1)/2-x+y=s; n!y = px}
Nice idea but heat and battery life will be an issue.

There is a market for this but most will just hook up to their monitor or iPad. People serious about projection will must likely have a real one.
IMO Flask [1] is all about being a library but not a framework. By default it only gives you routes (based on werkzeug), templating (jinja2) and simple sessions. Everything else is available as a plugin. E.g. ORM [2], Forms [3] etc [4]. Documentation is awesome too.

[1] http://flask.pocoo.org/

[2] http://packages.python.org/Flask-SQLAlchemy/

[3] http://packages.python.org/Flask-WTF/

[4] http://pypi.python.org/pypi?%3Aaction=search&term=flask&...
Sorry, can you expand on what you meant by that?
Ask HN: Job switch from web dev to automation testing
For $ and more stress free life I had to do this, but what are +ves and -ves help /me hacker friends..
Some of the comments on this article are hilarious! I especially love the one where someone says that they work near the building he jumped at - and they can confirm that he didn't break the concrete.

I do think that the most convincing explanation came from the comments section as well. The explanation is that:

"The Hulk's Mass and Power have no limit as he drives his power from Anger. Nobody can quantify Anger as their is no way to measure how angry one can get and there is no upper limit to Anger."

Makes sense to me!
I used to work at a company inordinately full of extremely smart people. The issue there was the lack of absolutely competent but not stellar thinkers - the people to do the grunt work. I'm convinced that in most engineering companies you need a good mix, biased towards the competent types.
I'm ashamed to say I used to use MySQL to store serialized PHP arrays. It seemed like a good idea until I needed to run a query using a string within the array. I "solved" the problem by writing a MySQL function similar to ExtractValue().

I was young and stupid, and I needed the money.
None of the graphics loaded for me. I could see the goblin/reaper names, the player name & the chat box, but no graphics. Just a black screen
There goes the freemium business model...
API copyrights is a terrible idea that would promote vendor lock in and block interoperability. It would be a disaster for companies writing to a small niche API or who lost access to a flaky vendor's approach to their problem.

This wouldn't really be so bad as far as programming languages go. AT&T already cross-licensed the C and UNIX ecosystem to the University Of California's open source BSD project and you could inherit their license. Java VMs and compilers could be distributed under GPL (and Android would be a better platform under GPL with less fragmentation). Python, Ruby, Perl, and the like license themselves to the world freely and easily.

I can't think of any really major programming languages that would be harshly damaged. C# is largely effectively proprietary because Microsoft rattles the patent sabre at non-Windows implementations. I don't know what the status of Javascript might be, but the standard API is fairly tiny.

Of course, no unfree language or API in the future would ever gain traction without a monopoly platform provider of some kind to require it and still it would never spread beyond that platform. Users would be too terrified of vendor lock-in.

Things like Wine would need to take development overseas, but the need for them is shrinking along with the use of proprietary platform binaries.
HTML5 and CSS3 to the extreme - Adobe Photoshop clone
Hotel Whitby
The Langley Hotel is a luxury 5 star accommodation based in the beautiful seaside town of Whitby in the North East of England. I highly recommend that you visit this place, we will be returning soon.
Ethics are objective now? I personally think it's a dodgy move on Apple's part, but I think the knee-jerk reaction is over the top, particularly given how Apple's policies on in-app-purchase are still quite nascent.

It's easy to castigate this as a monopolistic move intended to benefit iCloud, but the reality is that Dropbox and iCloud aren't directly competing services. Really this is about how third-parties offer purchasable services from within iOS. There is a trade-off to be made between what offers the best user experience and what is practical for third-parties though, so I have to imagine Apple will eventually be more flexible.
I guess it would speed up nosql adoption quite a bit if things would actually get that far.
This sounds great at first but I'm unclear about how usable it would actually be. Any pressure on the device would cause the screen to jump about.

I could see it being ok in start-then-put-down mode for Movies and Slideshows. But how often do we use phones like that? I look at photos in tiny batches normally with one other person, usually in a crowded place: pub, restaurant, car. I rarely watch movies on my iPhone but when I do it is usually on a train or in a car.

The need for a static white wall and a conveniently tall table in an uncrowded space makes me question the utility of this at all.
At the very least, you could do it with logs like so:

>>> from math import exp, log
>>> ref = [i for i in range(1, 500000)]
>>> test = [i if i != 7922 else 59148 for i in ref]
>>> s = sum(test) - sum(ref)
>>> r = exp(sum(map(log, test)) - sum(map(log, ref)))
>>> b = s/(r - 1); b
7921.999994157095
>>> (int(round(b)), s + int(round(b)))
(7922, 59148)

The use of logs is really just a convenience for finding product(test) and product(ref), so that we have both a - b (from the sums) and a/b (from the ratio of the products).

Python of course has bignums, so we can also calculate these products directly, but that gets to be a very large calculation; you don't want to be storing N! for N ~= 2^64 if at all possible.

If we know that these numbers are bounded by 2^n (e.g. they're all longs) then we might be able to do this product modulo some larger base, perhaps even 2^n, with the assurance that when we do the division all of that crap will cancel; I don't know and haven't tried it.
You just convinced me more than ever

> they'd make it impossible to uninstall or remove Safari from the desktop or dock,

You can't remove the iTunes store from the iOS desktop, even if you only use Spotify. You can't remove Newsstand either. I'm kinda surprised that iBooks hasn't been baked-in yet, but I'm sure it's only a matter of time.

> and switch Chrome and Firefox for Safari as your default browser every time you upgraded Safari (which would be every time you patched).

Apple rejects alternative web browsers on iOS outright, and there's no way to replace any of the default Apple associations

> Every time a mew version of OSX shipped, competing third party apps would become unstable.

Every time a new version of iOS ships, apps get removed from the store for "bugs" and it takes a week to get them re-approved.

> Software compiled with non Apple tools would generate bogus error messages on pre-release copies of OSX.

Software compiled with non Apple tools WERE 100% BANNED FROM THE APP STORE for a while.

> Apple would develop its own version of Java that ran faster but encouraged developers to use features not available in Java.

See Apple embrace and extending HTML5/CSS with pre-standard stuff like canvas, 3D css transforms, etc, so that sites with cool designs only work on Apple browsers.

> They'd also bundle apps together so that anyone buying Apple's popular video editor, say, would have a free image editing and page layout programs.

iWork/iLife for OS X?

> They'd steal code from third party developers and turn them into free add ons for their OSes. Oh and they'd simply kill off competitors by releasing free clones of their products.

Apple banning Camera+ from the iOS store, and then turning around and adding the feature that got the App banned into their system Camera app, without even an apology.

Also, Classics -> iBooks.

The pre-Jobs-return Apple used to buy apps instead of just cloning them, like MenuClock, the hierarchical Apple menu, Stickies, etc. Then Jobs came back and they just said fuck it and ripped off Watson with Sherlock, then ripped off Konfabulator with Dashboard, etc, simply screwing over 3rd party developers because they could.

> They'd license their OS to hardware vendors on the condition that those vendors pay a license fee for every box shipped even if it didn't have the OS installed.

They take a 30% cut of content sales on iOS, and then completely forbid sellers from having lower prices on other platforms that don't have the 30% apple tax, in effect applying the 30% apple tax even on other platforms.

This conveniently causes major hassles to competitors to Apple's built in services such as iBooks or iTunes, which don't have to pay a third party a 30% overhead, in effect killing Kindle and music store alternatives.

> When successfully sued for misconduct, they'd pay some of the fines in the form of strategic donations of software to their competitors' best customers.

It'll be interesting to see the outcomes of the current Patent lawsuits
Solution to problem 1: summing the numbers and then subtracting the sum from 1 + 2 + 3 + ... + n gives the deleted number x.

Solution to problem 2: let x be the deleted number and let y be the duplicated number. Summing the numbers and subtracting the sum from 1 + 2 + 3 + ... + n gives x - y.

Xor-ing the numbers and xor-ing the result with (1 xor 2 xor 3 xor ... xor n) gives x xor y. Now x xor y (expressed as a binary string) must contain at least one 1. So there is some digit where the binary representation of x differs from the binary representation of y. Let this digit be the ith digit.

Let's say that a number is good if the ith digit of its binary representation is a 1. Let's call numbers that aren't good bad. Observe that exactly one of x, y is good, and the other one is bad.

Let S be the number that we get by doing this:

S = 0

for j in 1..n:

if j is good: S = S + j

if j is bad: S = S - j

Let T be the number that we get by doing this:

T = 0

for j in our_list_of_numbers:

if j is good: T = T + j

if j is bad: T = T - j

We find that S - T = x + y or -(x + y). Since x + y is positive, we can find x + y in either case.

We have x + y and x - y, so we can find x and y.

Solution to problem 3: imagine that we have a car, car 1, that has a really big tank with a bunch of gas in it. Put car 1 somewhere on the track and have it drive one complete revolution. The amount of gas G in the tank of car 1 varies over time, but at some point P on the track, G reaches its minimum value. P has to be at a gas station. (Otherwise G would be lower at a point right in front of P.)

If we take our regular car and start it (with an empty tank) at point P, it's pretty easy to see that it'll make it all the way around the loop.

Because if it didn't, then at some point Q it would run out of gas. Q wouldn't be a gas station, otherwise our car would refuel; so there's some point Q' in between Q and the next gas station from Q. Then driving a car from P to Q' results in a net loss of gas. Then when car 1 drove around the track, it should have had less gas at Q' than it had at P. (That's not 100% obvious in the case where car 1 drove past point Q' before it drove past point P, but it follows from the fact that car 1 had the same amount of gas when it finished as when it started.) Contradiction.

Fuck yeah, I'm a badass.
Based on the amount of trolling, 'penis' and other garbage inserted into that textarea, Hacker News readership must include a fairly large number of idiotic children.

This is why we can't have nice things.
Anneler Günü hediyesi
Anneler Günü hediyesi hepiniz çok verilen ve bizim Anneler Günü'nde hediye fikirleri tam olarak bunu etti harika kadin kutluyor hakkinda olmalidir. Harika anne için mükemmel bir anneler günü hediyesi bulun! Anneler günü kutlamak ve size özel bir hediye ile ne kadar önem ona göstermek.
The Apache Harmony project has been discontinued.
Team fit is important. However definitely want smarter people around us. That is why they are selected otherwise we would do the job ourselves.
Yup. As for exception - it's one of the console out in the market. It might be public information, but I haven't checked.
I've tried to defend some of Apple's more dickish policies in the past, as logically they make a lot of sense in terms of business requirements, and hey it's Apple's wild ride.

This is fucking stupid though. The 30% cut logic works fine when dealing with items, but trying to apply it out to services is a nightmare as most users either don't care about the paid aspect of the service or have already paid for it.

Plus all this effectively does is say 'if you've got a paid service with an API, you're not welcome'. Less API access on the iOS platform is not a good thing for developers, which makes it not a good thing for users, which makes it in the long run shitty for Apple. Lets hope they pull some sense together and fix the rule properly this time.
You might find something in this list: http://searchenginewatch.com/article/2164037/40-SEO-Tools-of...
Yep, I'll add that for companies. I might make the jobs themselves taggable as well...
Not really. Many languages emit bytecode at runtime. I saw a Clojure solution to this once which involved writing the bytecode to a local file, running the Dalvik compiler (locally, on the mobile device!) to create an apk, and loading it. Clearly, that's jumping through hoops.
Atbr (large-scale in-memory key-value store) now has Apache Thrift support
HTML5 CSS3 to the extreme - an Adobe Photoshop clone
The gimmick-ness of this is just astounding.
No I don't think hes confused, I feel the same way.

What made the Kindle issue "OK" is that Kindle was undermining the Apple marketplace. This is simply not the case here. Apple are just being 'assholes'. A link to a link, to a link that sells disk space - not even CONTENT. How does it undermine Apples business model, or hurt end users? Answer is, It doesn't.
Same here... There is Vala, but just lazy enough to get into it.

My choice right now is Lua + C - for fun & experimentation. I also dabbled with Common Lisp, but haven't touched code in it in months, might get back at it later...
otherwise we would do the job ourselves

Only if you have infinite time at hand.
yes, i will consider moral values over convenience in my future purchases and also i am going to favor platforms that are more open in future. freedom trumps everything, more profits doesn't necessary make you happier.
Apple rejecting apps that integrate with Rdio and Dropbox by Dustin Curtis
Really? Are you talking gross or net profit?

I would be surprised to find many software products where the gross profit margin would be less than 50%.
Interesting! Going from VS 2005 to 2008 to 2010, Resharper has gone from must-have to nice to not needed anymore for me, since most of the features I relied on have been implemented natively in VS.

But MonoDevelop could sure use a lot of love...
It sorta looks like Samsung is turning into the next Nokia. Putting out a lot of devices with gimmick features. I guess there must be a market for it.
Ace Pest Services Offers Pest Control in Delhi
Australia’s Top Media & Marketing Blogs rankings
HTML5 CSS3 to the extreme - canvas image processing and filters
Nokia 808 PureView hits markets this month
So you saw how Apple burned all the bridges between you and your customers, and left just a thin rope for you to hang on to.

You just saw this and still you think basing your business on anything controlled by Apple is a good idea? Seriously?
Well, that's not necessarilty true.

Maybe for editing a textarea with rich formatting.

But ShareJS supports much more than that. You can sync custom objects etc. Look at their examples!
Coaxing out every possible dollar: a “Pricing Page” test you can launch today
Discussion on the Haskell Reddit --- http://www.reddit.com/r/haskell/comments/t2yy2/scrap_your_ty... --- 9 comments so far.
>The contentious question is: for every Aristotle in the top 10%, how many were in the bottom 90% that were denied that possible future by force?

And the even more contentious question is: how many are in the same place today? Lack of money when growing up and circumstance can be equally as brute as force to deny someone his "possible future" as anything else. How many readers does HN have that are San Francisco natives and how many that are, say, from Mississippi or Alabama combined?

With ~2 million people in jail, some million homeless and several tens of millions eating with coups and soul kitchens, one of basic differences now is that we have the luxury (hypocrisy?) to blame them instead of some institution like slavery.
Well, it certainly looks sleeker than LG's attempt at this [1].

[1] http://www.engadget.com/2010/01/07/lg-expo-projector-hands-o...
> Apple rejects alternative web browsers on iOS outright,

Except for Opera Mini - http://itunes.apple.com/us/app/opera-mini-web-browser/id3637...
Live webstreaming from the International Space Station symposium in Berlin
For question 3, it clearly states two things:

"the total amount of gas available at the stations and in the car is exactly enough for the car to drive around the road once"

and

"the car completes a full circle without running out of gas"

Given the first condition, in your solution, at the exact moment the car completes the drive around the track, it runs out of gas. Therefore, it is impossible to complete it without running out of gas.
Does anyone know which projector technology they are using in this?

Edit:
Should have googled first, its a TI DLP nHD projector apparently.
Ask HN: 45 Dutch students are visiting Berlin. Can we visit your startup?
Hi!

My name is Ewout Kleinsmann, a Dutch 24-year old EE student at the University of Twente and co-founder of a Dutch startup. 17 to 20 May me and 45 other EE, CS and AM students will be visiting Berlin.

We'd love to visit some startups and hear about you and Berlin as startup hub in general.

So, to all the start-ups in Berlin: may we come and visit you in Berlin?

Ewout

PS. if you have any questions regarding our trip, please do ask :)
It isn't even funny just how different it is:

https://en.wikipedia.org/wiki/Embrace,_extend_and_extinguish

https://en.wikipedia.org/wiki/Microsoft_Halloween_documents_...
NoSQL isn't a replacement for SQL. It's a separate technology.
The second solution works in linear time only if one assumes that multiplication is a constant time operation. But is it really? If you look at how a processor does multiplication it becomes clear it is a O(log n) operation where n is one of the numbers being multiplied. Thus, the second solution is probably a O(nlogn) solution.