skysight-inc/HackerNews huggingface dataset:
I suppose if python had object destructuring like newish javascript (I think that's what it's called) it would be trivial. I don't know what you'd do instead in this case that doesn't involve adding additional methods or something.
There are about 10 articles about it now, look again
Awesome！I'm searching this.
Maybe I'm being uncharitable, but what I read from that story is that advertising saved your company from its own incompetence, since it should have someone responsible for managing those servers and subsequently for doing research upon noticing the problems.

For me, that example actually serves as an extra argument against ads.
> An online freelancer with a low cost of living can live decently.

Eastern European and freelancer here. I can do all that freelance work for much cheaper than any American from a dying coal town. Furthermore, we Eastern European freelancers generally tend to be university educated, are used to working in a global cross-cultural marketplace, and we have a large pool of local talent we can subcontract work out to and thus grow our business. Anyone in rural America who now starts trying to make it in freelancing is likely to lose out to us.

On the other hand, one thing we cannot do – due to our foreign passports – is easily move to a large American city. So, I think moving to the cities is a better option for someone in a dying coal town than staying there and hoping for success in the digital economy.
Experts discovered easily explitable flaws in Arris modems distributed by AT&T
Girl raps cover about addiction to 1800 by logic
Are there any engineering openings at Mozilla?
>>Google customizes search results to what you want to see

That doesn't appear to be the case with OP's original complaint about not seeing their own company in their searches.
I did that analysis a day ago when this topic came up previously, at https://news.ycombinator.com/item?id=15136961 .

There are 13 locations in the standard library where a namedtuple was used to replace a tuple, where making them non-indexable would break code.

There are 8 locations where it's used as a shorter way to write a simple class. My point in that thread was that namedtuple should never be used this way.
I think what they are trying to measure is how much is this build/release system effecting productivity of the engineers and changes their behavior. Not how productive the engineers are per say.

If the build system is super slow and just breaks all the time, your going to see a drop in the number of commits landed per day. If git is completely down and commits per day drop per 0, then you have an outage ;)
Wait, what?! Putting cans in shelves for thousands of years? That's just a figure of speech, right? As far as I know, the process is only a couple of centuries old.
Using an audience’s own data to highlight both play and security
Title extracted from: https://flowingdata.com/2017/08/31/using-an-audiences-own-da...
State of the Web – Karolina Szczur
ctypes can also be used to create C-like structs.

It has the advantage over the struct module that the elements can be accessed and modified in place.
I think ICE cars are just not optimized for prolonged life. Many countries have policies discouraging long lifespans, more than ever since emmissions laws. Also, EOL for a car is several owners and 5-10 years removed from first purchase.

This adds up to a realtiy where doubling the expected lifespan is not worth much more, in sales.

Basically, if Tesla want to make this a goal then beating benchmarks should be relatively easy.
Product placement is legal in TV, why not papers published on arxiv?
I think that if you're penciling in Norway and Switzerland, Canada should be penciled in for the US.

https://en.wikipedia.org/wiki/List_of_countries_by_GDP_(PPP) is pretty clear:

2016 GDP (PPP) figures: US $18.6T, EU $19.7T (6% higher than US), UK $2.8T, EU - UK $16.9T (10% lower than US)
> To parallel an old saying: "big, fast, reliable - pick two."

In this case, perhaps they decided to pick "big" twice.
Show HN: Simply123 – Bookkeeping in 3 simple steps
Cheap Pandora Charms Sale Clearance, Pandora Princess,Birthstone Ring
> It is rare to have two players in rugby running full speed at each other head on.

When they run towards each other, due to the rules, they don't just try and collide and call it a "tackle". I agree football is a more violent game intentionally but it's purely how the game is played and if you change the rules you'd have teams finding ways to play differently, with different skillsets prioritised.
"how much of the day do you spend doing intellectual work?"

But that only measures time, not productivity which is at the root of this problem. You think your advisor is doing ten or twelve hours of deep work, but how do you know they couldn't achieve the same in four or five?

