skysight-inc/HackerNews huggingface dataset:
The GIL is encoded into practically every C API of the interpreter. It's not going away in CPython, and at the very least any Python implementation supporting CPython extensions will have a global lock for calls into extensions.

And even if (there were patches for removing the GIL already around in the 90s): All of the approaches and patches shown so far significantly degraded single-threaded performance, which matters to way more applications than the GIL, which typically is not a significant limit to using multiple cores/processors.

"Teh GIL" is a very, very overblown issue, and is -- I don't want to be condescending here, but well -- usually brought up by people that have little experience writing software that makes effective use of multiple-many cores.
Oh my god stop. You're all over this thread. What bit you?

This is the price you pay for staying on an old version. You do not get to stick to an old version AND demand that others do too.

You CAN stay on Python 2. You CAN stay on Django 1.11. It's LTS. So is Python 2.7. You get to use both until 2020 with no issues. After that, not upgrading is a technical debt that will start to accrue, faster and faster as you can no longer use recent versions of various software.

You are free to make your infrastructure immutable; you then become responsible for it of course. And the money you're not willing to spend porting to Python 3 today will be money you spend on costs related to being on outdated infrastructure, years in the future. That's a tradeoff. Banks do it a lot I hear. A bunch of companies still use ancient hardware and technologies nobody would think of starting a business with today. These companies make billions.

You know what the employees of these companies aren't doing? They're not bitching on HN that the tech they're using is no longer supported.
Waarom je dagelijks een handjevol peulvruchten zou moeten eten
True; but I meant even 50s computer projects. They were trying to make memory out of mercury acoustic waves .. feels so hackish in a way
I would counter that this appears to be a repeatedly emerging consensus, including Stepanov, Kay, Simonyi, and a number of other "greats", that an approach that involves some degree of metaprogramming, guided by domain problem, is the way forward. They differ on terms - cooperating systems, model-driven, intentional, generic - and focus - whether to create new syntax, or to guide the creation of specific algorithms or data structures - but they aren't debating the power of the approach.
`Go programming is fun again` I found this expression really difficult to accept it :)
Ruby, Python are languages that are quite fun for me.

Also, `Go is a very original language in this aspect as well as with concurrency` CSP is quite old also.

Dlang, is quite a nice and easy to start language, If I will compare d vs go, I will say that you can see that golang has a lot of money and people behind. And, after I wrote more than a simple library, I tend to be tired of some parts of the language decision, and is not about interface, is just the small stuff. But again, I tend to write code that is more OOP :)

Please excuse me if my reply offend you, that is just my personal opinion after work with golang few years ago
I wish governments would start with compulsory licenses for streaming broadcasts, just like they do for radio. Original content is fine, but in a few years you are going to need subscriptions to a half-dozen streaming services just to view the things you want.
Over the past 5 years I've been in two projects using 1:1 ORM Active Record == business model base approach. One completely failed in part because of this, second is barely manageable, but I managed to save it by moving business code mostly to the outside of Active Record classes.

The problem I encountered in those projects is the mismatch between storage mental model and business mental model, which lead to explosion of crappy code (AKA technical debt). In particular:

1. the classes I need for business model may have initially mapped well to database tables, but over time they stop; business logic and model changes much faster than you'd like your DB schema to

2. since many things in AR can fire SQL queries, you have to keep in mind the workings of your database when doing almost every operation on your model; it's an abstraction leak

3. code shooting off SQL queries is randomly called from all over your codebase; it's harder to keep track of it and, if needed, optimize those queries

I like AR as a convenient API to get data from/to database, but given the point 1., I eventually learned to isolate AR layer as something below business model layer, so that the pattern is that business model is explicitly serialized and deserialized from database, instead of the database being coupled with the logic of your program.

Now I vaguely recall complaining about this before on HN and getting my ass handed back to me by someone who pointed out that these are all ORM n00b mistakes. I wish I could find that comment (pretty sure I noted the link down somewhere). Yeah, I admit - in those two projects I mentioned, we were all ORM noobs. So we've learned those lessons the hard way.
How to Land the Space Shuttle from Space [video]
+1 for C25k

Pretty solid program to get started running.

After that, I'd suggest doing Bridge to 10K [1]

Surprisingly to me at the time, Bridge to 10K was way easier
than C25k

[1]: https://blog.bluefinapps.com/about-bridge-to-10k/
Python 3 is not a fork. It is a major release. A continuation of the same language, by the same people, with very little change in the core concepts. A major release with some backward incompatibilities doesn't constitute a fork.

The previous version is being sunsetted, as is common for legacy software. By the time 2.7 is EOL'd, it will have enjoyed a decade of active development and maintenance. That's just one version of Python.

If there were a compelling enough argument for a fork, it would happen and a new name would be chosen. But alas, it makes very little sense for the wider world.

