skysight-inc/HackerNews huggingface dataset:
I have knowledge in Python and never developed in Go, so I can't comment the Design choices. On the form, in my humble opinion, the PEP style is easier to read : presenting rational and constraints before the proposed solution.

It would mean moving (and a bit of rewording) "Discarded ideas", "Comparison with Java", "Comparison with C++" before "Design" and after "Background".

As a reader, I prefer to be presented with the problem first (with the constraints and previously explored ideas), then be presented the logical, "obvious", proposed solution.
> A square mile is a huge chunk of land. It's nearly 640 acres.

By the way, a square mile is exactly 640 acres.
Faster Than Vanilla JavaScript
Your example is comical. By my reading, Amazon stole (and was ordered to return) $70 million from Americans by offering their children fake playmoney for their real money. Where are the punitive damages? $70 million is piss to Amazon.

Here's another comical example from recent:

Facebook is fined $5B for privacy violations. Their stock goes up for the day.
"Wells Fargo had apparently tried to evict another customer for not keeping up with payments, and bank employees had mistakenly removed his box instead."

Wow. The incompetence is truly amazing.
The title could've been worded better. It makes it sound like the article is against ad-blocking.
Mostly because people ask for features. And to support new charging stuff. Everyone loves Sentry mode, automatic video recordings of people damaging your car while it's parked.

Then there's "entertain people while charging" stuff.

And then there's autopilot stuff. NoA, Stop light detection, emergency lane departure avoidance, automatic lane changing, conditional speed limits (eg slower in winter)
I see a major tasks for philosophers to collaborate with these scientists so that they have the best awareness of what they are doing.

Not that it will ever happen but one can dream.
It's an interesting piece, by an author who chose to be anonymous:

To those convinced that a secretive cabal controls the world, the usual suspects are Illuminati, Lizard People, or “globalists.” They are wrong, naturally. There is no secret society shaping every major decision and determining the direction of human history. There is, however, McKinsey & Company.

The biggest, oldest, most influential, and most prestigious of the “Big Three” management consulting firms, McKinsey has played an outsized role in creating the world we occupy today. In its 90+ year history, McKinsey has been a whisperer to presidents and CEOs. McKinsey serves more than 2,000 institutions, including 90 of the top 100 corporations worldwide. It has acted as a catalyst and accelerant to every trend in the world economy: firm consolidation, the rise of advertising, runaway executive compensation, globalization, automation, and corporate restructuring and strategy.
What Is Gaussian Curvature?
Post-Agile: A Summary
The containers don't run on macOS as such, they run on linux inside a VM. You could spin up that linux inside an x86_64 emulator such as qemu instead. The emulation would be slower, but it would be a serious problem for most use cases.
It is not a proposal, it is a draft.

The new draft improves the contract part. But generic declaration part still looks some verbose. There are many repetitiveness, such as the Map example: https://github.com/golang/proposal/blob/4a54a00950b56dd00964...

func New(type K, V)(compare func(K, K) int) *Map(K, V)
func (m *Map(K, V)) Insert(key K, val V) bool
func (m *Map(K, V)) find(key K) **node(K, V)
func (m *Map(K, V)) Insert(key K, val V) bool
func (m *Map(K, V)) Find(key K) (V, bool)
func (m *Map(K, V)) InOrder() *Iterator(K, V)

And I didn't find how to write a contract which requires a type must have some specified fields in this draft.
> Don't cross the center line of your body with your arm. If you were climbing a ladder you wouldn't ever do that

Hmm, that doesn't sound quite right to me. I claim no knowledge especially in swimming technique so this is just for curious discussion and you can put me right - as a weightlifter, the most natural and least impinged arm motion for me is a diagonal across the body whereas perpendicular swinging motions are crunchy and impinged.

If I climb a ladder, I'm propelling myself with my legs and only holding on with my arms by pulling my chest to the ladder so that seems like a bad analogy. Incidentally, if you ever want to feel like your forearms might split out of their skin, try climbing a wind turbine ladder! I think I ended up having to finish it by hugging the ladder in my elbow creases having lost all grip strength due to forearm pump.
The fundamental concepts haven't changed but the applications certainly have. The amount of things you can "do" with technology these days is far more vast than it was 25 years ago.

