Hacker Newsnew | past | comments | ask | show | jobs | submit | BarkMore's commentslogin

If the concert attendees value the concert experience more than they paid for the tickets, then the concert generated value.


min and max are predeclared identifiers in the universe block, not reserved words. https://go.dev/ref/spec#Predeclared_identifiers

You can continue to declare your own entities with these names.


It's either habbit or you are doing something out of the ordinary with your Go installation. The standard installation of Go has not required GOROOT for a very long time.


Yes, this happens. My son could not take calculus in high school because he was mislabeled in 8th grade. The 8th-grade decision has had an impact on his college career.

The school system has as a track of classes leading up to calculus. A student can jump forward on the track by passing a test on the next class in the track.

Because there were other demands on my son's time, it was not practical for him to learn a year's worth of material outside of school time.


See the Fair Tax proposal for one way to address this problem. https://en.wikipedia.org/wiki/FairTax


A large UBI would address this OK, but FairTax seems to really work to keep the tax as regressive as possible without being quite so bad as a flat VAT. A "welfare payment" for "low-income earners" means you have to be in the system ("earner"), that income still has to be calculated, and that the payment is stigmatized ("welfare") instead of presented as an entitlement.

This also seems bad: "The proposed Fair Tax Act would apply a tax, once, at the point of purchase on all new goods and services for personal consumption" - "personal consumption" is arbitrary. A VAT tax applied everywhere for all goods would be fair and harder to avoid. Though even that seems like it would encourage financialization to hide material production.


Yes thanks. That thing sounds like a Trojan horse; VAT and UBI is much better.


You do not need to go down the Github rabbit hole. The symbol prometheus is from the package github.com/prometheus/client_golang/prometheus. Use go doc github.com/prometheus/client_golang/prometheus to read the documentation from your local copy of the package. Use go list -f {{.Dir}} github.com/prometheus/client_golang/prometheus to find out where your local copy is located. If there is only one prometheus.NewGaugeVec in your workspace, then the command go doc prometheus.NewGaugeVec shows the documentation for function and reports the package where it's defined.


Yes, it states the obvious, but I'm trying to point out what I mean. It's not always so golden as such.



Thanks!


A type alias binds a new name to a type. All of the type’s methods are available through the new name.


I fixed my comment. I didn't mean to have equal signs in there.

Proof that `type X Y` causes the issue: https://play.golang.org/p/erfcSIe-Z7b


The type definition `type X Y` declares new type X with the underlying type of Y. X and Y share underlying types and nothing else.

This is a useful feature and there's nothing weird or special case about how this works. It's just not the aliasing feature you expected.


It's still shitty and weird behavior. Not simple at all.


pkg.go.dev is the module aware replacement for godoc.org.


The tools, habits, and existing links haven't been updated. godoc.org don't point people to the new site. The "replacement" experience is a little broken.


McConnell’s office did not state that. Search the web for “mcconnell fake quote” for info.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: