skysight-inc/HackerNews huggingface dataset:
You probably shouldn't share epoll FDs across threads for performance reasons. A shared nothing design is likely to perform better with a simpler implementation in both the application and the kernel.

I don't see sharing FDs across threads as a useful thing to aspire to.

The common design I see these days is load balancing FDs across shared nothing threads. The thread that receives the notification via the selector is the thread that does the IO (no other thread has that FD). Keep adding threads as makes sense and never block let them block.

A combined queue makes sense when task sizes are large. For small tasks the performance is poor. I see the queuing decision as something you make after you have already retrieved the message from the network and presented it to an application layer which makes a decision on how to dispatch.

It would be cool if the kernel would do this for you under the hood! That would be amazing. Just making it correct is not enough though.
There's difference between arrogant criticism and constructive feedback. Most of those who rudely criticize are those who rarely create anything. Instead they are mostly into commentaries.
Let's also keep in mind the population is still growing so just like the game of "Highest grossing movie of all time!" title you see every year, it's not surprising at all that total debt numbers are increasing. We need debt per capita to be alarmed.
A probably apocryphal story claims Cutlar said to Griffin, "It was eating my potatoes." Griffin replied, "It is up to you to keep your potatoes out of my pig."
But analog computers do not permit error correction! Crosstalk of 10% does not affect digital data busses, but ruins analog. ECC memory is trivial with digital but not possible even in theory with analog. This (and programmability) is why we moved from super fast analog to slow digital half a century ago.

Given all these constraints I am actually quite excited to hear more of the dissenting view. Can you describe some of the research you mentioned in the last sentence? I have not heard of it and if true it would be at least interesting engineering, even if right now I doubt it would actually work.
It could be "just" python 2.7 with security updates / bug fixes, since the official python 2.7 won't be getting them from 2020.
>also Student Debt cannot be forgiven in bankruptcy so you essentially have an entire generation of indentured servants who will never actually own property outright.

This is an issue, but can vanish with the stroke of a pen.
I don't understand this sentiment at all.

What does Python3 require of you that isn't necessary in Python 2? Print as a function is my only example.

Python 3 lets you continue writing the same same simple stuff as ever. It also provides a bunch of other power that you can _choose_ to use.

The OP's example is such a strawman it's hard to take seriously. If you're writing little scripts (or teaching someone some introductory programming) You don't need to use decorators or type annotations or asnyc/await. If you're Dropbox and you've deployed 4 million + lines of Python, then maybe type annotations make sense for you, and there they are.

What is there about 2.7 that you prefer? The thing that most surprised me after finally moving to python 3 full-time a few years back, was that it was so completely painless.
For lots more data and charts, see New York Fed's quarterly report on household debt and credit:

https://www.newyorkfed.org/medialibrary/interactives/househo...

Page 13 shows newly delinquent balances by loan type, and the trend doesn't seem too worrying. Page 11's "total balance by delinquency status" also seems to be heading in a good direction.
I put off upgrading to Python3 for a while because I was working on a codebase that had dependencies stuck in Python2. After moving on to the next gig, I started using Python3. Differences? Python3 has many nice optional features, and it fixed the unicode issues. That's it. People act like this is such a huge thing when it is not.
Yeah, async is madness. The part of asynchronous and reactive mass-hysterias.

Very few applications really require AIO and/or coroutines, and spawning a coroutine for each I/O request is a madness indeed.

