skysight-inc/HackerNews huggingface dataset:
> Many Vietnam veterans were treated in hospitals with heroin, yet they didn't become addicted.

And many did, I assume. Were there studies that unequivocally showed that the non-addicted had good jobs, stable relationships, and a purpose in life, etc? There are lots of stories of successful college students, etc., who start dabbling in drugs and spiral down despite having all their ducks lined up in a row.

It seems to me that it's just as likely down to genetics. Some people are predisposed to addiction to certain things, and some aren't.

As a dumb anecdote, I smoked briefly after college because my girlfriend did. When I stopped dating her, I stopped smoking. I tend to think that I'm probably not predisposed to nicotine addiction.
Python in my mind has supplanted perl, and ruby seems only to live on for the sake of Rails.
And that won't go away after a year.
So we need to change that. We need to make sure there is a heavy stick being used against those that decide to make these unethical decisions.
Fair point, they won't be perfect for everyone and they may rightly or wrongly ding organizations that people hold in high esteem (e.g. when they displayed the rank incompetence of the Red Cross a few years ago).

I'd argue that funding ProPublica and then funding an outfit who takes a contrary position on whatever issue is important to you is a better solution though. We need more journalism not less.
The Wealth of Nations should be understood as the attempt of someone whose cultural tendencies (from Scotland) were socialist, to explain the wealth of a rabidly free market society (England).

Nobody from inside of England could have written the book - it would be like a fish trying to explain water. But his underlying sympathies emerge in numerous places.
> Cost is a major reason people don't switch to OS X.

Cost is a lot more than the physical machine.

This is why Linux machines while technically less expensive (no OS license) are actually more expensive in terms of support. Until that nut can be cracked it's hard to get wide-scale adoption (e.g. 50% deskops vs. 5%).
Not going to happen in the next 10 years, everything is built around C++. And tbh I don't see what would games benefit from using Rust instead of C++.
So I can install with apt-get in WSL on Windows instead of using the normal Windows installer? Full circle.
Yes, but according to the OED there is an exception. "Octuple" is correct pronounced "ock TOOP lay".

I kid.
I agree with you totally. I bounce between macOS and Windows for development, and I wish they'd take a better approach with dependency management.

I hope that the approach with the VS Mac installer ends up going the way of VS 2017 on Windows. I love the fact that I can choose say ".NET development" in the installer and turn off unneeded packages.
Not sure if this is within the podcast's scope or not:

