skysight-inc/HackerNews huggingface dataset:
There are many thing he didn't intend from the outset, so that by itself isn't so significant. Some other things he didn't intend were the type/class dichotomy and the inability to raise an exception from comparison. Two changes that come from external users include David Ascher's rich comparisons and Samuele Pedroni's proposal to use the C3 method resolution order.

Van Rossum's preference for loops over map dates to at least 1994, which you can see in http://legacy.python.org/search/hypermail/python-1994q2/0705... :

> "Steven Majewski might not agree with me, but in Python you are better
off using "for" loops (the overhead of calling a function for each
element is quite substantial)."

You can see that's still true with CPython:

% python -mtimeit -c 'x=range(100)' 'd=[]' 'for a in x: d.append(a*a)'
10000 loops, best of 3: 22.1 usec per loop
% python -mtimeit -c 'x=range(100)' 'map(lambda a: a*a, x)'
100000 loops, best of 3: 18.2 usec per loop
% python -mtimeit -c 'x=range(100)' 'd=[];ADD=d.append' 'for a in x: ADD(a*a)'
100000 loops, best of 3: 12.7 usec per loop
% python -mtimeit -c 'x=range(100)' '[a*a for a in x]'
100000 loops, best of 3: 9.91 usec per loop

FWIW, Python has made at least one language change in order to improve performance. In Python 1.x the following was possible:

def f(x):
from math import *
return cos(x*sin(x))

Python 1 used a dictionary for locals, while Python 2 introduced a pre-allocated array of variables for locals so lookup could be done via a simple index offset.

In the same email, van Rossum writes:

> "To be honest, I wish I hadn't introduced lambda, map, filter and reduce -- they support a style that is inconsistent with the rest of Python. Unfortunately, in the sake of backward compatibility, I can't take them out. So enjoy them if you have to. But don't get too thrilled!"

That same email also says:

> Ah, the infamous "first class objects" argument again. Really, I don't understand all the fuzz about lambda, and I don't see why its introduction made functions any more first class than they already were in Python. They are entirely syntactic sugar for local function definitions. Everything you can do with lambda you could always do with local functions, at the cost of one local temporary identifier -- surely no big deal!

This is interesting because you mentioned "initial accident of first-class functions". Why do you think first-class objects are an "initial accident", and not a deliberate decision?
> I urge everyone in power regarding this issue to think this through --
and then, make your simple compiler which we can build into a trusted
component FREE, or, if you don't, sometime in the next few years
something else which is simple and matches it in power, can and might
and probably will show up (because it is clear the gnu bloat compiler
will never achieve such a goal...)

Looks like Theo correctly predicted the advent of clang.

Related: http://www.quora.com/Compilers/Why-did-Apple-create-Clang
It always struck me as a reaction against Perl's "Tim Toady" approach, encouraging a more idiomatic and unified programming strategy to ease comprehension and teaching (IIRC the origin of Python, or at least ABC).
This is a great idea!

Here is their official product demo:

https://www.youtube.com/watch?v=N-3Mw4Ilvl4
Jeff Bezos undoubtedly had nothing to do with this op-ed. He's a busy guy with Amazon, and has made it clear that he will stay out of the editorial decision-making at the post.

In addition, the authors of this piece are not folks who Bezos could push around even if he wanted to. The only way they would write this piece is because they wanted to.

Politically, this piece is a big deal. These are "national security establishment" type folks, directly disagreeing with their successors in government today.
Please stop. You're getting your panopticon all mixed up in my internet.
Ask HN: What business would you start, given $100K?
When I started learning Python, I always used map and filter because they were just how I thought about problems. But there is a certain bit of elegance to being able to write

[process(child) for child in node if child is not None]

in lieu of

map(process, filter(notNone, child))

The functional style makes better use of conceptual primitives, but the imperative style is generally better for documenting.

for child in node:
if child is not none: # Comment explaining decision.
process(child) # Comment explaining more stuff.
I think this is more an article about garbage collecting vm's, namely the JVM, than it is about java, the language.

