skysight-inc/HackerNews huggingface dataset:
I'm not convinced. Suppose that a struct type Foo implements an interface Fooer, and I want to do something like this:

func workOnInterfaceList(foos []Fooer) {...}

func workOnStructList(foos []Foo) {
workOnInterfaceList(foos) //compile error: cannot cast []Foo into []Fooer
}

It's obvious how to resolve this:

func workOnStructList(foos []Foo) {
foos2 := make([]Fooer, len(foos)
for idx, foo := range foos {
foos2[idx] = foo //casts Foo into Fooer implicitly
}
workOnInterfaceList(foos2) //ok now
}

Why can the compiler not insert this automatically (esp. given that [] is a builtin type)?

But then again, Go has a reputation of making you write the same code over and over again, so I'm not surprised. (And I say that as an empathic supporter of Go.)

As an aside, if you think this example is artifical, here's it happening in real-world code: https://github.com/majewsky/sqlproxy/blob/f5b297e7dce14c0453...
Which highlights a fundemantal problem with capitalism: it tends towards giant monopolies as industries mature. Capitalism only works with a strong government righting the ship. But even that eventually fails when the government gets captured by the most powerful companies.
If you mean throwing out the DOM entirely for something canvas-based, I'm sure that will happen in some cases but I'm very skeptical that it will ever be anything close to the dominant paradigm for the web.
“Ubuntu switches from swap partitions to using swap files by default. This means a simpler partition layouts during installation, disk space savings and easier adjustment of swap size” -- interesting, was always unclear about the performance difference between a partition and a swap file.

the LXD and Snap are fun to watch, Canonical always does things a bit different here and there.
TypeScript's type system is intentionally unsound in a handful of places- function parameters are bivariant, for example. I believe Flow is at least closer to being sound.

I suspect switching from Flow to TypeScript would be relatively straightforward as far as the types go, but going the other direction would not.
Microsoft Mobile Center Now Supports GitHub, Bitbucks, and Now VSTS Repo's
I remember there was a site based on Hong Kong which shared 90% of ad revenue with the users. Facebook immediately blocked all mentions of that site and said it was removed for quality purposes
What sort of mini-projects have you done thus far?

That's the biggest hurdle I've been trying to overcome currently with learning Go (or any new language). Other than re-writing small problems, but that isn't terribly exciting.
Because it used to be a no-brainer to buy things on Amazon, one click and done. Now I have to very carefully vet the listing before buying, inspect the product once received etc. Certain categories of items I would now never buy from Amazon in its current state (vitamins, fish oil etc.)

Amazon has built a great reputation and trust with their customers, and they're going to lose it the way they're going.
Keeping Up with Your Data Science Options
> I mean one where you were genuinely on your own with no prospect of assistance.

Where I had no prospect of assistance and my opponent had no prospect of assistance and there were no weapons created by society? Because I'm not trying to make an argument about ordered society vs. anarchic society. I'm talking about a situation where there are absolutely no societal interactions at all wrt ownership. And I've certainly never been in a fight like that. Or a non-fight like that.

I feel like you've done a good job of demonstrating that some forms of society will ruin ownership. But that's not the same thing as a total lack of social constructs.
Because it erodes trust in the platform, obviously. Would you buy something from a website if you were concerned it might be counterfeit?

That being said, I've been a prime customer for years and I've never encountered this issue. I'm actually surprised to hear that's even a thing.
Of course, I only mean I wish that people starting new ventures are motivated to create new products that aren't walled social gardens, and hopefully have some better positive externalities of the kind we all hoped the internet would bring in the 90s.

I don't care if that happens by social being not a way to get rich anymore, or by a class of entrepreneurs being inspired to make something else, as long as it happens.
A globalization agenda has existed since nations have been trading, signing treaties, and going to war with one another. We live on the same planet and technology makes us even closer together. The only isolated communities left live deep in the rainforest.
I think that content creators simply are not able to prevent copying. If I have a folder of mp3s on my computer and my friend asks for a copy, it's so easy for me to say yes and just copy the files, instead of saying "sorry, this material is copyrighted, and I must concede the moral rights of the content creator and deny your wish." If a content creator wishes to stop this kind of heinous immoral piracy, how will they go about? Well, putting spyware and rootkits onto music CDs is a good start, right? Then move on to combating the open internet.
I'm willing to bet he means Montreal, no shortage of programming jobs over here.
so basically, he doesn't have a case, thanks for reaffirming my world view.
The delta between the type systems is small enough that people have tried to automatically convert TypeScript type definitions to Flow. One notable difference is that Flow supports declaring types as covariant/contravariant. I suspect that as far as most application code bases go (as opposed to libraries), you would almost see no difference.
It's relatively small, but the amount of people with those skills is small too. Currently every company I know that needs those skills has trouble finding enough people, so talented low level hackers can pretty much name their price.

Maybe that will change down the road but it doesn't look like it right now.
> Convincing other developers typescript has value and isn't javascript's weird ugly nephew is an uphill struggle.

I feel the same way about Elm, F# and Fable, Facebook's ReasonML, and any other language that has an ML type system and compiles to javascript. I think the value becomes more apparent when: a) you work in a large codebase and have to refactor either a large swath of code and/or a critical piece of logic and b) you need to make illegal states unrepresentable. In both cases, I have found having a compiled, ml-typed language extremely helpful.

I think for both Typescript or an ML language, having immutable non-nullable types by default really cuts down on complexity - instead of having to specify everything that's immutable with something like a `const` keyword, you instead have to specifically point out which attritibutes on a type are mutable. That's a small win but has huge benefits - especially when you're trying to debug code.

That's just my two cents anyway.
Hello Brudgers! I think I'm giving the wrong impression. Sorry if this was unclear. . What I mean by "qualify" is: are my current skill qualified enough to work on this industry? That's why I'm appending my portfolio for review.

Sorry for the lack of clarity!
Where Is Our “Package Manager for the Cloud?”
The guidelines helpfully suggest which formatting option to use instead. Really though, if you have this conundrum, it's probably time to reconsider your slavery comparison.
The That Guy Effect
Ask HN: How can I design a logo such as Tensorflow's?
When you look at Tensorflow's logo, it's a 3D object. Two sources shed light on it, hence the "T" and "F" shadowy letters on the wall.

This can be done for many other letters of course. How can I design one for myself? (Assuming I have no experience with Illustrator)

Thank you!

https://www.tensorflow.org/_static/images/tensorflow/logo.png
FIRST in Show: Students Battle Bots in Jules Verne-Inspired Robotics Competition
Except Facebook doesn't charge money. I wish they would.
Mask Off Challenge – Future (Stitch)
For the record, both myself and my partner 'used' stories this month, only to say 'yuck, can I turn this off?'

But hey, you gotta show off those metrics.
Copyright is "the right to copy your work."

Unless I'm missing something here, and the artist can claim copyright to the sidewalk, this is some next level bullshit.
U.S. drops 'mother of all bombs' in Afghanistan – Pentagon
As a teacher, I find it absurd how much redundant labor takes place in classrooms. When I was just starting out I'd find myself making something simple - like a comprehension quiz for 'To Kill a Mockingbird' - and just swearing under my breath. What I was doing must have been done thousands of times over the years. The silo'ing of curriculum in filing cabinets and hard drives helps no one.

This is likewise true for assessment. Another HN member and I have been developing an assessment creation tool that makes use of a library of shared assessment elements. Still really early in the development process, but it takes aim at this exact issue (while, hopefully, building in some additional benefits: save time, easily generate multiple versions of the assessment for different skill levels, iterative improvement with use, etc). If it comes together, we're intending to branch into general purpose curriculum and lesson performance tools as well.
Aadhar – A FinTech Breakthrough by India That Leaves Rest of World Behind
Nice article!

I have cared a lot of cats, and I didnt knew about all that experiences, but I did a lot about this with my pets. I put a mirror in front of the cat, and watched the reactions. The pattern is 90% the same:

1) The cat looks surprised. Depending of the the natural character of the cat, he will watch the reflex or get "armed" to fight. Cleary he think its another stranger cat.

