skysight-inc/HackerNews huggingface dataset:
What I learned after three internships at Microsoft
Out of curiosity, can you envision saying the result was too close to call, the campaign was too short, the public was too uninformed, etc., if the result of the referendum was "Remain?"
Don't do that, it will degrade the image quality. Use exiftran instead as it will do lossless rotation.
Bunch of utilities for developers
Hi HN,

I'm a high school student who found myself struggling to find places to apply my programming skills aside from simple projects and CS contest problems, and ran into many people who faced the same issue.

In response, I made Issue Haven over the course of the past few months to automatically curate a catalogue of beginner-friendly issues from large projects on Github (i.e. cerbot, Ansible).

This is my largest project to-date (and Show HN) so all feedback is greatly welcomed!
I was upset about something as a teenager, flopped on the bed, and was surprised to find two paws and a little gray feline face peeking over the bed at me. The cat had come to check on me. And this was a cat who wasn't particularly cuddly or affectionate towards humans.
Isn't life thought to have started in "conditions that we humans consider to be absolutely inhospitable".
I don't think it's contrived compared to the expectations that ordinary people have of their dogs. Dog owners likely secretly think that their pooch is going to protect them, even if they're not protection dogs.
I agree, but what if you added a test-case generator like QuickCheck[1], then the system could refine the initial spec using the programmer/designer as an "oracle"? You give it the initial specs, the thing generates the tests for the edge cases and ambiguities and then asks you, "What should happen here?".

[1] https://en.wikipedia.org/wiki/QuickCheck
Facebook says misinformation is a problem, but won’t say how big
pipenv has a huge issue that they refuse to fix: no init command. That means you can only run pipenv commands from the root directory of your project. If you accidentally run pipenv install X in a subdirectory, guess what? You just created a new Pipfile and virtualenv!

npm actually got this right, init helps, and it makes sense to traverse up directories to find a package.json.
Yes, exactly what we need charities to optimize for: short term returns.
The authoritative view that Brexit is a bad idea comes from the fact that is was sold almost entirely with lies and xenophobia, and even then barely got a majority.

I would not consider Brexit an authoritatively bad idea if
the leave campaign had been more scrupulous and the vote had a larger margin of victory.

"We pay £350 million per week to the EU"

"We will be able to stay in the single market"

"Migrants are overrunning the country"

"We are not a sovereign state as long as we are a member of the EU".
then send rovers to the middle of a random rocky desert.

Do you seriously believe that scientist working on billion-dollar space missions for decades just throw a dart at the wall to decide where to land their rover?
GlaxoSmithKline makes $300M investment in 23andMe, forms 50-50 R&D pact
> AI and automation will almost certainly make things worse

This quote is followed by percentages of jobs being at risk.

But I find it not convincing at all. There are measures society can take to care for the unemployed. And realistically speaking, I look forward to a future where AI and automation makes most of our manual labor jobs obsolete.
It seems like the superior usability argument is more or less grounded in a perception of 5+ years ago. If you've stayed with Apple the whole time you don't have any reason to re-evaluate so you just say the same thing over and over. I remember the same thing among Mac users in the later 90s.

