skysight-inc/HackerNews huggingface dataset:
> There isn't a meaningful difference in cumbersomeness between having two try-catch blocks and two if-err blocks

As demonstrated by the sibling comment to mine, this is wrong.

> In practice programs written in languages with [exceptions] tend to have better error diagnostics than Go programs.

Anyone who's spent time on teams working in exception-oriented languages like C++ or Python knows this to be clearly false.

> Go is a more complex language than Java is overall

This is obviously wrong. One need look only at the GC landscape to disprove it.

Zero for three. Rust Evangelism Strike Force, go home.
The fact that it allows for more nesting on a single line is a bug, not a feature, IMO.
I once had a boss who was an old Cobol Cowboy, he walked me through a financial system that's still in use.

I can't help but feel that even back in the days, they would have been better served by Pascal with fix point math. The only convenient features I could spot were related to working with records in files, and Pascal has that covered.

Their Cobol implementation sort of, kind of supported subroutines but they were such a pain in the ass that code was usually copy-pasted instead.

The only thing about Cobol that I just can't stand so far is the optional filler "keywords" that allows code to look sort of, kind of like natural language. That's just wrong.
Clever way to do it :) And the frames at the start are there, because his solution needed time to get the ID in order to dynamically show it inside Minecraft.
Umberto Eco is generally considered to be one of the best analysts regarding the politics of fascism. For those who find this essay to be discomforting reading in light of our contemporary political movements, perhaps it is not the words of Umberto that are in need of critique.
Maybe in spherical cow land, but in the real world bicycles don't get very far without a human to maintain balance. It would fall over the first time it had to ride over a piece of debris on the road.
Of course, podcast ads are also the opposite of almost all the other ads on the Internet: They don't send your personal data and web browsing history to hundreds of shady companies, they don't slow down your webbrowsing, they aren't a vector to install malware on your system.

Thus, I have absolutely no problem with podcast ads, and if they allow a great podcast I like to be produced sustainably, that's awesome! The same way I also don't have a problem with ads in printed magazines or on billboards (yet; some of them already do track you, of course).
Sadly, I've not been able to see the race in quite a while. At least in my region, NBC sports doesn't seem to carry it anymore. Previously, Universal sports did, which I somehow lost after comcast aquired them.

One of my favorite images of the race is Bob Roll literally riding in the ditch, covered in mud [0]. Think it epitomizes the race.

[0] https://images.app.goo.gl/K8CHHQMGA245iZt48
I think we all know why, we just don't like it.
No need to worry about MetroMile, those dongles they distribute aren't reliable at all.

Source: Me, after paying hundreds of dollars because the "signal was lost" for over a month, billed at the daily max rate, while their emails about it went to spam.
Absolutely. But those are clear code smells. Any org with competent code review would flag them and kill them before they proliferated.
I hope somebody submits a "Do" and a "Do Not" amendment. Think of Yoda.
Explains all the poorly packaged (and thus damages) items I've received from Amazon lately. I'm curious at what point the extra carbon emissions from shipping returns and replacements outweighs the environmental impact of cardboard savings. Anyone up to doing some back of the envelope calculations on that?
Rust Evangelism Strike Force, please troll elsewhere.
Megan Rapinoe’s Conduct Ruined the Women’s World Cup
I didn't know they still sell TeleportPro!
The fact that 5G is not commercially available does not mean there have been no studies. A quick Google Scholar (or whatever) search could have cleared that up for you.
Here's the link to save you from typing it in:
https://scholar.google.com/scholar?&q=5g+safety+radiation
We should be cycling MAC addresses regularly anyway since they leak information: https://www.crc.id.au/tracking-people-via-wifi-even-when-not...
>`?` uses the `From` trait which means you often don't need `.map_err`.

1. `From` is a global solution to a local problem. All `std::io::Error` must necessarily be converted to the same enum variant regardless of what caused them. Failing to open a file and failing to write to a network socket will create the same variant.

