skysight-inc/HackerNews huggingface dataset:
The disaster that is unicode in Python 2.7.x is enough for me to use Python 3 for anything I do in the future. And as you said there are enough compatible packages now to make this doable so yay for Python 3, and I say that as a former Python 3 skeptic.
I've managed to do the opposite: Scala didn't stick, Clojure did. I guess there's some subjective reason why or why not Clojure/Scala would stick with someone.

However, it's false that Clojure doesn't have a company behind it: Cognitect is certainly backing up Clojure by developing ClojureScript and Clojure itself, Clojure consulting, the Datomic database and the Pedestal "framework".
I read it exactly as you did the first time through; it was unclear as written.
On the other hand, if you are comfortable with Python 2, it will do the job, and you know it will be supported for a foreseeable future, why bother learning Python 3?

I assume there is a good answer for switching to Python 3, but I honestly don't know (haven't bothered to do any research though).

Harshly put: I care about getting my python script working as soon as possible and for a foreseeable future - I couldn't care less for the Python language and it's future.
Mail and VPN of Belgian intelligence services were exploitable with #HeartBleed
it may be better to get feedback upfront instead of spinning your wheels on collecting money. idea validation seems quite important, at least in the beginning.
I use C++ daily at work.

C++ code tends also to have a lot of allocations and data copying going on. I know you can get around those, but it seems like C++ programmers don't.

C++ looks nicer at first sight, but when you want to make sure error handling is correct, there's practically little advantage compared to C. Sure, C++ does have STL, but programmers still seem to occasionally allocate function stack and return a pointer to it and manage to do buffer overflows.

C has much simpler flow of execution. C++ exceptions mean there are eventually a lot of different possible code execution paths. In C, flow of execution is almost always simple and predictable.

C++ invites style where logic is spread over many layers of abstraction. It's often hard to see the whole picture of what's going on because of that. Instead you have to check all those constructors, destructors, watch out for inheritance, etc. In C, most related logic tends to be in same source file.

A lot of bugs I've seen in legacy code are related to these issues.
That's exactly what I thought. Why should I care what some random guy called Danny thinks about a clearly controversial issue (and it only seems controversial to those who have a vested interest in this business).
Well, the 2.x branch has been rather gracefully backwards compatible for many years. Even the jump from 1.x to 2.x was largely "assisted".

Personally, for me switching to 3 is a massive hindrance and probably I'll never do it. For the kind of things I use Python, the changes are extremely significant and it actually seems to me like a step backwards. It may be an improvement in other respects, though. I don't know.
> the momentum to python 3.x will pick up considerably.

People won't leave Python 2.7 for Python 3.x, they'll go to other languages. Python has no right to its users.
"Freedom from Internet Intruders" April 22 in Palo Alto
I was amused when I ran across the "American Superiority Warehouse"
2048 Against Cancer
IIRC PHP5 mostly added features to the OOP system so old code would still work even if it was suboptimal.
Curiosity and Mathematics
Keep in mind there is a strong conflict of interest. The business guys love to squeeze out the tech after launch or before a funding round to keep a bigger slice of the pie. Often they won't say that's why they are doing it, but bizarre things will happen like they'll promise to do things then not do them just to start a fight, etc..

I used to work for a startup called WorkSmart Labs. They got Google Ventures funding, but when they knew it would close they go me to agree to take a lot more vesting equity for several months. In exchange they were supposed to help with some things to help my wife's green card process - changing addresses I was taxed and paid at to a joint residence, joint health insurance, etc.. They were happy to pay me less cash, never did the paperwork they promised, and ditched me right when the deal closed so the unvested equity was worthless.

You should watch out for similar very dirty behavior. I don't know if you are in SV, but we hear people all the time talking about things like writing every single line of code for the product, then getting kicked out after funding.
Wow I'm very disappointed. I keep making the effort to transition more to 3, but am frustrated to see so many dependencies only work with 2.7, and thus maintain both libraries. I am tired of this limbo.
Not at all. I was responding to the over generalisation that "Japanese are perfect" (to paraphrase).

