skysight-inc/HackerNews huggingface dataset:
Type inference isn't synonymous with generics, and it isn't necessarily expensive. It depends exactly how much you leave up to the compiler.

Some very strong kind of type inference are undecidable in general and can be very expensive to compute when there is an answer.

But you might bear in mind that almost all static compilers, including Go, already determine the types of arguments to functions so they can complain if you're passing the wrong type. Comparing that against a set of functions isn't much of a stretch, especially if the type matching rules were pretty strict, as they normally are in Go.

Not all generics are generic functions, anyway. A more limited, but still potentially useful, form of generics is generic packages. Generic packages have type parameters, whilst inside the package refer to the specific concrete type the package is being instantiated for.

A hypothetical sort package might have a single parameter denoting the element type it sorts. Conceivably it could be defined as

package sort(T)

func Sort (a []T) ...

imported as

import isort "generic/sort" (int)

and then used as isort.Sort.
Why do you think that Mars One is a scam? Is it not feasible to get humans to Mars in ~10 years?
I don't think generics necessarily compile particularly slowly.
Like I enjoy saying "drive a car, burn money and get fat...ride a
bike, burn fat and save money."

Not so fast. Cycling and burning fat aren't so necessarily closely correlated, much less causally related.

So I had an image of what our fellow cyclists would look like when
my husband, son and I arrived in Castagneto Carducci for a cycling
vacation. They would look like Mr. Hampsten, who at age 45 remains
boyishly thin and agile, bouncing with energy.

I was wrong. For the most part, our group consisted of ordinary-
looking, mostly middle-age men and a few middle-age women.

These were serious cyclists. One of them was Bob Eastaugh, a 63-
year-old justice on the Alaska Supreme Court who said he rode mostly
to stay in shape for his true passion, downhill ski racing.

And our trip was challenging. The longest hill was 15 miles, the
steepest had a 15 percent grade, the longest one-day ride was 90
miles, and the terrain was never, ever flat. It is hard to imagine
that a group of middle-age adults could have handled an equivalently
difficult 10 days of running. What, I wondered, made bicycling
different?

It turns out that others, too, have been struck by the paradox of
bicycling fitness.

“When I first got into cycling, I would see cyclists and say, ‘O.K.,
that’s not what I perceive a cyclist to be,’ ” said Michael Berry,
an exercise physiologist at Wake Forest University. Dr. Berry had
been a competitive runner, and he thought good cyclists would look
like good runners — rail-thin and young.

But, Dr. Berry added, “I quickly learned that when I was riding with
someone with a 36-inch waist, I could be looking at the back of
their waist when they rode away from me.”[1]

[1]

The Bicycling Paradox: Fit Doesn’t Have to Mean Thin

http://www.nytimes.com/2007/07/17/health/nutrition/17essa.ht...
London is an even more extreme example of speculation in the property market. There are no restrictions on foreign ownership. In South Kensington an area of London 1 in 50 homes are designated as long term unoccupied. Buy-to-leave is a well known term in London and it's even a sensible decision. London property appreciates at a rate greater than 10% a year.
> privacy argument is lost on them

The point I'm making is that I don't think it's lost at all. I think these people didn't all get to be in positions of power by being bumbling idiots. They know that they can convince some portion of the masses that they are in danger and need help. And that's all it takes to get a leg up on everyone; a portion of the masses.
This is hilarious. :)
This sounds like it's offering salespeople the worst of both worlds: they have the cofounder's risk that the equity is worthless unless they do everything in their power to help the company succeed for as long as it takes, and yet they're not being treated like a cofounder in terms of share of equity and influence at the start. And the people that want to share in the growth of a company they've helped run and the people that choose to work commission-only roles because they like the autonomy and are confident they earn more being paid on performance tend to be different people.

If you want a cofounding salesperson, offer them a cofounder equity share and responsibility from the start (with a vesting schedule, a cliff, and an expectation of what they should deliver that may include a sales target). If you want a hired gun that gets paid purely on performance, you ought to be in a position to pay them a share of the cash they bring in which is what they really want.
Looks like they used Leaflet, a Javascript mapping library, for the visualization, so you end up with funny stuff like this in the source:

var courtBounds = [[33.1593, -118.0198], [34.2353, -118.5198]];
I wonder how things would change if commuting time was considered "working" and employers had to compensate for it at the employee's hourly rate. This probably isn't realistically feasible but...

It seems like most individuals would rather not have horrendous commutes, but they work where the jobs are and they live where housing is cheap and those two things are often far apart. These same individuals have little political pull in terms of zoning laws and urban improvements to make the necessary changes to the infrastructure to allow them to live close to work.

If suddenly, say GE, or any major employer in a town had a financial incentive to lobby the local government to make it easier for employees to live close to where they work, things would probably change a lot faster.
Maybe in principle, but I think most people would be more upset over personal details and biometric information than they would be over votes.
It's what happens when legislators have precisely no domain knowledge. I used to be surprised at the naiveté and ignorance when politicians spoke on topics I knew a little about. I'm too old to be surprised any more.
Changing demographics has a big impact as well, there are many more single occupiers now.
You have to love this, especially as it comes from the same people who think that government interfering with their firearms is the end of society. Meanwhile, losing their ability to keep a secret from the government they think they're getting ready to revolt against doesn't faze them.

grips forehead and moans
Why is this news story everywhere?!
Hacker News, Google News, newspapers, facebook feeds, ... it's like it's following me everywhere I go!

Is there some secret octopus cabal out there that's advancing the secret octopus news agenda?
>By this rhetorical implication, you're saying that not only are current demographics in tech (majority male, white, upper middle class)

That isn't even the current demographic. Indian and Chinese people are more disproportionately represented than white people are.
Tim Cook calls notion of Apple avoiding US taxes 'political crap'
In many cases it probably is a better business decision than standing up and maintaining a branded blog that only gets updated once or twice a month, tops.

Medium's content editor is nice and simple to use, too.

If it's a busines priority to generate a lot of quality content, I agree with you, a branded offering is probably better, if only for the ability to keep control of the content.
or thin walls/nosey or noisy neighbors/environment, pest control, privacy(maintenance has a key and can just come in unannounced), upgrades like HVAC, water systems, electrical work, landscaping, etc are not under your control, limited/shared parking
It is surprising to mere mortals that reverting a web page to a previous version, as GP described, costs that much. I can see an argument to include costs of investigation, and a much more tenuous argument to include costs to fix a vulnerability, but frankly the arguments not to include those costs seem more compelling. After all the defendant in this case didn't design and implement the relatively weak security. That was a business decision by managers and executives.

[EDIT:] I see you've added some material that explains why investigations cost more. That seems reasonable, but in many cases attackers are not within the reach of prosecution. If we allow firms to blame the "hacker" for needing to investigate how bad their security is, ISTM we're letting them shift the blame to parties who can't actually fix their problems.
Are you being sarcastic? That's a good thing.
For me, right now, it is only this: The Oculus is much more comfortable and much easier to get setup (both physically and on your computer).

I didn't pay for either, I've just got a couple temporarily. So take that for it what it is worth.
When subterfuge is outlawed, only wind will be..... I got nuthin'
We don't, but the gas tax here is per gallon, so less fuel-efficient cars pay more in taxes. Unfortunately, that doesn't seem to deter SUV drivers, since gas here is so cheap to begin with.
Monads in JavaScript [pdf]
It would be pretty cool if you could enlarge the graph and change the color of the dots based on other meta data.

For example instead of hit/misses it would be neat to see the colors be based on average time left in the game (gradient from one color to another).

