skysight-inc/HackerNews huggingface dataset:
>What I appreciate most about Go is that I am sure that I can look at 99% of the Go code written in the world and I can understand it immediately.

No you really can't. You can look at any given line of code and tell me what it does, where as it might take more time to parse any given line of Haskell, Scala, or OCaml longer.

However, expressivity in a large application pays a dividend tenfold, because the main challenge of reading code is not any given line, it is understanding the application architecture, the frameworks, the data flow and how it all works together.

> That is the reason there are so many successful new programs popping up in Go with large open-source communities.

Successful, or popular? Just look at Docker. Certainly popular, but check the bug tracker or talk to anyone with real world experience using it at scale and you'll be hearing a completely different story.
You're fine if you wait for the longest chain to emerge.
Amazon is getting too big and the government is talking about it
They did the same thing with adding a “round” function. As a result, there are myriad implementations of round() in the wild in Go, and almost every single one is broken in several ways.
>As an aside, since you're making the distinction, can you have meaningful benefit without breakage? Eg, you're specifically separating the two - so can you have significant improvements without breakage?

One way is by having a new language feature which does not interact with anything else in the old version of the language, i.e. is orthogonal.
Scientists explain what the article on “The Uninhabitable Earth” gets wrong
Have you used erlang? Pattern matching is a big part of it, and pattern match failures always result in errors. So, if you have some function foo() that always returns ok or {error, Reason}, then in the "follow the happy path" style, you'd just have a line reading "ok = foo(),", and then if foo actually returns something else, you get a "crash". There's no assuming anything there, it's just the way the language works.
>Title: Stoicism in Five Minutes.

>Duration: Approx. 10 min.

Is it some meta stoicism to react stoically to that?
Complex Loader Management for Vue/Vuex Applications
A leap second coming between now and Unix time 1500000000 would certainly be unexpected. I doubt any software in the world is ready for that.
To save everyone else time:

$ grep to$ /usr/share/dict/american-english | column -c 80

Akihito	Maputo	Shinto	ditto	palmetto

Alberto	Margarito	Soto	falsetto	photo

Ariosto	Minamoto	Soweto	ghetto	pimento

Barquisimeto	Miskito	Squanto	graffito	pimiento

Benito	Modesto	Suharto	grotto	pinto

Bhutto	Monsanto	Tintoretto	gusto	pizzicato

Callisto	Mutsuhito	Tito	hereto	potato

Canaletto	Norberto	Tonto	hitherto	presto

Cato	Otto	Toronto	incognito	pronto

Erato	Pareto	Toto	into	quarto

Ernesto	Plato	Tupungato	legato	staccato

Esperanto	Pluto	Vito	libretto	stiletto

Frito	Pôrto	alto	lotto	telephoto

Gilberto	Quito	antipasto	magneto	thereto

Giotto	Rigoberto	auto	manifesto	to

Heriberto	Rigoletto	bonito	memento	tomato

Hirohito	Risorgimento	burrito	mosquito	unto

Humberto	Roberto	canto	motto	veto

Ito	Sacramento	concerto	mulatto	vibrato

Kyoto	Sarto	contralto	onto
Warren Buffett Gifts $3.2B in Berkshire Hathaway Stock to Charities
There's also a cost issue:

If you have a one stage furnace - your only option is a one stage AC (vs 2-stage or variable speed AC). You need to upgrade the furnace/blower to take advantage of the more efficient AC model

Mini-Splits are great but much more expensive to purchase (~4k USD per Unit which covers 400-500 sqft). They also don't heat as well as a traditional gas fired furnace.

Heat pumps are probably the way to go in moderate climates but I haven't looked into them in much detail.
Karma CSS
The new Ford GT review – Ford’s new Le Mans-ready supercar tested
Full text:

Berkshire Hathaway Inc. Chairman Warren Buffett has donated about $3.17 billion of shares in the company to five foundations, the company said Monday, the latest contribution in a more than decade-long pledge to donate a portion of his wealth to charities and philanthropic endeavors.

