skysight-inc/HackerNews huggingface dataset:
>I meant how would the error somehow happen more slowly using an STL data structure than in C?

That I don't know. As I said, I was only talking about deallocation of arrays that were not supposed to be deallocated.
Maybe to do with garbage collection. JVM uses generational collectors that depend on the weak generational hypothesis. This hypothesis doesn't hold during start-up as many long lived objects are created in a short period of time.
>> “Humanity is about to face perhaps its greatest challenge ever, which is finding
meaning in life after the end of ‘in the sweat of thy face shalt thou eat
bread’,” he said. “We need to rise to the occasion and meet this challenge.”

In the past that wasn't a problem. I'm thinking of classical Greece where the
majority of the work was done by slaves and free citizens were, well, free, to
better themselves. The result was an unprecedented flourishing of the arts,
science and philosophy and basically the birth of the western civilisation. In
later periods, the Rennaissance, the Industrial era and so on, there was also
great progress in the sciences and also in political philosophy, and this was
achieved by people who didn't have to labour in the fields for a living.

So there should be no question that humanity is indeed able to better itself
once it's relieved by the need to toil everyday to sustain itself.

The real question is: will increased automation really mean a high enough
standard of living for everyone? So far, automation just means that the work
that is done by humans is less fulfilling, rather than more: macjobs, call
centers, warehouse work, retail... hardly intellectually rewarding work.
Instead, that kind of work crushes your spirit and leaves you no time or energy
to pursue your interests and educate yourself or even exercise your body to
improve your health.

I do believe there is cause for concern. My concern is that in the future, the
majority of work will be menial, meaningless, unproductive tasks where the human
worker is just a cog in a huge automated machine of which he or she has no
control. I fear we'll just become a lesser, less well paid kind of mindless
drone, alongside our wonderful machines.

And as to those machines I think the big risk is not that automation will become
better than humans at doing jobs. The real risk is that automation will reach a
mediocre level, even possibly a very low level of competence, but it will be
employed anyway because of its competitive pricing.

In other words, I see it as very plausible that even today's experts will be
slowly replaced by incompetent, inexpert machines that will do the work that
humans do today, for much less money and at a much lower standard.

If we're ever so dumb as to hand over our future to our machines, at least the
ones we have now, the end result will be misery and unhappiness for all.
Dark Thoughts on Ecomodernism
I'm a lot less sure based on this reading than you.

The machine tells the caller that the call will be recorded. The caller stays on the line. Both parties have just consented to have the call recorded. They have not spoken about the disposition of that recording, but they're fully aware that this is no longer a completely private conversation.

As far as I can tell, there's no need for a second consent to have the call recorded on / copied to server 25126B and also server 952C... and so there should also be no need for an additional consent to have the call recorded on the caller's home PC.
Only three of those people have influence over copyright law. And what does it matter if I know their names? Despite the propaganda, one vote doesn't make a difference.

I still vote, but I'm also pretty sure it's a waste of my time. It's one of those game theory things. If everyone got out to vote it would be good, but my individual contribution is unimportant.
They don't really need valid TLS in the first place for localhost.

At least in firefox Mixed content warnings can be bypassed with custom protocols that declare that they're secure for embedding in secure content.
To new neighborhoods, you're right. To existing neighborhoods, you're wrong: the infrastructure is already there. There's no reason to raise rates for people for something that's already paid for. That's like adding a toll to a road that's been there for 50 years; it's just profiteering.

Maintenance is not going to be any higher for lower density; it's not like you see electric utility workers in the suburbs constantly, repairing stuff. And access is more difficult in higher-density housing too: in a suburb, you just drive the truck up to the transformer, but in a large building, it isn't that easy.

As for rural areas, there's a huge difference between urban and rural areas (where houses are miles apart), and urban and suburban areas (where houses are 20 feet apart).
What parts of the EASTL are faster than the normal STL? Does it have better maps?

Edit: From a look at the source it definitely at least has some extra map classes for more specialized uses.
Now, about our wondrous machines and algorithms. This needs a different comment.

>> Selman, a professor at Cornell University, said: “Computers are basically
starting to hear and see the way humans do,” thanks to advances in big data and
“deep learning”.

I'm a student of AI. I'm studying for an MSc in Intelligent Systems at the
University of Sussex in the UK. I come from a classical AI background, with
studies in discrete maths, logic and logic programming in particular. I've
studied machine learning and to a lesser extent neural networks. I'm familiar with deep learning.

This limited knowledge nevertheless gives me the stenght of conviction to say
that, no- the quoted comment is not a good representation of the state of the
art. AI systems are still far from perceiving the world in "the way humans do".

Machine learning is a powerful tool, but it has severe limitations. Deep
learning is certainly not magic and neural networks in general are "just"
optimisation (except we're optimising systems of functions). I really don't see
how any technique that we have at this point in time can be used to produce
machines with anything approaching human levels of competence in the complex
tasks that humans are good at.

Sure, we have machines that can drive cars or play Chess or Go competently.
However, those are very clearly delineated tasks. Chess and Go are games with
well-known rules in a restricted domain. Driving is also a clearly strictly
defined domain - for instance, you won't see Google car driving offroad; my
theory is that if there's no roads or signs to guide it it would not be able to
navigate on its own. I might be wrong on that.

The important thing is that although machine learning algorithms can be trained
on any conceivable task, and the same algorithm can often be trained on a large
variety of tasks, changing tasks requires new training. This training requires
resources that scale, very often exponentially so, with the complexity of the
task. Training a Chess-playing AI requires a lot of data and computational
power. Training a Go-playing AI requires a lot of different data and another
lenghty period of training. For a game where not enough data is available, it
would be difficult to obtain good results from machine learning. Machine
learning itself has not given the best results in competitive AI.

Humans on the other hand excel at generalising from very few examples and can
often pick up a new task with minimal training. For instance, from playing
football to playing basketball, or from playing Magic: the Gathering to playing
Poker. We excel in very different types of tasks: competitive tasks, collaborative tasks, games, survival, commerce, anything you can think of.

I don't see how machine learning will ever be able to accomplish such feats, no
matter how competent individual algorithms can become in specific tasks.
RMS is focused on the four freedoms. Open Source licenses which don't provide those freedoms he considers to be nonfree.
In the extreme case, you can read the source, but all rights are reserved, as you mentioned. Java is the highest profile project that existed this way until it was finally open-sourced. You could read the source, but were not allowed to really do anything with it. As such, it was not only non-free, but also not open source.

https://en.wikipedia.org/wiki/Java_(software_platform)#Licen...
This valentine's day, find your love on HackerEarth
Kazakh.
How many of those congressional races were unopposed because the potential opposition didn't have enough money to make a credible effort?
Attacking Fonds is striking at branches. Attacking the law is striking at roots.

Rootstriking is vastly more efficient.
Have you run any sorts of performance benchmarks on this?

I like async/await a lot, but I'm concerned at how much all of this JS machinery costs in terms of perf, especially compared to writing callback chains.
Someone should append a (2019) to the title.
Well talking about dev xp, I like to follow the Unix tradition, where one can make many tools, and run them from the commandline, combine them in scripts, etc. But obviously this only works if startup is on the order of milliseconds, not seconds. NodeJS lets us do this, so I was wondering why not Clojure/Java.

Anyway, I'm still curious how much faster running an AOT compiler on Clojure would be.
Scientists develop new app that uses your cellphone to detect earthquakes
github allows more than one private under paid plans..seems that author makes attempt at comparing apples to oranges
'The Great Reset': VCs and startups have shifted from greed to fear
Heh,
Things I've heard about recently in Toronto new-build condos:

1) Mailboxes are in the basement, so you can't check on your way in.

2) Each unit having a loud spaceship/heat pump instead of one central one. Heat pump is leased, not owned by the unit, so you're paying $45/month in perpetuity. Maintenance not included.

3) Submetering of electricity, where a quarter to half of your bill is in the delivery charge from a random power company (times x units of the building, instead of one for the whole building and incl. it in condo fees)

4) New condo board isn't allowed to fix/improve various promised things until the builder fixes it. Builder waits for it to time-out for 3 years and then the Board has to arbitrate/mediate it with the Builder. Meanwhile, condo board can't touch it.

5) Builders signing exclusive contracts with telecoms, so you can't get service from anyone else.

6) Locks not keyed right, so residents' keys can open mechanical rooms/rooftop access

7) Gym on the second floor, so residents below feel like they're living in a bowling alley
Because the person who has owned the house a long time doesn't have higher income to make up for it, they're likely a retired person on a fixed income.

Since you want them to move out so bad, why don't you have the government pay them to move out? I never see these local governments offer to pony up $10k or so for the moving expenses for people priced out of their houses to move out. These people bought a house in a town thinking it'd be a good place to settle down, not that they'd be forced out of their house in a decade or two. It's really no better than forced relocation, which is a form of genocide.
If you are interested in the future of Lisp in the context of browsers or Nodejs, take a look at this: http://lispblog.xach.com/post/138667931963/lisp-and-webassem...
I don't know about speed, most of the modules where speed matters, like Numpy, rely on calling C routines somewhere down the line. The version of Python shouldn't make a significant difference.

Numpy, Scipy and Pandas work with Python 3, Jupyter certainly does. That covers probably 80% of scientific grunt work. For specialist applications, OpenCV 3.0 works, as does scikit-learn/image. I can't speak for other development like web though.