The JVM is being used in Mt. Everest-sized workloads. Object pooling is a useful tool when architecting something huge and performance sensitive.
Python is "less of a problem" but you still may hit that wall. You can do "stupid stuff" in any language and have that same outcome, php just gives more rope than the rest!

Recently, on a short term contract, I had to deal with a lot of PHP code that was running in a similar manner. I ended up using golang, to monitor the queue and spin up Goroutines that executed the PHP code ONCE. Between the concurrency, and php back in "one and done" mode the problem was "solved" and the internal team happily took over finishing the porting to pure Golang. Its a great example of Go "in the small" and it really does shine.

Go "in the large" is a whole other matter. You should read the following (in this order)

http://thenewstack.io/a-survey-of-5-go-web-frameworks/ <<< Im a user of gorilla/mux gorilla/context and alice for middleware chains. Gorilla/context and alice are not mentioned by this article, but the lament a the end about the concept of context being lacking in golang is spot on.

https://blog.golang.org/context <<< but this would be better for context however its does not mix with the current HTTP server (no ones solution does)... its from the go team but there isn't a lot of indication on how to use it and be future proof

https://joeshaw.org/net-context-and-http-handler/ <<< explains the context package well

https://github.com/remind101/pkg <<< has wrappers for getting net/context into gorilla and alice..

The end result is non of the GO web support is what I would call "great" yet. However it isn't stopping me from building with them. Look at the tradeoffs your going to have to make, be smart about how you couple your business logic to your server/framework, as your framework will quickly become a hard dependency. If your careful in that implementation, this http://blog.golang.org/introducing-gofix might be a way to back out one of those dependency if your unhappy.

The tooling to help you root out an issues exists and you should know its there and how to use it:
http://blog.golang.org/profiling-go-programs
http://saml.rilspace.org/profiling-and-creating-call-graphs-...
https://deferpanic.com/blog/compile-time-code-weaving-in-go/
For IP, Microsoft got more than just a license; it got "rights equivalent to ownership."

http://allthingsd.com/20130904/from-can-we-talk-to-a-coffee-...
Not so moot no - what about the devices sold? What about security updates then?
Not sure what you mean by "how coherent the R, G, and B are with each other". They are not coherent, since they have different frequencies.
Hyper on Mac OS X: an alternative to boot2docker
SJWs are tilting at windmills. Except the windmills in this case are actual people.

The term "rebel without a cause" comes to mind. Except this time around it's borrowing a jargon that makes it sound legitimate enough to infiltrate everything.

The word they are looking for isn't "diversity", it's "gleichschaltung". For all their supposed grasp of academia, they're not very good at establishing cause and effect before getting their pitchforks ready.
Actually supercontinuum lasers are not a recombination of different (incoherent) lasers but rather a 'processed' output from a single laser. You start with a high peak power laser pulse (e.g. a femtosecond mode locked oscillator) and excite a highly nonlinear process that generates new frequencies (e.g. using a special kind of optical fiber), and at the output you have a continuous broad spectrum. What happens in the fiber is actually similar to sea waves arriving on the beach - a very long and well beahaved wave steepens in the leading edge (which means new frequencies were generated) and eventually breaks/collapses into many small waves of much shorter period.
The laser in this article is probably 100x or even more cheaper than a setup like this, but also does not have the full coherence supercontinuum sources have, so it will be used for different things.

A picture of the output of a fully coherent white light laser spanning from the uv to ir: http://www.laserfocusworld.com/articles/2011/09/sub-femtosec...

For more cool physics related to this read about frequency combs, which are (most of the time) frequency stabilized supercontinuum lasers.
I really enjoy Breeze[0] at work. It's similar in concept to Trello, but aimed far more at project management and development. They just released a Gantt chart app that integrates with it, which is making some managers here really happy, heh.

