skysight-inc/HackerNews huggingface dataset:
Shanghai is extremely wealthy... even if you don't account for the accounting tricks played by china with their currency. Have you ever been? It's like being transported into the future.

Apparently 20-30% cheaper than places in CA for most things, but to buy an apartment it's more expensive.

Wages are 75% or so cheaper in Shanghai, but purchasing power is 66.36% lower too...
http://www.numbeo.com/cost-of-living/compare_cities.jsp?coun...
ABD in ethics here. I can't believe someone actually drew a line on a chart and labelled it 'ethics'. This is a category mistake, like accusing a shade of blue of murder, or asking the Pythagorean theorem on a date.

If you're going to use ridiculous oversimplifications, please at least use the ones that have been vetted by people who have actually given the matter a decade or two of thought. It's not like there's a shortage of candidates either. But whatever it is, ethics is not a quantity, and it is certainly not a quantity over time.

By the way, Pythagorean Theorem says hi.
I've yet to see a display that's truly indistinguishable from reality, and claustrophobics are unlikely to be soothed by something they know to be an illusion.
Show HN: Notemark, an offline web app for saving notes to your homescreen
I'd prefer to disable Power key completely, it's actually totally useless. I think there is something on ACPI/kernel level could be done to disable that key, but I haven't found it yet.

When I need to sleep I just close macbook, when I rarely need to reboot I just press button “Reboot” in some package installation wizard (otherwise reboot could be done using apple menu). So this button make sense only in one case: laptop is not responding and you need to “hard-reset” it using loooong press, and that case is processed by low-level hardware, not high level ACPI driver.
Likewise, a tire has no knowledge of the past or future. It will transfer a bump from the road to you following the laws of physics, depending on whether it is functioning properly, represented by a probability.
The most inhuman acts of ignorance and hatred have traditionally been committed by societies, not individuals.

Individuals may have the ability to commandeer jet planes and fly into buildings, but only a nation can build a nuclear missile system capable of annihilating the planet.

The problem isn't with individuals. The problem is with society. And on that front — societal ethics seem to be keeping pace with technological growth. It might be technology that is propelling our societal ethics forward.

We'll always have broken men and women who do terrible things, but we might not always have broken societies that lynch, torture, pollute, and war.
How does any of that contradict the assertion that antisemitism is older than Socialism? Are you denying that antisemitism continued under the Soviet Union, even after the death of Stalin, couched in the language of anti-Zionism?

If you are saying that being Jewish was only one of several reasons for being discriminated against in the Soviet Union, then I agree. If you deny that Jewishness had nothing to do with it and it all had to do with being intellectuals, not having the right connections, etc., then you are losing me.
Even with a knowledge of psychology, I'm sure few people realize nightmare of such vision.

Please, consider that many geniuses feel deprived and stressed (http://en.wikipedia.org/wiki/Gifted_At-Risk).
It would be unwise to assume that these problems would not arise for a brain without access to culture and society. What is a Boltzmann Brain, if not an isolated genius?

To be such an isolated and self-aware brain might be a scary experience, if we were ever to record it.

Or impoverished one, if it lacked emotions.
Yes, that may be true, but the others could still contribute to growth. And it would be really hard (and probably not even good) to come up with 100 "true" growth hacks, and perform them one day after another ;)

Thank you, glad you liked it :) You can follow me here: http://timothy.userapp.io or on twitter: https://twitter.com/timothyej
Inertia seems to fit with bad management style. Good managers should be fighting it when it becomes cumbersome. Stop making excuses for FOSS celebrities and start demanding better outcomes.
That's a very good question. I hadn't really tried to pinpoint what exactly I don't understand about it until now, but here's what some thinking uncovered:

Branching/merging/committing is pretty straightforward. The problem is that some commands seem to be very convoluted. For example, why does reset do four different things depending on whether it's soft or hard or plain? I keep having to Google to find how I can revert my latest commit.

Another thing I have trouble with is obscure failures. Obviously this isn't something I can just learn, but there are times when git fails for a reason I don't understand...
My solution:

SELECT authors.name, SUM(sales.price) FROM authors
INNER JOIN books ON authors.id = books.author_id
INNER JOIN sales ON books.id = sales.book_id
WHERE sales.date >= Nov 2013 AND sales.date < Dec 2013
GROUP BY authors.name

Although a coworker pointed out that inner joins would drop authors who haven't written books, and books that have no sales. If you want to include all of those, then use LEFT OUTER JOIN instead of INNER JOINs.
Rapgenius Uniques Fall 90%
Why is that only a problem if you start a sentence with 'Yes' ?

Cynics always have scapegoats. It's always everyone else's fault. Dumb colleagues, idiotic managers, stupid customers. Just remember you control your situation and how those around you interact with you.

