skysight-inc/HackerNews huggingface dataset:
PDO in PHP has parameter binding and a way of loading a row from a resultset into a class. Safe, simple, and flexible. That's good enough for me. YMMV.
I'm very surprise that it's a Vietnamese name but the github source belongs Czech guy.
HP Plans 16,000 More Layoffs
Absolutely. In my latest project, I just have a very thin facade between the application and the DB client library, just enough to simplify the process of getting a connection from the pool, fishing the required data out of a response, handling errors etc. The application doesn't build any queries dynamically; they're all string literals with parameters that get filled in by the DB client library.

I also wrote a little utility to handle migration. Each migration is a file with SQL in it; forward migrations only, no going back. The tool makes it easy to apply a given migration to a given database (dev, staging, production or whatever) and does the book-keeping to ensure they're only applied once. Couldn't be simpler.

I'm really happy with this set-up. It gives access to all the features of the database instead of just the lowest common denominator, and makes it much easier to read the code and know exactly what's going on.

The only times I've seen an ORM work well in a non-CRUD application is when it was designed and written from scratch to work with one database to supply exactly the operations and semantics that the application needs.
I like vietnamese cuisine :-)
Real-Time Music Mentorship
The impressive thing about the Mythical Man-Month isn't that, 40 years later, it is accurate in every detail and utterly relevant to your life. The impressive thing is that 40 years later, it still has a substantial amount of stuff that is accurate and relevant to your life, and that 40 years later, people still get wrong what we knew was wrong 40 years ago.

I would also accept an interpretation where that's an indictment on the field.
Interesting CS stats
Since when was python 2 "deprecated"? I chuckled.
Easy Third-Party Sender Integration
You're completely correct, but without concrete suggestions to address the problem, your remark is also completely cliched. We all figured this out at some point, we all know everyone else knows, and we just don't see a way out of this shitty Nash Equilibrium at the moment and we all have real, working lives to get on with.
I'm just waiting for zzzeek to publish a blog post on how to implement this on top of sqlalchemy core, like this post [1]. :) Seriously though, sqlalchemy ORM layer already does this. Why not leverage all the existing features and support it has? Also, it's an easier sell for a $100 piece of software: "If you're using sqlalchemy, you can migrate to pony immediately."

[1] http://techspot.zzzeek.org/2011/05/17/magic-a-new-orm/
3. when the code is AGPL, receives contributions, then the original author offers a commercial license including said contributions without any contributor agreement.
Interesting point. When I used to make 50K a year, nice houses used to cost 300K. Today, I make x2.5 that amount and houses cost x2.5 that. Definitely not going to be able to afford a nice house in my area :'(
And Amazon is interested in driving Charlie Stross out of business because?

By the logic of the article everybody who negotiates a price is evil because they want to drive the other party out of business by aiming for lower and lower prices.
monopsony

It's always a good sign when an article expands one's vocabulary. (Yes, look it up!)
A non-standard standard is always a sure way to shoot yourself in the foot. Endianess also causes some confusion...
I've been using Django for 10 years, and I never experienced an ORM bug, and when it couldn't do some complicated join, I just did a raw query. For everything else, it saved me tons of time.

Is that long enough experience?
Perhaps we shouldn't teach anything at all? Let's just cancel school. Does teaching everyone a foreign language have a huge impact on the world? How about English? Or history? Or Art? Or PE?

How many high school students change the world by studying the periodic table or learning trigonometry?

By your criteria, how can we justify teaching any subject?
Such tendencies are fine in your typical market. Monopolies make it a problem.
Does it mean that it supports only basic common denominator features of every language? I am a fan of attributes in C# - are Haxe annotations as powerful?
Salinas California Police Caught Red Handed On Camera Executing A Man
if I were to self-publish through Amazon I would be vulnerable to exactly the same pressure that Hachette is currently on the receiving end of, but with less recourse.

Is this claim backed up by any actual evidence? Does Amazon pressure self-published authors the same way they pressure publishers?
It is ironic that all of Charlie's books that I have bought have been on Kindle.