Or perhaps a color for "nothing-but-net-swoosh" (I doubt they have those metrics but maybe they do?).
Don't Facebook already construct "ghost" profiles of people who aren't on FB but are mentioned/tagged in others' content? So when you eventually sign up they already know stuff about you, in which case even abstaining is not enough!
Problem with passcodes on mobile phone is that you need enter them so often that shoulder surfing becomes a problem.
Nexus 4 isn't the only one that suffers from lack of support.
This gets me thinking how awesome it would be to have functional programming on *nix systems, like Haskell (specifically). At least then it might be forcibly designed to be made more useful and ultimately get more people on board. One can dream.
I think you're hitting close to the reason.

California is a conservative state outside of SF and LA, although because of their populations, the state is owned by the Democractic party.

Feinstein is a party machine candidate who can appeal across the aisle to those conservatives. Sure, she'll lose some Democrats, but the base will stick to voting with the party, and enough conservatives will crossover that it all works out.

Note that if SV goes to war over this, and it should, it could change the balance in the state. The problem with this from the SV point of view is that if you sabotage Feinstein, you don't get another Democrat. You get a Republican. And I imagine the Republicans are looking for a little payback if they can ever get the levers of power back.

So what do you do? Do you get rid of Feinstein over this one-issue, idiotic and harmful security state nonsense, then end up with a bunch of folks in power that might hurt you on a bunch of things, or do you grit your teeth and bear it?

Looks like the compromise is to let her posture a bit for the conservatives, then fund the opposition to make sure that nothing she proposes gets through. That's a tricky game to play, though.
Thanks. I find it interesting that they refer to "redactions" in the CMS report that Theranos wanted to "protect trade secrets". I suspect it is more dirt that would show just how much they are hiding behind their facade. I wonder if CMS will end up releasing the full report to the public.
As said in other comments buy-to-let is a massive thing in the UK and in London buy-to-leave is big too. But yes profiteering is a major part too.
That's really gonna depend on where you live. If you live in the affluent suburbs, you're definitely going to encounter that mentality. I was raised in what is possibly the most bicycle friendly town/island in the state of South Carolina and that mentality is still very much a thing. In cities that mentality is less present, but there is the hatred of bicyclists from drivers.
Whats your point?
The problem is that it's too late. Urban sprawl already grew so much that it's out of hand, it looks next to impossible to make a public transportation network that would rival the ones we have on our side of the pond. It's not just lack of political (and voter) will, it's simply the sheer impracticality of implementing it.
> My point being, the anti-encryption side has the support of nearly everyone who isn't informed about encryption and computing, which is a whole lot of people.

That just means there is more of a chance for technologists to take a leading role in this discussion through activism. It's an easy win if you can keep a cool head while explaining the issues.
Do you have evidence that the claims he made here are inaccurate ?

I don't necessarily think accurately presenting one's accomplishments for the purpose of explaining the life basis for one's views constitutes arrogance, and even if it does a little arrogance in extraordinary individuals seems like a very minor fault compared against the spectrum of human defects responsible for the state of the world today. That isn't to say that arrogance can't lead to dangerous thought leadership but I think if you take harmless displays such as this as a signal to reject a person's entire viewpoint you will miss out on some ideas that are worth considering. What if everyone had shunned Linus Torvalds because of some of his personality traits ?
No more difficult to produce than many illicit drugs. Potentially much easier even, with the right parts. Besides, there are plenty of other countries you can smuggle arms into the U.S. from given sufficient demand.

Of course the knife analogy is still useful. We all know the futility of outlawing software.
Ironic, since the "people clinging to it" seem to have read and understood the retraction and you seem to be repeating a deliberately misleading headline. The two humps are still there, the retraction was only of the claimed innateness of this distribution, not of the distribution observed.
Instead of complaining into the echo chamber of comments, here are some things you can do to fight back:

Donate to the EFF: https://supporters.eff.org/donate/button

Call your Reps: http://TryVoices.com

Petition the President: https://savecrypto.org/
Excellent book. I highly recommend this, as well.
What this bill says pretty much is that all US entities are not allowed to use secure encryption methods and practices. They can offer encryption but at the same time the implementation should be flawed in such a way that it can be reversed via a "backdoor" or a vulnerability.

That is the essence of the bill in my opinion and nothing else.
As other responders pointed out, Touch ID is definitely an improvement over the status quo, and strikes a reasonable balance between security and convenience. But more relevant to the GP's point in re Touch ID is that Apple doesn't have a database anywhere of fingerprints, and the Secure Enclave is very difficult if not impossible to retrieve data from. In other words, this is biometric ID done as rightly as possible with today's technology.
My mother published a fairly seminal paper on the topic [1] 18 years ago which concludes that emotional awareness (specifically, the "Theory of Mind"[2]) can be learned by people with Autism.

At the time this was against prevailing wisdom but AFAIK is now considered accepted wisdom.

[1] https://scholar.google.co.uk/scholar?cluster=165456960940191...
[2] https://www.autism.com/understanding_theoryofmind
"especially considering making a return on any sort of savings today isn't really a thing"

You can still get around 4% dividends or 7% capital appreciation from some stock funds. Which give or take is no better or worse than property in general once you have considered taxes / repairs / upgrades.

You are right it can be a good hedge against inflation of city costs, but that is a bit of a gamble.
There is something inherently despotic about framing seeking basic accountability as questioning the legitimacy of government.

Security has always been the first resort of tinpots and despots for self seeking behavior. Only those ignorant of history or too distracted with material gain and hubris will fall for it. There always has to be a balance because ultimately everyone is safe in a cage. But that's not what we mean by free democratic societies.

Spying on everyone gives some individuals a sense of power and the logical response to that must be to prosecute them in open courts so their regressive mindsets can be exposed for the sickness they perpetuate. Privacy is much more important and valuable than making day to day law enforcement and governance easier.

Now back to the real world if there was any serious interest in dealing with terrorism Saudi Arabia would have been tackled 30 years ago rather than let them fund and spread Wahhabi ideology globally and the latest round of terror. Yet even today they are the USA and UK's closest allies in the middle east while Iraq, Libya, Syria and Iran who have nothing to do with global terror campaigns are casually destroyed with millions dead and millions in disarray making a complete mockery of the world we live in and the humanity we claim for ourselves.

There is no legitimate argument for a surveillance society other than coming from ignorance of history or narrow self interest. It's high time this country makes an example of those emboldened enough to advocate it and reiterate its commitment to its fundamental values.
I don't agree with the exact number but yes. I think germany is a good example, expensive gas prices counteracted by very efficient cars.
Don't confuse a local maxima with a global minima. On the whole, across centuries, violence is in decline. Pinker wrote an entire book on this[0]

[0]http://www.amazon.com/Better-Angels-Our-Nature-Violence/dp/0...
yet? She was singing this tune 20 years ago.
LSD-SLAM: Large-Scale Direct Monocular SLAM
And iOS.
Can this be used for broadcasting small events live to people who couldn't attend physically? Although I'm not sure realtime chat will be of much use there.
I rest my thumb on the edge of the bezel and just roll it fractionally to the left so that it touches the extremely sensitive touch screen when I want to turn the page. Think of it as exercise; over my lifetime I expect to burn several calories doing this. I'd hate to spend all that money and end up with fat thumbs!
Just one codepoint would do! Basic weather symbols like SUN (U+2600) and RAIN (U+2614) have been in Unicode since 1993. More detailed 'emoji' have been added in recent years.

[1] https://en.wikipedia.org/wiki/Miscellaneous_Symbols

[2] i.e. http://emojipedia.org/fog/ etc
See my comments below on how the data is actually collected.

But yes, there is some opencv in this project(and probably in almost every other commercial machine vision project out there), but the smart parts are hand tailored, opencv have useful general purpose algorithms, but to get the best results you need to dig deeper.

