skysight-inc/HackerNews huggingface dataset:
Jail time for embedding Coinhive? Yes please.
Intel Retires 6th-Generation Skylake CPUs
In case the values match you could supply a collision callback to define what to do, eg to add the values,

d1 = {'a': 1}
d2 = {'a': 2}

d3 = {**d1, **d2, add_func)

def add_func(a, b):
return a+b

Or something along those lines
Show HN: OpenFaaS Cloud One-Click for Kubernetes
That's News to Me in the UK
Direct links to the paper:

http://www.lifeworth.com/deepadaptation.pdf

(audio version)
http://lifeworth.com/DeepAdaptation.mp3
Linux Kernel Finally Deprecating A.out Support
It is sometimes possible for a nontechnical person to have a friend or family member set up something technical on their device for them. In that situation, it may become important to the non-nerds whether the walled garden blocks the nerds.
Sorry, I don't subscribe to rewarding victimhood. If they have a problem with it, there's the health department, city hall and Twitter. This kind of whining is one step removed from politics.
Free Porn Blocked in UK
> I have been toying with the idea that travel is the ultimate expression of selfishness and narcissism.

As far as I understand, you don't own the place. From my perspective, you are more selfish than these people. You don't want people to access public property because it "inconveniences" you? Seriously, what is wrong with the world.

The reason people didn't visit your place before because internet didn't make it popular enough and transportation wasn't that good. The fact that you were there first or had memories of it being empty doesn't make you own it (and thank god for that).

ps: I used to live in a very nice part of the city. I ended up moving because the outsiders "wrecked" it. But it is fair. I only rented an apartment and the nearby small mountain and sea was public property.
If sets are dicts with values of None, then they're dicts, not a superclass of dict.
https://www.earthcam.com/world/england/london/abbeyroad/?cam...