That said, I basically agree with the premise of this article. When the price is comparable I prefer buying eBooks from publishers, with an advantage of getting multiple formats. Yesterday I bought one book on Kindle and another directly from the publisher. The book I bought on Kindle was unfortunately much cheaper from Amazon than the publisher's direct price.
Sounds like Perl 6, all busy stifling Perl 5. (Which has sort of shaken itself out of somnambulance with a similar technique.)
Why Foursquare isn't just the timeline spammer you thought it was
Great article, and I love getting an update on one of the more influential articles I've read about Amazon that has stuck with me over the years.

But I'm left with a question - is Amazon stupid? They rely on new works coming out just as much as authors and publishers. Why are they acting in a way that will drive off the creation of new content in the long term? It looks like a losing strategy for them.
Amazon is a great American success story that has improved the lives of many around the world. Only those of a particular political persuasion would characterize them as evil.
Python 3 is not killing Python just competes for resources. Python 2 will be around until 2019 and a lot of things can happen in 5 years.
Isn't there a cause where you get MUCH better conditions if you price your ebook under $10?
How is this different from Lineman.js?
yadda yadda. i'm happily developing in 3.4 and the improved exceptions alone make it worth it. the pain is pretty much limited to 3rd party libraries (getting better every day, though not nearly fast enough, true) and people not understanding bytes vs text (incidentally, mostly native english speakers.)
Link local data to Bluetooth nodes
I don't know, that's why I'm asking. Is there?
At absolute bare minimum it allows for error mitigation for the underlying server application.

In other words, your site doesn't necessarily have to be down even if Apache is down (assuming you're for some reason bound to Apache).
Well, if you go to python.org and ask "Should I use Python 2 or 3?" the prominent answer is:

Short version: Python 2.x is legacy, Python 3.x is the present and future of the language

That's very close to what deprecated means.
Forking Python 2 would be a terrible idea. Especially since 2.7 keeps on being supported anyway.

