skysight-inc/HackerNews huggingface dataset:
I don't quite see why it's being downvoted. Like it or not, but that's what is happening: Python's 2.4-2.7 success was largely due to it's simplicity. It more or less did correspond to values defined in `import this`. It wasn't particularly performant nor "safe/foolproof", it wasn't even that powerful as a language. It lacked (and still lacks) good error reporting system. But it was lean, easy to get started with, agile enough, expressive enough. It was always possible to make something unintelligible using reflection and magic methods, but it is easily distinguishable form "how stuff should be written" and otherwise you could be quite sure there won't be any surprises.

This is why python is still used for it's purpose. CLI utils, bots/crawlers, tf/pandas/scikit-learn, REST-APIs on top of flask.

Then hard times came. First, many year long story (still not concluded) of transition between 2 and 3. Then all this stuff. Sure, there is such thing as progress. Stuff is invented for some purpose. But now, in 2016 and at v3.6 — Python isn't what it has been loved for. Not easy-to-start-with, nor simple. This return/yield fuck up, showed in the article is absolutely huge deal, for example, and it is not about asyncio per se. Async stuff is always complicated, it wouldn't be that bad if it was all it's about.

If some 5 years ago one would use Python just because "why not, I just need to get stuff done", now it's quite likely that after struggling with all this micro-nuisances he would go with golang/js/php/whatever instead.
As an alternative to Lightroom, try Darktable: https://www.darktable.org/ . Several people I know seem quite happy with it, and LWN has positive reviews of it.
That was the whole point in theory, yes. But in reality, almost all new gTLD registrations are being made as brand protection, and redirecting to the company's existing .com domain. Only a very small minority of websites are trying to build a brand on a new gTLD domain name.
Normally perhaps not, but if you host other people's IP . The risk of a leak like this can have major economic consequences to other organisations which trusted you with security for their code.

To me it looks like poor design , I would expect private repos to be hosted completely independently and in isolation with more secure and throughly audited code with longer release cycle (LTS ?) after the code has been well tested in the public free repos.

It is not excessive if you consider the potential value of the private repos that github has control over.
They already do something similar for enterprise edition. It leaves bad taste that smaller customers are not treated with similar caution
One more way in which the previous MBP was superior. No "MacBook Pro" on the bezel.
So? The Blade Stealth maxes out at 16GB.
Similar to what ContentSquare.com does too. They just raised $20M.

Disclaimer: I worked there for 2 years (tracker + webapp).
I just downloaded the official Chrome .deb and did a sudo dpkg -i foo.deb.

Can't understand how that would fail, really. One thing you might try is doing an apt-get install -f, since there might be implicit dependencies depending on the build, and this forces apt to figure them out.
On what are you basing your statement that multithreading in Python is insanely inefficient? Despite the fact that the GIL prevents multiple threads from running in parallel, using multiple threads can give you a huge boost if IO is your bottleneck.

I think that it's irresponsible to make a blanket statement like this, because there are many use-cases for multiple threads in Python. Sure, one of the obvious ones (parallel processing) doesn't work, but besides that threads can be extremely useful.

I'm also unclear on what you mean by "no such thing as thread-local data" when there is `threading.local()` that does exactly that.

Lastly, I don't think multiprocessing was created as a workaround for threading per-se. Rather it was a workaround for the global interpreter lock.
I feel that one of the biggest misconceptions about monads and IO in Haskell is that they are an "escape hatch" in the language that allows you to perform imperative actions. This is plainly false. Monads are just another functional programming idiom, defined by two regular functions, `return` and `(>>=)`.

What monads allow you to do is have a purely functional model to represent IO, among a great many other things. Haskell is, in a sense, the best imperative programming language ever created, because it lets you manipulate imperative statements in a purely functional manner. You can stick statements in data structures, compose them, replicate them, generate them and only evaluate them when you want to.
But that's the choice of the network operator. The SIM itself is still completely unique and identifiable, they just chose to allow customers to re-map SIM's on the fly.
> integrating Qt into your project's build

