skysight-inc/HackerNews huggingface dataset:
It's also compared in the same paragraph to a Louis Vuitton bag and a holiday in the Maldives. If you read these comparisons as "the properties of these products are very similar", perhaps you missed the point?
The Rise and Rise of Python: September Testing Webinar
The Power of Business Processes for Freelancers
you crazy. Try hitting 1000 in the first month and retaining 1k mau 3 months in.
CODE COVERAGE – YOU’RE DOING IT WRONG – PART 1
A case study on FDA from my father, a cardiologist: A recent advancement in replacement heart valves reduces mortality rates from 10% in high risk patients (old and very unhealthy) to 0.9%, from 5% in medium risk patients to 0.4%. This studies were confirmed through clinical trials run by very well respected doctors. Nevertheless, the FDA still required their own set of trials to confirm the safety of the procedure. This was 5 years ago. The FDA first ran a set of trials, not on standard patients but only those that were deemed "inoperable". They spent a few years working that out and found that the device succeeded, but the approval was only given for patients that were inoperable. Then the FDA covered patients that were high risk, spent a few years and found again that the device was hugely beneficial in mortality rates and the device was approved for high risk patients. We are currently in the waiting for the FDA to approve the device for medium risk patients. In the mean time, my father had a medium risk patient who needed a valve replacement. He could not use the new device, so he sent the man to surgery for a standard valve replacement with 5% mortality risk. The man died on the table, becoming part of the 5%, and my father insists that he would have survived if they had been able to use the new procedure. In Germany there are less regulations, and so they have been using the new technique for 5 years with great success. Because of things like this, you'll commonly see medical procedures in Europe that are 5 years ahead of their counterparts in America, all because the FDA insists on using such plodding methods to verify safety.
Counterfeit goods sold in China- what a surprise.

It's like the counterfeit Champagne they have that is too pressurized, and occasionally kills a billionaire when the cork flies into his temple.
Here’s Why That Expert Advice Isn’t Going to Fix Your Meetings
I don't sign 2 year cell phone contracts "1000's of times a day" and when I do sign them I read them because they're really not that long. And if I don't read them and something doesn't work out in my favour I don't pretend it's the phone company's fault.

Consumer protection laws do not remove all responsibility from the consumer to be aware of what they are getting into.
Developer here.

I made this unit testing framework out of frustrations I had (and still have) with other C frameworks like CUnit or Check.

I wanted to make something much more simple, yet as powerful, and I think (and hope) I nailed it pretty much after a few months of work.

If you have any questions or suggestions, feel free to ask :)
Sleepy Puppy – XSS Payload Management for Web Application Security Testing
Hi HN,

I made this, here's some data on SmartSERP.

Conventional Rank Trackers require users to find the keywords manually and add them, which can be a bit dauntin. Since you have to always keep an eye out for new ranking keywords and often than data is hard to find.

That is where SmartSERP comes in, SmartSERP finds keyword a website is ranking for, so that the user can track the ones thats important to you. These new keywords and rankings also gives users an insight to websites potential.

Please let me know, if you have any queries/feedbacks/suggetions. Thanks.
Enjoyed hearing about vi and the other editors, but the last few paragraphs were fun. Joy shares his thoughts on the latest tech of the day, and a little about the future. Good quotes:

"The trouble is that UNIX is not accessible, not transparent in the way that Interleaf is, where you sit down and start poking around in the menu and explore the whole system. Someone I know sat down with a Macintosh and a Lisa and was disappointed because, in a half hour, he explored the whole system and there wasn't as much as he thought. That's true, but the point is in half an hour, almost without a manual you can know which button to push and you can find nearly everything. Things don't get lost. I think that's the key."

"When can that stuff go portable? You don't really want to have a telephone in the office or be tied to an office. You'd like to have the office with you and the phone with you. I want to be able to turn the phone off, thank you. I think that's going to require very different technology."

"I don't think you need to have a disk with you. There are so many people who believe that you need to have a disk that you'll be able to have one because they'll make it cheap."
I′m Broke, How Can I Afford
soooo, no words spent on privacy? this is akin to paying someone to build a fence and gate for you, and then making sure they have a copy of the key at all times, and never asking them what they do with it... rhetorical question here, is it common practice prefer Internet servers which look cool and cost a ton and are managed by Google, and not discussing privacy issues? the consumer is being transformed into a marionette, and the issue isn't even mentioned in this article. beyond frustrating that it has come to this.
I've been searching for something similar I saw years ago. It was a python library that would remove "heretical" code or something like that. Any error would be "eradicated".

It was funny! There was a religious or medieval theme or something. I can never find it...
An Elegant Abandoned Cart Email Using NServiceBus
In the US there have been recent papers discussing how roughly 10% of the medicare budget goes to people who live less than a year, with the implication that perhaps we shouldn't be spending so much on people with so little time.

