skysight-inc/HackerNews huggingface dataset:
Ask HN: Allow Chrome sign-in option – does it work for anyone?
In Chrome 69 Google introduced a change that logs users into Chrome browser when they login to any Google service, such as Gmail. This created a huge backlash on HN and other forums. Google responded to this backlash by promising to include an opt-out option. The current version of Chrome does include this opt-out option. However, does it work? I turned off the "Allow sign-in option" and signed into Gmail, and Chrome signed me into the browser anyway.
Whether that's an advantage depends on your perspective, because what has really happened is that you have now created a new language inside the original language.
Relevant xkcd:

https://www.xkcd.com/1958/
This is along the lines of things I was thinking myself. I'm currently aiming to get the POSIX programs working 100%, which I don't believe could allow this. But, the framework for running managing foreground and background jobs should support both the POSIX and Modern syntax and something like this. This is EXACTLY the kind of thing I want to add to the new "modern" language!

Also, the ability to "rerun" previous commands from a buffer without actually re-executing anything would be a cool somewhat related feature.

If you want to chat about shells anytime shoot me an email or something: nathan@nixpulvis.com
Assuming that "Unix-like" is a spectrum, why does Linux have to be the furthest point from Unix?
Simply Sharing A Number Can Make You a Lot of Money Online Daily. $1500+ a Day
Now most online businesses out there are complicated but what if I could show you a simple system that has generated people results in their first 24-48hs by simply sharing a phone number or a website. Sounds pretty crazy right? I'm not talking about small money either. I'm saying that 6 figure income is very possible with this business that is currently close to a year old right now and still paying people out.

Simply Call 618-355-1121 to hear a 1 minute recorded voice message and use Promo Code:xxblakexx. Also you can checkout my website http://bit.ly/2RE7CaM . The truth is a lot of online businesses are complicated but this one is easy. See for yourself.
Throwaway obvious reason.

All of this stems from you caring about your job and the status it gives you.

After being burned twice on two startups that went on to Series B's, I'm done.

I no longer give a shit about my employer or if they live/die. I clock out at 5pm on the dot. I clock in whenever. Pay me, I'll get your features out and that's that. No I don't care about your estimates, no I don't care about your stock, no I don't care about your company's potential. Pay me, and I'm out. That's that.

My most recent gigs I choose the path's with the least amount of stock and most amount of salary.

I no longer give a shit.
You think your coworkers who actually live in that city and have real expenses wouldn’t rat you out the instant you slip up and they find out?
I'd agree that once presented with as stark an example as yours, it is common sense, but it takes some insight to create such a thought experiment in the first place.
I am not sure as I haven't done it, but this has been attempted at a generic level in many languages. E.g. there are multiple cpp-to-rust bridges. That's essentially how most Qt bindings work. Most of the trouble is probably around inheritance, visibility, etc. Well, that and the "provide and maintain [...] adapter" outside of the core supporting library authors has its own upkeep challenges.
i guess most languages do not add this because of circular reference problem?
Not really, I was offered a job in London for £110k, but I live in Wales where living costs are at least 3x lower, so I make less than 50% of that.

If you want to make more money (on a paper) and pay more taxes, move to places with higher living costs.
What is the flap about chlorinated chicken?
But why? I do use Tensorflow form the 0.x release and I'm still using it right now, migrating all the codebase to the 2.x version.

I can do everything in both pytorch and tensorflow and when I have to define really efficient input pipelines (tf.data is a great thing), parallelize and distribute the training and export a trained model to production... With tensorflow everything is easier.

Moreover, pytorch in 1.x will have static-graph too, exactly like Tensorflow.

Both frameworks are converging to something really similar. I don't see a reason to switch (right now)
> From a purely fiscal point of view, do we expect these jobs to generate $6100 a year in additional tax revenue for the state and city? That would be the "breakeven point".

You need way more than $6,100 per employee per year to reach break-even, as those employees will have definite costs to the city in the form of expenditures on services.

