skysight-inc/HackerNews huggingface dataset:
Another Django -> Phoenix dev here. Currently I miss Django's model field types (UrlField, EmailField, etc) and will probably write them if no one else does soon. I sometimes miss South style migrations when I'm prototyping but doubt there's a good reason to implement them in Phoenix. For building JSON APIs JA Serializer is a quite capable alternative to DRF-JA.

For the Django Admin there's ex_admin which I haven't used yet but it appears to take a bit more work than the Django Admin does.

I haven't felt like virtualenv + pip was too bad for deps and deployment but exrm is already comparable/easier with an even better `mix release` planned for this summer/fall. No uwsgi or gunicorn to configure and even nginx can be skipped.

For the last part of your question: the biggest thing missing from Django was a good way to do websockets. Django has channels now but I doubt they'll work like Phoenix/OTP/Erlang (especially in the concurrency and fault tolerance categories).
If you want to better understand the CRISPR patent dispute, this article lays out the arguments very clearly.
https://www.statnews.com/2016/03/18/crispr-patent-dispute/
>My limited understanding with basketball stats is that they are only somewhat useful

One of the major fallacies surrounding sports analytics is dismissing information that isn't all-encompassing. Not picking on you, but "those stats are no good because they don't capture X!" is a common refrain.

Some data is better than no data.
Because you're still left juggling two batteries and now two chargers, unless you fit a lightning port on the earbuds too. I have decent bt earbuds and the batteries last less than 8 hours, probably because of size. Nothing will piss me off like my earbuds running out of juice and sitting there with a phone that can't play audio until I get to a wall...
Xiaomi's new $455 foldable electric bike
Population of Nonwhites Grows
Combining the rumors of the dropping of the headphone jack with http://www.forbes.com/sites/gordonkelly/2016/06/22/apple-iph... ("And what would help to really turn heads? The fact its chassis is also expected to be ‘all glass’…")

I envision this iPhone:

- 100% glass enclosure out of one piece
- screen everywhere (front, back, left, right, top, bottom)
- no connectors:
- wireless charging
- Bluetooth audio
- waterproof (you would get that for free, once you've figured out
how to close the glass enclosure without frying the electronics
inside it)

Problems abound: I wouldn't know what the utility of the extra screen space would be (yes, you cannot accidentally take the thing out of your pocket with the back side facing you), wonder whether a device that can't be plugged into billions of existing devices would be successful in the market, and don't have the faintest idea how one would go about making one.

However, it is a design I would like to see Apple attempt.

I guess a version where most of the device is display with the bottom of the device a separate part with only a lightning connector, would be doable, or at least not completely out of reach for a company willing and able to spend big on manufacturing technology.

If that is their vision, I can see them wanting to give up the audio jack. Problem, I think, is that many people own expensive headphones and audio systems that require one.
Which is exactly why I said:

> If the problem is in the openness of the decision, then let's open up everything. If the problem is in making data-driven, algorithmic decisions in the first place... I'm not sure that's something I can get behind.
Amex charges higher fees (many of their cards charge the consumer directly, and their merchant fees are higher) and don't charge interest on many cards (charge cards). Their business model is different.
I've been wondering this for years as well. Initially I disliked the idea of monopolies, now I don't care any more. Facebook and Google offer mostly a quality service.
I'd probably use andlabs/ui or lxn/walk.

https://github.com/andlabs/ui
https://github.com/lxn/walk
Don't forget 3D printing. Removing guns is not a possible solution. That argument is null, and anyone who brings it up is not looking to realistically solve any problem, just push political agenda. With that, "gun free zones" need to be eliminated as they are false. There is no such thing as a gun free zone. Period. You cannot argue that point, it is fact.

Also, if the 2nd amendment is repealed or changed in any way, that will effectively be the end of the United States of America. It will fall apart and states will leave the Union. (Which by the way, Texas can legally leave the union any time they want.) Texas, Oklahoma, Arkansas, LA, AR, all would likely be the the first to go, and with it a considerable amount of the US military/resources. Any war following that would assure mutual destruction.
Yes. When I worked at Google, people were very aware that their market position is not a given and could change any time - eg as people are far less locked in to Google than they used to be to Microsoft in the 1990s. Eric Schmidt used to point to an article from the late 1990s saying "the search wars are over - Yahoo won"...

