skysight-inc/HackerNews huggingface dataset:
>The second type of productivity - which is getting more and more important - is across projects and codebases. And that gets thrown out of the window with generics.

Generics increase type safety (no more interface{} casts) and reduce code duplication. I don't see how this could possibly throw productivity "out the window". If anything, the effect will be the opposite. The tradeoff with generics has always been programmer time versus compile time and/or execution time. Assuming that programmers don't unnecessarily complicate things for themselves, programmer time will be significantly lessened with the introduction of generics. And there's nothing preventing programmers from burying themselves in a sea of abstraction even in a language without generics.
I find it interesting that Stefan Brands [1] solved the zero-knowledge authentication problem a couple of decades ago and his tools are still not widely applied. Given my bias against imaginary property, I believe that's because his patents on them are still valid -- and apparently owned by Microsoft at the moment [2].

[1] https://en.wikipedia.org/wiki/Stefan_Brands
[2] http://financialcryptography.com/mt/archives/001011.html
the post is good.. but also: confidentiality matters.

Think about a library. There are no secrets in the stacks that need to be kept from public disclosure. What is secret is the act of using the library - i.e. what they choose to read.
> squeezing money out of insurance companies because they can

FTFY.

But seriously, how can it possibly be the hospital's fault for doing exactly what the law and market incentives give them every reason to do? There's almost no downward pressure on prices: little competition, no transparent pricing, huge barriers to market entry, and third party payers.
Author here. You would still need working NVIDIA drivers and CUDA to use nvidia-docker, which I couldn't manage to do.
By the way, how do we select multiple lines in chrome? I can do it in firefox in the "old" CodeMirror, but not in my chromebook.
In Intellij they have a snippets tab, which I find useful for storing handy SQL queries or other scripts
This advice is dangerous and misguided. If you think rates will rise, don't be long duration. Holding to maturity does not insulate you from interest rate risk--you will certainly make nominal dollars, but in real terms, you will under-perform or even lose.

There are reasons to avoid bond funds (management fees, trading costs, tax implications), but this isn't one of them.

https://www.northerntrust.com/documents/commentary/investmen...
Why else did we have Zuckerberg waste all of his time talking to those know-nothing congress people?
My apologies. It's mostly cultural. I really meant "authority figure" but there you go, it's not what I typed.
Honest question: is it better to delete the account or leave it as a placeholder to prevent the name being taken by someone else? I have an ancient yahoo address that gets a lot of spam and a few newsletters, but I'm 99% sure that there are some website credentials out there that still use the address and dozens of contacts who still have it their address book.

I started to (try to) delete the account several times and always hesitated out of fear. And when I ask myself "what's the harm in leaving it there?" I can't really come up with a good answer.

Also interesting aside, Yahoo/Oath nag me every couple weeks to agree to the new Verizon draconian privacy forfeiture terms. I wonder if they'll eventually block logins and cutoff email forwarding if I never click through. My cynical hunch is that they'll equate logins with consent after updating the TOS to explain this.
While I'm not sure why Chinese government is not sharing the virus, I really don't like the way the article is written.

The entire article is about guessing the reasons and developing a conspiracy (even the relation to trade war). No response so far from the official channel of Chinese government.

Also for this section:

>> The Chinese government has refused to share clinical data from infected patients, according to scientists[1], and claims to have all but eradicated H7N9 through a single poultry vaccination campaign.

[1]: Citation needed.
Like someone else mentioned, they throttle after the first 50 GB/month, or immediately when tethering. That said, I also moved over recently because it costs about 1/3 as much as my old Sprint (actually) unlimited plan.
That's exactly the circumstance I outlined previously. This plan has you taking the debts of somebody who cannot afford to pay, reducing them to something above the actual cost, then asking them to pay the higher amount. You are making money from the least able to pay and profiting from a system driving people into bankruptcy. I cannot imagine starting such a company without serious empathy issues.
Unless the NHS has no approved treatment, in which case you die instead of being able to go abroad for care.
The FDA must certainly have studied this drug before approving it for use on the general public. Is there somewhere we can view records and details of the studies that were performed?
>> You were at MTV early. Early-ish.

> I sold my company to MTV in March 2000

2000 is not "early" or even "earlish" at MTV, youngun.
I haven't read the book, but one explanation is a power grab from the Church. Prior to Peter's reforms, the beard was essential to orthodox christian tradition and culture, walking around "barefaced" ("босое рыло") was considered a sin. Forcing people to cut the beard was a strong indication of his authoritarian ambitions, and a step to make Russia a more secular state according to his vision of a modern country. The tax was extremely unpopular and led to occasional riots and even suicides (as a form of protest particularly popular among Old Believers half a century before Peter I during Raskol), but in the end he succeeded in changing the culture - the ban was partially lifted a century after that, but it was considered inappropriate to wear a beard since then, unless you was a priest or an elderly person.

