skysight-inc/HackerNews huggingface dataset:
There's a difference between typed and statically typed. Python is a strongly typed language, but it is dynamic.

> bad developing experience, code needs more debugging, it is harder to maintain and overall productivity is lower

All of these observations are highly subjective.

> Developing experience:

I much prefer developing in python than java. If IDEs factor in, there are a number available for python, none of which I use, because I find a simple editor is usually enough.

> code needs more debugging

That's a function of the problem and the developer. The run, check, edit cycle in python is a lot quicker than using your IDE to run, check, edit, compile. There are debuggers available for nearly every language that allow you to step and inspect.

> harder to maintain

Disagree. When you have code 1/5th (number pulled from my ass) the size codebase, maintainability can be much better. Unit testing helps, regardless of the language.

> productivity

A developer proficient in language [X] should be just as productive as a different developer proficient in language [Y]. Creating a massive type hierarchy of classes and interfaces is a tonne of overhead when you are trying to express a simple idea. In a language like python, you might write a simple class (or two), and use dynamic typing appropriately. A java developer may use code generation and IDE shortcuts to lessen the amount of total code they have to write though.

The advantages and disadvantages of dynamic and statically typed languages are fairly well known. Neither is perfect all the time and for each person. Just because you don't like dynamic languages, it does not mean they don't have their virtues.
mfs or tmpfs, and multilog

Also, I like to dd the OS to the card as an image (1 write). I have no desire to untar 100's or 1000's of files (100's or 1000's of writes) to install an OS on a card.
I'm going to be a little pedantic here: the trick of using a PRF (hashing with a secret) to obtain the DSA nonce was not invented by Dan Bernstein. In the Ed25519 paper it's attributed to George Barwood and John Wigley in 1997. Also published in [2] around the same time.

[1] http://ed25519.cr.yp.to/ed25519-20110926.pdf

[2] http://www.di.ens.fr/~pointche/Documents/Papers/1998_sac.pdf
موعد مباراه الاهلى واورلاندو بيراتس الاياب والقنوات الناقله لها مباشره
At my old job I made the mail server's spamassassin globally trash ALL emails from Linkedin, no matter the content.

Nobody ever complained, which kinda goes to show exactly how spammy LI is.
Didn't read, too many popovers.
> Of course it is a science, but most critics of it should remember that it is a social science, and comes with all of the difficulty of proof that all social sciences suffer from.

This argues that science is sort of an ice cream store with dozens of flavors. But in the science store, there's just one flavor. Its ingredients are evidence and falsifiability. Either you can test an idea against reality unambiguously, and potentially falsify it, or you cannot. Fields that cannot produce unambiguous falsifications, and that won't discard failed theories, are not sciences. On that basis, economics is not a science.

Proving a theory true is not in science's purview -- nothing is every proven true once and for all, and all ideas are perpetually open to falsification in the face of new evidence. But the ability to prove a theory false is a must. No falsifiability, no science.

"No amount of observations of white swans can allow the inference that all swans are white, but the observation of a single black swan is sufficient to refute that conclusion." -- David Hume

http://xkcd.com/435/
Cross-Platform Malware: Write Once, Infect Everywhere
Straw man argument unless you're a woman.
That is already done with pyjnius. The missing part is providing more pythonic and more productive ways of using it. Currently it is extremely awkward...

My guess is that someone will write a pythonic UI framework based on the Android API...
The worst offender for all time has to be Oracle.

Outside of '01-JAN-1999', I am forever Googling "TO_DATE Oracle" because the string formats for precision time stamps always turn out to be counter-intuitive, and the exact opposite of what I expect.

Like:

TO_DATE('01-JAN-1999 23:59:59', 'DD-MON-YYYY HH24:MI:SS')

God damn you, Oracle!
"to deploy that force against rapid devaluation of their currency"

This statemetn is rubbish. If the USD were to rapidly devaluate, military force would be USELESS to protect its value. It is the Fed, through its policy, that can help influence deflation. But even then, its influence is limited.
Basically, have you ever stopped using software because it asked to install the Ask! toolbar by default in the installer?