2. `From` does not have access to context anyway. A `From<std::io::Error>` is not going to know that the error was hit specifically when "parsing the /etc/foo.conf file", and a `From<std::string::ParseError>` is not going to know the error was hit when "parsing the bar field of the /etc/foo.conf file because it is set to `baz` which is not an integer".

>as long as your error types implement std::error::Error, you shouldn't need an explicit .map_err to box them:

This only works when you want your function to return `Box<dyn Error>` itself without any additional context. The conversation was about needing to add context like in the golang example.
> Go doesn't even really force you to check your errors, it just makes it harder to accidentally not check them. Like:

I dislike it because it does the opposite, it makes it too easy to accidentally continue execution when there is an error:

doThing(); // Error
doOtherThing();

Which isn't possible with Exceptions.

The only thing that would signal that error handling is missing is the absence of boilerplate to handle it, which is an ugly UX for a language to rely on esp given there's no indication from scanning code that all methods that return errors are handled.
As your quote says, a commitment has been made since 1985 to providing "safe and sanitary" facilities. There is a process unfolding to make sure that the commitments are met. If they are not met in the interim, then that is bad administration. Nobody is arguing that the conditions should be unsafe or unsanitary, the standard is not being changed.

Government lawyers arguing that what the government does is legal and reasonable is solid evidence that they are lawyers and not much more. Even they are agreeing that conditions should be safe & sanitary, even if they are (potentially) being deliberately obtuse on the uptake of what that means.
However, the engineer "inadvertently failed to complete the selection process", meaning that the train's engine was set to accelerate, not to brake.

The fact that braking could be confused with accelerating, especially on a vehicle which can effectively only travel in two directions, sounds more like a big UI failure to me.
After the San Bernardino train disaster a maintence tech for the Calnev pipeline told me the pipeline was out of service for 10-12 weeks. During that time tanker trucks were used to carry gasoline and diesel from Los Angels to Las Vegas. There were six major accidents involving tankers trucks.

https://en.wikipedia.org/wiki/San_Bernardino_train_disaster
https://en.wikipedia.org/wiki/Calnev_Pipeline
Yes, this is exactly what I've observed in practice with Go.
I think it depends on how you view it. I am not well studied in this area so my terms may be inaccurate, but to me a "heroic" ideal of self sacrifice for the benefit of others or some ideal is not anti-civilization. It may in fact be the basis of civilization- that there is something larger than ourselves or our immediate family to work toward.
It's fluff because it doesn't actually examine any of its theses closely. The author's choice of words dismisses, prima facie, any possibility of sympathy for the people he describes and the legitimacy of their plight. Their fear is "exploited", not justified. They are "obsessed" with a "plot", not concerned about a pattern of events. They are "racist" regardless of the nature of their difference with the invaders.
I usually end up writing a bunch of utility methods for stuff like this. Typically it's called something like `parseQuietly`, and it just Pokemons any exceptions.
I am not collection of bullet points by jwwest, 2016
ZeroCater (YC W11) Is Hiring a Director of Engineer in SF
Ask HN: "Older” developers, what's the next career phase for you?
Do you plan to continue hands on development until they pry your cold, dead hands from the keyboard?

Or move into management?

Or do something completely different not in technology?

Or no idea, but concerned about it?
I used to hate ORMs, but then I found Diesel for Rust, which checks that structs match the database schema, which is really nice when building basic CRUD apps. I ditch it when doing more complex work, but for simple tasks, it saves a lot of time and catches some errors at compile time that might not be caught as quickly at runtime.

Nothing beats knowing the underlying database, but an ORM certainly has its place.
It's not just the cloud providers perspective on outages. That is the rosiest interpretation of misleading availability stats. There is an obvious moral hazard involved because most availability tracking is self reported and outage criteria are vague.

