skysight-inc/HackerNews huggingface dataset:
As other people are saying, you haven't really given enough information for someone to suggest a definitive data model.

By "Pet" class, do you mean a table for pet records?

Pets are animals that humans decide to take care of. Should a "Pet" be a state of an Animal? So, should it be a simple boolean column on the Animal table?

Having an AnimalRabbit table implies a many-to-many relationship between Animal and Rabbit. Are you storing different rabbit types as parent records? If so, why not avoid the join table, store "rabbit" as a record in the Animal table, and have the different rabbit types in the Rabbit table.

Without more detail on what you're trying to do from an application standpoint, it's tough to give recommendations. Entity-Relationship Modeling purists believe in defining entities and their relationships without implementation detail. I've always found that to be a crock. You need a certain amount of detail to model better.
What’s memegen?
I am actually preparing my own article titled "Docker antipatterns" that will include many more points like this.
I am surprised we still rely on browser agent, if HTTP2 is supported on the client side, i'd consider that as a modern browser and the rest can be done in javascript.
Except they are securities as the public perceives them and the SEC defines them by the Howey test created by the Supreme Court. Doesn't matter how any given project wants or intends them to be used.
Honeywell One Step Closer to Universal Quantum Computer
AI and How It’s Helping Startups Grow Faster
One of the most iconic images of my childhood is when my scientist-inventor dad attempted to reproduce in his own lab the Fleischmann–Pons experiments of the late 80s. He'd built (I think to spec) an exact replica according to the published designs. Of course, nothing ever came of it, but it still fascinates me to this day thinking of him laboring over that. (The long beard and unkempt hair lent well to my image of him as mad scientist.)

I asked him later about the results of those experiments, and his sort of retort sounded like an embarrassing admission, something along the lines of "nothing will ever come of that."

I still idol the awesomeness of those days though.
Falling diesel fuel demand in China paints bleak picture
great for data that is mostly read intensive. not so great if you have lots of writes.

@maxk42 approach with the relationship table works well for both read and write intensive applications.
To me it sounded like olooney was arguing a third option:

3. Google will fail to achieve cold fusion but possibly get some patents which will make them money, but do little to advance overall scientific progress towards economic fusion.
I was speaking from the point of view of non-musician/non-specialist. In my subjective opinion, Couperin would definitely make the top 100 of best classical composers, while I'm not so sure about the rest. Sure, he's no Bach, but he's still one of the top composers of baroque period: https://www.baroque.org/baroque/composers
All I needed for my grids was display: table with row wrapping. I got magazine layouts instead with worse vertical alignment of cell content. CSS Grid is cool and does previously impossible things, but I wish the industry fixed old techniques (where is 'gap' in flexbox?), instead of jumping on the next big thing.
The question about the series, when something particularly unrealistic occurs, like the movie trope of three heroes volunteering to open the sluice gates, and having to swim through water, and having their lamps all go out at the same time - that happened - is whether the mini series is showing something unbelievable, but true, or something that just didn't happen.

By and large, the creators always tried to be biased away from the fantastical elements. That is, they left parts out of the movie, that while 100% true, just sounded too unrealistic.
Not anymore. It's not included in modern versions (after the changes in Add-Ons for Firefox's Quantum update).
Even for companies who are supposedly privacy-forward, their defaults say otherwise. A brand-new iPhone has all these privacy settings that are off by default, and that are usually confusingly labeled and buried several settings screens deep. Nobody really turns them on outside of a very small bubble.

Once companies have your trust, they can't help but break it if it'll earn them another few bucks. Yelp's a household name and doesn't seem like a bad actor, but that's proven false by this article. Furthermore, while they claim to have your best interests in mind, Apple (and Google) let companies perform this kind of shady behavior on their platforms that they completely control. If they let others get away with this, can you really trust that the "don't upload my photos to your servers" switch really does what it says it does? How do you know your phone isn't recording audio and taking photos to send off to a datacenter in the middle of the night?