2) The cat then try "feel" the reflex, touching sometimes, smelling other times, and ever trying look behind the mirror

3) Finally, the cat probably detects the reflex is not a threat and lose the interest

I really dont know if has some part of "self awareness", but probably the cat lose the interest really far before any of this level of perception

Other point is, the cat trust more in the sense of smell and hearing than the sense of view. Only one image is not enough to "identify" a target.
There's lots of 'Joe Schmoe' indie musicians on YouTube who successfully monetize via Patreon, Bandcamp, Kickstarter, Indiegogo, and video game soundtracks. Sure, few or none of them are seeing the success of somebody like Beyonce or Justin Bieber, but if that's your standard then you'll have a hard time convincing anybody.

As for journalism, others have made most of the points about its many problems. I just want to add that I'd like to see a major effort towards non-profit investigative journalism. It's pretty clear now that journalism is a commons so it's high time we treated it like one and worked to manage it the way we manage clean drinking water or wilderness preserves.
I think you hit the nail on the head here - there are lots of folks who view work as a way to be social and make friends. I wonder if a lot of it stems from the fact that sometimes you have to relocate for a new gig, and making friends at work is easier. I suppose it's also good to have friends at work when times are tough.

That's never fit my definition of work though. Work is where I go to work, to get stuff done with motivated people. I mean, I'll be friendly with coworkers, sure... but I didn't necessariliy choose them. Kinda like highschool or college - these people are around because they were placed there. A friend of mine called this "Friends of geographical convenience" once. I have lots of people I get along with at work... but would I invite them to my daughter's wedding? A child's graduation? Would I loan them money if they were desperate? Would I help them move? Could I count on them to help me in troubled times? Probably not, cos people move on from jobs pretty quick. Work friends are kinda like Facebook friends. My real friends and I share more common interests than just computering. ;)

