skysight-inc/HackerNews huggingface dataset:
Grand-parent comment asked for an example of an error introduced by using class that would've been avoided with prototype inheritance, and you respond with an "awesome" "curated" list of opinion pieces and conference talks by famous devs and rockstars...

This is what's wrong with the JS community and why everything is so hype driven... this list gives the impression that if you want to be a good JS developer you should've even THINK about trying to use classes in your JS because if you do then you don't truly "get" JS.

Think for yourself and decide if classes will improve your code in the way you plan to use it. Classes have hugely improved my company's JavaScript, it works well considering our developers understand OOP much better than they do functional programming, which I think is pretty common.

We don't rely on inheritance, we reuse by composition (which is just as easy to do with class as it is to do with protypes).

Classes are fine! Use them if you want to! Don't use them if your existing code relies heavily on prototypal inheritance, but if you just wanna wrap some methods around some internal state and you like the way the class syntax looks compared to the prototype syntax don't let some think piece on medium try to convince you that classes are bad.

EDIT: sorry to go off on a slightly OT rant on your comment... I just got frustrated by the link you posted.
> can only really be answered by actual scientific discussion between actual experts

I fundamentally disagree with this. For one, who gets to decide who the 'actual' experts are compared to the experts that aren't actually experts?

The stuff you're saying is specious; on the surface it looks plausible but it actually doesn't mean anything.

