skysight-inc/HackerNews huggingface dataset:
Exceptions.

Anders give an interview in 2003 [1] where he talks about how C# looked to learn from Java's checked exceptions. His conclusion was basically that, in their evaluation, 9/10 exceptions cannot be handled beyond some generic top-level handler.

If this observation is correct, and it certainly aligns perfectly with my own, then bubbling makes a lot more sense.

Note that, with error return values, you can emulate bubbling (which is what most Go programmers end up doing). And with exceptions, you can emulate return values. The question is what's the most common default? And, again, according to Anders, as well as any project I've ever worked on, bubble-by-default is overwhelmingly the most useful thing to support cleanly.

The only way Go's approach makes sense is if you consider it's original goal (system programming) and MAYBE (i don't know, I'm not a system programmer) for such systems you can/need to handle each error. Except that's not really how Go is being used now, so...

[1] https://www.artima.com/intv/handcuffs.html
You could also just have worked on lowering those overheads in PG, just saying. It's easy to blame "PG devs", but most of us could get changes quicker to our company's respective customers by just fixing everything in forks.
The problem with this argument is the simple fact that thousands of people attempt suicide every year even when they have all the stability in the world.

To assume that this was preventable is to assume that attempted suicides are always caused by your social situation, and not something inherently primal inside you.
Let's explore why almost all “Uber for X” startups failed
Prior to the destruction of North American light rail systems, a process accelerated by US auto companies (which bought urban rail cos only to then neglect them) public transit companies were entirely private and often entirely capitalized with profits and private investment. Many streetcars used to profitably have two people working on them: one driver and one toll collector.