I mean goddamn Java from Oracle does this, and it leaves a bad taste in my mouth. It's all those little rejections which slowly wear you down, because it feels like you have to be constantly vigilant.
An MBA is a degree. What you're talking about comes with experience. The traditional way of doing it is to hire a programmer who's spent some time in management - they have the experience, and they can also understand the domain.
Almost all of these projects are the result of the size and scale of Facebook not the nature of the problem they are solving or their core business.

The nature of Facebook (or Twitter, LinkedIn, Snapchat) is a simple CRUD application that many people are capable of writing. The additional complexity is mostly due to the size of their user base.
Colored solar glass both pretty and powerful
> This is just highly manipulative PR speak.

The only part of the first section that wasn't "here's what happened" and "we're sorry, it was wrong" was detailing how generously they use their mark. I'm not trying to condescend, but just like patents and employment law, I think trademarks aren't as simple of an issue as they'd seem. I believe (with my layman understanding) that, in fact, the onus really is on the bearer of the mark to defend it. I think it was a tagline mentioned in the Wired article that spurred my interest (but -- surprise -- can't find it anymore), but that was a detail that I was interested in knowing. I think that's pretty impressive.

> Second there's the ludicrous analogy between the a bug in the code and the incident. A bug in code, no matter how bad, doesn't compare to an act of aggression aimed at a specific party. The internet did not overreact, it was Canonical that acted with disproportionate aggression. Shuttleworth fails to recognize that and still tries to cover it up by accusing his critics of being unreasonable.

This is an extreme reaction. I don't see a notice of misuse of a trademark as an act of agression, rather business in the globalized world. Is it possible forcible purging is Canonical's M.O. and it's just bad luck that they got caught this time? I guess so, but hey -- that's what the courts are for, right?
Sounds like you have a MBA.
Perhaps the mechanism could be systemic societal assumptions of black individuals being likely criminals, and therefore reduces to the social stigma of pursuing criminal activity (since the individual already has been prejudged).

Or something else. More importantly, what are we supposed to do with this alleged discovery. I can't say I like the possible "solutions"....
Chania is a great city to live.
> Biology, yes. Either DNA is the source of heredity or it isn't.

As always, it's more complicated than that. But you can definitely test (and confirm) for DNA being a part of it.

But that's one part of biology, confined to planet Earth, and we're not sure it's the whole story.

Yes, it is proven, according to science rules that, (for all biological entities known) DNA (and RNA) conveys hereditary information.

But biological proofs are weaker than physics proofs. "Oh, you proved humans have this thing called blood cells and they're round?" Until you find people with congenital Anemia, and look, their blood cells are not round, because this makes them immune to Malaria. So it's not possible to generalize as much.

In Physics I am confident that the electrons (and chemical elements) in my computer are 100% indistinguishable from the ones in the Sun (albeit in different quantities and temperature of course)

And speaking about physics, light was a wave and this had been tested and verified multiple times. Until it wasn't.
Just start to write code. Alot.
Last year, a record 41 percent of Harvard’s 2008 graduate M.B.A. class went into market sensitive positions — a major “sell” signal.

And that signal was wrong. If you looked at this last year and sold, you would have missed out on a 20% rise in stock prices. So, another indicator that goes in the "big maybe" pile.
No, it is not. Nor it should be.

Economist call their discipline "social science" basically because they suffer from "science envy". They want to believe that there are simple things like "water molecule is the bonding of two hydrogen atoms and one oxygen". But in economy they are not, as economy is about the most flexible thing on Earth, humans and the relationship between them.

Economy is about dogma, there are Keynesians dogma followers(that look like never read a book of Keynes), Austrian dogma followers, and so on. Nothing to do with science but with power grabbing. Today all institutions are dominated by keynesians ands as everybody can see they are making the world a worse place.
Not really ontopic but: Has anyone checked on the owner? Hes a MD, a bodybuilder and pretty successful in eating contests :)
They know this; that's why zinc sacrificial anodes are used. See: http://en.wikipedia.org/wiki/Cathodic_protection
Based on my experience, and now putting myself in your position, I would just finish the engineering/business/math degree, and then pursue a career in software when you graduate.

I did my degree in mechanical engineer (mechatronics), and didn't have too much trouble finding employment in software.
I graduated with no internship or professional experience. My graduating semester, I realized software 'was it', so I just strapped down and built a product (made no money) and released it (ios/rails/AWS). A few more months studying mobile development obsessively, I landed my first paying gig. It's been about a year since, and I couldn't be happier with my decision and progression.

But to be fair, my major heavily involved programming various robots/devices/languages since 1st year, so I had lots of programming experience upon graduation. But I imagine you are in a similar situation, or could be if you wanted to.

Since this is HN, I wouldn't be surprised if you have a curiosity/enthusiasm with trying your hand at the startup lottery. There's no better background to have than CS/Engineering for this.

So my advice is: find a sector from software you find interesting, build something and ship it.
Basic explanataion: http://www.youtube.com/watch?v=iFuR97YcSLM

BTW, these guys really love numbers and math, it's fun to watch their enjoyment while explaining things like an Ulam spiral. And I think he's on crack or something.
I'm astonished that these questions get asked again and again, about fields that are obviously not sciences.

Fields that can and do test their theories against reality in practical, empirical tests, that discard falsified theories, and that have a corpus of supporting evidence that forces all similarly equipped observers to the same conclusion, are sciences. The rest are pseudosciences whose status is clearly shown by innumerable articles whose titles end in a question mark.

http://xkcd.com/435/
...to commemorate soldiers who have died in war...

It's to commemorate British soldiers. And therein lies my problem. It implies that British soldiers are worth commemorating, and any others (Russian, German, Austrian, South African, you name it, it was a world war after all) not.

It's like visiting the holocaust museum in Jerusalem. Everywhere you turn you hear how the museum is there to make sure it doesn't happen again to Israelis.

9/11 is another fine anti-example. You only hear about that one every year because it's American.

Meanwhile Rwanda happens, and Burma, Kosovo, and Iraq, and Afghanistan, and so on. Nationalism gnaws at my arse. Badly.
Honestly, that would not deter meaning from thinking you might be an eccentric meth head or worse, maybe even bolster the perception.
What does that link have to do with your question?

To answer your question: some subdisciplines of psychology are (e.g. biological psychology), and some are not (e.g. psychoanalysis). From what I've seen, all world-class universities emphasize the former; the latter is only taught in passing in psych 101 as history.

I've yet to see anybody seriously discuss psychoanalysis nowadays outside of... well, to be honest, women's studies. Of course, that field never claimed to be a science. Oh, Žižek does too.
The Flesch-Kincaid readability test
What reason is there to open source this? The whole algorithm is practically explained here, https://news.ycombinator.com/item?id=6703714
Yet more intelligentsia bullshit from the Guardian. No. Economics is categorically not a science. It's not even a social science. It is, at best, one of the humanities.
A little of both I suspect ;).
Venezuela troops seize shops over high prices
You will never go wrong if you start your project with django(Python framework)...it has been so active in the recent years and promises to be the future because even the python language itself is so active.
When a battery might have been damaged, it's dangerous to discharge it, so I never see this becoming a standard procedure for handling EV crashes.

A solution that might be more practical: individual Li-Ion cells are only 3.7-4.2V, so it might be possible to split the battery in smaller low-tens-of-volts sections which disconnect from each other in case of a crash.

But now I'm wondering if it's feasible to quickly discharge such a large battery pack so let's assume for a moment that the battery pack is undamaged.

Batteries have a limited discharge rate, imposed mostly by their internal resistance and thermal limits. There seems to be some tradeoff between energy density and power density, so I expect the batteries in electric vehicles to only be designed and rated for discharging at peak motor power. Looking at the Model S, motor power seems to be 310 kW and the smallest battery pack stores 60 kWh, so it might be possible to discharge this pack in around 12 minutes. In fact, I suspect this battery is only rated for discharging at the peak rate for a limited amount of time (maybe just for a few seconds), but let's ignore this for a moment.

Add the time required to set up, and even with this naive estimation it seems impractical.