It wouldn't be easy obviously, but it is conceivable that someone comes up with something that is significantly better than Google/ FB, causing people to switch.
Interesting. Looks more polished than mochi[1] and hask[2].

[1] https://github.com/i2y/mochi

[2] https://github.com/billpmurphy/hask
Exactly. Add me, a UX driven person, to your list of 1 who avoids Bluetooth (using latest hardware). I don't want another device to have to charge either.
Hedge Fund Still Wants Its Tax-Avoidance Profits
Not every API needs to hit a database for every call. This is especially true for Elixir/Phoenix because if you don't need your data to be persistent over a server failure, you can just store it in an OTP process/ETS table and keep it in memory.
Is that telemetry data able to determine how much of the battery is being used by just the browser? It would seem difficult to me to distinguish between battery power used by a browser, and say, code compiling in the background while I surf the web.

People who use the Edge browser may do less on their computers while web browsing than people who use chrome?
Ease of setup, I think. Almost every web server in existence can run PHP.
Just to be clear: reference counting isn't a garbage collection strategy. It is, however, an automatic memory management strategy.
Only the right hand though?
Intel Unleashes Xeon Phi Standalone Processors to Fuel AI and Machine Learning
Discussed last week: https://news.ycombinator.com/item?id=11927447
Physical items are not destructive, people are. That's where you have it all wrong. Gang members will kill other gang members by any means, they don't need guns. Guns, knives, bombs, they don't kill people, people kill people.
Answered rattray's question.

I think Django is showing its age, but not in a bad way, in a mature way. I truly admire the way Django and its core team have matured. They have been role-models for me for years and still are.

Django's momentum is only getting greater. Mozilla has been dumping money into it recently, and important projects like Django REST Framework are getting funded as well. Django is level-headed and forward-facing. I can't emphasize the importance of those two characteristics enough. Look no further than projects like Andrew Godwin's django-channels for evidence. I think starting a new project in Django absolutely sets you up for success.

That being said, Phoenix is terrific so far. It's fast, fun, and the Erlang/OTP concurrency story is really exciting! I'm lucky to be at a place where I can take a few months to really explore it; and I'm loving it! I will choose Phoenix for my future projects, but not because Django is losing any steam.
I've used https://github.com/lxn/walk to make some simple Win GUI apps. It was a couple years ago. Very easy to use.
I spent two years trying to innovate on Magento, because it was the platform before I got there and rebasing seemed like overkill, and it almost broke me as an engineer.