Anyone can develop expertise in a topic of interest if they follow it ardently and have good critical thinking skills. One obviously needs the ability to read and comprehend more than just an abstract, but that's not what separates an 'expert' from an 'actual expert' anyway.
Alpha .net core support :( I'm excited things are moving forward, but I wonder how much of the slowness around this is due to the coupling of F# releases with the release cadence of Visual Studio/Visual F# Tools.

Hopefully ionide will support dotnet core soon now, and we can get a fully cross-platform development experience with VSCode and .Net Core.
Uber looking for chief operating officer
> If you want facts that won't change after 15 years, you should study Mathematics.

It's true, of course, in a sense, but a great book to get some perspective on the development and "historicity" of mathematical fact is Imre Lakatosh's great Proofs and Refutations.

It's a great read, as a fictional dialogue of students and teacher on Euler's "simple" formula

V - E + F = 2

about the numbers of vertices (corners), edges and faces. They go and prove it, and oops, someone comes up with a counterexample, and they realise they have to refine things. Very instructive book.

https://en.wikipedia.org/wiki/Proofs_and_Refutations
Why We Can’t Look Away from Our Screens
Using Bootstrap in a Rails 5 App(Including Using a Bootstrap Theme)
Please read this:

https://blogs.msdn.microsoft.com/pythonengineering/2017/02/2...

And this:

https://blogs.msdn.microsoft.com/pythonengineering/2017/03/0...
Have a look at andreas antonopoulos's youtube channel(https://www.youtube.com/user/aantonop/videos). All of his videos about blockchain and bitcoins are very good since he's one of the best blockchain expert. They might give you some valuable insights about anything blockchain technology.
Well, buses and rail attack the congestion problem on the demand side, while tolls attack the problem on the supply side. So they're really complementary.
Maybe I'm out there as far as this topic is concerned, but as a software engineer I enjoy whiteboard interviews. If you can't get up in front of a couple potential colleagues and talk/draw code, how are you supposed to whiteboard complex designs in meetings after you are hired, possibly to higher-ups?

But I agree there should be set parameters in an interview: ask every candidate the same open-ended design questions, stress that they just use pseudocode, keep the problem questions small (5-10 mins max), don't be a overlording interviewing jerk, etc.
You'll also find that some experienced programmers specifically turn 1 line into 5. It's the beginner that tries to create the 1 liner because they think it's genius.
Most professions have solved it: some really tough, relatively objective, centrally-administered exam that's a strong sign of knowing some minimal competency. Then, point to the authenticated results instead of going through that at each employer.
It also works in C++ projects. But it breaks a bunch of IDE stuff, e.g. Add New Item.
Semi-ironically this looks like just the thing to use in a supercomputer controlling a good number of NVidia GPUs.
I'm sure there's some research on this somewhere, but parking minimums have got to be one of the most distortive policies to ever emerge in urban planning.
Lots and lots of marketing?
> is this perhaps a signal that we don't need to be hiring employees at all if we can just spec out the work correctly and the associated acceptance criteria?

Try to get any work completed by "spec[ing it] out" on Amazon Mechanical Turk and you'll quickly find the value of employees (or at least, of using "hiring"-like processes to build a pool of known-good contractors and using them for all your work.)
Thanks for sharing. As someone who's watched the Twitch brand evolve, this seems spot on, and the results are impressive.

You were definitely fortunate to have the in-house expertise to execute on exactly what you needed, at exactly the time you needed it!
Or you just have one that works for both and save yourself a lot of headache?
Classes are a nice tool to cleaner code if used correctly.

People are using them all over the JS-verse already, just manually and verbose using inconsistent and incompatible implementations.

I fail to see why everyone here are so negative to actually standardizing something everyone is already doing anyway.

Someone please enlighten me?
I mean... In some circumstances you would be right, but the mind is not a formal system that stands or falls on soundness. If you read it a little more charitably, i said "is not a requirement for", rather than "is completely unrelated to". I'll wager that we are successful _almost because_ our minds function adequately while entertaining "untrue" beliefs in a strict sense.
That just means they aren't pricing it properly.

I would still argue that prices should be set however high whereas to eliminate congestion, even it is seems "too high", simply because there is a limit to how many lanes can be constructed and no amount of lanes can eliminate congestion due to induced demand. Then we must allow market forces to occur such that development and lifestyle patterns change, which takes time. Might as well bite the bullet now.
You may not have a choice, if everyone's phones are doing it.

Wikipedia leak today claims hacks for Smart TVs. Perhaps in the future, basic things like light bulbs aren't even usable without an Echo-like device.

Bet on everything being recorded everywhere, at some point. Just look at what the satellite tech companies are doing now. If you are doing something off in a far remote area, you are still being surveilled, recorded in perpetuity. At this point I'm more concerned about AI actors than any government.
The needless pictures of the random yuppie woman were distracting, and added nothing. Is that supposed to be the author?
Hi Eitland!

I'm a dev on the C#/VB IDE experience (and i've written and maintain many of the Refactorings for those languages). C# and VB do support refactorings like 'Extract Method' and 'Move to Separate File'.

We've also exposed a full analysis and code manipulation API through 'Roslyn' so that community members can contribute even more refactorings through extensions.

One reason this may not have been clear is that previously we didn't strongly indicate to you that a refactoring was available. i.e. when you selected some code to extract a method, you would then have to use ctrl-dot to get the list of things you could do. Now, in VS2017 we pop up our 'Lightbulb' whenever refactorings are available. This helps make the refactorings much more discoverable and we've seen a very large uptick in people invoking them now that it's much clearer that they're available.

If you use VS2017 and find issues with our fixes/refactorings, or you would like us to add more, please file feedback at https://github.com/dotnet/roslyn Thanks!
I don't believe the clear answer to that is Yes. I'm not sure if it is No either. Maybe they should share that intelligence with the NSA, but I can imagine if sharing that intelligence would compromise the the mission of the CIA then they wouldn't.
This. The homeless crazy problem has gotten much worse with the introduction of spice. They were much more harmless before but now you don't know when one will just start stabbing you without warning.

Also doesn't help that now everyone has expensive cell phones which attract thieves.

Once I was telling my friend about how I saw a woman pass out and start seizing on the subway at 5pm on a weekday. I pressed the emergency call button and people were all staring daggers at me, how dare I delay the train. My friend then said he had the same experience at 11pm at night and he was worried about physical violence.