If this energy is used to boil water, a back of the envelope calculation shows that you'd need to completely boil off at least around 80 litres in order to discharge a fully charged 60 kWh battery. Now, I have no idea how a device capable of boiling off 80 litres of water in 12 minutes would look like, but it might be a bit challenging to fit on a fire truck.
More than just a 'neat' hacking game
Yeah, it probably depends on a lot of factors, including social sub-cultures within dialects. To me using "I can't remember the last time X" to mean "I actually can't remember X happening" still sounds incredibly weird. Is that what you mean by the literal meaning?

To say the latter in conversation I would usually say "I can't actually remember X happening". I think "I cant remember the last time..." is roughly a shorthand for "I can't remember when the last time was that..." but who can be bothered actually saying all those words :P
One very prominent point in those slides is that Android is not based on the JVM, which complicates things for plenty of things that expect Java on JVM instead of Java on Dalvik (e.g. Jython).
HN is on CloudFlare now.
A couple other relevant poems:

http://www.kipling.org.uk/poems_recess.htm

http://www.kipling.org.uk/poems_epitaphs.htm
>> Either DNA is the source of heredity or it isn't.

> As always, it's more complicated than that.

No, it isn't. All one need do is demonstrate that DNA is not the source of heredity, i.e. falsify the claim. That's how science works. Epigenetics doesn't disprove the role of DNA, it augments it, in the same way that conduction and convection stand alongside radiation as mechanisms for the transport of heat energy.

> But biological proofs are weaker than physics proofs.

Not the scientific ones.

> And speaking about physics, light was a wave and this had been tested and verified multiple times. Until it wasn't.

That's misleading. There was a debate about whether light was a wave or a particle -- evidence supported both views. Eventually a new theory combined and fully validated all the prior observations by showing that light is both a wave and a particle. That theory is the best-supported and most powerful theory devised to date, and is the crowning achievement of 20th century physics. And it will eventually be replaced by an even better theory, one that explains more, with fewer preconceptions and arbitrary axioms.

That is science at its best, science driven by evidence, evidence that shapes theories, theories that must survive testing or be discarded.
It goes all the way back to Watcom Fortran.

That eventually got absorbed into Powersoft, which was bought by Sybase, with the star being the DBMS that turned into SQL Anywhere, which became the ostensible reason for SAP's acquisition of Sybase.

(That story is of course oversimplified ...)
> All of those things could have been done in Python 2.8

