skysight-inc/HackerNews huggingface dataset:
And by 'greedy' you mean 'want to stay in business'. What do you think would happen if people were allowed to guarantee wins at a casino? They're not running a charity.
> "vocabulary traits" like this are a good candidate for the stdlib for exactly this reason, maybe a good compromise would be putting _those_ in the stdlib, but leaving the implementation outside.

How would this interact with the orphan rule? Wouldnt this mean the vocabulary traits would not have default or std library type implementations and would have to be wrapped in newtypes, defeating the purpose of having them for inter-crate exchange? I guess you could wire types explicitly with Into/From in user code. Are there any traits unimplemented in std now that these vocab traits would look like?
You don't have to trust in Google, only in self-interest. The reason FB broke the cartel is because they felt they could pick up some talented people by paying more. The reason Google normalizes salaries is because it negatively affects morale (and hence productivity & retention) when you have people paid dramatically different amounts for equal work. The reason big tech companies sponsor green cards is so they don't have to use up their H1B quota on you, and can instead get new H1Bs. They may not be doing it for your benefit, but that doesn't mean that you don't benefit from it.
The mob boss who donates to the orphanage is still the mob boss.
NBC Sports's Super Bowl counter-programming was curling
Wow, TIL. I had never realized that luminosity doesn't scale linearly. Awesome post.
This sounds cool!

The first example has a pretty nasty typo. This:

int *arr = malloc(9);

does of course not allocate enough space to make it safe to index arr up to 8. It only allocates 9 bytes, which on a typical 32-bit int machine only gives you room for 2.25 ints.

It should of course be:

int *arr = malloc(9 * sizeof *arr);

It's fixed in the second example, where they introduce the malloc_wrapper().
Gambling is fun. Thanks, but I'll keep gambling when I like and not delude myself into thinking it's supposed to be 'fair'.
Over the past NFL season I've gone from not caring/will watch with friends to pretty much loathing football.

Just because people constantly won't shut up about it. It's not fun going out with friends and sitting there staring into space while people won't shut up about fucking football. It's a boring sport anyway.
You can contact the mods via the Contact link in the footer. They can likely update it for you.
Would you consider just adding a donation box? I for one think that it's very important that this thing gets developed. I think you're doing a lot of things right, and it could encourage proliferation of self-hosted applications. This needs to stand as a challenge to the companies that would own our data, and I understand that it does not lend itself to a normal business plan.

I imagine a lot of people feel this way, and may be inclined to donate in addition to or instead of their Oasis account.
The primer from Neal Stephenson's "The Diamond Age".

Looking back, if I'd had unfettered access to information along with an intelligent guide to same, I could have educated myself a lot more quickly and thoroughly, and avoided the enormous counter-productivity and strife generated by biased and self-serving external world views and... frankly, sometimes forceful indoctrination.

Going forward, that's what I'd wish for my kids. Learn how to be around and get along with other people. But don't waste your time and peace of mind on the bullshit. And learn to protect your health, and guard it well.
> Secondly although it was a pretty thrilling final quarter and OT at the half it looked like it was all over

This is exactly what I did - following through halftime, I didn't exactly watch Lady Gaga's halftime show, and just never came back.

Was in shock later when others told me that the Patriots had won...
That's the thing. So long as they can get their cable packages at a reasonably stupid price they're willing to go along with it.

I'm not sure if there's a lot of correlating data but the Trump core supporter group does seem to be older (50+) and not always the first to adopt any new technology. They read newspapers, they watch TV news, they use Facebook, they have wired home phones, basically things that the FCC won't really alter.

What removing Network Neutrality does is destroy the next generation of services, something that they have no vested interest in.

It's almost as if they'd gladly pay $50/mo. in cable/telephone fees if their taxes went down by $200/mo. The thing is, that $50/mo. increase really squeezes out those in the lower income brackets or those on fixed incomes. They don't pay a lot of tax to see any offsets.