(To be fair, a lot of this data that's being sent out probably has something to do with background services designed to make the experience better. Weather Channel might be gathering location in the background for more up-to-the-minute forecasts. For things like cloud storage services, scraping your camera roll and uploading the photos is probably something you ask them to do.)
We detached this subthread from https://news.ycombinator.com/item?id=20030438 and marked it off-topic.
Could you elaborate on the remaining problems with Nix for building Python images?
In an abstract sense, no. In rust, it matters a lot. The first reason is that we don’t have a runtime. The second is stuff like http://aturon.github.io/2018/04/24/async-borrowing/
This is great advice, taking it easy and letting the relationship develop organically.
I look forward to the fringe left and mainstream media conceding more and more ideas, symbols, and words to their alt-right enemies.

I'm waiting for the Gay Pride Flag / LGBT Flag to be conceded. So that I can finally be called a Nazi for supporting LGBT rights and refusing to let the alt-right co-opt everything and anything they decide to meme. For anyone imaging how they would co-opt the flag: Colors aren't mixed in a rainbow. White supremacists are against "color mixing" (interracial relationships).

Supreme (the clothing brand) will be targeted soon and it isn't a huge leap to tie the name with white supremacy.

Media coverage knows this is a hoax to make them look like idiots. They'll drum it up anyway for the clicks and ad revenue because people don't seem to care how accurate or intelligent their media coverage is: it's long been about entertainment - not news.
In The Netherlands it's 40-50% for most cars yet big cars are still seen as a status symbol. Thankfully the cycling infrastructure here is fantastic so I can almost always use my bike :)
Many services allow uploading arbitrary images. This is certainly a threat they should mitigate against in their sandboxing strategies.
So, in short, the test was failing because the code was incorrect, aka the test was working as designed. We've all had flaky tests but the attitude that says "run it again" has always been the wrong one, because there is a problem, yet we're all ok with deferring the issue.
Exactly this, the numbers of casualties and description post disaster and the heroics during the disaster are not corroborated by the data.

Given the secrecy of the old Soviet system about such "embarassing" events I doubt we'll ever know exactly how many people died but the massive casualty rates that get casually flicked around make for a good story but aren't supported by any external documents at all. Perhaps we'll find a mass grave somewhere full of radioactive bodies of dead workers but barring that, most data based consensus puts the total death toll from all radiation effects at less than 1,000 and usually less than 100. But even that brings out the challenge right? So if person dies because they fell off an earth mover that was building an earthen berm to shield an area, that is clearly a death, it wasn't due to radiation and it could have happened on any worksite (like building a levy) but happened because this person was working at this disaster, does that count? Do you see how it gets complicated?

What is perhaps most interesting about the exclusion zone has been how effective it has been at recovering its natural state. It it certainly not a "radioactive wasteland" and there are numerous reports of people hunting (and eating) some of the now abundant wildlife there. It isn't the picture "post nuclear disaster" that most people have been given.
I grew up dirt poor, and was heavily exposed to financial hardship.

I don't live frugally, but cheaply, and every single penny I spend on things that aren't "necessary" causes me mental anguish. Any purchase above 10-50 dollars requires actual effort to "psych" myself up for. I am underpaid for my industry and position. I have a years salary in the bank.

This is what poverty does to a human. The destruction caused by such anxiety cannot truly be fixed. Every day we don't strive to help our fellow man is a day we condemn thousands to a life of anguish.

Remember that next time you vote
Cascadeur: Physically-based approach to game animation
Maybe another way to put it: #4 works as long as neither party is overly selfish. That doesn't mean that both will spend the same, though. Equality of expenditure isn't as important as equality of happiness/contentedness. Prizing the latter more than the former is the real goal, so really - however you get there? As long as it works for you and your family, go with it!
Just wanted to point out that Gmail has a Confidential Mode that can prevent forwarding, auto-deletes and allows the sender to control access to a sent email including removing access.
https://support.google.com/mail/answer/7674059?co=GENIE.Plat...
Understood that Signal has other useful security properties but this is useful for folks that use email.

Disclaimer: I work at Google.
The three workers wading through water to open the sluice gates did indeed happen, but it's worth noting that all of them survived just fine and at least two were still alive as recently as a few years ago.

I agree, though, I love how many tiny things that are actually true they managed to squeeze in there. As another example, the part where the firefighter's wife bribes her way into the closed hospital in Moscow - that really happened too.
What other options would you have in such an extreme situation? It seems to make sense to me.
There was not just disagreement within the community, but also within the language team. Any other language is going to have the same problem at times (except for those that are a one-man show). The only difference is that you see how the sausage gets made. (Also, electronic communication is less efficient than in-person.)
There are also fusors which you can make at home http://discovermagazine.com/2010/extreme-universe/18-do-it-y...
This is a really cool application. I like that you are advocating for internet privacy. To add on to this, it would be cool if you made a .onion version of the site for even better privacy. Then google isn't collecting my data while I am on the site.
Iota Announces Coordicide Solution
It's interesting which topics certain communities are ready to outrage over and completely forget about quantifying... I say this because I've been under the impression recently that:

* The USA actually properly landfills the vast majority of its waste these days

* Most of the plastics entering the ocean come from improperly disposed waste, and from countries outside the US

* The illegal waste shipping to asian countries is mostly from a small pool of shady, bad actors

Any waste coming back to the US can be more properly disposed of; we have the infrastructure in place it's just apparently more expensive than scamming Malaysia. I would like to see some actual data before getting all outraged at entire countries and depressed that the USA is shipping all its plastics overseas(it isn't).
Cut Off from ARM, x86, What CPU Architectures Can Huawei Use?
I graduated in 2012.