That said, I do have a couple of friends I met through work. But that's different than using work to find friends, I think.

Maybe I'm wrong. I don't know. Just thinking out loud I suppose.
Analyzing the evolution of the Linux kernel using code authorship measures
> Churches should use some of their tax-free money to provide assistance to the poor and needy like they're supposed to.

They should and do. Off the top of my head, I have personally seen churches run or partner in addiction recovery programs, social work, employment counseling, relationship counseling, cash-to-pay-bills ministries, soup kitchens, homeless shelters, and relief-and-rebuilding for for war-torn or disaster-stricken areas. How many hospitals have "Methodist", "Presbyterian", "Saint", etc. in the name?

"Church buys drug dens, renovates them, and turns it into a family homes for poor families" (an actual ministry I've served at) doesn't exactly make headlines, so people get a distorted view of what actually goes on.

> The needy (such as people with mental issues) certainly shouldn't be arrested just because they're going to a church.

Agreed. I could be more clear. The issue here is that churches (the good ones anyway) tend to try to help whoever needs help. So, like hospitals and shelters, tend to help people other places would just as soon deny admission to. An implication of being around mentally unstable people is that they do mentally unstable things sometimes. So you need to provide space for them while still providing safety and healing for everyone.
You don't have to bike like a madman when you commute. You can bike at a moderate pace 10-12 mph (roughly 4x walking) pace and not break a sweat.
Yes it does change the meaning of the work. (There's a fine tradition of this in the arts, most famously around the work of Duchamp but less obviously with many others through history.)

Personally I've never liked Charging Bull as an artwork - tis' too propagandistic for my taste, and I think the creator half-assed it by not exploring the equally powerful concept of an angry bear - and then we wonder why people on Wall Street profess surprise and helplessness in times of recession.

I think it's an interesting modification to the work to confront the bull with a human female; not only does it finally balance the work, but by choosing an oppositional figure whose identity is rooted in self-awareness rather than atavistic force, it refutes the abdication of moral agency that underpins the business culture of Wall Street. Assuming it's not destroyed by vandals, the new work has the potential for historical significance.
So you're advocating against long term human studies?

That's... odd.
> My understanding is that SnapChat's inscrutable UI is deliberate: they want you to have to be shown how to use SnapChat by someone already on it, to avoid the "My grandmother's on Facebook, how uncool is that?" problem.

Couldn't agree more

It's evident by most of the comments here

Instagram / Facebook / WhatsApp will not get that < 25 demography

I doubt Instagram counts this as success. They didn't get any new users - that was the main goal when mimicking Snapchat
It's mostly driven by publishers who want to sell books every year instead of every decade. Add some academics looking to justify their existence plus upper administrators who are given big salaries to 'do something' to 'improve' education and you soon have a system that's very willing to slosh taxpayer money around.
I'm with you, I've had

export HISTFILE=/dev/null

in my .bashrc for 20 years. I just don't see the appeal of persistent history. And I've seen too many intrusion pastes where passwords and databases are pulled out of the bash history file.
Longer and original article can be found here - http://www.mauldineconomics.com/outsidethebox/raoul-pal-payi...
I'm not persuaded that teams should be this independent. It always leads to a poor experience for the user. Further, duplicating code and allowing this kind of hairball growth builds a spaghetti code system, but without adequate oversight to have sufficient design.
> My money's on BigIntegers: https://msdn.microsoft.com/en-us/library/system.numerics.big..., using some sort of subdivision of cents as the base unit (1/1000ths of cents?)

I was thinking something along these lines too. Would love to know what they used and the justifications behind their decision.
Awesome little project! This is probably a stupid question, but what is the front end built with? (Go as well?)
Open Education Resources (OER) is already a thing - but access is so fragmented between different websites and organizations that I've never found it particularly useful.

Additionally, it often takes as much time to find & modify OER to fit my classroom needs as it does to simply make it from scratch on my own.
Worst case, he can just have his art moved. The other statue is meaningless without his.

I think having the Bull turned 90 or 180 degrees would be hilarious.
Content Based Intelligent Cropping
It has typed arrays, but they're still not statically typed. In a statically typed language, this would not run.

console.log("hello");
typedArr[0] = incompatibleType();

In javascript, it will produce "hello" as output, and then a run-time failure.
That won't be until Ubuntu 18, or are you switching prematurely?
Numeric age for D: Mir GLAS is faster than OpenBLAS and Eigen (2016)
it is hard getting people to work for free
JetBlue doesn't overbook.
Yet here you are posting on a public message board under (I'm assuming) your account :)
Redox, an operating system written in Rust
His copyright interest won't give him any protection. The space around his work is not part of the work, and copyright law offers no protection from proximate artworks that comment upon or even mock the original.
It was just CS foundations which I narrowed to sorting through enormous data http://www.cs.cmu.edu/~ninamf/courses/601sp15/lectures.shtml

http://people.seas.harvard.edu/~minilek/cs229r/fall15/lec.ht...
Google is known to be one of them, when it comes to her attempt to rip FB apart

They did and they failed mainly because Zuckerberg took the call to thwart them at any cost, one of the very famous 'lockdown modes'.

http://www.vanityfair.com/news/2016/06/how-mark-zuckerberg-l...

This was then. Imagine how Facebook will respond to any threat now. The tenor and the impact of their response is evident in the Stories rollout.

One might argue, in favour of Snapchat that this is a one-off situation and that Facebook will succumb to the same organisational stasis that big corporations fall into. Facebook falling into stasis doesn't seem likely. If someone has viewpoints to the contrary I'm all ears.

Snapchat will have a real tough time fighting Facebook.
Your analogy doesn't sound right to me- there's nothing about wasm that would make it slow to manipulate the DOM, while there is plenty about Javascript that makes it slow to process images.

Manipulating the DOM from wasm shouldn't be any slower than Javascript. Slow in general because of the DOM, perhaps, but not because of wasm.
No need to go through mental gymnastics, just call a spade a spade.

He's a shill, and the poisoning-our-food industry employs the most shills overall.
Agreed, this is the big publishers trying to maintain a monopoly.
United passenger suffers concussion, broken nose – lawyer
I think that's probably true for indie game developers, but in the AAA space C++ is still king
I think "greed and stupidity" is taking it a bit far, but most people are not willing to spend an extra $200 to patronize an airline that doesn't act like this. United's stock went down but most people are not going to fly out of a different airport in order to patronize a different airline.

And before we call air travel expensive let's look at what it actually is. We've only been flying at all for about a century (much less of that time commercially) and it's already safer than driving to the airport. You can get from San Francisco to LA for less than $100 in an hour. Across the country (NYC to LA) for less than $400 in the amount of time it takes you to watch two movies and eat a meal. This is with something approaching $300-350k worth of annual payroll in the cockpit, flying a machine where the engines have to be literally broken down into their component pieces and rebuilt on a regular schedule. The overhead is obscene, the skills required to do the job are expensive, and they'll move you and a friend from one end of the country to the other for less than most people here would spend on a laptop.

The fact that a $20 difference in fare will make you choose one airline over the other is what drives all airlines to this point.
A common plain-language definition of "introvert" used by professionals is that introverts "are more often energized from their quiet time than their social time"[1]. Extroverts are the opposite. Note that introversion and extroversion are on a continuum with most people in the general population (maybe not a specific population) being towards the middle.

Three comments to address your question specifically:

1. Note the "more often" in the definition. It isn't "always". As such, sometimes introverts are energized by their social time.

2. Given the spectrum of extroversion and introversion, some folks may be less extreme and therefore exhibit less stereotypical behavior for their archetype.

3. Extreme introversion (or extroversion) is not perceived as being pathological until it "causes impairment in functioning and/or causes significant distress for the individual" [ibid]. This might be in the form of detachment that has some surface level similarities to being an extreme introvert, but is actually quite different.

[1] https://www.psychologytoday.com/blog/self-promotion-introver...
I'm not the target audience, clearly. I'll get notifications from Instagram "So and so posted a story!" and I'll swipe left to clear it off my notification screen without ever even thinking about it again. Snapchat stories, the only ones I watch (and it's a rarity that I'll even watch them at all) are sports updates.

So. That being said: just curious what the appeal is for others. What is it you like about stories, what about the feature-other than it ostensibly being a video-is so engaging about these things?
Netflix, Amazon, and the End of Independent Film as We Know It
I've been sleeping bad the last couple days and I resorted to get an energydrink and coffee in the morning. The result was a sleepdrunk awake person, that barely functions. Pretty sure this sleep issue is because I take dinner too late in the evening (9-11pm)...
One downside of full time working from home is that the WFH workers are faceless, and easier to cut if it comes time to lay off employees.

It's harder to tell the worker you eat lunch with every day that you're laying him off than the worker you only know via video chat.
Good. That's what makes Fearless Girl a successful piece of art. You are now thinking about the world slightly differently than you were before you saw it, albeit unwillingly. Whether you like or agree with this novel thesis is beside the point of whether it has caused a shift in your consciousness, which is the aim of art.
Airlines made $25 billion in profit in 2015, on about $169 billion in total revenue. Doesn't seem razor-thin to me.

(A few years before, airlines generally were barely eking it out, but that was in a time of high oil prices. The recent collapse in the price of fuel has been very, very good to them.)

Cite: http://money.cnn.com/2016/05/03/news/companies/airline-profi...
Creating a derivative work is a form of copying.
I'm sure this is a good release, but Ubuntu itself is going through some serious turmoil at the moment. Seems to me like there's a good chance it's going to wither on the vine in the next five years. What's worse, there don't seem to be many alternatives if you're looking for a "just works" desktop experience.
The Nick (local dive bar) closed at 4a to keep from turning into a B&B. Saw RHCP there - good show.