I think the main problem is that if you're using someone else's code in academia, it's likely to be written in 2.7 and you would have to go through and update everything that's not back-compatible.
This isn't Reddit, and I for one don't want you posting this here under the guise of "saving time". It's judgemental, condescending and attempts to remove choice from us making our own determinations about the value and interest of the story.

tl;dr; go away.
A long time ago (even before Aaron Swartz), when I was still familiar with the active and rapidly growing filesharing community of the time, I vaguely remember reading about an effort by some of the "ebookers" to plant proxies in various universities' networks that would perform much the same function. I wonder what eventually became of it besides the large paper torrents that appeared, but I wouldn't be surprised if SciHub was related to that in some way. Back then, systems were far more open (as opposed to secured), and something like that was easier than it is today.
> During startup you're loading classes, allocating structures, and verifying byte code.

Also executing static code. A surprisingly large amount of code runs before you get to main().
Software development is commoditised. Or at least a lot is. Static web sites, simple mobiles apps, etc. Some individuals or organizations build them over and over with regularity.
Great initiative. I already got some interesting approaches around a ReactJS problem.
I think it's a 1% explanatory effect of the total variance. That means that 1% of the variance in the population (not the size of the effect) is explainable by this factor.

(Also, the base rate of depression is far more than 1%, see e.g. http://tech.mit.edu/V120/N3/dep1.3n.html - it's around 17% for just a major depressive episode.)
It is absolutely mind blowing to me that you can purchase that amount of storage with 20% to spare for around $500 these days. 12TB, $498 : http://www.amazon.com/Red-Desktop-Hard-Disk-Drive/dp/B00LO3K...
I have to admit, I like long files. Arc's compiler is all in one file (https://github.com/arclanguage/anarki/blob/master/ac.scm) and it was a big influence on me. It was just so great to be able to have it open on one side while I wrote programs in Arc.

You're right that there are points beyond which a single file becomes too unwieldy, but with a good editor that limit is quite high for me. Maybe 10k LoC. Directories can grow even larger before they start having problems.
It's not a coincidence! I study Computer Science at Utrecht University and work at GitLab, so https://git.science.uu.nl only made sense :)

A little bit of stalking shows me we're actually in a class together, see you on Monday ;)
> As far as I remember, Chrome has used the STL earlier. But I looked now and I see this:

The WTF (Web Template Framework) is actually inherited from WebKit and used in the core rendering engine. I'm not sure how widely it's used in the Google parts of Chromium.

> Gecko also seem to have a lot of custom stuff

That's the old XPCOM stuff. While those string types continue to get a lot of use, the closest analogue to the STL is MFBT: https://github.com/mozilla/gecko-dev/tree/master/mfbt
Ask HN: What is the most powerful programming language and why?
Yes, they do rise spontaneously. There are not more people living and working in the area: the prices of the existing houses have risen, just because of speculation and flipping. It's not like there's more people getting packed into these houses (for the most part).

You only get more people living and working in the area if you build more houses. If you do that, then of course you're going to have more property tax, even if the existing house values don't change at all. New houses = new property taxes. That's how you pay for the extra policing, not by soaking the existing residents.
I think you have a bunch of confusion here, and it's not at all clear what you're trying to do.
No, it doesn't, actually.

The police can get their money from the property tax for any new residents who have built new houses.

If there's no new houses, then there's no net increase in population, and there's no need for more police, or more police buildings.
Top things developers love to hate
Donald Knuth is probably swimming in joy right now. This so literate programming (or should I say literate research)...
It's not. He made an agreement, and bailed on it later, for no other reason than that he didn't like the agreement he had made. Doesn't matter what the numbers are.
This foundation - http://www.annefrank.ch/ owns the copyright. It's meant for charity, but I don't think they realizes they are doing more damage by holding the copyright than whatever good the foundation is doing.
I found the explanation of the technical challenges well done and worth the time.
Thanks for this information.

My point was more that map and reduce do not inherently require a recursive implementation and can be implemented directly as loops.

I don't follow closely TypeScript: is tail-call merging done when compiling to Javascript or is the Javascript runtime responsible for this behavior?
I second the recommendation for Michael Hartl's Ruby on Rails tutorial, https://www.railstutorial.org/book

You can learn enough on Michael's website http://www.learnenough.com/
They should really be switching over to SparkJava - here's a quick article from Twilio on how to build a webapp in Java in 10 lines using Java 8 and no xml (hint: use gradle) https://www.twilio.com/blog/2015/09/getting-started-with-gra...
OpenPGP.js v2.0.0 released
Awesome browser extensions for GitHub
It's at least a useful service to pull all of the good points regarding the validity of the statistics and what they really say into one place and drop the outrage.

As seems typical with this sort of study, it's easy to reinterpret and cherry-pick things to say that it proves whatever you want it to say, but it seems that it doesn't really say much of anything conclusively.
For future reference, just click on the timestamp of the comment, then the "flag" link. Don't feed the trolls.

(Happy to delete this comment if you delete yours).
I haven't. It probably mostly depends on the JS engine and Promise implementation.

That said, it might be a good idea to hand-optimize that single hot loop, typing the Promise chain out yourself, or even using callbacks directly. It's impossible to beat that using an automated solution like this.
"We're all consenting adults here" or at least that's what I like to believe...

So yeah, props for the effort, but I don't see it being actually used.
It's not entitlement, it's gauging what's your bargaining position versus what the other side tries to convince you it is.

Obviously both a business person and an engineer will have value in a venture. There's nothing wrong with both types negotiating and asking for their fair share.
> After you have spent enough time in the first tier of the intellectual strip mine, we will make you an SDE 2, where you can do slightly higher level refactoring for $150k a year, which will make the giant company $5 million. This is what is called an arbitrage.

I've been a programmer my entire career, and so my interests align with this ideology, but quite frankly it is offensive to call junior software dev work an "intellectual strip mine", and to assume a priori that your salary will return 10-20x multiples in value to the company.

The reality is that it is highly non-trivial to derive economic value from programming. You have to be able to sell something in significant volumes. That is the value the company is bringing to the software engineer. How much value any particular employee brings to the organization is impossible to calculate. Certainly the engineers will bring efficiencies that are impossible to get any other way, and perhaps they enable the entire business. But you can say the same about the sales people, the biz people, the product people; even the much-maligned marketing people may be essential to keep the revenue flowing.

There's a huge bias in any industry to overvalue your own work over that of other disciplines, simply because by definition you know more about it than what those other departments do. There's something I find really off-putting about a lot of abstract whining about how underpaid developers are. Sure, some are underpaid, also some are overpaid NNPPs, but as a whole we are doing way better than the vast majority of careers in the world right now.

All this is not by way of saying you should be satisfied with what you're given, but rather that you should pull your head out of the sand and recognize how the world works: you don't get paid what you deserve, you get paid what you negotiate. And negotiation is a skill you have to learn. If you don't want to learn anything about business and you just want to write code, then you should expect to be taken advantage of. If you want to capture more value you create, the first step is defining that value, and you can't do that unless you understand the business. From there you can have honest conversations with your employer on more equal footing, and decide to either stay or leave. This business knowledge will also enable you to start your own company with a much greater chance of success than the majority of startups with purely technical founders who start with a build-it-and-they-will-come mentality.
no, it's all diked appropriately for the most part. Of course some would like the diking to be improved as there has been some minor flooding every 20 years or so. But that flooding is typically limited to the lowest areas which are almost always agricultural land. It would be a huge stretch to say the area is prone to flooding.
The point was that if you can't answer, many others can't either. And all of their votes can make a difference.

Even the people who turn out for Presidential elections (when their votes arguably make the least difference) usually don't know enough and their legislative representatives to make an informed decision, and tend not to show up for the off-year elections when it's only those offices up.
Show HN: NBA Games Played vs. Games Above .500(source in Comments)
One error in that write-up: SourceForge is open source, not proprietary. It's an open source project called Allura under the auspices of Apache that has paid coders at SourceForge contributing to it.
>If you need to grow or shrink it use a vector.

Thank you for the advise but what if I want to shrink one array that takes 200 MB of memory by 10MB and give it to another array that takes 50 MB of memory on a system with only 256 MB of memory?

> If you need different types of memory or aligned memory, make an allocator and use that.

std::array does not have allocators.

>I'm not exactly sure why you think these things aren't achievable in C++

I have no idea why you think so. I only used C++, assembly and various shader languages in every game I worked on. I did some C in drivers but I don't think it's a good language for games.
I haven't been posting here long, so I wasn't sure if it was acceptable to type 'fuck.' So I self-censored by replacing it with asterisks, which hackernews promptly ate. So yes, you are right of course.
source: https://github.com/cmpolis/nba-seasons-vis
There's also LiquidFeedback [1] maintained by the Public Software Group of Berlin, difficult to judge how actively developed it is since they use their own Mercurial hosting [2].

It is a bit confusing, adhocracy is maintained by Liquid Democracy B.V. in Berlin, but then there is LiquidFeedback maintained by the Public Software Group of Berlin...

[1] http://liquidfeedback.org/

[2] http://www.public-software-group.org/mercurial
I bet it took a lot of hard work not to name Trump there.
He should have realized it before he made the deal and negotiated a better one for him. Also, he almost certainly bailed on this deal without having an alternative lined up, so all he did was destroy momentum.

I've been in this situation before, and bailed before any real work got done. That's when you need to realize these things, not after you get funding.
It's amazing that retaliations following this initiative would make it close to impossible to do for anyone in the United States. Kudos to her.