It also doesn't help that the sheriffs only bother to stand at the turnstiles checking tickets and if you want to evade the fare, you just can just run.
Oh, you need to click the "run" button (upper right) once before the CSS changes apply. After that it should be live. We need to make that more clear.
IT Archetypes: What Type of Programmer Are You?
Very cool.

In the last few weeks I've been thinking something similar would be great for podcasts. Not on-screen editing, but tools for displaying information and soliciting feedback.

In my case I've been listening to a lot of podcasts about real estate. Frequently they reference a PDF or web site to sign up for more info. It would be nice if that just showed up onscreen rather than having to open a browser on my phone (especially when I'm in the car).

Dedicated apps can do this, of course, but I an open protocol would have a lot more uptake from semi-technical people who want to create simple online course distributed via podcast.
Can't you use reader mode?
While it does work in the builds, the IDE is not supporting this particularly well. As another comment pointed out, changes on the filesystem are not automatically detected. Also, some IDE functionality doesn't work propetly in a project with <ClCompile Include="*.cpp"/> - for example, Add New/Existing Item fails with an error.
The notion that road pricing is a regressive tax on the poor smacks of elitism. The hidden message seems to be "poor people don't have anywhere important to be." But lower income people were surveyed an they in fact desired road pricing just as much--if not more than--any other population segment because of the need to efficiently travel to multiple jobs and daycare sites efficiently, for instance.

It reminds me of the "poor people shouldn't have nice things" superiority complex that breeds thoughts like "poor people shouldn't buy smartphones and flatscreens!", when those things are quite inexpensive compared to actual ongoing expenses of rent and food. And there are many factors other than road pricing, such as cost of vehicle, fuel, and parking.
> This may not have been an act of altruism like Snowden

I'm still really surprised no one questions the Snowden narrative. A man who earned $200k a year, worked remotely in Hawaii with his smoking hot wife, suddenly decided he has a conscience, either collected data slowly over time or did a massive data dump and released all this information to Greenwald and Der Sepgiel. Then he flees to Russia where he openly tweets against Russian policy.

Unlike many other stories, there were no where near the level of government denial. Media outlets ate it up without looking into any of it.

I really feel like Snowden was an intentional leak, either to show the NSA could proclaim their spying abilities and no one would be able to stop them, or they wanted to profess they had capabilities they don't actually have.

In either case, the US government is still spying relentlessly, creating war zones and expanding military powers. People say I'm a "tin foil hat conspiracy theorist" when I say that the CIA most likely created ISIS to destabilize Syria.

It's not crazy, it's what the CIA has been doing for decades. The 1973 Coupe in Chile, Bay of Pigs, School of the Americas, Iranian Contras .. the list is as long as you want to make it.

You should question each "leak."
> Why do you believe the world should be divided into "people who were issued bits of paper by my overlords" and "people who weren't"?

Because different people, and different groups of people, have different beliefs and intentions. The current divisions, such as nation states, may seem arbitrary, but some of them are currently necessary.

We quite simply do not live in a unified utopia as some posters here have deluded themselves into believing (which is an easy trap to fall into when one lives in a well-fed, massively rich democracy where one wants for nothing, such as the ones we all live in).

Like it or not, these divisions exist, and will continue to exist well beyond our lifetimes. Groups of humans want to dominate other groups, to exterminate them, or worse. The divisions are necessary to protect the things we value, such as social progress, our loved ones, our innovations, and so on.

In short, there is still a very clear and objective distinction between good and evil in the collective human species, and this leads to the development of the divisions with which you're uncomfortable.

Thankfully, such feelings of "that's icky!" are not (yet) a primary factor in the decision-making process with respect to defending our side of the line. If it were, we wouldn't be having this discussion. We wouldn't be able to have many discussions at all, and particularly not on a medium so free as this one. We'd probably be doing manual labor in between sessions of worship to some supreme leader or god-authority.

