skysight-inc/HackerNews huggingface dataset:
I find it hard to switch away from React to another similar library/framework simply due to the community that surrounds the "React ecosystem". Having worked on applications using Angular and Vue, I've just had such an easier time solving my problems when using React because there just seem to be more man-hours sunk into developing best practices, which naturally leads to more mature libraries, frameworks, solutions, etc.

There are many things that the "React ecosystem" has taught me that I can apply to any future application I build regardless of the stack, but many of my problems were solved in little time because the SO answer to my questions also used React, or the answer came in the form of a React component I could plug in and not worry about.

Maybe when Vue's community is as thoroughly developed I'll try that out again. Right now it's hard to find a reason to switch.
The barriers in place are reasons why they're good areas to innovate.

It may be difficult, but that's all part of the game.

Also on theft - not everything is an iPhone, and I don't believe tracking is very prevalent just yet. There's plenty of opportunity here that's currently left untouched. I'm less thinking about petty crime and more about burglaries / theft of high value goods (boats, cars etc).
Great idea! I have just signed up and added some skills.

However, I am not sure how I should charge. Since you don't have enough people offering the same skills I promote and I presume very low to inexistent demand, there is no price correction at this stage, nor market to begin with :(.

It would be useful if somehow your app could suggest a recommended fee for a given skill.

It looks like a great idea though!
This plan addresses everyones biggest complaints, especially the 1.0 crate issue. Its so nice to finally quiet all the people that try rust for a couple hours and then declare it useless.
It's a battery people are pretty well used to seeing included in a language. POSIX even mandates one for C. For repeatable simulation work you might want something more robust, and hopefully everybody knows it's no use for crypto, but it's a handy thing to have around if you need to flip a digital coin.
> a degraded experience

I like AMP over publishers' own formats, which I have to put into Reader mode to make, well, pleasantly readable. I don't like AMP's implications. But I don't think your rendering is fair.
Stanford Seminar: Beyond Floating Point: Next Gen Computer Arithmetic [video]
> When was the last time a self-made engineer, scientist or doctor was president? Ever?

Your best bets would be Carter, Hoover and Jefferson.
Lol, you guys are way ahead of me. And nostarch too.
That's certainly fair, but at the same time as somebody who does care about this kind of stuff I deeply wish we didn't live in this world of massive centralized walled gardens.

I hadn't heard about this project before, but for a long time I've been thinking it would be nice to have some form of sand-boxed, probably Node based local cloud system.

I think you under-estimate the difficulty to install services locally. Sure popular packages are usually easy, but things with even a little bit less support can take days to get right.
I've grown to have a normal rate of urination, every hour or two, over the 5ish years I've been drinking green tea in large quantities.
Looking at Illinois requirements now it's MUCH higher than that. Based on what I have open in another tab, it's a minimum of $500 to file, and annual fees of $250; both of those are for filing on paper, electronically it's $600/300.

There's also a requirement to register with the state if you're an LLC incorporated in another state and will be doing business in Illinois. $500 filing fee and you have to have a registered agent within the state. The relevant law is http://law.onecle.com/illinois/805ilcs180/45-5.html, but it's not entirely clear to me what "transacting business" really means. The seemingly obvious meaning would imply that every little LLC selling anything would be required to spend $500 once plus annual fees to a registered agent before selling to anyone in Illinois.
3 in 1 magnetic usb-c, lightning, microusb cable: reliable?
It's in BASIC, as RND(). The usual Basic RNG is good enough for games, but not good enough for crypto.
No politician runs on core issues. It is always terrorism, jobs, economy.
More people die each year in the US by chocking on food than getting killed by terrorist. People seem to think we are under some sort of constant attack. I guess they believe the lack of evidence supports this.
Jobs and economy are always good to run on because you can promise the world and people get excited. Nothing changes because once in office, politicians have to answer to the people who really put them there; Big Business with deep pockets.
Just a bug report: In the end of the article Mr. Rwieruch offers a free ebook to those that join his mailing list, unfortunately that does not happen.