The commenter has since pointed out his intent further, but my core point is, the traits people are saying are Japanese seem to stem from distinctly western sources (Demming, and Germany both being mentions).

But this whole idea Japan are 'perfectionists' is just racial stereotypes. The only thing Japanese people are (in general) is Japanese.
I realize you are probably getting down voted because of the way that you wrote what you wrote.

But, I have to say, that during the keynote by Guido this morning, this was more-or-less the sentiment that I was left with, but with a #positivepython-twist.

Listening to Guido, I left with the inspiration to try and help this community make that migration.

I hope that, by this time next year, I can have made some contribution to the community that will help people such as the GP be in a position to use "the latest and greatest".

Here's the list, let's make it green:

https://python3wos.appspot.com
My bullshit detector was tripped by the number of buzzwords.

What does this actually solve versus say traditional MQ (EIP stuff), service bus systems and normal SOA?

I've dealt with NServiceBus extensively and really big scale .Net stuff and if it's anything remotely close to that architecture, I'd rather hang myself than use it again.
I see many comments talking about how this will slow down the migration process. But I don't think the situation is that bad.

Most of the py3 wall of superpowers is now green (https://python3wos.appspot.com/) with boto, mysql-python, nltk, python-openid being some of the rare few in terms of not having great py3 alternatives. And most of these have ports on the way already.

So one interesting effect of this is that now that there is some critical mass and people are starting new projects in python3, there is now pressure on package maintainers to have py3 ports. So it's users dragging the packages forward now rather than the packages dragging the users backwards.
Open Source is a thankless job. We do it anyway.
Putting off testing until you show traction can be a slippery slope. Writing tests early on can have many benefits including: better architecture/design, confidence the code performs as expected, regression testing when adding new features, ability to more quickly add new features because of the good design, etc.

If the person in charge is the stereotypical "business type", then it can be difficult/impossible to convince him/her to allow engineers to spend time doing a refactor and/or writing tests for code which was written months ago and is "working fine" because you now are showing some traction. This can easily lead to never actually getting around to writing that robust and practical test suite that is really necessary in the long term. Note that I also say the test suite should be practical (for some definition of practical which may vary from engineer to engineer). For example, 100% test coverage may not be useful, determine which parts of the code MUST be tested and which parts are just diminishing returns, etc, etc.
Phill Ivey would be one of the first people to tell you that he's a degenerate gambler. I'll have to look for it, but I watched an interview where he talked about his days before he made it big. He would cash his McDonald's paycheck, go lose it playing poker, and then end up spending a few weeks sleeping on the streets.

Also, I remember one time a WSOP bracelet showed up on ebay. Apparently, its owner had made about $10 million in career earnings in poker, but he was so broke from betting on horses that he was selling his beloved bracelet for gambling money.
Preferences can be just as big a deal.
http://unicornfree.com/2014/validation-is-backwards
Show HN: Hypercanvas.js – A graphics engine for 42+ dimensions.
Russia and China announce decoupling trade from Dollar
This sounds awesome. Keep working on it.
How to Buy Bitcoin with PayPal or Credit Card
Strongarming themselves into deals by baiting and switching entrepreneurs? That's a pretty serious accusation.
The board game that teaches pre-schoolers to code
> Second, Typesafe is a tiny company, and the most prolific committer to the Scala compiler just quit - not just Typesafe, but Scala altogether. Doesn't seem rock solid to me.

Paul Phillips did NOT quit Scala altogether: https://github.com/paulp?tab=activity

This is a surprising bit of FUD that has taken hold amongst gleeful Scala haters.
ToC is a pretty influential piece in the realm of systems thinking, not sure you can dismiss it as just buzzwords given it's obvious application across multiple industries (despite what you think of The Goal).

Kaizen is just a word. It's (literally) like saying "improvement" long predates ToC... well of course, but it has no context.
"That quote goes back into the content/metadata issue. There hasn't been any leak so far showing content collection of Americans' communications. All of the debate in Congress regarding these programs has centered around bulk metadata collection."

First, the metadata distinction is absurd in this context. The question asked was "Does the NSA collect any kind of data at all on millions or hundreds of millions of Americans." Data on whether I call my mother every Friday is clearly data about me.

Second, even granting the metadata distinction, it's still false using any reasonable definition of "collect". Garbage men collect my trash by putting it into trucks and dumping it in a big pile. Numerous programs have been revealed under which the NSA is reading content of the communications of Americans and storing it in a database. Using "collects", precisely defined, in a way different than the rest of the world uses it in legal opinions and internal memos is possibly iffy but I don't think clearly unacceptable; using it that way with no clarification or definition in a communication directed at people predominately unfamiliar with the distinction you're drawing is nothing but a lie. "Honey, I wasn't lying when I said I didn't cheat on you. I know I slept with my secretary, but the way I use the word 'cheat' it only applies if I cook her breakfast afterwards." The testimony at the congressional hearing may have been such a communication; the opinion letter in the NYT was clearly so.
Yes, so many buzzwords together - I admit.

The difference is replacing Commnad/Query with events. Replacing Imperative with Reactive.

Did you read the whole post or you were put off by the buzzwords?
Six Clicks: Dead software we loved (Gallery)
I wondered that as well, so thanks for posting this link.

This claim seems dubious. This CCPA report is saying the majority of the "bail out" was from the CMHC (our FNMA) buying mortgages (which were already insured by them) from banks. Thus, assets were exchanged for cash at a fair market value. Is that a bail out?

A fishy anti-business report quoted by a supposed wall-street trader. Michael Lewis' book has brought some strange groups on the same side of the issue I guess.
Oddly, on mobile this site robs 33% of my screen with persistent header and footer elements.

See: this is a web page.

http://justinjackson.ca/words.html
What’s Inside a Black Box?
I enjoyed your comment, as I have enjoyed many comments here on HN that quite thoughtfully and often eloquently take the time to provide a personal context and, yes, anecdote, to a more generally reported circumstance.

Don't worry about it. I -- for one ;-) -- think your comment was appropriate and useful, in this context.

(For example, it provides me with some additional insight to my own occasional interactions with Japanese culture. Most useful, to me.)

Nor do I mean to be overly critical of the critiquing response. Yes, we do need to be aware of anecdote versus corroborated fact. But, as one other respondent has commented, we make some assumption that those on HN can judge this for themselves.

--

This comment meant in good spirit, all around. And yes, it's just my opinion.
Stop coding.

Secure your equity.

Get a lawyer.

Fire the CTO.

In that order.
> unnecessary incompatibilities like the u" notation for Unicode string literals that was dropped

I mean a hard difference between a string and bytes and strings being utf-8 by default seem to be a necessary (and good) reason?
Lucky you. Mine manages to hang before I can fully open my laptop lid! (12.04 LTS). Reverted to windows and using Linux in a VM.
How to Predict MLB Records From Early Results
Trapper Keeper is a long-established brand name for a type of loose-leaf binder. I might expect a challenge on the name by Mead.
I would have guessed, "because it's an egregiously mixed metaphor"
That's not a valid reason to avoid making the switch. A big backlog of code that you can't afford to port is valid; it's a business issue. But you? This is a tool of your trade, just do the research.
I'm digging hub! Thanks for the link to the cheat sheet.
Doesn't seem to me like the kind of project to fund via Kickstarter.

Get a demo working on other platforms and show it around. Run forums. And when there's some traction, think of the best way to fund it.

Something like this is not going to find enough of its potential target through a Kickstarter. Also, many potential customers may not be convinced with the idea if they cannot try it.
Maybe they need to end this internship program if they don't have the money for it? Bizarre.
I have to agree with that. Tests are an investment in QA. Prioritising that before you have a product-market-fit is probably the wrong priority (Of course, depending on the specific scenario).

A lot of thought leaders have been promoting testing like crazy the last couple of years, with the result that some people treat it like it's essential, when it rarely is.
What independent coffee shops say about where we live
Yep, That's a good idea, -
is there any such sites/services that do anything like
this ?
To this day, old PHP 4 objects code still works in the lastest PHP version

The difficulty of upgrade for PHP didn't come from the devs having to redo / revalidate parts of their code for little to no immediate benefit (like in Python's case) but in the shared hosting companies (un)willingness to make the upgrade when the scripts their users wanted (phpbb, wordpress, ...) worked fine with PHP 4.