The Omaha, Neb., billionaire investor donated 18,628,189 Class B shares in Berkshire Hathaway to five foundations: the Bill & Melinda Gates Foundation, Susan Thompson Buffett Foundation, Sherwood Foundation, Howard G. Buffett Foundation and NoVo Foundation.

In order to make the contributions, Mr. Buffett converted his A shares in Berkshire Hathaway to Class B shares. Last year, Mr. Buffett made donations totaling $2.86 billion to charities.

Mr. Buffett, 86, is Berkshire’s largest shareholder and as of March held 32.7% of the voting power in the conglomerate.

Mr. Buffett pledged in 2006 to donate 85% of his Berkshire Hathaway stock to the Gates Foundation. Including the stock gift this year, Mr. Buffett said he has donated $27.54 billion of stock to foundations.

Mr. Buffett said Monday he intends to have all of his Berkshire shares given to charities through annual gifts that will be completed 10 years after his estate is settled.
I remember the old days of Flickr. The copywriting on that site was spectacular and full of personality. Slack has some of it, but Slack is not as fun as Flickr was.
It's not absurd. This methodology may not be best for everyone, but imo it's best for the language its self, and seeing as Go is one of todays fastest growing languages the developers must be doing something right.
I don't buy into the consumer-side of the scare.
The most misunderstood part is the FCC will still absolutely have the authority to intervene when rights are being violated. And it has, way before there was a big public debate.

Worst case scenario stuff goes bad and we introduce that regulation again.

The entrepreneur side is more reasonable. Obviously hard NN brings some barriers to entry down.
How does the compiler know the types of the database columns?
That information has to come from somewhere. Also, type checking is negligible from a performance perspective, so I the "zero overhead" is of minimal interest.
Well, a certain sort of therapy.

It's pretty insightful to connect the increased interest in stoicism to the boom-and-bust cycle. As the specter of a bust looms larger (hallucinatory or not), I can imagine that people who would be affected by the bust might find themselves seeking out ways of psychologically weathering the storm. Stoicism ain't it, in my book, but it certainly presents itself as if it were.
A Murderer in the Family (2014)
I've never understood why we even design most HVAC systems to maintain one temperature. I don't care that my home or car is exactly 18°C warm, I just want to keep it at a temperature between 18°C and 25°C year-round. It feels completely unnatural to be forced to set a single temperature and change it depending on the situation.

A less straightforward change for further automation would be to make that temperature depending on the humidity. On a dry day, 28°C is perfectly fine, on a humid day it's way too hot. I can't be bothered to adjust my desired temperature depending on humidity, but a computer could easily do that.
Or maybe it's a bit of that, but also a lot of being part of the establishment is now considered enough of a vice.
> 1930s Germans were pretty similar to Poles and the Dutch

not to germans, unless you ignore that whole biologically superior Aryan fad
Good news about the bedrock holding the iceberg in place.

As a casual earth science enthusiast, I believe this means that the melt-water will stay proximal, and will encourage accelerated freezing on the coast, somewhat "repairing" the damage.

When it breaks up/drifts away, the coast will be subject to normal freezing patterns from the briny water.
Git Bisect Debugging with Feature Branches
A geo-spatially accurate 3D Map of the World to do pretty much anything with
> Not implementing generics, then suggesting that it would be nice to have examples of generics being used in the wild… You had it coming, obviously.

I think you misunderstood. Clearly he meant to ask for examples from the real world that lack generics, but shows how adding them would improve the system.
completely theoretically with nice round numbers, let's say a SaaS company has $50m in annual revenue, and they want to grow to $100m in annual revenue next year. lastly, let's assume time required to pay back the cost of customer acquisition (marketing, sales, setup support) is 24 months, and customers always pay annually up front. (24 months is kind of a long payback time, so this is a bit extreme.)

doing the math... you have $50m in revenue so you can buy another $25m in recurring revenue with that. and then you need another $50m in capital from somewhere to add the other $25m in recurring revenue to get to $100m ARR total.

it also follows from the math above that the faster you grow revenue, the more capital you need. :) saas math is a bit funky.
You're implying that the source photo was taken by a professional photographer, but these are all clearly sourced from Google Maps. There was no pre-existing framing because it is a 360 photo, and the exposure is probably automatically set by the camera. I doubt the people hiking trails with a camera backpack really spend much time configuring their gear- because it would take too much time.
> I'd also argue that having large groups living out in the desert is such an absurd configuration for humans that it presupposes an indifference for any sort of sustainability.

