skysight-inc/HackerNews huggingface dataset:
Having generics isn't related to excessive abstractions. One is a language feature and the other is program architecture. It's definitely not an exclusive trade-off.

I'm sure there are plenty of Go apps with bad architecture, where a tiny dose of generics would greatly help.
Looks cool! I can very much appreciate progress in this space. I haven’t been able to find this info by skimming the website: while I understand that the user ultimately holds the keys that can decrypt the secret, how do you prevent this key from becoming the weakest link? Assuming the worst, users could just store their key where they used to store their secrets before EnvKey (like app environment)?

Something I appreciate very much about running in the cloud is being able to use the control plane’s APIs to authenticate requesters (e.g. Kubernetes API + Service Accounts or AWS IAM + Instance Roles). Does EnvKey have anything in the way of that?

Regarding PCI compliance: if card data is encrypted, the scope of compliance simply moves over to the keys :-)
I like the idea of moving towards Caves of Steel, but with parks on top and atrium areas where streets currently are.

It might also be possible to use a heat-stack effect to draw the air out of the city as a whole.
Ha, unfortunately I am.
What if generics were just implemented internally in Go? IMO, there are good use cases, like generic numbers (int32, int64, etc.), list processing, etc. There's already precedence for this with map[A]B, make(), etc.
your comment reminds me of the commentary on Drew Houston's announcement of a product called dropbox (you might have heard of it...) here on HN 10 years ago. (1)

"This is nothing new", "I could build this myself", "you have to install something, nobody does that", etc. etc.

The key to a successful company is not being first, not (only) having a great technical solution, and not having tech noone else does.

The key is an umbrella of technology, business sense, marketing ability, salesmanship and much more. Andreeses/Horowwitz probably see a whole umbrella, and not only the tech.

(1) https://news.ycombinator.com/item?id=8863
I once drove my bike through The Netherlands, Germany, Luxembourg, France and Belgium.

They all have bike lanes (well France sometimes have them) but what is different is that most bike lanes in The Netherlands are separated from other lanes. So you are and feel mutch safer.

So I believe that bike lanes are not enough. They should be realy separated from other trafic.
I guess one problem with risks on the web when compared to your house analogy is that automation can make all the difference there. For the specific MITM example automation might be less likely, but on computer networks, even very unlikely risks can get amplified by the fact that someone can just automate the exploitation.

If automated drones roamed the country looking for open doors to break into, people might be more worried about their home security. Fortunately, the physical world protects us from wide-scale exploitation.
It's interesting to read these stories and realize how different each person's biology is. I took Cipro every day for an entire year and I had no ill effects except in the summer I got a very bad sun burn. Reading these other stories, and considering my own good luck, makes me think we need better tests to see if people have any sensitivity to these drugs, before they take large amounts.
It's really crazy how much there is that you don't think about up front if you've never built a house.