[0] https://breeze.pm
Or just another example of https://en.wikipedia.org/wiki/Regulatory_capture.
Any CTO signing off on $37,500USD a year for 150 developers, when you can get unlimited developers on Bitbucket for $2,400, probably needs to be fired.
SpaceShipTwo crash: human error that could be avoided
Education Technology Deals Reach $1.6B in First Half of 2015
To me it sounds like it combines the disadvantages of video calls (the attention required, transparency - no lying about your whereabouts, the intrusiveness - no video call at the office because you might reveal something confidential...) with the disadvantages of texting (typing is more difficult than speaking and it's a more difficult way to convey ideas and emotions).
I'm a product manager for Stash, and was curious about your expected Stash/JIRA workflow. Why would a reviewer be assigned to the JIRA ticket? They're assigned to the pull request for the issue that the author is assigned to (who did the work). Are you wanting to have a JIRA-only view of work that needs doing, including review?
Ai powered auto negotiation app Google now for telemarketers
a application to assist sales agents/ service agents in call centers with ai powered best responses. Is this possible with todays existing technology and financially feasible as a start up?
HP has HP ALM and IBM has Rational. HP also uses CollabNet TeamForge for source control in some groups.
Ask HN: Choosing the best software to help build software
We are a 3 member team working on an Android, iOS, Windows Phone App, with a Python (Major) / PHP (Minor) backend and with PostgreSQL DB(Major) + Mongo DB (Minor) Components.

We are currently using GitLab as our Repo, and Digital Ocean as our hosting provider

What should we do about the following:
1.) Whats the best Bug tracking + idea board + task platform? We are debating between Asana and Phabricator
2.) We will likely need a CI as well, We have no clue about what to use, everything seems really expensive.
3.) Should we change our hosting and repository provider?

Anyway, we are trying to get something that will balance cost and ease of setup & use. Thanks for the help
What business, or what tech/software business?

Software wise, I'd probably look into developing something that helps with localization management. The tools around for managing various translations of copy, images, and so on for websites at the moment are pretty terrible. Maybe one of the reasons a lot of sites are available only in one language.

A simple way to on-board a team of translators and let them manage revisions of copy, manage different variations of copy (for example singular and plural, 1 comment, 2 comments. One minute, two minutes). Then there are more complicated things like functions where you need to say something like "You have just purchased $x apples". This all needs to be wrapped in a simple UI, and then an API/export function that can export this to the WIDE range of formats people use for translation (XLIFF, po, etc to name a few).

In addition to selling the actual software, you can also sell approved translations. You offer to translate their content into another language, with accuracy, for a fee with a reasonable turnaround.
Ask HN: Leaving School Without a Degree?
I mentioned to a friend last night that the idea of leaving school early had crossed my mind. As a computer science student, in tahis hypothetical scenario, I would

(A) Continue taking and complete all relevant coursework- CS, Math, Texhnical Electives, etc, and ignore the classes I consider irrelevant- GE's for example. I suppose this would mean entering the job market early, without a degree, but with all the relevant coursework that the degree entails.

or

(B) The same as A, except replace the GE's with relevant technical electives. I'd wnter the job market at the same time as my peers, but having taken a couple more relevanr classes. Though, again, without my degree.

I think about hypotheticals all the time, and Don't have a problem just getting the degree as planned, but I want to hear some critique first. I'd like to make clear I am not a dropout glorifier, and I am not doing this to build a startup. Please answer with the job market in mind, not me starting a company.
China sets up first unmanned factory entirely operated by robots
Online Retail Analytics Courses Training
Uber Tests a New Car Leasing Program
Tracy McGrady’s Full Playoffs Highlights as Orlando Magic
Which 2015 technologies were correctly predicted by Back to the Future II?
If this valuation is based on the "future potential" of GitHub, I would keep track of GitHub's data ownership policy. I wouldn't be surprised if all of a sudden GitHub decides it owns the commercial rights to all code hosted on GitHub, at least for the free plan ;)
How to Present at an Interview – And Get the Job
Tk developers have long agreed with you, because it really is easier to say

Button(frame, text="abc",
command=lambda: self.highlight("abc"))

than to make a function for each command.

