skysight-inc/HackerNews huggingface dataset:
Man, I never understood the love for py.test.

People say "it's Pythonic, you just use asserts", but asserts aren't Pythonic. For one, asserts are removed when you run Python with "-O", so, uh, good luck running your test suite in that configuration. Secondly, crawling up the stack to inspect the bytecode to figure out what condition was actually asserted so you can print a nice error... that's the opposite of Pythonic.

Sure, the unittest module in the standard library is a bit Java-ish, but it's much less magic, and I feel like keeping per-test state in a class that gets instantiated multiple times is more Pythonic than having everything be top-level functions.

And of course unittest is in the standard library, which means that most apps and libraries are going to use it, most people are going to be familiar with it, so your app or library will be more approachable to co-workers and/or contributors if it's tested the same way. Heck, a lot of Python frameworks have their own test helpers built on top of unittest (hello, Twisted and Django!) so you don't get to choose anyway.

You could write Python code with three-tab indents, but you should use 4-spaces like everybody else. You could write your own custom packaging and dependency management system, but you should use setuptools like everybody else. You could any number of custom test harnesses, but you should use unittest like everybody else.
The colored map is informative - color reflects percent of archaic genes inherited by modern populations. But the placement of the colored dots looks suspiciously like a heatmap. I know the data is sparse. But maybe there'd be a better way to represent it.
Sure, but if the linguistics department wrote a response which spent half a page explaining why the app didn't actually interpret French very well and might have benefited from a native speaker on the team and devoted considerably more space to attacking the creators' motivation with specious drivel about how it was "cultural appropriation" to take their language "without permission", I'd think they were the ones displaying the arrogant colonialist mentality.
> "in my lifetime" or "in the next few decades"

is actually quite optimistic. You've put a definite timeframe on something extremely nebulous. I actually think the HN group-think plurality is quite more optimistic than that (next 10 years), however.
Kinda. But much as I've appreciated it, for 30+ years now, SMTP is old and in the way.

Something secure, flexible, workable, and open needs to replace it.
Claiming that matrix needs 5-10 years to be 'usable' seemed to be unnecessarily and unproductively negative, hence my objection to badmouthing when we could instead be working together productively :) The last thing decentralised comms needs is in-fighting.

I think the root of the contention here is that you don't seem to understand what Matrix does - this is probably my fault for failing to explain it better to you in person at FOSDEM. It is not a pointer to a stream of messages. The whole point is to store arbitrary data (e.g. room history and state) as a directed acyclic graph shared over all the participating servers. It's a big distributed datastructure with eventual consistency semantics which happens to be usable for chat. Or any other kind of real-time requirements.

If you wanted to compare it to a XEP, then FMUC would be a better comparison than MAM subscriptions. And yes, you're right that one could have built it on top of the XEP stack of standards, just like FMUC did. We could also have layered it on top of IRC. Or IMAP. Or NNTP. Or ZMQ. Or MSRP. Or Psyc etc.

Instead, we chose to layer on HTTP in order to keep it as simple as possible - we simply don't need most of the abstractions that XMPP provides. And we believe it's easier for a protocol to get traction if it has a single monolithic spec which defines feature compatibility profiles for interop than if it's a huge collection of optional extensions.

In the end, these are both subjective opinions, but I see no harm in there being two different philosophies out there for solving the problem of interoperable communication. Especially as it's not a competition, given both can 'win' by bridging together.
Each project may have a different versioning scheme and that's just fine. Not everyone follows "semver" (although it sounds sensible to me).
Zeek+Ponzi+Scam+Update:+Payza+VictoriaBank+facilitating+fraud+$13M+stolen
You're comparing apples to oranges here. Flask is a server-side framework and doesn't care one whit about what you put on top - it just serves up requests.
Of course, this deals with a specific zoom, which misses the point of a digital map: you want detail, you zoom in. "Overview map has fewer cities" is not necessarily a bad thing (as opposed to the other change: "roads, roads everywhere" just clutters the map).
That's interesting to hear. The Vive has some unique features that make it sound really cool too. What about screen-door effect? Texts in EliteDangerous weren't readable at all. I'm planning on getting a gtx 1070 once they are out for some sweet sweet 1440p gaming, the 670 served me well but just doesn't cut it anymore for anything higher than 1080p.
If the alternative is for the dog to poo in your flat...
> So probably you're experiencing being a bit more female in your hormone levels.

This is a little loaded..
Flask would be more comparable to RoR than to Angular, since it is principally for backend work. (You can do server-side-rendered front-end stuff with it, with templates, but I choose not to -- currently working with Flask for my backend API, React for frontend).

There are two main features of Flask for me, over something like RoR: it's Python (my preference over Ruby); and it's a very light framework with a ton of modules, compared to my perception that RoR is pretty big and heavy and opinionated.

YMV, I only do this stuff in my evenings so I'm not terribly familiar with it all.
For the GM website, maybe. For an embedded map on a different page, no.
This is nice to see. I don't use anything but http://bottlepy.org these days because I find the decorator approach to be more elegant, but I do have a few Flask-based tools I adopted, and (for instance) patching them to serialize datetimes was a pain.
The last thing we need is more precedent for government agents entitling themselves to people's private property. You might as well be demanding that every programmer give the government a copy of their source code, in case you die or your company goes bankrupt and people get curious about what you were working on.
> vestibular stimulation

Whoa! I have been kind of watching the whole VR thing from the sidelines, and I didn't expect this to be even anything somebody was even thinking about.

Thanks for the hint! Are there any specific projects that you'd think are worth mentioning here ?
I saw that recently, expecting something very sad, based on what people told me.

I wasn't all that upset with it though. The deaths weren't that traumatic..
“the best way to share a talk...re-write it as a blog post”
But what if the ancient romans had GNUed code, and you discovered it 1000 years later, and kept it to yourself?

Governments already demand that you give up your intellectual property after a number of years, yet the same concept hasn't been applied to physical property yet.
This was supposed to be 1.0 but with such a long time leading up to it i figured it's safer to wait a release to ensure nothing major regressed.
What you are describing are so called "edge" servers, and this is indeed a technique for content distribution, but it relies on partnerships with willing ISP. You essentially set up connection "peering" with the ISP, in which you bypass expensive internet uplinks.

However, I can also imagine that quite a non-neglectible proportion of Youtube/Netflix traffic cannot be retrieved from such a cache.
No: https://github.com/mitsuhiko
I built my own little system yesterday that use no electricity.

An upsidedown 2L bottle sits above a reservoir and if the water gets too low it glubs out some more water. Air gets in, water comes out, now more air can't get in because the reservoir water is too high.

A set of aquarium tubes keeps the water level even between the reservoir and each plant. The plants are all in double planters, with water in the bottom one. Clothes strips wick the water up throughout the soil in the top planters, keeping the soil constantly moist.

It's been less than a day, so we'll see how it goes but the whole thing was cheap and simple.
I get that legs require more sophisticated control software and that those sorts of control policies have get to be perfected.

But aside from that is there any reason that wheels are more appropriate than legs for a household servant robot?
...and Bob Arctor.
https://filmfork-cdn.s3.amazonaws.com/content/scramble.gif
تحميل برنامج ترجمة جوجل Google Translate بدون نت ترجمة قوقل الفورية
I used to do flight simulation with a head tracker to control the virtual cockpit perspective. Hardly any mass added over regular headphones, but it was a world of a difference between holding my head in whatever position that felt comfortable to see the screen and holding it in exactly the right angle to point the camera to where I wanted. It's fun and a great improvement over manually controlling the camera, but also surprisingly exhausting.
I don't know what fraction of the improvements concern modern computing architecture, but probably we all agree that there have been improvements that make it suck less in practice. I thought I was replying to the person who said that "most non-unix oses simply suck, too, and usually more." My point is that the comparison is somewhat unfair.
The reason many people don't think there is a better way is because this case involves two opposing forces of the same principle, free speech.