The 'Yes, if' thing is one of the major reasons I love startups.
Thanks for the link! The last page was great: "Managing the development of a new technology"
Interesting about the data volume.

What's used for the GUI of the game?
Testing infrastructure with serverspec
Doesn't particularly look like a wasteland.

Not any longer.

But truly, the jokes about frost-resistant Jews are so old now.
I started building websites and getting paid to code at 13. In 1998 building web sites was only possible if you were self-taught via the web, so market in Bulgaria and Europe (UK, Belgium) was quite lucrative. Not sure if that qualifies as professional.
Where is the unfair coin in your list? Without that you just get 50% heads. This method can definitely work to get the correct answer, but you have to account for all possibilities and weigh them by their probability.
Indeed. Not having a pricing page is an easy way to turn off prospects who want to remain silent!
That's not ambiguous if the applicant has taken a basic college statistics course, which is what the question is intended to determine. The term "probability" has more precise definitions in mathematics than in everyday language.
Religious Conversion, Facebook, and PHP micro frameworks
...in the future, it might also help to remember that models of morality/ethics are approximately as hard to get right as cryptosystems -- harder, if you factor in the inherent squishiness and inexactitude of the subject matter. As with crypto, so with ethics: trust your libs before you trust your midnight flights.
Thanks for the feedback on the Qualaroo pricing page, Patrick.
You mean, like this one?