He did plenty of similar things, for example ordering the Boyars to cut their long sleeves (a traditional status symbol of a feudal who doesn't need to work) which was a thinly veiled message for them that the old power structure was obsolete and new institutions were coming.
Mostly because they believe and have been encouraged to believe that any protections/benefits would go to people who "don't deserve it" (also known as: whichever racial/ethnic demographic those voters have been raised to hate the most). They're very much in favor of discriminatory special-treatment programs that help them and only them, but very much against broad safety nets because they've been told such programs would only benefit the bad other people.
If anything on the BEAM ecosystem interest you I highlight recommend you check out LFE! (=

There are no symbols! you have lots of little processes with lots of connections between them and you change the strengths of the connections and that's how we learn things.
Kind of makes you wonder how many you'd need.

Now ignoring some cheats, like just putting 6 vertices on the equator and calling both hemisphere a hexagon, a shape consisting solely of 'h' hexagons and 'p' pentagons will have (h+p) faces, (6h+5p)/2 edges and at most (6h+5p)/3 vertices (we're forbidding the construction where you just cut an edge into two and claim you've created a vertex, so each vertex is part of at least 3 faces). This gives an Euler characeristic of at most:

(6h+5p)/3 - (6h+5p)/2 + (h+p) = (6h+5p)/6 - (h+p) = (1/6) p.

Since a sphere has a characteristic of 2 you need at least twelve pentagons. And apparently you can achieve this lower bound by subdividing the triangular faces of an icosahedron, leaving you with 12 pentagons at the corners of the icosahedron.
I mean instead they're just training their 'auto-reply' AI systems which they probably expect to be more valuable than advertising anyway.

Every interaction you have through google gives their neural nets a little more data to predict everyone's next reply.
In the U.S., you mean. I've seen plenty of events (usually professional conferences) that have to be paid in cash or wire transfer here in South America.
Reading through the author's blog (links found further below) it would seem that on more than one occasion the author didn't receive credit, which presumably makes it harder to find new jobs.

The author's blog is also full of anti-social comments, which would sound awfully melodramatic if I didn't have personal experience with depression. Regardless, it is a public expression that she's going to be a fairly toxic person to work with, which is almost certainly working against her in the job hunt.
The Internet of Garbage [pdf]
It looks like the only difference is that catch blocks precede try blocks and aren't indented to show how they nest. One could mechanically convert

handle err {
cleanup1()
return 42, nil
}
handle err {
cleanup2()
}
check dostuff()

into

try {
try {
dostuff();
} catch (Exception e) {
cleanup2();
throw e;
}
} catch (Exception e) {
cleanup1();
return 42;
}
If it hasn't been tested and certified, I am reluctant to bet the life of myself and my family on it. I think the headline is reasonable and recommend it stays as-is.
Modern Functions in Python 3
Filecoin 2018 Q1 and Q2 Update
Are you being ironic, right?
Not GoDaddy
Here is a source for US energy consumption percentages, 1993 vs. 2009:
https://www.eia.gov/todayinenergy/detail.php?id=10271
I believe the miners are buying up the chips not the cards anymore
Going by the uncanny-valley accuracy of their suggested auto-replies, they're training their natural language neural nets with every message sent over their wires.
Can you stop blaming individuals and start blaming the people who set up and keep the current system?
Most of the big unions conspicuously operate as overtly political organizations these days.
> You may wear out your (spinning) disks with scrubs more than you do with real workloads.

This seems like an extraordinary claim requiring extraordinary evidence, especially since the notion of wear out is only applicable to SSDs (as shorthand for write endurance).

I certainly believe that mechanical disks, with all those moving parts, can have their failure rates increased by increased use, but it's not safe to assume even something as high as a linearly proportional relationship, considering which parts move when.
The title of the story is

"Google Attacked by Trump With Claim It Is Burying Conservative News" I was referring to the subject of the entire discussion not you or your politics. I was trying to be clever by replying to your statement AND the topic simultaneously.

Google images misclassifying black people as gorillas, as well as google instant answers providing erroneous and prejudicial information are examples of situations in which we could discover meaning where none exists in data generated by an algorithm.

It seems vastly more likely that the words american inventors appears many times in documents that begin african american inventors than google specifically tweaking that query to increase diversity the same way I don't think google meant to convey that black people were like gorillas or that Obama was king of America
I heard on the radio recently that even though cities have been growing the overall water usage hasn't grown with it. The report attributed it to more efficient toilets. If cities required better insulation would we see a similar effect or are there better things to attack in general?

It makes sense that moving from terrible insulation to decent insulation would be a good move. Do we know how good? Have there been estimates on the savings? How about moving from decent insulation to excellent insulation?
It's questionable, and doing it wrong can get you sued or worse. Here's [1] EFF advice on it, but as usual getting a lawyer knowledgeable in the area is your best bet.

Most people that publish play with fire but have learned some boundaries making it somewhat safe.

[1] https://www.eff.org/issues/coders/vulnerability-reporting-fa...
Except the insurance market doesn't work like that. You get a job, that job determines your insurance. There's no shopping around for the best rates.
Well, there is another problem with my suggestion: At the moment, Maps have no problem using custom structs as they stack up the comparable attribute of the containing fields. If you would use a normal interface you would have to define how you would want to name that kind of relation (all fields of X implement interface Y so X implements Y? Sounds pretty similar to how the equal operator works in Go). Otherwise, you would have to implement Comparable for every custom type which would be in fact even worse than the current state (It is bad enough we have to do that for the sort.Interface twice per week ;-).

So I completely agree, that having to implement basic attributes like 'equals' or 'comparable' is no good idea. Instead I would favor some logic which assumes some natural situation and lets you implement a custom logic if you want to do it.

Nevertheless, I think those problems just show some of the inconsistencies Go comes with. Don't get me wrong, I love Go and I like the way the Go devs work. It is just that I am worried that we will end up with Go 2.0 adding Generics without solving the issues within the otherwise pretty nice Interface system.
In most cases doesn't it take less energy to move head (aircon) and more to generate heat (resistive heating)?
Perhaps you should move somewhere cooler anyways? 60F year round in Texas is absurd, and borderline appalling.
And yet "spray duster cans" are refrigerants sold to be purposely vented.

A while ago (back when Google worked) I stumbled upon a refrigerant hacking page that detailed DIY retrofitting of refrigeration equipment to use propane as the refrigerant instead. Obviously the flammability is a problem, but as standard refrigerants seem to be pressing towards the flammable-with-harmful-combustion-products direction, I wonder why the industry isn't reconsidering. It seems nicer to have a plain fireball rather than one which creates hydrofluoric acid.
> In retrospect, we were biased too much by experience with C++ without concepts and Java generics. We would have been well-served to spend more time with CLU and C++ concepts earlier.

Yep!

The overall design looks quite good, though.
It seems to be evolving the same way that Hollywood and the AAA game industry did. Which optimizing for safety as budgets increase. So it's mostly just the same stuff over and over - things that have been previously proven to work. As a result you get movies/games that you don't hate, but also don't love.
It's said that the US AESA radar on the F-22 can perform aircraft identification by counting the spin rate and number of blades on the opposing aircraft's compressor.
if we knew or cared about anything like that almost 3 decades ago when we were building houses in Siberia as summer student jobs i don't think we'd have been able to build anything :) (just out of curiosity checked couple years ago using satellite photos - the houses are still there :) Though right now i'm very happy knowing that my townhouse meets all the CA tough building codes :)
Unos doritos para abrir el estomago nunca vienen mal. Luego unas palmeritas de chocolate para rendir bien en el gym y para ganar musculo y por ultimo unas mazorcas de maiz en el vestuario.
>> I'd switch immediately a well

I doubt it. Someone needs to pay for it, so this switch would have to imply a 20% tax increase. Unless you’re paid peanuts, it’s not worth the tradeoff.
Heating using resistance is inefficient and gets you at most 1 unit of heat energy per unit of electrical energy. Heating and cooling using heat pumps can move more than one unit of heat energy per unit of electrical energy.
I just don't see what value private health insurance companies bring to the table anymore. They are not helping get the best coverage for their patients and they squeeze the crap out of the care-givers until its hardly worth their time.
I basically agree. I still think, while we're at it, making Generics a general feature of the language would probably be easier than adding all kinds of special cases.

But yeah, if Go just added a generic map/filter mechanism (Python's list comprehensions (in turn inherited from Haskell) look very nice), that would cover about %75 of the use cases I want Generics for. Add a generic mechanism to use the range operator with user-defined types, and we're at about 95%.
Nice concept. And I think it can be tweaked to be more generic too. For example, to use for app documentation.

A project built on top of framework (e.g. Rails, Phoenix) just needs an adapter that transforms project's modules to metadata, POST them to Arcentry. Bam! You got a visual document for project.

For example, Phoenix(Elixir), the @moduledoc could be useful too if Arcentry component has something like `description` attributes.
> Cooling, as you say, is typically 30->25. Heating is often 0-25, requiring 5 times more energy

This argument seems flawed. You don't cut the heat off every night and let things cool back to ambient. You maintain a stable temperature.
Tell that to the people that invested in the Nikkei in 1989.
Salt?
This is a rare case where the insurance company is entirely blameless. According to the article, they paid much more than what experts say is reasonable for the care provided.
Well, I suppose you can invent your own language, but that is no where near the industrial or scientific use of the term "energy efficiency".

A heat pump will consume 1/5th the electricity to maintain a given room temperature as compared to resistive heating, including all system losses outdoors.

That is how energy efficiency is defined. Energy consumed to create the outcome vs an alternative.
Sounds like why people don’t vote for third party candidates like Green and Libertarian.
Yeah, the front page of Youtube is an abomination. Reddit isn't much better.
I hope to see a roguelike multiplayer RPGs where things can be random, surprising, broken, confusing, (hopefully not to frustrating) created a deeper sense of adventure.
https://en.wikipedia.org/wiki/Estonian_identity_card
You found an alt-right blog complaining about a glitch in an algorithm that accidentally promoted afraican americans?

Shocking.
By "purely in the room" I imagine they meant within a closed system. By having a hose connecting your units to the outside world your room is no longer a closed system (ignoring things like drafts and imperfect insulation etc that already prevented it from being considered closed).
The company I used to work for (big, multibillion-dollar insurance company) had a lot of VB.NET projects (and C# projects, and Java projects, and anything you might care to think about).

In particular, the manager at the branch I worked in had settled on VB.NET because he thought it would be an easier transition for the old VB6 developers he had.

And it's not bad, I loved not having to worry about case sensitivity and stupid brackets and semicolons, but that's only syntactic sugar.

I'm now back to C# for the last few years and I noticed no significant difference, other than more resources on the web.
Our group was six people, try buying six tickets online at once, and let me know how it goes :)
Have helped manage a few houses my father (A GC and finishing carpenter) has built to live in every 5-10 years.

Before I was allowed to get a computer or enroll in comp sci, my father made sure that I learned to work with my hands a little too, so I had to be Junior GC..

Strategic Lessons:

- If you're interested in building a house, it might help to hire a GC who builds a regular house for a percentage fee to manage the build, learn from them, and then build your own. Most will be very happy to teach. You get 2 tries at a house on fit and finish.

- When building new, getting a closed shell (foundation, framing, walls, roof) is the most urgent thing to allow inside work to commence regardless of weather. If this gets missed in a shoulder season and you plan on building through the winter, it will present challenges.

- You have to build relative to the neighbourhood value, not what you can afford to build due to managing it yourself. Exception is if you're going to live there for 20 years.

- Lining up and managing trades is the name of the game. The more you look out for trades to get in and out easily, and care about their work, their quality of work goes through the roof.

- I would start with remodeling / extending an existing house before going through a new house. New builds are cleaner in some ways, but you will get a taste if it's for you.

- Alternative building methods (concrete walls, 3D printing) can be expected to have unintended side effects to traditional house building you should.

- Be strategic where you can save and do things yourself, vs have things done. There's often enough margin in just helping with prep and cleanup along the way plus doing a few easy things.

- Build to sell - build in extra entrances that are separate for basement suites, etc.

Reality:

- You have to be around all the time. Always when you're not planning to. Plan that in your commute and coming and going. Always better to build as close as possible to where you live. If not, where work.

- Clean as you go. All the time. Trades behave better on a site that's meticulous.

- Finishing is 60% of the value of a house. Keep that in mind. Everything can become more affordable when building on your own because labour savings are there.

- Managing your project schedule and budget every few days as a first timer will help a lot.
That's all true. I've become more sympathetic to checked exceptions over time though. I think the issues Java had with it are more to do with poor choice of what to make checked in the standard library. For example IOException should not have been made checked. Also, it's too difficult to change an exception from checked to unchecked, and it should have created suppressable warnings rather than compiler errors.

It's a pattern - early versions of Java erred too much in favour of making things compile errors rather than warnings, like unreachable code being an error , even though it's common whilst debugging or writing code (Go made the same mistake). Not catching checked exceptions is something very common whilst making prototype code or simple command line tools where all you can do with most errors is print the message and quit anyway. It isn't worth forcing the developer's hand via an error.

But I won't be surprised to see some variant of checked exceptions be explored again in the coming years, probably with IDE support. Being able to know how a method can fail in the type system, beyond just checking the docs, is a very useful thing if the information is used in a reasonable way.
I’m currently in the process of writing a codemirror mode for a language I’m working on, is the way codemirror modes are written/used gonna change substantially? Should I hold off on this work?

I’m glad to see you’re focusing on accessibility!
How much trouble are you in if your card gets stolen?

Would you call a number to temporarily block it, and a fine to get a new one? If so, how does the call authenticate you?

Second question, "pretty hard to forge otherwise", is about roughly how hard? Has it been proven possible / proof of concept? Or did you mean to say you're unaware of any successful forgeries but (naturally/obviously) can't honestly claim it's totally impossible, because you never know.

I'm real curious about the Estonian smart card thing. Does it work well? Can you only sign government things with it, or really just about anything that needs your authentication? (say, commercial contracts) Does it have a private/public key type of thing so that you could also encrypt something with someone's public key so that only that one individual cardholder can ever decrypt it?