It's easier to irrigate a flat desert with fertile soil than to move the flat terrain and fertile soil closer to a water source.

Food production is a fairly important component of sustainable human societies, and a major reason for the US (California particularly) having inhabited deserts and semi-arid regions.
I can sympathize with the dislike of exceptions. I very much prefer Rust's error handling model (return Result<T, Err>)

The fact that Go has had this much success without generics is mind-boggling to me.
Ask HN: How do you publish the same project in a different language on GitHub
Often I like to recreate a program or project using a different language. I mostly use GitHub as a portfolio rather than truly sharing open source software.

Currently my strategy is like this:

1. publish the project to GitHub

2. after a while recreate the project and publish it again with a suffix. For example -java or -cpp like this:

https://github.com/stevenbraham/stocks-data

https://github.com/stevenbraham/stocks-data-go

Curious to hear what other strategies people use? Such as folders or branches?
> Just as the ++ in the name C++ is intended to imply that C++ is a step above C, the # in the name C# is intended to resemble two ++ operators stacked on each other, indicating that C# is a step above C++.

I've sort of followed C# since it was released, and never realized this.
At least from the outside, GCC asan seems comparable to clang's right now. I haven't done back-to-back checking to see if clang finds things it doesn't. I haven't really used the undefined and thread sanitizers though.
See also: https://puppycidedb.com/

Or if you just want tales of stupidity, Reason has a nice collection http://reason.com/tags/puppycide (if you don't mind the typical Reason editorial positions, and the tone of its coverage). Sample: "Cops Open Gate, Letting Dog Loose, Kill Dog, Cite Owner for Having Dog Loose, Lawsuit Alleges"
Calling those languages screw ups is one of the funnier things I've seen in awhile.
I am not saying that the business is not profitable. I am just saying that Yandex is going to take it all.

If Yandex can take Uber's stake, which is worth billions as you say, they would be stupid not to, and they can, so they will.
Should be:
"I Simulated a Stable Planetary System with 416 Planets in the Habitable Zone"

It's amazing to think how far a civilization would have to advance to go from "simulated" to "built" for something like this.
I think you meant to respond to Steve. I'm not a Rust guru (I keep trying it, but I don't have any applications for which it's reasonable to trade development time for extreme performance). I definitely don't know anything about diesel.
In the oilfield, workers generally have rotational schedules.

Something like 2 weeks on, 2 weeks off.

The 2 weeks on is intense. 84+ hour work weeks, and still hitting the bar and partying every night. When you're on site, all laundry/meals/etc. are taken care of for you. Toolpushers (project managers) have budgets to cover booze (off-site), entertainment, and so on.

The 2 weeks off is to go back home, spend time with family, go fishing, and whatever else you to have to do to relax and be refreshed for your next 2 weeks on.

The workers usually get double occupancy rooms. One person works the day shift, the other works the night shift, both working on the same thing. During transition periods, they update each other with statuses of what's going on.

As far as I can tell, this is the most ideal way of pushing limits on how to maximize output without burning everyone out completely.

If someone had that kind of business model setup, I'd sign on in a heartbeat.
Btw, the link you provided was for Medicaid spending and it has been reported that Medicaid had $140 billion in improper payments. The $1.3 billion was on one Medicare fraud investigation, not the entire fraud for the year through Medicare. Medicare and Medicaid are distinctly separate programs.
`gofmt -w` also already exists, it just (a) has to be run as a separate step and (b) doesn't have full cross-file understanding of the program.

Since we have version control now, I don't see any threat from an optional capacity for the compiler to destructively mutate the source as an optional feature. Let the same toolchain that converts input to output suggest improvements to the input.
So, what you're telling me, is that if you give people with effectively no real accountability loaded weapons, some of them will go on to kill innocents? Say it ain't so!
Congratulations, and best of luck. Insurance is a super interesting market.

Side note: Might want to change out your Lorem Ipsum text from the Claims section:

https://www.coverinsurance.com/make-a-claim
> The Result type forces you to at least actively dispose of the error.

Sort of: by default, an unused value of the `Result` type produces a compiler warning. Like all warnings in Rust, this category of warnings can be promoted to a hard error for all users with a single line of code. And unlike other languages where compiler warnings are uniformly ignored, there is a strong culture in Rust of making sure that code compiles warning-free (largely due to the fact that the compiler is rather selective about what to issue warnings about, to help avoid useless false positives and warning spew (there is a separate project, called "clippy", for issuing more extensive warnings)).
This bothers me. One of my dogs (Australian Cattle Dog) is very protective of her home. Although she behaves very well at others' homes, in public and in cars, once at home she will attempt to "heel" strangers away from the house. She can appear very intimidating.

I could easily see a police officer shooting her. The thing is, I like that my dog is protective of her home. It's really comforting to know that if, by chance, I forget to lock my door she will absolutely not allow a stranger to enter.
Who gets to decide what is simple or not though ?

Coroutines seem like something that is more complex to me than generics.
like that time I investigated ant hill with my magnifying glass
This is the first meaning of "rape" that I ever learned:

https://en.wikipedia.org/wiki/Rapeseed
The Nation has noted a Department of Justice estimate of
10,000 dogs per year killed by police.

What in the fuck.
The flood risk anywhere near the Mississippi River would be unacceptable.
This was announced at GopherCon today. FYI, if folks are interested in following along other conference proceedings, there is no livestream, but there is an official liveblog: https://sourcegraph.com/gophercon
Is there anything like this for health insurance? I have to get my own insurance but working through the marketplaces is such a pain. If there was a health insurance provider that literally just had a nice web interface I would be very likely to use it even if it's more expensive.
In some ways, I COMPLETELY AGREE.
UI 'cleanness' killing 'functionality' is so late 2000's, please. Let's move on. I use my box professionally and need to get shit done. I don't need bouncy. I don't need address bars that hide things and make it non-copyable. Yes, date-modified is a useful sort. Don't hide it like MS did. Yes terminals are awesome and should be front and center. Don't hide them and pretend they are embarrassing and try to hide them under some menu.