Yeah, I'll... I'll take those divisions for now, please.
Maybe, but consider adding another constraint to the game of maximizing your chance to being right -- you have a finite amount of resources (eg, time) to spend on examining evidence, so you need to strategize even what evidence is worth considering and to what extent -- looking more carefully at one thing means you now have less time to look carefully at something else, nothing is free

Of course, in real life, we do have this constraint
Check out the reviews on Amazon as well: https://www.amazon.com/Authority-Become-Following-Financial-...
One of the most valuable things I got from university was my professor's saying, "When somebody tells you your code is clever or interesting, that's an insult."
A citation isn't a statement of fact in a general sense anyway.

A bit of information from a study, means that under these very specific set of conditions, this happened. Your ability to generalise that to a 'fact' which is true in all cases is pretty limited.

All citations do is add support for or against an argument, they aren't statements of fact.
> From the former, the headline's spot on.

Only if you're using Linux guests and assuming vDSO so not really. The headline made me first go to issues with the host/virtual hardware and some syscalls being much slower than normal across the board.
I think there's some good signs here in LA. People know the situation is bad and we need more public transport. During the last election, a new measure passed to increase sales tax to fund more rail. Tax measures here require 66% to pass and it's kind of incredible that many people want to increase their taxes. It shows how dire the situation is and people here recognize it.

The direction for the metro here is massive investment in more rail. But to really fully utilize that, they need to fix the first/last mile issue. They are trying with bike sharing, more dense housing, etc. But those are too slow and just don't have enough impact. LA doesn't have to be a car city, but it will always be a road city. We need to work on connecting that road network to the rail. Buses could've been the solution, but won't happen due to bad reputation. Uber/Lyft could try with their car pooling service, but there's a conflict of interest working with rail because it decreases revenue for them since rail would take a big chunk of the distance traveled. Short distance carpooling is a potential good solution and I hope some startup here or the metro does something about this. This kind of first/last mile carpool + rail solution also has potential in other cities that are investing in rail (like Seattle, Denver, etc.). If it works well, it could become the model for transportation in US cities.
they use the software as part of the wire to determine which containers went missing - a block chain would ruin that
A possible goal is to have the serving stack be as simple as possible.

After all, you can argue that the publishing-side stack is anyway very complex: it includes e.g. the Github UI, if one makes edits using the Github UI.
No, I wasn't advocating that anyone use my advanced browser setup. I was just illustrating that there are reasons why someone would want to do so.

I really shouldn't have to do this. Mozilla should have put more effort into add-on compatibility. Add-ons are the only thing that Firefox has going for it.
I just wanted to add a few more African civilizations, namely: Great Zimbabwe[0], Axum[1], Asante Kingdom [2] Swahili Kingdoms[3] etc.

[0]https://en.wikipedia.org/wiki/Great_Zimbabwe

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

[2]https://en.wikipedia.org/wiki/Ashanti_Empire

[3]http://richard-hooker.com/sites/worldcultures/CIVAFRCA/SWAHI...
Because if the clock rate changes, tsc can become out of sync.

https://lwn.net/Articles/209101/
Citations add 'support' for or against one side of an argument, they almost never state anything that's factually true or false in a general sense.
I'm interested in what you've said here. Do you have a few books to recommend?
Usually a new version of VS comes with a new version of the .net framework. It doesn't seem to be the case here. I can't see the tuples announced for VB for instance.