It's not difficult to write software that works with Python 2 and 3. It's just becoming less and less worth it, as evident by announcements like this Django 2.0 one. The scales have tipped towards Python 3.
Hey thanks - I hadnt seen those before. Good stuff.
Then don't. Stick with Python 2 and accept that means you're going to stop getting work done for you for free in 3 years time.
I'd guess they'd execute this function in onbeforeunload (or the equivalent) so the functionality is called when you go to leave the page rather than when you load a fresh one.
Ask HN: How to market this sync platform?
Hello there,
I have just lunched an OSX utility called SharedClipboard that solved my problems when copy and pasting during editing or coding between computers.
Other solutions didn't really work for me as I needed something really fast and also for small files without the need of a storage solution like Dropbox.
I know there are other competitors but they don't focus on the clipboard specifically.
In my pipeline there is also a windows desktop application and mobile apps .
I am wondering what sort of marketing strategy I should adopt to encourage usage .
Any help is appreciated.

App store link:
https://itunes.apple.com/us/app/sharedclipboard/id1061461813?mt=12
Tax breaks, infra push top markets' Budget 2017 expectations
Best IT Events 2017 to Follow on Twitter
I think the basic point of the article is that "the west" is not benefiting from the choices it makes.

It's like asking how the prisoner's benefit in the prisoner's dilemma. They each try to maximise their own utility and in doing so, because of the way the system is set up, they do worse than if they had co-operated.
I think advertising may be the next bubble. I mean, there have been lots of comments online about how large a percentage of ad clicks are fraud, so it's likely most sites shouldn't be making anywhere near as much cash from their ads once that's figured out.

Add the increasing usage of adblockers, fears of privacy regarding tracking and ads plus a stupidly high amount of competition, and I can see ads not being able to fund the sites they need to soon. Complete with various news sites, social networks and platforms simply being unable to pay their bills without finding a new payment model.
License had little to do with Google picking webkit, iirc. The difference was mostly that the webkit codebase at the time was relatively small and clean, whereas Gecko has been a clusterfuck of hacks for a veeeery long time. This is the same reason webkit exists in the first place: Apple picked the KHTML original core because it was so much easier to deal with than Gecko.
What do you guys use for the search? Regular MongoDB features? How do you handle typo-tolerance and prefix search?
I dissagree. I know of a number of famillies who used to have a small business, grow their own veggitables, and sell some vegitables on the side. However, the price of food, and the simple services of that these people provided has dropped, due to mass production, and those famillies were forced by lack of money, to change their lifestyles. They had to either sell land or take up a full time job elsewhere which meant that they no longer had time to live the way they used to.
First of all, my question wasn't even targeted at you.

Secondly, we don't brush off feedback. We listen to it and extract as much useful information as we can. If you personally can't provide any useful feedback, then there's little we can do.
Inevitable Sherlocking – David Smith
Claiming people have been brainwashed because you happen to have a different use case than them is not appropriate for HN, nor anywhere.

And speaking to your earlier point as somebody using Python 3 in production, says me. Nobody in here cares whether you in particular gets to see the advantages of the new version; but you don't get to say "nobody is using it in production", you don't get to say it's "forced down people's throats" when there's years-long support for it and you certainly don't get to say "no good reason at all" if you're the only one unable to grasp the improvements the language is getting.
I can google-SO program in PHP or Python, I did it recently with very little knowledge of those languages (I know other languages and have some common sense, so I know what to look for). Other languages like Haskell, C++ or Rust do not fall in that category, you have to really understand, what you're doing, before you could do something useful. That's fine, IMO. Not every language should be easy, if that complexity brings some advantage. And for Rust that complexity does bring the advantage: 0-cost memory safety. It's an unique advantage, so it's worth a little time investment.
UC tuition is still very low compared to most colleges, and I actually thought they charged too much for campus housing for what you could get renting in the area (like paying single room price for a double room). Their meal plans are also a profit center for them too.
I couldn't agree more. This transition and their release management in general has been handled excellently for years. Anyone complaining here is quite literally whining.
Hijacking your GitHub in one click
"Our Strength in Web-Based Projects"