With CMake Qt is a breeze to integrate. Four lines in a CMakeLists.txt and you are off the races.
Jeff Bezos proposes putting space colonists inside O'Neill cylinders
I've been keeping tabs on ChromeOS as well. Right now the variations out there aren't as flexible or well-suported as Elementary, largely because it's essentially Ubuntu LTS.
Any reason you chose to use DBE instead of just creating two drawables and swapping with Present / CopyArea? DBE is considered deprecated over the newer techniques since it's not accelerated.
My laptop is used 99% of the time on power supply.

The one at work is used 90% of the time on power supply (and then, only because I'm lazy bringing the power supply in meeting room).

Apple is telling us: don't buy MacBook for your desk computing. Buy iMac for desk, and for the one hour or two a week you need a laptop, add a MacBook Pro too. Apple is telling us it very please would earn three times more money. Being the biggest corporation is not enough for it, it just wants more.
This may sound silly, but I'm mostly concerned about losing the three-finger side-swipe to the other desktops. Is this possible with elementary OS?
Cerco hacker a pagamento
My observation is based on my own experience and that of practically everyone I've ever met. I also know quite a few people who are doing very well for themselves - They also enjoy themselves; they enjoy making money.

The people who promote the idea that 'passion pays' like Mark Zuckerberg, Bill Gates, Warren Buffet, etc... These are not people I've met - They are rare; the lucky ones - One thing that they have in common is that these people never failed financially. Their idea of failure is not my idea of failure - My experience of failure has nothing to do with the glorified descriptions I read about in tech media.

I also know this because the less passionate and more cynical I become, the more money I make.
Yes, but the Medium-inspired formatting is quite new.
I don't get this. Any program that interacts with the outside world isn't "pure", by this definition. What's wrong with using monads? With monads, you can still do all those side-effecting operations, but be encouraged to separate out the pure bits.
> Oppression and injustice only breeds more injustice.

Yeah, like paying slavers for owning people. That's going to sit well with the ex-slaves. How are you supposed to ever come to peace with people who beat your father to death and got a government check for doing so?

The Jim Crow, etc, is because we weren't half harsh enough with the slavers, not because we were too rough.

> southern backlash.

That's easily solved. Dead people don't have petulant concerns that they aren't as rich as they were, and they don't riot and foment rebellion.

> I am suggesting that it would have been better for everyone

The highest number? Over what time scale? Measured how? Because the century and a half of racial killings and injustice leaves a lot of headroom for "better".
Dell comes closest with their Developer Edition, but even they aren't trying too hard and just tell people to suck it up when e.g. the touchpad firmware is broken.
OP here - Yes and no. Mail can now cope much better with some HTML email, but there still isn't an obvious way to add a signature (I allude to that in the post).
I agree with the sentiment of this comment. I think you're articulating what I perceive as feature decline particularly in the GUI interface. Advanced features seem to be disappearing and unless I'm using terminal, I feel like my machine is increasingly operating with settings and parameters I can't access, customize or eliminate (iOS analogy: non-deletable apps, obscure OSX example cmd-ctr-option-8 used to invert screen colors, this is now default off and only if you know its a feature you can enable can you use it). Huge UI bugs in OSX not previously present are update alerts that cannot be eliminated and will overlay full screen presentations and videos until closed, there's also no way to turn this off, same is true for time machine backup notices).
They've been stealing from the whole rest of the world in the form of pollution for decades. Why should I feel bad about taking back some small portion of that?
I've been bugging the sys admins at work to fix the fonts on our RHEL boxes for months...
Google Hangouts works fine. Sleep-on-closing-lid works fine. I use Xubuntu. I'm using a Lenovo Tablet, an ASUS laptop, and a custom-built desktop.

Bluetooth is kind of a mess, on Xubuntu at least.
One of many, many resellers of generic China OEM laptops with zero development capacities by themselves.
The 'cloud connected' stuff is an obnoxious gimmick, but Das's upcoming 5q is pretty close to what you're looking for:

https://www.kickstarter.com/projects/1229573443/das-keyboard...
There's a long history of letting politicians, untrained in law, draft laws and constitutions. :)
Of course not. I never meant to suggest this would be a macOS replacement - and as a former dabbler in GNUStep, let me tell you that that way wouldn't work either.
Constitutions are generally not written by people trained in law. They are written to be inspirational and aspirational, not legally rigorous.
previous thread: https://news.ycombinator.com/item?id=7890901
no program can be purely functional

Pure functional programming means building up a machine. This machine will eventually be executed by the runtime system (at which point IO will happen) but from the programmer's perspective a program can still be purely functional.

By this I mean that a function that takes an Int and outputs an Int will have type `Int -> Int`, and a function that takes an Int, does logging, and outputs an Int will have type `Int -> IO Int`. Both are purely functional -- they're pure transformations from an Int to some other thing. For the first function that other thing is another Int, for the second that other thing is an action that can be performed by the machine which will return an Int.

So from the perspective that matters to us a developers programs can be purely functional.

(This becomes even more useful with something like PureScript's granular effect tracking https://github.com/purescript/purescript/wiki/Differences-fr...)
i've been using linux on my macbook for the past 1.5 years and now i have it on my desktop.

webcam both on the mbp and my logitech hd work out of the box. sleep on closing lid also works quite well -- and i feel waking it up is faster.
threading.local in all aspects is thread local data.

You can still pass data attached to threading.local to another thread. Another thread may be able to get at threading.local data with setattr(). There's no isolation, so all the locking is still needed.

This is a hard problem. There's real thread-local data in C and C++, but it's not safe. If you pass a pointer to something on the stack to another thread, the address is invalid and the thread will probably crash trying to access it. C++ tries to prevent you from creating a reference to the stack, but the protection isn't airtight. In Rust, the compiler knows what's thread-local, as a consequence of the ownership system. Go kind of punts; data can be shared between coroutines, but the memory allocation system is mostly thread-safe. Mostly. Go's dicts are not thread-safe, and there's an exploit involving slice descriptor race conditions.
Are you using OS X / mac OS? If so, have you tried Mitsuharu Yamamoto's Emacs Mac Port? Available as Homebrew tap: https://github.com/railwaycat/homebrew-emacsmacport
The Wimbledon that won the FA Cup moved to Milton Keynes. Their fans stayed in South London and turned into fans of AFCW.

Very unusual in European soccer for a club to move towns. US sports franchises do it more often.
"Among Celtic and Germanic peoples, the predominant custom during ancient times seems to have been to divide the land in equal parts for each of the sons." (1)

Which also applied to countries and why Western Europe kept going from a unified empire to a bunch of countries. The last time this happen was in 843 "When Louis the Pious died in 840, his eldest son, Lothair I, claimed overlordship over the whole of his father's kingdom .../... Lothair's brother Louis the German and his half-brother Charles the Bald refused to acknowledge Lothair's suzerainty and went to war against him. .../... after which Lothair became willing to negotiate a settlement." (2).

1: https://en.wikipedia.org/wiki/Historical_inheritance_systems...

2: https://en.wikipedia.org/wiki/Treaty_of_Verdun
Why has this been upvoted? The author is a novice and provides no insight. This just reads like he finally got to the second page of your standard book on functional programming and somehow came to believe that everyone else is still on page one. What village is this guy from?
As usual, this article makes me think of Wittgenstein, who would probably say, "I agree with everything you're saying, except the word 'strange'."

The content is interesting, definitely, but you could save some time and potentially misleading "appreciation of strangeness" by stating that neutral drift allows for dramatically more random possibilities than those offered by one-time random mutations.

Not that Wittgenstein (or I) want to poopoo the "wonder" element of science or life in general... but I think it's telling that the author, as other comments point out, mentions creationism, as if that's a natural motivator for "wonder" (or a natural view to take in light of "wonder"). But creationism is simplistic, incoherent, and wrong. If "strange" is adding nothing to the truth or falsity of any of the statements involved, and "strange" is somehow an excuse for creationism, perhaps we should take issue with this being "strange" at all.
It's worth it. Once you grok it, you'll be composing new movements + actions and before long you will be 'thinking in vim'. You also need a very small subset of stuff to begin being useful (actions, moments, modes). After that learn about macros/registers, buffers and windows and you're pretty much good to go.
Matt hits on part of the issue clearly in his update on his post.

"I will say we look to Wix, Weebly, and Squarespace as innovators in the space with products that reach many small businesses, and Wix especially should be commended for its success and growth as a public company."

It is unfair to take the best parts of your competitors work and so freely use it while ignoring the overall scope of the license which permitted you to do so in the first place, pretending there isn't long established precedent. If Wix wasn't a successful competitor, nobody would know about their use of this code. Nobody would care.

Personally - it is why I love the GPL. I removes code from the equation because everyone who takes distribution has the code. So for services and apps, defense comes through excellence in execution, not defense through proprietary code (since running something successful requires so much more than simply code). It's why companies like to defend their market positions through proprietary code. They are afraid (and know) someone else could do it better, so they protect their investment at least by making someone else have to do it over as a hurdle to entry.

Anyone can take WordPress.org, make a WordPress.com-like free blog hosting company, and completely compete with Automattic. Many try to with their own stacks, and clearly are not doing as well as WordPress.com. That's telling, and why Matt is in the right.

My opinion is that it is a complete sin to include the good work of your competitor in your proprietary code. It is very revealing about the greediness and capacity of Wix's management to pull something like this. Even if they try to come off as good guys. They are hiding something bad. Why?

No company this dishonest should be trusted with anything. If I was with Wix, I would move to someone else on principle. So ... what else are they doing? What are they doing with your information they have about you then? And I will for sure highlight this behavior to people I know who use Wix.

Their only course of action to fix this is to admit their error and to fully open source their code. If they decide to retreat and remove the GPL'd code, it is a greater admission of what they were trying to do in the first place behind closed doors, and were just "unlucky" enough to get caught.

Shame on you Wix. Fix it. I have pity on you for falling victim to Wall Street's greed. You owe the internet more than that.
I was there a couple of times. It's an amazing place for a DataCenter.

You can see the datacenter from above, from the second floor. I think it's a great place to take some shots for an evil headquarter of a spies movie.
OP here. No settings for that on my trackpad. It's doable in Linux, but I don't see any prebuilt hooks for that in Elementary other than a hotkey combo.
I was there! About 8 years ago during a school trip. The church lies next to a picturesque small lake, and once inside its simply stunning.

I regularly took part in tours of the local super computing center (Munich), but the BSC is really something else. Would definitiv recommend going to see it (book in advance!).
Prerequisites: XCode 8.1, brew, autoconf, automake, libxml2

Here's the .configure you'll need: ./configure LDFLAGS=-L/usr/local/opt/libxml2/lib CPPFLAGS=-I/usr/local/opt/libxml2/include PKG_CONFIG_PATH=/usr/local/opt/libxml2/lib/pkgconfig
My perception of this changed as I grew older. For me, and for most people I know, most of the enjoyment of my job comes from spending time with coworkers I like and respect, and working together on a problem with them. Passion about the specific problem is something that comes and goes; it's the people around you that are more likely to remain consistently motivating over the long term.
Emacs is a purpose built IDE.
OP here. I actually installed that this morning, am still fiddling with it. Other folk report trouble importing their Lightroom XMP metadata on some versions, can't say much about that.
This is an interesting question. For some reason, the European scientific culture to question everything and preferring “useful knowledge” apparently did not transfer to Brazil with the Portugese.

Here's an excerpt from Surely You’re Joking, Mr. Feynman!, discussing education in Brazil which I think is relevant: http://v.cx/2010/04/feynman-brazil-education
I don't know much about Chinese history but it seems to me that some sort of China as a unified entity existed for 1000s of years. In Europe on the other hand, borders were much more combated due to expansions of this or that empire (Rome, Turkey, France, Germany etc.) E.g. modern Germany wasn't unified as a nation until after the Napoleon wars in the 19th century. In that sense, the EU is a rather courageous project of countries that were enemies not so long ago.
Pffft. Twisted core devs have embraced asyncio and have made Twisted play nice with asyncio. Do what makes sense.
Because with asyncio you can run on one thread.

Before, you needed multiple threads, or else incur high I/O costs. But then you have to manage your shared state across threads, hence locks.

Their code is now probably async single threaded code, like JS, where locks are irrelevant.
Dell is really not trying. Most laptops ship with touchpads that work fine on Linux. Dell ships buggy, painful firmware with a premium laptop, and people give them the benefit of the doubt because it's a "Linux problem," not their mistake.
Berlin is low wage. Bad example, shows you're a bit talking out of your ass.
This is a business decision. Being unable to be sure whether deadlines will be met is a cost you should factor in when acquiring hardware.
Doesn't include Lisp :-(
It's hard to beat Apple store support where you can bring it egregiously broken products and walk out with brand new replacements at no charge (recently exchanged my 2 year old premium iPhone headphones which had literally broken the headphone jack off for a totally free replacement no questions asked, a couple months before that I had my 3 year old BT keyboard replaced for free after batteries exploded inside it). Their hardware quality (materials, performance, durability and longevity), customer support, low level tech (like batteries) and hardware aesthetics are great. It also seems like their laptops tend to last ~5+ years.
Soundtracks from Games Like Fifa, Forza, Doom, Final Fantasy
What to do and eat in Tokyo, Japan
Air-to-air pumps will probably always make some noise because air has relatively small thermal capacity, requiring relatively big air flow in order to transfer any meaningful amount of energy.

There also exists heat pumps which transfer heat to water-based central heating system (radiators / floor heating), eliminating the noise issue. The heat source can be either outside air or liquid circulating in soil/well (possibly supported by solar). All these combinations are relatively common in Scandinavia, air-to-air pump being most popular because of quick ROI (small initial investment) and easy retro-fitting, althought practically all new houses are built with water-based central heating (the heat source being either of electricity/solar/wood/air pump or any combination).
I use linux exclusively so I am a bit biased. I have used Mac in the past, but I just don't see the value when all I ever need is a web browser and a terminal and I'm set. There's no question that their hardware is the best though. My question is, what's stopping a company like Canonical from polishing Ubuntu to be on par with MacOS in looks and ease of use then designing the "perfect" developer laptop? Seems like they should have done this years ago.
Loading this page with JS disabled, all the images are blurred. Loading it with JS, there's a fancy fade-in animation on the images. What is the point of this? Why would you intentionally distort the images for people who browse with JS disabled?
I think they probably wouldn't be in business if they were closed source. They built a business on top of an open source product which already existed (but was created and maintained by the CEO of Wordpress) that open source platform allows them to claim that they run 25% of the internet with the consequent brand awareness and ecosystem.
I've been a gevent user for a long time and Python's decision to "bless" twisted by adopting it's patterns was a watershed moment for me, and basically was the beginning of the end of my belief that I'd ever adopt Python 3.

User jerf's comment that asyncio "more than [doubles] the complexity" is absolutely correct. Watch this video of Guido talking about tulip...or struggling to talk about tulip, rather. It's clear the dude is out of his depth and my god the recent changes to the language show that the inmates are now running the asylum... Seems like Python, in it's effort to chase the latest fads, is no longer the language I would endorse to someone new to programming. Whether you think that's a meaningful litmus test or not, the staggering amount of crap that's infiltrated the language now completely flies in the face of the zen of python's statement that there should be one and preferably only one way of doing things. Fuck. I'm going to go code some lua now.

https://www.youtube.com/watch?v=1coLC-MUCJc