Last but not least, such kind of API should be general and minimalistic, the way Erlang does its processes. Or how Plan9 does I/O via general protocol. Unfortunately, Python guys are looking in a wrong direction (is that C#?) for inspirations.
It's a monarchy with executive powers the king delegates. Although it's a "nice" monarchy like Holland and Sweden, I'm not convinced they are proper democracies.
Citizens voting directly on policy issues is direct democracy, which is only one type of democracy. Other political arrangements, such as representative democracy, are types of democracy too.
rm -rf ~/cerebro-electron && mkdir ~/cerebro && touch main.cpp is a valid option, right?
What's amazing about this is that (at least as of the time when I worked there, 2003-2007) they've always broken just about every rule about coding style, DRY, unit tests, and so on ("We're not writing textbooks here") and yet (or because of this) were by a wide margin the highest-velocity shipper-of features I've ever known.

And this was all done while meeting the highest standards of performance and reliability. How'd they do it? I'd say two things: heavy investment in human testers, and an amazingly-rich "immune system": Deploy a bug in your new version of a Bloomberg function? Last week's code is still running alongside it, and in seconds you can route that one function over to the old instance while keeping all the other terminal functions on the new version. And an automated system might do it for you before you even get paged.
- the custom keyboard may have been a holdover from the early versions of Bloomberg, today its not as useful. I personally think the key response on it is terrible. So I actually just keep it plugged in for the fingerprint scanner.

- bbg is about quick access to data. Most of the data is publicly available. But if you serve it up super quick and consistently, people value that

- the chat application is what the vast majority of people pay for, IMHO. This gives you access to most other people in your industry or product group. This is how business is conducted.
- bbg has an army of people backing their product.. from the bbg help to data cleaners. This ensures quality for the high price you're paying
Yes but those assets are owned by the rich. I'd wager increased debt correlates strongly with increased inequality.
> If anything, ignorance of finance is how you give your money to the bankers.

I don't think it's quite that simple. It's probably some combination of a number of factors such as:

* Inability to control one's spending
* A consumer-driven culture where status is equated with material possessions
* Availability of easy credit
* Society not recognizing compulsive spending as an addiction
+1, it's the fastest of all that I've tried. It doesn't do too much out of the box, but it takes a couple frames to launch, as opposed to >1s for many of the alternatives.
Python has a history of treating standard library modules as a sort of reference implementation. Look at urllib and urllib2 for example. No self respecting Python dev will use either of those two packages if they can help it. They'll use requests instead. Other examples include Python's standard library json/xml parsers. Nobody really uses them out of the box. In my work, the only standard library module I really use extensively is the collections module.
>I may be in the minority with this here, but I mostly agree with this post.

Which part of this incoherence are you most fond of?

* The part where he gives an example of "simple" python 2 hello world and pretends that the equivalent python 3 isn't exactly the same thing with two added brackets ( ) ?

* The example he does give instead which isn't even valid python.

* The part at the end where he gets confused between type safety and static typing and declares a preference for C based upon that.
It will only survive if its lawmakers restore the robustness of the electoral process. Seriously, why is gerrymandering even a thing right now? How is that normal? Not to mention the highly manipulable first-past-the-post voting system. It's no wonder that primitive AI was so able to obliterate the last election. Our human collective decision making processes are thoroughly busted and nobody seems to care to fix them.

Amazon and Netflix get score voting for their products, yet we can't even get measly, pathetic IRV?

Imagine if Amazon had to use IRV or FPTP to determine "the best products"... It'd go out of business pretty quick!
Revenue is relatively well defined in accounting terms, although it can be fiddled with some, by booking revenue for sales that aren't going to be completed until later (which, specifically, would be illegal).

Profit is much easier to adjust in accounting terms, by delaying or advancing liabilities from the future. A common example is, if you are going to post a loss for the quarter, go ahead and throw every possible expense you can on it so that next quarter will look much better.

I recommend How to Read a Financial Report by John Tracey.

https://www.amazon.com/gp/aw/d/1118735846/ref=dbs_a_w_dp_111...
Electronic Engineer to Be Deported 3 Months Before Before Graduation
Complex Hyperbolic Lattices [pdf]
I had the same thing happen, but it stayed open fine once I tried the link in incognito mode. Probably just a mis-coded "you've reached your article limit for the month" deal.
Aaaaah, the good old "you shouldn't critize if you haven't created anything argument". Easily applied to "you can't criticize music if you haven't recorded an album" and "Why are you criticizing this movie you haven't even filmed a blockbuster".

Commentaries have a valid point, with or without creation.
"Nice" is also highly situational... they're nice because they can literally afford to be.
Flashlight is my fav http://flashlight.nateparrott.com/
Ask HN: Is there anything you like about recruiters?
Oh you don't mean "lobbying", because that word is these days legally defined, and most actors in that sector prefer to see themselves as advisors, influencers and think tanks. Certainly not filthy lobbyists.
Nothing about security, or ongoing maintenance. This is the problem with WordPress and php in general, it's telling non technical people once it's done, it's done.

It's a bit like telling somebody that planting veg in your garden gives you veg. Nothing about keeping the soil turned, or weeding.

Why do these sort of posts keep making it to HN?
The data is what's valuable. You can't get up-to-date data for free, and if you can then you can't re-publish it.
you will probably like Nim - https://nim-lang.org/ if you like Static Typing in a pythonish language, and writing long running (perhaps CPU intensive) tasks.
Except that if you want O(n) performance, the easiest topology is a ring connecting all the GPUs without having to pass through any CPUs. Passing through 1 CPU will incur a ~20% bandwidth penalty, and passing PCIE data directly between 2 CPUs will break the ring because Intel says so.

Baidu just released a library implementing this approach between nodes. NVIDIA's NCCL is a library for passing such data between GPUs connected like this in a single node, and the deep learning framework DSSTNE has tensor collectives for implementing model parallel training and inference.
That was partially the author's point. However, he came from the other direction: If you want a statically typed language with powerful asynchronous tooling then maybe Python is not the right choice. There are already languages that are great at that. So why make Python that's already great at being Python less good at being Python and instead into something that other languages are already great at?
It doesn't have to be. We don't have to accept manually reading through news articles and spending precious time digesting that information and connecting all of the dots in our flawed heads with our flawed memory.

We need tools for information digestion and management to cast more informed votes. Unless we just want to admit that voters can't keep up with their government and hold it accountable, in which case we need tools to manage a government that cannot manage its own information input/output.

Critical thinking is nice and the most basic requirement, but it doesn't enlighten you to facts that you simply don't have time to discover. You can make educated guesses and you could be right, but they are still guesses.

To go and find all of those facts, you have to spend an enormous amount of time reading all sources of information (Breitbart, MSM, alt-right, ADL, etc.) or you have to admit you are making decisions with incomplete information. You also have to watch videos, listen to sound bites, and read tweets.

Time is the real enemy and the reason so many people give up in the face of this information-saturated reality is that no one has enough of it to continue using their eyes and ears to parse the world's raw data. Anything that reduces the time cost of being an informed voter is going to have the greatest impact of managing information and governments.
> I'm looking around, and I see quite a few different systems, but no democracy.

Democracy is being hidden. They've renamed it and called it Populism.
> How is that normal?

Lately, normal seems to have become the exception.
There is nothing wrong in using Electron. What if Electron folks release a JRE sort of thing - a one time install that can support multiple Electron apps by sharing the underlying Chromium libraries. At that point we can bring down the app size to couple of mbs at max. And we can keep the same codebase without changing a single line of code.

Regarding memory usage, it is indeed a memory hog and would require at least 100mb of memory per app. The only way we can see an improvement there is the Chromium guys doing some serious tuning to reduce the memory usage(Leakage perhaps?). Also not sure if we can even share the runtime between processes (Like windows dll), if that is possible, then we can hope to even bring the memory usage down.

Instead of forcing developers to learn different programming language and APIs for each operating system, we should as a community think about improving ways to make Electron or something similar even better.
What allowed Groupon to survive in this same market (where deals are a waning fashion)?
> Homes are priced by looking at recent comparable home sales. If your neighbors to both your right and left have had their house foreclosed on, the value of your home will go down.

Surely the lower valuation on your home is incorrectly low, though? Or is there some actual reason why buyers would want it less?
Does America really have low wages? Granted, the lack of a minimum wage is crazy, but the median household income is $56k. Compare that to £23k in the UK.
when you default you lose your home, when they default they get a trillion dollar cheque from the government, and 10 million dollar performance bonus.
There is little evidence that there is much to "leak", really. Cambridge Analytica is just one company among others providing these services, and nothing proves that they have played an important role in this election, it's all conjectures.
Not really, not without an extremely narrow definition of what market they occupy.

The "daily deals" model is only one of many ways for businesses to offer deals and try to find new customers, and for customers to find discounts. Groupon/LivingSocial/etc have many competitors, all the way down to simply advertising specials and promotions with a sign in the window.
There are some previous discussions:

https://news.ycombinator.com/item?id=13729770 (15 comments)

https://news.ycombinator.com/item?id=13730736 (4 comments)
The king has no powers, practically speaking. It's a monarchy in name only.
Not necessarily, thanks to "leverage".
Whereas Bremain supporters and politicians didn't get such covert donations?

Not to mention that they had the full cooperation and support of the state, that was supposed to be neutral.

Plus thinly veiled (or open) threats from all kinds of businesses, heads of foreign states, etc against a Brexit.
Freedom of the press is under attack by the Trump administration. From labelling critics as 'fake news' to banning journalists from news briefings[1] - it's a pretty alarming time for democracy.

[1] http://money.cnn.com/2017/02/24/media/cnn-blocked-white-hous...
It's not mostly news, it's mostly finance data that only Bloomberg has aggregated. To get the data you have to buy the terminal.
>After experiencing static typing with TypeScript I don't really want to go back to dynamic typing.

Javascript's main failing wasn't a lack of static typing it was a lack of type safety (which statically typed C also suffers from). Python didn't suffer from this.

If you tried to convert an invalid string to an integer it won't just try and have a bad guess at what it thought that you meant (C, Perl and JS's default behavior), it would raise an exception instead.
(2015)