I've used both. I think usability between OS's reached parity awhile ago. I like Android best because I have a wide range of devices to choose from as well as not being hemmed in by iTunes (I remember being blown away that I couldn't just copy mp3/flac files over and play them).

I know I'm going to get downvoted, but Apple seems more like a luxury/status brand these days. Anyone who values money because they don't have a lot of it will be choosing Android all day long. If they do have money, they'll buy Apple because they notice that's what their peers have. The rationalization comes after that.
Certain IDE vendors could solve this if they really cared about UX. Not by implementing modules, but by efficiently scanning vast directories for versions of headers, and arranging them in a visually navigable manner (you know, actually being a useful IDE). The last time I used one, the OS was incapable of even searching folders. Partial string matching of filenames was apparently too complex for it to handle.
Plain old lard contains over 100 calories per tablespoon.

It's not really a battle between processed and unprocessed. It's just simple math. Oil and sugar pack a lot of calories in a very small package.

We eat multiple times every day. We have the entire variety of food at our disposal multiple times every day. I can have a feast for every meal. Most people eat like royalty of the past. This is new. Most of us live post-scarcity. We're having a hard time adapting because our instincts and behaviors come from times of scarcity.
I think you messed up your example url.
This is especially true for the case of mutables. I agree it should've been mentioned on the blog. Do you mind if I add this thread to the comments section of the blog.
Nice to see others still think of Danny Casalaro. PROMIS should be a huge deal here, he'll, Bill Hamilton used to frequent Schneider blog and even claim that back then the NSA was backdooring low level chip manufacturers, among many other interesting claims.

That whole thing is still super relevant.
That's why I'm trying to comment with care. Just the facts how I can see fatty food with a CGM and a closed loop:

60g of carbs from french fries will mean you take insulin for about 40g of carbs now, then for 60g of carbs starting in one hour and divided to the next 2-3 hours.

For normal potatoes, 60g of carbs, you'd take insulin for the 60g right now and that's it.

You see how a combination of fat and carbs is really tricky when you need to keep a good control of your glucose values. There is good help for us T1 diabetics, algorithms such as oref1 with super micro boluses help to control the delay and additional raise of glucose when eating fatty food.

Ketosis is also something I'd never recommend to a T1D. It can lead to very nasty symptoms; cramps and headache. Can't say anything about T2Ds, people reading these should always consult a doctor before making any decisions of their treatment.
And all the Doctor Who fans screamed "noooooooooo"! ;)
> This is now going to be a feature limited to the i9 branding,

So their goal would be to limit meltdown to the flagship i9 series? Seems like a strange plan.
Growing up in Alabama I always pumped then paid the attendant.

I found paying first super confusing. How do I know what it will cost ahead of time?

Then credit cards were ubiquitous and I never really thought about it again.
"The implicitly-declared or defaulted copy constructor for class T is defined as deleted if any of the following conditions are true ... T has a user-defined move constructor or move assignment operator" (since C++11)

https://en.cppreference.com/w/cpp/language/copy_constructor

But there's no harm in explicitly deleting it, and it helps document the intent.
I think Phi is targeted at workloads like scientific fortran applications that no one could be bothered to redesign to take advantage of OCL/etc style programming models. They're 'better' than GPUs in that you can still use x86 and you're not stuck between the current choices: abusive-market-leader and low-quality-deliverables.
Not OP, but we would like to move away from it as well.

