skysight-inc/HackerNews huggingface dataset:
Yes it sounds like a fantasy to me. People just love trends and hype cycles too much. As humans, we have an innate need to magnify the importance of certain things while marginalizing or ignoring others completely.
It's easier to think in black and white instead of shades of grey.
Bad idea: left-pad.
Good idea: polyfill library for ECMAScript 6.
Specifically: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...
I don't doubt that JS development is helped via such packages, but pulling in an external dependency to solely to pad a string seems like a bad idea. Introducing cascading chains of dependencies that you have no control of (left-pad was republished by someone who was not the original publisher, and AFAICT the original could have been replaced by the original author at any time with a malicious version) strikes me as a great way to create brittle code, both from a security and a stability perspective.
I agree.
They may be disgusting views, but I think the lamdaconf guys have it right; "Conduct versus belief". Assuming the speaker behaves in a manner appropriate for a tech conference, his other beliefs should not be an issue.
And to sanction someone merely for their beliefs (however appalling) is itself completely disgusting; George Orwell must be turning in his grave.
True, but the counterpoint would be that we don't need to stay on this planet. It is at least possible that we can sustain growth until we are multi-planetary.
Existence of micro-packages and the recent development saying that twitter as a host for micro-packages seems weird to me.
Five years.
You should check out lodash/underscore [1]. Not only is the codebase well reviewed, but there is a _.pad function in there (left and right!), and the maintainers are open to additions if core functionality is truly missing. You'll also get functional primitives that will actually make JS fun.

[1] https://lodash.com/docs

Edit: FWIW, lodash also has _.isInteger(), _.range(), and _.inRange().
Strawman much? His example was obviously not about the number of keystrokes, it's about the standard lib functions that JS includes. indexOf !== -1 vs includes()
I'm really interested if anyone has advice on the best cross platform 2d focused game engine?
Duplicate the Python standard library, call it "batteries" as in batteries included, ???, profit
Full disclosure: I have not had a problem with this.

It's just a theory I have that this is low-hanging fruit to reduce C++ binary size.

You're less likely to define the same structure and methods of a type in exactly the same way as someone else in C because we don't have the STL (ofc). So it's probably a worse issue in C having a hundred different implementations of a linked list or some array type across your system in each program.

I just think there's an opportunity to aggressively dedupe object code for "representation-identical" types in C++.
Twitter as a host was a joke. The zealousness for these micro packages, though, is all too real.
> more losses than the capital loss deduction limit ($1500)

Currently you can deduct up to $3000 of short term capital losses per year against other types of income (e.g. regular employment income), and any remaining balance can be carried forward indefinitely.
Regarding #1, I strongly think that the JS community should come together and build out a library that fills the same role as Boost does for the C++ community. Sort of a collection of things that are missing from the standard library.

I suppose lodash and others aim for a similar purpose, but clearly left-pad-gate has shown us that they're not quite complete enough.
This is very interesting. Segmentation is a very, very hard problem and the video indicates they have made it fast. 4000 images is a lot and at 21GB per model the processing overhead has to be massive. 60-100 minutes is also a pretty long time to recover one model, but not crazy, and will certainly get faster.

I don't see any scale reference markers or other reference material in the scene, so I wonder if it recovers scale from light field depth information alone.

Interestingly from the paper, they aren't actually using a light field camera - but rather creating a light volume through sequentially varying the depth of image taken and modeling the volume:

Key to our method is the dense spatio-angular sampling of video, which results in smoothly varying parallax between successive frames

A hack for sure!

I would be curious to know if using a light field camera would even be useful in this scenario as much of what they do mimics the light field camera processes, only manually.
NPM restricts the developer from being able to push to the same version of a package twice.
Yup I looked there first, but there was no iterator-based range function. lodash/underscore were built for a pre-ES6 world, so they don't cover all the nice iterator/generator stuff that I like from python (yet? hopefully!)
>Oh, so solitary is bad now. We'll fix it. Put two people in a 10x4 cell. See, not solitary anymore, and we doubled the capacity too. Bonuses for everyone

I doubt that. The people running the system don't decide how many inmates they get or how many beds they have. They put people where they have to put them. And they have to deal with this kind of fallout. They're doubling up because they don't have room to do anything else.

There's probably a memo that went up the chain saying "This is a bad idea. We really shouldn't do it." If it made their jobs easier, guards would be perfectly happy with 1300 sq ft hot-tub-equipped town house cells. They're government employees, after all.

But nobody wants a prison in his town. For most people, inmates are out of sight, out of mind and that's the way they like it. That is the problem.
This is a point worth repeating. Does Apple even publish its research? I've benefitted from many papers published by Microsoft and Google's research departments, either directly through learning something I can apply myself, or indirectly through processes that end up in open source technology.

Does Apple even publish research? Some Googling failed to turn up anything. In fact, I found an HBR paper that said Apple specifically does not publish its research.

IMO, this makes Apple much less praiseworthy than Microsoft/Google/Facebook.
Next time, please use a smaller font and leave out all the silly images. It took a long time to get to the bottom of the article, only to find out there was no real content.
>I don't think the white majority finds that behavior acceptable either.

Acceptable at least in the sense that there's not widespread revolt against it.

A couple of US style incidents in other western european countries would have toppled the government or at least the justice minister -- and yet tons of them happen in the US with little to no protest (aside from special activists and groups).

Acceptable also in the sense that it's the prevalent wisdom: "don't do this or that, or you'll might get shot/tased/etc", which people have internalized, instead of considering something rare and outrageous.

The fact that a cop can shoot someone (black or white) just like that, and that it happens tons of times a year, is not much different to my European sensibilities than still having the segreggation. Or still having the death penalty -- oh, wait, they have that too...
#2 is an excellent point. If there's one thing my years as a Java developer (and Maven user) taught me, dependency hell is a real and ever present threat. :)
The more I work with JS the more sad I am Dart isn't taken seriously.
I believe you're right, but it still feels icky to have something always listening for that special phrase, to me. Maybe if I wrote and maintained the code myself that always listened, I'd feel more comfortable with it.

Oh, I think the proper word was cue, not queue, by the way.
The fitness function is pretty simple, essentially a weighted piece counter. It's true that it does not look ahead and take future states into account so might fall into a trap, but empirically it's doing very well!
I got the $1500 number from the OP, not sure where it came from. I didn't realize losses could be carried forward like that though, good to know!
Quick aside, I use this snippet as a bookmark in my taskbar to bypass paywalls:

javascript:location.href='https://www.google.com/webhp?
%23q='%20+%20encodeURIComponent
(location.href)%20+%20'&btnI=I'

(remove the space after the '?' and after after 'Component')
If "JavaScript just needs to become a better language" is it wise at this point to really be trying to use it for every possible thing? JavaScript has its place and building a web app without it today is very rare but I don't understand why so many are trying to depend on it for so many things that it's not intended for or at least ready for.

"I see us JavaScript developers as hurdle-runners where every 30 seconds we need to jump over a new obstacle."

That's not a good thing imo.
Or apache commons lang for java.
Make elites compete: Why the 1% earn so much and what to do about it
Correct - we are not using MCTS and the approach has nothing to do with AlphaGo.
Agreed, I think one issue is that great libraries for all use cases weren't available in the past so older libs built up these chain of dependencies, and this might be the wake up call that gets people to to a) create a few more unified libs (might be as simple as cherry picking top NPM micro libs + refactoring) and b) gets libraries to switch over to the new unified micro libs.

You'll need both to happen - and that's the benefit of this controversy.

Even so, I think the micro-library dogma might have gone too extreme, without many programmers realizing the cost it injected - and this controversy will likely also help with changing some developers dependency philosophy.

More speculatively, I'll be interested to see if any of this leads to changes in the ECMAScript standard discussions in future years.
Very true. We can subsidize those trips if we want to, but I don't think that will be necessary. Employers in high congestion areas will have to pay more to compete with other employers. It'll probably work itself out, but if it doesn't, we should fix it directly instead of forcing everyone to endure traffic.
If it makes any easier for you, you should know that this is what all governments do. Some governemnts are better at it than others. This is going to continue as long as governments are around. I'm not pro nor against. Just stating the fact.
I've liked Corona SDK, though multiple recent ownership changes does leave me uneasy. The creators of Crashlands swear by Game Maker, but I wouldn't go there if you have any kind of programming experience already as the UI will just be in your way all the time. While Unity is accepted as best for 3D, many devs love it for 2D with the right libraries.
Competing with Platforms That Ignore the Law
I don't think that explains it at all.

If Javascript string manipulation sucks, there should be a single string manipulation library that fills in the gaps, not 50 different libraries to work around 50 different gaps. Ditto every other class of deficiency.
This is not cool just for work. I can definitely see myself using it to feel closer to my family, a few thousands miles away.

Also, this is research. Too many of these comments are bashing it, mostly because it comes from MS I guess. We can still hate their products, but the research is really useful.
This is not cool just for work. I can definitely see to feel closer to my family, a few thousands miles away.

Also, this is research. Too many of these comments are bashing it, mostly because it comes from MS I guess. We can still hate their products, but the research is really useful.
Red Programming Language: 0.6.0: Red GUI System
But only if they manage to drastically reduce/eliminate the latency that's present with video conferencing.

It gets us one step closer by allowing virtual eye contact, but if the latency is still there, it will still be subpar to in-person interactions.

The other thing that wasn't so evident by this video is that everyone you were taking to would have to be wearing Hololenses, so it will still be a bit awkward.

Not trying to be a downer, just that as a remote worker, I think about all of these things that make remote interactions hard.
Unless you unpublish then republish over it.
How much of this is the fault of Node culture? Javascript on clients may be a necessary evil, but relatively good languages actually exist for servers. Writing a server these days in Java makes little sense; writing one in Javascript is sheer lunacy.
And what's wrong with Lodash, which contains pad and all the above, and loads more besides?

https://lodash.com/docs#pad
> ... this is a really unfortunate way to carry a discussion. And I'll remind you that he's not carrying his ideals to the conference. That'd be against the Pledge, as well as against his public statement in the article.

Why exactly is it that a short written statement can somehow absolve someone of the social responsibility of a multi-year career of hate speech?

> What doesn't his code have to do with it? It is indeed a tech conference, and I believe that anyone who has an interest in tech and is willing to follow the rules should be able to attend.

No one has said he can't attend. Why would yous suggest this?

> But do you think he's going to be an awful person in person? And I'll quote back again to my previous post: "is his mere presence such an affront to you? Are you really unable to exist in the same space as a racist? I understand that those views are fundamentally wrong and really awful. But what does his presence have to do with it? Can you explain to me a scenario where his presence is a factor in the equation?"

It's not his presence. It's his authority figure as a speaker while being an outspoken member of the pro-racism community. Do you actually know what he writes about?

> And I agree that criticizing bad actors is a perfectly okay thing to do, within reason. I disagree with the idea that the shitstorm surrounding this is reasonable.

How is this unreasonable. "We will not support your conference if you give the podium to a famous and vocal racist who calls for the enslavement of black people." This is a boycott. No one is suggesting they be made to comply by force.

And the amount of pressure brought to the sponsors is minimal. Tiny. People are choosing not to support LambdaConf because the notion of handing the microphone to a prominent and vocal defender of racism is a vile notion.

Why is this so hard to grasp?

> This is totally excluding someone from a community. And as much as I agree with your right to have your opinion, I disagree with the idea of taking action on such an opinion.

Why should an intolerant bigot be included in any community? Don't these communities have a right and a duty to control their attendance as they see fit?
And no intention from NPM to fix (according to the article)
"Not even you"

Is contradicted by the marketing copy: "Analytics built in with zero setup help you keep track of your game."

I'm all for exposing the true motivations at play here, but please keep things factual.
There is an equivalent lodash function. Lodash is also nice because you can just include the function you need, a custom build, or the whole library. I use node but I've never felt the need to install a 1 line module.
Maven doesn't help in that case either, given that it contains it's own self-contained dependency hell.
Reality is a fad ;)
Irrelevant much? He can just use indexOf != -1 and it will work both in old and new browsers.

And whatever JS includes or doesn't include, he should use ONE bloody library, like Lodash to fill in the gaps, instead of some micro-monstrosity like "left-pad".
> authority figures in a child's life hopefully know about preparing for the future and have the child's interests at heart to some extent

The immense popularity of Roald Dahl books which continually portray a lot of adult authority figures as not having the children's best interest at heart but rather their own, speaks against the idea that children agree with you.

Anti-authoritarianism, as the article points out, is not against all authority; it's against authority which is thrust upon you and not by your own choosing. This is an immense part of the experience of many or most children. It doesn't necessarily have to be that way, indeed most children are very good at choosing who to trust and who to invest authority in and who not to. Taking that choice away is immensely frustrating for children.
The first and only promising technology from Microsoft I've ever seen :)
Thanks for linking the A1100 board. I was searching for one of those but couldn't find one. It's always a bit disappointing when these small companies release complicated boards like this, though, the price is never competitive with more mass market stuff. I could get an Intel desktop CPU and motherboard for $150, though I guess that's missing the point.
I really like JavaScript as a language - Better than any other language. I agree though, we needs more utility functions as part of the core lib.
County can cause trouble in the US as well, as not all cities are part of a county. In Virginia, cities are separate county-level entities, so at my old address, when people needed to know my county, the answer was "Alexandria City." Computers were mostly up to speed with this, but it sometimes confused humans from out of state when they asked.

A fun example is Fairfax, which is both a county and a city, and while the city is surrounded by the county, it isn't part of the county. Weirder still, Fairfax, the city, is the county seat for Fairfax, the county.

Note that city and state isn't really a problem for residents of New York. The city is still in the state, and the official address will read "New York, NY," which is repetitive but correct.
What solution can we propose?
> The yelling problem, I'd be tempted to fix for free...

So, run the tests?
Congratulations, you've just met someone who legitimately likes JavaScript as a language, as well as its libraries.

