skysight-inc/HackerNews huggingface dataset:
Namely, concrete sizes are given, so the compiler backend can optimize this down to simple loads and stores, which is going to do better than the bit-shifting approach

It can't optimize it down to simple loads and stores unless it can prove that it's aligned. If it can't optimize it to a simple load, it has to check for alignment. If it has to check for alignment, it's unlikely to be faster than the byte-loading function. The bit-shifting approach can be parallelized by superscalar CPUs if you unroll the loop. Whereas the alignment check cannot be parallelized on CPUs where alignment matters, whether or not it's been unrolled to load in chunks.

FWIW, memcpy can be similarly optimized in C. memcpy -> scalar assignment is an optimization that GCC (and probably clang) performs. But if it can't prove alignment it can't optimize it to a scalar load/store, and alignment typically can't be proven except for small functions where the optimizer can see the definition of the array _and_ can prove any pointer derived from the array is properly aligned. That's generally not the case when juggling user-provided strings because there are too many conditionals between where memcpy is invoked and the origin of the pointer.

Also, as a general rule unaligned loads are slower even on x86, so it often times makes sense to check for alignment regardless, especially to optimize the case of loading a long series of integers. And when performance matters, that's precisely what you want to do if you can. You want to batch load the series of integers because doing operations in batches is the key to performance on any modern processor. Indeed, it's the key to SeaHash as well. And that's what I meant by saying effort and code complexity is better spent refactoring the algorithm at a higher level than trying to micro-optimize such a small operation. And in addition to often reaping much better gains, you often marginalize if not erase any benefit the micro-optimization might had provided. It's beyond dispute that the gains from SeaHash primarily come from how it refactored its inner loop to operate on a 64-bit word instead of 8 8-bit words.
> I have yet to see any of this.

mem::forget-pocalypse was this. (Rc/Arc, Vec::drain, thread::scoped)

Any UB bug that results from an overflow is kind've implicitly this.

BTreeMap::range still has an UB bug from trusting the caller! I literally asked you to fix it! https://github.com/rust-lang/rust/issues/33197

Bugs happen man.
The United States is already uncomfortably close. To pick a news article at random: https://www.washingtonpost.com/news/wonk/wp/2016/04/25/how-o...
Note the CBC already has $675 million in funding from the Federal Budget - this is on top of that.
http://www.theglobeandmail.com/report-on-business/liberals-p...
I believe you're unfairly characterizing the US being "blase about its officers of the peace killing people in the streets" there were approximately 990 people killed by police in 2015 and 2016. In a country of 325M with the focus on highly dense urban areas. In a particular segment that constitutes less than a quarter of those deaths there has been heavy rioting and police officers hunted and murdered as a result.
Yeah, but for ad-free Beachcombers, it might be worth it.
For those of us who were unsurprised by a trump win, The Post has nothing left to lose. The MSM has been acting this way for decades, and it is finally obvious to everyone.

The Post is fake news.
While this is a civil charge, I do hope we eventually see criminal charges that pierce the corporate veil and hold company officers, including Holmes, responsible for the fraud they perpetrated.
> 1. Those customers who were stolen from will get to participate in the mother of all class-action lawsuits. The settlement will be outlandish. Juries hate huge corporations that screw the little guy, and the lawyers on both sides know it.

Nope, since they have a mandatory binding arbitration clause. See http://www.nytimes.com/2016/11/24/business/wells-fargo-asks-....
Well, technically they tacitly are... meaning that if the advertiser didn't like what they were saying, the advertiser can pull funding... but if the funder (sans ads) is a state/government agent, then its much less desirable.
CBC has a pretty good history of pushing back against both itself and the government, I've never felt the CBC was corrupt or a government mouthpiece, I do worry about that last point also though.
To add to this, you can buy GPS time source dongles really cheap and in Linux it's not too hard to run one as a parallel/backup time source.