But fuck them, right?
> But there's the upside to everyone putting a password: You can choke off all those household devices that demand Internet access!

Not for long. As those devices move to prepaid low-data rate cellular service, you won't be able to stop them from phoning home, short of RF shielding.

(Sometimes I wonder if a lot of the older electronic devices we consider junk now will become desirable in the future because they "just work" without the various user-hostile spyware, DRM, rootkits, anti-repair features and remote-exploitable security vulnerabilities that seem to be proliferating in modern devices.)
Garlic Shrimp Pasta
I wouldn't say you are the only one, but upwards of 30 seconds is very slow - I don't know anyone seeing that kind of performance. Perhaps try reinstalling?
Or commenting.
> Because no matter what happens to net neutrality, the core infrastructure won't be impacted too much.

Define "too much". No net neutrality, means abuse by bigger players against smaller competitors. Especially when those big players own part of the network (such as ISP who are also media companies). Impact here is very obvious.

The core issue here is the usage of the network.
The Canadian dollar went from ~parity to <70c over the course of less than 4 years. So that slashed a significant part of your cost of living, in US$ terms, by 30%.

It's a lot of the same companies, e.g. Google, Microsoft, Amazon, so I don't think we can say the can't pay as much. Other than that it's market forces.
C++11, 14 and 17 finally made me fall in love with C++. It's almost like having a nice and easy scripting language with the added bonus of static typing and a huge performance boost.

There are a few things that I'm still not quite happy with.

* It's still incredibly cumbersome to set up a project

* Setting up a proper build system is tedious, especially if you're targeting multiple platforms.

* I'm missing some "functional" methods attached to the collections, e.g. find, filter, map, some, each, ...
Afaik some of them exist as functions that take 2 iterators and a lambda but that's just plain ugly and unreadable. Instead of

std::find_if(list.begin(), list.end(), condition});

I'd like something like

list.find(condition);
I am about to go into two hours of meetings so this will have to be quick.

The issue is, because this is a trait, you must conform to its signature. Which is here: https://hyper.rs/hyper/v0.10.0/hyper/server/trait.Handler.ht... and specifically https://hyper.rs/hyper/v0.10.0/hyper/server/trait.Handler.ht...

So yeah, my idea won't work, because those types conflict.

> Removing the trait impl was another thing recommended by the Arc guy at work, he didn't know how or why it worked.

I'm surprised it works on first glance, as I was assuming that you were implementing the trait for a reason, not just because. If you don't need the trait, then yeah, it's much easier.

> What's different with Rust?

See my StackExchange link elsewhere in the thread for a summary.

I'll maybe poke at this after my meetings, or maybe tomorrow. We'll see how amped I am for coding after all that ;)
Bradcasting vs viewership is different (Aussie rules football is broadcasted in many countries in Asia too).
The Superbowl used to be broadcasted in India when I was there (prior to 2005). Firstly it was at 2-3 am in the morning, nobody knows the rules and there are ads every 2 mins. I highly doubt anyone cares about American Football even today in India at least.
Hear, hear! I am firmly in the camp of the people who are really ticked off about illegal immigration, but in addition to stopping that, I've always thought that we should be increasing _legal_ immigration as much as possible.

I'm so sick of people copping out and trying to have it both ways. Bring in the immigrants who want to work, especially if they have skills. Filter out the gangbangers and the terrorists as much as possible. Win-win. Today we have the worst of both worlds.
I think Super Bowl commercials have jumped the shark. They used to be a fun interlude during timeouts. Now they are just over the top "who can cram the most CGI into 30 seconds of the most impossibly contrived scenario"

Maybe I'm just old. I didn't watch the commercials though.

I did think the halftime show was good. I appreciated the lack of overt political statements.
I've definitely included a library and then seen (otherlibrary).(library you included) as an option in autocomplete, fairly often. Happens a lot with utility-level things like okhttp.
Ask HN: Windows search replacement?
I'm looking for an alternative to the Windows native search (folder and files, not apps).

I want to be able to choose where to search (folder, disk) and have the options to filter (like wildcards, filetype and anything else I can get) and order the results.

Any suggestions?
I'm a fan of workflowy too. As a vim user I was also very pleased to discover that vimflowy [https://vimflowy.bitballoon.com/] also exists.
Completely agree. Have an upvote!
was it seriously? I guess the people who weren't watching the super bowl (the Canadians) would enjoy it...
Someone correct me if I'm wrong but AFAIK the Facebook app isn't really using react native yet, just in very small parts (event dashboard). The rest is still plain old swift and objc.
I don't think it would work unfortunately.

The average person just doesn't care about privacy at all.

I always feel that I come across as a tinfoil-hat wearing conspiracy theorist when I'm trying to explain to friends why I don't use Facebook.
iOS Games Now Require Government License in China
Signing into iTunesConnect shows this notice:

Game Licenses in China
Chinese law now requires online games to secure an approval number from the State Administration of Press, Publication, Radio, Film, and Television. You can enter your game’s approval number and date in the Notes field of the App Review Information section. To learn more, view the full text of the regulation

http://www.sapprft.gov.cn/sapprft/contents/6588/298011.shtml
A browser that performs what I want rather than what some second or third party wants. A true user agent -- not some commercial agent increasingly modified to shovel corporate-ware and corporate spying at me.

Extensions currently being a central piece of this.

Kill my extensions, and I've a lot less reason to stay with you.
Dude, we already have that. It's called San Francisco.
It's basically just a chroot but with additional levels of isolation that make a process think it's running in its own copy of an OS in addition to running on its own filesystem (as with a simple chroot). So it's similar to the concept of a virtual machine but it "virtualizes" the OS kernel instead of the hardware.

See here: https://en.wikipedia.org/wiki/LXC
Since when is Google the only ads and analytics provider everyone uses?

Ooops, that's why AMP was made in the first place.
Thanks for that last link. I'm working my way through it, and there's interesting material here.
Syntax is the last thing you should design
Can confirm.

As a comparison: I am a programmer with above average pay in Germany, my mom works upper management in a big company.

I make about twice as much as a steel worker and she makes twice as much as me.

The same jobs in the us would pay about 3-4 times a steelworker for me and triple to quadruple my pay for her.
You can apply the generic sandboxes to the whole process, but that's not the same as a targeted seccomp. For example, you can use one of the external jails to stop your media app from using the network, and that's great. But what if you want to stream content from the internet? Without changing the source, you can't apply the no-network rule only to the decoding part. That's what still needs work from the maintainers.
K&R gets so much hell, but it's a good, raw back to basics text. It deserves a place on the shelf beside the ARRL Ham Radio License Manual, or Wheelock's Latin, or Lyman's Guide to Reloading, or The Joy of Cooking, or the Elements of Style. It's the programming book for Boy Scouts, a crude, but essential Swiss Army Knife --the great programming book for the post-Apocalypse.

Also all of these are open source submissions.
DNC wants to eliminate a free internet as well.
And publishers are strongarmed by Google because of the search rankings.

I wonder what the EU will thought of that.
> So what's stopping them?

The highly skilled American employees in their US-workforce?
Then see O'Reilly's upcoming "Programming Rust" by Jim Blandy, who, despite working at Mozilla, has never been involved in Rust development, and has long years of experience developing SpiderMonkey, GDB, SVN, GNU Guile, and Emacs. It's still in early access, but 17 out of 20 chapters are available.

http://shop.oreilly.com/product/0636920040385.do
This is avery sad thing to hear and one can only wish the best of luck to the open source project. I think especially in current times, user-friendly alternatives to the cloud are badly needed.

By the way, I really appreciate the honest style of the message. Sentences like

Unfortunately, Sandstorm the business has now run out of money, and we have been unable to raise more.

are refreshing in contrast to the usual "the next chapter of our journey" speeches.
> so your service provider can partner with other search startups to offer you built in search functionality.