On one hand, media outlets should ideally feel un-intimidated in publishing stories. On the other hand, people should be allowed to support causes with money. Both are widely considered in America to fall under freedom of speech. So it's balancing act. There is no optimal solution, there are only tradeoffs.

This is also ignoring the facts that are highly favorable to Thiel's case: what Gawker did really was illegal and reprehensible, and also let us ignore the fact that Peter Thiel really did not bury Gawker under a mountain of legal fees - the verdict is what did Gawker in, not the legal fees which I'm sure are less than $10 million (Gawker can afford that)
Sort of modern version of Amish community. Self-sustaining communities were tried many times, for example during Cultural Revolution in China. It was always highly inefficient.

> Any household waste that can be composted will feed livestock ... Seasonal gardens will be fertilized by waste from the livestock.

This is actually illegal in EU. Livestock feces might contain prions, diseases and other nasty stuff. The same applies to human waste.
For someone that isn't from San Francisco, I feel like I have an excessively intimate understanding of the interior details of the San Bruno station. Timed transfers? What are those?
There are sites that do this. For example, Tsu did this as a social network. Digitalpoint was a forum that used to do stuff like this with ad revenue sharing, and other forums installed the add on for it too.

The problem is twofold:

1. If you're massively successful, then revenue sharing creates huge incentives for spam. Hence you often get people posting links to their content all over the place (especially on rival sites), at which point your brand gets seen as sleazy and your domain often added to a lot of blocklists. You also get a lot of low quality users signing up to post junk in the hope x amount of people click their ads or affiliate links. Digitalpoint got flooded with one liners and gibberish from people in poorer countries and ended up losing most of its more respected users in the process.

2. Revenue sharing often breaks down to a very, very limited amount of money for anyone using the site. Social networks and forums are not the best for ad clickthrough rates or affiliate links, This varies based on how exactly the users are paid (per discussion, per post, per video/image, etc), but it generally isn't enough for anyone to live on unless either got really low expenses or the site itself is ridiculously massive. That's why new sites don't do it.
BJ Novak: li.st -– not for groceries
Yeah, I don't actually make deep use of pytest functionality. The whole thing used to be runnable without pytest for ease of use (with a __main__ block finding and running all test() functions).

I should definitely use fixtures - been meaning to! It's why I love pytest, you don't need to go deep into it to make a high quality test suite.
> For one, asserts are removed when you run Python with "-O", so, uh, good luck running your test suite in that configuration

Which is not something anyone has ever wanted.

> Sure, the unittest module in the standard library is a bit Java-ish, but it's much less magic, and I feel like keeping per-test state in a class that gets instantiated multiple times is more Pythonic than having everything be top-level functions.

It's really really unpythonic. It looks horrible and leads to messy tests. With pytest you get dependency injection via fixtures which cuts down on so much repetitive initialisation code.

We've got both kinds of tests in our codebase, and the pytest ones are a lot nicer to write and refactor.
Let's not ignore that Gawker had top lawyers too. Remember, it's really the $140 million verdict that's going to kill Gawker. Not the legal fees which I'm sure are well under $10 million (and Hogan - maybe Thiel? - would be on the hook for if he lost)
What criteria do you use to determine if a property should be on a label?

Simple, if a substantial fraction of the consumers cares about it.

Should foods with homosexuals or muslims involved in production also get a warning label? If not, why not? Or do you believe every random bias of consumers is something that every possible producer must account for?

People already avoid products from specific companies, countries and whatnot because they disapprove their ethics, labor conditions and so on. If people cared about the race or religion of the people producing the products they buy, then it should be on the label. I would actually almost bet there were products advertising that they were produced by white Americans only or something similar. That it was never a mandatory labeling probably just means that people never cared enough about it, not that it is something totally unimaginable.