Editas Medicine (http://www.editasmedicine.com/).

Or people from similar companies. Gene editing startups, essentially.
Just because a side is associated with trial lawyers doesn't say anything about bias to me, one way or the other.

Sometimes they get involved in issues which seems like it would increase undesirable litigation. (of course people have differing opinions of what is undesirable).

But going further, sometimes laws are setup by congress which essentially 'outsources' enforcement to private parties. You can hold a good or bad opinion of the practice, or specific laws which are enacted, but in those areas, cases going to litigation can be the only way that the law is ever enforced.
Per Mike Podwal, PM at Google, the team is entirely focused on the Vive (via Kent Bye's Voices of VR podcast https://player.fm/series/76331/165981404)
MSM gave ample coverage to the most important story of all - Comey's political move on emails a week before election. It was pasted in huge headlines across all mainstream media outlets. And that turned out to be a dud at the end, but the damage was done. So not sure what you are expecting.
Isn't Mithril abandoned since years back? I'd go with Vue instead which is still maintained.
Judge rejects charges against Backpage CEO because of DCMA
Capture 360° living VR photos with PanoMoments. No stitching required
I really think something like this will displace some tourism/sightseeing (at least at the margins). I have done a ton of traveling all over the world and would much prefer a VR experience like this instead of cramming onto an airplane like cattle for hours, getting accused of being a drug lord at every border crossing, dealing with foreigners who seem to hate Americans, etc. Most tourist cities are pretty much the same anyway; a few jam packed attractions, the strip of overpriced fancy tourist trap restaurants, those gift shops you can buy cheap crap with the city's name on it, luxury hotels, adventure charter companies, etc.

Anyway, sorry for the rant but I liken this to going to a football game in the stadium vs. watching at home and I'd much prefer the latter.
"Twin" is the smallest common bed size in the US and is typically used by one person.
Ask HN: Digital Ocean vs. AWS for client hosting
With Digital Ocean, there is less configuration, and I can probably fit a lot of client sites on a single box. I tried out AWS via Free Tier, while I was able to login to the box, it was a little overwhelming. Digital Ocean is much more easier to configure.
We just released Workbooks 1.0 [0]. You can use it on both Windows and Mac, and run your code in a variety of platforms.

Try a Console workbook for something quite similar to (and in some ways more powerful than) the Visual Studio REPL.

Workbooks go beyond the REPL and can include rich content so that they can be saved and shared. But I use it every day for random REPL tasks that I used to use `csharp` for.

[0] https://developer.xamarin.com/releases/interactive/interacti...
I'm not sure if they had help from the camp followers, but the soldiers definitely worked on the fortifications.
Right - DOM diffing is the key selling point of React. But the fine-grained screen updates possible via DOM diffing is not super important for most applications.

Event system is already supported by DOM. React doesn't add anything there. Component lifecycle is also not compelling.
"Too much regulation is obviously stifling to innovation as well."

I don't believe that for a second. Innovation is constantly happening.
I'm not sure where you would've heard the opposite. "Java the ecosystem" has clear advantages over "C# the ecosystem", but I've never heard anyone claim that Java is a better language. Things C# has that Java got years later or not at all include lambdas, LINQ, value types, reified generics, and async/await.
Not according to http://bad.solutions
Sorry I'm not a mental health professional or a physician and had to google "reciditivism" which appears to be a reversion into criminal behavior which is maybe a fancy word for relapse I guess. You are saying that medicine used to treat psychological or behavior deficiencies is of little or no value? Don't you think the shared knowledge of acquaintances is kind of anecdotal? If we are using anecdotes then I would add that I used chantix to quit smoking years ago and never looked back. It flicked an instance switch in my brain that gave me enough distance from that negative behavioral feedback loop to quit for good. Then I quit chantix and never took either again. For me it was (probably literally) a life saver.
I hope you have a lot of fun with it and I'm curiuos of your feedback!

As a customer I very much prefer the pay once model, too, but we really seem to be a minority these days.

We sold about 45 copies of the game so far in almost half a year, but when we made it free for a weekend we immediately got 200 downloads without even advertising.

So let's see what happens with free2play. We are going to make all levels but the first one an in-app purchase and maybe a few characters. There will be no consumable IAPs because I hate them with a passion.

All previous buyers are going to keep the full game btw. Apple makes it surprisingly difficult to implement that, but anything else would just not be right.
> I have a huge horse in this fight

I love this mixed analogy.
From a statistics perspective R is the language to learn.

Python is good for data engineering or pipelining, etc - but R is the best for analysis:

- Rstudio is a much more friendly interface than IPython/Jupyter notebooks

- Python's visualization libraries can't come close to ggplot2

- Python lacks an effective grammar of data manipulation better similar to dplyr or magrittr.

I think HN is more engineering focused, hence increased exposure to Python. At the places I've worked/interviewed for data science, 1 was full Python (though they have a high eng bar for data scientists, and very few data engineers), and the rest had a reasonable split of R and Python. Your SO will be fine either way but might find R more intuitive and better suited to statistics work.
OP here: I'm a back-end dev working on an internal company site. I have used jQuery for the past years for things like simple AJAX and manipulationg dropdowns. Recently I had to build an AJAX heavy part of the page, and got a bit lost in callbacks and DOM manipulations (1500+ lines already). There is no real reason to re-code everything, now it's working, but after seeing all the new shiny frameworks, I started to question my ability to maintain the code of this specific page ("Wouldn't this framework be better and easier to read/debug/extend?"). Still, don't know if one javascript-heavy page is enough to bring a new framework in the project and start over again.
RN iOS apps still need XCode so it seems unlikely again.
There was a comment addressing this on the GitHub's Issues page yesterday: https://github.com/facebook/react/issues/8294#issuecomment-2...
Sweden’s Riksbank eyes digital currency
> If you refactor a method to return a different (incompatible) type, you'll have to touch all affected code parts, possibly revealing uninteded consequences of the change.

If you can refactor your code such that you change the return type of a method such that it returns an object of a different type, which nonetheless implements all of the methods used by clients of your type that accept and return types which in turn accept and return types that line up with the expectations of their clients, etc, etc, without having to look at or touch any of those clients, and end up with something that happily compiles but gives an unexpected result, you need to have a long and hard look at how you're using the language's type system, and why it isn't encoding your assumptions in a sane way.

Your code shouldn't be compatible with a different type unless it makes sense for your code to be compatible with that type. That's what the type system is for.
Fair enough. I'm usually the skeptical of all things person. I'm not sure how positive that is.
React is my only choice for single-page apps, but it's unnecessary for ordinary JS UI widgets on a mostly server-rendered site.

For UI elements that have a lot of internal state, React can remove a ton of complexity. However, the delay between initial page render and the React component rendering itself can sometimes be distracting when those elements are key parts of the UI. This is a solved problem if you're using Node on the server, obviously, but if you're rendering pages with other server-side technology it is a drawback to React. jQuery does not have these issues as it just attaches itself to the server-rendered markup.
Go ahead and consider, but it's an accounting innovation, not a technological one.
It all depends on your needs.

The frameworks you mentioned are not exactly in the same "niche" as jQuery, which encapsulates a friendly way to manipulate DOM, make ajax requests, etc.

However, if maintainability is your focus, write in plain js as much as possible. Frameworks come and go. Code written in ES5 will still work in 5 years from now, while jQuery code may get at least partially deprecated.
That's a good note. I'm now thinking of the podcast as more of a channel than a show. I.e. a place where we can try out multiple episode types.

Re: tactics. Maybe we just choose one particular topic per tactics episode and drill down on relevant strategies?

I guess we can include Qasar ;)
That's a useful concept. Sort of like a free speech hedge, or like buying carbon offsets. Could be gamed, though -- start an extreme paper to pump donations to your centrist paper ;)
Like NPR's car talk?
Announcing SSL Labs Grading Changes for 2017
https://twitter.com/Travesham/status/798941639909609472

Here are the since deleted tweets. I'll let you come to your own conclusions.
>Is there any good way to solve it that won't result in less valid science work getting funded?

Bona fide science has peer review and falsifiability. Also imperfect, but nowhere nearly as commonly manipulated as is economics for hire by business interests and their think tanks.

In fact, this seems like a good time to mention the only Senator I've ever seen in decades of observing politics who actively attacks this problem is Elizabeth Warren.

https://www.washingtonpost.com/politics/how-elizabeth-warren...
Well, it could be worse. At least the standard library is there, as opposed to GWT (where you pretty much cannot use any Java library at all).
The most interesting thing to me is the difference between the results from a year ago. The top scores are 1/3rd of what they were a year ago.

They changed the test rig from an i7-2600K to a Dual Xeon ES-2660v2. Those 4 cores at 3.4ghz destroy the 20 cores at 2.2ghz.

Cloud performance in comparison is terrible. That i7 hits 290k fortunes compared to the cloud VM hitting 30k. You need ~$1500 of VM a month ($0.23 / hour / 30 days / 9) to match a desktop computer from 2011.
> IMO it would be great to get folks who write the enormous base of existing realtime apps driving critical devices everywhere to sit up and take notice of Rust.

Rust cannot make any latency guarantees either. Reference counting and its lifetimes also have pathological cases, ie. worst-case, an object can reference the entire heap which will take time proportional to the number of dead objects to free.

Copying collection in this case takes literally zero time, but it's pathological case is when all referenced data survives the current GC cycle, ie. proportional to live objects.

There's no free lunch!
https://quantummail.io/

At first I wanted to experiment with building a private email server but then thought I might as well build it for others to use, it doesn't really work in decentralizing much, but I thought it would be a start in moving towards secure and private email.
What exactly is the point you're trying to make here?

First, he was the CEO at the time of the controversy - a much more symbolically important leadership position than CTO. For many companies, their CEO is the face of the company, which makes any controversy much more damaging.

Second, he contributed money to a political campaign that was socially unacceptable to a large enough group of people that they made an enormous amount of noise about it. As a result, he stepped down (whether willingly or not behind the scenes, it was publically a willing resignation) because, in his words, "under the present circumstances, I cannot be an effective leader." [1]

Isn't that the way the market is supposed to work? People boycotting Mozilla (i.e. "voting with their feet") led to the corporation responding to its consumers' desires.

What's the relation to a state registry based on religion, again?

Also, there is a difference between tolerance of opposing viewpoints, and tolerance of open attempts to strip others of rights. The political campaign he funded was very much the latter.

--

[1] https://blog.mozilla.org/blog/2014/04/05/faq-on-ceo-resignat...
We haven't done any formal benchmarks against other SQL databases used server-side. Usually Realm is compared against SQLite since it is also an embedded data store. For example, you can see some benchmarks with our Android version here: https://github.com/realm/realm-java-benchmarks
We've banned this troll account. You can't create new accounts just to violate the guidelines.

We detached this subthread from https://news.ycombinator.com/item?id=12970047 and marked it off-topic.
Every other framework relies on JQuery so--yes, absolutely--it's still a thing.

And if you don't work for a company that is in the JavaScript-framework-of-the-month mode, you should know JQuery is still king.
I think this is an expensive solution, which would increase radar cross signature almost certainly. Also, it would protect against a weapon that isn't fielded while doing nothing for any conventional weapons.

Source: I flew UAVs "drones" for the US Army for 482 combat flight hours in Iraq. Lookup the wikipedia for "Ground Control Station" for an old pic of an 18 year old me @ the UAV training center "black tower" in Ft Huachuca, AZ.
Right on the dotnet core getting started page: https://www.microsoft.com/net/core#linuxredhat

dotnet build
dotnet run
dotnet test

updated: formatting
Thanks, I had no idea he was also behind that one!

That's quite a severe sentencing for a "Guestbook Signing" XSS exploit. I wonder if the sentence was reduced.
Right, it would likely use clippy but it would essentially be a --production target or profile, intended for builds where the binary will be run in production.
And by 'and friends' I mean calls that panic for the same reason as unwrap, such as expect or ok.

The goal is to stop code from reaching production inadvertently, not to prevent all sources of panics.
Pretty much everything that is in kotlin should have been in java for a while IMO and some of these features are in C#
Yes there is. The actual tweet, verbatim was "will the 2nd amendment be as cool when i buy a gun and start shooting atrandom white people or no...[two eyes emoji]". Scroll down in the thread to see it.

This is exactly the kind of misinformation bubble that people are talking about. Kevin Allred is clearly misrepresenting his original tweet.
We've asked you specifically not to do this, so we've banned this account.
I think it was a combination of both. By giving them more time, they were able to revisit topics and giving new perspectives. Also, more time meant more time to get comfortable and share more intimate topics.
New Relic Infrastructure
Precisely! The Linux Foundation is fundamentally convinced open source creates the best software in the long run and doesn't much care about philosophy or "freedom".
How much is preact-compat gzipped? Can't seem to find it on the website...

EDIT found it:

preact-compat adds somewhere around 2kb to your bundle size, but has the advantage of supporting the vast majority of existing React modules you might find on npm. The preact-compat package provides all the necessary tweaks on top of Preact's core to make it work just like react and react-dom, in a single module.
I was referring to hinkley's idea for using Rust to write GCed VMs. As to other safety features, those are easily added to cheaper GCed languages. Memory is the hard bit, and if you can afford a GC, it is usually cheaper to just use one. As to RAM being costly, I think RAM is one of the few things that is getting very cheap relative to other resources, and GCs require less and less tuning; working hard to avoid a GC when you can afford one seems to me like the mother of all premature optimizations. But I see no point in debating the issue too much. Every company would make its own consideration about which approach is cheaper.

In any event, there are certainly very important use cases that simply cannot afford the power and RAM overhead required by a GC (again -- latency is not an issue; if you have the resources, there are cheap ways of getting extremely low latencies without doing away with a GC) and those use cases would benefit tremendously from a safe language.
It's not really racism but as a black person it comes off a little insensitive. For a long we've been usually asked to perform as opposed to contribute in a more meaningful way for example.

I would find it strange if I was asked to perform for a board meeting hardly seems like the appropriate place for that. I would also take a bit of offense because it sends the message that all I'm good for is performing. Being the ONLY black guy heightens the stereotype that we're only good enough to entertain.

It's not something white people think about so it may be hard to realize what you're asking and how it may be interpreted.

I'm not advocating for social justice just voicing the black point of view. Also, the rest of the article is a bit shaky.

One more thing, sitting at a job and waiting to get fired for severance is terrible. It's embarrassing and dishonest. Your reputation is also at stake here. If you think no one knows what you're up to, you're very mistaken. BLACK people especially should not do this.
Best Practices for Time Travelers (2003)
This is the way ads should be done. The only reason I run a blocker is because my tolerance for absolute bullshit ran out. No, there is no "one weird trick" to make hundreds of dollars a day and get rid of wrinkles at the same time. Just no.

I've seen the quality of advertising plunge to depths I never imagined in the last five years. I yearn for the days of "Punch the Monkey" level dribble rather than the pure poison we see today.

How is it that with more tracking, more compute power, more data than ever the ads are so appallingly stupid?
This is the number one reason why I looked for a different place and was hoping lobst.er would have taken off.

The down vote causes the comment to be dimmed and seen as a rejection to the comment. It is very frustrating when the top right side is your name and your "Hacker News Points" so I don't get why the down vote if you disagree. A down vote kills the conversation.
Ask HN: Dynamically creating corporations
One of the plot points of Accelerando by Charles Stross is that corporations could be created and shutdown dynamically like one might spin up more EC2 instances. Like today corporations could own each other and hire people.

I can't help but feel this is inevitable (particularly if we are transitioning to a "gig economy") and that the first country that successfully builds the framework will more than move the needle on their economy. (I could see Estonia being the first as an extension of their e-residency program.)

The two biggest obstacles would probably be taxation and liability. A blockchain might help in establishing the ownership chain to ensure that the proper parties are taxed the proper amounts. But how do you hold a company liable when their existence was mere microseconds? Do you pierce the limited liability shield and pass the lawsuit up the blockchain until it reaches an active corporation or human?

Curious as to any answers to those questions or thoughts on the concept in general.
> the long discredit campaign began

You think too little of Hillary. She broke the glass ceiling on that one and did it nearly all be herself.
Answered my own question by Googling "white label analytics".

Of note (in case anyone is interested) was this open source project which appears to be a complete solution: https://github.com/piwik/piwik
That's kind of what I'm saying. If you don't value those things, why introduce a library at all? What you're describing can be implemented in < 10 lines.
Welcome to Skyliner: AWS is easy now
It's quite possibly the least poignant and lowest-common-denominator populist cliche I've ever read. It's like describing Computer Science as the study of how to make Flappy Bird clones and To Do apps.
Mainstream is not a synonym for "morally acceptable". It's a battleground of what we allow to be normal.
Ouch. PHP dev here. We write design-pattern-influenced code with classes, abstract classes, DI, interfaces, etc. It's not all bad.