Source: I've worked on the system in the past.
I've never really heard the bicycle/DUI connection before, but I've always heard the moped/DUI one, so I can see the mental leap to that idea.
Really? That's exciting. Missed enum layout optimizations are one of my few issues with Rust right now.
>The problem is that Fizzbuzz and string reversing are a kind of trick questions.

They are the exact opposite. They are practical, very simple, introductory questions. Fizzbuzz is literally "do you know what a loop and a conditional are?".
You cherry pick one use case for cars. Point is, that in those car crazy nations you can't even visit friends in walkable distance without a car.
Okay, agree to disagree.

I don't think our elected officials are bumbling idiots. But they aren't informed about everything either. It's impossible to be an expert across all fields.

As technologists, we think this issue is so straightforward that you must either be evil or a complete idiot if you support this law.

We'd do well to take a step back and observe our thought process. We often think things about computers are simple which others don't understand. That is why we get paid.
Hi Philip,

You labast the lack of testing tools but one of the other blog posts [1] is about how you built a testing framework.

We're just just being kind in that blog post because you didn't really spell out any shortcomings then ?

[1]
Close 275k but with a slightly larger than 10% deposit. 2% interest rate but the point that it is cheaper to pay a mortgage than rent is valid even if interest rates go to 8 or 9%. Also you consider that in a vacuum. What do you think happens if interest rates go up? All the buy-to-let people that require the rental income to pay for the property will also raise their rental rates. There are enough of them that they will move the market.
"And then there is the stigma that if your riding a bike, it means you obviously have DUI and/or other issues."

Here in Europe bikes become a lifestyle item. Just get yourself a real cool bike, with a carbon belt drive or one of those Titanium bikes, and dress accordingly.
Personally I would pick somewhere along the Valles Marineris since the landscape photography would be out of this world.
Yeah, all you have to do is order a camera from a third party seller, open the box, power everything on, visit the admin page, view the source, and then Google the domain name used in what looks like an ad tracker at the bottom of the page.
You can tap a word without difficulty to turn the page; you're just holding your finger on the screen for too long.
Article just does logn (n is dimension of input texture) passes on the render target and that is it. complexity is independent of number of seeds.
I'm part of a project team that uses quite a lot of Go in production (for analytics work), and lack of generics was particularly painful.

>(performance because using interfaces or maintenance because copy/paste to have the performance)?

I don't like interfaces (namely, interface{}) for their lack of safety for generic work -- performance comes second to that.

And I don't like copy/paste like ever.

>For the ones down-voting me, have you coded something in Go, big enough to be a real in production project, where at the end the lack of generics is a real issue (performance because using interfaces or maintenance because copy/paste to have the performance)?

Isn't that a sure fire way to selection bias? The ones that ended up coding something significant in Go will usually be those that put up with the Generics issue (or don't even know what they are missing).

It's like asking C programmers if they mind missing GC, closures, etc.

It's not like the utility of Generics is some open question in PL either. It's a settled matter. Even Go uses them, but doesn't offer them to the programmer, or suggests generic but not type-safe solutions like interface{}.
> Given how damn good turbotax is, do you really trust the government to write something better?

Yes.

https://www.whitehouse.gov/digital/united-states-digital-ser...

https://18f.gsa.gov/

EDIT: I both know people at the USDS, and have interviewed with them. They are passionate about getting tech in government fixed. I believe (if Congress doesn't defund them), they'll deliver.
Or even just cut the middle-man (the employer). Here in Denmark if you live more than a set distance from your place of work (IIRC it's 20km) you get tax deductions based on the distance of your commute. This way it's the government directly that gets an incentive to make things better because they literally get less tax money and there's no added complexity by involving employers.
this sounds interesting. i always wanted to be able to read people better and emote normally. i don't have a marriage to save so that should not be the problem. hopefully this treatment will soon be available in my country.
One advantage of having a car that I don't see mentioned in the comments is safety. There are a lot of places where I don't feel safe taking public transportations at night. Besides, bikes are more likely to get stolen or vandalized.