This behavior certainly isn't limited to cloud providers. If anything internal operations departments are worse. The only difference is that internal departments can be pressured more effectively.
In nearly every case the city is there only because the railroad was there first. Obviously reasonable and pertinent safety measures should be taken ("Safety First", etc) but I think it's pretty unreasonable to ask the railroads to move their 100+-year-old routes because people built a city around it.
Your comment shows a lot of naivety. Text is near universal, C still makes the world go ‘round and modern doesn’t mean graphical.
Prime+Sale+Avocado+Mattress+Special
You don't need to black out the platform for years.

If you covered one or two critical weeks (say the weeks just before and during final exams and midterms), per semester, you're looking at 672 hours of downtime or less. Even a large availability loss-- say, down 50% of the time in peak hours-- would be enough to make the program look risky and fragile.

A 50-student lecture could finance that.
This plays into something I've been thinking about recently, which is that even when a technology scales indefinitely, maybe technology business doesn't. Maybe, in a world where hosting and CRUD apps and everything feel like solved problems, there's still a place for smaller providers that can interface with their customers directly and tailor themselves to their needs. It's a vaguely comforting thought.
Hydrofoiling: This electric speed boat got wings [video]
So even worse than Williams Sonoma or Sur La Table?
FBI Releases Master Decryption Keys for GandCrab Ransomware
Uber Eats in Australia forced to amend contracts with restaurant owners
> phone mfgs. test the in-use radiation pattern at 3" to 4" from your ear. In other words, exactly how people don't use a phone.

In most modern phones the antenna is at the bottom (or at the very least the iPhone and Samsung Galaxy line - but I think also most other). That's a few inches from the ear.

I was a bit surprised to learn this and now keep my phone right-side-up in my pocket, to keep the EM radiation source away from the balls.
Go and actually read the courthouse news article, you would then know that the government is looking to appeal the court's descision that it is a requirement to supply the children with soap and toothbrushes.
Lekker Coffee – Yelp for Coffee
There's at least one (idealistic) method to reduce the number of pipelines leaks and explosions to zero. This will also eliminate the risk of another Lac Megantic disaster, and reduce emissions to zero! It's just not an immediate-term proposition.
Whew! Good thing I took the easy route and got a Computer Engineering (BSCpE) degree.

/s
I too preserve my energy.

I’ve internalized patience. I’m not in a rush to be heard or make a point. I use the time others are speaking to listen and formulate my response. Then when it is my turn to speak I try to limit myself only to what needs to be said.

It can be very hard on me to do this. Especially when the conversation steers into something I am passionate about or I am completely uninterested in. It takes a lot of practice and energy to be polite, show interest, and listen to what is being said.

I find that the most effective technique in my arsenal is to wait. Then when there is a moment of silence I turn the tables and repeat back what it is I heard from the other person in my own words. I may ask a question or two to ensure I completely understand what they are saying. I find that there are many cultures where it is unusual and disarming for others to intentionally try to understand you. Once someone is aware they are being interviewed and their thoughts are being thoroughly and fairly considered I find the conversation turns into my favour and I can get my point across without having to interject.

Shouting over people to get attention is.. odd. I mean I have to do that with my children because they are not old enough to be considerate and hold a conversation. But I resist the temptation with them. If I am quiet and patient they listen better.

And sometimes none of this works. If I get into a conversation with more than one person and everyone is moving too quickly I simply cannot handle it. I politely remove myself from the conversation and follow up through back channels with individuals as necessary.
Something I've noticed is there's a strong correlation between people bulldozing in meetings/conversations at the office and being recently/overly caffeinated.

I haven't tried this myself, but it might help to question the person doing it as being potentially overcaffeinated in the moment. Maybe it can be done playfully, without being combative. Something like "Man, how much coffee did you drink today? You're out of control."

Also, it's kind of an arms race if this is what's going on. What you can do is caffeinate yourself and fight fire with fire, if you don't mind a caffeine dependence.

Caffeine is like a mild form of cocaine. It similarly tends to make people arrogant, overconfident, loud, impatient, obnoxious, talkative, and over eager.

At my last office position, which was in SF, I absolutely hated most of the social interactions because people were abusing caffeine like a pile of junkies. The lunchroom had a dedicated corner full of coffee making apparatuses and scales, it was completely ridiculous. There was enough equipment for half a dozen people to freshly gravity drip coffee simultaneously into their cups.