[1]: http://www.spektrum.de/news/wie-algorithmen-und-big-data-uns... (in German)

Article is very broadly written, when the imminent threat might be manipulation of upcoming elections (France, Germany); "fake news" isn't even mentioned
Yes indeed. The swedish monarchy still doesn't need to account for how they spend their "appanage", i.e. tax payers' money.

And they still get this money even though they are wealthy enough to not rely on state subsidies.
Just come to Perl6...has all the nice things Python3 has plus a bunch in a really nicely designed package. Seriously, it is much prettier than the linenoise people think of with Perl5. The only problem is the implementation is very young and immature (but it gets daily fixes and improvements). Perl6 is a completely new language designed from the ground up over 15 years. It has some syntactical similarities though. Sometimes I wish Python would do the same thing and start over on LLVM like Crystal, or do something closer to Perl6. If you just want a simple scripting language, Lua and Rebol are nice and Red (when finished) will be like Rebol on steroids.
Weil somebody Posted a link from the same author and the first three lines were exactly the same. I think that there is not a single word that differ. Shame on WSJ that they try to monetize such a thing.
Yes, it's a monarchy, but the king has no real power. Thus this is not a good argument as to why Norway is not a proper democracy.
Revenue is absolute. Money either came in or it didn't. Profit is fungible because the accountants and business principals decide what counts as a cost and what counts as a surplus.

