skysight-inc/HackerNews huggingface dataset:
I can see the difference here.

Bees make honey for themselves, not humans. Humans disrupt their hive to take the honey bees worked to create and store. Merely moving them around to different feeding grounds doesn't take anything from them.

(to be honest though, they probably(?) harvest the honey that the migrant bees make...so...?)

Everyone has their own morals and comforts and taken to the extreme almost nothing would be vegan.

For example, I'm lacto-ovo vegetarian, if I was served meat in a restaurant on accident I'd send it back. Some vegetarians consider eating it instead to be the ethical thing in this situation, because the animal is already dead, its already prepared, and sending it back would be wasteful. I personally couldn't stomach that, but I can tolerate some very minor cross contamination, especially if I don't personally see it happening! Otherwise I'd never eat food I didn't personally prepare and that would reduce my quality of life. I also don't think I'd be able to stomach lab grown meat either even though there isn't an ethical or environmental concern with it.

(and honestly, even being lacto-ovo in the first place isn't a perfect position.)

Another example, I know some people who are otherwise vegan but will eat eggs from backyard chickens because they know the owners and know the chickens are well cared for and live a good life. So they consider it ethical.

Many vegans have pets.

Disclaimer: I do NOT personally see honey as "exploiting bees."
Anchore 2.0 container security scanner is now available
> to prove at compile time when you have racy code

Check out Pony.
Among the very fastest-growing new tech companies, the average founder was 45 at the time of founding.

It says "at the time of founding"
> Vegans own smug and 'ethical checkmate' inanity

...the loud, obnoxious ones you know about, perhaps. Most vegans and vegetarians in my experience (hopefully including myself) don't try to preach, lecture, or abuse...but you likely don't even know their eating habits as a result.

Likewise - are you even hearing from actual vegans/vegetarians? Or are you hearing repeated stories that curdle outrage?

When I was in high school I wrote an essay about how ridiculous it was that I could be insulted for daring to hold a door for a woman when I hold doors for everyone! It was a couple of years before I realized I never HAD been insulted, I had simply been told I could be. This has happened with any number of items in my life: the outrage far exceeds the actual experiences.

I won't deny there are _some_ smug and self-righteous vegans out there - there are annoying people everywhere. But have you actually encountered the "community" (to use the word from above poster)?
Old versions of MySQL had an edge case where, if you delete the last autoincremented id and restart the database, the ID was reused:

https://stackoverflow.com/questions/18692068/will-mysql-reus...
It's pretty sweet. I just fielded a full online order system and did it in 30 calendar days flat. It wins five-star reviews from my users and raving compliments.
This - Java 8 'feels' legacy, but in so many ways it's miles ahead of upstarts.

Sometimes we forget that the JVM (almost) = Java and that thing is a beast.
Huh, TIL. I literally had a Microsoft sales rep tell me otherwise. Anything to get the sale, I guess.
Convenience is what allows them that. Look at what you just said: “on YouTube”. Part of the ability for them to talk about their lifestyle choices comes from the convenience of having YouTube to share it.

That’s the true beauty of convenience. Would they be as fulfilled if they were unable to share? Probably not. They reached greater heights of self-actualization because of this. And what made that possible? Digital video recording, not flipbooks. An internet connection. Not carrier pigeons.
I've never heard of an EU country where it would be legal to enter without ample warning time.
Well I guess that makes the construction deadline a little easier to hit :P
unfortunately, anti-GMO, anti-vax, anti-science etc. is becoming more and more synonymous with the vegan community. The "what other beliefs does this vegan hold" bingo is becoming more and more disillusioning.
I can't tell. Is that just a pun, or does Pony actually help with this?
> The us federal government via Congress can certainly pass laws that supersede state laws

But it cannot force the states, specifically, to enforce them.

https://en.wikipedia.org/wiki/Tenth_Amendment_to_the_United_...
It's easy enough to select commits from one user, or squash whole branches. Our devs are judged on completed features they deliver at acceptable quality, not their commit history.

I'm not saying you shouldn't care, just that I don't believe this strategy will become mainstream unless it gets much easier to understand and use.
Having a key sequence is fine. Remembering the key sequence is annoying. Every OS and UI wants to have it different. Modern OSes even get rid of hints and text so people don't even know that a key sequence is available.
This is my favorite quote:

> For better or worse, the world still runs on Excel, Java 8, and Sharepoint, and I think it’s important for us as technology professionals to remember and be empathetic of that.
I think Best Buy has already done this in the electronics segment- I now will often look at Amazon first then switch over to Best Buy to find the equivalent, buy it, and pick it up on the way home. Their willingness to match prices with Amazon has been key.
The tech to distribute an app? You mean Google Play, lol? A teenager can get an app in there.

Uber can't afford to run a national taxi service at scale for the same reasons no one else has ever done so. The economics of a taxi fleet don't scale to that size. Owning their own autonomous vehicles would only further erode their non-existent business model.
I am guessing the same mechanism that allows them to change the url on scroll, would be used to change/reload the ads as well.
Hey Nick. I'm the PM for Windows Terminal, and formerly, WSL:

Thanks for your thoughts on WSL & the new Terminal.

Re. release mechanisms, etc: Terminal will be delivered via the Store so we can ship out-of-band.

We're aiming to deliver new Terminal preview builds every 2 weeks or so which, since we're delivering via the Store, will auto-upgrade everyone soon after each release.

Re. Insiders: We do NOT gather any personally identifiable information. We only collect anonymized statistics about some of the features you use and/or issues you experience. Why? To ensure that we can find and fix issues as effectively as possible.

For example, with WSL, we collect the number of times an un-implemented syscall is called, or # of times a syscall returns an unexpected error. We couldn't care less WHO experiences these issues, only how OFTEN they occur. This info (esp. combined with bug reports in our repo, etc.) has been essential in helping us prioritize which syscalls are being called, which we've implemented, which are failing, and thus, which we need to pay attention to. Without this info, we wouldn't have been able to make WSL as good as it is.

We understand the community's concern about data collection - heck, EVERYONE should be - but in the general scheme of things, I think it fair to say that Microsoft's telemetry data collection is pretty well contained and is not egregious.

If you'd like to see what telemetry is being collected, on your machines, this may be of help: https://docs.microsoft.com/en-us/windows/privacy/diagnostic-...

HTH.
While they have 27 million shares short, you may want to look at Levine's take today on that - not all the shares are actually available due to hedging exposure. The 27MM is on top of the 33MM, not out of them.

Levine:
"Here’s a pretty good statistic about Lyft Inc.:

Short interest in the No. 2 ride-hailing company has risen to 27 million shares, according to financial analytics firm S3 Partners, while Lyft’s public float is about 33 million shares in total.

Lyft has 285.9 million shares of stock outstanding (including regular Class A and high-vote Class B stock), but a big chunk of those are held by insiders and early investors who have agreed not to sell them for six months. Lyft only sold 32.5 million shares when it went public at the end of March. But now there are, apparently, some 60 million shares publicly available: 32.5 million from Lyft, and 27 million from short sellers. Short sellers have basically doubled the supply of Lyft stock. If you own a share of Lyft, there’s about even odds that you bought it from (someone who bought it from (etc.)) the company as part of its fundraising efforts, or from a short seller as part of her bet against Lyft.

Or, not necessarily her bet against Lyft. One thing that seems to be happening with Lyft is that some number of its pre-IPO shareholders have somehow managed to hedge their exposure, despite the lockups. The banks that are helping them hedge have shorted the stock. This means that some of the shares that are now publicly available are sort of phantom emanations of shares that aren’t yet publicly available; they are locked-up shares that have nonetheless been sold short. They are not new shares created by short selling, but shares that will be available in the future and that have been moved forward in time by short selling.

People always believe that there is some natural limit on the number of short sales, by the way, but there really isn’t. If there are 32.5 million free-floating shares of Lyft, then some enterprising short seller can borrow all of them and sell them to other people. But now those other people own 32.5 million shares of Lyft, and they can further lend them to another (or the same) short seller, who can sell them to yet other people, who will now own shares and be able to lend them, etc. This tends to peter out—some holders won’t lend the stock—but there is no physical requirement that it will. If enough people really wanted to short Lyft stock, and enough people really wanted to buy it, and also enough people wanted to lend it, then there could be 270 million short shares instead of 27 million. The stock market is not just a mechanism for financing companies and allocating their ownership; it is also a mechanism for betting on them. The financing and ownership things are limited by the actual size of the company, but the bets are not; they are limited only by the demand for betting."[0]

[0]https://www.bloomberg.com/opinion/articles/2019-05-10/the-un...
Interesting that the vast majority of comments here assume the facts of the case. Nobody read the article.

It's wasn't the door to their apartments! It was a common door to the building. The case was not "won", it was settled, and there is no precedent set.
If you're on PC 'R' restart the level. If you're on mobile, clicking the screen does.

All the levels ware procedurally generated, and I want to ask people how difficult they think they are.
It's fun to reduce complex, varied and nuanced ethical stances into as few as possible boxes and give them cool names like sufficientarianism, and that way, we can all pick a clan and then argue about true scotsman all day long.

I'm curious, what ethical box would I fit in if I'm more worried about maximising my sustained access to high quality avocados and honey? So that it is the balance optimum between being healthy and safe to eat, produced sustainably, delicious, varied in flavors, and available for me to buy year round?
Fun story : i had to develop the same system for two different companies, one a startup with 3 employees (the founders) , the other a billion dollar business. Just a backend api & web interface, together with an iOS app displaying the content.

I could use shiny new tech for the startup (which at the time was python on app engine and its nosql datastore, with a backbone.js framework), whereas the other one forced me to use java and deploy the code on the big corp datacenter.

The start up code was built in two months, and maintained by an intern for two years with success. It basically cost nothing to run.

The big corp code was built in a year (note: i did know how to develop in java), people in charge couldn't manage to deploy it (i had to do it myself, despite just discovering their infra on the spot), and i had to maintain the code myself, because despite huge code guidelines and restrictions on the technologies allowed, nobody inside was assigned to maintaining the code.

So, yeah, there's definitely a danger to absolutely wanting to follow the HN hype. But don't feel good if your company relies on 8yo tech and process. It could be loosing a TON of money by not staying up-to-date with the state of the art.
Also, if you feel uncomfortable for charging for specs, you can always agree that the fee will be waived if the client decides to commit to the project.
Developer’s choice: an overview of the best front-end frameworks in 2019
PostgreSQL today is finally deprecating the OID feature they inherited from the original Postgres code. The OID used to be an implicit row ID that would have these problems.

The OID is generated from a sequence shared by all databases in the "cluster" i.e. the PostgreSQL server instance. So it is not only non-deterministic based on insert orders to your DB, but also is affected by inserts in other databases on the same server.
That's correct. If you would be pissed if it stopped working, don't buy it. Same for other "smart" products like smart watches. They have to have plastic bodies because they have radios. Because they have plastic bodies, expensive materials in the bezel or band make no sense. Their electronics and displays will be out of date within 3-5 years even if the OS continues to be supported. If you can't treat it as disposable, it's not for you.
sounds like what taxicab companies have been doing for centuries.the question is what growth prospects uber has in a market that is already saturated and fighting for the bottom line, as there is little barrier for a new entrant.
The problem is that veganism is inherently a no-compromise position, the explicit goal is no harm to animals, which makes issues like this a glaring inconsistency.

Other diets such as vegetarianism are much more clearly harm minimization based, which makes it easier to deal with issues like this.
Now that you put it that way, I am a "dark" employee. ha ha
A Chinese Scientist Broke the Rules to Create the First Gene-Edited Babies
China imports garbage and recycles it for raw materials. A lot of that garbage contains circuit boards, which use solder composed of 50% lead.
Not all astronauts are pilots
This isn't going to bother anyone, since vegans have made peace with killing thousands of insects every time a field is harvested.
Chinese charged in Anthem hack, 'one of the worst data breaches in history'
At least part of this is due to just simple statistics, right? A 40 year old has likely started more companies than a 25 year old, because they've had more time.

I'd like to see more data comparing the success of a startup with the Nth attempt that it represents for an entrepreneur. For example, is it better for someone to try to start a bunch of little companies and hope one takes off, or to work on one company for a long time? Etc.
Hate Cheaters
Do you need to gather evidence against your partner whom you suspect is having an affair, you can talk to an hacker/Private Investigator who specializes in cheating spouse surveillance who is very good without paying any deposits.Message @michael_ptp on Instagram. He can get you passwords and message logs from their phones remotely.

I hope this helps
I don't think ALL of the ads are generated when you load the original page. The ads corresponding to the second article are loaded when the second article loads.
I think that's because non-vegans think vegans draw arbitrary lines to separate themselves from vegetarians. For example, vegans refuse to eat honey (insect labour) but seem to have no issues with eating figs (which contain the remains of wasps), fruit which has been pollinated by bees (insect labour), or cashews (human suffering).

In general, the ethical question of how to assign moral weight to different beings is an open one. Some people would argue that a human being has greater moral worth than an insect. Others argue that all animal lives carry equal weight with human lives (I don't know who these people are, but they worry me).

Moreover, when people (unprompted) claim to be vegans in the presence of non-vegans, they are morally distinguishing themselves. It is the unstated claim "you are in my out-group" that non-vegans find so offensive. But then, a lot of people are offended when anyone they might call a friend goes out of their way to make a moral distinction, and this is not specific to diet preference at all.
PRs are a good unit of changes for examining meaningful units of changes. No reason to lose info about how the sausage was actually made, it is also a valuable record
Yes, you are very right. The function of most microcontroller/embedded systems are almost all input/output (sensing/actuating). The challenge is that combined software+hardware systems can be hard to test, especially together.

The traditional way to simplify QA is to use a Hardware Abstraction Layer in the code, which hardware side-effects happen through. So you have a classic layer cake like:

| App Logic (imperative, stateful) |
| Hardware Abstraction Layer (interface) |
| Input/Output (implementations) |

Then during testing of the software application logic, a mocked implementation of the HAL can be used. When done with due care, this works OK.
In this basic model it is OK to read input and cause outputs "anywhere" in the application logic. That is easy and convenient, but (I argue) that this causes pure logic to be rare. Which is unfortunate, since it would be much easier to test. State also tends to be spread across the code-base, which can hide stateful behavior that is critical to test.

In the proposed model, the HAL functionality is split into two distinct parts: input and output drivers. And the application logic does not call the HAL, but gets called with Input and produces a description of Output. So the layer cake kinda tips sideways:

HW input driver > Input (data) > App Logic (pure) > Output (data) > HW output driver
| |
< State <

During test of application logic we have:

input generator -> App Logic -> output capture

and can then perform validations on who sequences of Input/Output pairs. And debugging can trivially access whole sequences of State changes.

Those familiar with dataflow programming might find this very familiar. Frontend people might see parallels to unidirectional flow of data in reactive UI frameworks like React. Simulation minded people might see that this structure is very amendable to Discrete-Event Simulation.

I have used this model to good effect across many (relatively simple) embedded/IoT systems over the last few years. One thing I really like, is that it makes temporal logic very easy. Because in this model the current time (be it ticks or wall-time) is just a type of input. So it is easy to stimulate, visualize and make assertions across whole timelines of behavior, and one can see many such timelines at the same time. Similar to what Brett Victor showed with Mario in Inventing on Principle.

Have been meaning to write more about this for a long time, so apologies for the mini blogpost :)
Some very related writing in http://www.jonnor.com/2017/03/host-based-simulation-for-embe...

PS: the comment by pault is to the point, and right on the money.
> Google would likely launch this functionality with Pixel devices first and then convince other Android makers to play ball. We’re easily a few years away from people using their Android devices as IDs.

Any Android announcement that seems useful or valuable is always several years away for most of the Android devices in use.

I read another article about “Project Mainline”, which is about getting security fixes quicker to devices directly from Google. That one also had a similar statement.

If Google spent a little less effort on tracking and advertising, and more on making the platform secure and consistent across more devices, that’d be good for everybody (since low priced phones are mostly Android, and are used by people who cannot or do not want to spend a lot of money).

This [1] is an old talk by Christopher Soghoian that still rings true today (with added privacy goofs by Google revealed in the meantime).

[1]: https://www.ted.com/talks/christopher_soghoian_your_smartpho...
Pick a primary key (i.e., set of columns) for a table. If you expose this outside the database in stable ways (e.g., in URIs), then do not permit changes to that table's rows' primary keys.

There's NO NEED for a primary key to be an INTEGER or any sort of ROWID.

I agree with TFA -if this is what it says- that one should not put INTEGER PRIMARY KEY values in URIs -- it's useless to users. Just make the "slug" a column, make a NOT NULL and UNIQUE, disallow changes, and use that. You don't have to make the slug a PRIMARY KEY -- NOT NULL and UNIQUE has the same semantics as PRIMARY KEY.

Surely TFA wouldn't argue to have no DB key at all in URIs, so I won't bother with that possibility. And yes, I should read TFA...
Everything is fine with HN front page - technology enthusiasts should talk about bleeding edge technologies.

You expect them to discuss VB6 or Sharepoint? Well, problem is not with them.

If you don't learn new things your skills will be outdated soon - world is moving forward, technologies are running forward. You shouldn't rewrite everything with new tool/language, but you should constantly read what new techs are around, what is interesting or useful for your business or just you personally.
You can already make an App impossible to leave without re-entering a PIN. This feature is available on both Android and iOS.
Git rebase is great. Honestly I think the argument that "if you have to push -f that means rebase is wrong" is making a huge assumption about how people use branches and why people are force pushing branches.

Force pushing branches is what you do when you have pushed a branch that you expect to modify. Why would you do that? Because that's how Github and Bitbucket have taught people to conduct PR's.

If your immediate reaction is that "rebase is bad UX", ask yourself whether or not pull requests are good UX. I honestly think rebase is great, but that pull requests are extremely bad UX, and the UX blame is misplaced on rebase when where it really belongs is on pull requests.
This seems to crop up all the time when it comes to idealistic movements. It certainly has happened to different forms of communism, arguably sunni vs shia, vegans being fed up with vegetarians etc

I'd love to know if there is a handy word/term for this phenomenon where an odd amount of energy is spent opposing those people/views which are more similar than less similar.
Isn't this what Bimodal IT strategy all about? You'd want to keep current with cutting edge (through sites like this one) so you know which future looks promising and then incorporate the changes into your organization's systems when the time is right.

I enjoyed the article and too have felt the urge to think "why aren't we doing that?" but the business still needs to happen while you're also experimenting with tensorflow emoji recognition.
I vote for making it a criminal offense, but I highly doubt any of the passengers are "trained" to not do that. Being told to do something is barely "education", and it is definitely not "training".

Perhaps people should be taught that aircrafts are dictatorships. The crew of a ship has legal authority over passengers. The politely-spoken comment, "federal law mandates that you follow crew member instructions" in their 5 minute briefing doesn't seem to stick out to anyone.