I basically don't use caffeine at all, and it was simply impossible to tolerate communicating with most of the employees in any serious topic. They would just go a million miles an hour and bulldoze right over my entirely sober state. Rather than try match their energy level and agressiveness I'd just walk away and engage virtually on IRC/slack/github instead.

SF in general strikes me as a city full of addicts. In the office people were largely high on caffeine, and outside the office they would get drinks nearly every day after work. It's definitely not for everybody, and I had a better experience in this regard working in Silicon Valley (Mountain View).
Even though Libra will be HQ'd in Switzerland, FB control means US and State Dept. control by extension. If a Chinese company dominates payments for the unbanked, the dollar and SWIFT partners hegemony ends and that lever is much weaker.

Social network payments will be a "radical monopoly," and the ability to manipulate exchange rates on that platform gives absolute power over import/export prices. Probably not something you want to yield.
Apple Maps does utilize and contribute to OSM data to some degree:

https://github.com/osmlab/appledata/
Poll: Would You Pay for Newsletters?
Kindly mention the topics you'd be interested in below
My first gig out of college was maintaining Cobol at a bank for two years. Some of the programs were 20+ years old, and we made changes monthly - it always seemed like a fantastic rate of churn.

If something went wrong during a deployment, heaven help you. One time a pair of transposed digits got through testing and code reviews and into deployment. My colleague spotted it and called the management center to hold jobs... Thirty seconds too late.

It took four days to back everything out.
The problem is that it this ends up boiling down to your tools, so it's...programming. Competitive programming can be fun! But cheaters are looking to cheat, not compete, which is why they aren't playing something like Screeps.
Which is terrible but, again, not fascist.
The Clojure language is a better and simpler Cell language.

Clojure is a functional programming language based on relational database theory.

```

Clojure -> DBMS, Super Foxpro

STM -> Transaction，MVCC

Persistent Collections -> db, table, col

hash-map -> indexed data

Watch -> trigger, log

Spec -> constraint

Core API -> SQL, Built-in function

function -> Stored Procedure

Meta Data -> System Table

```

It officially supports jvm, js, .net platform, and third-party implementations such as go, py, erlang and other language platforms.

You can use graalvm for native compilation, and mixing with R, python, ruby, js, Java is very simple.