By the way, meetings and emails aren't deep work, even in an academic setting.
Fine, then you won't mind installing an extension or enabling an option that opts you in into being served ads while you browse. I'm sure most of us anti-ads advocates have no problem with that.
It means it will work in Edge out of the box as well?
How many Japanese vehicles were compromised (and had resulting loss of use) by the Takata airbag debacle?
From the article:

> The incentive for holding OMGs, is to take part in the network validation process. We also see a long term value/appreciation in the OMG price as more and more transactions take place on the network.

So you can stake your tokens for a cut of the transaction fees (much like miners do).
http://www.artofmanliness.com/2014/07/10/do-testosterone-boo...
You can opt-out of this data collection in your Google account.
This is the exact reason why I use osmand for my lookup and navigation purposes. Offline maps are a nice feature on top of this.
I actually think having syntactic methods is an important (if not the most important) part of "OOP". You compared x.foo() with foo(x), but that's the wrong comparison. The correct comparison is that when x if of type Tree, x.foo() vs tree_foo(x). Otherwise you get name clashes.

That is, I think the essence of "OOP", OOP-as-used, not any theoretical OOP, is function name resolution depending on type. That and syntax. So first, you write x.tree_foo() instead of tree_foo(x) which is purely syntactic. And then you shorten x.tree_foo() to x.foo(), because x is a tree, which is a great semantic help.

According to this definition, Haskell and C are not "OOP", which matches common understanding.
Literally the next sentence: """Similarly, the number of critical issues arising from mobile releases is almost constant regardless of the number of deployments, indicating that our code quality does not suffer as we continue to scale."""

This is 'productivity' in the sense of the release eng team attempting to measure the volume of code changes they're pushing out and whether changes they made to the push/release process impacted other teams' ability to iterate. Unless you have some insight as to why adopting a more continuous deployment process would change the ratio between LOC pushed or code-changing-diffs pushed to features-or-bugs specifically at Facebook such that they would not function as acceptable proxies, questioning the metric chosen seems hollow. It's certainly not 'productivity' in the sense of whether people on product teams are considered to have done a good job or are deserving of bonuses / promotions.
Speaking from a strange perspective perhaps but here in Sweden (the land of broadband) there was a little rural town in the south that couldn't wait to get fibre so the locals organized all the necessary things to start a town fibre grid themselves.

And now every house has 10Gbps with free choice of operator.

Normally what most communities do is wait for one of the big fibre operators to reach them and start digging. But these locals did all the practical stuff like digging, laying fibre and building the actual grid themselves by hiring their own contractors.

Larger communities, towns and cities, usually have a city wide fibre grid managed perhaps by the local energy company or by the municipality. They in turn might out-source the fibre digging but they still manage the grid and determine what operators are offered to the citizens.

In big cities (we have three of those) you can find multiple city wide fibre grids. One managed by the municipality/city and some y large property owners that take it upon themselves to equip their buildings with fibre.

Regarding the wireless setups in the article I am very skeptical because this was a trend 10 years back in Sweden and a lot of people lost money by investing in it when they could have just waited a few years and had real fibre.

But the US is special because of its size. So wireless might be all they can get for many years.
Because evolution is not an optimizing process? It easily gets stuck in local optima. Look at what a clusterfuck the 'design' of the human body is: from the susceptibility to all sorts of diseases, to the mechanical problems with the spine as support of our whole body weight, to plain weirdness like the appendix.

Your argument seems to revolve around the difference between humans and other mammals, with that I would agree - I don't see a reason it'd be different. But your argument also relies on the assumption that for other mammals the mother's milk is better. That's the whole question to be investigated - is it really so? If so, what is it in breast milk that is better? And once we figure that out, how can we put that into something that can more easily be manufactured and used, so that all women can get the advantages that breast milk provides? It's not like 'nature' is some magical thing that imbues mystical powers on matter. It's all physics and chemistry. We don't understand everything about it, maybe we only understand a tiny part of it; so that's why we have to do the research.
I Googled "ANTIFA is a hate group" and my results did not match yours.