It is a well established fact by the CBO (Congressional Budget Office) that roughly 10% of the medicare budget is wasted on fraudulent claims (even though their rejection claim rate is roughly 1000 times that of most private insurance).

So there are some cases where the status quo is untenable, fraud is blatantly obvious, and people could die untreated do to a lack or resources.

Yes, fraud and corruption should always make the headlines and should always be a priority to eradicate.

[EDIT for typo of medicaid instead of medicare]
But this tool is not meant to be used. You should never have to write
"import someReallyOffensiveModuleName" because those are jokes not meant to be used at work.
Hosting on GCE costs about $1700/month right now, and at this moment we have $490/month in recurring revenue (we have 56 subscribers to various plans). I've put much work into making SMC more efficient, in order to bring the hosting price down, but there are limits. The reason it costs this much are: (1) there are often about 500 users signed in, every user is using at least one Linux account, and what users do is often very computationally and memory intensive (mathematics, number crunching, etc.), (2) I snapshot and backup all files both to Google Cloud Storage and also copy backups offsite. Doing offsite backups mainly costs bandwidth -- I spent about $20 in the last 3 days on downloading offsite backups of user data (to a USB drive on my desk). (3) In addition to compute nodes, there are database and web servers, which are redundant so that two can go down and things still work; this is very important since teachers often give lectures from SageMathCloud or run computers labs, so downtime is very bad. (4) I also snapshot all the disks images regular, which costs more, but reduces the chances of data loss. I care that users don't lose their data in case of a disaster (hackers or lightning striking Google four times), which just makes things cost more.
I don't think it is literally actual keystrokes that are being sent to MS.
One idea I've always liked for solving the "unlimited" problem and complaints about overage charges is to provide fixed data transfer but do exponential throttling: the first X GB are unthrottled, the next X GB throttled to half the advertised bandwidth, then quarter, 1/8, 1/16, ... so customers can never go over the limit despite how hard they try, but they can still try to use as much as they want.

Another alternative would be constant, but very low-bandwidth, "unlimited" plans.
I've always taken it to mean "unlimited within reason". 2TB of transfer in a month over an LTE connection is obvious abuse from my perspective.
Just hitcount doesn't seem to be a great measure of quality. What I think would be more interesting would take into consideration time spent on page. That could really help kill clickbait that has nothing to do with the actual content.

For example, if I could find where people are spending more than 2-3 minutes on a page, those are probably much more valuable reads than just hits.
In 2009 during my Masters I was taking a course in elliptic curves and I was having a tough time getting to grips with them. I discovered Sage and was suddenly (after an eight-hour compile time!) able to easily create and manipulate these objects in an interactive environment. It was mind-blowing! I ended up doing quite well in that module and I'd say that's largely due to William Stein's work.

I'm no longer in academia and haven't used Sage for years but it's great to see how far this project has come. I hope it gets the funding and development it needs.
I'd be surprised if it had the amount of entropy you need. I haven't looked at the source, but javascript in a browser is not a good source of random numbers.
We're looking for feedback on what we're doing. Happy to discuss views on monetization and what works / doesn't work in your experience.
I bet it would be fairly similar to the level of integration offered by Pebble which would mean at least notifications could be received by it. Not 100% sure what Pebble is capable of doing nowadays as I'm stilling waiting for Pebble Time Steel.
> legitimate tool

You and I have different definitions.
That is a very cool idea. Where did you first come across it (even if it's not verified)?
That was precisely my point. :)
Video – Model of Sol's Movement in the Milky Way
Correct. The 23 and Me decision was things working the way that they should.
That took me a few seconds, well played.
Workers in a world of continuous partial employment
Let's say a regulation was passed that didn't allow market orders. Retail investors would feel "safer" b/c they think the government is protecting them. They will then be more inclined to not bother researching the companies they own, etc because, well, the government has got their back. Why not dump all our money into stocks if the government is gonna protect us, right? The problem is that there are a million ways to lose money in investing....chief among them is not spending time to do the research on the companies in which you are invested.

The best protection is to be well-informed of what is going on. Certainly, we can't know everything (such as how our food was prepared, quality of it, etc) but every investor putting money into stocks should know something as basic as a market order vs a limit order....that is NOT too much to ask.
Instead of changing environment variables when $PWD changes, I went the other way: make it obvious when you're in a subshell by strapping $VIRTUAL_ENV onto $PS1. Again, simple shell scripts win[0][1].

I'm still interested in a cross-language approach, but I'm suspicious of anything which requires an explicit import step for rubygems that doesn't involve resolving the dependency tree. Unless Gemfile.lock is involved, it's going to need to copy Bundler's resolution algorithm, which seems fraught.