You usually only have to watch for a few minutes to see people stopping traffic for a picture. I just saw a group from only a minute of watching!
Utilities settle as oligopolies in free markets. When this happens, quasi governments take them over so that they are benevolent oligopolies. If you want Google and Facebook to have better bandwidth than your start-up just because they're big, then you should oppose net neutrality.
What do you mean by "threadsafe" here? Could dict.items() actually break in Python 2? I've never seen that happen.
Given your rant, a source would have been appropriate.
Hillary won the popular vote. Also non-voters (including younger people who are ineligible or just didn't vote) and people outside of the US have opinions on such things.
I imagine fewer people would own cars if the money spent on roads had been invested in train tracks and subway tunnels.
I came to the realisation that human world is fucked about 3 years ago. Haven't seen anything in the last few years to change my mind. We might be able to push it a few decades into the future but there will be a reckoning as the real choice is to let a few hundred million die today or few billion in the future.
Interesting, definitely had the experience of thinking "Am I becoming more autistic?" but just put it down to caring less about what other people think about it. Now I wonder if this is closer to the truth.

I'm not sure but I'm pretty confident I've experienced a degradation of memory. I combat it with copious note taking and judicious use of a calendar but it does feel unpleasant. I do wonder if it's simply because I do more activities within a single day than I used to in my previous routine of development on a single application one task at a time + social. Now I can have to deal with many tasks for many customers all vying for my attention in parallel.

EDIT: Found great improvement from wearing headphones and sunglasses outdoors though. Helps me avoid too much new information in the morning when my brain is best suited for taking on new information and I have the minimal number of draws on my attention.
The sieve is made out of Graphene-oxide, not pure Graphene, so should be easier to produce.
You can give context, and what you did.

"After noticing the need for X, I proposed we build Y. As a team we build an initial prototype, and within two weeks we had revenue and hundreds of buyers."

Example from my resume:

"I created a new product from scratch for the company. I researched user needs, explored the solution space (http://...), and then built Telepresence (http://...), a local development environment for Kubernetes. As of Feb 2019 the project had grown to 1600+ GitHub stars and is now a CNCF Sandbox project."
Laravel with Timezones
One of the long awaited features, rejected by Guido many times, and finally accepted. Maybe we'll get list.get(), functools.partial() as a c written builtin, pathlib.Path() as a primitive or inline try/except, one day.
Don't get worked up over it, it's just an observation of the state of affairs, I don't have a tin foil hat.

I think the U. S. should have better public transportation infrastructure and more pedestrian sidewalks and, oh! drivers which actually comply with the law and stop for pedestrians at pedestrian crossings, but that's completely beside the point to this nonsensical "study".

That's just, like, my opinion man.
I haven't read all 102 pages, but essentially the reasons that the author says US law subsidises driving are:

Killing someone in a car accident is not taken terribly seriously, especially is exacerbating factors such as alcohol consumptions are not present. Exacerbating factors other than alcohol are not taken seriously. This is at odds with the legal approach to accidental killing in virtually all other circumstances.

"Criminal law takes both unofficial and official cognizance of the inherent difficulty of driving safely. First, car crashes are rarely prosecuted as crimes even when fatalities result. Second, when they are, they often come within a special, lesser form of manslaughter created by law for instances where the instrument of unintended death is a fast, multi-ton machine rather than, say, a negligently thrown lawn dart"

Speed limits and other legal constraints on dangerous driving are chronically underenforced.

Roads and signal timings are engineered to maximise traffic flow, including the timing of pedestrian crossings in such a way that they can be dangerous for people with mobility restrictions. This is often driven by federal standards - so not law necessarily in this case but similar.

Crossing the street other than at a crosswalk is illegal in many places.

Federal funding for state energy conservation required the adoption of rules allowing turns on red, despite the fact that we know this leads to higher injury and death rates for vulnerable people.

In many places, the price of driving on streets is set at zero by law (local government can't charge congestion prices). It is actually quite rare to make such an intervention prohibiting charging for the use of a scarce and congested asset.

Land use law across the US favours private cars:

Municipal law in many places sets prices for street parking at zero outside urban centres. In some places state law limits municipal control of parking charging.

In many places zoning codes require the building of large amounts of parking which raises the cost of new building. It especially raises the costs of building new apartments and drives them farther apart. Effectively this makes it almost impossible to develop walkable centres - you're going to be paying for parking anyway and because of the distances created by these planning laws you will need a car. The density reducing effect of requiring so much parking makes bus systems either totally non-viable or so marginal in terms of service frequency that only the desperate use them. Services only used by poor people are never going to get any attention.

Emissions regulations focus on tailpipe emissions and neglect brake pad and tyre particulates.
Until we include the cost on the environment within the cost of our goods things will not change. When we do we will encourage a wave of environmentally friendly innovation. It will take a lot of courage for any government to do this.

I’ve started the seed of a small political party in the UK which will push for Envionmental Economics - https://weOptimise.it / https://twitter.com/weoptimiseit
and Google's Corporate Tax avoidance.
Those statements are insufficient, since they don't say whose initiative it was to do the action. There's a big difference between "I wrote unit tests because my boss told me to" and "I spent 6 months pushing to fix our failing tests, and so was eventually given responsibility to do so".
It also helps reduce power usage and farmers also like the extra daylight for doing you know farmer things.
Ever heard of "ok-to-wake" lights? Basically it's a programmable light to help children know when to do things, like get out of bed. We started using one with my daughter when she was about 18 months old. We still use them with her and her brother, now ages 5 and 7.

https://www.aumilight.com/

https://shop.hatchbaby.com/pages/rest

https://www.keenglow.com/
(PLUG: I'm a stay-at-home dad and this last one is mine)

They can help with other routine stuff too, like bedtime or screen time.
Oh, hardly. This is nothing like good, in the sense of "successful forgery", let alone "really, really good". Did you write the program?

At a distance of 10 feet, the document the program produces seems to nail the form and appearance of a math paper, probably because its template is a real paper. The formulas exhibited are or might be well-formed, but even at 5 feet away, it's clear that you've never see expressions that use so many obscure LaTeX glyphs.

But try to read it, and it's immediately clear that no two sentences in a row even make use the same terms, and that every single sentence is sheer gibberish.

The program is quite good at generating fake-math terminology, and knows more than a bit about naming conventions (e.g. coming up with "Perelman" as an adjective).

But if, for example, this definition passes muster with you:

> Definition 5.1. Let u_{l,V} be a Noetherian algebra. A homomorphism is a homomorphism if it is elliptic.

then I wouldn't want to read your thesis either.

Addendum: A for effort :) but F for the hype.
https://laravel.com
I've been through similar bouts of lethargy and depression over climate change as described in the article. It can really get overwhelming when thinking of the future to come, what can we do but just try move forwards with our lives?
What Is Life
I'm sad
I think that description is upside down: being sleep deprived during the week causes a large number of problems and sleeping extra on weekends doesn't have benefits, rather it mitigates some of the problems caused by the sleep deprivation. You don't get any benefits over someone who sleeps all they need during the week.
I'm reminded of how some people complain that there are a lot more queer people around and claim that they are somehow "fake" or "going through a phase", when all that's happened is that visible signs are no longer quite so violently suppressed. Or dead of AIDS.
It might be that big-picture thinking and the future, generally, is terrifying rather than climate change in particular.

It is challenging to construct a realistic long-run scenario of a happy future that is sophisticated and meaningful. And at the global scale even the recent past sounds pretty horrific if you spell it out. The fact that the global situation is improving rapidly doesn't balance out the fact that being subjected to a 1950s standard of living would be potentially abusive today (no mobile, no connection to the internet, questionable access to goods, etc, better or worse depending on where you live).

Part of the trouble I have with climate change as an imminent emergency is there are actually quite a few civilisation-level threats at the 200-500 year timeframe. Resource depletion, progress in weapons research, fragility of logistic chains to disruption, disease. The actual impacts of climate tend to be contributing aggravations to what are honestly concerns more driven by overpopulation.
You can safely assume that there is a group he is speaking for.
There might be good, practical, reasons for having made these choices but we need to remember that they are choices and that if we felt we needed to, we could change our mind on some of them.
More than just memories–a new role for the hippocampus during learning
It's not like we don't have enough power with our modern CPUs.
Right, you don't want to omit things you've done if they're relevant. But ideal is to show natural progression, or if not then aspiration. E.g. intro paragraph can say "I am looking for job where I can take on more responsibility, not just solving problems others found but also figuring out bigger picture strategy and how to meet organizational goals." and maybe an example if you've done it once or twice successfully.
There's actually a huge amount of agreement between people on what is moral and immoral.

That fact forms a big part of some mainstream arguments for moral realism.
That's the idea.

Fool the fools to supoort socialism and full state control.

"This problem has become so yuge, it's beyond control of masses. State or UN coercion and control are your only hope"
The food analogy does not work and is a good example of people talking outside their area of expertise. Dieting on weekdays and "pigging out" once on pizza (what's wrong with pizza?) on the weekend would actually be fine. There is no evidence that food is like sleep and needs to be balanced on a daily basis.
I tried hard for a very long time to maintain my baseline “retro-futuristic” optimism for progress and a Jetson's Future but about a couple of years ago, probably owing to stress in my life (family business difficulties caused by my father with evident narcissism but that I cannot break away from) I basically ‘crumbled’ to your realisation: that all this unhappiness and anxiety I see everywhere around me is not some local bubble of despair but the actual preamble to dire things to come, the growing awareness, the creeping alarm as the effects start to ripple through. I think the last time humanity really had much of a chance to pull through with a close scrape (in economic, financial, social, and environmental terms) was somewhere back in 2010 or thereabouts. We collectively missed that turning and we've stuck to the road to perdition ever since.
That is a wildly unreliable source. Digging into it all you find is someone selling outrage in what seems to be mostly for self-promotion.
I understand that feeling and I agree that it requires citations. Yet, I will not give any. I have my reasons for that. Either way, a little bit of personal digging should unearth more than enough to keep one reading for a while. On the other hand, feel equally free to consider/dismiss it all as mere speculation.
For free...so instead dicked everyone else who otherwise would have received for free.
Sleep is fun, people who regularly lack it will tell you they're "just fine" but they've been lacking sleep for so long that the baseline they're comparing themselves to is already skewed.

Take two weeks off, avoid alcohol and other stimulant, avoid artificial light after 8 and wake up without an alarm. You'll see how you feel after that regimen. Your body knows exactly how much sleep it needs.

But that's not compatible with the "work hard, play hard" and hustler mentality I guess. Let's see how it impacts us when we get older, I'm fairly certain that the younger you are the more abuse your body can take, it usually has lasting consequences though.

https://www.huffingtonpost.com/entry/7-scary-ways-sleep-depr...

https://www.huffpost.com/entry/teen-sleep-crimes-adults_n_58...
It sounds more like someone's musing of why Lisp should be bad idea rather than anything practical. Doubly so when they don't seem to know what Common Lisp is.
Ask HN: How to control computer science wanderlust?
I didn't really know a better way to phrase this, but I am curious if anyone has a system for, or advice on, controlling wanderlust when it comes to technology or computer science knowledge. For me, I feel like this is more pronounced when I read hacker news and discover new, interesting articles & free text books about topics I find interesting. I place them in my "queue" with a "plan" to investigate and read later, but I usually make little headway towards this goal. It's probably a personal issue, as I tend to do this with books I want to read, shows I want to watch, places I want to visit, etc., but I just thought I would ask and see if anyone has any ways that have worked for them when dealing with this issue.
I don't think this has been accepted yet?
What is it about every HYS in the Science section that attracts the population control nutters? We all add one to the total. Those screaming for our numbers to be reduced fail to notice a small part of the solution to the problem every time they look in the mirror.
Instagram is replacing the guide book. And because people are more digitally connected, a lot of their storytelling has become visual and so visually remarkable sights have grown in popularity. I can't see it going away anytime soon - my state tourism authority uses social media as a key tool in their efforts.

This weekend just been, I was flown to a location by said authority, given a car for four days and basically set loose to photograph whatever interested me. (I shoot with a drone.)

Anyway, at the first of the two fixed experiences of the weekend (an oyster farm), I was sitting near two girls who had driven 700km for a weekend in this location all because they'd seen a girl's photograph on Instagram, shared by the authority. Coincidentally, that girl was seated five metres from them and also in the area shooting for the tourism authority because of how powerful social is now. The authority chaperone was right there in the middle to witness the power of her daily work.

For anyone who cares, this is my work: https://www.instagram.com/__serio__/

This is the shot the girls had seen: https://www.instagram.com/p/Bs2aWsbHxT0/

I imagine the average HN user imagines these "travel couples" to be particularly obnoxious and I'm sure some are (like any subset of people), but this couple were very genuine and great people. Like me, they get out there because one hobby is photography; just a bit different to that of the typical landscape photographer.

No where we shot that weekend was anywhere near crowded. I almost always had miles and miles of pristine beach to myself. At this location, there would've been no one on that beach for 3-5 km in either direction, just 15+ dolphins playing in the waves.

https://www.instagram.com/p/Buo4NcFDxU7/
A Trump 5G Plan That Progressives Should Embrace
> Does the Unicode specification cover how glyphs should look and what colour they should be?

Umm... yes? Unicode includes “reference glyphs” in its character charts. They’re called “reference” for a reason: implementations of those glyphs should appear substantially similar.
https://github.com/karan/Projects

A list of practical projects that anyone can solve in any programming language. Fine for beginner's projects in various domains along with solutions in many langs
Why not raise a ValueError and let the programmer figure out what The Right Thing To Do is when you add two dicts that have the same key with a different value?

I assume the same key with the same value would be OK, but I'm not really sure it's a good idea for it to be OK.
You only need 50 humans to maintain genetic diversity indefinitely.

We will survive. We won't all survive.
>Could you be clearer about what kind of time frame and locality you're talking about here?

I'm thinking of the "A century ago" period, in concert with what the article starts off with. My perspective is primarily european cities of 200'000+ [1] inhabitants during the early XX century, as that's what I'm most familiar with.

Going by the two cities I spent my formative years in, the local mass transportation networks - tram and bus - were built out to great effect as part of, and thanks to, the general city rebuild spurred by the improving car availability and use in early (pre-war) XX century.

>GM's "streetcar conspiracy"

Salient point, however that happened decades after both the automobile traffic, and the modern mass transport were built out, established, and went through decades of use.

[1] back then that was a sizeable city
I've seen people say this a few times, and I think it is attacking a misreading of the comment (snarkily, to boot). Charitable interpretation: In a discussion, if someone says "Citation needed", it means "I'm skeptical and I'm asking for a citation" (which is quite reasonable), not "You should have supplied a citation before I asked for it" (which I would agree is unreasonable for statements one doesn't expect to be contentious).
It's consistent with [] + () not working, but [* * , * * ()] works.
If this negative mass measurement turns out correct, does it mean that a powerful enough sound wave at a frequency outside hearing range could be the answer to the anti-gravity belt?

Disclaimer: I have no idea what I’m talking about.
Yes that's a bizarre sentence in the context of this situation. This author is very confused about what being ethical and principled is, or misused the word "resolute" when he should have used "casual".
It was also a huge source of bugs.

I often give an exercice prompting a number with input(), then checking it to another number in the Python for beginers course. Most students don't call int() before comparing. In Python 3, they get an error, and learn to do so. In Python 2, it seems to work sometime, and if I don't catch it, they will get in trouble one day.

Just make your code explicit, it's the sane thing to do anyway.
New slack integration – Spock, leave management
"Deservedly condescending" is not an actual thing that exists in the world.

The words you're looking for are "writes poorly."
This chap is very impressive, and pretty crazy - spending tens (hundreds?) of thousands of $ on apparently unserviceable cars, then opening up the high voltage systems on them with no help from the manufacturer.

His YouTube channel is here https://www.youtube.com/channel/UCfV0_wbjG8KJADuZT2ct4SA
> {'a': 1, 'b': 2} - {'b': 3, 'c': 4} => {'a': 1}

I think that removing the key from d1 would be a bad idea if the value is not the same on both dicts. If you think the dict is a vector of named dimensions, should 'c' be -4 in the result?

I'd totally support it resulting in:

{'a': 1, 'b': -1, 'c': -4}
Prob a CO2 laser, out at 10000nm. When discussing laser safety, the primary concern is eye damage. Burning flesh etc is bad, but that heals, and it takes way more energy. Eye damage is nearly instant, it does not heal, and lasers you can dig out of consumer electronics or buy >class 3b are hecka-capable of seriously injuring someone. Even the standard 3b lasers are no joke, and often output light outside the visible range in addition to the visible beam.
I think all three letter agencies create front companies for this kind of stuff?
No but Guido said yes https://bugs.python.org/issue36144#msg336848 and even if he is not BDFL anymore, it usually means it will be done.
Truly a vision of how great the future can be
Yeah, the same kind of fake "we're Open Source" seems to happen with kickstarter projects fairly often too. eg DoBot. Grrr.

One place which has done it correctly though is Dorna:

https://www.dorna.ai

They kickstarted (successfully, shipping to their backers etc), now have an online store, and all of the files (both software + hardware designs) are downloadable for everyone. :)
This book has managed to convince me that common lisp is a great language for people who have never used a good programming language, and who you intensely dislike.