I am getting an error with Dim p As (x As Integer, y As Integer) saying that I am missing a reference to 'System.Runtime.CompilerServices.TupleElementNamesAttribute' (but if tuples are part of the language why do I need an external reference? and this assembly doesn't seem to exist anyway). In fact right now a simple empty command line program containing nothing more than the below hangs the VS IDE completely...

Module Module1

Sub Main()
Dim p As (x As Integer, y As Integer)
End Sub

End Module
Yes! You can sign up now and record your own casts. For now it's focused on client-side libraries, but we're looking at supporting server-side languages as well.
Show HN: MechanicLot.com – Transparency in Auto Repair
Though, of course, this still means trusting the compiler: https://www.ece.cmu.edu/~ganger/712.fall02/papers/p761-thomp...
I've taken Uberpool for longish distances around LA (mostly between ~Beverly Hills and the Valley), and it suuuuucks. Having to get off the freeway and get back on to pick up people adds a ton of time to commutes that aren't that long from the LA perspective.
Congratulations. You're on (another) list.
Yeah marginal cost per mile is less. Perhaps that's why people rarely think about the cost of a 10 mile drive.
I can see how my comment wasn't clear. The fact that disadvantaged people are being driven off the web has nothing to do with the fact that I have a highly customized browser setup. I probably should have made that more clear.
i dunno how well this would work in practice, in my experience signing up for promotional email results in tons of junk emails with actual deals only offered occasionally. It'd be hard to parse out real value
Offtopic, but whenever I read someone referring to a programmer having to be an archeologist, I can't help but think about Vernor Vinge's _A Deepness In The Sky_[1], where there was so much legacy code that there was a need for "programmer archaeologists" to dig through it all looking for something suitable for whatever current problem needed to be solved.

1: https://en.wikipedia.org/wiki/A_Deepness_in_the_Sky
"Having a citation from a well regarded source is better than having no citation."

Not if the "well regarded source" has a clear motive to lie.

"There is probably a higher correlation for a statement from an official state agency being true"

Not when the statement conveniently exculpates the agency or high ranking members of the agency of wrongdoing. Then there is probably a higher correlation for a statement being false.

For example, when Jean Paul de Menezes was gunned down by the London Metropolitan police almost every claim made to defend themselves in the succeeding three days turned out to be false. They said that there were wires visible from his jacket. They said he was wearing a heavy coat. They said he vaulted the turnstile. They said that they shouted "armed police!" and he turned and walked towards him. None of it was true.
Lego map maker
I wrote up an explanation here: https://rachelandrew.co.uk/archives/2016/03/30/should-i-use-...
Buses in the LA region have a bad reputation because of other bus passengers. If you ride the bus you might have to sit next to someone who smells bad or plays loud music or acts out in inappropriate ways. That's why everyone who can afford it drives their own car: to be alone. The reputation would improve if they could get more "regular" people riding, but it's kind of a chicken-or-the-egg problem.
Much like IanDrake said, this is super cool but kind of "primes" the user into thinking that he'll be able to play around with the code while paused. It'd be great if you supported that, e.g. by doing a "fork" into local storage.

Anyway, the project is really great and impressive! :)
If you already have a pressure cooker which you are happy to use, and are content with making soups in a soup pot, are there any advantages to buying an Instant Pot?
> Or you just have one that works for both

And that is?

> and save yourself a lot of headache?

Which headache are you referring to?
Apache2 seems to be talking only about suing regarding the patent related to the work in question:

> such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted.

Facebook's version applies if you sue Facebook for any patent assertion.

Say you have a startup in talks to being bought by Google. The are suing Facebook because Facebook stole their ad click fraud detection algorithm. Now they'd be an additional worry about that patent claim.
> you just emit your checking code yourself...

Which C programmers keep failing to do, regularly, according to the CVE database.

> Also the C++ standard is 1500 pages long. I prefer to
avoid knowing that as a backend language when I can...

Which includes the libraries that C lacks.

ANSI C + POSIX isn't much shorter than that.
If you're reading a study who's conclusion is 'x is bad' then I question whether you're actually reading any scientific literature to begin with. No scientist in their right mind would try and support an argument so broad.

It sounds like you're just reading some news article's terrible summary of an already terribly summarised abstract.
Will Humans Still Drive in an Autonomous Future?