[0]: https://github.com/regularfry/gemsh
[1]: https://github.com/regularfry/rv
tried it out and got an error saying it doesnt support ES5 getters/setters unless i change the language_in option. is there a way to do this?

even so, there's nothing it can do to bring back eliminated code, meaningfully extract inlined functions and scope everything appropriately to help a reverser understand context. it would still take an immense amount of effort only to get back something very specific.

the only thing you can probably get out of it is some largely mathematical chunks that cannot be restructured much, eg: rgbToHsv.
In my previous life I was maintaining some backend services. One of the most common reasons for a service dying was a typo in a name in some rarely visited code path. I was tempted to write a similar module that would be a little bit smarter: when some identifier (variable, method, etc.) was not found, instead of raising an exception, try to find a similarly named thing and use that instead. I never did find a good way of implementing that.
> soooo, no words spent on privacy?

It's The Verge. Personally I glance their reviews for nice videos and pictures, but that's it.
That's ridiculous. A million refugees a year is a massive burden for a country of any size.

The refugees should be sent to Russia. There is plenty of room there. Or maybe China, since they have so many ghost buildings.

Complain about Mexicans all you want, but you got Tequila + Senioritas + Very similar culture and values. The refugees Europe is getting, not so much. No bueno!
Ask HN: How do I get better at exams?
I need advice on how to perform better in exams.

I've always tested badly, despite being good at the subjects. I struggle to remember things when it comes to the day.

I recently had some important exams, which I did much worse on than I expected. I felt prepared for them, but it turns out I really wasn't.
>if the FDA forced clinical trials to publish 100% of their data rather than only the positive results, we'd have a better medicine producing industry.

I thought this was actually already the case with clinicaltrials.gov and it is apparently having a profound effect: http://www.nature.com/news/registered-clinical-trials-make-p...
HN became my source for tech news. If you find a good site, let me know.
If the goal was to get more developers, I would just go with say.. Rails (or node, or even Java!) and pgsql. Why use all these hipster technologies? But who says it's because of the technology stack you're using? Maybe people are not motivated enough NOT because of the tech stack but because that's how it's supposed to be. That's a big and risky assumption thinking that you'll get more developers if you switch to react/flux/rethinkDB. Also, why is this the top priority when you're seriously considering quitting the project because you have no money? You should be either: 1. out there raising investment; 2. Get more users to use your product so you can raise investment; 3. Actually generate revenue so you don't need investment.
the spec list says it mirrors notifications, and provides rich notifications (i.e. actions on notifications) for a limited set of google apps.

So probably no replying to text messages.
Because really taking advantage of it (enabling advanced compilation options) requires using a fairly specific subset of the language otherwise it will DCE half the project. Integration with "regular" javascript libraries can also be annoying.

ClojureScript uses Closure as an optimisation backend, since the primary cljs compiler is already in java.
A clean interface to tabular data in Python with automatic field type detection
The penchant for solving problems that nobody else has but are potentially massively socially useful is actually the entire reason science jobs are compensated so poorly.

You talk to many scientists (myself included) and they'll tell you they'd do the job for free because of how interesting it can be, provided that they were comfortable otherwise. This is well known by the suits, and so, wages trend in the direction of zero.

The problem appears when people aren't paid enough to fit their definition of comfortable. People in science are highly educated by default, and their definition of comfortable takes that into account. This is why people leave science and don't look back. They can be comfortable doing something else, and it only gets more appealing over time. In your 20s, slumming it is to be expected, but beyond that it starts to get awkward.

A postdocship worth 50-60k only happens after 5 years of school (making 18k-25k) working 12 hour days. Realistically for the social utility of science and the sheer effort and difficulty, science should pay 2-3x as much as it does-- but frankly, our society doesn't value science in the way that it did during the Cold War.
I don't think people are overeating oranges and apples.
Looks to be inspired by fuckit.js:

https://github.com/mattdiamond/fuckitjs

So if you want the same thing but for JS give the above a shot.
Vigil, the eternal morally vigilant programming language:

https://github.com/munificent/vigil
At work you should probably never be using a tool that just ignores errors. Errors are there for a reason, and you should have a very good reason for ignoring them.
A full rails project is just a few KB. All you need to do each time is run "bundle exec rails generate migration AddNameToUsers"

And then follow the migration syntax to modify your schema. Rails will take care if the timesramping, rollbacks (in most cases),etc. You can manage your indexes, primary,etc everything here. You don't need to write any other rails code.

Check this whole directory as a part of your main source repo.

Another commenter pointed out a standalone gem for migrations. That might be OK, but I'd rather use mainline rails in this case.
I'm glad to hear you have a valuable talent that your appreciated for enough to earn deserved slack in your process. I failed math twice in high-school and gave up on it until I returned to school as a medicated adult (15 years later). Now I love math and programming, but without the rote training as a teenager I have to work too hard for it to be a viable career. I solved that by starting a visual analytics consulting/services company - now I get to work very closely to math and coding, but I hire other people to concentrate on the technical details :)