https://petitions.whitehouse.gov/petition/prosecute-director...
True, very true. But my girlfriend has a negative interest in watching Doctor Who but loved About Time.
Don't Be a Mashochist: How to Make 2014 Your Best Year Ever
I've got a story to one-up this one. At one company I worked for, I was actually told by marketing that the product datasheets were knowingly poor, so customers would have to call in to ask questions. Then they would try to upsell them.
I am sorry but what do you mean by modified email? I used sinatra(http://www.sinatrarb.com/) to build the web service and ruby for back-end. It is hosted on heroku. :)
Yes, looks like this just started today, so it's reasonable.
Morality is one area that scares the bejesus out of me.

Conservative moralists argue that we must prohibit something because it's potentially dangerous, while liberal moralists argue that we must encourage it because it's potentially beneficial. Absolutists argue that morality cannot, or must not change, much to the chagrin of the relativists. And all this before we even get into the culturally directed moralities!

Compounding the problem is everyone's surety that THEIR morality is superior, with some even suggesting that their axiomatically superior morality be imposed upon others, by law, or even by force, if necessary.
I have to counterpoint this as well. It doesn't work for everyone. I'm paying the bills by myself by appealing to the businesses that want SLAs, purchase orders, etc. Everyone usually wants something custom for them. Different scales of customers want different things. In a way I prefer the high touch model to an extent if only because of the fact I get to learn about the problems the business is solving. Bulk/cheap SaaS typically CAN (not always) cause more support costs for less margins (depending on how you're staffed). I think for the primary audience here the advice is very applicable though.
It works backwards too: If having to call me to get a price makes you move on, you wouldn't afford me anyway.
Here's for you my friend:

http://www.accountkiller.com/en/

alternatively, you could give http://www.howtoleavefacebook.com/ a try
Actually most hacks are about user acquisition, but there's also retention hacks :)
Newbie in what sense?

Are you an experienced database administrator looking at postgreSQL for a new project?

Are you an experienced programmer, coming to postgreSQL as an option for your first project with three tiered architecture?

Are you new to programming and want to learn to database?

Are you new to databases and expect them to be pretty much like word processors and spreadsheets?
Is it just an empty pad? Or is there something printed on the pages to give some structure?
All the manual creation of checkboxes, deletion, and moving of tasks to me makes Gist far from "The Best" to-do list. Personally, I find the lighweight Google Tasks just fine, especially since there are many excellent mobile apps that sync with it and builtin support for multiple lists. I wish the URL for it was a bit more memorable though (https://mail.google.com/tasks/canvas?pli=1). The only thing missing is date completed, which I personally don't find very useful, but a calendar would probably be better if you want to keep track of that.

Edit: Nevermind, it does save date completed.
Not at all. The answer is about 0.75, and stated in the answer jules linked to.
>A box full of helium where exactly half of the helium is on one side and half is on the other is not appreciably more likely than one where there are 17 more helium atoms on one side the box than on the other despite requiring less bits to describe.

Plus, how does one decide which information is counted ("which of two distinct volumes the atoms occupy") and which information is not ("full position & velocity of every particle constrained only by uncertainty")?

Because if we don't make that [artificial] distinction, each box has exactly the same amount of information.
SEEKING WORK

Remote or local to South Carolina area

I have several years of experience in customer/tech support and I'm looking for a new opportunity in support or account management. I also have some done some simple software testing with Selenium and would love to get into QA. Email in profile.
I like that this is an option, and it's certainly a great option for some people, but calling it the "best" based on "it turns brackets into checkboxes!" is a bit of a stretch.

I do think that gists could be an ideal platform for a more robust todo list, though. It could easily serve as a backend for todotxt [1], for example.

[1] http://todotxt.com/
It's simple. They payed people to tag films with more useful features for their machine learning algorithms.
Leaked documents reveal NSA backdoor in Apple's iPhone software
Mobile Predictions 2014
Hi - vfx/games programmer here - I've never been given FizzBuzz - although similar problems generally appear on any programming test I've seen (reverse a string, find loop in linked list etc.) the better ones I've seen a couple of times now are:

"How do you reflect a vector about a normal? Name some uses."

"What is the dot product? Name some uses."

These aren't just filters but an experienced real-time rendering or physics programmer is going to have quite a lot to say about the practical implementations of either in particular situations and what hardware features are available to help you with them...

if there is a good theoretical understanding then they can talk a lot about what the dot product is, its relationship to matrix multiplication and tensor inner products in general. they can explain multiple approaches to the problem of reflecting the vector and derive their solutions from first principles instead of just repeating remembered knowledge.

there are lots of little domain specific bits of knowledge as well e.g. the reflection question can lead to discussion of the Blinn half angle approximation - why it works and why its no longer a particularly valid optimisation on today's hardware - the dot product question can lead to discussion of how to efficiently handle solving a quadratic equation on the GPU

really i expect a decent (games/vfx) programmer to run out of time whilst elaborating on answers to either of these questions (although not to the detriment of the rest of the test of course...).

the best filter is a strong demo though imo. never met a bad programmer who has a decent demo... none of the average, lazy or bad programmers i've worked with have one that i couldn't have crapped out in the evening before an interview.
And again I don't think I've made myself clear enough, sorry for that. The TL;DR of my hypothesis is: we'll never be "ready" as defined by the author. Even a perfectly ethical society wouldn't be ready. Plus, we're moving into an age where atrocities traditionally committed by larger groups can now be executed by individuals. Technical regression isn't the solution, and neither is some group of angelic wise men who get to decide what technological freedoms we're ready for. We aren't even ready for simple hand tools. No amount of moral progress is going to be enough.
I have collected some of the stories and links to further reading here: http://www.livejournal.com/community/kerosinka/1633.html Majority of the material is in Russian, but a large minority in English, for those interested.
Sounds like a great customer experience (sarcasm intended).

Coyness has it's place I suppose, especially when you're first starting out with your pricing or need to optimize for touch over scale. Hopefully they figured that out ASAP.
Remember class decorators didn't exist when metaclasses came about.
>One BIOS attack, called SWAP, was developed by the NSA to attack a number of types of computers and operating systems by loading surveillance and control software at boot-up. SWAP uses the Host Protected Area on a computer’s hard drive to store the payload and installs it before the operating system boots.

Won't the much maligned UEFI Secure Boot in Windows 8 stop this?
Start 2014 with Faster, Easier, and more Programmatic Machine Learning
xargs knows the maximum command line length, and will invoke the program more than once if necessary. One of the points of xargs is to break up invocations of a program into chunks of arguments that fit in one maximum length command line.

xargs reads items
from the standard input, delimited by blanks (which can be protected
with double or single quotes or a backslash) or newlines, and executes
the command (default is /bin/echo) one or more times with any initial-
arguments followed by items read from standard input.

--max-chars=max-chars
-s max-chars
Use at most max-chars characters per command line, including the
command and initial-arguments and the terminating nulls at the
ends of the argument strings. The largest allowed value is sys‐
tem-dependent, and is calculated as the argument length limit
for exec, less the size of your environment, less 2048 bytes of
headroom. If this value is more than 128KiB, 128Kib is used as
the default value; otherwise, the default value is the maximum.
1KiB is 1024 bytes.
Somehow in college I was able to get up, walk through my apartment, turn off my alarm, walk all the way back, and crawl back into bed, all without waking up. (Or, at least, without remembering later.)

The solution, for me, has been getting into a routine where I can consistently fall asleep earlier. Much easier to do now that I'm not pulling late nights all the time.
You can't delete the data you gave to facebook, you can make it disappear to the other facebook registered slaves but it will live forever in facebook storage.
Are you saying "do a network capture" isn't desirable? It's not the first thing I would do, but I wouldn't get to Z before taking one.
Wifi enabled Coke dispensers/vending machines.
The iPhone has reportedly been hacked since 2008
Yea. Keep in mind that patio11 is playing in more of the enterprise software space with consulting. http://www.bingocardcreator.com/ has pricing loud and proud.

A LOT of SaaS companies think they're the former when in reality they're the latter.
Loan Monitor Is Accused of Ruthless Tactics on Student Debt
I just use a file in Dropbox. That is devastatingly effective for me - available across devices and offline.
Yes, unless NSA has access to MS's signing keys, which I won't be surprised if they do.
it's more than a trick rather than a hack...
It's a very rough sample with considerable selection bias, of course. But it's the kind of data that's (essentially) never reported in a centralized way and on a global scale, otherwise.
Only 2-4 meters wide, and falling into the ocean without (known yet) consequences. But was found practically when it hit us, if it were going to a city it would had no warning, and probably lots of victims.
We were hoping that being able to poke around and see all the rankings and lists of resources in the different categories would give the user a sense for what we're trying to do. And I hear what you're saying - we'll work on changing these conditions - thanks again for the feedback, much appreciated.
Yeah indeed... maybe you should go to bed earlier :D
Just asking to those with more knowledge than me. How is this any different to a RaspberryPi or a Beagle Bone Black?
Nothing gets deleted ever, your account and related data still lives in facebook servers but only accessible to facebook and their commercial partners (also NSA, US government, spy agencies and crackers).
No worries. Love the product!
> Once you've sold customers at lots of different price points, you can never go back and publish pricing, since those customers that are overpaying will be upset.

That seems easily solvable by giving those customers a discount to the price you want to set across the board (which is likely to make them happy), waiting a few months, and then implementing the pricing changes.
I laughed at that line. Here is someone who never scraped a website or run a spider to collect data from the net. It's a magical feeling next day, when you see your data.
Yeah. ITT all sorts of vocations I'm not even remotely qualified for but want to learn anyway.
I'm making it a webapp. If you look at my profile you'll see I do tons of mobile work but I think something like this is better suited to a computer than a phone.
I see your point, and many of my later "hacks" has been improved since my first ten. But it also depends on who's definition we use. Most of my "hacks" includes coding (i.e. hacking) and are meant to increase growth. Are they considered growth hacks then? Or must something be "hacked" for it to be called growth hacking?
Running A Business
>I have to call/email/otherwise contact you when all I want is an estimate so I know if I'm looking at a trivial-dollars-a-year or a reorganize-the-entire-budget-to-pay-for-this product/service.

"If you have to ask, you probably can't afford it."

Seriously though, if you have to contact a salesperson, it's likely that the product is a "reorganize-the-entire-budget-to-pay-for-this product" type of service. Ergo, if that isn't appealing to you, you aren't the target market, and therefore a waste of time to them. This assumes a "smart" approach as nostromo mentions, of course.

I'll add the caveat that I see several "idiot" approaches to this simply because the "talk to our sales rep" approach is the default in many industries, particularly B2B. You can often hear it expressed as "If we publish our prices, our competitors will know them too!". In my industry - insurance - I've seen 6 figure sales consultants involved in week long sales processes that make us $200 in revenue a year. That's not "smart" at all.

There isn't a 'right' approach, but it depends entirely on the product being sold and the target market whose needs are being addressed.
Show HN: Control your 3D printers via Raspberry Pi from the web
3D printers are still in the punchcard era where people are transferring files with SD cards. We set out to build a realtime dashboard for 3D printers on the web.

http://demo.printtopeer.com

Feedback is appreciated!
Thread: Selling on Amazon vs eBay the break down
IMDB actually provides this information without needing to scrape their site. See http://www.imdb.com/interfaces
Vending Machines.

Automated payment processing, machine status, service requests, etc. all need to have some kind of network connection, wired or wireless. I could see Coca-Cola producing the base infrastructure, and allowing machine operators to use it for a small fee.
That's assuming that these documents were given to Appelbaum by Snowden or Poitras:

https://twitter.com/ggreenwald/status/417325532980580353

Reading between the lines of the 30C3 talk, and the fact that none of this is credited to Snowden by Der Spiegel, I'd say there is a chance that another "whistleblower" is out there.
Nice project!

One tip for keeping the cost down - small LCD screens with composite inputs are available very cheaply on ebay (and elsewhere) if you search for rear view camera screens.

I got one for about half the price of similar units on adafruit. The viewing angle is terrible (as is the case on most really cheap screens) but the colour and brightness are great.
Did you miss the bit in the OP where one of the coins has heads on both sides? The coin may or may not be biased, and the results of flipping it give you information about whether or not it is biased.

Explaining the bit you quoted: if you had perfect knowledge of the wind conditions, how hard the person flipped the coin, and so on, you would know precisely which side it would land on. That fact is determined. It's just because you are missing information that there's 50% probability of heads (for an unbiased coin). The probability comes out of your imperfect knowledge, and changes depending on your knowledge: for example, if you have some reason to believe the coin is biased, then you no longer think it's going to land on heads 50% of the time. Since one of the coins is biased, getting a long string of heads is reason to think that the coin they drew and are flipping is the biased coin. This information affects the probability you assign to the coin coming up heads.
Classes as Objects in Python