[https://en.m.wikipedia.org/wiki/General_Motors_streetcar_con...]
iPhone X Manager
Maybe they should have used BBM/iMessage/WhatsApp - all the civilian gear governments are screaming they need backdoors into because they’re too tough to crack...

Yes I say this partly in jest and also partly as a ‘why didn’t they’. BBM Enterprise over a VPN service popular with movie streamers would have actually helped them blend in... digitally speaking.
Look at the rate of opioid use in the US compared to the rest of the world.

The US consumes about 99% of the world supply of hydrocodone. https://www.washingtonpost.com/news/wonk/wp/2017/03/15/ameri...

These figures are old (2015), but eye-opening.

http://www.painpolicy.wisc.edu/who-regional-office-americas-...

http://www.painpolicy.wisc.edu/sites/default/files/sites/www...

http://www.painpolicy.wisc.edu/sites/default/files/sites/www...

Here's EURO

http://www.painpolicy.wisc.edu/sites/default/files/sites/www...

http://www.painpolicy.wisc.edu/sites/default/files/sites/www...

You can use that site to compare regions. http://www.painpolicy.wisc.edu/explore-data
> Content aside, the usability of this layout

Come on, do we really need this comment on every post? Especially this one?
Timing attack prevention?
For Gatech, BS is required for sure, because that is the basic required of on campus program.
That's not always the case. It is better to sit on cash than buy a business and have it be a flop. Everything has to be a calculated strategy, not simply a matter of buy everything and hope it works out for the best.
A few documentaries I've watched suggest that the dosages as recommended by the drug companies are designed to induce withdrawal symptoms before the next dose is due during treatment, I'd wager that's a good way to induce dependence during the course of treatment.

The hypocrisy of the law when it comes to this is insane, but given how large the profits are and the power that money commands with lobbying, I'm not really surprised.
Microcontrollers like Arm Cortex-M0 or ESP32.
Yeah, this is really pretty obnoxious to read. It also gives the impression that the content is inconsequential if it's just a series of tweets and replies.
Many say that big Pharma corporations have a large share of the responsibility because they began promoting strong pain killers heavily, starting in the 90s [1]. Now it has become part of American culture (doctors, patients, pharmacistse etc) to treat any pain with these pain killers. It’ll cost a lot and take a long time to reverse that [2]

[1] https://www.ncbi.nlm.nih.gov/pmc/articles/PMC2622774/
[2] https://www.vox.com/2017/6/5/15111936/opioid-crisis-pain-wes...
> the engravings with some of the stories gave me the shudders as a young child, and the stories are pretty grisly too.

That reminds me of Struwwelpeter, another rather gruesome and explicit german children's book that was used during my childhood:

- https://en.wikipedia.org/wiki/Struwwelpeter

- https://archive.org/stream/englishstruwwelp00hoffrich#page/n...
When have you seen segfaults in Go? I think 100% of the time, it is either a bug in the Go runtime, or you're using cgo (which is not really Go anymore).

A language as simple as Go without nilable types would be great, though.
I've been struggling with the same problem for quite some time now, so I thought I'd share how I've been coping with it. The most important thing is to realize that becoming the best in something should not be the motivation pushing you in this industry. In competitive games like Dota, there is a clear winner and loser when the match is over. The real competition in programming, however, is being better than you were before, expanding your mindset and solving more complex problems.

There will always be someone better, smarter or a faster learner but that doesn't diminish the progress you've already made. There are people who have talents for certain things, there are people who learn certain things faster. I've found that competing with myself is the only healthy way to move forward or I would always feel that I'm not good enough compared to others.

As it was already mentioned in the comments, there is nothing wrong in pushing yourself when you want to improve, but don't take it to the extreme. We operate on work/rest cycles and as you need discipline in work you also need discipline in rest. I try to look at the process of improvement like a marathon rather than a sprint. The journey is going to be a long one, so don't lose the joy of it by pushing too hard. Think about how long you can go like this and consider if this would take the fun of programming away. Think of unproductive activities as a way to get your mind some rest, much like sleep.
Read the article?

"Analysts pointed to two major reasons for the increase: A growing number of Americans are using opioids, and drugs are becoming more deadly. It is the second factor that most likely explains the bulk of the increased number of overdoses last year."

And they are becoming more deadly because the street drugs are being laced with fentanyl.
Sensors in the tunnel and the skates, that communicate with each other? It's not rocket science, that's how it's worked for years with trains and subways and even car tunnels have continuous monitoring and signage to alert other drivers.
As happy as you could possibly get in this situation. Katie would be a "professional patient" all her life, but she can at least go out in public without everyone staring at her. She wouldn't look normal - perhaps ever - but with a scarft and some glasses, she'd melt right into any crowd. Which is a mighty achievement.
I think it's pretty safe to say, while these games are always cat and mouse, that globally cyber defense is not approached with the same determination as cyber offence, and perhaps it can't be with resources in the same order.

I think personally it's pretty likely that they're in our systems, and we're in theirs, for almost any major nation - ally or not.

It's just MAD all over again.
There's always assassination. Look a the Roman Empire - most of the truly catastrophic emperors were either assassinated, or nearly assassinated before they died of other means.

Not that I'm advocating we go back to that or anything.
> At this stage of a project, claims like that should be regarded as pure speculation.

Sure. At some point it's worthwhile to actually built it in order to test the projections. And it looks like that point is now.
nil pointers exist in Go. It is common to run into them, especially when using "&".
Step by step guide on GSTR-1 filing – SlickAccount Blog
> Analysts pointed to two major reasons for the increase: A growing number of Americans are using opioids, and drugs are becoming more deadly. It is the second factor that most likely explains the bulk of the increased number of overdoses last year.

So, the increase in deaths is likely because of drugs becoming more deadly. How are drugs becoming more deadly ? It seems like this is how:

> Strong synthetic opioids like fentanyl and its analogues have become mixed into black-market supplies of heroin, cocaine, methamphetamine and the class of anti-anxiety medicines known as benzodiazepines. Unlike heroin, which is derived from poppy plants, fentanyl can be manufactured in a laboratory, and it is often easier to transport because it is more concentrated.

> In some places, the type of synthetic drugs mixed into heroin changes often, increasing the risk for users

So, preventing this blending of drugs could potentially improve the situation

> The number of opioid users has been going up “in most places, but not at this exponential rate,” said Brandon Marshall, an associate professor of epidemiology at the Brown University School of Public Health. “The dominant factor is the changing drug supply.”

Not sure how this happens is explained in the article, but that could potentially be another attack vector
Santa Monica bans all single-use plastics in the food and beverage industry
Seriously? 2800 passengers per day? On the Crossrail just two trains can transport more people (3000).
And at peak time there will be 2 trains per minute...
> It's cheaper.

Not convinced.

> expensive train stuff

Sure, I'll concede it can be cheaper than subways when you remove the tracks, HV power supply, third rail, wayside equipment, stations and just stick to concrete.

I still don't think they're significantly more expensive.

> A string (even a long one) of high-intensity LED lights doesn't require much electricity. The costs of lighting the tunnel is probably one of the least costly parts of this whole project.

Maybe. You will still need redundant power supply and redundant illumination points if you're planning to use the self-driving tech with cameras.

> then it won't be difficult to have the vehicles talk to each other (or a centralized hub)

So then you will need a way for those cars to talk to each other, and typically that means you will need wayside APs to carry that traffic. Now that tunnel is not just bare concrete and some lighting elements, you will need to lay fibre cables, power cables, and put up those boxes somewhere for communication. And oh, you might want to have calibration points on the tunnel floor so that the skates themselves know where they are, to normalize their position and report back true accurate positioning.

> The vehicles being able to know how to get to the station and open their doors is probably not really a concern. This is already done in automated subway systems all over the world. It's not hard to have the vehicle be smart enough to drive to a specific 'dock' and then look for a specific trigger to know when to open its doors. Hell, my $100 roomba can park itself in a similar manner.

You underestimate the amount of engineering work needed to do this safely and proving that it's safe. Are the lifts open lifts where the skates drive on and open up their doors? If so, that "marker" will need to be substantially big to allow for overshoot/undershoot and still be safe to open their doors (think, pinching, trapping, etc).

If so, the lifts will need to be substantially big to allow for a number of these skates to ascend and pick up/drop off passengers.
I'm interested in everything you write about. Thank you!
I switched to orgmode. Mainly because I wanted to run the same core tools at work and at home.

At work we are not allowed to run random software; every package needs to be registered, source security-tested, compiled from source in house, put in an internal repo, and then installed from there. So while at home I could do 'pip install leo', at work it was a mess of tracing dependencies (Qt), getting them registered, etc, etc.

Plus at work, someone else had gone through this pain for Emacs and orgmode.
wow, i started writing something similar yesterday.

mine will fade out all that have been "seen" (not visited) and in a generic manner so it will work on all sites. I'm not sure yet if automatically or with a button press.

maybe with a button press and only those links that have been visible in the viewport (if performance allows tracking the position of every link)

is yours open source? if love to steal how you save all the links.
There are a lot of reasons that people move to different countries, aside from feelings about the government they're moving away from.
Yeah but... this is an FPU. It's a floating-point unit.
Are you talking about Paris propre or "les banlieux"? I can agree if you extend Paris to the "banlieux" that there is definitively good voisinage but not for Paris propre. Unless you are willing to pay top dollars to stay in les Champs-Elysses. (which I don't find that good either).
C programs tend to call nil-pointer panics "segfaults" even though go runtime doesn't print the word "segfault" anywhere. I'm guilty of the same thing.
I wonder if this is due to the ever increasing scale of the US intelligence services.

From my working life perspective smaller teams of talented people are often more impactful than significantly larger teams. E.g. Large teams create bureaucracy. And 'weak links' become harder to spot and typically allowed to remain.

I know nothing about this area so take my comment as curiosity only, but I wonder what USA gets/achieves for this $50-100bn intelligence budget? And what would they get at a $2bn funded group utilising a much smaller group of the best employees within the existing orgs.
If a company stops having good revenue sources their stock tends to drop..
Huh, a change to spacing in gofmt? Won’t that cause extra source control churn in a lot of projects?
How California became the most secretive state on police misconduct
Honestly, that sounds very conspiratorial and baseless. It assumes doctors are idiots and drug producers are comic book villains. Reality is more nuanced.
Even the name of the degree, masters, implies that this is for mastering that subject. I personally take that as a hint that (in general) you should already be intimately acquainted to it before mastering it.

Those years for the bachelor don't just prove you learned some random subjects. They also show that you deliver - you have a topic, you study it, you pass the exam.

The reason you say "I don't need that" is because you have to pay a crapload of money for those 3 years with a dubious ROI. It's a credential racket because they charge you through your nose. And it's cheaper now because online is cheaper. But it's unrealistic to assume you get the same quality for less money, it would sink their normal masters business right? Lots of things are debatable here especially if you dig into the exceptions but generally it might be the difference between takeout/fast food and a good restaurant.

When I see people skipping some degrees and going for the online ones they have to show some damn good practical achievements to convince me that was time worth saving.

I'm pretty sure most of you would refuse to go to a doctor who studied online. Cyber-security can easily turn out to be life or death.
This doesn’t show CO2 emissions. It just lists each country generation type and what that generation type produces per kWh. Where is the actual volume of CO2 per hour or per day?

This site would show 1 family on a little island with a coal furnace as worse than an entire nation burning gas.
But there is no framework in the law for addressing gargantuan companies directly. Sure the government can take potshots with antitrust suits or financial investigations or whatever, but short of a black swan-type event-slash-legal-scandal there really aren't a lot of legal tools at the US gov's disposal to crush outsized corporations.

Saying "companies are too big, we have to do something about them" is making a point grounded in concept, not concrete law or action. I too am worried about our current crop of megacorp but if history is indicator the US government will outlive them (as stable governments usually do).
I think the point was more - if you take the average American paying $1-2k for healthcare per month vs Germany's $0 for healthcare per month, then that alone wipes out the difference in compensation (ignoring the fact that they have cheaper schools, more holiday, a tighter social safety net, better transportation systems, and so on)
It’s so tests don’t rely on behavior that may change. See this commit message for a full explanation: https://github.com/golang/go/commit/6269dcdc24d74379d8a609ce...
If this one works, they can do similar projects in places where they can build, own and charge for huge parking garages. Build parking in cheap location, then provide a way for people to get to the location they actually want to br (downtown, stadiums/event centers, airports). If that still makes sense when we have self riding cars - I don't know (probably only for the most high density destinations).
Hence why most people live in the surroundings, and there's also La Défense (area with most modern buildings)

But weren't some cities in SV not allowing new buildings to "preserve the character of the city" as well?
The "prove pass" is a nice step forward. As that is improved, more subscript checks will be optimized out.
Looking at randomness and performance for hash codes
It's to stop people misusing the crypto APIs, or making assumptions about them that the Go maintainers don't want to be stuck supporting.

https://go-review.googlesource.com/c/go/+/64451

> Code has ended up depending on things like RSA's key generation being deterministic given a fixed random Reader. This was never guaranteed and would prevent us from ever changing anything about it.
As a comparison, the road toll in the USA is 33,000 per year. Firearms kill about the same number (including 20,000 suicides).

3,000 people were killed in the 9/11 attacks.

72,000 overdose deaths is just a staggeringly large number.
It seems an awful solution compared to the worst underground line.
Modern lines, as I said, can transport more passengers than they move per day in a mere minute...
If you add the time to make 3.6 miles probably they will complete the journey in 10-15 minutes.
Yeah, super painful on the eyes. Ouch!
"...drugs are becoming more deadly." I guess they are referring to street drugs(?) which are becoming more deadly for the reason you pointed out.

At the same time the news is constantly full of stories about a rise in opioid overdoses.
Other Dorfman articles
https://foreignpolicy.com/author/zach-dorfman/

I treat any media 'story' about spooks with great suspicion, because it almost almost invariably winds up over time that there are far more layers to the onion than are revealed in these types of exposes.

I wonder what 'The disaster in China has led some officials to conclude that internet-based systems, even ones that employ sophisticated encryption, can never be counted on to shield assets' is going to lead to? Some sort of new infrastructure may even already be in use...
But online retail is still small compared to all retail.
I migrated from New Zealand to Australia, yet I like the current ruling coalition and government in New Zealand and dislike the Australian ruling coalition and government.

There are reasons to migrate beyond politics.
Nr of cars vs congestion follows an S-curve with a very narrow/steep middle section. Removing a single digit percentage of cars/passengers can mean the difference between 'busy but only a little slow down' and 'complete stand still'. I don't know about the numbers in this specific case, but transport systems work in not very intuitive ways.
Well, I think they're worth separating.

I've seen a raw SIGSEGV in Go due to a runtime bug years ago, and the only safe outcome is process termination.

On the other hand, dereferencing a nil value in Go in relatively safe (as in Java), all it does is crash the goroutine. For common cases like HTTP and RPC handlers, no big deal, safely recoverable.

Edit: on second thought, forget that. I agree that it's not a good thing (not safe) for recovery from goroutine crash to be possible.
Ridiculously, I hadn't considered that.
You only need it for one hour per month?
You seem to be really hung up on the ability of the skates to know where they are. I'm not sure why.

There's no indication that the skates would rely on lighting whatsoever to be able to function. Existing cars on the market already ship with sonic- or LIDAR-based cameras that can detect obstructions in complete darkness. Tesla's existing autopilot functionality works just fine on dark unlit roads.

>So then you will need a way for those cars to talk to each other, and typically that means you will need wayside APs to carry that traffic.

You've never heard of a mesh network? Even if AP are needed, it's still considerably less wiring than a full third rail setup and still poses no fire risk.

>And oh, you might want to have calibration points on the tunnel floor so that the skates themselves know where they are, to normalize their position and report back true accurate positioning.

This could literally be something as simple as a handful of RFID tags on the floor of the tunnel. Not costly and not hard to implement.

>You underestimate the amount of engineering work needed to do this safely and proving that it's safe. Are the lifts open lifts where the skates drive on and open up their doors? If so, that "marker" will need to be substantially big to allow for overshoot/undershoot and still be safe to open their doors (think, pinching, trapping, etc).

>If so, the lifts will need to be substantially big to allow for a number of these skates to ascend and pick up/drop off passengers.

You're really overestimating the amount of engineering work needed to be done. Again, my $100 roomba is able to park itself within millimeters onto a dock, and it's never had an issue. Automated subway systems all over Asia also operate with only inches of margin for positioning themselves onto station platforms and aligning their doors, and they don't seem to have an issue.

The concerns you're raising are already solved. The 'magic' of this system isn't in the self-driving vehicles part at all, as that's already being done with automated transport systems the world over. The 'magic' is in the tunnel construction itself.
That is correct. Now you can clone and build Go repos anywhere.

Note that support is still experimental, so if you want stability, it is advised to remain inside GOPATH for another release. This is a good post - https://systemdump.io/posts/2018-07-22-go-modules

However, do please feel free to try it out and file bugs.