Especially when using distributed databases where write priority is determined by timestamp, someone wrecking havoc with your time source could bring down the database
CBC produces at least 4 radio streams (Radio 1/2/3 in english, and at least one in french), and at least three TV channels (CBC TV, CBC News Network, and Radio-Canada)
Parts that you mention are part of those findings. Seems to me all this could have been done in vitro. No mice brain cage mutilation necessary to see if a cell with some genes reacts to a certain wavelength of light.
This isn't just radio, this is also their television channel and the news website. I don't use the radio but I easily get $45/yr of value from the news I find through CBC.
I should have known you'd show up with some bullshit misdirection.

The scale of the fraud is enormous because it involved millions of accounts. That means millions of individual decisions to misuse customers' accounts for personal profit. The fact that it generated very little income for WF just means that it wasn't a very successful fraud. You don't get to evade criminal liability by saying that your criminal enterprise worked poorly and failed to run an impressive profit.

management actually took action (albeit stupid ineffective action)

Having instituted the policy to begin with, and with the knowledge of how such policies incentivize people, the management bears responsibility for not only the original problem but the ineffectiveness of the subsequent response. The CEO and his peers aren't some clueless kids that got into the C-suite and pushed random buttons on some big control panel, they're experienced managers with a deep knowledge of economics and institutional dynamics...in fact I'm probably selling them short, I'm sure their resumes tell a much more impressive story about their capabilities. So since they were good enough to hire into senior positions, they are surely good enough to take on the responsibility for the highly predictable outcome of their decisions.
Thank you for your kindness. But it's none of your business.
To me, the question is: Does the public want an information service that isn't beholden to their advertising money, but instead beholden to their chosen representatives, and are they willing to pay for it?

Thats the basis of pretty much all government services, and even government itself. Its not for their direct financial benefit, just as purchasing a cable subscription isn't to one's direct financial benefit. But its moving where the money goes towards something more accountable to the people.
> The only ads I hear on it are ads for its own programming.

I wonder if they would also eliminate their house ads?
For those who are unaware; the UK TV tax of roughly $15 a month. I never signed up. I'd get a threatening call from the BBC every 6 months trying to shake me down with threats of fines and jail time. I told them that I didn't have TV or the internet at home. Their response was internet on the phone or at work was sufficient to be liable. I told them to b*gger off and they did. For 6 months.

In general; I'm not a fan of states forcing people to pay for things they don't want.
The employees' goal posts got moved repeatedly, to the point where employees started cheating out of desperation.

The CEO is culpable because of his "eight is great" mantra. The average citizen does not need multiple checking accounts and multiple credit cards. The entirely goal of the "eight is great" program was to use high pressure sale tactics to push services onto customers that they didn't need.

> At the end of last year, the average Wells Fargo retail customer had 6.3 products, according to the company. [1]

For retail customers this number is absurd. The CEO was fully aware of this. There were whistle-blowers, of course. They got fired.

This was a failure of corporate governance, a failure of internal checks and balances, and a complete moral failure of the chief executive.

So yes the CEO should be held accountable, and that should include jail time.

[1] http://www.wsj.com/articles/how-wells-fargos-high-pressure-s...
Bestcase seems like a poor metric when the CPU scheduler could certainly cause 7% variation. I would be interested to see, say, 100x the number of runs, and see mean rather than best, since one usually cares about average more than best.

I also wish I knew what optimization settings GCC/etc was using, and what effect tweaking those has.
I wonder what it would cost them to broadcast over the air instead? They stopped doing so in the transition from analog to digital, leaving people like me without cable to do without our "public broadcaster". Now pardon me while I select from the other two major (private) broadcasters that somehow managed to transition over.
Perhaps "resupply" would have been a better word.
I wish. Newspapers seem to have decided that the best way to attract readers is to imitate the magazines that live near the supermarket checkout.
I was intrigued by the method of piping pixel values to MPlayer as a frontend. I'll definitely be using that in future projects.