And that's why these various projects agreed to a common date of "end of support" for PHP 4, sending a message to hosting companies to either upgrade, or not be able to deploy wordpress and co anymore
If Japan is so much "better", why did birthrates start falling in 1974 without stopping, to the point they are now at or near the "lowest low" from which no society is known to have every recovered?

Besides the immediate problems (including the prefectures dropping on the floor the information necessary for old age pension payments for way too many who didn't work for big companies, those in the high risk/low reward part of the economy), e.g. see https://en.wikipedia.org/wiki/Aging_of_Japan, there will be no Japanese people by the end of the next century, and given the tough neighborhood they live in, "the end" will probably come much sooner.
"I found this product that does exactly what we need. I've tested it and it works. It's $250."

"Yeah, but our deadline's in 2 weeks and there's no way we could go through the procurement process by then. How's that custom solution coming?"
The point from jiggy2011 is rather that the differences from PHP 4 to PHP 5 didn't break much of the existing PHP4 code.

In PHP 4 for example you had an object model where the constructor was a method named alike to your class. In PHP 5 you got the __construct() magic method, but as a fallback, the method named to your class still works as constructor.

The same holds for properties defined with var instead of public/protected/private. For compatibility again, the var keyword is just interpreted as a public property.

As a third example, PHP5 came with an OOP system with support for interfaces, abstract classes and the final keyword. In PHP4, this wasn't available. So, there is no PHP4 code which uses these concepts, making them work in PHP5 as well. Obviously, this doesn't work the same way around.

There are some backwards compatibility issues, but these are minor in contrast to what you probably had written in PHP4 back then [1]

Now, for Py2 vs Py3 this is a completely different story. Py2 code doesn't run automatically on Py3. See this answer [2], as there were so many porting issues developers didn't had the time to overcome the overhead just to port the code. So: no, you can't compare the PHP 4 > 5 change to the Py 2 > 3 change.

[1] http://www.php.net/manual/en/migration5.incompatible.php
[2] https://news.ycombinator.com/item?id=7581584
So how's the US government's track record in reporting flaws to vendors?
I guess it would be more accurate to call it "shift+/"
OnLive cuts CloudLift subscription fee by half
I've always wondered if it's possible to build a video camera that films on the microwave spectrum instead of the visible light spectrum. Would such a tool would allow you to "see" wi-fi access points ? I guess they would look like bright, pulsating sources of light, and they would be visible through walls.

I did a bit of research on the subject, and they don't seem to really exist. It's possible that the longer wavelength poses technical difficulties. The individual receptors are too big and you can't cram them together at a sufficient density. Also, the lensing and shielding needs to be completely re-thought.

There's a 2012 paper called "Portable Real-Time Microwave Camera at 24 GHz" but i couldn't access it (not in academia).
But then you have to make an actual argument stating why HFT would make it more rigged than the alternative would be. The collapse of spreads is a lot more important than speed, for small investors.
In meteor it is synchronous.

If something in node is async, you have to wrap it up with _wrapAsync, else meteor explodes. Once it is wrapped, it is no longer async, your code will block until the (internal) callback is called, then it will continue.

It is exactly, not like a 'yield' in Twisted, that is the same in node, but in Meteor (server side) nearly everything is synchronous.
Is it just me or is there some weird JavaScript in place to make scrolling annoying/softer? [Chrome, Mac OS]
You may also want to reconsider your pricing structure. At approx $5 to get the full game I do wonder why I should bother doing the Kickstarter. You didn't mention the non-Kickstarter price so I'm going to assume it will be approx the same. So I could probably just wait until the game succeeds and pick it up for about the same cost - then I don't need to worry about the game's progress or whether it fails in development.
sure they do more than just making cards full time.
Are there any actual examples of this happening? The article gives examples of investments by PE firms but not predatory behavior.
I would actually like more games like the old Start Flight and Star Control and whatnot. I don't think I'm willing to fund something with such ugly graphics, though. It's tough for me to even pick out the characters from the backgrounds. Maybe you should hire a graphics artist?
Git.io looks really cool. Didn't know that existed!
He's certainly on to something. As he pointed out, it's been around since about '73, and many people are happy with the design of such systems. Amazon even has an actual for-real implementation of one (see Simple Workflow), he should probably try it out before rolling his own.

It really is an elegant way to do things from what I can tell. It forces you to keep your state in one, carefully managed place (hairball), rather than sprinkled around god-knows where, being poked and prodded by god knows what....

IMHO, There should be more talk about the design of actor based systems than the glut of OO yammering we are all exposed to.
I know Kyle personally. He is super smart, incredibly humble, and willing to teach. And I always admire anyone taking the initiative to try and produce something useful.

In response to Jabbles, this is from his (work in progress) book. Page 7.

// Implement the standard padding scheme for block ciphers. This
// scheme uses 0x80 as the first non-NULL padding byte, and 0x00 to
// pad out the data to a multiple of the block length as required.
// If the message is a multiple of the block size, add a full block
// of padding. Note that the message is copied, and the original
// isn't touched.

As anyone who has written technical material knows, your drafts tend to be error prone and you rely heavily on others to help catch your mistakes. Technical editors are the normal tool utilized by the traditional publishing world. As this is a leanpub book, I feel that the responsibility generally falls on the community. Those who have paid for the book and want to see it succeed.

I personally have purchased this book as well as reported errors to Kyle.

I'd encourage anyone with questions or comments to reach out to Kyle. He is quick to respond.

http://www.kyleisom.net
What source are you using for the data? Yahoo finance?
Heartbleed in turkish (subculture) manner [flat]
This graphic is what i've imagine first hear about heartbleed. This morning i decide to draw it hehe :) Gun and rose is one of the most popular symbols of Turkish teenage subculture which is similar to gangsta style in some points.
Ask HN: Math ability + Coding; can you recommend a resource?
I am starting some elementary coding classes via Udacity etc and have run into some mathematical symbols that are unfamiliar to me. (I never achieved a High School math qualification).

I could simply Google what they are and progress but I am looking to become proficient not just pass tests.

Can anyone recommend a good book/course which will give me a grounding in mathematical concepts relevant to programming before I invest more time in my coding education.

NB : I am not looking to become a coder. I just love learning and enjoy creating things.
Perhaps it's because it is Sunday but I phased out after the first couple of paragraphs. I've read it now and am still unaware of why this is fundamentally better.

Command/Query pattern is an imeplementation concern. The architectural pattern that backs it up isn't necessarily related (for example event sourcing). At that point it isn't imperative so why is this different? It just appears to be fragmenting lots of concerns into even smaller ones which are vastly more complicated to debug and manage.

The bold highlighted text of: "in a reactive actor system, each actor only knows about its own Step and what itself does and has no clue about the next steps or the rest of the system"

Isn't that the same for a message channel but without a transactional guarantee? (going back a decade or more to EIP).