- Breaking behavior between minor versions (https://github.com/conda/conda/issues/7290)

- Environments not actually being isolated (https://github.com/conda/conda/issues/448)

- Can't create environments in long paths (https://github.com/conda/constructor/issues/156)

Those are just a few I can remember. We unfortunately have not found a strong replacement.
I was talking to an oncologist yesterday. Her biggest frustration is that Silicon Valley billionaires are spending billions upon billions to send things to space, when there are serious problems on Earth that could be fought, most importantly cancer.

It’s hard to argue with her. $400B/yr would fund a lot of research that would benefit humanity a lot better than a coordinated mission to Mars, even though it would be very exciting to see in my lifetime.
Is that a legal argument or are you saying that repeated votes would be ugly politics?
WooCommerce Returns and Refunds
What are you using for passively downloading all those pdfs?
> ... we therefore find it plausible that a layer of perchlorate brine could be present at the base of the polar deposits. ...

Damn! Water and oxidizer for rockets.
How about dogs that know (i.e., predict) when their owners come home?

https://blogs.scientificamerican.com/cross-check/scientific-...
As was last week's launch of the Telstar 19 satellite.
With the Elon musk submarine story all I kept thinking throughout is that he's a billionaire and if he really wants to help people so much give money to people who need it. Charities actually know what to do with it and are far more effective than clumsily trying to do it directly.

Out of everything this is what bothered me most because he really can help people and there is already a clear way to do it for someone with his means.
I believe you have it backwards. Believing the words good and evil “have real meaning” is “refusing to deal with nuance and disagreement in a complex world.”
> (This is an unobvious way that iPhones are even more expensive than the sticker price)

That's like saying hiring locksmiths is pricier than buying a crowbar.

Yeah, both will get you in doors, but one is a bit not legal.
Sure, but none of that changes the margins Apple wants to make per phone, and the cost of manufacturing. Therefore I guess they just accept "we won't sell many phones in country X" because they want that sweet sweet margin.
But Parliament did vote to pursue Brexit and trigger Article 50 following the referendum.

You're right that the referendum did not legally compel Parliament to this vote, but many MPs thought that it ethically compelled them to it, and for good reason: The entire premise of the referendum was that Parliament would act on the results. The referendum didn't just pop up like a random opinion poll; it was years in the making, came about as a result of political negotiations, and followed a high-profile months-long campaign.

Elections were just held following the Article 50 vote precisely to give voters a second chance to express their view on Brexit, and this resulted in maintenance of a pro-Brexit Tory government.

By "irregularities", you seem to imply corruption in the conduct of the referendum. Which exactly are you referring to? Your link provides no guidance.
I actually don't mind header files, but I do mind includes as the mechanism for stitching things together. Also, C++ doesn't have any concept of a package. You get libraries and headers and it's up to you to feed them to get them to the compiler correctly.
Yup, and it's "working as normal". This poor reception is shared by friends who have the intel X
I never really thought about it, but I've had to redo every Apple Pay purchase with the iPhone X when using it.

It always errors out the first time, then the teller resets the transaction, I scan again, and it works. I always assumed it was due to an issue with the card readers.

I'm going to head to the grocery store and do a small purchase to double check, but it looks like my Jan 2018 phone might be NFC hooped?

I'll chat with Apple customer service and see if they are willing to fix it if that is the case.

--

Update: Talked with Apple Support. I brought up the issue, and they asked why I was discussing this. So I shared the link. They pored over it for a while and asked me to wait a few minutes multiple times (likely showing a manager or tech rep).

They then asked for my serial number and iOS version to confirm I was on the latest iOS (I am).

After asking to wait another few minutes, they asked me to do a General > Reset > Reset All Settings. This removes my Apple Pay Cards. So I'll need to re-add them and then try a purchase again at some point.

Following that, they sent me an e-mail with some help articles and have asked me to proceed through the following if it still doesn't work:

- Redo the General > Reset > Reset All Settings

- Reset Network Settings

- Perform a full Factory Reset (Wipes device)

I'll proceed with the rigamarole and see if it actually fixes anything. To be honest, I wager I'm still going to keep seeing issues and have to eventually be a little pushy and have the device replaced.
This heavily depends on the field/journal style.
To be fair, the commercial space industry isn't focused on stuff like Mars (that's mostly PR stuff) - it's about satellites. GPS, communication, mapping, etc... These are things that make a huge difference to our everyday lives.
Because it's off-topic. Same as commenting on Java the island on an article about the JVM.

(I didn't downvote you, though)
And when running statistics they have data to support that this design is great because users apparently read more articles with it.

The lack of common sense / shortsightedness in this industry is deafening. Speaking of which, this site uses oath and thus one of the most asinine GDPR-violations thought up by man.
The rightwing press would absolutely be doing that on your behalf if it was a narrow loss. But - and this is the important thing - we wouldn't now be discussing stockpiling food and medicine.
Not true, see "base rate fallacy".
> Europe doesn't have semi-regular gun massacres

https://www.politifact.com/truth-o-meter/statements/2015/jun...

> semi-regular gun massacres, which aren't actually happening in inner cities.

You're right, "inner cities" was too narrow. "Urban areas" would be better. The point is that the localities are isolated; they aren't evenly spread across the US, they're concentrated in certain places, and those places all have a common factor that I described.
In a sane world, Kansas will be connecting their own rail lines and asking NY tax payers to help pay for that as well.

There is a reason we are called the "United" states - no?
I suspect that without hyperthreading the OS kernel has more explicit knowledge and control over thread tenancy so it is easier to mitigate a cache timing attack. But that is just speculation on my part.
Yes and no. I'd say there is a difference between managing and fixing. All the current treatments by doctors are surrounding management. I do fully believe that Type 2 can be fixed in almost everyone with enough time on the proper diet.

From what I have seen/read, it seems to me that Type 2 is caused by a recurring assault on your metabolic processes through significant carbohydrate over-consumption. That damage accrues over time which is why it usually takes decades to become a full-blown Type 2 diabetic. It would therefore take years to fully "fix" it in a person - and that is assuming the accumulated damage is actually reversible. I believe there are some people who have damaged their bodies too much for it to actually be fixed. And on the other hand I rarely ever hear about anyone actually being full keto for years on end, providing the requisite time for their bodies to adapt and heal. It's not a quick process. The less damage, the quicker the improvement and the shorter the total time to "fix".

As to your original, direct question - I doubt it would come crashing back after just one week of bad habits. But that also has to do with the glycemic storage in your body. You muscles hold (I think it was) around 100-200 grams of potential glucose and your liver can hold something like 400-500 grams. If someone is low-carb for even a short amount of time, these "storage tanks" (as I refer to them) in the body are basically empty or close to it. As you consume garbage the excess that is not needed is added to these tanks. Once the tanks are full, the overflow goes into your blood, raising your blood sugar above normal levels. So you would have to consume somewhere between 500-700 grams in excess carbohydrates before you even started overflowing into your blood stream to have elevated levels. That's pretty hard to do in a single week. And the metabolic damage doesn't magically come back overnight. It's kind of like if you had a really bad sunburn and let it heal. The next time you went out into the sun you skin doesn't turn red immediately - the damage has to actually incur/accrue.
Facebook’s chief legal officer to leave this year
I think you can do either, and I should have added that to my post. Veganism isn't a health diet straight out; it's a political diet. But you can be very health (lots of plant, plant carbs and very little fat) or very unhealthy (nothing but Oreo cookies).

I agree with the poster that a high carb/low fat diet can also be pretty healthy, but you pretty much do have to do one or the other.

Both approaches are difficult, because the food supply/industry isn't really setup for it. There are a ton of unhealthy vegan meals in vegan restaurants as well, where they load up on refined sugar and not as many plants.

They keto stuff isn't madness though. It's just a different approach and it works for some people.
Using Behavioural Change to Reduce Water Consumption
Having long ago heard that most of the satellites were long past their intended 'expiration' dates, I'm still a little surprised to see articles like this appearing today.

As for your book rec, does it add much substance to his Time piece?[1]

[1] http://time.com/4309397/how-gps-is-messing-with-our-minds/
> I'm someone who always roots my phone asap.

Why? Specifically why. Not a vague answer of "customization", but a specific use that cannot be achieved via other means.
> Many people do. Native American nations are magnets for scam artists and various criminals.

Wanna back that one up with some statistics?

> They are immune from state prosecution, so if they operate at a level below whatever the federal authorities care about, it’s lower risk.

Well, not quite. It really depends on what you are talking about. Besides, NA preying on NA is often ignored, but don't screw with the non-NA because then you get the Feds and State cooperating.
they already had too many products!
you have to spend like 5 days figuring out which one is 1% faster than the other for your particular use case.

choice is bad!
:D
Hah, didn't know others could edit. It's been completely vandalized now haha. But cool, will share this with others, not just publicly!
Yes, but to quote the annoyingly semi-reasonable creationist Ken Ham: “We weren’t there. We didn’t observe it.” (Note: I am not a creationist, I do agree with the logic of that argument, but I also see no scientific basis for any religious origin story of life to have more scientific basis than others).

We have recreated the conditions that predate life and found that organic molecules were formed, but we’ve never observed the leap from organic molecules to organic life. So the best we can do barring the invention of a time machine is look for life elsewhere from Earth to try to fill in the blanks.
Yes! It's a great place to get away from civilization for a bit and camp with family or friends:

https://www.nps.gov/cuis/planyourvisit/camping.htm
Oh, wow. That will make collaboration so much easier. I resorted to Adobe Reader on multiple occasions in the past...

Thanks!
Every pump in the UK is pay after pump, unless it’s pay at pump then you are limited to £99 usually but it’s just a hold, it only charges when you reseat the pump handle. It freaks me out in Europe and the US when I come across a pay first pump, I don’t know how much it’s going to cost to fill up and then I need to go back in to get my change, ridiculous!
> The government's legal obligations come from its duty to the people

There is no such obligation in UK law. Partly because we're a constitutional monarchy.
There's something to this theory, as switching airplane mode off and on usually results in a usable connection. This is still completely unacceptable behavior though, and i haven't been able to replicate it on multiple other devices i have handy(including other iphones, including ones with band 12 support)
We know that civilization will survive cancer just fine. We do not know the same about asteroid impacts or global warming.

So in terms of potential future lives saved space exploration and fighting global warming are worth a lot more than cancer research. After all there has to be someone to get cancer in the first place.
Obama's approval rating was above 50% for his last year in office, so I wouldn't say that people were particularly unhappy with him. Honestly, I think he could have won a 3rd term had he been legally allowed to run.

Hillary was unpopular in the voter's eyes for reasons that had little to do with Obama, although their association didn't really help her.

The fact that she was a woman, the fact that she was seen as a member of a political family (despite not coming from a multi-generation political family like the Kennedy or Bush families), the fact that the conservatives of this country had been running propaganda against her for almost 25 years, and the fact that she isn't particularly charismatic all hurt her in the public eye far more than her association with and similarity to Obama.

Which is deeply unfortunate, because none of those things have anything to do with what makes a good President. Perhaps someday we will realize that what makes a good candidate and what makes a good President are not the same.
> We also have very little liability for what happens with a gun you own or sale when it's not in your possession

For "own", yes, you're right; greater accountability for gun owners who let others use their guns would be a good idea.

For "sale", not so much; selling something means transferring ownership, which means once you've sold it, you aren't responsible any more because you aren't the owner. The new owner is the one who should be held responsible.
So Peterson characterizes the right as concerned with making sure that society functions efficiently and competently. And he characterizes the left as concerned with the inevitable fact that when a society is made to function efficiently and competently there are some people who get left out and fall to the bottom rung of society, and we need to make sure these people are taken care of and aren't completely neglected.

So both left and right are unified separately by their own ideals.

The right goes too far when it devolves into ethnic nationalism. When it says only people of race X are capable of being efficient and competent. The typical example here is Nazi Germany.

The left goes too far when... well, that's the question. But we still have plenty of good examples when it happens. Look at communist russia, communist china, (insert more communist countries here). Most of those states outright failed to function at some level, and plenty of them ended up being genocidal.

It looks to me that the left goes too far when it demonizes smart, efficient, competent people as thieves or other criminals, as the communists did.

We are on the verge of that right now as the left denigrates people for being privileged, in such a way as if it were some kind of crime. Or perhaps implying that crimes took place in the past that were not brought to justice, and not suggesting anything in particular but the obvious conclusion is that those crimes need to be brought to justice against the people who are benefitting from them now.
LoopBack 4 Model Relations Preview
That's a great post. Thanks for the link. These methods do enhance classes to the best. I also made a short blog about magic methods. Could be relevant to someone reading the threads https://www.thetaranights.com/magic-methods-in-python/