skysight-inc/HackerNews huggingface dataset:
To add to the good responses by the others, React Native development, on a good day, feels like the best of web dev and native dev (reload to see the change, `yarn add <package> && react-native link` to add a new NPM package, run the app on devices while debugging with Chrome dev tool). On a bad day, it feels like the ultimate force unification from the worst of both worlds (nothing ever stays stable, ever; were you expecting the app reload to work every time? hah!; running the debugger makes the app crawl, even on recent devices; some packages require you to do lots of stuff for post-install configuration; upgrading RN version will fix some issues but you'll lose half day trying to resolve conflicts between RN and your code and RN and the dependent packages -- then you might get some issues that are unique to the new version of RN; CSS styling -- can cut both ways)

In my particular case, being a solo dev with web background, RN is the only sane option to make an app in Android and iOS in reasonable time.

I'd say it can be a good tech choice, if you plan to focus your work on platforms that React API and ecosystem touch (mobile and web, maybe not desktop).

EDIT: Some grammar cleanup and the bit about styling.
Not really. They can't get people to watch it on TV, which is why it doesn't make any money.
That's a good point. It's slightly reminiscent of Haskell, where you have to start trying to understand the IO monad and do notation to do the most trivial real-world examples.

In other languages, you might do File.ReadAllLines("foo.txt"), and bam, you're done.
How an obscure cult grew to become the dominant religion of the Western world
Georgia is awesome. Hitch hiked and hiked almost 2 months there. Become a Master of Georgia :)
She is in fact the only woman on the board and she does in fact make less than all the other board members who are men. The headline suggests that Snap isn't doing well on the leadership diversity front, and they back that up with facts.

As for your argument that different studies adjust for different variables, that's irrelevant. My argument wasn't that individual women or women in specific jobs earn less than men do, it was that women in aggregate (meaning: all adult women) earn less in total. By adjusting for different variables you can only conclude that the wage gap is justified (e.g. because women on average have less demanding jobs, work fewer hours, whatever) not that the wage gap doesn't exist. So the level of experience or the duties of the woman on the Snap board is totally irrelevant here, because even if there are reasons for why she earns less that doesn't change the fact that she does earn less and that therefore Snap contributes to the wage gap.
The point is that demand isn't rising (wages are still low for those jobs) because there is a steady stream of new supply (immigration) being added.
Unless you've written very poorly behaving software, you kill it by sending it a SIGTERM, and waiting for it to exit. This is true of software both within and outside of containers.

The fact `docker kill` defaults to using SIGKILL instead of SIGTERM is unfortunate, and something one should be aware of before deploying a process with docker, but again, this does not make the process running within the container inherently less reliable.

edit: Looks like `docker stop` does the right-ish thing -- sends a SIGTERM, then only resorts to SIGKILL after a timeout has expired.
Seiki and a few others make dumb-as-nails 4k screens for dirt cheap prices. Using a 39" one I got a year or so ago right now, and even then it was ~$285 pre tax. Not bad.
Shameless plug: If you're looking for a simple key-value store for Swift, please checkout https://github.com/hemantasapkota/SwiftStore

Underneath it's LevelDB.
I think you sign your rights away when you sign the contract. I'm not a lawyer, people a hell of a lot smarter then me made up those contracts.
The reputational damage is in some ways will be bigger than the fine itself.
And that's exactly close minded thought process at the root of the problem. You don't even consider the fact there's another method: let elected members of Congress decide. The problem with wheeler and Pai is that they don't report to us, the people.
Refugee takes Facebook to court over being featured in “fake news”
So basically, it pays to engage in unethical behavior, because if you do get caught, the fine will usually not be more than the profit you made from said behavior.
Weimar hyperinflation was in the early 20's, but Hitler came to power on the back of Bruning deflation in early 30's, which was due to the Great Depression, not the Versailles Treaty. While you could maybe try to argue that those were all related anyway, it's worth remembering that there was a full decade worth of events there, and hyperinflation is just one episode of many, and not necessarily the most important one.
I have, and most of what is written there I find correct. Wouldn't go as far as the Flash stuff. Mostly, it's down to the terrible web ecosystem and JS. Feds love it, but they don't know better. Native developers do, and most of the ones I've worked with have suffered a mental toll on having to work with RN. Now, is it an understandable from a management standpoint? Sure, especially at a company like Facebook, where there is a lot of fed experience. Does that make it a good technology? Not at all. It's a terrible compromise that has only one purpose - allow feds to develop on mobile. If only cross-platform mobile development was a concern, something like Xamarin is a lot more technologically sound, but still a big compromise.
So it's unpaid leave? How many paid vacation days do you have per year?
This wasn't an issue earlier. It was a known public fact. I stumbled upon the marketing page for this feature about a year ago by accident without even attempting to find it.

What Visio is doing has so little impact on privacy that it is embarrassing for our regulatory system that this is what they took action on.
That's what I plan to do but it still makes me nervous that the "smart" part of the TV might secretly contact my router and ask for network access.

I have zero proof but I became paranoid recently. :(

The reasonable tradeoff would be to buy a high-quality "dumb" TV with a very good screen. At least I hope so.
Inside Amazon’s robot-run supermarket that needs just 3 human workers
Nothing saves a company like cash in the bank, but nothing kills a company like increased burn due to raising followed by the inability to raise the following round.
> Why not just move to Web Components…

This article is about React Native, not React.
If we were able to provide quick and light pages with an equivalent experience to AMP and have these pages receive the speed and SEO boosting which AMP pages enjoy, that would be fair.

Currently, because the New York Times' website is overloaded with ads and bullshit, Google takes it upon themselves to identify "accelerated" sites and penalising everyone who doesn't implement AMP regardless of the speed of their site.
They can nag you about retrieving updates.
Well, if it turns out your <CommodityVideoStreamerA> is spying on you, you can throw it in the trash and get a <CommodityVideoStreamerB> instead. That gets a bit trickier when it's hardwired into your $1000+ display panel's control board.
Actually... it's one of the most dominant tree-data formats on the web because you don't have to bundle a parser with your client and then figure out the idiosyncrasies between your serialisation model and your language's object model, the browser gives you one for free and JSON is your language's object model. It's a lot more fiddly to deal with in languages which don't have a K/V map as the primary object model.
Yes, women, in aggregate, earn less money than men. The reasons are well documented and boil down to "women make choices that end up costing them income potential".
I will handle most of it, but there will be fallbacks when I'm not available.

FWIW, Oasis takes only a few minutes of work per week to operate...
Appreciate you sharing that, good to hear it's under consideration.

More cynical me might say that rolling out the 'X' with that behavior, though, gets the conversation to be about fixing the banner...versus removing it altogether.
So what the hell is up with google search results? I don't get the connection. What is stopping google from just giving me the URL?
Bullshit Detector a Guide to Being Less Wrong
Having spoken Russian as a kid, since my family were immigrants and it was used a little bit in my house, I can definetly attest to how strange it is to hear someone speak Ukrainian.

You'll be sitting there listening and everything is going fine and then a few seconds into the conversation you'll think one of you had a stroke. It's like talking to someone in English and then they instantly migrate to a thick Irish-blacksmith dialect of English or maybe even cockney. You get the basis of what they're saying but it just isnt coming through at all.

Anyway Kyiv is definetly on the list of amazing places to visit.
Vizio collected a selection of pixels on the screen that it matched to a database of TV, movie, and commercial content.

I would like to know more about that process. I find it ethically abhorrent, but technically very interesting.

Like, is it grabbing, say, three pixels in constant locations across the screen and matching their color change over time? Is it examining a whole block? Is it averaging a block at some proportional location on the screen?
Sad truth is most users don't care and won't ever even hear about this. There might be an impact but it won't really hurt Vizio.

...I hope this is just pessimism. Trust me, I do.
Having to go on-site more than once. It ends up taking a huge toll.
Unix has process groups.

Unix has access control (ie. memory protection, FS access protection, FS root aka chroot).

Containers are process groups with access control.

The actual entity has a different name pretty much everywhere, eg. Solaris Zone, Linux namespace and Linux cgroups. Usually the OS throws in a wider bunch of stuff that is only loosely related to access control in the classic sense, eg. CPU and memory limiting, I/O rate limiting and such (so rusage access control, in a sense).
Mutable borrows are not shared - you can't touch the data elsewhere while it's borrowed mutably, and you can't get a mutable borrow while there's immutable borrows. Shared state is unfortunately a common affliction on large codebases, and if the language supports and even encourages it, it can be difficult to prevent it from happening as the codebase grows and customers want features that don't fit into the architecture wonderfully.
You should be able to build facades around that stuff, so your main codebase is all C++11.
observations:

1. The article seemed fuzzy on data supporting the claim that people who have dropped out of the gig economy have changed to non-gig employment.

2. What are the types of jobs the former gig-sters moved to?

3. Are more employers trying to move to a gig-based employment model?

4. Aren't there already companies who sort of operate on a gig-based model in how they hire contractors for a limited duration and then drop them when the contract ends? It's just that these don't get counted as the trendy "gig" model?

5. We may have reached peak "peak" articles.
Actually the TV's with Roku built into it are great. But again how do you know the Roku isn't watching you? I mean it even has a mic for voice search.
Bill Watterson: How to Find Your Life’s Meaning
Can you expand a little on how the article said the identification worked? It says it takes a set of pixels, does this patch of pixels get stored? How big is it? If it's stored, how is it protected? Is it encrypted at rest?

I have a Visio TV, I use it as a computer monitor. There's every possibility that PII or plaintext credentials might have been transmitted as part of this collection scheme. What did you do to mitigate that danger?
But if you're bind mounting the data dir to the host you're not using any docker FS driver.
I do not think this slide deck is really trying to get you to try to frankenstein something out of the board but more that there is a well established microcontroller they are using in the chromebook with a well-developed software platform to run on it. If anything the 'franken' part just comes from using the Chromium OS code and less the actually common microcontrollers.
If there is any way I can help (anything from building, or even just documentation or support), I'd love to get involved.

I am very passionate about XaaS (X as a service) think that we need a lot more DBaaS and we just don't seem to have that many options to choose from which is sad considering almost all software projects out there - especially the hobby ones would benefit so much from such a service.
According to the bill, the purpose is to, "To amend title 18, United States Code, to update the privacy protections for electronic communications information that is stored by third-party service providers in order to protect consumer privacy interests while meeting law enforcement needs, and for other purposes."

Most of the changes appear to be related to how government and law enforcement access email data.
Another wart (in a separate post from my other wart so that replies are coherent):

I understand why &str and String are different, but why do they act like they've never heard of each other? Why do they implement such different sets of methods? Why can't they be compared for equality, so I don't always have to type "literal".to_string()?

Haskell has problems with too many string types as well (worse than Rust, because the type of their default string literals is best avoided entirely), but they fix much of the problem with the OverloadedStrings extension, which uses the type checker as something that helps you coerce string literals, instead of arguing with you.
root it then! Any kid that knows how to point the libstagefright and DirtyCOW MetaSploit modules at the browser can root their "smart" TV...
As someone who was in your shoes last year as I made a job transition into a lead developer role at a new company. I picked React Native for a small project over Swift: https://studio.carnegiemuseums.org/out-loud-cdc979453ef0#.rh.... It was worth it. Not only because immutable render functions make view code extremely pleasurable to write, but also because it's mostly JS and JSX it allowed me to quickly spin up a web developer to work on this project with me. (About 2-3 weeks.)

Now React Native is not without it's downsides though. You pretty much have to know the platform underneath if you want to do anything past API calls and rendering to a list view. (And even that list view does not support the heavy recycling that iOS manages for you.) For the above project I had to write our own Bluetooth, Audio and Accessibility Native Modules.

But the speed at which we were able to develop over a native solution was worth it alone. I highly suggest looking into React Native if your next project is simple enough.
Also: Ada.
Memory management generally make them unviable for systems coding languages.
> C++ is a programming language with advantages and disadvantages. end of story.

Sounds like the beginning of a story, during which you explain the advantages and disadvantages, determine where C++ is best used, and compare it to other options.
Women do make different choices, but that doesn't mean they therefore ought to make less money. Women only ought to make less if they contribute less to society than men do in aggregate, and I think the contribution of men and women is equal. Women do a lot of unpaid and supportive labor that is just as important for society to function, we just choose not to compensate women financially for this work.

What types of work are highly paid and which work is unpaid is not decided by nature (or by markets) but by our politics. Politics that stem from an age where women had practically no rights.
A lot of skepticism from the /r/science community:

https://www.reddit.com/r/science/comments/5sc73l/study_finds...
I don't think that's propaganda undeserving of some of the Eastern block countries. I asked my grandma if she'd ever want to go back to Russia with me to visit it one last time and she said something along the lines of "Death is the option I'd take before anyone dragged me back there".

A lot of Iron Curtain people had a bad experiance and it's still a hot-bed of corruption but as many other things these countries being "good" or "bad" isn't black and white. They all have amazing culture, architecture, history, and people but they are "different" from western places.

I only know what I have been told from my grandparents and from friends who have the money to travel. I don't mind what I've heard but it's really up to one's self to make such a choice.
Every once in awhile, I catch a snatch of what sounds a little bit like Russian, but they're a little too far away, or the subway car is a little too loud, for me to make out. I wonder how often I'm actually hearing Ukrainian.
Powering Ingestible Electronics with the Fluids in Your Gut
This is ridiculously poor logic and the author should be ashamed to expose this flawed reasoning as an example of presymed intelligence. Rachel Carson did NOT cause ANY deaths because of her work. The cause of those deaths was malaria. Malaria was killing people long before the advent of DDT. Centuries before. That DDT was banned had to do with its own deadly flaws and nothing else. To try and hang mass murder accusations in this gifted and courageous woman is patently absurd.
Welcome to our glorious city and I'm very glad to see my home on the front page! Also, feel free to reach me (dy at deepmagic dot io) if you need Kiev-related help (or maybe programming help, as well)
> Why is reading lines from a file so hard?

It's not so much that it's hard, as is there's lots of options. Can you afford to read it all into memory as a String? Do you need to only read it bit by bit?

> Why is it my job to tell it how to buffer?

Systems langauges need to expose these kinds of details and levels of control.

> Nobody is going to know how to do this

I googled "rust open a file and read by lines" and got these results:

https://users.rust-lang.org/t/read-a-file-line-by-line/1585

https://doc.rust-lang.org/std/io/

https://doc.rust-lang.org/std/fs/struct.File.html

The first two show you directly how, though the first one is dealing with the error message. The last one shows reading it all in. I have some more work to do :)
It would require a warrant for grabbing email versus today's law which only requires a simple subpoena after 180 days.
The EU also has far fewer beating deaths, stabbing deaths, etc. Do you attribute that to gun control as well?

I'm aware that Europeans have their own unique culture with their own unique unsupported assumptions and myths. That's not really a substitute for evidence.

Also, you dodged the question of whether we should ban other things that are vastly more dangerous than guns. Weird.
Microsoft hosts the Windows source in a monstrous 300GB Git repository
How to Turn Your Bad Day into a Good One
You are making the false assumption that value is fixed for a fixed amount of work. Programmers, and more generally engineers, do not have a fixed value for labor. It is generally the case that it is much more efficient to have the same engineer starting and finishing a project. This means that you as a programmer, have negotiating power that scales with the amount of work that you have already done. If you are not getting paid in proportion to what it would cost to replace you at any given point of the process, then you are getting paid well below the actual "market" rate.

This means that if you are an at will programmer, you can do less work the closer the project gets to completion without it being a good idea to fire you. If a small raise disproportionately discourages this behavior, then it makes sense, but it does not count as "paying you more than the market rate". I suspect that you receive, on average, a smaller percentage of the cost of replacement as time goes on.
I'm also curious if they'd be able to match different encodings of the same video or would only be able to match against specific encodings in their collection.
CMake itself can be confounding if you want to do anything slightly unusual.
Could you explain NodeJS + Golang API (option 1)? How should Golang handle the API if I'm using a NodeJS/Express server as well?