That's just never, ever a credible assertion, "I've never met anyone who likes X"....then you must not talk to many people. There's a lot of people in the world and a lot of JS developers and PLENTY of them like it.
I don't think there are many storage systems that have higher throughout with two concurrent writers than one, so a global write lock is not unreasonable.
The towns I'm talking about are thousands of miles from the nearest UPS or FedEx driver.

In fact, tons of them can not be driven to :)
I have a feeling that a lot of other systems also provide "the capability for a self-replicating worm", as that's just the nature of computers in general, and part of why they're so very useful.

To me, the fact that this "vulnerability" requires explicit user action, akin to deliberately downloading and running malware, says that it's really a property of all software ecosystems in which people can publish and disseminate freely.

In that respect, it's nice to see a "this is as intended" response instead of the typical direction of coming up with a set of more draconian policies and processes merely to protect users from themselves.

But given what "security research" these days seems to involve, I can almost imagine in the future: "Vulnerability #1048576 - computer allows users to perform potentially malicious actions."
> The other thing that wasn't so evident by this video is that everyone you were taking to would have to be wearing Hololenses, so it will still be a bit awkward.

I remember seeing the guy who invented the selfie stick present it to Canada's Dragon's Den: https://www.youtube.com/watch?v=Bw7YbcoCkbs. My reaction was: this is ridiculous and stupid. Nobody will ever use that let alone buy it.

Let's just say I was slightly wrong.

Not only that, but people go crazy over VR. This will take off, I'm sure.

https://quikpod.com/quik-pod-selfie-stick-cbc-dragons-den-20...
If you explicitly requesting a particular version, that mitigates the security concerns to some degree (though as this incident proves, you are still reliant on that version being published for proper functionality).

That said, the fact that npm's blog [0] indicates that a republished package (with a new version number) mitigated the issue to some degree, and this comment [1] suggesting that the default behaviour is to get the latest minor release, makes me wonder how widespread of a practice that is in reality.

[0] http://blog.npmjs.org/post/141577284765/kik-left-pad-and-npm
[1] http://www.haneycodes.net/npm-left-pad-have-we-forgotten-how...
I like JavaScript a lot too, but "better than any other language" ?
The biggest difference at this stage seems to be people handing over money for VR while AR, well......

In a very real way they are "the same" in that Microsoft and Sony have each chosen to bet on AR or VR, not both.

The are the same in that they are both "immersive headset technology interfaces".

Looks very much like a betamax versus VHS battle and AR at this stage is a distant betamax.
Sorry no - you're missing the point of the grievances that were aired.

The problem is Javascript culture itself. It's culture has directly influenced the way NPM packages are made.
Because it's great, simple, and has a huge community? A few lines of code and having an HTTP server (or other protocol) is quite nice.
There is a story within the story here: this article was not "fact-checked" by any person who has ever actually used SQL while developing software.

To quote: 'This is because the word “null” is often inserted into database fields to indicate that there is no data there.'

The story is that companies can't be bothered to hire programmers who are clever enough to know that null and "null" are not the same thing.

The story within the story is that news websites can't be bothered to get their technical stories proof-read by people who actually know the technicalities.
I knew someone, an American, whose wife was (I believe) Chinese and they did not give their baby a name for one year. They lived in California where it was legally required to assign the name in the first year, I'm not certain if they would have waited longer, or not, if they would have been allowed.
The man has a right to face his accuser in a court of law, and it sounds like that entity does not exist any more.
Seconded. I really enjoy coding in JS, and don't mind the various hacks that have to happen for browser incompatability.

I do, however, object to the massive amounts of dependency in the Nodejs ecosystem. It's as if no-one learned the lessons of DLL Hell. We already know that dependencies are bad, people!
Url changed from http://www.gamasutra.com/view/news/268997/Microsoft_demos_ho....
Sometimes I use hair spaces to quickly try out a new kerning. It's also fun to change your tracking from time to time.
Comments moved to https://news.ycombinator.com/item?id=11363816.
Considering these guys tried to trademark the word Candy, among other questionable actions, I don't think I'd use/trust anything they offer.
As a developer in the node ecosystem, you run npm install multiple times a day. If one of the dependency you require has been infected, it will look for all the packages you own on npm and will publish a new infected version. Now any time another developer that has one of your packages as dependencies does npm install, it will infect that person again.

Once it reaches a package like left-pad that is used by a ton of libraries, it will instantly infect hundreds of thousands of developers.
Banned from Amazon for returning 37 things
Destroying earth and leaving a mess behind is not the output of an "intelligent" species.
The article suggests this:

>
>As a user who owns modules you should not stay logged into npm. (Easily enough, npm logout and npmlogin)
>Use npm shrinkwrap to lock down your dependencies
>Use npminstall someModule --ignore-scripts
>

I would add to toss a glance at the libraries you import every once in a while. Just to make sure they look sane.
tl'dr: The game is rigged for the top 1% so it can face less competition and not allow some of the money it gains to flow downwards.