My total bill was 30,000 USD for my bachelor's degree.
There's probably multiple factors. My guess is high social status. Having high social status confers a high degree of safety, especially evolutionarily, and yields good reproductive success.
That requires strong social and interpersonal context, which is very difficult on the Internet.
The show's writer actually reduced the number: https://www.reddit.com/r/TVChernobyl/comments/boo19f/did_she...
Not sure about Python, but I think its language specific. In the JS world, we have "yarn upgrade" which bumps all non-major versions of your dependencies to the latest. It then locks them in until the next time you upgrade something. There are other actions that may also upgrade them, but it's always through a dependency change in some way.

I still think the overall advice is good. We depend on node in our Dockerfile like this:

FROM node:11

If we went further into the version, of course we'd be even better off probably, but there's a tiny point to make here. We don't build any docker images for deployments from dev to production. In fact the last time a docker build is run is for the development environment. After that it's just carrying the image from dev to qa to stg to prod, and we simply change the configuration file along the way.

This makes it so that we're not re-building again and possibly getting a different set of binaries that were not tested in any of those other environments.
Motorbiking on World's Deadliest Roads
> If you are making a web app (like my company does) that needs to print to a label printer how should we do that besides switching to a native app that all of our clients need to install and maintain?

So rather than just doing what works and shipping a native app, you instead rely on a feature that's currently in draft status, and works in one browser.. unless Google disable it again, like they did last year?

Sounds like a winning strategy my man.

Edit: to answer your original question
> So you're against the standards entirely?