An infamous example of this is "Hollywood accounting" [0], whereby major studios spin off independent LLCs for each film project they pursue, charge these LLCs exorbitant fees for marketing, distribution, etc., and then the LLCs never post a profit. As I understand it, such structures have been used on some of the most successful film franchises of all time, including Lord of the Rings and Harry Potter. This tactic is commonly believed to be a mechanism to avoid paying royalties.

[0] https://en.wikipedia.org/wiki/Hollywood_accounting
normalized is the normal I was going for, like a fish in the water. I.e. the water is polluted with active levels of synthetic estrogens and the fish know nothing different.
The fact it's there means you'll probably come to a point where you'll have to interact with it by way of someone else's library, unless you NIH everything.
PLA vs. ABS Filament
My experience has been that Google rejects ads that don't have a valid URL. We got all kinds of warnings about potentially having our Adwords account banned if we didn't fix a typo in a URL in one of our ads.
The authors probably didn't want to sink resources into making it work on mobile. It relies a lot on mouseover-type gestures, and the layout assumes a pretty large chunk of screen real estate - it doesn't even fit all that comfortably on my 13" laptop's screen.
I feel the same way. Whenever I see an app compatible with all three platforms, I check if it's built on electron.

The less electron-based running apps, the better. The only electron app I (sometimes) use is Atom.