:/
If you keep up with releases it usually is quite alright. Switching LTS versions causes a lot of drama indeed. But that is to be expected.
Show HN: An app for your older relatives, helping them find the right cables
Finland: The UBI Bait and Switch
the even more relevant problem is the ignorance of the average American about how their banking system works, especially as it quietly steals over decades the marginal value of the working person's dollar and throws it in huge chunks at the feet of the 1% - bankers, through first crack at low interest rates and other more blatant mechanisms like TARP, government contractors, scientific researchers who get to exercise patents on what they're already being paid to do by the public. Of course the government throws some of the most impoverished a bone (with lots of paperwork) and 'redistributes' using taxation to keep the illusion that they are doing something about it.
Online auction house Auctionata has filed for preliminary insolvency
Pretty much the only people that are working towards splitting the community are people like you, who spread FUD and sprinkle snide, bitter and wrong remarks across threads.
Algolia's pitch is "much better results than you'd get from the average open-source search tool", not "hosted ElasticSearch". How does CloudBoost stack up? What special sauce makes this an open-source Algolia and not an ElasticSearch wrapper?
> [...] Rust forces them to worry about allocations and cleaning up after themselves. C++ should have the same issue but its been around long enough that most of those details have safely been wrapped behind STL and other abstractions to the point where most people don't need to worry about them.

Also, C/C++ comes with the venerable "kill the process GC" that makes it easy for beginners and other mortals to feel good about code even when it not strictly is good. Rust is all about making that kind of quality mandatory.
Please, please, please do so!

https://news.ycombinator.com/item?id=10873226
Prem sarita dohawali-feel the joy and peace
Yep, starting running and creating and maintaining consistency in your workouts is way harder than slowly upping your mileage from 5k to 10k.
> Minimum wage was about $20/hr in inflation adjusted dollars.

Google says 10. [Citation needed]
I'm currently subscribed to Netflix, HBO GO and Canal+ (French/European premium TV channel), and HBO GO has the best catalog, by far. The problem with Netflix is that there are "Originals", and not much else. While the production quality of these shows is superb, the artistic values are nowhere near what the movies on HBO can offer. Which is a shame, because Netflix pretty much nailed the user experience part.
Such a terrible idea... this will generate endless confusion for no gain at all.
This is a really good observation. I've noticed that people who are successful tend to have an uncanny ability to 'see' the right things. And making good decisions is often a function of a person's ability to be aware of what is happening around them.

It's tricky though because I don't know many techniques for expanding one's field of vision - is it possible to learn to "see the things you cannot see".
> warn users with a deprecation warning in one version and then they make the backwards incompatible change in the next version

That's exactly how _not_ to break backwards compatibility.
Kilona maatyi ka bajan
> What you found are just bugs.

Most security issues are.

Unless you have an extensive background in application security, especially on the stack that you are using (Electron, etc), then don't advertise security as a feature. Let someone else who knows how to crack 'secure' apps decide if your app is secure or not.

As Bruce Schneier famously quipped, anyone can invent a security system that he himself cannot break.
Oh they do break, but it's a much slower process than RoR (as you described)

IIRC the most impacting changes I remember were in Config, replacement of South with a native solution and some timezone issues
"You are insane if you think auto mechanics, miners, truck drivers, plumbers, construction workers, landscapers, or working on fishing vessels, or other physically demanding, laborious jobs, are not preferred more by men than women."

Then why developers are mostly men?
And why there is more and more female football/soccer players?

It might be harder for females to get muscles, compared to men but it does not mean they do not want to do and can do physically demanding jobs.
This is similar to American cryptographic literature and libraries (and who knows, maybe some British ones too) using the word "nonce".

In the UK that word means ... well you can look it up.
I've bought a lot from iTunes, deals come around often enough. June and Decemeber. There are a fair number of films for 99p rental too.

Although their prices for the my favourite long tale films are seemingly always "moderate".

Network connectivity from the UK is occasionally an issue, Apple were planning to build a data centre in Ireland, but the locals were restive, I have a quality ISP.

iTunes is also dependent on who it makes deals with. I watched "Y Tu Mama Tambien" Netflix just before it was removed, and I can't get it anywhere else to watch it again.

BBC Store, and BFI have apps and a wider selection. The intention being you play it on your phone and ChromeCast or AirPlay it to your TV; I look for the BFI finnessing their app.
Do you have a dual-screen setup? What's your operating system and, if it's Linux, what is the window manager?
Samsung Galaxy S8 to get video doctor appointments
I think the nicest way to achieve "Pascal on the web" will be for Free Pascal to implement WebAssembly support. Free Pascal can compile to the JVM (http://wiki.freepascal.org/FPC_JVM), not sure what their WebAssembly plans are.
It's kind of the iMessages App Store.
Can we expect the async/await introduced from Python 3 for async request handling or maybe some heavy operations ? Something like sanic: https://github.com/channelcat/sanic
Similar story here.

Running is good, great in fact. As long as you run properly and on soft ground, that is. If you can swim somewhere i would recommend that instead as it is easier on the joints. Exercise will also give you an appetite, ofc.
What makes a good commit message?
To be fair, that doesn't say anything about the relative efficiency of university spending. It says:

a) they've increased their spending on amenities and salaries by about 25%

b) they're taking in less money than before (apparently they're receiving 3x less money than they are increasing the budget? So budget increase is 25% of extra costs while funding decrease is 75%?)