My first build (this summer) was a playhouse for the kids, 8 square meters single story. I built it mostly like you would a real house, omitting a few details (like insulation between inner and outer walls, since it's not heated anyway). I ended up with a budget overrun of 40% and spent close to twice the number of hours I estimated up front. It turned out really nice though.

If you're thinking about building a house, I would definitely recommend doing a playhouse or a shed first.
Your google skills are strong. How many things on that list need treatment within minutes?

"Is there anything else in your life that you shop around for in case of emergency?"

Have you never heard of Preppers? But seriously, yes, I shopped around a little for a fire extinguisher in my home, I shopped around a bit for a good first aid class so I'd have some skills. I have spare batteries around the house in case the power goes out and shopped around for a flashlight. I have practiced changing a tire for my car just in case. I have a little food stored up in my house.

Why is preparing ahead of time completely off the table for people when it comes to medical care?
This is still false. He does not praise it (beyond "it's better than the really bad one I just described"), and he explicitly advises against taking it.

I can only suggest reading the article more carefully because you've missed the entire point of it, which is to avoid all such combo-pills and experiment with nootropics (if at all) one at a time.
Ask HN: Why/how Pornhub is free?
Really, they have millions of 'incognito' users every single day. How is it possible you pay Netflix but not Pornhub?
There was DAF, though. But it went out of car business and now makes trucks only.
Of course people will tolerate glasses(more or less smart) if the experience is worth it.

I don't think people ever enjoyed carrying things around(laptops, tablets, smartphones etc) but they do. They don't really like big loudspeakers or TVs or tv setup boxes either still they buy them.

I would replace both my laptop and my smartphone with a pair of glasses anytime(if it would be possible).
Makes sense, thanks. Yes, no doubt US is a good country and one can wish to live there.

I didn't knew tourist visas can be as long as 6 months - thought they're normally shorter.

Yet, this is still odd to me (just me). As far as I get it, if you're caught, you're banned from visiting the country again, and for a long while. Feels like a bad way to end a dream.

It must be that my subjective perception of the risks involved overweighted the positive aspects.
It would have to remember the data that is off-screen. It's quite possible to train a recurrent network to do this. Some Atari games require this to play well, like Pacman requires remembering where the ghosts are when they're blinking.

More complicated is the logic to know what to look at when, by keeping track of which parts of the state might be important and out of date, and controlling the viewpoint to update it. I haven't seen a good example of this.
I believe there should be legal consequences for getting things this wrong. Wondering how they came up with the $19,000 number.

Also, in speaking with a vascular surgeon I know, their hourly rate is between 200-350/hr. The middlemen and hospitals have figured out how to milk this cow and they're feasting.
You could almost write a `check!` macro for rust that would have the same semantics. You can obviously already write one when no `handle` exists (it'd just be `try!` or `?`), but I can't think of how you'd build up the handles like they describe without a procedural macro.

You likely could do something semantically equivalent with procedural macros.

`handle!{ block }` would define a block to inline later when needed and then `check!` would do the normal thing but also inline that block, just like Go's.

Also, I feel like it is a little disingenuous to say that Rust has `no equivalent of handle` when it has something so similar in `Result::or_else(self, Op)`. You don't get the handle accumulation and you have to pass in a closure at the site, but they're remarkably similar.
An idea that, thanks to US mass media exports, seems to be spreading to other parts of the world...
That matches my experience. Or you get quoted $100 and charged $3000 which after some back and forth turns into $50.
Yes, but then after reading data, they could train a system to remember the information, and decide which information to look at next, and predict their values over time from what inputs it gets, like humans do.
> If a construction technique is unusual in a particular area, it's usually unusual for a good reason - cost or impracticality or both

Or it's new technology. Concrete has a lot of heat mass, which means that it can be a way to build a lower-energy home.

In my case, heat pumps are new technology where I live. Also, some contractors just don't get it when you ask them to put a switch somewhere or an outlet at a particular location.
About as effective as any reasonably efficiently designed wood stove. Usually 60%-80% transfer efficiency at best, depending on the exact design and way it's operated. They're a fad because they look cool, not because they're order of magnitude more efficient. You can run them more efficient, but then you have to deal with corrosive condensate, which makes the operational characteristics questionable.
Hopefully that's the case generally, but the problem is with the branch of identity politics that goes from "we've been mistreated and want that to stop" to "you share some physical trait with people from the past who did bad things, so you're bad too". The former is something that can unify (e.g. the civil rights movement of the 60's) while the latter is inherently divisive, which makes it really hard to accomplish anything.

BLM is a mixed bag as far as examples go - it's loose organization has resulted in a pretty broad message, and sometimes that message has gone well into the range of the bad type of identity politics (see e.g. https://torontosun.com/2017/02/11/black-lives-matter-co-foun... ).
From the article:

"The network connects directly to the internet backbone, so we do not rely on an ISP."

Their peering policy: https://nycmesh.net/peering/
"On a personal level, I feel very alone and "unsafe" at work, having to watch what I say around whom and always be filtering what I say based on how it might be misinterpreted or misused."

An interesting quote by the author, referring to himself. His tale went the long way around to being in total understanding with his former colleagues and employers, except he still seems to be viewing himself in a somewhat special, if not superior, light.

He 1) gave his colleagues examples of how he thought their behavior should be, 2) gave them every opportunity to change their behavior to what he expected, 3) challenged them on what their standards of humor were, 4) brought in others on his concerns to witness them, 5) had a fear of potential liability or reprisal over something he felt could not be compromised on, 6) decided that he wasn't a good culture fit.

I don't know that the irony ever struck him along the way. And I wonder, did he start out wanting to be martyred, or was it a decision he made somewhere further down the line?
Guess I was correct about the unspoken assumption :-)

Keep in mind there's no real React default. You can pair React with a Rails backend pretty easily (or Elixir or .NET or ColdFusion or PHP or ....) It's really just a matter of what you have in place or what your developers are already competent in.
> It's often not clear which exceptions can be thrown from a function

Go 1 failed to solve that as well. "error" as an interface tells me nothing about what could go wrong with a function call. Go 2 is not looking like it will solve it either. I am happy with the proposals, but I know I'm still going to be looking at godocs and be forced to dig into source code to find out what error types actually come back, and hope they don't change from version to version.
> I've seen that stated many times

Including on bike helmet safety labels. Fact is, they really are designed for falls and not for collisions with motor vehicles. In that situation, they may just be a "better than nothing", possibly not enough to make any difference to the outcome.
You work for google I'm guessing... "probably improves their profitability" :-P
The First book about deep learning in the web browser (TFJS or vanilla JS/WebGL)
From the article:

"All of our network nodes cooperate in the distribution of data, and the network can also function independently in case of emergencies or internet shutdown."

Sounds fairly meshy to me.
To answer the downvotes:

You can install Chrome extensions without the user noticing (built this in the past) which gives you access to basically everything without even resorting to DLL injections (I don't share this because it's dangerous and can't be fixed by the Chromium team). Reminder: It's possible to hijack 2FA and online banking with this method. I've read the source code of Zeus and SpyEye, I can do the same thing a) without AV detection and b) without DLL injections (which are very easy to spot).

If you know the Win32 APIs, it's extremely easy to build malicious software that doesn't need escalated privileges.

edit: I'm pretty sure I can implement it on Mac and Linux, too. I don't like the sentiment that those systems are more secure, it's just the difference in usage.

edit2: I can recommend Sandboxie. Please use it to get a little bit more security.
"carterage"

Is that supposed to be cartridge?
Looking "clowny" isn't something that RL agents learn to avoid. You see it even in Go agents. The MCTS algorithm looks at probability of winning, and if it's ~100% regardless of the next move, it'll often waste moves rather than trying to win as quickly as possible.
> If I would design Java today Object would have no methods and there would be a stdlib interface defining `equals(other: T)`, and data classes would automatically implement that interface

This polymorphic equality is the default in some functional languages, like OCaml. It's fine for simple cases, but you really do need overloadable equality. Equality as a method in OO is a problem because of the asymmetry though, and often an even bigger problem because such languages typically permit pervasive null.
My understanding is that there are behaviors that are coded into the bots at first to bootstrap their learning capabilities, which are then removed after a certain amount of learning has taken place. In another article that was posted here a few days ago one of the OpenAI team talks about removing the last of these "scripted" capabilities as part of the improvements they plan on making to the bots after this round of games against human players.

I kind of liken it to a human who learns math - you start off by learning the rules (addition, subtraction, algebra, etc.) and work within those confines before you start to use these basic rules to push the boundaries and explore (proofs).
True... well, almost, since data from previous frames becomes stale with time.

I agree that learning how to retrieve the info would be another rather tough problem (on top of all the tough problems the current incarnation of OpenAI's bots already need to solve).
Google Cloud Launches Tesla V100 GPUs
I'm not sure I believe that debt over a year old is not pursued. Anecdotal, but...

I've had 4 different cell phone numbers in my lifetime. All of them were still getting debt collection calls or still are up to 15 years later. I've had my current number for over 15 years. I'd love to meet Tanya who ran up the bills for my current number.

Also, I had my appendix rupture right after getting laid off and going on COBRA. I am still getting occasional calls about that even though the insurance eventually paid off. That was over 10 years ago.

COBRA is another scam. $1650 per month that my employer was paying ~$600 for.

Scumbaggery is rife in the insurance industry. The Rainmaker should be required watching...
Absolutely, and it is this sort of practice that all Americans could get behind legislation that made it illegal. Unfortunately we can't seem to have a civil discussion on health care to find the issues we have in common.
I read the title as, you suck at your job therefore the emails suck. :)

Reminds of a recent prudential billboard. "We spend more time reading billboards than planning for retirement." Great, if you aren't doing your job of planning then I'll use someone else!
Actually, in 1972 the Netherlands did have a rapidly growing car industry on their own soil. Three years later it sold a majority stake to Volví after growth dropped off, but up until 1973 it was growing at a rapid pace. It was a significant source of jobs in the south, where it was based. They employed >80k people and were building a new factory.

I used to live in housing designed for factory workers of DAF. The company didn’t succeed because of other issues. But it is typically Dutch that they chose to design their cities for people instead of giving away what amounts to a subsidy paid for by lower quality of life.
> The reason STL errors are so convoluted is largely due to the unintuitive and complicated way they use generics to support obscure features like changing the allocator used by containers.

The reason STL errors are so convoluted is because the C++ template language is Turing complete.
> Can you imagine someone 20 years ago throwing all your mail into a scanner and saying, "don't worry I'm only checking for keywords and receipts"?

Yes, and actually Acxiom is a lot more powerful and comprehensive than your postulation, if you care to look into them.

Unregulated data mining is, in my opinion, going to lead to the next collapse of culture. The cow is already out of the barn and it's on the way to Chicago. I don't think it's an unfair analogy considering the experiments thus far in totalitarian environments.
I think the reason they didn't do it is that image recognition is a different and less interesting problem than the one they're trying to solve.
> I’m not that keen on the syntax of contracts either, but we’ll see what comes out at the end, that’s not so important - the idea of contracts looks like a good one in theory at least, but it feels like they could have used interfaces instead somehow

I'm not sure I understand the need for contracts really. If a function with type argument is compiled, the caller should use specific types to call it, so the compiler can determine whether said type has the required methods used in the generic function. Therefore the compiler knows everything it needs to fail with a compile-time error without any extra ugly "contract" syntax. What am I missing? Are some types only resolved at runtime?
It's not you. Date labels on food make no sense
For someone interested in building a shed (or many sheds) would you recommend something smaller than 25'x20'. Is post and beam construction a poor choice too?
I think their shoutout to Rust at the bottom of the document on exceptions is really where they should be focused. Using things like Maybe/Either is a vastly superior approach to the error handling process which has been demonstrated by languages like Elm, Haskell, and Rust.
It's pretty easily explained by the fact that people really only use the term "white inventors" when talking about black inventors (honestly "white inventors" would probably have racist connotations in most other contexts).
Just to correct the record, several nations have used poison gas both in combat and against civilians.

The USA used 2 atomic bombs on dual civilian/military targets in WW2 after Japan refused to surrender, but there were also firestorms started by multiple countries using conventional bombs.
this seems freaking rad.
> Except, I'm not arguing for or against a "point", only that the terminology was wrong.

The problem is, the terminology is only wrong if you take an extremely narrow approach of "heating" being "generating heat". But it's quite obvious that we are discussing heating of an enclosed space. And it doesn't actually matter at all whether that heat being placed into the closed space was generated from raw energy within the enclosed space, or moved from externally into the enclosed space. And if there is no difference between these two options, you can achieve greater than 100% efficiency between energy-spent and heat-provided by moving the heat.
I made AudioBookReviews.com, what does HN think?
when can Go Lang get rid of the address reference(*) shit?

checkout java and python.
And yet it does get said. And all sorts of people who would agree with the above-linked democratic platform voted against it.

Maybe there's a messaging problem, and maybe the people I'm grossly offending in this thread are part of it. If they can't handle liberal techie me without being triggered, how could they possibly converse with Joe Sixpack?
Would it be better to use statements more? After all, this is a sequence of steps and it's doing a context switch between each step. That seems better written vertically, one per line.
The lenovo yoga's were notorious for failing screens.
That's been one of the biggest complaints about Obamacare, yes. Other than the "I shouldn't have to pay for my neighbor's wellbeing" complaint
> What I'm saying is that you can look at any political issue today and find that the driving force behind it is usually driven by some ideology based on identity.

I think if you look closer you'll find that more are motivated by values rather than immutable characteristics.

And that's the problem with identity politics - it elevates immutable characteristics over shared values and assigns a type of original sin ("white privilege") to the identity it sees as the cause if its woes ("old white men").

It's disgusting.
How feasible would it be to have a white list of known-good cell base stations, so I could control my phone's cellular connections just like I do WiFi and Bluetooth?
Do you live in NYC? I do, and I don't have at all what I'd call "a number of good options" for internet access. In my area, there's two companies who operate similar to a monopoly (Verizon and Optimum), and regularly raise prices arbitrarily and often for no reason.
> how do we know when we're done?

It's not currently (maybe ever?) possible to know when you're 'done' with an experimental science. With newtonian mechanics, we didn't know we needed something better until we did.
Which data is this accusation based on?

I see google as a mirror that reflects what the world says about you. Of course, they moderate results but I don’t think that they do it to such an extend that only negative results will show for a person seen as positive in the world.

Trump is denying his reflection in the mirror (Google search). He doesn’t want to accept that Google’s result is how the world sees him now.

Google does not write the negative content
Because neural networks are noisy, and they cause small mistakes and misunderstandings like in humans. The AIs concept of an enemy obviously doesn't have as strong of a distinction between "hero" and "creep" (and for that matter "enemy" and "neutral") as those of us who have read the game rules might have because of your quoted statement.

As a further analogy I often see humans make ridiculous and insane leaps of logic (how assignment works when you first learn programming; free speech applies to things besides governments; etc.), and we run on the same style of hardware.

To an extent this demonstrates how far we are from generalized AI. All the Open AI system is is a very specialized animal, that's lived through millions of simulated generations very quickly. It doesn't understand language or concepts - we can't even begin to tell it the rules of the game, only though simulated evolution can we teach it - or even the self awareness many animals do. It's likely closer to the nervous system of an insect than it is to the brain of a dog.
Its not even a conspiracy or disguised anymore, at least on HN, its become the norm.
Why not just a simple spreadsheet of salaries? (2016)
Intel Management Engine JTAG Proof of Concept
I think a better pool would be to see if people would replace their laptop or smartphone with a pair of glasses because after all this is what the smartglass manufacturers aim to do.
Bootstrapping the Moonlight marketplace as a digital nomad
Complete bullshit. Generics have 0 relationship or co-dependency of any kind with the abstraction slash design patterns you mention. These are entirely possible without generics, and generics does not in any way encourage them.
Yup, two completely different worlds. A red sign is treated more like a suggestion ;-)