You're trading innovation in the ISP marketplace for innovation in products that run on the ISP. You are making ISPs kingmakers which will necessarily reduce innovation in the space.

Speaking personally, I would rather my ISP not innovate by offering tiered pay models where they can push whoever they want to succeed. We had this model 30 years ago from compuserve and prodigy, and later AOL.

I guess tech is, indeed, cyclical.
I have no data, but I find it hard to believe such measly numbers. The viewership in Asia itself would be upwards of 200 million (India, China, SE Asia, Middle East where football/soccer is popular).
Yes Canada is right. Asymmetrical encryption is what you want. You can bake the signature into all of your hosts that need it, that way they encrypt a file without needing to know how to decrypt it.

Ask your third-party to supply a gpg public key over a secure channel, then it's very to encrypt files for them (and only them) to read.
What Vizio was doing behind the TV screen
Do you share links before visiting the article? With this change, it seems like sharing the link will be the same amount of clicks.

Same goes for reading more about the author. How often do you do that, and do you do it before you even read the article?

For visiting the homepage, almost every AMP page I go to these days as a big logo at the top linking to their (real) homepage, so there's 0 difference for the user.

The only valid one is comment section. I just tried a few articles, and they seem to have a button which redirects to the real website. I think that's a fair compromise. Honestly most article sites do this anyway, load the comments after a click.
I would only request that it should be viewed in context of its history. Especially if we might decide to enshrine the world in more war over it. It is in its current state a construct, without a foundation. To reach peace, a compromise must be reached.
... and in fact, it's machine learning models whose performance is tested using cross-validation or a holdout sample that assume new points are drawn from exactly the same distribution that generated the training data, whereas Bayesian priors are often used for the exact opposite purpose: when you're afraid the data is too noisy or unrepresentative and won't generalize without incorporating outside information.

Also, there is no need to train any model whatsoever if your prior is correct. The prior is the model.
We did. The ML family has been around for about 4 decades now. Not sure why they never caught on until Rust.
Have you considered using https://www.patreon.com/ ? If there's enough interest among the people using it maybe you could pay for one full time developer. I know of multiple projects where this has happened like Vue.js and Hapi.js.
I don't really care how much someone in USA earns.

As a software engineere in germany you are earning good money.

There are no killings in cities, affordable health care, high quality living standards, university costs 150$ for 6 month, no donald trump, 30 days real holiday (i take them, everyone does, every year), seldom over hours, parental leave.

Btw. IT is more than google, apple, facebook and twitter.

And no we do not have anywhere in germany rent prices like in NY or in SF. Perhaps, only, if even in the middlest of the centere.
Sorry to see the business fail. I was recommending people to check out the project since the day I learned about it here. I hope the development will continue without problems though :).

A quick question, if I may: say I want to test Sandstorm, first on Oasis, but then I want to migrate to self-hosting. Is there a way to move all the data I stored on my Oasis instance to the self-hosted one?
Fun fact: by being able to access the payout statistics menu and knowing the machine's installation date it was easy to know which machines would be "hot". I have witnessed machines that paid out poorly for a couple years (+ a few million USD) but would hit regular jackpots near the end of their expected lifecycle.

I'm dubious that there is a per-machine fixed sum over a fixed time like this. Apart from the "progressive" machines that have a jackpot shared across a network of machines, I'm pretty sure that the payout percentage is just a statistical prediction, and that by law each result has to be independent of all previous payouts. Do you have a reference that you could point to that would confirm your understanding? The sources I've found say that each play is random: http://www.vegasslotsonline.com/faq/#random. You might be right, but I wouldn't want you or someone else to rely on this information if it's a myth.
That's completely contrary to my experience. I've managed at least 3 Indian teams, worked with several more, and never had these issues. I admit, I might have a problem with people who had fake degrees. I never bothered to check degrees, why do I care if they can pass the code interview? (The same one I give to US devs.) My teams are generally pretty flat, more or less the same as any team I've worked on in the US.