Python 3 is the way to go in the long run.
If you're so against a js client, you could certainly whip one up in another language...
Even if Amazon was a monopoly it would still need authors to create books.
By that logic (I'm not saying the conclusion is wrong), no one has fiber because we always end up translating it to electrical pulses before hitting the cpu, and chrome is the largest webserver because it always checks its own cache before going out to the network.
Our game (currently in development) is written in Haxe.
http://worldzombination.com/

I wrote a blog post that talks about why we chose Haxe here:
http://blog.proletariat.com/post/63004824563/choosing-a-deve...
Ugh more whining from Stross. What a headline: Betteridge's Law and "Amazon, have you stopped beating your wife yet?" combined in one.

Amazon's negotiating tactics are not unique and don't make them evil. B&N pulled the same tricks when negotiating with Simon & Schuster last year:
http://www.nytimes.com/2013/08/20/business/media/simon-schus...
It's a common incident in the television industry as well. Time Warner dropped CBS last year while negotiating a fee dispute:
http://www.reuters.com/article/2013/08/04/us-timewarner-cbs-...

It doesn't matter that one party is in a stronger negotiating position than the other. That's capitalism; don't hate the player, hate the game.

p.s. The DOJ anti-trust lawyers never had a focus on preventing monopolies before the '80s. Their focus has always been on the prevention of the abuse of market power whether by monopolists or oligopolies. If Amazon should be targeted for having an ebook monopoly then Apple would have been on the hitlist first for having a digital music monopoly that they managed for half a decade before the Kindle.
ShowHN: very easy to install social network for your own host
Me too! ^^
Would be awesome if this had an option to pick either SASS or LESS!
right, but are you expecting a different chat community by using a different chat interface?
Our roadways (well, major highways anyway) are not that simple. And our aging power grid is a liability. Sun-tracking panels on rooftops having nothing to do with solar roadways - you can do both at once, of course. Rooftops have tiny surface area compared to roadways though.
If you start calling things like varnish a web server you'll confuse a lot of people. You generally call them according to what role they serve in your stack, and for Varnish and at times Nginx, that is a reverse caching proxy.
Decent read - it further helped me appreciate the position from which Python 2 devs require certain non-trivial, non-ported libs are coming.

That said, as a mostly Python 3 developer, PEP 404, to which he links, provides much insight and justification for ending at 2.7. In brief, the changes all seem to me to be efforts to make Python more 'Pythonic' (i.e. TOOWTDI).

PEP 404 2 -> 3 reasoning: http://legacy.python.org/dev/peps/pep-0404/#and-now-for-some...

TOOWTDI: https://wiki.python.org/moin/TOOWTDI
Fermi Paradox – Possibilities on why humanity is alone
On the website, they say:

- Automatic Updates
Publish updates to your app or game instantly in just 3 clicks.

However, I wasn't able to find any documentation about that feature, same for Crash Reporting. I've written an email, but by any chance you know anything about this?
LINQ is a black-box that is often disastrous for application performance. The more LINQ in a project, the more likely the project is headed to failure.
Python 3 is doing a lot better than Perl 6.
Thanks for the explanation, I haven't been following the progress of SPDY so I'm not familiar with the detail. What use cases would be hindered by this new standard?
https://kdp.amazon.com/help?topicId=A301WJ6XCJ8KW0

If your list price is above $9.99, you get 35% royalties instead of 70%.
Skim.it – It's Pinterest meets Evernote
Hi im Lloyd, a have been developing a startup for the last few months called Skim.it.
We are calling it the smart place to save, sort and share the best of the web.
It lets you create categorised canvases and articles and videos etc.. into them.
When you Skim a webpage our API summarizes the entire article into 100 words taking the most relevant text and keywords from it. We see this being the future of collecting and reading content online.
I have just launched this week as invite only and id love to get some feedback.

Thanks, Lloyd
Writing is like music: Someone will always do it, even if it doesn't pay. You can take the author's money and he'll still write. Being passionate about your job (which most artists are) in a market with abundant supply (which art has) means you are a career sucker. While art is not fungible in the sense that a free market would drive the margins to zero, a monopolist could still twist artists pretty bad before a significant portion of them stop writing.
I'm curious what the lesson here is. A lot of the changes in Python 3, such as the byte format of strings, seem to be a good thing--just something that breaks compatibility.

Is the lesson never to bother fixing a major flaw in your software/language after it has been widely used/available?
Keep in mind this is a hypothesis and lacks significant supportive evidence. Even after 38 years.
France Digital: Paris Tech Event
I learned Python in 2004 (circa Python 2.3) and since developed several years mainly in Python, but somewhere along this path I lost almost all my excitment and joy for this language. I used to dream in Python, now I find it cumbersome and to me Python 3 was an unnecessary pain and I also know some people are afraid to say it explicitly because you want to look as someone who remain on top of your game by being able to cope with new things, but knowing how to deal with Python 2/3 doesn't mean it was a good move. I'm now just happy to not have to develop in Python anymore.
A much better comment to link to would have the grandparent, by Greg Wilkins from Jetty, who gives a lot more substance and context to the debate: http://lists.w3.org/Archives/Public/ietf-http-wg/2014AprJun/...

It does seem a little shocking that the WG chair is proposing last call while still there's serious discussion of things like dropping HPACK.
Funny, it doesn't show up as being tagged. http://community.opendns.com/domaintagging/search/?q=equitie...
One issue I seldom see mentioned in articles about ebook monopolies is how Apple -- which has many of the pieces in place to be a strong competitor -- has really dropped the ball.

When I first began testing different ebook formats a few years ago, not only was the iPad hardware superior to the Kindles and Nook, the ePub reading experience in iBooks was vastly better than the same ePub on the Nook or the .mobi equivalent in the Kindles.

Where Apple failed was in the purchasing experience (the iBookstore/iTunes mess) and some of the back-end tools for publishing. Other than updating the iTunes Producer interface for submitting new titles, and improving iBooks Author for Apple-only rich media ebooks, I haven't seen any significant improvements for readers or publishers who want to use the Apple platform over the past two years. Meanwhile, the Kindle Fire has brought Amazon customers a slick alternative to the iPad at a much lower price point.

I don't like having an Amazon monopoly, but some of the blame should be assigned to the erstwhile competitors who can't seem to get it together.
Nature allows a lot of things. But it is not because of this that it is the best thing to let it happen. The decision to disallow this kind of behavior through law was rational.
It's also worth noting that EA basically cut a year off of ME3's original development time, which is why we got a series of endings to the whole series that made your choices matter a whole lot less. It's still one of the only series that sees you choosing whether or not to kill off one of the major characters (Wrex) and has many dialog and character choices open or close to you based on previous actions.
School spyware in coursebooks
Ofcourse, but imagine that most/all publishers are out of business and Amazon will give you a very low margin, because they can...
Worse than taking up screen space, these bars often exhibit laggy scrolling behavior and cause other UI bugs. There are very few well working implementations of such fixed bars, partly due to difficulties like the position:fixed implementation in Mobile Safari[0] - unless that has been changed in iOS7.

I highly recommend to refrain from using position:fixed on mobile devices.

[0] http://remysharp.com/2012/05/24/issues-with-position-fixed-s...
I was all ready to complain that I want some sort of nav/menu thing always stuck at the top, but I'm actually OK with the solution presented where it just shows as soon as you scroll up without having to scroll all the way.
Python 2 will still be there, why spend energy back-porting stuff when you could just keep using python2 or improve python3 or even porting to python3 (it's actually not that hard).
It's also not significantly falsified.
Defender's Quest 2(http://www.defendersquest.com/2/) (in development) uses haxe

It's a pretty great experience, I wrote a long post about it here:
http://www.gamasutra.com/blogs/LarsDoucet/20140318/213407/Fl...

It focuses on the popular Haxe library OpenFL, but has a lot of information that pertains to Haxe itself as well.
First of all, are you aware that LINQ is not only about database access?

Second, how is it a black box? It is the particular query provider implementation that is a black box.

Third, there's absolutely no correlation between the amount of LINQ and success of a project.
More Entrepreneurs Are Seeking Purpose In Business
And there will be; it's just that it might be a different population of authors than we have today, e.g., Charlie Stross might not be among them.

As another poster pointed out upthread, there will always be plenty of people who will write even if they get paid very poorly. Charlie Stross might not be one of them; if the pay he can get from writing goes down enough, he might, as he says in his article, have to stop writing and find another job that pays more. But there will be plenty of authors who will continue to write even under Amazon's self-publishing terms.
Out of the box Haxe's metadata[1] to me doesn't appear as powerful as C#'s attributes. The big difference is that they are not type safe and are not type-checked by the compiler.

You can however use any expression you want in them, and have macros read them and confirm they are correct, and do whatever you want with them. For example I do some validation on my models:

@:validate( _.length>0 && _.indexOf(' ')==-1 )
public var username:String;

As for the bigger question - they are limited in what they can add, but they have many features not in other languages, they just implement them in a syntax-heavy way on the languages that lack such features. Pattern matching is a good example [2].

See http://haxe.org/documentation/introduction/language-features...

[1]: http://haxe.org/manual/lf-metadata.html
[2]: http://haxe.org/manual/lf-pattern-matching.html
It is indeed unfortunate when people like Karpeles manipulate such perspective technology-based market as btc was.
The trust is irreplaceable, and the bitter taste which users of mtgox experience each time they hear about btc has already had almost devastating effects on bitcoin economy. Lesson learned.
That's why I specifically mentioned it. I think it is an abuse of power and lessens the protections on actual victims.
Thomas Piketty accuses Financial Times of dishonest criticism
Laravel Schema Designer
Glad to know that I am not the only one who did that :P
PressureNet adds crowdsourced extreme weather alerts to 4.4 update
Working with Go – learn go by example code
Is it falsifiable? I read this book years ago. I'll be damned if I can remember what it says.
the AST-on-top-of-SQLAlchemy idea has been discussed for many years prior to Pony's existence. Robert Brewer's Geniusql http://www.aminus.net/geniusql/chrome/common/doc/trunk/manag... does the same thing (for Geniusql, you pass it lambdas; interpreting generators directly was more of a "future" thing, but by "future" we're talking, like four years ago :) ). He presented it at Pycon maybe in 2009, 2010 and right after I had the usual flurry of questions "Can SQLAlchemy do this?" and I said "sure! just write an adapter, easy enough". I think Robert was even interested in that.

at the end of the day the AST idea looks very nifty but IMO is too rigid to translate to SQL in a flexible enough way, and also works against the main reason you use code structures to produce SQL which is composability. When I last saw the Pony creators do a talk, the approach seemed that each time you have a given SELECT, and you'd like to add some extra criterion to it, it pretty much will keep producing subqueries of the original, because each time you can only wrap the AST construct you already have. It similarly had no ability to produce a JOIN - at that time at least, the only way to join things together was by rendering inefficient correlated subqueries. This was asked explicitly.

If they've found a way to resolve these issues while keeping true to the "AST all the way" approach and not dropping into a SQLAlchemy-style approach, that would be great. There's no reason SQLA ORM or Core couldn't be behind a similar approach as well except that nobody's really had the interest in producing it.
I don't think people are used to backwards compatibility breaks in languages. Though in some ways, that means you have a different language.

In reality, Python 3 is to Python 2 what Ruby is to Python 2 - different. They aren't the same language, you could have named Python 3 Anaconda (just because Cobra is already taken, I know it is a prepackaged library bundle for Python already) and its function would be clearer.

But you also can't tell people writing free software "no, you have to stop doing what you want, and do what I want" unless you are willing to negotiate how much that will cost you. And maybe they wouldn't do it for any price. You could get other developers to extend it on your doll as well.

But the developers of Python collectively said "unicode is important enough to make a backwards incompatible leap". They are never painless. OpenGL is a great example, with how the version 3 line was rife with attempts to depreciate the fixed function legacy cruft, and even today few developers properly differentiate compatibility and core profiles. That is a major version break too.

But if you don't like it, you can make your own. The fact there isn't a major popular python2 extension project trying to backport functionality unofficially that has gained traction should say what the popular consensus on python 3 is.

If you need python2 libraries, use python2. There is really no shame in doing it. Even when the official project depreciates the maintenance of 2.7 someone will pick it up, because there will be for decades, at least, and probably for eternity, python 2 software running somewhere and the maintainers think keeping python 2 working is less effort than porting their stack to 3.
Yes, it requires a sandbox for things like PHP.

But it's limited to it. Most other web stacks come with their own sandbox. And Apache also puts PHP in a sandbox for unrelated issues.
If the curly brackets and semicolons (and lack of short lambdas, which I am still grumpy about) are always going to turn you off, then Haxe might not be promising for you.

But in particular macros [1], abstract types [2], algebraic data types [3] and static extension [4] are enough to keep me happy exploring new programming concepts etc...

1: http://haxe.org/manual/macro.html
2: http://haxe.org/manual/types-abstract.html
3: http://haxe.org/manual/types-enum-instance.html
4: http://haxe.org/manual/lf-static-extension.html
"they supply editorial, production, packaging, marketing, accounting, and sales services and pay me a percentage of the revenue....I could do this myself, and self-publish, but I don't want to be a publisher, I want to be a writer: we have this thing called "the division of labour""

You can hire that done for a flat rate, without giving up 85% of your money in perpetuity.

"will even pay quite well if I accept extremely onerous terms."

What are these "extremely onerous terms"?

There aren't any. They will pay you 70% of retail, on time, every month. No exclusive contracts. No Byzantine "royalty statements". Their accounting is quite clear. No signing over your copyrights forever.

"if I were to self-publish through Amazon I would be vulnerable to exactly the same pressure that Hachette is currently on the receiving end of, but with less recourse"

This, of course, is pure nonsense.

It may eventually come about that Amazon starts abusing authors, but that's certainly not the case now.
It is also a SMTP proxy, so you can put nginx in front of your postfix servers.
Veilige en goedkope trampolines online kopen
JORNADA DE INFORMACIÓN TÉCNICA SOBRE LA NUEVA LEY DE TELECOMUNICACIONES |