My experience (and I'm not even going to complain about the XML!):

The code base is horrifying; we would often trace bugs through the stack, realize they were in magento core files, then face really difficult decisions about furthering our fork.

The code is deeply integrated from UI to DB. If you change it, upgrades won't apply cleanly. But you need to change it (or the data structures/applications therein) to implement any non-core features.

Speaking of upgrades, they are mostly done by opaque and undocumented upgrade scripts, and tend to break plugins or addons...

Which are generally poorly written and untested, even highly rated ones in their web store, but their quality isn't even the biggest problem. The absence of a sane extensibility model means they virtually can't coexist consistently, and when they do they break on (or need rigorous requesting due to) upgrades...

The EAV table layout wouldn't be totally horrible if it weren't so badly implementated. They put everything, even system data, in EAV tables; not only did this make it hard to extend, but it put a huge load on the (outdated) ORM.

Performance was an exercise in caching like no system I've seen before, entirely due to this design choice. The downside of that is that server restarts under load could cause a full system panic as new web hosts put an unbearable load on the DB, which could throw off other web hosts when their ORMs blew up by timing out all their pooled DB threads, which started a cascade through the rest of the system.

It was possible to deploy a single cache shared by all your Magento servers, but even stock Magento would pepper that cache with dozens of serialized queries to serve a single page, making the network overhead barely worth it. Plus, this meant you couldn't clear the cache under load or you'd be down for an hour, and clearing the cache was a daily necessity because their tagging system to rebuild the cache incrementally was horribly broken. (Only barely worked using Redis, which was both recommended by Magento and provided by a 3rd party unmaintained driver and officially unsupported.)

We ended up reimplementing all our e-commerce properties on a custom node platform by assembling high-quality atomic tools for the important bits. The technical debt of the transition was paid off in 3-6 months on our feature schedule and has paid dividends since, and we easily handle double the load on ~10% the infrastructure spend.
The Tesla shareholders still have to approve it.
Would that change with Bluetooth 5, coming this fall?
I'm not one to usually complain about downvotes, but this is ridiculous. The HN hivemind at its most absurd.

This person is literally working in the research sector involved, giving their opinion (it's not a nice opinion, but it is presumably informed), and getting downvoted because the HN crowd doesn't like it.

EDIT: At the time I wrote this comment the parent comment and the root comment were both far into the negatives with downvotes.
It's early days yet, but one advantage of having the same language on the client and the server is that you get a lot of benefit in code and team sharing.
TIL! So... the ignitors inside the engines were... electronic? Chemical?
Interesting.

Google built it because it's pretty necessary to scale to the size application we build.

It looks like Apple started using it just because it's faster anyway ;)
Failed restaurant?
When it's just one though, they stand out and good management can spot them before a crisis (usually). The issue arises when you have a sea of disgruntlement, and you have to pick out the one or two who are pathological.
That is a nonsense argument. By that logic we should let arms dealers sell individuals tanks, missiles, nuclear weapons. Why not? The objects themselves aren't destructive afterall!

The reason is because their POTENTIAL is FAR more destructive and you cannot leave their use up to the whims of an individual with no oversight. That is why we don't! We draw the line somewhere already. So to pretend we don't and that it's all fair game and it's all peoples' fault so it doesn't matter anyway... that's just naive.
Why I must use Free Software – and why I tell others to do so
I think Google and Facebook will face the same enemy that Microsoft faced back in the 1990s - the nameless and faceless, Open Source!

Maybe, if FOSS can build a self-syncing co-operating network spanning multiple nodes across the globe, they can solve the infrastructure/data-storage problem (we already have two precedents here, namely Bitcoin and Bittorrent networks).

Finally, if FOSS can also convince a good proportion of masses to crowdsource their efforts, they would have solved the data acquisition problem too!
Population growth levels of as people get richer. If China or India get their global population will level of dramatically.

Yes consumtion is still growing but the alternatives are there and could easly be scaled up. Sure price of energy would increase somewhat and that might lead to a small stagnation in living standerds. Nothing to worrying.

Food production can also be scaled, their is tons of potential land, changes in mode of production and thats even before we get into the more extrem options.

Such a small part of the global economy is food production, and I see very little reason why it cpuld not triple without living standerds going down. Even if the go down, because of general development, they should still rise on avg.
Some good quotes:

> In reality the semantics of this arrangement frees companies from any social responsibility.

> The app also makes service requests for users casual, fun, and — crucially — impersonal. When a customer reviews the service they have been given, the real life implications of that action are far from their mind.

This is kind of the original sin of all "sharing economy" businesses: they help people abstract away the sometimes-unpleasant problem of treating service providers like human beings, in exchange for "sharing" (read: extracting) wealth from local communities.
Yes, and there are many ways to achieve the goal. Some of them are listed in "pandemicsyn" comment. I still think, that the plans, especially with clustering side should have been announced earlier, instead of starting it as an open source, attracting audience, then dropping and creating just enterprise version.
Limiting the test to features built into the browser is pointless and doesn't represent real usage. People who turn on the Opera ad-blocker will install an ad-blocker in Chrome, Edge, or Firefox.
By selling at $20, they would have picked up another $50 million.

Probably, GS and JPM got a lot it instead.
Let me quote myself: https://news.ycombinator.com/item?id=11957648

> I think she honestly believes she can survive and nothing will come of it. She is probably right.

Stop projecting on people what will disappoint us.
Oh, I totally missed the part where Opera has the ad blocker turned on by default. Ignore my rambling then; my sleepy brain thought he was talking about two browsers that both had different ad blockers installed.
They're both bad faith registrations, "understandable" doesn't enter into it.
Yes. Real estate is surprisingly expensive up and down most of the coastal band from La Jolla to Mendocino.

Even in lower density places like Encinitas, Carlsbad, Buellton, San Luis Obispo, Paso Robles, Half Moon Bay ... Sebastopol.
Exactly. If someone doesn't want to get their product out to customers, it's a shame they don't have a product they believe in.
Volkswagen to Pay Over $10B in Emissions Settlement
How to share collaboratively
It seems likely, assuming a couple of decades before you're "succumbing".
“But I'm a commercial developer / a government employee”
I do some analytical work for a high school football team as well as play a good amount of fantasy football. What would be a good first step to actually making money on fantasy football?
It does! (Or it used to.) The global configs defined the cache-specific configs.

edit: Which defined the page-specific caching configs. It's XML all the way down.
Why share / why collaborate?
Btw, it is totally legal to buy a tank

http://www.guns.com/2015/08/25/want-to-buy-a-tank/
Adapters and Makers
Promoting Gender Parity Online
I don't own expensive headphones, I own cheap ones - and I very badly want to keep things that way. I'm fine buying a $10 replacement pair of earbuds every time I snag my current ones on something, but I would be pissed if I had to buy a $40 replacement pair.
Those bastards. I tried emailing sales@comodo.com but their mailing server falsely bounced my message saying there was a virus attached (I use anti-virus on my mail server.)

I called them and told their tech support guy about their broken mail server, and told him to check out letsencrypt.org and see how his company is trying to infringe on trademarks to bully their open-source competition, and that he should find a better employer.
It's troubling that an ostensibly security-oriented company would seek to muddy the waters like this and reduce the reliability and integrity of the marketplace.
Much to my chagrin, modern games don't focus on high frame rates. 30 fps is the new standard, 60 fps if you're lucky, most PC ports of console games are locked to 30/60hz and require physics-borking hacks to lift the limit, and even the games that do support arbitrary framerates tend to have a target FPS designed into them, such that even a monster PC with all of the graphics settings turned down will frequently choke.
Client or wrapper.
Descent and Descent II is why I owned a flightstick.

Ahh, multiplayer was so much fun.
Usually prices increase and we dont use it all up because you can find cheaper alternatives. For the critical stuff you would still have some left.

Interestingly, some renewable resources like whales are far easier to "finish" then the traditional onse.

Or is their some specific thing about helium that im not seeing? We should really have some helium left for space flight.
>The fact that the homicide rate is lower than it was doesn't mean it's at an acceptable level. Now I don't know whether or not gun control is the solution, but the issue needs to be discussed and not dismissed because with "because history".

Banning guns has had next-to-zero influence on the overall homicide rate of the U.K or Australia post-handgun bans/buybacks. [0] [1] [2] People continue to kill other people using other methods. Homicides with firearms goes down, homicides in general remains more or less the same, with the same downward trend that has been happening in all developed nations since the early 2000's/late 1990's.

IMO, America has a mental health problem. Nobody seeks help because help likely means loss of job/income which is disastrous for most everyone. I think there are other contributing factors (income inequality, mainstream/mass media fanning the flames for racial tensions, increasing distrust of the police) but none as large as mental health.

[0] http://i.imgur.com/HZ15hNX.png - Australia

[1] http://i.imgur.com/VxQ0fUN.png - England/Wales

[2] http://i.imgur.com/yabFAFf.png - U.K
I prefer my seasons on a annual cycle to a daily cycle :)

Weather preferences aside, an entry-level SV salary could buy a pretty great quality of life in Toronto vs. comfortably scraping by in the valley.
Its pretty simple. AirBnB is a broker that provides a service to connect two people. Hotels are businesses that are licensed to provide lodging. They are regulated to provide the service. Their is a reason that cities have so much regulation on hotels. Just as they do restaurants.

AirBnB does not provide lodging which is the cause of a lot of problems.
Jscodeshift is remarkably easy to write scripts for. It is why I'm very comfortable using all kinds of experimental babel plugins: If somehow the proposed standard changes or just never makes it and I want the code to be es6 compliant (or, say, move it over to a different compiler), then I know that for most cases I can easily write a codemod that makes the changes in our codebase.

Nice examples are stuff like decorators or the :: bind operator.
This is a really great perspective I'd never considered before.

My first thought at the headline is that the right to carry guns is a crucial part of American heritage. It's wrapped up tightly with our rebellion against the evil british empire.

Interesting factoid, in 1775 the brits sent a trio of generals to America to confiscate the colonists' guns. One of those generals was named Henry Clinton.
I feel i must ask, define "in control"?

It feels like people here talk about control and skill as some kind of Neo like ability to dodge bullets.

This rather than the tactical control of deciding when to engage, withdraw or anything like that.
I think it's great that there continues to be a stream of "Watson partners with X" or "Watson is used for X" articles, but in actual usage, it feels like Google is winning the ML race. I feel like corporations are using Watson for easy PR wins. Is that just me living in my own development bubble?
Worth noting that Magento 2 is rewrite that actually uses some proper engineering practices.

No idea how good it is but version 1 was horrifying.

The fact their github has 1274 open issues and 179 open pull request at the time of writing suggest maybe nothing has changed: https://github.com/magento/magento2
Amazon's Seattle Expansion Inspires Children's Book About a Monster
You're just making life difficult for people by arguing stupidly obvious specifics
http://www.sfgate.com/art/article/Scott-Adams-Dilbert-creato...

He's failed at a lot of things. But yes, he went into business with an experienced restauranteur and opened a couple of restaurants. Then as they started to dip, he tried to "dilbertize" them which naturally did not work.

Beyond that, he's just a sexist, narcissistic, asshole

http://comicsalliance.com/scott-adam-sexist-mens-rights/

Nobody should listen to anything he says.
I'm with you on this. I would rather have schools spend more time on problem solving and critical thinking, and less on memorizing facts that can be looked up later.

The major obstacle is that it is much more difficult to teach thinking than it is to teach facts. So it's harder to find, train, support, and retain teachers who can do that well.

"Common Core" math (the stuff you might see mocked on Facebook) is trying to move toward teaching kids how to think mathematically, rather than memorizing equations and formats. But it's hard going (again, see the mockery on Facebook), and may not actually the right direction.
Firearms aren't a matter of public health. Violence might be, but not firearms. It's an inappropriate use of the CDC to have them study firearms. They study bacteria and viruses and such. Not machinery. Not the misuse of machinery.

Mis-using government agencies to do something they weren't created to do is one of the ways our budget gets screwed up.
Star Trek Fan Film Guidelines Announced
I loved Blacksburg. But due to my rebellious, student nature I told the Montgomery county sheriff I'd never come back to that place. I'd hate to have to break a promise.
Tiger attack lion
You Can Actually Hear the Climate Changing
I wasn't being totally serious there.
It may be the case, but usage of many of these characters is rarer than 囍. Looking through many of the characters in the cjk Unicode extensions it is not hard to conclude that characters like 福倒 should exist. E.g. 2010f and 20114 which look like 了 and 予 upside down. Or 255d0 which is 石磊 joined together.
What about the CAR-T therapy that has work pretty well against blood cancers (ALL and CLL if I remember correctly)? Seems there were a handful of remissions in patients who had failed everything else.

What makes this approach so destine to fail? It's an honest question as I'm not as familiar with the details.
That's an awful lot of effort to go to to avoid naming a function.
"so long as the gun on the tank has been permanently rendered inoperable."

Yeah, not really what I meant. But kinda cool!