I have heard of people having your experiences though; every single one was some clueless firangi who stayed at a fancy 5 star hotel for 2 weeks before jetting off, visited the Taj Mahal and was too scared to eat pani puri.

Opening an office in any country is an investment. You need to integrate the teams, you can't just drop by, rent an office and hope your local handlers run things perfectly. When my company opened our Pune office (a 2 hour flight from the mothership in Delhi) we shipped a relatively large leadership team down. When we hired new people they were joining an existing company, they weren't just left to fend for themselves. That would be a disaster even if it was just a NY company opening a PA office.
Disclaimer: I'm not an expert in this field.

I define "color" as a visual perception of a spacially homogenous electromagnetic spectra. Notation: c=p(s), meaning color is a perception of a given spectra. It turns out, that these percieved colors form a three dimensional vector space, this vector space is the representation of the infinite dimension vector space of electromagnetic spectras (c_i=p(s_i), p(a * c)=a * p(c), p(c1+c2)=p(c1)+p(c2) ).

We can parametrize this vector space with three numbers. If these numbers are coefficients of a linear system in these space, then we call this parametrization a "linear colorspace". Then physical blending of different spectra results in the same blending in coefficients.

Often we don't use this kind of parametrization (most often sRGB on the web), because perceptual distance is not linear in a linear colorspace, so we can get away with 8 bits per color channel to not introduce obvious banding in the darker regions.

Blending problems occur if someone doesn't know if the three numbers representing a color accually is a member of an actual vector space or not. Nobody would attemt to use the same algorithm in HSV tö blend.
We'll have an Intel vs NVidia arms race kicking off this year. And... There are probably some major algorithmic speedups on the table still.
After some Googling I've come across http://foldr.org/~michaelw/emacs/ which includes a hack for giving nested s-expressions different colours and hiding the parentheses. This sort of "tree view", combined with paredit's "tree editing", might go some way towards faking a tree editor.

Maybe this could be combined with https://github.com/jacksonrayhamilton/context-coloring and either https://en.wikipedia.org/wiki/Semigraphics or the new cairo support for drawing pretty borders?
Okay, thank you again for your time!
Of course Namespace in Linux kernel is very mature. But if that's all people use, then there wouldn't be a need for Docker and its extra features- people would still be using LXC (no disrespect to LXC). People have to evaluate the entire software as a whole, instead of just looking at the core technology. I personally feel that Docker is still unproven in terms of maturity. Stateless? Hell yes. Stateful app? Well...

As you said, a lot of problems would disappear if people use Kubernetes instead of Docker. At the same time, a lot of replication problems would disappear if people use PostgreSQL instead of MySQL. My point is, when a novice mixes immature technology with immature technology, he is going to have more issues than what's necessary.
Why work at a startup?
"You may corrupt the data in case of container crash where database didn’t shutdown correctly. And lose the most important part of your service."

This is the point in the article where you know you don't need to read the rest. If your data integrity hinges on your database being able to shut down correctly you will be disappointed.

The author believes in fairytales.
Sounds like your professor invented HyperCard, more or less. Right idea, wrong time/place.
Well there's nothing stopping you using the right element for the job. But I would argue that the semantics of HTML, whilst useful in a publication paradigm, don't translate as easily to a web application, which is where React shines. I'd also argue that React is not a good fit for something like a blog, or a news site.
lol I fail to see the logic in where "real sharing" and equal wage became correlated. If I lent my lawnmower to my neighbor what does that have to do with his wage?
http://aturon.github.io/blog/2016/08/11/futures/ is old but has some benchmarks in it; a lot has changed since then, but the blazing speed is still there.

I haven't benchmarked this particular application because I haven't had the time, and it's never going to see particularly higher load.
If anyone is interested, I also wrote a post on PCA this past weekend, but it uh... didn't get any upvotes :(

http://michaeljflynn.net/2017/02/06/a-tutorial-on-principal-...