It seems to me like you expect that coding itself should provide you with interest and excitement. Maybe you should try focusing less on the skill itself but what the skill can be used to build? Do you think that an engineer would look at a drone for the first time and think "boring - its just a bunch of propellers provide lift for the device, I've seen this all before.."? Similarly, do you think that a programmer would learn about RSA crypography and think "boring - its just modular arithmetic and prime factorisation, I've seen all this before"?

All knowledge is built upon that which came before it, so in that sense I dont see how anything could be considered "a new challenge" by your standards?
He actually repeatedly sites and quotes The NY Times article.
It seems like China already has this

https://youtu.be/mc8htuhSyWE

https://youtu.be/0QKrHi-G9WQ
> What’s even the point of being the “influencer”, are people looking up to it?

Economically, you might get "famous" enough for small brands to send you free stuff to show in the photos, in the long run they want to win the recognition lottery and get more and more famous. It's very self-referencing
Weird -- the services you're utilizing are developed exactly the way you're going to avoid!

When developing a monolithic application your choices make sense. When you're taking an approach designed to allow for feature development by multiple teams in an Enterprise setting they start to be a bottleneck.
All Hail the Algorithm – The impact of algorithms on our everyday lives
You Say What You Eat
China’s chipmakers could use RISC-V to reduce impact of US sanctions
GKE is free.
Can someone explain the advantage of using Go as an intermediate language?

Since there's no way to translate Go back to PureScript, I assume the intention isn't to write an application in PureScript, compile it to Go, and edit the resulting Go code.

So is this just a way to utilize the Go compiler to produce binaries from PureScript, or am I missing other use cases?
It's actually possible to build a working machine lathe out of the parts of an ordinary car engine. If you really wanted to make society collapse resistant, including a manual about how to do so, a couple of tungsten carbide bits, and a couple of hacksaw blades with every car would probably do the trick. I think everything else you need (welding equipment, drills, etc) would be fairly straightforward to cobble together.
The root is our current form of capitalism.
AWS Well-Architected Labs
Yeah it’s not really possible for it to work without calling functions, as that’s how the developer console functions. Thanks for the feedback! I coded this ages ago and was surprised to see it on Hacker News!
A Comscore Company Distributes a MITM Proxy Spyware Compromising Users Security
It seems to me that the buy-in isn’t so much about hype-cycles, but just wanting to say the right things to get developers to sign on and work.

So many things in life are about pulling the wool over the eyes of the young and idealistic.

Agile seems to have turned into one of them.
I wonder if these numbers are for traffic as in bandwidth or for discrete requests. Counting by bandwidth would explain the surprising representation of image search.
Are you referring to https://www.reddit.com/r/teslamotors/comments/b36x27/its_bac... ?

Not good, and they fixed it again.

They should probably put a warning like: Warning: Autosteer is intended for use only on highways and limited-access roads with a fully attentive driver. When using Autosteer, hold the steering wheel and be mindful of road conditions and surrounding traffic. Do not use Autosteer on city streets, in construction zones, or in areas where bicyclists or pedestrians may be present. Never depend on Autosteer to determine an appropriate driving path. Always be prepared to take immediate action. Failure to follow these instructions could cause damage, serious injury or death.
Güzel Hayat Ghwstb
The funny thing is that compared to most modern products a safe deposit box is pretty simple in terms of expectation. They offer a level of physical security that is genuinely useful. If that physical security is breached then all bets are off.
The Spectacular P. T. Barnum
I wish there was a way to have generics without:

* letting people being able to abuse them. C++ cough cough.

* making it clear to people reading the code what is happening.

I’ve noticed a few things:

* associated types in Rust are much clearer than generics

* one letter generics are “overly generic” and do not describe enough.

* the declaration of the type really adds verbosity

So what can a language do?

1. Maybe change the syntax to this one:

func eat(food []generic.Type)

Or

func eat(food []g::type)

Or something that doesn’t involve adding more <> or ()

2. Forbid one letter generic or force a description of the generic or even better: force listing all the types that are currently using this generic NEXT to the generic!

g.type -> {egg, bacon}
func eat(food []g.type)

But then you can’t use a generic from another package... but maybe it’s a good limitation?

Or force a generic to have a description, which is what golang is doing with interfaces. The problem is that we can’t combine difference interfaces like in Rust/ocaml
Exactly. Make the reader spend effort on attaining insight into the point and the reader becomes more invested in the product. Classic Cialdini.
I would believe Generics are highly reusable code, you shouldn't have to write and read them often. The verbosity you lost in those few lines are earned every time another piece of code use them.

Also you cannot just criticize without also proposing a solution :)
Exactly, otherwise the insurer makes more profit at higher risks. As long as all the bank deposits are equally unsafe a group of private insurers can all charge a %... why wouldn't they improve long term returns by just subsidizing thieves learning cracking skills as long as the effects are evenly distributed?

Remember all those stero install places in the 80s-90s that also installed alarms? What other job were the installers trained for if they quit?
Kubernetes' success is partly due to its novelty, as it happened with Mongo and Node when they were novelties.

The next-gen cloud systems (storyscript, darklang and so on) are embedding kubernetes, or the features provided by it, in their platform, so the end users do need to interact with Kubernetes.
What does TCP have to do with IPv4/IPv6 changes and the L2/L3 glue ARP/NDP?
Google's intro/free stuff is by far the best of the lot so def give it a try. e.g. Free VM 24/7 forever.

>Then there's the privacy angle

Don't think that's a big issue at dev level. They're interest in billions of users not tracking thousands of esoteric devs doing work stuff that has limited ad resale value.

>the worst documentation last I checked

Seemed fine to me. Probably better than azure
Original ! But no Germanie in region
Ask HN: Where can I find a whitepaper archive?
I've been searching for such a resource for a long time and there seems to be no one reliable and up to date source so i created my own aggregator. Is there something better?
Those developers would be better off supporting Linux OEMs.

That is what I did with my Asus travel netbook (1215 B), which was sold with Ubuntu LTS pre-installed.
(2013)

It's a collection of Amazon affiliate links with almost no first-hand detail on any of the books.
So if we're not our body, and we're not our feelings (both are as transitory and regenerative as each other), then what are we? How do you define the self that is accountable for this body and these feelings?
Meditation and writing are goods ways to both relax and learn more about yourself. Learning an instrument, drawing, painting are also a very good ways to relax while learning a skill that will follow you all your life and be productive instead of passively consuming content.

With internet we also have access to books summing up the knowledge of each era/geographic area. If you're asking yourself metaphysical questions you can be sure someone already wrote a book about it. Working out and listening to certain podcasts are solid activities too. Stretching/yoga can also help unfuck our bodies after being in a chair for 8 hours.

I don't think Netflix has the ability to make you evolve and become a better version of yourself like a good book can. Unplug and take it slow, it might feel weird at the beginning but you won't look back.
I hate this. I really wish generics were not adding to function signature, but instead to types themselves.

func New(compare func(generic.K, generic.V) int) *Map(generic.K, generic.V)
Thanks a lot.
Sure, first we create a list of all the individual sentences in the article. Then, we use the TextRank algorithm to rank each of the text sentences. Finally, we select the top 5 most representative sentences from the article.
I know this content doesn't get too much traction on HN but I wanted to highlight two pieces from today's issue:

Acutronic Robotics closing down [1] - I personally think that this is kind of a big deal for the ROS community. Acutronic Robotics was heavily involved in ROS2 development, micro-ROS project [2] and developed H-ROS [3].

BettleCam 10th Birthday Video [4] - this was the first time I learned about BettleCam - a robot for taking photographs of wildlife. I really enjoyed the video and the anecdotes about the robot meeting wild animals (often not surviving these).

[1] https://acutronicrobotics.com/news/acutronic-robotics-closes...