Golang + NodeJS microservice (option 2) is the same as the example I gave right? Where the client only communicates with a Golang server, which forwards the request to NodeJS/React for processing. The processed response is then returned by the Golang server.

Golang + JS interpreter (option 3), again the client exclusively communicates with a Golang server. But Golang types are translated to the equivalent React JS components. Then processed with NodeJS/React and returned as a response by the Golang server. Is that all right?
As a former Cognitive and Inscape employee, @mikeryan is largely correct. Note that fingerprinting happens on the TV - no actual content was sent back to us. Still absolutely creepy.*

* Not the opinion of my (former) employer.
That looks interesting. It also has a web.py server that can be used to store data on a server somewhere.

Good stuff.
To what extent is React Native performance on iOS limited by the fact that an iOS application using JavaScriptCore outside of a WKWebView can't use the JIT compiler, but only the interpreter?
Devil's advocate: US economy, startups, and so on are stronger than that of Europe's.
What exactly do you mean by this? Could you provide an example?

Personally I think some big gains in documentation clarity could be made by sorting the methods differently, possibly more compactly; I remember when I was first starting with Rust it was easy to overlook trait impls, e.g. a useful `Deref<[T]>` implementation because they tend to show up further down in the docs.

I might also have benefited from a clearer overview of all the core traits in one place, especially the ones having to do with taking references. IIRC `Deref`, `Borrow`, and `AsRef` are all different traits and the differences between them (and how to idiomatically use them in common patterns) are not totally clear. But maybe I just skipped a chapter of "the book" or something.
Problem with everything in HTML was that you couldn't split HTML into small meaningful composable parts.

JS is actual programming language an you can split out styles to separate style library without using .css files.

You could also split out render function (that uses JSX) or its parts to separate file. But you'd rather keep it close to logic that interacts with it and keep the whole component, logic plus presentation small enough to understand with a glance.
> The use-case I need solved most often is the following:
Create a standalone "server" that accepts and responds to network traffic, has some way to store data, and whose dependencies (i.e. system packages, frameworks, etc) I can manage independently of any of the other "servers" I have running.

SaltStack, Ansible, Chef are all configuration management tools that serve this purpose. They let you configure a standalone box any way you want.

The only use case I see for Docker over one of them is if you want to run multiple, independent services on one server. But why would you want to do that when you're running in the cloud? I don't see the benefit over separate instances, each tailored to be the exact size you need.
1. it's PE, not VC
2. looks more like an exit for the founders
Does it only forward analytics using Google Analytics? If I use other forms of analytics, anything from Jetpack to AWStats, it sounds like I'd be missing out on recording traffic.
Cards Against Humanity's Superbowl Ad