If this is really the only argument against GMO labeling, that it would be kind of a random addition amongst many other possible addition to the labels, that seems a pretty weak argument.
Sinatra has always seemed more like the ruby equivalent of Flask, but I only have a small (and by now, dated) experience of ruby web dev
That's actually explained in the article. Plus it's an air pump...
How Genius.com annotations undermined web security
It will work, it just won't catch on because people don't want to wear shit on their face all day and look like a moron talking to beings 90% of the population can't see. It's just a toy for gamers and developers right now. No telling when the general population will start using VR regularly but probably not until the devices start to look like a regular pair of glasses.
I do, first in Labs and now in Cloud Foundry.

On the Labs side lots of our clients are still committed to Jenkins, so improvements like these are very welcome.
Switch to use Bottle for rest API as Flask has dependencies such as Jinja2 that I don't need.
EduLevel needs your VOTE
Given that the HotSpot compilers are not Graal and HotSpot's scalar replacement optimisation is notoriously fragile, I think the original statement was fair. Once Java 9 rolls around and Graal is just a plugin instead of a whole separate VM build, it'll be less fair, and if Graal ever becomes the default compiler that replaces C2 then it'll be even more fair, but I guess that is years away at best.

The biggest constraint by far is the reliance on inlining. Inter-procedural escape analysis could potentially remove the need for value types in many places, but it doesn't seem like the JVM engineers believe that's feasible.
Upwork freelancers and employers clamor anew for a new platform
That makes more sense, thanks.

Re sharing contacts by replacing User@Domain with numbers:

Yes, this solves some of it because everyone agreed to use phone numbers, but phone numbers are a thing of the past and you don't always want to share your phone number just for messaging.

Re notification overhead:

If you have a system-wide notification display system, then of course the resources it requires are limited but you still have to have it running in the background in some form. Granted, it's probably easier to optimize it with everyone using the same notification system. This is just consolidation of a popular feature into system-provided functionality.

Re lockin:

But lockin still exists because you are the whim of centrally managed for-profit messaging backends, operated by entities whose intentions may not necessarily align with yours.

I'm not aware of cross-app synchronization of messages and even less so a common message format (feature) set supported by all that provides a rich experience.

I don't disagree with the cited shortcomings of XMPP, though you can always find a flaw in something which wasn't explicitly designed for the current use case, so ignoring that, the basic premise of XMPP is still sound and needed. Implementation details are something else, and honestly I don't agree that replacing XML with JSON (as in some of the proposals) gains anything in terms of efficiency, which it probably wasn't intended to anyway.