Strict cost accounting isn't really the right framework to use because cities have many people who cost more in services than they earn in tax revenues. You can't get rid of them because they're "unprofitable", and it isn't a city's job to turn a profit.
While true I'm not seeing how this fact will influence cities/public servants to not be so dumb in the future? Or stop these corporate welfare parades from happening again...

But knowing how regulation typically works they probably wont help either. They'll probably be over-bearing and quickly out of date, or more likely end up hurting local communities trying to get new business from small-medium scale companies while big mega-corps continue with business-as-usual getting free rewards from the state at the expense of citizens and smaller firms.
There are other reasons why many smart people are unhappy and it has nothing to do with how successful one is:

Solomon said:

16I said to myself, “Behold, I have grown and increased in wisdom beyond all those before me who were over Jerusalem, and my mind has observed a wealth of wisdom and knowledge.” 17So I set my mind to know wisdom and madness and folly; I learned that this, too, is a pursuit of the wind. 18For with much wisdom comes much sorrow, and as knowledge grows, grief increases.…
> to add a blaring alarm or scary pop-up to ask the user to confirm/check ... The downside is that it creates a horrible user experience most of the time

yes. at a medical data conference I once heard a doctor say that 70 - 80% of the alarms in the ICU where she worked were routinely ignored
Keras wasn't developed by Google, it was adopted by TF.

> My theory is that TF is used mainly because it is supported by Google, even if it is really badly designed for practitioners.

This is not correct. TF is mainly used because it's designed for industrial-strength machine learning. It provides primitives with an eye to scale from the outset (because it's Google).

It's probably true that prototyping / research was not the main audience. That's exactly why Keras was adopted, as well as features like tf.eager, to abstract away the underlying computation graphs and make it easy for people to try different things.

Well-designed primitives / abstractions are important; Tensorflow does this well.
The scientists saying GMOs are safe mean they are safe like refrigerators are safe. You can certainly create an unsafe refrigerator. Maybe it has a faulty ground wire and runs voltage through the handle. Maybe it is unbalanced and will topple over on you. That fridge would be dangerous, but fridges are not dangerous as a category.

That could be contrasted with products made of arsenic. Those are quite dangerous as a category because arsenic is poisonous.
It is in the works :)
Ask HN: Fastest way to build a crud app?
Any language, any framework, any paradigm. Both frontend and backend. No complex UI, no fancy extracurricular services, just standard crud.
> An ad doesn't need to be clicked, or have any form of interaction, to be effective, because there's no correlation between clicks and brand impact/recall.

With billboards there is an implicit "click" in a way for every car that drives by. It is shoved into their faces, whether they want to or not. At least online, you can block ads. So the action is a car driving by. With some modeling could guess how many average cars would drive on that particular segment. A billboard on a rural road might be worth a lot less than one one say I-90 or I-75.

With magazines it's the same, they know how may subscribers it was sent to, so there was always some modeling around number of impressions made. How well that's correlated to the people interested, and then people who went and bought something because of it is probably where most of the snake oil is.

Another interesting thing is that online, users don't have to just block click, but they can actively subvert the click-based metrics by generating false clicks. Which this extension does:

https://addons.mozilla.org/en-US/firefox/addon/adnauseam/
Show HN: Outvisory – provides on-demand access to industry professionals
Outvisory (www.outvisory.com) is a platform that provides on-demand access to industry professionals, experts, coaches, mentors, and advisors.

Users can browse and schedule calls / appointments with registered advisors using the site’s integrated HD audio/video calling feature. No need for cold email introductions on LinkedIn and the like. Advisors make their schedules available and you can schedule an appointment to speak with them when you want. Advisors set their rates (which can also be free) and you book an appointment to speak with them. Advisors are also reviewed by users after each session. Think of Outvisory as a Yelp for advisors.

Our goal is to make it easy for users to quickly connect with people who can provide them with answers to pressing career- or business-related questions.