Throughout this thread there seems to be a theme of "my Google search for X returned Y biased, disturbing results" and yet in all cases Google seems to have corrected their results to make it appear that nothing was ever out of the ordinary. Funny how that works.
If you need an angled bounding box, you could probably modify any of the current approaches in that regard. You could also add a post-processing step where you take the predicted bounding boxes, rotate them in all possible directions, and predict the most likely one.

But if you're dealing with known geometric shapes, like e.g. rectangles, you'll get better results if you use "classic" detection algorithms that are already mathematically optimal.

For example, I once had to count the number of atoms in an electron-microscope image. I simply ran a circle detector with very sensitive settings, then culling overlapping circles with lower "circleness" score. That missed a few atoms that were stacked on top of others, but still got more accurate results than the previous method, which apparently involved a poor grad student ticking them off on paper.
A Close Look at IoT Internet Protocols
That's not the point, destructuring works fine on classes implementing `__iter__`:

class A:
def __iter__(self):
return iter(range(3))

for x, y, z in [A(), A(), A()]:
print(x, y, z)

Prints

0 1 2
0 1 2
0 1 2
There must be a point between "advertisement for useless junk" and "useful advice + an affiliate link" where the two cross over, and as far as I can tell the only differences are relevance and directness.

One example of advertising that I think is acceptable are the ads on the slatestarcodex.com sidebar, which are manually placed there by the author and targeted directly at the niche he writes in. If a computer could achieve the same precision when choosing what ads to run, and based its choices on the publication rather than the user, I think it would also be acceptable to me.

Would you find such ads equally unpalatable?
I only skimmed through, but... was there no crypto that needed to be broken in order to hack microcode?
Yes, or hire some entity to manage it. Which is quite different than waiting for it to be managed.

Not to mention the scale of rural communities makes the task proportionately less complicated. Scale matters very much. For example, if you are on the subway, how do you know who owns the magazine in your lap? There's a system of justice at work, it's very small in scale and you didn't need a lawyer to figure it out.
On Muslim holiday, Houston's mosques open to Harvey evacuees
I do believe that we should consider a moral obligation to optimize the sh$$ out of widely used software. Inefficient algorithms running in millions of billions of instances (cloud data centers, smartphones, home routers, smart TVs...) create a considerable environmental footprint fast. This is especially true as long as we are powering them using non-renewable energy sources.

The amount of effort that can be spent on optimizations on this kind of widely used software is enormous before the balance becomes negative. If an optimization that shaves off 1 second of CPU time used per year on each of a million devices will result in a net reduction in energy usage within the first year even if it takes 30 eight hour work days to develop.

This train of thought becomes particularly nasty when you realize that all the computational overhead introduced by the widespread usage of encryption (https etc.) must necessarily lead to environmental damage. To put it in the most provocative way I can think of right now: which is more important: the security of your personal data now or the safety and wellbeing of future generations of humankind?
https://www.facebook.com/help/contact/234887816572954