I have switched to slack on browser, instead of the app.
LG´s new flagship features Google Assistant and Android 7.0 Nougat
California is almost certainly going to break off from the larger United States in our lifetime. The interests of the United States are already too heterogeneous to be effectively served by a single government, and the problem is only going to get worse.

I don't believe California will be successful if it attempts to secede solo though. I'm going to go out on a limb and predict that if it is going to work, it will need to secede as part of a coordinated action with Washington and Oregon. The end result will probably be a commonwealth of nations relationship similar to the one shared by Canada and Great Britain. I've even got a catchy name for this new nation: the pacific coalition of states, or Pac Coast for short.

I'm also going to go out on a limb and predict that a combination of pushback on federal enforcement of marijuana laws and immigration policy is going to be the match that starts the fire burning. I believe popular pressure on both of these issues is going to force the coastal states to take a stand rather than roll over, and things are going to escalate from there.
Super slow motion save the bees film with wasp attacks
Good to see the all powerful msm have some competition
> However, it is a good job for a boy that wants a job and does not have any special interest or hobby.

This seems slightly absurd. Tech is one of the few jobs which people move into after taking it up as a hobby, and for which doing it as a hobby is almost seen as a requirement. This is not generally what happens for doctors, nurses, lawyers, accountants, teachers or surveyors. Other jobs for which this applies are generally very poorly paid for the vast majority e.g. actor, footballer, musician, etc. Although many people do go into IT because they have no specific interests, moreso admin roles at big companies, which tend to be have a higher proportion of women than programming roles at startups.
I agree, that headline is sensational. What the pope actually said was little more than a restatement of Matthew 7. I'd argue, however, that the potential impact of a sensational headline like this – i.e. the foreseeable consequences of publishing it – pales in comparison to a Breitbart News headline like [1].

1: http://www.breitbart.com/big-government/2015/06/17/gay-right...
It might've been better if it was multithreaded or something similar. It added 4287583 domains from sorted_unique_cf.txt. That'd take awhile.
The most important thing is it's ubiquitous in Finance. If everyone has it, it's very hard for someone else to introduce a competitor that others don't have.

It's also got an interface that everyone is used to. Not a great interface, but one that everyone knows.

There are cheaper alternatives, as well as easier to use alternatives, and alternatives with better analytics. But in general they just layer above BBG, they don't replace it.
Would you expand on this? By most voters do you mean registered voters? Or that Clinton didn't win a majority? From the popular vote results I've seen, Clinton won a plurality of the votes. Not that the popular vote determines the outcome of the election.
I think this is their slack channel: http://golemproject.org:3000/

might be worth asking there
Whataboutism at its finest. These guys will go full nuclear.
"California is almost certainly going to break off from the larger United States in our lifetime."

What?! That won't happen.
I'd say most of the coverage was negative, the kind of scandals that have brought down many other candidates.

Somehow, in Trump's case, there was no such thing as bad publicity.
For Millionaire Immigrants, a Global Welcome Mat
What possible reason could they come up with to do this? Do we have the same problem in Border Control that we do in our Police, bullies just bullying because they can?