The behavior & personality change (more generally, neuroplasticity) is a very interesting aspect. I have most definitely not stayed the same. Doing anything every day will lead to long-term structural changes in the brain, meditating, making music, playing sports, coding. When we desire those changes we call it expertise. Behavior change was my explicit reason for taking Dexedrine in the first place and I'm happy I have successfully brought about (some) of the desired change. As for unwanted changes, I'm still happily married and my closest friends and family have remained close so I see no evidence of the changes being harmful enough to outweigh the benefits.

Nobody is the same person we were 10 years ago, whether they use drugs or not. On the other hand, I worked in harm reduction and addiction services for 15 years, and I'm not about to deny that issues with addiction and impulse control are very real and dangerous challenges for a subset of amphetamine users. Kudos to you for noticing and addressing the issues your use was leading to, I bet it wasn't easy.

I'll stand with you and say that getting ADD treated with stimulants is very much like lighting a fire. You can generate the energy you need, but you can also get burned. There is no cure all, mileage may very, etc.
Thanks. The primary motivation for creating SageMathCloud is to solve the problem "(after an eight-hour compile time!)" for many people.
That's probably for the best.
If this works well and Google ever bother to build any kind of 'continuity' style features for Android they could have a pretty interesting interop ecosystem potentially by opening that access to all Android devices. I don't imagine Apple want that though.
Mmm yes and no. Germany is the exception in the story, really. Sweden (huge kudos particularly to them), Norway, Denmark and Switzerland are, too, but they're so small that the combination of them isn't very significant.

But say the Netherlands, France, the UK, Ireland, Finland, or down lower the large countries like Spain or Italy, have pretty poor records. I'd say the majority of the EU's populous countries (Germany being the exception, together with small countries, like Norway has 5 million people) aren't ignoring this practice and are very apprehensive about any leniency.
VLDB 2015 and Database Research at Google
Yep, this works well. Not sure if fpm handles native package dependencies too, but that's a very-nice-to-have.
yes! thank you!
Is It Time to Bring Back the Battleships?
I've found the doctrine migrations library to work nicely, if you are already using doctrine as an ORM. In fact, I find the simplicity of using doctrine migrations one the my favorite features of doctrine. I find myself wishing that the other parts of doctrine were as well designed and implemented.

1) It identifies migrations based on the timestamp when the migration was created. This means that it checks for any missing migrations regardless of migration 'order' while still running all needed migrations in order. It also checks for any migrations that have been run on the DB that are not in your current code base and warns you about them.

2) The migrations are simple PHP scripts that run SQL. This means that you can put whatever you want in them, easily edit them, adjust the timestamp, and manage them in your version control of choice.

3) Merging two branches with different migrations is not a problem, as long as the migrations themselves don't conflict (i.e. one changes a table or column name that the other also wants to modify). You will however have to identify the conflicts by testing the migrations together rather than just relying on your merge tool.

I'd have a hard time moving to any other migration tool that didn't offer this level of simplicity. The auto-generation of migrations based on comparing the XML schema and the DB is nice as well, but I could live without it as long as I have the other features.
5 Common Server Setups for Your Web Application
Hadoop vs. Elasticsearch for Advanced Analytics
How important is your tool to your users?

teachers often give lectures from SageMathCloud
or run computers labs

OK, sounds important.

I care that users don't lose their data in case
of a disaster (hackers or lightning striking
Google four times), which just makes things cost
more.

And it sounds like you care. So, how much do you charge for such an important tool?

we have $490/month in recurring revenue (we have
56 subscribers to various plans)

$8.75/month. Try tacking on an extra zero to all of your plans. Or, better yet, tack on an extra zero and ALSO let your customers decide whether or not they care about things like backups.

I don't want to sound like an asshole, but your business is never going to succeed if you keep going down this path. And to be clear: I want to see you succeed.

Here are a few things by patio11 you should go read right now:

http://www.kalzumeus.com/2014/04/03/fantasy-tarsnap/

https://training.kalzumeus.com/newsletters/archive/saas_pric...

http://www.kalzumeus.com/2012/08/13/doubling-saas-revenue/
I would love to have a piano-like instrument again, I just don't want to maintain a real piano anymore. Dating myself, I'd rather have an Ensoniq ASR-88 as the keyboard interface and soft-synths on a computer actually generating the audio.
From the test suite:

def test_context_manager():
with fuckit:
pass

assert 'P' != 'NP' # proof is left as an excercise for the reader
I read this in the paper and was thinking, gee, a light bulb that uses more energy, costs more, and isn't dimmable than the current champ LED bulbs. Does not sound like a winning strategy.
I bet their UML diagrams were magnificent, though.