If someone vouches me, pls
How to Use IoT in Mobile App Development Company
IoT is one of the techniques that is continually expanding the scope for mobile app development companies to create innovation in their field.
I use both. uBlock Origin catches pre-roll ads on YouTube as well as some other things that Ghostery lets through.
If the car has a Mass Airflow Sensor (MAF), then it can more accurately calculate the fuel usage. The majority of older / cheaper cars use a Manifold Absolute Pressure Sensor (MAP) and have to make some guesses at what the actual fuel usage is.
Most of us write new, complex data-structures, that aren't part of the stdlib or a crate, like once a year, at most. Those are hard in Rust if they involve circular pointers. They're hard in C/C++ too, but in a different way (easier to write the code, harder to be sure it's correct).

The idea that Rust would be no better than C/C++ because of the latter parts doesn't make much sense. This kind of work is unusual for most programming. To say that other programming work is easy does not seem to bear out in practice.

And as has been becoming clear in this thread, if you're inventing new data structures, the odds are you overlooked an already existing better alternative.
Ask HN: Link Me Free iOS Game UI Kits?
Hi HN

I am looking for free iOS Game UI Kits. Can anyone link me to some ?
WhatsApp for Business starts roll out with BookMyShow;Ola,taxi airlines are next
Why do you need a prescription in the US to get a blood test?

You don't.
It's a brilliant idea! And so simple at the same time. +1
blocks the data bus (i2c or whatever it is) used to negotiate with the power adaptor. Will cause it to draw power, but not charge the battery.
I'm not an expert on libertarianism, but I looked at the first results from that search and it seems like some libertarians support some form of single-payer but purely as a political compromise, which I assume is what you were referring to. It still doesn't jibe with the ideology, but they seem to think that certain forms of single-payer might be better than what exists now.
What is the reason why up is slower than down?
I think you're being uncharitable, advertising led the company to have a higher degree of competence and understanding.
Decentralized Autonomous Organization – Organizations on the Blockchain
What is that even supposed to mean? You donated money to immigrants, maybe? Unlike what you imagine other Seattlites do? Also, it's silly to think that you'd have to own a house to be part of the "taking their homes" equation.
> and all the BS that goes with it

And all the beautiful scenery that goes with it? Or...?
Everyone thinks some specific types of advertising don't work on them, and dependent on their self-knowledge they can be right.
Consider UPDATEs that depend on each other:

UPDATE table SET value = value + 2 WHERE key = 'world';
UPDATE table SET value = value * 1.1 WHERE key = 'world';

When these UPDATEs are executed concurrently, PostgreSQL guarantees that they are serialised such that the value becomes either (value+2) * 1.1 or (value * 1.1)+2, i.e. there’s no lost update. To achieve this, PostgreSQL blocks the second update until the first one is committed using a row-level lock.

An alternative mechanism could have been to create a log of changes. The order in which the changes are added to the log then determines the order of execution. That way, we don’t have to block the UPDATE, right?

Unfortunately, things are a little more complicated in an RDBMS. Each of the UPDATEs could be part of a bigger transaction block that could (atomically) roll back. Moreover, the RDBMS provides consistency which means that the new value should be visible immediately after the UPDATE. However, the new value cannot be determined until all preceding UPDATEs have been committed or rolled back. So in the end, the UPDATE will have to block until all preceding transactions that modified the same rows are done and the new value can be computed, just like what would happen with row-level locks, except with more bookkeeping (and serialisation issues).

If you strip out some of the functionality of an RDBMS such as multi-statement transaction blocks or consistency, then you could potentially avoid locks, but Citus distributes PostgreSQL, which does provide this functionality.
What does connecting to peers achieve?
Most large C++ code-bases predate C++11, which was really game-changing.
Why is there the Czech national flag in the Apple logo?
I don't get how Razib gets from his data to his interpretation that there is a crypto-creationist attitude among left-wingers.

For one thing, the data his presents does not address the left-right axis, but rather a christianity-non-christianity one. And even then, his graph shows that almost all people who think the bible is a "a book of fables" also believe that both humans and elephants evolved from other animals.

You could look at the converse statistic, and say that among non-christians, people are three three times more likely to to believe in human creationism than elephant creationism. But that would not be surprising if these non-christians contain a large contingent of muslims, jews, hindus, daoists, zoroastrians, rastafarians etc.
GDPR – The Law and its 6 Commandments
I think the OP made it clear that he accepts think tanks have an agenda, and are politically opinionated and motivated.

The implication of "propoganda" is generally more than that.

Personally, I think "unbiased" and "independant" are silly goals, when it comes to politically contentious issues. In practice it leads to a transparent veneer of impartiality far too often. Who says publications can't be opinionted.

In days past, political parties had publications, pamphlets...

TLDR, I sometimes prefer partial or partisan, especially compared to impartial publications pretending otherwise.
The Engineering Manager – The two tracks of growth
It's both. The unpacking of the individual tuples are managed through the iterator protocol as well.
Well, colorful iPhones? Like the iPhone 5c?
Object destructuring is tuple unpacking in python which is exactly what the code example does. What the parent was remarking on was caring about the performance of that rather than the ability.
But most persons actually want to be influenced in their behaviours, it's the whole point of researching any subject in the first place.

Any decision we make is the result of a lot of stuff influencing our behaviours, and the border between researching information on a product and being targeted by an ad for this product is not really black and white.

If I had to chose, I'd rather be influenced by logical arguments than by a nude person taking a shower. Which only says so much about my personal values and is not really a good thing per se ^^
DMA isn't something you access. Direct Memory Access means that an external device can issue reads and writes to main system memory (you call such a transaction a "DMA transfer"). What you access is entirely normal memory.

A DMA transfer is done entirely by the external device, without any intervention by you or the CPU (apart from potentially a cache invalidation before/after, depending on platform). From the point of view of the CPU (and therefore you), data just magically appears. You don't need to memcpy anything anywhere, unless you need to make sure the external device doesn't accidentally overwrite things (who knows, it might be stupid). You can read and write directly to wherever it appeared as if it was any other memory. Caching still applies, although a fresh DMA transfer will of course be a cache miss.

There is a little bit of magic related to memory regions used for DMA transfers, but that is invisible to the end-user. 'memcpy' does not discriminate, and unless you're copying a single byte, memcpy will never operate on byte-sized chunks.

Source: I do driver development for devices that DMA at extremely high rates (we're desperately waiting for PCIe 4.0 to become normal—PCIe3.0x16's 126Gb/s is way too slow for us).
A lot of people talk about callback hell. For me, the biggest issue of Callbacks is that you don't have a single point to catch thrown errors. We need finer control than a global catch-all handler.
To answer your question, I'm a little extreme in this regard, but I view ads as malware for the human brain. They hijack my limited attention span to make me desire products that I would have a happier life if I never knew existed and that I don't have to spend my limited willpower resisting. It's been an extraordinarily rare event in my life that I see an ad for a product that makes my life better. If I want something, I will proactively research it, or if something is popular enough, my friends will tell me about it.

I view ads in their totality as bad for my mental health, and there's no level of advertising which is acceptable to me. All these issues concerning security, privacy, CPU/network usage are important, but they miss the mark for me.
New 7541-piece Lego Millennium Falcon is the biggest and most expensive set ever
Migrate Apps from Heroku to Google Cloud
Bitcoin Price Jumps Above $4,800 for the First Time
Apart from the fact that the cache needs to be invalidated before/after a DMA transfer to ensure cache coherency (automatically or not, depends on platform), DMA allocations have no problem with caches.
Except they are. Catalogued as δ-CRDT, under Lexicographic Counter in https://arxiv.org/pdf/1603.01529.pdf

edit: Although to be fair that blog post is ancient and covers Cassandra 2.0, now no longer supported. Counters were rewritten in Cassandra 2.1.
I would never be willing to pay per page view. I could pay some specified price on yearly basis, but per page is way out of the question.

I'm fine with web sites that use adblocker-blockers. I just don't read their content. Imo that is the way of the future. Obviously these "publications" will lose readers, but maybe we also get rid of most of the junk that's floating around.
Another data point that Google might be in need for heavy regulation.
You only have to answer "yes" once to "Enable high accuracy location" and the have no option to change that, other than reflashing your phone. However if you don't answer yes, it will just keep asking forever every time you turn on location.

I have Cyanogen installed and it still does this, probably because of Google location services.
I always loved the announcements back in the Jobs era. Nowadays, even though they try hard, it just misses the magic.
It's signed.