The first one is in 2.7 (it's completely backwards compatible). The division is in 2.5 or 2.6 imported from __future__. #4 skirts the line, new keywords have been added in point release in the past. #2 wouldn't fly.

But here's the thing, P3 was not about these (or not only about them), they got bundled in because P3 was allowed to be significantly backwards-incompatible and thus a lot of changes became acceptable which were not justifiable or much harder to justify in a point release. The primary breakage point of P3 is not any of these, it's the string changes.
Show HN: Error Page Relaunch (The Silent Sound Of Error)
It's bad and it does not make your point. In P2 you always get an int, in P3 you always get a float.
How do Bitcoin ATM Operators make money from this? In other words, if I were to purchase an ATM from robocoinkiosk.com and install the ATM somewhere, do I get a cut of every transaction? I'm not planning on doing this, just curious how the system works.
Heavily inspired by Lucas Vieira's marvelous "Fourier Toy" (credits included). Invaders no more.
The title is a bit misleading. The blog post is about async calls in Java vs Scala using promises. Good read though.
About pharma patents, I think many have been misled, as this explanation from the Pirate Party seems very credible:

http://christianengstrom.wordpress.com/2011/03/09/an-alterna...
I hope you would seriously think hard about what you want in life.

You sound to me that you are a smart, bright and hardworking person. But for once in your life, you found yourself out-competed and out-networked and you are trying to "pivot" to another career. There is nothing wrong with that. Think hard about what you want. Are you switching to another career because it is prestigious?
It seems strange that there wouldn't be an English word to describe what MSG tastes like.

In general, I think MSG simply tastes salty, even though I understand and agree that it doesn't precisely taste like a salt.

MSG doesn't have a flavor unfamiliar to western cuisine. Chicken soup has flavors that fall within the realm of MSG (even without the MSG found in canned soups). Gravies too.
This blog post is not great. It's also not about scaling at all.

For one thing, a promises based async implementation is not incredibly helpful when you have a strictly one-after-another ordering of data dependencies.

In the interest of comparison, however, I decided to translate the example code to the equivalent synchronous and asynchronous Clojure code.

https://www.refheap.com/20640

Things to note:

Instead of being forced to use a compiler-assisted construct, promises on Clojure get dereferenced. Dereferencing is the same operation used to get the value of agents, atoms, and refs as well.

Deref'ing (@) a promise over and over is totally okay.

Using promises doesn't make the Scala solution meaningfully or usefully asynchronous unless the handler is yielding its thread while blocking on I/O.
New contributors/maintainers needed for sorl-thumbnail
Here's a visualizer for the Ulam Spiral, Triangular, Pentagonal, Hilbert Curve, and many more.

You can also visualize {2-5}-factor primes, superperfect numbers, smooth numbers...

http://www.bigblueboo.com/prime/
The road into investment banking via math and software development is probably easier than via a straight up vanilla banking job.
Microeconomics is a science by that definition. Mathematics is not (or not really).
MS are unique in calling their C library a "Runtime library". Commonly, a support system that does GC and other automatic management for managed languages is called a "runtime", and the various common functions available to C program are called a "standard library". The difference is that in C, you can write a program that uses none of the standard library at all, whereas a managed program will use the "runtime" for doing anything at all.
Half the core scientific packages are already P3-compatible. Numpy has supported P3 since 2010[0] and scipy since early 2011[0][1]

[0] http://sourceforge.net/projects/numpy/files//NumPy/1.5.0/NOT... https://pypi.python.org/pypi/numpy/1.5.0

[1] http://docs.scipy.org/doc/scipy-0.9.0/reference/release.0.9....
Yup you are right. But python is a bit on the slower side in comparison to PHP and that is why the dilemma.
Definitely, distinctions without differences are neither here nor there.
Show HN: A new way to get cheap college textbooks
I remember discussions after the iPad came about how it was useless on construction sites, wouldn't last a month etc. If this is durable enough it could sell nicely. Also, having synchronized 'digital' data might help avoiding some issues like outdated underground blueprints (college machine room suffered network and power shutdowns because of wrong digging location.. how crass)

ps: https://news.ycombinator.com/item?id=6705169 says the specs aren't as impressive as panasonic toughbooks, someone needs to test this in real life. Slow mo guys maybe ? www.youtube.com/watch?v=8OH1CKIQdpw‎ :p
Agreed. Everyone in the physics community pretty much knew that the FTL neutrino problem had to be a measurement error, including the group who published it. I think one individual had to resign because they jumped the gun a bit on the initial announcement, but overall they hit a situation with a pretty crazy and groundbreaking result and none of them could poke holes in it, and all of them were skeptical about it. They published that information in the most responsible manner possible, but the media handled it pretty poorly.

Some other cases are the first two "discoveries" of the top quark, which were both wrong (and the one in 1984 was by Rubbia who won a Nobel Prize for the W and the Z so he wasn't really a lightweight). Recently, CDF at Fermilab had to retract their W+multijet mystery which might have been a leptophobic Z' boson, but was just that they didn't understand their background (again, everyone kinda saw that one coming as well). Also a couple of the dark matter detectors thought they had some signal, but the recently announced LUX experiment negative results pretty much crushed them. This kind of back-and-forth actually happens all the time. That isn't bad science, that's just science.
> The science community will get there. The problem is that for a long time, NumPy/SciPy/etc. didn't support 3.x.

They were some of the earliest ported widely-used packages. Numpy was ported in 2010, scipy very early in 2011 (except for weave iirc)
Er... they are methods not functions. Tell me how does the C++ way namespace methods within an object?
I clicked on 3 different pages YES I AM READY AND UNDERSTOOD and the test was still not shown, boy that sucked.