The loose consensus in Python is that lambdas are best when they fit on a line, which is what the examples at http://www.mccarroll.net/blog/pyspark2/index.html do. Otherwise, make a named function.

I think arguments like this are one of the main reasons why van Rossum has kept lambda in the language.
I apologize for the typos, I'm on my phone.
Absolutely this. Sponsorship information completely changes the picture.
FWiW you can have 3 or even more frequencies in a laser beam coherent with each other, i.e. where te phase of the waves is locked together. This allows you to interfere the waveforms of the different lasers in time, as their relative phases are locked. This is very hard to do with continuous wave lasers, but rather routine with short pulsed lasers (e.g. femtosecond).
Are you sure?

The price of the Github's service is ~$20.8 per developer per month. This is about 10-30 minutes of developers time worth per month. Adapting to Bitbucket's workflow and learning its UI would take much more time.
Love how simple and solid this project is. You can use it to do a ton of new things in Node.
Been following Hyper. Absolutely love this!
5 Tips for Mobile Ecommerce App Design
"Python given its rich library set helping you secure your api's end points. Doing same in go is pretty convoluted with more lines of code"

Is there any way you can elaborate on your experience that brought you to this conclusion?

I am rather curious, as Go has the same middleware concept that django has to add in security, session, and token information to an http call.
Dungeon Rampage Hack Tool No Survey
I see you have not had much experience with large companies; $37k is nothing there are line managers who can sign off on amounts larger than this :-)
At least nothing with Mongo that hasn't completely imploded into a raging inferno at some point in the project's lifetime. I have never heard of a project using MongoDB that didn't at some point sting the developers with some pain points and make people wish they'd never used it in the first place. I really, really wish it wasn't the case, because I like a lot of MongoDB's design ideas, but from a production standpoint, it's crap.
> You don't consider AIXI part of the actual AI research community?

I just briefly tried to read up on AIXI. The concept is ...not without merit, but I think it totally sweeps the central problem (We have no idea how to program an AI) under the rug in two ways:

(1) The problem of programming ...programming anything at all, is swept under the rug by assuming a formalism in which every possible algorithm/program can be enumerated, and then just using brute force to go through, essentially search though all the character strings that represent implementations of any kind of algorithms, however bad they might be.

(2) The problem of trying to decide what we actually should want to do in complex situations is swept under the rug by just assuming that we have access to a reward function that tells the desirability of each outcome at each step.

So if this kind of helpful assumptions are allowed, the problem of, say, constructing a good chess program can be easily solved by the following meta-algorithm:

1. List all chess programs
2. Choose the best one

There, problem solved!
Really none of that is correct.

Firstly it's not at all equivalent to an AM radio. It is an AM modulated carrier but that's about it. The detection scheme direct detection and not coherent like in an AM radio.

Also your power spectral density would be fairly low as your AM modulation would be distributed over a huge wavelength range. So taking a narrow slice with a tunable optical filter (which aren't that narrow really) would mean the detector would see a very small signal indeed.

Given that it's so broadband, my guess is that it's probably not low intensity noise at all (modern communications lasers are ~-140dB/Hz) and thus wouldn't make a great direct detection OOK source. So this would limit ultimately the sensitivity of such an AM modulated system. Being so broadband means that it's not at all suitable for phase modulated signal because by definition it would have high phase noise. Overall the spectral efficiency of such a source as a communications device is abysmal.

Additionally the silicon detectors that are needed to convert the light signal back into an electrical signal have low responsivity and speed. So the poor detector speed places an upper bound on the supportable BW and poor Si responsivity places a limit on the overall sensitivity of the system.

It's much, much more efficient to use IR sources all the way around. Materials in the IR are really efficient for both light generation and detection. There are lots of other reasons why IR is better for free-space communications as well (less scattering and higher material transparencies generally).

No a white laser is good for other reasons. There are lots of places where we still use things like Xenon lamps for measurement of things.
Angular 2 seed project
Thank you! We have received a lot of encouraging messages, comments and contribution since our first release, and it is really helping us on working even harder ;-)
Only works in the US of A.
I've been looking for something like this forever! I loved AutoIt v3 on Windows, and osascript always felt super crippled in comparison (as well as impossible to look up documentation for). I've long since forgotten what I wanted to use this for, but I'll be sure to remember this for later!
> GC is essentially never an advantage for low latency