Yes. Literally the only reason either exists, is because without them Google's theory of "everything can be in a browser" falls flat on it's face, and when things are in a browser Google has a good chance of controlling the conversation (the same way Microsoft controlled the conversation in the 90s and early 2000's with Windows).

Both specs have glaring security issues that they themselves point out, but then provide no actual solution or work around for. They may as well start each one with "this could lead to compromise of your device.. life's a lottery, be lucky!"
KingRow K1 eInk Android 8.1 Phone on IndieGogo
Most Python packaging systems don't include the Python VM itself, though they can specify which version is required. In the post, Docker is used to provide a specific version of the Python VM.
I find

> 3. If a test has a failure rate of < 3%, it is likely not worth your time fixing it. For these, we retry each failing test up to three times. Not all test frameworks support retying out of the box, but you can usually find a workaround. The retries can be restricted to specific tests or classes of tests if needed (e.g. only retry browser-based tests).

to be pretty terrifying. I know that folks are under different amounts of pressure but we'd reject that code from merging here (or revert it out when we discovered the flakiness) as it's basically just a half-finished test that requires constant baby sitting.
"every garage would want to have a forecourt"

In American this would be every... mechanic? would want... a gas pump out front?
There are a few different ways I feel about this at the same time:

- On the one hand, I agree that "interesting" operations really should be on their own lines. I think I'm going to strongly prefer to keep it to one `await` per line for the foreseeable future.

- On the other hand, I know that many programmers will cram a lot of operations into one line if they can, and when that inevitably happens it would be nice for it to be readable.

- And maybe in the long run, it's possible that a big, mature async ecosystem might make a lot of these operations so commonplace that they aren't "interesting" anymore. Maybe in that world we'll be glad to have a syntax that makes it easy to chain things together.
Edit: you’ve hacked your comment after I replied so much that this post no long bares any context to the question it was originally responding to....
Because you have to read from the inside-out instead of left to right or right to left, most likely.
Yes. Money. You are missing that it's often missing.
> it can’t guarantee it will be secure down the line ?

Then no business can handle user data?

There's no such thing as a guarantee. You can do what you define as the best effort to secure it, but you can't guarantee it will be secure.
And who can read a terminal at 144fps anyway? I seriously couldn't care less about eye-candy, animations and fps.

Then again, I'm an i3/sway-user, so I guess I don't exactly represent the average (Linux) user.
Of course, mine was too. I'm sure in part due to the diligent security team that will be stopping by my desk in the next few days!
Hehe. Discovery channel? I would rather trust Soviet lies.
Of course Soviet lied to cover up but i believe there was also symmetric campaign to exagerrate impact o Chernobyl.
And the very hbo series is going to be rather scary propaganda.
I read a lot on topic.
After Chernobyl ca half a million people were relocated. Most of it just for psychical comfort as there was no risk involved.
You are right, it will never be the same. However I reject that the only alternative is 1984. The medium (facebook, social media) is malleable, the current choices are turned up to "engage 10" but this is only one of a range of options. Manufacturing can be run to pollute rivers, the air, kill folks, but with some short term costs manufacturing can be cleaned up. Social media is the same. Just as Shell and BP should be loaded with the cost of carbon hitting the atmosphere Facebook should be loaded with the cost of destroying civil society.
Don't forget that part of moving away from carbon is replacing oil and gas heat with heat pumps (or resistive heat.)

And furthermore, heating is needed when days are the shortest.

We aren't going to heat our homes with solar power.
The difference in experience is really the only major downside to graph DBs. They're an excellent tool for many of the situations where we currently use RDBMSs, mostly because that's what we're familiar with while graph DBs are new and unfamiliar.

I've now been using Neo4J for a couple of months, and I don't want to go back. If relations between different items are what matters to you, then graph DBs make that so painless compared to the joins from relational DBs.

The main thing relational DBs still have over graph DBs is tables. Give me a table with all items from this table that meet this condition. Graph DBs can do that too, but it's less natural, because they don't store their data in tables, and nothing guarantees that all items of a certain type actually have the same properties. RDBMSs are statically typed, Graph DBs dynamically typed.
> We need to stop producing so much plastic. We need laws to standardize plastics so that only purely recyclable plastics exist and no more single-use plastics, or compostable containers. Anything else should be banned.

Not necessarily disagreeing, but the cost of pretty much everything would go up significantly, along with the incentive to circumvent the regulations.
Not an expert on Nix, but it's not so much that Nix has problems (though I'm sure it does, my initial research suggested it's not quite there yet for Python packages) but that there other things you need to get right.

For example:

1. Signal handling (only one bit of https://hynek.me/articles/docker-signals/ is Dockerfile specific, the rest still applies.)

2. Configuring servers to run correctly in Docker environments (e.g. Gunicorn is broken by default, and some of these issues go beyond Gunicorn: https://pythonspeed.com/articles/gunicorn-in-docker/).

3. Not running as root, and dropping capabilities.

4. Building pinned dependencies for Python that you can feed to Nix.

5. Having processes (human and automated) in place to ensure security updates happen.

6. Knowing how to write shell scripts that aren't completely broken (either by not writing them at all and using better language, or by using bash strict mode: http://redsymbol.net/articles/unofficial-bash-strict-mode/)

etc.
I really like the frequent subway stops. It makes it easy to hop and and off wherever you are. If they were every block like the busses, I would say that's too much, but they're not, they're every 4-5 blocks, and only in Manhattan.

If you took out half the local stops, I'm not sure what the purpose of the express line would be. Of course the express trains would still be marginally faster, but even as is, I was just having a debate with a coworker this morning about whether transferring from local → express trains actually makes sense. (I absolutely think it does, but she made some good points and it's not always clear cut!)
This thread is lacking the Blackbird ground speed check. https://oppositelock.kinja.com/favorite-sr-71-story-10791270....
Here's an interesting phone. Looks like it won't have Google Play store, but i love the idea of having a low power eInk screen to read on in broad sunlight.
And what I replied is that this is not the point of the article, and that ratios in themselves are not the relevant metric.

The article is clear and accurate.
Deploying close to 3000 GW is an unprecedented effort.
> The first version is to lock down every dependency as tightly as you can to avoid accidentally breaking something. Which inevitably leads down the road to everything being locked to something archaic that can't be upgraded easily, and is incompatible with everything else. But with no idea what will break, or how to upgrade. I currently work at a company that went down that path and is now suffering for it.

If you use a system like nix or guix, this concern is largely obviated.
As someone who has gotten a tank of sand & water before, I tend to prefer the less sketchy station, even if it costs more.
You have to have tests and you need a CI that will scan your requirements.txt regularly and throw a warning when they're out of date.

Test are ESSENTIAL. You should be able to bump all your versions, run your tests and fix the errors. If something gets through broken, then you know where to add a test (before you fix it).

You should pin versions for your sanity. You should also have a process (a weekly process) to deal with updates to dependencies. Dependency Rot will catch up with you!
What happens if the local democracy determines that your labor is not worth the living wage?

What if it really is worth the living wage, but the Allocator wants to cheat you?
Care to be more specific? Sharing of location, contacts, photos, calendars, access to your camera, etc are all disabled for 3rd party apps by default, and must be enabled individually for each app.

What are all these privacy settings you are referring to that are off by default?
Right, you have no control over the lift surfaces in this scenario. This would be the equivalent of your steering wheel suddenly not turning the wheels.
Yeah, this is really one of the only big warts, and hopefully not a trend.

But the rest of the language is really good so don't let this scare you off. Most of rust feels very well thought out and reasonable.