[2] https://micro-ros.github.io/

[3] https://acutronicrobotics.com/technology/H-ROS/

[4] https://youtu.be/EsEQVWyvI80
Home depot always has at least 3 people available to check you out no matter how late or dead it is.

A service desk associate. A cashier at the self check. A cashier at the exit opposite the service desk.

You ignored the actual cashier 30 seconds walk down towards either exit and didn't incline your head sufficiency to see the gal 30 feet away probably cleaning an adjacent checkout or stocking the adjacent cooler.

The labor cost of the 2 minutes scanning items is between 26c and 40c

Would you like that deducted from your bill?

You aren't paid to check yourself out because your labor isn't in service of the businesses needs its servicing your own needs to check out quicker rather than walk slightly further down.
There are a number of people on this thread suggesting that the arguments in this article are fairly weak. That may be the case for some (or most) of them, but the accessibility concerns are right on point.

I work in digital accessibility and by using CSS background images as actual inline content, you're purposefully choosing a technique which does not have a well-understood accessible alternative. Which is fine, if you are one of the people who understand that alternatives do exist and how to use them. My experience suggests to me that the majority of web devs must not be in that category.

I thank the author of the article if including this concern helps just one developer or designer make more accessible images.
Sony's mini air conditioner can fit in your pocket
> "I've seen squalor, I've seen homelessness in countries around the world," said UN Special Rapporteur Leilani Farha said. "I've seen really horrific things. And I saw all of that in Oakland, but I also witnessed a cruelty there that might be unparalleled."

It's not just Oakland but all over the country. I'm reminded of a documentary I saw a long time ago where a homeless guy from Africa is shocked to hear from a homeless guy from America that the homeless are not even allowed to sleep outdoors. That says a lot about our society and its homeless problem. It's not just a problem of housing, jobs, mental health, etc., but one of an attitude of hate and repulsion that the general masses have towards the homeless. I don't understand why they are so cruel and hateful either but it seems to be a part of the culture for large swathes of the population in America. It's even readily apparent here on hn.
> How would fraud detection work in this model?

Your business model is not our problem.
That's a pretty profound assumption to make about someone after reading a single document by said someone. Especially with comments from the author like "...each of us is an underlying subject of our own experience..."

Of course nihilism by definition is impossible. A belief in nothing is still a belief.
"or even better: force listing all the types that are currently using this generic"

This is a bad idea. Imagine a generic hash map, we surely want it to work with any value type.
Only in the beginning, when self checkout stations are being introduced and most of the customers go to cashiers, out of habit.

Thing is: even a person that does self-checkout quite often is still much slower than a cashier, who has 100x more practice. Also, when anything goes wrong with self-checkout you typically need to wait for someone to get to you and fix the issue - cashiers typically are able to fix their errors themselves.

So, in the end the lines will be longer, because of less skilled people doing the work.
I wouldn't say nobody ever did it before... as it's not something incredibly novel... but it's still fun.

For example, while playing Airmash (an web game posted here around Dec 2017, now dead but another implementation still exists in starma.sh ), some of us were using a private chat (it used websocket though)... and this chat could be loaded and used via the console from any site....
It is just me or do contracts look a lot like type classes.
Congratulations on reaching 1st jhana, or dhyana in Sanskrit. Are you studying under a teacher? A good teacher can guide you much faster. I have witnessed people reaching 1st dhyana in two weeks ( in a retreat) without prior meditation practice, and even faster.
Can you tell why? I spend a day by trying to make fluent but you are telling me it looks awkward...
>when meditation is simply acknowledgement of thoughts, which feels useless to me.

I would say you clearly have not meditated enough :)
Yegads, I think we need some sort of climate change corollary for Godwin's Law.

Difficult as it might be for you to believe, there are some discussions it isn't relevant to.
It's not altered, it's clearer. If you practice mindfulness and don't expect to have a clearer mind it's a waste of time in my opinion.
North American banks are regulated too, just in a very different (and more archaic way) from Eurasian system.
Probably because the labor cost involved in paying minimum wage employees is low and the cost of goods sold is high.

