skysight-inc/HackerNews huggingface dataset:
I must be completely missing your point. React supports the vast majority of html elements. There's nothing I can think of about React that would encourage someone to misuse html, you're using the exact same tags you'd be using to create a vanilla site. The only difference is that you're declaratively defining how they change based on state.

A good html developer will still use best practices when using React, a bad one won't. What's the difference?
> The fact that there's a list means that some are not on it, which means that there is a gatekeeper.

It's not a whitelist, those are just the pre-written supported analytics packages. Scroll up on that page. It sends configurable requests to an HTTPS endpoint based on the configuration you provide.

Meanwhile you can write a PR to get your pre-configured service added to the list: https://github.com/ampproject/amphtml/blob/master/extensions...

I don't touch AMP and this was seriously like 10 seconds of searching.
> Her proposal, as reported in the media was, "'staple' green cards on STEM grads' diplomas".

Well, that's a terrible idea if she said that. She apparently wanted to depress STEM wages in the US and put Americans STEM workers, who worked very hard for their degrees and skill out of work. The green card, H1-B should only be given for STEM jobs for which there is no American.

So Clinton wanted to depress STEM wages and take STEM jobs away from Americans and Trump wanted STEM workers to be treated fairly.
> and this is without introducing MPI and all the associated headaches of working with MPI in something it doesn't support first-class

Have you looked into a language like Julia or a framework like Charm++? I've seen these used in research papers, but I'm curious if these are used out in industry.
Like this:
https://upload.wikimedia.org/wikipedia/commons/thumb/9/9c/Po...
> Vizio collected a selection of pixels on the screen that it matched to a database of TV, movie, and commercial content.

That type of technology alone would cost you at least $2M to build.

So either your statement is incorrect or Vizio got a terrible ROI on this (sans fine).
One use that I love is pre-packaged containers. I'm designing a system for a client that does headless web automation. I spent a couple of weeks trying to get various separate versions of selenium/Firefox/Chrome running along with Xvfb without much luck. The selenium project has fully tested and functioning container images that work every time.
>Unless you believe women in aggregate contribute less to society and therefore ought to make less than men do, the wage gap is a real problem that needs fixing.

From your argument, based on decisions women make, they contribute less to the company, and ought to make less than men do.

Therefore, the wage gap is not a problem isn't a problem that needs fixing. Stop dog whistling.
Owen Jones Meets Anna Soubry – 'I'll Never Forgive Boris Johnson'
Yep. This describes me. I'm an iOS developer who has been contracting for the last 6 months doing nothing but React Native.

I do hope to return to Swift once the language stabilizes a bit more. It was annoying not being able to easily use any third party swift libraries when Xcode 8/iOS 10 came out (Apple made some Swift language changes and all third party libraries had to update).

All that being said, I'm pretty happy with React Native, its waaay better than any other cross platform solutions I have tried.

It was interesting going to the React Native developer meet up in SF. Very few native developers were present, pretty much everyone in attendance was a web dev.

I think being a native developer who is good at react native gives you a competitive advantage.
Does this one-liner count as modern C++?

const string& s = max<string>("a", "b");

It makes a dangling reference that will crash when accessed. In Rust that's impossible.
To me, it is just currency difference and does not matter on engineer or skill. For example, when I was offered to move to the US from India, I was offered 3 times my Indian Salary to suit US expenses. Basically, the pay you get should match your expenses. So, if you earn in Dollars, you spend in Dollars providing your net savings be same as someone who earns in GBP and spends in GBP.

If you choose to work remotely, the story is different. You may want to negotiate to suit your local expenses and then it is up to the hiring company to decide if it can match your local expenses.
Almost none of the views used internally in React Native are "native". On iOS, only UIView, UIScrollView and UITextView are used, and every component is reimplemented from the JS side with some help with reinvent-the-wheel type native support. Button with highlight? JS animation on a text container view with a JS tap recognizer. Yes, even gesutre recognizers are implemented in JS, rather than using the native gesture recognizers. Animations - the same. Recently, due to great pressure from the community, some animations were added in native - and are still reinvent-the-wheel type animations, rather than using the OS-provided animation facilities. Controls already do not look or feel native, and once the OS changes its small details some more, it will require FB or the open source community to again reimplement the wheel, and then either have to support both old and new looks and feels, or only support new ones and look out of place for people that have the old OS yet (think of the iOS 6 -> iOS 7 transition, and how RN would look like on iOS 6 once they reinvented the wheel and implemented the iOS 7 look and feel).
I disagree fundamentally with Ajit Pai's reasoning that minimal regulation will lead to innovation and lower consumer price.

There are some industries that are natural monopolies, like water and electricity, because it's incredibly expensive to build both last mile connections and core infrastructure. They're also natural monopolies because you don't really have great, cost competitive alternatives to water and electricity provided on a large scale.

When you consider hard wired internet, it bares of a lot of similarity to utilities, in the cost and difficulty of accumulating infrastructure and in the absence of effective alternatives.

For that very reason, internet should be classified, like other natural monopolies, as a utility.

Moreover, last mile lines should be rentable or available through competitive bidding. There's actually enough dark cable to make some regional ISPs viable if they could actually get access to consumer level last mile lines. But Comcast won't get off them unless they're kicked off them. And if you try to build lines then Comcast will half their rates in the areas that you offer service in!

Of course, Ajit Pai will have a lobbying job earning well north of 400K the moment the Trump administration runs out the door so it's really not his concern.
Bubble Pop – Addictingly fun iOS game
I didn't pre-order the print, I just ordered the PDF version. If I remember correctly the print order didn't come with the PDF, but you get a discount if you get both. I'd check the site for details since this was getting on a year ago and my memory is poor.
People tend to think that refcounting must be faster than a tracing GC because you don't have to scan the memory. The second half of the previous sentence is true, but what they forget is that refcounting needs to do a lot of things that a GC doesn't have to:

Like you said, need to update the reference every time it's moved.

malloc becomes much slower, compared to a GC language (with a compacting GC) where malloc is effectively just a single add instruction.

free also needs to do a lot of bookkeeping while the GC language doesn't need to do anything.

Multithreading introduces another set of issues when dealing with refcounting that is not a problem with a GC.
Can you share how big your team is and how many people were proficient in which languages? thanks!
Perl 6, the music-less musical
I've always wondered, why don't regular $30-50 rice/slow cookers have better temp controls.. cost would be minimal
What takes up most of the space in the repo, is it just from code or are a lot of binaries in there? No doubt the windows code base is particularly large, but I would have though most of it would be slow moving.
Most people in the industry believe that the best way to increase your income is to change jobs. How often would you change jobs if failing to secure a position resulted in your near-immediate ejection from the country? Probably not often, and that's the situation that many H1B workers are in.

The general belief is that H1B workers are underpaid because they have less flexibility in the labor market. While they can move jobs, it's somewhat tedious and requires both companies to work together to make the transition. It's not impossible, but it's certainly not easy.