It makes use of this video format, which seems almost like a video equivalent of the PNM image format: https://wiki.multimedia.cx/index.php?title=YUV4MPEG2

I wish there was something similar that used RGB though.
You kill people that rob other people? Where are you from?
The whole thing is baffling to me.

First, why wouldn't they just keep the ads and ask for more funding. It would be a smaller ask.

Second, why do they want taxpayers to effectively fund the private media? Maybe the GlobeandMail should ditch their crappy pay wall or maybe the National Post shouldn't auto-play videos.

Third, if CBC had no ads, it'll be a better experience and it would gain customers from the privates. It's a fairer playing field if CBC has to fund itself. The whole problem of govt funded corps is that they have an unfair advantage against privates, but they're saying the opposite?

(I guess it's not as bad as the NDP in Alberta taking $1.3B of taxpayer money and giving it to the electricity producers.)
>The market moved from a school having a couple of slow computers to everyone having multiple supercomputers.

This is exactly what he says here:

>Hardware always starts expensive for early adopters and gets radically cheaper as adoption scales up.
Forgive my ignorance, but how many undergrads have actually published a paper? I'm not saying it's impossible, but I was under the impression that this is something that happens once you get in to grad school, not before.
What would you say to the people calling for the dismantling of the CBC?
Yeah, Anne of Green Gables was probably a better example. :D
If you look more than 50 years into the past, to any civilization on earth, there are a number of behaviors and norms that were totally acceptable to the people of the time that modern man/woman would consider morally repugnant. Not allowing gays to marry, not allowing people of different races to marry, not allowing women to vote, slavery, ritual sacrifice, etc. It follows then, that there are likely things we view as morally OK that future generations of humans will condemn us for. It's a healthy exercise to imagine what those things might be.

Reading about this research makes me think that this sort of animal experimentation will certainly be one of those things.
I'm positive that my taxes go to things I don't want as well as things I do.
Site is offline. Any relevant links?
Sure, but you're currently getting that value, it's still not an increase in value to you of $45/year. And it still doesn't rationalize it for someone like me who doesn't consume CBC content much to pay that.

I find they're way too politically slanted in their news coverage and I'd rather deal with the ads than pay them $45/year for the few programs I watch occasionally.
> The questioner thinks I made the wrong choice

There is that implication if the questioner mentions a specific alternative. Compare the simple: "Why did you choose Node.js?"
What is your reason for thinking they aren't?

Advertisers are almost completely in charge of what shows makes it to TV - that's what they do at https://en.wikipedia.org/wiki/Upfronts - they show advertisers proposed shows and the ad execs pick which ones make it to market.

The advertisers can't pick the specific content of news type shows, but they can pick which news shows are broadcast in the first place.
or she go could extreme, cut down to 50 employees (250k total comp per person) get down to a 20 mil a year burn rate which would give her 20 years or she could go even more extreme and be more or less set for life
That's not the issue (we have our own lodash-ish thing for immutablejs at work). Its that immutablejs itself isn't maintained much. Doesn't matter how many layers you put on top.
Can you back out $12?? I would put the BOM closer to $6 if I'm going with the high estimate, and more than half of that cost will be driven by the ATMEL and OLED.
> If you don't trust the class action to provide you with an equitable settlement, you can opt out and sue them individually. No doubt many lawyers are already lining up for the easy money here.

You either aren't familiar with what the colloquialism "easy money" means or you are really underestimating the difficultly of going to court against a bank.
From your own article: 5,300 employees were apparently engaged in fraudulent activities under his watch.

Profitable or not, I stand by my statement.
It's fair in that the Senate can't impose any penalty on him other than a public shaming. I agree that it would be better if the judiciary took on this case. Unfortunately Congress holds the power of the purse and that effectively means it can keep the DoJ on a much shorter leash than most people appreciate. Also, sadly, the complexity of litigation means that if it goes to court Wells Fargo could just keep the proceedings spinning out for years before it ever gets to trial, by which point almost everyone will have forgotten what the original issue was. Indeed, this is more or less what happens now.
Zenefits Fined $7M by California Insurance Regulator
The C virtual machine is described by the C standard, implementations of such do vary which is due to a combination of bugs, vague language and interpretations of the standard. But ask anyone to build a house given 100 pages of text and see what happens.
Not a typo, but misleading. Very few people bought tapes when they were $70-$100. The only purchasers were video stores. There wasn't a slow glide, it went from very high down to $20 quickly, a few years after VHS killed Beta.
I'm guessing they're facing conflicts of interest that they would not have to deal with if they were not beholden to advertisers.
It also says "Overall,
they find that the efficiency cost due to economic regulation is large and that
the benefit from social regulation is positive but small."
Why No One Clicked on the Great Hypertext Story (2013)
I would not be surprised to find out the brain backwards rationalized it and the mice from their point of view always thought they wanted to do that.
What about a massive fine? Enough to recover all of his bonuses and a good chunk of his salary during his time as CEO?
Founders give advice on turning uncertainty into innovation
Yes, it is weird.
What about the BBC they seem to walk the tightrope of being funded by the government while still being about as balanced as a news org can be.
It's hard because I see both sides of the coin, I worry about the same worry that most people point at, bureaucracy, blah blah blah. It's just that without a Canadian voice in the world, I feel we'll lose a lot, much of the original CBC programing (especially radio) talk a lot about what it means to be Canadian, where we came from. My parents and parents parents and I were all born in North Western Ontario and I feel like there was something special about listening to the CBC and understanding the culture.
Agreed, I now live in a tax haven. It's every bit as awesome as I imagined it to be :)

I wouldn't mind paying some tax but there is a point where you're paying for your own propaganda / chains.
The catch here is that if DFP were to enforce technical standards to the extent of including performance, publishers would leave en masse. What they want from DFP (as I understand it) is hosting that just works; they don't want anyone in the way causing some ad campaigns to not get trafficked at the right time, or killed after serving for a while, or anything else. And worse, I think that you'd find that a very large number of ads wouldn't comply with any such standard - display ads aren't good, by and large. So even with a perfect offering publishers would look at the numbers and say "you know what, nevermind...turn the crappy ads back on." A pretty good approximation for publishers I've found was to say "if you give them a knob between anything and revenue, they'll turn it towards revenue." That by and large includes sacrificing user-first principles.

So one difference to your example is that viewability is desired - it's a direct metric that helps to approximate value, which advertisers like. But performance is not. Users cannot generally tell _which_ ad made their browser lag, or that it wasn't the page's fault. The best you could possibly do is to measure long-term-value, but because any given publisher only gets a tiny fraction of a user's time, and any single ad that much less, my recollection is that the LTV isn't really moved at all regardless of experience. It's going to take an industry-wide shift to move the needle here.

HTTPS is a closer comparison, except that it takes big parties again to force the issue - it's user positive but revenue negative and lots of work. So it comes back to the issue of who can get this change pushed through, without some party (pubs, advertiser, or users) just walking away. Look at examples of where/why HTTPS has been adopted if you want to see more.

AMP may get to that point, we'll see, but I like it as a possibility. And it's doing more to simply not show ads if they're taking too many resources (with browser assistance iirc? Delay loading? Don't recall what I've read), which is good in other ways.

Which reminds me, that's another plausible solution that I'm liking...if browsers can be more involved in aborting rendering bad iframe'd content, or preventing them from janking the page, etc, then the burden is squarely on the advertisers to fix or suffer reduced impact, irrespective of publisher/ad network. That's great, it puts the incentives cleanly where they should be. So I'm also hopeful that browsers can push through positive results here. Doesn't help with content badness (only latency and other such browser-measurable "bad ad" issues), but is a great starting place. (And to be fair, I don't think AMP solves for content badness either).
On this topic I spotted this tweet with a graph comparing per capita expenditure on public broadcasting. Canada is at the bottom along with the USA.

https://twitter.com/j_mcelroy/status/803353503225630720
Test Induced Design Damage? (2014)
Seems to me the value proposition for a non-user is that the users the non-user interacts with are better informed through less commercially-biased sources. Something like the herd immunity value of vaccination.
Or if you hunt dinosaurs, sic semper tyrannosaurus
DVDFab DVD Copy – Merge
Why on Earth the taxpayer is subsidizing the CBC to crowd out private media is beyond me. It's not 1930. We don't need a state broadcaster to serve an otherwise unserved nation. To the extent the CBC does have a legitimate function, that function most certainly does not include sports, dramas, comedies, etc. By all means, let them adopt the PBS/NPR model. But get them out of the private market, and put my tax dollars to better use.
I wrote a much less complete/polished program like this using WebGL this year:

https://wioux.github.io/tracking-station/

I was playing a lot of Kerbal Space Program and wanted to use those UI concepts to explore real missions and orbital maneuvers. I was particularly interested in the Cassini trajectory. But I started the project before discovering Eyes on the Solar System, which is awesome and now I find I'm kind of robbed of my motivation.
Wow. That's a neat kit.
Political content worth talking about pretty much by definition is politically charged, or so it seems to me. If it isn't, then what is there to say?
I'm primarily concerned with the facts at the moment; I think once those are known, it becomes easier to understand the big picture.

> This graph on the page you linked tells that story: (https://upload.wikimedia.org/wikipedia/en/e/e2/US_GDP_per_ca...)

That graph is misleading because it leaves out benefits and other compensation; a more accurate picture is the graph here: http://www.heritage.org/research/reports/2013/07/productivit...

> It destroys jobs, and (maybe) creates them elsewhere. This can be devastating to individuals who's jobs are destroyed, and we don't exactly do much to help those left behind who cannot re-skill, move into new jobs etc. Think of a 55 year old factory worker who's job is outsourced. They may have been damn good at that job, but the industry is now gone, replaced with another. They're far enough away from retirement that they need to find something else. Maybe they have commitments like a very elderly parent, ties to a community etc that make it hard or impossible to leave where they are.

This is true, but it is also less severe and less frequent than at any other time in American history. Jobs and wages are increasing over the last five years (since the recession) on the whole, not decreasing. On the whole, Americans are better off than probably at any other time in history. So it is not likely that Americans laid off or outsourced made the most significant impact in this political election, there just aren't enough of them relative to the rest.
Downvotes on a mea culpa? Sheesh.
Does anyone have details? Like what is the nominal voltage, power density, etc?
That's a terrible value proposition, especially for someone who finds that CBC is extremely politically slanted in their news coverage. I would say I find regular CBC consumers slightly less informed on average if anything.
Perhaps we should just ban Wells Fargo from business for a couple of years then, equivalent to a prison sentence.
> I also wish I knew what optimization settings GCC/etc was using, and what effect tweaking those has.

From the makefile:

GCCFLAGS = -O3 --std=c++11

MSFLAGS = /nologo /Ox /Ob2 /Ot /Oi /GL
To add to what you already have listed: there is a second radio stream in French (called Espace Musique) as well as a French equivalent to CBC News Network (called RDI for Réseau de l'information). There are also regional broadcast (in both French and English) as well as an international version.
having worked within the CBC, I don't trust the leadership at all! mis-management of funds is a CBC tradition and pastime!

they continue to struggle to understand the digital era, and the executives have gone on record plenty of times in their own town halls expressing their confusion and dismissal of "that thing called the internet".

and while the CBC continues to compare itself to BBC at every turn, that is not a fair comparison, more like a toad contemplating itself a deer.
Economic theory is not predicated on such a thing. Information asymmetry is a modeled and studied effect in economics. The efficient market hypothesis is a model that lets you explain certain phenomena that happen even if information is perfect, and though real life is not perfect, it has resemblances to such scenarios.