My impression is that building a messaging system is simple enough that many variants pop pup, but almost all of them get interoperability, synchronization, mobility, and security wrong. It's unsurprising because the simplicity attracts implementers of all domain experience levels.
As the only purpose? Isn't it a little bit more likely that they want to check the same person is using the same passport?
Hypothesis isn't a testing framework, it generates data for your testing framework to test. I use it with unittest and love it. I'm sure it can run equally easily with py.test.
Sideproject.xyz – Find collaborators or join side projects
Japanese style health masks
Hard to tell whether this is serious or not. What field is this describing? Scientific papers? Random idiots just posting on websites? If the idea is to challenge it everywhere you're setting yourself up to being that person who never sleeps because "someone is wrong on the internet".
Why Fish Oil Is Essential – Top 6 Health Benefits and Myths
Not sure what kind of traffic they get, but httpbin.org uses it. Also this one site named Pinterest.
GOODBYE: THE DECRYPTION PLATFORM
My Ruby developer friend agrees with you, so I think you're accurate.
If the focus distance and convergence distance being mismatched would cause nausea, how comes 3D movies have no such issues (at least for the vas majority of viewers - I haven't head anyone complaining)?

And if the distance disparity would indicate hallucination and trigger vomiting as a defence mechanism agains shrooms, how comes existing FPS games have no such issues?

Some people claimed to have problems playing Mirrors Edge back in 2009, but it seemed like it was mostly the hype and the attention-craving. I myself never felt any issues, and neither did anyone I've talked to.
I think we "outsider" engineers forget (or miss the point on) why amateur radio enjoys the spectrum privileges it does: education, technical investigations, research... things that further the art and community. There's a large contingent of hams just listening.

Encrypted meaningless noise on the air would be a "selfish" waste of spectrum incompatible with the neighbourly spirit espoused by most amateur radio organizations and hams themselves, not to mention damaging to the self-policing they're supposed to do.

I alsl expect it wouldn't be "allowed" to persist as a hobby in its current form in many parts of the world if you added the threat of casual encrypted communications, beyond the reach of CALEA-type intercept capabilities into the mix.
Buying software for money: no problem. But the special interests that it created (MS is a convicted monopolist) were exploited beyond the pale.

Ok. Shame on me. You win. Checkmate.

But you won't fool me twice. No more support for "innovation" and "intellectual property" of any kind.

You can still ask me to pay for it, but you won't have the copyright industry stick to swing at me if I decide I'd rather get it from an unsupported source because your version only comes with digital restrictions.
This application appears to do pretty much what you're suggesting:

https://play.google.com/store/apps/details?id=com.pingapp.ap...

Unfortunately, my colleagues insist upon using Skype instead of email, apart from the few I've persuaded to use Google hangouts instead.
Does anyone know more information or have experience with the bloomberg data source? How expensive is this sort of thing?
He's wrong because he's worked with the tech for decades, but you tried it and didn't get sick? The friendly article notes that only about half of users get sick within a few minutes, although most of the rest do as well within an hour.

1:1 mapping from VR to real life is fine if you're walking around a small room (and not puking all over the place). However, it's not fine if you want to anything that involves a more interesting range of motion: driving, flying, even walking in a straight line for more than a few meters.

> consumer displays and graphics hardware are the state-of-the-art, not military ones

Remember Google Glass, which was all revolutionary and state of the art in 2013? DARPA had these in 1997: https://en.wikipedia.org/wiki/Optical_head-mounted_display#M...
My mother always recommended to use a string, which will soak up the water and lead it to the plant.
Oracle Attorney Says Google's Court Victory Might Kill the GPL (arstechnica.com)
I guess you see a lot of such articles because of comments like yours - lots of people still think Java is generically slow or Java code is always bloated, despite not having used it for 10 years or more. Whilst such views persist, there will be articles arguing they're false based on newer data.

Nobody writes "C is not slow" articles any more, but I remember a time when there were people who believed C++ was inherently slower than C. Maybe some such people still exist! I don't see much talk like that anymore though.

With respect to bloated code, the 1990's and early 2000's also saw things like DCOM and other C++ bloat-zones. It's not really to do with the language. The presence of bloat in enterprise apps is more to do with the lack of competition (bespoke apps are by definition monopolies), the frequent lack of deadline pressure (deadlines are invariably artificial) and the inflexible team sizes (over-engineering is incentivised by the need to retain a nice safe corporate job). The fact that enterprise software and Java go hand in hand speaks more to the lack of competition in the space Java plays in, than anything about the language itself.
Fair enough. My point is only that this is a consensual system at its root.

And when the public votes with there money (the Montgomery bus boycott) and back it up at the ballot box, you could actually effect change.
I wrote my first article about AI
Hi there,

I wrote my first ever article on AI. I would like to know how I can improve it? Should I be more specific.

https://medium.com/@rayin/what-has-artificial-intelligence-taught-me-c06f601194b2#.h6apw2628

I also ask for votes for a project I'm currently working on with a few friends, all it takes is an e-mail address:

https://elevator.jisc.ac.uk/e/startup-projects-2016/idea/unilevel-learning-programming-th

Please leave a comment to let me know what you think :)
Yes, thats one aspect of the perfectionism I was talking about.