But in other ways I disagree. There are plenty of options for the power-user to adapt their environment right now. How are we hurting? (Unless you are corporate and they restrict you to some gimped UI.
Maybe, but then one can only really use compiled languages ... or isn't it a similar effort with JavaScript/Node.js, Python or PHP?
Chill dude. I was playing along with the joke. Also, a boss would say "You must use this code!" not politely discourage it... also W3C
These guys really seem to operate like an occupying force, not police.
http://timestamp.online/countdown/1610612736

Obviously. Programmers celebrating 1500000000 just make me sad.
People keep saying this and I struggle to understand how this represents good design. In any language I can always just eat the error and keep going, or eat the error and restart.

That doesn't fix the error, and it doesn't imply the program will work correctly.
https://www.reddit.com/r/ocaml/comments/6n0n6b/ocaml_4050_re...
The LA Basin is not a desert.
Not in Java, Scala, Clojure etc. it isn't.

You can wrap all your code in an unchecked exception and never again have to worry about errors. It's bad practice obviously but there are many situations in which you don't care what error occurred but that an error itself occurred.
Will not diminish, sorry fingers were faster than my brain.
The federal poverty level for a single individual is a bit less than $14,000.
Air conditioning also changes humidity, not just temperature. I imagine few cities in Germany are particularly humid.
a shred of ancient spacecraft wreck would suffice
> It's a factor if you're writing a compiler for a new programming language.

Let them release their compiler for that language under GPLv3. What is there to be scared of?
That was George Tupou V's doing. When he was crown prince of Tonga, he set up the .to registry as a business operation. The original server was in the consulate in San Francisco. When he became king, he had to sell off the business. I knew some of the people involved with ".to", which was the first of the monetized ccTLDs.

So, "The Kingdom of Tonga admonishes you" is not a joke. That message originally came from someone entitled to issue it. Topou V died in 2012.
Using apollo and react for 'load more' buttons/infinite scroll
He says that's their target, not actual.

I don't know his sector, but in mine, for a maximally automated service, that would be very high, and leaves exposure to undercutting from similar new entrants.
We detached this subthread from https://news.ycombinator.com/item?id=14763705 and marked it off-topic.
Ask HN: How do OpenDoor viewings work?
I'm curious how they can ensure the security of their properties during viewings, where the potential buyer views the unit in a timely manner and locks up the property when they leave. In the traditional real-estate market, you would use a physical key box with a 4-digit code to get the key and it is out of good faith that you're to lock up and place the key back in the box.
Since they take ownership of the house and restart the buying process, do they replace the locks with Smart Locks to work with the access code where they can ultimately control access to the house?

I've never used OpenDoor but it seems like they've eased the process for potential buyers to complete a viewing of a property on their own time. After looking for a condo for the past 6 months and having over 30+ unanswered viewing requests I felt the pain from a renters perspective.
I remember in Python some class / module would have different fields in the error object, so it was really difficult to do something meaningful with those errors.

There is also the switch case you need to make when catching an error, like tcp connection then dns resolution and so on, you have to know every time any kind of sub errors.
I wish I could be truly stoic. Or a Vulcan. Instead, I constantly walk on the edge of a panic attack.
I've programmed scores of libraries in Go and found it pleasant, in fact it's more pleasant writing a library in Go than in any other language I've used.

I've never once even considered the fact that I might need generics because I've never run into an unsolvable problem or an extremely inelegant engineering solution. I see a lot of people claiming that the lack of generics is a big problem but no one is actually showing a concrete case where generics are necessary.

C doesn't have generics but we never have this discussion when we talk about C.
I doubt I will ever get to write an error message as great as "The Kingdom of Tonga admonishes you."
Melting of an ice cube in a glass of water doesn't change the water level. It was in the highschool physics cirriculum where I'm from.

This won't hold true when melting a _freshwater_ ice in _salty_ water, but I too doubt the change will be anywhere near 0.1mm
Internal affairs will take an officer's word over that of a bystander in a homicide. Why would they do anything different when a dog dies?
I spent much of last year traveling around Southeast Asia and I always opted for fan rooms over A/C whenever possible. Yes, they were warmer, but once you got used to it, it wasn't a problem. But the best part about it was the lack of the respiratory problems that went along with A/C. In humid environments like the tropics, going between wet air and dry air can be really rough on the sinuses.

I wonder how many people have respiratory problems that they chalk up to allergies and whatnot that are actually due to the breathing overly-dry A/C air.
That may be true although, to the broader point, I've never seen those sorts of benefits be optional (albeit across a fairly small sample size). Employers get a good deal precisely because there's going to be a lot of adverse selection with these sorts of things. Healthy single 20-somethings get a pretty good deal on their own but most of them won't even bother.
Ask HN: How do you organise your deployment code?
I've seen people put the CI code in another folder in the same repository, and include some build scripts in the main codebase folder.

I've seen people really separate out their repositories.

I've seen absolute messes.

How do you prefer to organise your deployment code?
I am not really fond of any of the approaches if I'm honest, but pushed, I will plump for a CI folder in the same repository, with a build script or two swimming around.

I don't love it, but an entire separate repository seems the wrong way to go about things.
Gitlab ci works best with gitlab. Circle ci is is better suited for github
Not sure I agree with that. There's good landscape/portrait photography, and there's really great landscape/portrait photography.

Great landscape photography takes you to an interesting location or interesting angle. A post-processing algorithm cannot take you somewhere interesting.

Good landscape photography makes you say, "Wow, that's beautiful!"

Great landscape photography makes you say, "Holy crap, what is that? Where is that?"

https://500px.com/photo/4505244/rainbow-glass-by-junya-haseg...

https://1x.com/photo/41156/portfolio/60972

https://500px.com/photo/103746295/the-white-silence-by-danie...

http://ngm.nationalgeographic.com/2008/08/photo-contest/stei...

http://hongwrong.com/verical-horizon-hk/

https://500px.com/photo/103960697/one-thousand-and-one-night...

https://500px.com/photo/5211062/harvest-by-rob-kruyt