We are now accepting registration for Advisors on the site. Anyone who believes that they have a high level of professional / industry expertise that others will find valuable should definitely sign up. We’d love members from this community to sign up as advisors.

We are also looking for your feedback as well.
To be clear, I'm generally talking about machine-width operations, in this case 64-bit output, not smaller operations like 8 or 16 bits.

For Skylake, we have 36 uops and 35-88 cycles of latency for a 64-bit div, and for idiv it is even worse: 57 uops and 42 to 95 cycles of latency. These can execute one every 20 to 80 cycles, so the throughput is fully twenty to eighty times worse than 64-bit multiplication.

> IMUL is often 2-3 uops on the same chips.

On Intel chips multiplication is almost always 1 uop if you need a 64-bit result (this is what a multiply in C will compile to), and 2 uops if you need the full 128 result. In in either case it can sustain one every cycle.

> However, uops are not the bottleneck, pipelined throughput is what matters for performance. Multiple IDIV can be in flight at once on different register sets (real or virtual). Register renaming gives even more room.

How do you know uops are not the bottleneck? They often are: it depends on the surrounding code.

More importantly, div is slow in every way that could matter: if latency is the bottleneck, div sucks (20 to 80 cycles, vs 3 for multiply). If uop throughput is the bottleneck, div sucks. If pure div throughput is the bottleneck (as you are suggesting), div still sucks: the inverse throughput for 64-bit div is 21 to 83 cycles: almost the same as the latency, so it is barely pipelined at all, and fully 21 to 83 times slower than multiplication.

Now one might say that you are mostly interested in 32-bit values, as these are common even in 64-bit code, and Intel has good support for them.

In this case div is quite a bit faster, but still dramatically slower than multiplication. In latency terms it is 26 cycles on Skylake, versus 3 for multiplication, so about 9 times slower. In "pipelined throughput" terms, it is 6 cycles per division, versus 1 per multiplication, so 6 times slower.

As a summary, we can say that on the most recent Intel, which probably have the fastest dividers around (and which have seen recent improvements), 64-bit division is anywhere from 11 to 90 times slower than multiplication, depending on how you measure it (and the input values), and 32-bit division is between 6 and 9 times slower, depending on how you measure it. I think my "10 times slower" which actually falls towards the faster end of that range is actually quite conservative!