I can't really agree with that statement. One way to get to lower latency is to avoid using locks and rely on lock free algorithms.

Many of those are much easier to implement if you can rely on a GC, because the GC solves the problem that you can have objects that are still referenced in some thread, but that aren't reachable from the lock-free datastructure anymore. There are ways around this, e.g. using RCU or hazard pointers, but mostly it's easier with a GC.
In my experience, localization is best done by referencing to indices in a key-value 'database'. So instead of saying "You have just purchased $x apples", you say $translate.instant('purchasedApples') (angular example), which references to en_US.json, which returns the English translation.
How two Aussies made the next Apple
I thought they already raised enough money to never need to raise again?
The point is that it is a standard, critical work tool.
In Java8, escape analysis usually catches most of the objects that can be moved to the stack, and they don't touch the heap anyway.

https://en.wikipedia.org/wiki/Escape_analysis
http://www.burnison.ca/articles/escape-analysis-stack-alloca...

It would be nice to be able to control it though. (value objects?)
I know! Was thinking about this sort of thing and then ran into the pjt about a week later.
FWIW most of the other high-payed jobs have some kind of entrance barrier too, usually in the form of having absolved a Univerity-level course and passed the exams.

Anybody can legally claim to be a programmer, so it makes sense for the companies to do some basic checking that a University would have done for them in other cases.
I will 2nd that native logging in GO is awful (and most of the packages for logging are pretty bad too). For me logging was missing basic levels, and any sort of contextual capability.

I would like to know what issues you had with it, as I'm in the middle of building out my own replacement logging package
Why are almost all impact craters perfectly circular?
So is "idiot" as bad as "retard" then? What about "imbecile"? What about "moron"? And what about "cretin"?

If "medical description of a person with mental disabilities" was a sufficient criterion, all of these would be equally inappropriate (even in an informal / vulgar context). But even tumblr will find it hard to get outraged about the use of the word "cretin" (outside the use as a direct slur against someone with mental disabilities).

Context is important and context is not just about the original meaning and use of a word but also time. We generally find archaic insults humorous -- this isn't because the phrases were harmless at the time they were in widespread use but because they haven't been in widespread use (in their original meaning) for a significant amount of time.

The problem with "retard" isn't merely its historical usage. The problem is that that historical usage is fairly recent.
> The Moorcocks now divide their time between Paris and Austin, Texas,

It's alway good to know where people talking about fascism actually live - it gives a sense of perspective about their opinions (jodhpurs: nasty and evil / state run by nutcase defending dildo bans and religious commandments in front of state capitol: totally ok).

> “In Tolkien, everyone’s in their place and happy to be there. We go there and back, to where we started. There’s no escape, nothing will ever change and nobody will ever break out of this well-­ordered world.”

Has he even read the books? Nothing changes? I'll give him that the manichean world Tolkien created is certainly somewhat uncomfortable to anyone with a worldview that includes shades of gray (although I don't think that the Lord of the Rings and the Hobbit are as black and white as they are made out to be) - but calling someone a crypto-fascist is really harsh.

> Science fiction/fantasy author Michael Moorcock has suggested that the Gor novels should be placed on the top shelves of bookstores, saying, "I’m not for censorship but I am for strategies which marginalize stuff that works to objectify women and suggests women enjoy being beaten."

I want to hear him on Fifty Shades of Grey...
The problem isn't due diligence requirements. It's that you have to do it 47-48 separate times at a cost of $2-$20 million in such a manner that no one is actually protected anyway.
It sounds great and much more protective than passwords. You can't copy/imitate behaviors.
However, I am wondering if the system still works if you are tired or sick. Your behavior might change in this case and therefore the system would not recognise you.