If you buy a $500 TV maybe the store paid 300 or 400 for the TV 10-20c to check it out for you.

How much discount do you expect to receive?
The market decided this is worth more not existing
True. I’m trying to find a solution to the biggest problem of generics which is imo that you can’t understand how it’s being used when reading one.

It’s fine if the function doesn’t do much. But if it’s nesting generics, or doing anything complex, then not using a union of interfaces make it really hard to understand code.

I’d like if Golang would add unions of interfaces. But generics? I’m not sure if it’s a good idea.

Or maybe if you import a package that have some generic functions, you would need to add a declaration that list what the types using these generics are.

Import “stuffWithGeneric{
thing(K, V) -> (egg, bacon),
thing(K, V) -> (int, string),
}”
It occurred to me that, though verbose, this syntax leaves the door open for specialization of methods, eg

func (m *Map(K, V)) Insert(key K, val V) bool
func (m *Map(K string, V string)) Insert(key K, val V) bool
func (m *Map(K int, V int)) Insert(key K, val V) bool
Contracts seems to me like Generic interfaces in C#.
Why not just call this thing "interface"
https://gist.github.com/SuddenGunter/bb105556fde9678abbd97cb...
instead of adding yet another keyword?
> Also you cannot just criticize without also proposing a solution :)

Why not? There can be valid criticism without there necessarily being a better solution. That's actually the whole story of generics in Go. Countless proposals, ideas, and criticism. So far, there is no solution.
Sshhhht! Industrial players don't like to hear that type systems are a thoroughly mapped space. They like to think that their design is different and does not adhere to the laws of type theory. It is also more fun to watch them struggle essentially reinventing research papers from 20+ years ago.

Edit: yes, I am exaggerating a little, but I find it really amazing how PL design is in practice so removed from its theoretical foundations.
I think the parent post was asking where someone would securely store a hardware device like a yubikey that, for example, contains the only copy of a root key—as opposed to using such a hardware device as part of a security system.
I recently rented a self storage unit and they required that I have insurance (theirs or my homeowners). I don’t see much difference between a safe deposit box is and a self storage unit. I’m surprised the banks don’t require this—it would be less hassle for them and the customer.

That being said, it should be obvious to the customer that insurance is needed. Actually reading the lease agreement should provide enough information on determining your insurance requirements. If Wells Fargo only caps their liability at $500, then you should have a policy to cover the rest. The laughable $500 liability really goes to show you they don’t care and don’t stand behind their product.
How do you create list of sentences from the article? How do you know where article starts and what is just navigation or fluff.
"UK people" use SI units, it's mostly the old who use imperial.
In Norway I used to have a deposit box to safe-guard important papers, like birth certificate, "statsborgerbrevet" (confirmation of citizenship), old passport (as proof of previous citizenship), etc. Then the bank shut down the operations, they said it was decided so by the government which was worried about fortunes (and "other (unspecified) stuff") being stored, untraceable and untaxable.

I also used to have a safe in my previous apartment (with less valuable papers), had a break-in and they didn't bother opening it there, they took the whole thing weighing 40-ish kg.

So where am I supposed to store such kind of valuables now?

F*ing stupid government.
Do you drink fancy water, or just tap?

(I replace my fancy beer cravings with fancy water)
I don't know how people who have jewelry worth millions usually act.

But honestly... it strikes me as a bit odd that you'd put objects worth many millions in a box that costs a $246 fee per year and then expect high safety standards.
I don't understand what's the difference between single-parameter contracts and interfaces. Aren't contracts only useful when there's two or more type parameters involved?

Edit: didn't read through the whole thing, I guess contracts can do things that interfaces don't. I think the overlap still makes things a bit awkward though.
I guess you can make either one as complicated as you want, but surely just putting a container on a server is rather simple? There's no mesh for a single server, and is a potential spike a realistic concern?

I get your point but I think with products like Knative/Cloud Run everything will converge on a lambda-for-containers model eventually which combines the best of both worlds.