On chips older than Skylake (which is the vast majority of chips you'll still find in datacenters and in the cloud, since SKX is quite recent), the situation is worse for div, since mul had the same 1/3 latency/tput performance, but div was slower.

> Do some timing and check. IDIV is not what it once was.

Here, I agree.

It has gotten much faster! In other words, it has gone from shockingly slow to merely very slow. It is still way slower than multiplication in every respect (which itself has gotten faster to the point where it has 1-cycle throughput now), and almost all of the tricks to avoid actual div instructions still apply.
More Information About Last Week’s Takedowns
I administrated an instance of GitLab EE for around a year solo for my previous employer. It was absolutely painless. The biggest issue I recall hitting was when I upgraded my LetsEncrypt setup broke, because they added LetsEncrypt setup to the core. The bug that caused it was fixed a couple days later anyways, though.

We used GitLab CI very heavily. The only issue we hit was disk space on workers filling up - but it was easy to resolve this by making a Cron job run `docker system prune`.

Generally, the GitLab team definitely has moved very quickly on new features and that has caused things to break here and there. I also agree they could use better regression testing. Still, they are very responsive to issue reports and most of the time issues that I care about are resolved very quickly.

GitHub as a competitor obviously is a lot more stable. But, I was definitely willing to trade some stability for the features GitLab offered, and I do feel they have been steadily improving in the past year.
When are they going to make WSL usable for developers, though? I have a nice Core i7 Surface Pro that's collecting dust because anything that touches the filesystem under WSL is too slow to use for most of the work I do.
Thanks for the link! That's a great resource and write up about the statistical heaping effect. I'll include that in a post update.
This is a really good example of an uncanny valley. Things like two staircases side-by-side of different sizes just looks... strange, even though there’s technically nothing wrong with it.
Why is it so big though?
On my system the Windows directory is only 5GB.
They then followed up six months later (December 2017) by raising that to the top 10% of San Francisco salaries:

> It started to increasingly seem like an arbitrary choice, and if we were going to make one such, why not go for the best and the top?

> That’s what we did. Starting 2018, Basecamp is paying everyone as though they live in San Francisco and work for a software company that pays in the top 10% of that market (compared to base pay + bonus, but not options).

Source: https://m.signalvnoise.com/basecamp-doesnt-employ-anyone-in-...
Checkout https://bigmultiplayerchess.com! its a multiplayer chess deathmatch variant (for free)
I half-agree. Maybe three-quarters? I would prefer that Apple let applications be distributed outside their app store; the mechanisms are all in place for them to be able to still have tools to stop genuinely bad actors this way (e.g., only allow signed applications to be side-loaded, so even if apps can't be yanked from a store, the developer certificate can still be revoked).

But even if they did that (which I rate as "unlikely but not as impossible as many others think"), there's a big problem with them being inconsistent and even capricious in rules enforcement coupled with badly communicating when issues arise. While that's a huge problem as long as they're effectively the only game in town for app distribution, it would... still be a huge problem even if that weren't true, because the chances are they would still far and away be the biggest app store.
Good idea, someone should write this up as an actual chart and size by financial impact vs competitors (eg walmart microsoft google barnes n nobles etc) to make it truly useful
So do you suggest that every executable on the system should be statically linked? (Early Unix was like this, too.)

Rust is apparently capable of producing shared libraries: https://doc.rust-lang.org/cargo/reference/manifest.html#buil...
Weekly API Security newsletter and feed
> Yes, some people will move into NYC for these jobs, but many of them will just move from another NYC firm to Amazon

But if those other companies then have to fill the vacuum by hiring even more, then it's still a + per job; and arguably more because increased liquidity in the job market results in more competitive salaries.
I'm not sure that's atypical though. Or companies make smallish adjustments based on location. They don't seriously try to compete with Facebook or Google on SV salary, know some people will work for them because they didn't get an offer from one of those companies, or prefer to work for someone else. Some people from those areas will take the job anyway and they're fine with not focusing on hiring developers in those geos.
Best four Black Friday VPN deals for personal use
> Also all of the desktop environments I've used have been really ugly (GNOME, KDE, Unity).

This is very much in the eye of the beholder. Linux with KDE has been my daily driver since at least as far back as 2009 (with the KDE 3.5 series), possibly earlier.

In no way would I say it's any uglier than windows, especially now with all the effort to make key GTK applications fit with Qt ones via theming. Windows 10's hodgepodge of old and new styles for things like settings is more offensive to me than anything a Linux graphical desktop does.

Agree the driver situation lagging on Linux vs. Windows is sub-optimal, but when the driver support is there, I don't find Linux to work any more poorly than Windows.

The reality is that every major desktop system has issues, but at least with Linux, if you learn enough about the plumbing, you can go in and try to fix or work around issues that arise. Until we move into a new world of robust, correct-by-construction, non-worse-is-better software, I'll take the lumps I get with Linux over the others whenever I have the choice.
Competition should be party neutral period as a rule of law thing alone in my opinion. As in offer tax incentives for say having 6k office workers who make a median income of 70k and don't impose externalities beyond a large office building's traffic - all legitimate interests to the locale and who they are doesn't really matter.

But that it is for specific companies both misses the point of a healthy economy and leads to corruption by definition - not being treated equal under the law.
I was responding to a post that started by talking about the left, in a thread that is entirely about political differences in what science is accepted. That's hardly a wild tangent unless the entire thread is.

Indeed the reaction to this post is perfect validation of the original claim. What I'm claiming here is not obscure, weird, or hard to find. Would you expect me to cite a claim that scientists generally agree that climate change is man made?

So why should I be expected to cite studies, when my claim is literally that they all say the same thing?

Anyway, I can see that we're deep in the thick of science denial in this thread, so fine. Damore already did cite studies, go read his memo to find the links. Or read this story by scientists saying that scientists agree with him:

https://quillette.com/2017/08/07/google-memo-four-scientists...

Or this article about the replicability of stereotype accuracy:

http://www.spsp.org/news-center/blog/stereotype-accuracy-res...

Again, I should not have to cite studies when there is a scientific consensus about something. It should be up to you to cite studies showing the opposite.
yes, but that was years down the line. And the point was replying to your earlier rebuke of this:

> Simply stating the facts that Europe’s wealth is because of world looting

I would say my example actually makes my point very well in that context.
Agree. I thought the length of each box may have some meaning. But it just seems to be stretched to fit the text.
With some infrastructure upgrades, they could merge the VRE and MARC routes to have regional rail that runs through DC between Maryland and Virginia. Crystal City already has a VRE station, so this could enable relatively painless commutes from as far away as Manassas, Fredericksburg, Rockville, and even Baltimore.

However, there are major organizational and political hurdles that would have to be tackled to put any new infrastructure to effective use, so I wouldn't hold my breath. But maybe Amazon's choice of location could spur things in the right direction.
https://en.wikipedia.org/wiki/Hypersonic_speed

The relevant regime for astronomical entities is in above the 'high-hypersonic' and into 're-entry speeds' (uber-sonic?). These are above Mach 25.

At these speeds, not only is the air no-longer considered an ideal gas, nor a two-temperature ideal gas, nor a dissociated gas (O2 and N2 become O and N along the wings), nor an ionized gas (electron temperature must now be considered), but rather a radiation dominated gas. Modeling these radiation dominant gases is very hard. As you increase the number of volumes to model, the computation load grows exponentially.
Why Amazon's HQ2 can be bad for host cities
The root cause are greedy loan providers that know payment back is a sure bet. My 50,000 foot view of the problem is that it is far to easy to obtain a huge sum of money to go to school for a career with no job prospects. My solution would be to factor in degree and ability to repay, making loans much harder to get. Also, I would revoke many degree paths from the ability to get approved federal loans.
Its a problem for Microsoft (or any other company) to force updates on consumers who paid for the OS and don't want updates. It isn't about security concerns, because the security-related updates are only a small fraction of the overall changes that Microsoft forces onto our systems. This would be true even if their forced updates worked flawlessly and didn't brick machines or cause other unwanted problem. End-users should have the ability to turn off updates and voluntarily accept whatever risks come with their choice.
I've seen a similar failure in a van. The van was equipped with antilock brakes, which override the driver's control input and reduce braking force when the speed sensors on one or more wheels detect that the wheel has stopped too suddenly, as if skidding. One of the sensors had malfunctioned, resulting in an "ABS" warning light, and a fault code readable with a tool indicating which sensor was malfunctioning.

Did it disable the ABS? No. Instead, it continued to rely on the faulty sensor information, activating ABS under moderate deceleration on dry pavement, greatly reducing the available braking force and creating a severe danger.

I think there may be a bias among people designing safety equipment to always try to provide the intended safety benefit, even when part of the system isn't working. The problem is it's easy to lose sight of how the safety feature fits into the overall picture. A pilot can almost always safely fly a plane that doesn't use automation to recover from a stall, but not necessarily one that uses the trim to point the nose at the ground in spite of control inputs to the contrary.
I infer you don't mean to have both immutable data structures and deep copy as features to use together, since immutables don't need to be cloned.
Amazon received incentives from the government, but the vendors they will provide business to did not. Amazon will likely pay out billions to build their new campus - going to construction companies that will pay taxes.