If there were less friction involved with moving jobs, people on H1B could shop around for a better positions without worrying about their residency should things go wrong.
There is nothing inherent to React which makes it easier to render on native platforms. This could easily be achieved with Polymer too - It's just that the Polymer community is much smaller so they're behind in that respect.
Mostly, it seems to be tightening the requirements for protection for stored data (including expand the scope of the warrant requirement), but some is loosening by expanding the scope of authorized disclosures (in a way that may or may not be reasonable; I can see an obvious reason for it in the case of cloud services where the host isn't the service provider, but it may also create a big loophole.)

There's also some seemingly gratuitous wording and word order edits that I'm not sure if they are technical corrections or have some non-obvious purpose.
Iterators exist.
That wasn't meant as a critique per se, the only thing that's your mistake (rather than a paucity of APIs) is the into_owned bit, and we want to deal at the language/std level with a lot of the common cases where type errors misdirect you into "into_owned"ing things.
Light gray color + thin font = no-go. But hey, the designer should be really happy (while the UX person is crying in a corner).
Well, I guess it's time to replace my otherwise perfectly-good Synology NAS on the double.
Just realized, we forgot to add our contact info right here: you can email work [at] bymason [dot] com
Well 5G internet service as I have read will become your home and wireless internet svc...all in one.

That means you will then have st least four to five (att, Verizon, Comcast, sprint and T mobile) broadband providers to choose from.

Sounds solid to me... one bill for my Internet on all my devices and lots of choice!
No, never moved to California. I'll defend that one as not a mistake, though.
Same version control as Linux!
GP's thesis is that Europe has no right-to-work laws, but America does, so America has higher wages than Europe.
We use changefeeds but just to update Elasicsearch. The key value offer is the very powerful query language which feels right at home in Node, strong robustness, and real proper join support with NoSQL.
Bots and cyborgs take over Twitter
You misunderstand. Studies about the wage gap look for reasons why companies compensate women less, and how much those different factors contribute to the gap. Research on the wage gap doesn't conclude that these causal factors morally justify the wage gap, because they don't.
String == &str works. Maybe you were encountering some other problem.
Yes, I have been inclined toward this view as well. But I would be interested to hear counterarguments.
...modulo inverting the result.

Math is hard.
That would make more sense.
> Maybe you're only loading a small configuration file, and so fetching it all in one go is better than dealing with a buffer.

If it's small, it can't be that much worse to buffer. What's wrong with reasonable defaults?

Can you tell me what it means to search for 'line' or 'lines' in rustdoc? Is this a command-line tool? I'm aware of the 'rustdoc' that generates documentation, but not of anything by that name that searches documentation, and Googling isn't turning up much of anything except the Rust book here.

It would be great to have an offline way to search Rust documentation and examples, as things like this make it very hard to write Rust on a plane, for example.

Googling often gives answers that are wrong or pre-1.0. You seem to have better luck at searching for the right things, perhaps because you are an expert in the language and know exactly what to search for.

(Amusing related anecdote: I googled for "how to return self in rust" and got a suicide prevention website. Jeez, Google, it's not that bad.)
> we still needed that extra 15% or so of "ambient" performance.

This doesn't make sense to me. That 15% of time is spent somewhere. It certainly isn't just "ambient".
it supports a bunch of analytics, but from my (tiny amount of) research it looks like you'll have to write your own config for those two:

https://www.ampproject.org/docs/reference/components/amp-ana...
Great game!!! Very addicting!!! Can't stop playing
Happy for them! The Anova product is great and they iterated on it properly. Unlike a lot of other Kickstarters I've backed...
"When a measure becomes a target, it ceases to be a good measure."

- Goodhart's Law
In the context of this discussion, a lot of those reasons are... idiosyncratic, and/or apply to Rust too.
I wouldn't take exception to it's stability if they didn't call it ACID compliant. I was about to use it in a setting where failure to be ACID complaint would be fairly expensive (but not safety critical). In just 24hrs of testing I managed to end up with a corrupt DB. In the same tests SQLite's been running for almost a year without corruption...
>> People who say 'look, the parliament is elected, therefore the system is democratic'

Well, those people are not me. I noted that MEPs come from outside the traditional political establishment and that MEPs like Farage, and others, represent views that are also traditionally left out of governance. That's not the "mechanism" in the abstract. It's the actual nitty-gritty of how it all works out in the end.

And that's your demos right there- the people, not the elites, or the corporations or whomever. The EU is democratic because it gives people an opportunity to choose its direction. The UK for instance, it chose to get out.

The Soviets? There you go- they couldn't vote themselves out of being Soviet. EU citizens can.

Still not seeing how it's all so undemocratic.
> I like this law. Now the real question - is it actually enforced? Because it's meaningless otherwise.

Right, yeah, see regulators don't want a court challenge. They could find their whole charter declared unconstitutional. Not as punishment, but simply because nobody ever challenged it.

They try to strike a balance between going to court and enforcing the will of the people/legislators/regulations. If it seems akin to a traffic ticket, well thats because traffic cops are doing the same thing
Agree that NativeScript is the most "native" of the JS cross platform tools, since it can use actual native concepts, such as controllers, views, gesture recognizers, etc, whereas things like RN throw the "native" word everywhere, but actually implement everything internally in JS. A small example - a tap gesture in RN is actually implemented using `touchesBegan:` API, which routes input to JS over RN bridge, JS performs the tap logic. Doesn't sound terrible, but consider that the RN bridge is async, so the user experiences a floaty behavior, and if that single JS thread is busy with some business logic, you are dead. Same for animations and interactions. Navigation is a joke, with current and other implementations being JS replicas of the real thing, and the native NavigatorIOS, the one to use actual native iOS concepts, being deprecated.

NativeScript also has a novel idea how to implement multithreading in JS, which is commendable.
Why ego is an opponent to creativity and success, and how to fight back
This is why i torrent behind a VPN despite being subscribed to HBO now, Netflix, and Amazon Video. My guilt is ameliorated and at least a sliver of ny privacy is maintained.
Sure, then you have a valid use case for C/C++ (even better, Rust!) But often people don't and still use C++.
Forge is a learning and mentorship platform for startups and small teams
I want the AMP page because the original page is usually an awful user experience. If websites served up fast webpages I wouldn't want AMP. But in my experience browsing news on AMP pages has been faster and better in nearly every respect.

We wouldn't need AMP if the average website experience didn't suck. It's unfortunate that most websites cannot do this[0] without Google forcing them to, but that's the world we live in.

[0] https://www.ampproject.org/learn/how-amp-works/
Having seen both the short and long term effects of both (sadly), I'd say alcohol is way more immoral in an universal (not social standard) sense.
That difference approaches zero as programming more symbolic and as implementations become more available.

Libraries like TensorFlow, Theano, etc. are great because then I can focus on what I want (math) instead of spending my time telling a computer how it should multiply things together in an imperative sense.
Agreed, but that Sword of Damocles cuts both ways. The thing you do with your data which starts out useful at first can and will easily erode into infrastructural debt if not built on sound foundations, which cannot be found off the shelf in standard scientific computing libraries that have been around for decades.
Crates.io lists the authors as "The Rust Project Developers", and has the Rust libs team as an owner. The dependencies are almost all maintained by Rust libs team members or are otherwise trusted crates.

https://crates.io/crates/regex

(Regex moved out of the nursery a while back)

The nursery is more of a "These crates are officially blessed and we wish to make them part of rust-lang, unless the community comes up with something better".

The guarantees aren't advertised, they're known. We can do a better job of advertising this, some of the work this year is related to that.
Unconscious Bias, What’s the Solution?
Probably because they need the highly-skilled people both in India and US - to put together fruitful collaborations like these [1] (which, incidentally, created a sub-field which employs hundreds of thousands of engineers, Americans included).

At the moment, it might be more economically sensible to convince the Indian to move to US than to convince the American to move to India. But if you make it too hard or impossible to do that, Google will re-evaluate options at their disposal and decide accordingly.

[1]: https://research.google.com/archive/mapreduce.html
>Anova has much higher power output especially on the larger (Wifi+BT) model

Joule has 1100 watts and the Anova (Wifi + BT) is 900 watts. So not sure what you mean by Anova having more power.

https://www.nerdwallet.com/blog/shopping/joule-vs-anova-sous...

I agree with you on the ease of cleaning. I also have both and the Anova seems to be a bit easier to clean.
One thing that I'd treat as a "tell" for how invasive Samsung's tracking is: how hard is it to disable the Smart TV functionality?

For example, can you disable the wireless interface, or will it keep asking you to connect it to the internet? Does the TV itself ask you to agree to a EULA?

I've been interested in the Samsung hardware, but only as a Dumb TV. This kind of data collection is not what I'd want.
Works just fine here: https://play.rust-lang.org/?gist=5a3228a1d42d81690458337eb77...

Maybe you were running into something else?
Oh, I guess the case of this I encountered most recently was actually Option<String> == Option<&str>.

I get why that's different, but it would be great if the type system could figure that out, so that the literal Some("foo") could be an Option<String> if necessary. Maybe I'm still being spoiled by Haskell's OverloadedStrings.
Quick tip: If you actually care about being downvoted, dont complain about being downvoted. Many people will do so just for mentioning it, it is against the rules, and it's whining about imaginary, non-transferrable internet points
> TV's with Roku built into it

I'm guessing that this doesn't just mean that it comes in the same box as the tv set.
Kevin Mitnick wrote about a similar hack over a decade ago: https://www.ethicalhacker.net/features/book-reviews/mitnick-...

I knew some of the people involved and actually saw some of the code if anyone's interested.
I've been a Perl user since 1994 or so, using it for an endless variety of small scripts to aid my $work and computer use in general. Since 2010 or so the vast majority of new scripts I've written have been in Perl 6, and I've ported a few of the older ones rather than try to make extensive modifications in my old Perl 6 code.

My biggest Perl 6 project (much bigger than anything I ever tried in Perl 4/5) is the ABC module [1]. This provides a grammar for parsing ABC music notation [2], a set of classes for representing ABC data, and some scripts built using it. The one I use the most is abc2ly, which translates ABC files to Lilypond format [3] for producing beautiful sheet music [4].

The other tool of mine I use routinely is TagTools [5]. There's nothing really fancy there, just a bunch of simple scripts which use Perl 6's Audio::Taglib::Simple module to work with the tags on MP3 files. But they were easy to write, come in handy for working with MP3s, and are easy to modify for odd cases.

Recently I've done a couple of scripts which rely on Inline::Python. The latest is wunderlist.pl, which I have installed in cron to update my Wunderlist to-do list every day. There is (to the best of my knowledge) no Perl6 module for working with the Wunderlist API, but there is a Python module, wunderpy2. There is a bit of boilerplate glue code there (lines 16-21 of the script) but once that's done using the Python module is almost indistinguishable from working with normal Perl 6. (Of course, if you're fluent in Python this maybe isn't such a big deal for you, but I don't know more than a tiny bit of Python, and Inline::Python lets me effectively use Python modules from the comfortable-to-me world of Perl 6.)

[1] https://github.com/colomon/ABC (Note that as I write this, the README is about 4 years out of date.]

[2] http://abcnotation.com/

[3] http://lilypond.org/

[4] For instance, http://www.harmonyware.com/tunes/They_Sailed_From_Belfast.ht...

[5] https://github.com/colomon/TagTools

[6] https://gist.github.com/colomon/89a6e7b8bf7694aa42e83058bb43...
Former NSA contractor may have stolen 75% of TAO’s elite hacking tools
Sure, but he was also blasting SV "elites" the entire time too. I mean, look at all the people that wrote this:

https://shift.newco.co/an-open-letter-from-technology-sector...
The way to calculate pay is:

(monthly salary + equity) - (studio apartment rent + tax + health care + 30 cappuccinos + 8 steaks + 50 lbs of tomatoes)

edit: times 12
Vizio might be able to delete the data but there is not much of a chance that the data brokers they sold to can. Probably already baked into their models.

Plus how is this verifiable? The fine should be a lot higher to discourage this action.
> Can you tell me what it means to search for 'line' or 'lines' in rustdoc?

Rustdoc has a search bar at the top. with 'line' it's the third result, 'lines' is the first https://doc.rust-lang.org/stable/std/?search=lines

and the short description makes it clear that the first two results are irrelevant in this case.

> It would be great to have an offline way to search Rust documentation and examples,

It all works offline. These docs are pre-installed for you when you install Rust, and 'cargo doc' will generate them for your whole project.

> perhaps because you are an expert in the language and know exactly what to search for.

I copy-pasted my search term exactly in the previous post.
This looks interesting: https://forum.synology.com/enu/viewtopic.php?f=7&t=119727&st...

See the last couple of posts in the thread as well.

Sounds like you can get an RMA, but it's a slow process.