[Clojure is a FP based on RMDB.](https://github.com/linpengcheng/PurefunctionPipelineDataflow...)

[Everything is RMDB](https://github.com/linpengcheng/PurefunctionPipelineDataflow...)

[Implement relational data model and programming based on hash-map (NoSQL)](https://github.com/linpengcheng/PurefunctionPipelineDataflow...)

[Clojure Home](https://clojure.org/)
I suspect that the health concerns are FUD to prevent conversation about the real problem — WTF is this poorly propagating technology for?

Answer is easy — kill cable, and move us all to more profitable, metered wireless services.
All living humans are Homo sapiens. That's the only species of humans that is not extinct and there are no recognized subspecies that are not extinct. Modern humans are categorized as a subspecies called Homo sapiens sapiens. But it's worth noting that the entire idea that there are or were any subspecies of Homo sapiens is debated.

All other humans were extinct by around 10,000 to 15,000 years ago.
When We Brought Linux to Windows
Java style design patterns are often just a crutch for the lack of abstraction in the language.
I think you're confusing races and species.

There is very little genetic distinction between modern races, little enough that we wouldn't consider them separate subspecies in other animals, so neither do we in humans. This, combined with the fact that distantly related people are often grouped together (for example describing both Africans and Australian Aboriginals as 'black') is why race is often described as a social construct.

There were in the past, however, different human-like species (we call them hominins). Neanderthals are the best-known of them. They were able to interbreed with humans, but apparently only with a very low success rate, hence we describe them as separate species.* This is similar to the way we describe horses and donkeys as separate species, despite the fact that they can very rarely produce fertile offspring[1].

All other species of hominin have since died out (it appears we outcompeted them as we moved into their territories), leaving only our species.

*Some researchers, since they were marginally compatible, describe the different groups as subspecies rather than species. It's right on the line, and there's no obvious correct choice.

[1] https://en.wikipedia.org/wiki/Mule#Fertility
But the vast majority of the DNA of the vast majority of us is Sapiens, from Africa, no? If not, do you have any sources?
How returning (val, err) is error prone? It's verbose but it's clear and definitely not error prone. I spent so much time working with Java and useless giant stacktraces or with Python and people not knowing what to do inside a try / except.
I'm not clear on what exactly you're trying to represent here, but it looks like something that wouldn't work with Go's type system. ErrorCheckerFunc would need to always have the same return type and accept a function with the same type signature.
An unspecified skill is the ability to distill what the business actually needs versus what they say they need.
I think you make a reasonable point that is worthy of discussion. Unfortunately there's a group of people on this thread that are downvoting comments such as yours instead of discussing them. I'd like to see reasoned responses to your comment, i.e. tell us why you are wrong instead of the downvote brigading.
... I could do this with Golang too, couldn't I?
Highly recommend Vipassana Meditation (S.N. Goenka https://www.dhamma.org). They have centers all over India. You gotta start with a 10-day course.
So, on the one hand we need to "prove safety" of $NEW_TECH before deployment and on the other hand the $NEW_TECH industry is not allowed to fund the investigation (because suspicious!!)?

How does anything new get invented in that world?

Also, your linked article is extremely long but ends with this sentence that is just ... well I don't know... ridiculous:

"No scientist can say with certainty how many wireless-technology users are likely to contract cancer, but that is precisely the point: We simply don’t know."
Not OP but I believe he is referring to the concept of Financial Independence. There is an excellent reddit community and wiki on the topic [1].
[1] https://www.reddit.com/r/financialindependence/wiki/faq
A few tidbits:

18k respondents to his survey offered up $30k per month in donations .. but ads are better .. for a podcast.

He has 400M downloads from ~300 episodes.

One subscriber paid $1k per month.

Despite respondents to the survey saying they'd pay $5 or $10 he tested $9.95 and $19.95 payment levels as the minimum and 83% paid whatever the lowest was. So, prior to the subscription 24% said they'd pay $5, and only 4% that they'd pay $10 but he still managed to only lose 17% (off the subscription page) when the minimum was $19.95 .. that's kinda crazy.

#iveneverheardofhim #isheahypnotist

Edit: People listen, then go away and hunt down the products, enough that companies will pay him more than [ 30k/(1M/5) ] ~$6 per subscriber per month??
I actually bought the official case and drilled out a hole for a Pi-Fan (you can get them on Amazon or most places that have Pi's and accessories), 1 1/8". I mounted the fan on the top case and plugged it into the 5V and GND GPIO pins, and it keeps the Pi nice and cool.

I'm working on a blog post and YouTube video with the full details, but it's not that difficult an operation, and I liked the look/size of the official Pi case more than a printed case or one of the thousands of knockoffs.

I do agree with the parent that a fan (active cooling) is absolutely necessary on the Pi 4, more so than any before, as the CPU is not the only part on the board putting out a lot more heat than previous generations—that heat needs to move somewhere.
> Should I compare it to "Golang Dependency Hell Claimed My Project?"

As someone just learning Go, what is Golang Dependency Hell?
This issue is too theoretical to contribute to deciding what should be acceptable.

I will open the bidding by suggesting that Canada's frequency of dangerous pipeline failures should not exceed its frequency of airliner crashes.
The full Umberto Eco essay:
https://www.pegc.us/archive/Articles/eco_ur-fascism.pdf

Another 14 point list by Dr. Lawrence Britt that is also relevant:
https://ratical.org/ratville/CAH/fasci14chars.html

A Scholar of Fascism Sees a Lot That’s Familiar with Trump
https://www.newyorker.com/culture/culture-desk/a-scholar-of-...