I suppose it depends what metric we should be judging by. If university generates measurable value for the public (it probably does; having lots of smart people walking around isn't necessarily a bad thing), the next question is "how much money must be spent per unit of said public good?" Of course, no one can really agree on the goal of university or any metrics by which to judge (other than you have to go if you care about your future!), so it's kind of fubar.

I'd be willing to bet that they could get away with spending less money. I've been saying this for a while, but sooner or later student debt will lead to a major re-balancing of balance sheets. I'm a big believer in learning for free via the internet; if you have internet access, you've got everything you need to learn anything and contact anybody. Let the university system die a natural death and let's massively lower the cost and expand the reach of education.
No doubt the economy has been hard for small farmers, but that's not why people aren't eating fresh food or exercising enough.

As you said, the price of food has dropped, and exercise is free.
No one likes to die after years of diabetes either. Our brains aren't the best compass, and society relies on shifting it as much as possible.
I don't think people will care too much. It's not like Firefox is changing name or something.
> but he introduced me to the concept of market vs. technical risk

This bit alone provided the right keywords to help me express some of the ideas in the essays I have been writing. Thanks for posting.
It bothers me to no end that audio tracks and subtitles aren't available globally on Netflix. I live in the Netherlands but my kids are half Danish. It's difficult to keep them exposed to Danish when not in Denmark.

Netflix has nearly all children's cartoons dubbed in both Dutch and Danish but we can't access the Danish audio tracks from the Netherlands.

I had really hoped that a global service like Netflix would allow global access to languages. I understand that show/movie licensing is per country, but subtitles and audio tracks? why? :-(

IMHO, this whole idea of "you live in $COUNTRY so you only get to communicate in $MAIN_LANGUAGE_OF_COUNTRY" doesn't belong on the internet. Taking an IP-based guess, sure, many websites do that too. But at least most websites allow you to pick a different language if you wish. Netflix, not so much.
And even if it is caused by choice, I still think that it is better to look at reality than to look at choice. For example, during the totalitarian "comunist" state in the Czech Republic (I live here now) there were many free or low cost oportunities to join youth groups and play sports, go sking ect. and yet people still felt very restricted in their ability to do activities they enjoyed. It was illegal to "gather" in any more than a small number of people, and so planning a hiking trip with your friends could get you a visit from the secret police. Isn't it mearly a matter of choice that many people chose to skirt the law, rather than taking advantage of the many publicly planned youth outings?
Free Pascal also implements a Turbo Pascal compatibility mode. They have a porting guide: http://freepascal.org/port.var
Oh, it's not appropriate? Should I go sit in the corner now? Who the FUCK do you think you are??
This does a lot of harm to Assange if true :-/

Maybe it's time for WikiLeaks alternatives?...
I'm assuming they don't give you a loan for the entire amount, i.e. just 70% of the value?
I'm fairly sure I'm handling strings correctly under Python 2. What I'm not sure of is the risk of something breaking if I upgrade to Python 3, especially when it comes to upgrading external dependencies. Even if it's just non-backwards compatible API changes, it's more risk to deal with.
> “Chelsea Manning is somebody who went through the military criminal justice process,

it was torture. you can give it names but it was torture. your criminal justice process involves torture.

> was exposed to due process

naked torture

> was found guilty, was sentenced for her crimes, and she acknowledged wrongdoing,” he said. “Mr. Snowden fled into the arms of an adversary and has sought refuge in a country that most recently made a concerted effort to undermine confidence in our democracy.”

I am so disgusted right now. Why do they even pretend.
The price of food has dropped, but the price of fresh food has risen.

If you live in LA, unless you have the time to go out to one of the farmers markets, its not even possible to buy fresh food. The "fresh" food in the stores isn't fresh. It is usually weeks or even months old. Sometimes it has been on a ship across the ocean stored in a special atmosphere, maybe it "looks fresh" but it isn't. I grew up in Seattle, things are a bit better there, but you still have to drive out of your way to find fresh food. The concept of fresh and the concept of supermarket are just incompatible.
This is a bit of a clickbait, sorry. It is not a vulnerability in Github, but simply <link rel="prerender" href="..."> that loads the page in a hidden tab and instantly loads it when you're about to click.

You can do same to any 1-click dialog. After you approved, consider yourself pwned - few seconds is enough to steal all your private repos.
> Machine vision?

God please no. Don't give people ideas, lest we want to have a cloud-connected startup doing just that...
If you're that skinny I'd really suggest weightlifting with a couple days of cardio (run, swim, dance, whatever). I'm assuming you're a man, but I'm a really skinny woman and weightlifting helped me put on 10 pounds of muscle. I feel really strong and amazing.
How will it create confusion? Nobody types moz:// in regular usage, so this only effects you if you are specifically looking for an easter egg or something.
... there's an emergency button?