You are instead sent (after confirming your email) to a site that lists the 'minimum price' of the book as free, gives you a price slider that cannot go bellow 14.99 (and the "additional information icon" when hovered, shows a minimum price of 14.99, contradicting the page's own previous claim)

A resolution that allows other users to aquire the free ebook is preferred, but removing the offer of a free ebook would also solve the problem.
C++14 (and higher) feels like coding in Go or Python.

C++17 is so full of good stuff I'm considering beta compilers just to get it. Soon Python and Ruby won't have any advantages left in writing beautiful, clear, correct, bug-free, and easy to read code and C++ will still run 200x faster.
But given how easy/simple/common it is to depend on a crate, what practical problem would it solve for it to be in libstd? Maybe it's difficult for the community to identify the anointed RNG?
Might be caught up in a filter. Contacting the mods using the |contact| link might be the best option. Good luck.
tons of people are working on video game console emulators, and that kind of people could do that easily...
I have indeed been surprised to find some great new UWP apps lately that work on mobile.

The biggest mistake with the HP Elite x3, is that someone thought it was okay to make a phone to cater to the enterprise space and not support Verizon. I've literally never worked anywhere that didn't use Verizon for their corporate phones, and it locks me out of buying one personally too.
I think you have some pretty big misconceptions which accounts for at least half your skepticism. Most databases are designed to restore from information that's stored on disk. If you use host volumes, there is no concept of a container "moving around." Just being dead or alive. If a container starts on a host that was previously running, that container now is the previous one.
Linux Environment Variables Step-By-Step Easy Guide
If being a dev is the new coal mining.

Yes.
Docker is an app store. Once you reach that point of understanding everything gets easier. On your Windows box or Ubuntu box you can just install whatever you want. Docker is more like IOS or android. When was the last time you edited an .ini file on android? It works, it doesn't, take it or leave it. Or you can clear the local data or reinstall. Not much else. Docker is the same way, at least by intent. No wonder they don't want you to store data on it, if you have a SQL database running on android how much would you expect out of it? Would you really expect it to be persistent? It's easy to install, that's the point, but it takes away a lot of freedom just like the app store(s).
You and Your Research (1988)
CB Insights Cards Against Silicon Valley (Full PDF Set)
Not trying to be snarky, but isn't that pretty aligned with Libertarian views? You might not need to start your own party.
Swift does have garbage collection! It uses reference counting, and AFAIK it doesn't have cycle detection, which means it's up to the developer to ensure that no cycles occur.

Regarding responsive interfaces: pure reference counting is particularly problematic for this, because an unbounded amount of work may happen every time an object's reference is decremented (because the object might be freed, which causes other objects' references to become zero, etc). If this happens inside a critical section Your Life Is Pain. At least you can control when this happens by taking and then dropping an additional reference. (See Obj-C's allocation pools.)

C++'s shared_ptr<>, BTW, is also reference counting, and suffers from the same problem. So it's technically correct (which is the best kind of correct) to say that C++ has garbage collection too.
Oh, I'm guessing there's much more to this initiative than faster pageloads and an ersatz reader mode.
React Native at Instagram
electoral system that supports more than two viable parties

This would be:
https://en.wikipedia.org/wiki/Ranked_voting_systems
https://en.wikipedia.org/wiki/Instant-runoff_voting

Explanation of USA's FPTP count as root cause of a two party system:
https://www.youtube.com/watch?v=s7tWHJfhiyo
If it's for the super smart people, it won't make a difference if we pay them a lot of money instead of the current standard, right? The super smart should get paid a wage that reflects how smart they are.
Ask HN: Why doesn't tech community push for solving the housing shortage?
I'm talking about California.

The problem affects almost everyone, from large companies through start ups all the way to employees. Existing homeowners get enormous rents at the expense of everyone else. The solution is also very simple -- relax the zoning laws and issue many more permits for new construction.

So why isn't there a huge push to solve this problem?
Generalizations are unavoidable if you want to engage a broader audience, but generalizations are also varying degrees of right and wrong, almost never entirely right or entirely wrong. To disagree with a generalization, just talk about how it's an unproductive generalization, probably because it leads to an incorrect conclusion. You'll need a few counter-examples to support your point, but if you jump in with counter-examples first, you're just missing the point of trying to pick the appropriate generalization to support a productive conversation.
What's the feedback loop for someone that lives next to a place being rented out on AirBnB?
> Traditionally, the US had been the only place to get any form of quality IT. The training programs and college degrees are more established.

Not sure that I agree with that! Compare to the UK, I don't think this is at all true. Compared to say, India, then that was definitely true.
One huge advantage of C++ is Visual Studio. Once Rust gets something similar I might switch for my personal projects.
Can you elaborate on how colors should be blended?

Is it about the choice of interpolation algorithm? nearest neighborhood vs linear vs cubic, etc

I've written image processing code in the past, though color accuracy wasn't important to it, and I'm curious to understand this better.

I also currently use ImageOptim and would be curious to know if it handles this.
As others have mentioned, Docker doesn't really do any magic which might harm the smooth running of a database, but just leverages process isolation built into the Linux kernel and provides a convenient way to package and distribute bundles of software. In the case of a database, the former can be handy any time you want to run a database on a host where you want to run other software too. As for the latter, being able to run the same configuration locally as on production servers, to replicate configuration over many nodes in a cluster, to distil both configuration and software into atomic units are as advantageous for databases as for any other software.

At my company we have been using PostgreSQL on Docker for over two years without and have been sufficiently satisfied with the results that we're in the process of turning out setup into a product in its own right: http://containable.co/
There are multiple already, including an in-progress one by O' Reilly. I've also heard rumors of another one getting started as well.
One of my key worries with the current walled garden approach is exactly what you describe. Value can't be easily reached by connecting products together. Every major company seems to be working hard to keep there customers completely inside there ecosystem. It makes sense for them and I certainly don't blame them, but it does seem to represent some level of failure for the current system.
Does the "lower learning curve" goal include the lowering of learning curve for people who already know how to program? Because right now, the Book sometimes seems like it's aimed for people who either didn't program a lot, or didn't program in a language with types.

What I actually would like is a few "Books" like "Rust for C++ people", "Rust for Go people", etc. Those would describe in many examples how things that are achieved in language X using A, B, and C can be done with D in Rust.

Personally, I would like a "Rust for Gophers" book that would describe things like how does Rust do composing (that is, how to do what Go calls embedding), interfaces in Rust (with dynamic vs static dispatch), HTTP in Rust (this may be waiting for Tokio?), how to model your application's types and not get into who-owns-what traps.

Also, what I really want is some kind of a list of Rust "warts" and their explanation. Like the fact that sometimes you can't do a.b().c(), but have to write tmp = a.b(); tmp.c().
It feels like a compelling property here is to have a "single point of continuously increasing quality"—that is, one changing chunk of code that is continuously improved and battle tested as more and more users report issues that require workarounds.

(But of course ever-changing externally hosted web services like these have their drawbacks.)
Beats hiring managers who know how to run a team, I suppose.
Because it's not owned by Google. That's why!
No, they're not cache friendly. The problem is row-based vs column-based. Array of structs vs Structure of arrays. With arrays of structs/objects you get row-based access patterns. Especially for cases where you only want to access one or two columns, you always pull in everything else.
https://www.youtube.com/watch?v=rX0ItVEVjHc
It's definitely true that we've been more focused on technology than market research, and that this is a huge factor in why our business didn't work.

However, I don't believe you can really make revolutionary changes based on the "lean startup", "do lots of market research and test everything with metrics" strategy. It's absolutely a great way to make incremental improvements -- even big ones -- but not paradigm shifts.

Sandstorm's vision is a long-term one, and it actually isn't primarily focused specifically on self-hosting, privacy, or even FOSS, but rather on creating infrastructure that allows decentralized software to stand on equal or greater footing compared to centralized services. There is a lot of work that needs to be done for this to function, and you can't justify it by saying "look, these customers asked for it" -- you justify it by laying out the vision and saying: "Look, there will be these clear enormous advantages if this works."

For reference, here's our technology manifesto: https://sandstorm.io/how-it-works

This is always a tough sell, because people rarely agree on hypothetical outcomes that can't be measured in advance. And if it were clear, someone would be doing it already. So, I don't expect you to agree. But I'm going to keep working on it.
That wasn't an oddity. It would have shipped with Workbench 1.3. I had one just like it with the Fatter Angus chip that could address up to 1MB of chip RAM, although you could still configure it as 512K chip and 512K fast, which is what I did.

I can't remember whether you did the 1MB chip config with a dip switch or by cutting a track on the motherboard - I think it may have been the latter, which is probably why I didn't do it.
I hope these things are explained well in the upcoming books. Me, a seasoned Perl 5 programmer that doesn't participate much in the Perl 6 community find these things a bit strange and visually a turnoff if you get what I mean. Also angle brackets usage no auto quoting was something I remember not liking too much.

Note that this has more to do with familiarity and syntax than the new features etc. I very much hope for a "Java killer" in the Perl family but that means performance must be a first priority.

Thanks for explaining, at least I can view examples with a little more understanding of the syntax choices going forward.
@doesnotexist great point. With that said, that is not the official solution. There is no official solution. This is a community driven repo. Anyone can contribute.
And what's gonna install CoreOS? And what's gonna install Docker? And what's gonna configure Docker? And what's gonna give a configuration to run the Docker image and how?
How then do you forget, after this overlearning already occurred?

EDIT: Someone says "If you can't get past nature's paywall,"
FamilyTreeNow shreds privacy, but founder remains elusive
Ask HN: AI more of Math or CS?
Hello, I am a University of Waterloo undergrad doing his second term and I am enrolled in the Honours Mathematics programme. After my first year (this term), I have to either choose a Major or I can transfer to CS. AI really interests me and someone told me that you either use AI or create AI. I want to help create AI and I am utterly confused if AI is more of Math or CS. During several employer information sessions, some employers say that stay in Math while some say that one should switch to CS. I recently read [1] and I am even more confused now. What are your opinions on this?

[1] https://techcrunch.com/2016/12/01/facebooks-advice-to-students-interested-in-artificial-intelligence/
WinAntiRansom – Prevents encryption of your files
There's several external books. I started from this one (via Safari):

https://www.amazon.com/Programming-Rust-Fast-Systems-Develop...
Yeah, I don't understand this. I read the FTC complaint and it hinged on the issue of collecting the data w/o explicit user consent, ie a pop up or message. Wouldn't nearly all internet companies fall in to this bucket? Ie, log aggregators, analytics SDKs etc?
I'm afraid I think that's a basic structural flaw of capitalism (notwithstanding its many structural goods). When I hear this argument I feel it's a bit like proponents of socialism saying 'ok communism actually does suck but that's because it's a departure from the beautiful socialist ideal.'

The basic problem is this: no matter how good your system, it's not going to be used solely by angels, but by a distribution of people. A few of those will be very ethical and unselfish and operate completely within the rules and the spirit of the system. A few others will be total assholes and just exploit every weakness they can find to advance their own interests, regardless of the damage inflicted on others. And a lot of people in the middle will just go in the same direction as everyone else - when there are more good people around they'll conduct themselves ethically, when there are more bad people around they'll help themselves. But the middle group is generally passive and doesn't make any particular effort to either support or subvert the system within which they find themselves.

So in the context of capitalism you'll have some very high-minded entrepreneurial people and some corrupt cronyist types, in the context of socialism you'll have some very selfless individuals and some authoritarian thugs, in a religious context you'll have some saintly types and some hypocrites who prey on the naive and use fear of divine retribution to silence their victims, and so on.

When we design or experiment with social technologies, we have to be on our guard against two extremely risky assumptions: one, that our proposed system would work great if only everyone adopted it, and two, that our proposed system will be used by people like ourselves who share our basic assumptions about right and wrong.

In sum, you're right to point to cronyism but you're wrong to ignore cronyism given the fact of its widespread popularity. there are bad as well as good people int he world, and so we should consider what the possible negative outcomes of our technology would be if such people gained control of it.
better would have been a dead-mans switch: if they let go of the iPhone for more than 6 seconds the program wipes all traces of itself off.
>Like I said, I don't actually care how rational it all might be in economic terms. I'm not willing to allow rich people to pay for more privileges than they already have, even if we might all be better off as a result.

Cool, we'll just do envy-based policy then. That'll work.
I feel conflicted.

On one hand, my Vizio comes built in with several apps—NetFlix, Hulu, Local News—that improves the overall tv watching experience. Without the apps installed, I doubt that the members of my house hold would be consuming half the amount of entertainment. On the other hand, I hate the fact that data leaks to Vizio.

So, what's the best way to strike a balance?

Buy a "non-smart" tv and plug in a laptop (or rasberry pi) via an HDMI cable?
I wonder if it would be useful if the docs offered a "what functions should my type have" hint for trait-heavy functions. That way all the required functions are in the same place.

Paging steveklabnik, what do you think?
Given the fact that your first paragraph says the same thing my first paragraph does, it's unclear to me what point you're trying to make.

The intern in question had no part in making Google the size it is and was most likely not offered much choice in the way of team or project assigned, so no merit or effort was involved in either of the two. Which part would you like to dispute?
Ive found Atom to be better in terms of having the lint as you go. RustyCode is pretty good though otherwise :). I'm interested to see where the debugging goes with it as well.
Since salaries are so much lower everywhere but the US, doesn't it make more sense to flip this argument around and instead ask: "why are software engineers' salaries so much higher in the US than everywhere else?"
Generating capacity is needed based on the peak, not the average. On the peak hour of the peak day, you'd like to have 15% more nameplate capacity than you're using. Some stations will be out of service for maintenance, and something may fail.

PJM training on this: [1]

[1] http://www.screencast.com/t/9qPkoGacrnm
old way: one chroot per user and quota (including ulimit) per user

new way: limits handled with cgroups
security with namespace related to user's profile.

namespace can do syscall limitations, and also offer unique network access per users.

Roughly simplified.

freebsd jails where known as glass jails that would eventually break, LXC/docker are the same except they hav'nt broke yet at the price of more complexity. They will all dramatically break when people will have figured the trick in 5 years.

Simple solution : understand the problem and fix it.

Actual solution: throw more complexity and obfuscation at the problem claiming users are THE problem.

Companies and devops don't care, they have a future of at least 10 years in fat paychecks and stock options.
One problem is there's no authentication. The malicious server could modify your backup.

Another scary thing about this is the fact that you have to keep track of the AES key for the backup as well as your private RSA key and its password. That's going to get nasty for more than a couple of files.

If you're going to do backups like this you're better off just sticking with GPG.
You will probably like the O' Reilly book. It's a bit closer to "Rust for C++ people", IMHO.

I fully agree that more of this kind of thing would be great.
Google's Home TV ad makes Google Home systems go crazy