skysight-inc/HackerNews huggingface dataset:
Bounds checking can be a nuisance in Golang as well. One trick I've picked up is if I want to iterate over some small prefix of a slice, say the first 10 bytes of a slice of bytes that is known to be longer than 10 bytes, it is tempting to do this:

for i := 0; i < 10; i++ {
something(honk[i])
}

But if you do that, you get a bounds check on every iteration. Much faster to do this:

subhonk := honk[:10]
for _, v := range subhonk {
something(v)
}

There's no range check inside the loop of a golang range iterator, for obvious reasons.
I think that inheritance and composition are not the interesting aspects of object oriented design, or of any language or paradigm. These are tools for code brevity / reuse / elegance. Advanced copying or ctrl-c.

I would also argue that too much elegance in any language or design paradigm faces the same problem, in that elegance is often (but not completely) in tension with modularity or granularity of control, which is an engineering subgoal, because a common engineering situation is to experience system change (feature growth or reorganization of code), and improvements in granularity or modularity makes system restructuring easier.

I think that object oriented design is more essentially about modelling distributed state, because you probably have multiple objects with their own internal state. I believe this means that object oriented design is highly concerned with protocolized communication and synchronization between distributed states, whether via messages or channels or something else.

I believe that in distributed situations, object oriented design can be very harmonious with functional reactive programming strategy. You can easily and usefully have a situation where an object functionally updates its internal state with a typed stream of inputs.
The water flowing around the ship's hull washes the sediment out from around the bottom of it, and the ship continues to sink down into the pit that creates. Eventually the ship sinks far enough that it quits impeding the river, and the silt carried from upstream fills the hole back in.
> if UNIX had been written by skilled Rust progammers, it would with any luck have some abstraction that provides more isolation and less potential for interference than the filesystem.

I think this is kind of absurd and my guess is you haven't worked on a filesystem driver. At a certain point there is value in admitting that race conditions are a part of the universe and developing strategies to deal with them, rather than waste a bunch of overhead trying to isolate a program from the real world or from itself. The semantics you seem to want would be really crazy for a filesystem.
Which could further be caused by social tendency to punish or ridicule men more than women for the choice to seek mental health help.
Factually true comment being downvoted (as I write this).

DDG is itself a privacy proxy for search. Yahoo's privacy policy doesn't much matter if DDG are proxying (and anonymising) search requests. The substance of search results would matter.

(Incidentally, since the switch, and I believe DDG were using Bing principally earlier, quality seems down somewhat.)
> Does Trump flat-out lie?

And yes. You did say you saw this, right? After seeing this I'm not sure what is in question.

http://www.politifact.com/personalities/donald-trump/

You can go to the "people" menu and compare it with other people. Yes. He flat-out lies. More than most politicians.
I also had a very similar issue. My less than one year old Lenovo Yoga laptop kept refusing to boot up and I sent it back for repairs after failing to demand a replacement or refund, only to get it back with a replaced motherboard and the EXACT same issue. Fast-forward a couple of months of shipping and back-and-forth communication, I had to contact the BBB. I had initially been put in contact with a customer relations representative and they completely stopped taking calls. I never did anything to bother them, except try to make contact with the rep. The BBB forced them to communicate with me again. The call-center was useless because I already had an open ticket, and closing it would be bad because my warranty had just expired. I'll never buy from them since they tried to ignore me completely up until the BBB contacted them on my behalf. I'm almost certain they were hoping I would go away once my warranty expired.
Rasberry Pi are slow as hell and don't emulate recent consoles.

"Why Perfect Hardware SNES Emulation Requires a 3GHz CPU"
http://www.tested.com/tech/gaming/2712-why-perfect-hardware-...
You gotta admit it was quite funny. There needs to be balance. Let it be.
Thanks. Any mailing list threads / bugs I should follow for this? I haven't checked the state of Linux on the XPS 9350 since mjg59 posted that thing about everything being broken.
“We’ve shot four people.” The Turkish Coup through the Eyes of its Plotters
That's reasonably fair, but it's worth noting that even in these situations the true circumstance might be a little more nuanced than the idea of a "true model" suggests.

- In polling, it's a bit of an ideal world idea to think that the true voting preferences of all Americans are (1) fixed, (2) consistently measurable, or (3) even relevant given a lot of people won't vote. These are all sources of unknowns and variances which make me pretty unhappy with the idea of the idea of a true model even here.

- In physics there's definitely a notion of a true model taken under the assumption that one set of equations and models is "correct" (which is its own philosophical problem!) but even then experiments don't measure this true model perfectly. They're also based on correction for variance in measurement and tooling which is assumed to be eventually ignorable. In any case, this has a much more definite notion of a true model, but I still find it difficult to swallow all together.
This is a 2015 story that I remember reading, then. Google news search shows only a couple articles this year about Rex Computing and only one tiny bit of news, that they're at tapeout. That's probably par for the course for a startup creating product (or prototype) one.
http://semiengineering.com/power-centric-chip-architectures/

also a speaking engagement:
http://insidehpc.com/2016/01/call-for-papers-supercomputing-...

and a comment elsewhere that mentions another approach: the "Mill CPU of Mill Computing"

As I recollect (perhaps quite wrongly) Itanium (VLIW) failed because compiler-writers couldn't really be bothered or couldn't mount the learning curve. So I'm most curious about what progress is being made on the compiler side.
That was for all of Yahoo. This is for the search & advertising part. These are measurably inferior than their competitors (although, by less than you might think) but more importantly, have failed to win at the network-effects game.
Now 30% stronger. Same material as used in aeronautic and surgical field. Military grade!
I've found DataCamp to be pretty good too. Have you tried DataQuest [1]?

It's mostly Python (a little R), but just wondering what others think.

[1] https://www.dataquest.io/
That's true now but not in all historical periods. In the original system, m. was an abbreviation for mille, and not a composable component of the numeral at all. In effect, it served as a comma does in English text today, to separate the thousands from the units -- both of which were encoded using the composable letter system we are now familiar with.

Later, of course, people assimilated the operation of the M to the other letters, esp. on the dates of printed books. However, if we are discussing manuscript practice in the 15th century, the medieval approach and not the modern approach to Roman numerals would likely be in play...

In any event, using mm. to represent mille mille (a thousand thousand, a million in modern parlance) would create no cognitive dissonance as it does today.
> “saw something on the blog they interpreted as out-of-bounds from Google policy and took it down.” The disastrous consequences probably stemmed from “just a stupid mistake,” she said.

So it is a bit like when the cat trips, falls down the stairs in some undignified way, then immediately stands up keeps walking like nothing happens, looking like "Yeah I totally planned to do that, it was not an accident"

Perhaps after so much time has passed and so much stonewalling, it is just too late to admit that they made a mistake apologize and restore content. (Well and compounded by the fact that there is probably no content left to restore). It seems in their best interest to keep quiet and stonewall the issue until it goes away.

But on the other side, given that content there -- which included slightly edited explicit ads, it is probably not surprising Google did what they did. I imagine for every site with content like that, Google employees would go out of their way to see maybe the user is a known artist or writer and this is just art. That's understandable, however what is not understandable is not having a way to restore, warn before, or explain what happened afterwards and have a way to revert the action.

I imagine at this point Google is pretty much a monopoly. If it decided to charge to use GMail, or force me to listen to a 5 minute ad every, I don't know if there is an alternative that has email, docs, calendar, and others at the same level of quality.
I lived overseas for a great while, so some of this is first hand observation. I hold the equivalent of a US green card in a foreign country and worked extensively through Asia followed then by Europe.

Roads without potholes : Germany, Japan
https://seattletransitblog.com/2009/04/17/japans-highways/
http://bridgemi.com/2014/04/why-are-germanys-roads-better-or... (after a more detailed read, this article doesn't support my point, but it's still interesting. And the roads in Germany were nice when I drove on them.)

Trains running on time : Hong Kong, Japan, South Korea (I heard horror stories about the UK system, but it worked well enough for me when I've gone there)
http://kotaku.com/ever-wonder-why-japanese-trains-arent-late...

Countries by literacy rate : https://en.wikipedia.org/wiki/List_of_countries_by_literacy_... (You have to go down to Syria to for the equivalent US literacy rate. We don't report our figures, but a quick Google search puts it about 86%)

Beloved national Health systems: Canada, France, even the UK's NHS

http://www.gallup.com/poll/8056/healthcare-system-ratings-us...

http://healthcare-economist.com/2008/04/14/health-care-aroun...

Hope this helps~
Oh god, I still have nightmares about Herstein. I took an undergrad algebra class from a very old-school prof who thought it would be good for undergrads to be exposed to some of the problems - they gave all of us quite a bit of trouble.
I went to a state College (Mizzou) and everybody I knew that was in a CS degree took a Haskell course.
> Unhappy if iPhones suddenly doubled in price

Pretty sure I remember Apple saying it would cost a whopping $7 more per device to build an iPhone in the US. The real problem is that the US lacks a wealth of (low cost?) suppliers for the various parts in the phone itself, so it would be difficult to innovate at the pace Apple wants to move at.

(The example given IIRC was a change in the case or screws or something at the last moment demanded by S. Jobs that Apple believed couldn't be implemented quickly enough in the US.)
The first part of the video[1] is also worth watching. It has the current owner explaining how he got it and some careful investigation of the device before the actual repair.

Ben Heck has some impressive videos in general, watching him work always makes me wish I was better at electronics.

[1] https://youtu.be/ug-CyGXMabg
This all depends on how much your compiler changes and how often you upgrade the compiler. Do you fix all the new warnings before upgrading? If it's a large codebase, that can take a while. Meanwhile your continuous build can't use the new compiler. (Or in practice, that's when you stop using something like -Werror and start disabling the new warnings.)

For most open source projects, it's probably not that big a deal. But for something large like a monorepo, we're talking about hundreds of millions of lines of code that worked before.

People should be able to use the new compiler while someone goes back and looks at the new warnings. Assuming it's a priority. This task isn't automatically more important than other work.
Beautiful PDP-11/20 on ebay
The importance of software design review
Facebook wasn't a failing company at the time.
This whole article is based on the false assumption that we ever lived in a fact-based world

No it's not, and it is important.

It explicitly calls out this argument in the last paragraph. Talking about the period leading up to the second Gulf war:

But for all their cynicism, the spin doctors and political technologists were, at this point, still trying to pull off an illusion of the truth....

Now, ~10 years later though:

one reaction has been to double down, to deny that facts matter at all..... Putin doesn’t need to have a more convincing story, he just has to make it clear that everybody lies, undermine the moral superiority of his enemies and convince his people there is no alternative to him. ‘When Putin lies brazenly he wants the West to point out that he lies’ says the Bulgarian political scientist Ivan Krastev, ‘so he can point back and say, “but you lie too”’. And if everyone is lying then anything goes, whether it’s in your personal life or in invading foreign countries.
Thanks! I've posted that as well — honestly, I believe that both of these are tremendously important accounts. We who have ears to hear, let us hear!
That video highlights part of the problem in Africa, well after negotiations have brought in the highest <i>briber</i>.

But it's all part of that complexity of doing business there.
Kernel 2.6 is more than a bit out of date, ok maybe kernel 3.18 is a bit out of date but kernel 2.x (and really 3.x) is /really/ out of date.
Another example in the long, sad history of algorithm-driven companies having no respect for art or creativity or culture. It's not really something out of spite or distaste, but eventually you end up leaving a trail of bodies in your wake because you can only solve so many problems by having people watch over the algorithms, and your revenue takes priority over protecting culture.

Google ends up catching a lot of heat for this (rightfully so) if only because so many people use their services. High-traffic youtube videos filled with racial slurs and abuse staying up for 2 months before the abuse department finally takes action, or important pieces of cultural history getting nuked without explanation or recourse, or people's gmail accounts getting utterly destroyed with no ability to transfer the address or take a backup. In the end nothing can be done about this stuff because in many cases, nobody actually knows what happened.

The youtube case was especially troublesome because I went to great lengths to get it dealt with, and in the end it was a result of policy issues combined with bad technology - the human oversight was prevented from doing anything about the problem, and as a result vulnerable kids were exposed to torrents of hate and the uploaders reaped the ad revenue all while stealing another person's work.
What FOSS-freaks are on medium? The communities I know of congregate on reddit, IRC, forums, and blogrolls
The NeoMutt Project
Are you serious?
Nevermind all the complexity your solution introduces, how is someone supposed to keep track of it?

When we're able to identify problems and come up with solutions that only help people with tons of experience and obviously too much time on their hands, we do others a disservice.
Weed helps you ease the cortosol onslaught of any shitty situation. Stress, depression, homelessness, etc...

This reminds me of a study where depressed people were shown to have higher rates of gum disease.

And just for fun there was a recent study where pot smoking has been linked to gum disease.

Why even go there with your research? Why not choose any other arbitrary thing. Like comfort food, binge watching tv series, sleeping in, etc, social network use (oh wait, they already did that). It's like -- no shit sherlock.

It seems silly to me.
I've interviewed at Uber as well. The truth is failing / passing an interview is a really bad indicator on how good a coder you are. My uber interview was like any other interview. Don't take it personally. Keep calm and move on.
>(Well and compounded by the fact that there is probably no content left to restore).

Google never deletes anything. Ever. The "deletion" is just another data point for them. The content is certainly retained.
Democrats in disarray on eve of convention to nominate Clinton
Google users number in the billions. Paying Google customers number in the millions. For example Google drive: http://fortune.com/2015/09/21/google-drive-1m-paid-users/

W/r/t ads: the carriers who are aggregating anonymous useage data and reselling it are not revolutionizing their revenue. They are deflating the value of ads. This cuts into Google profit margins.
You Should Be Terrified That People Who Like “Hamilton” Run Our Country
Perfect is the enemy of good.

Sure, you won't get 100% game coverage, but you'll be able to play most games.
So Verizon is too incompetent to make money on wireline so it's looking to sell it. And Google isn't chomping at the bit to buy it because?
You're right. I guess the connection being reached for is "lymphatic transport" (title of paper) -> "waste transport" (synonymous) -> "toxin removal" (a very specific type of waste transport?)
This is really another form of what the Chinese practice - transfer of technology.

Want to do business here (in China)? Agree to transfer some of that fancy technology of yours. So far, it's worked so well for the Chinese.

This should be no different. Helps to keep more of the money in the local economy.
Google Races to Catch Up in Cloud Computing
She lost support of the investors when it became clear that the turnaround plan was a complete failure. Initially she was given a lot of latitude to make whatever moves she deemed necessary including blowing a lot of money on failed acquisitions and key hires that didn't work out. Now maybe Yahoo was beyond saving, and it was going to fail anyway, but Mayer's execution didn't seem to help it at all.

This reminds me of JC Penney, where investors also brought in an exec from abother successful company in the hope that they could replicate that success. In that case it was Ron Johnson from Apple, who tried to replicate Apple's retail strategy at JC Penney with devastating results, and certainly not for lack of being given the latitude to implement whatever changes he asked for.

The situation at Yahoo is pretty similar. I wouldn't blame the board and investors for finally trying to cut their losses.
Yeah, something like this is very much needed, but it's not the hard part. The software is the hard part. The software is the reason we have the multiple levels of cache we have now. Without solving the software challenges, there can be no challenger for the existing architectures.

It's interesting to note that convolutional neural nets (CNNs) are one solution to the software challenge. It's an imperfect solution, in the sense that CNNs are not as general purpose (at the same efficiency) and have strict data requirements for training, but it is a solution, and the big N are investing heavily to the point of designing ASICs.

Eventually, though, we need to solve the software problem. That will require rethinking programming languages.
Just to put those words in context - I use Dell XPS 13 with Linux 4.7 and my power usage drops to 4.1 Watt discharge rate and holds an average of 6 W when I'm on average use.

That means that I usually have around 7-8 hours of battery on my average use, and if I'm in a battery-sensitive environment like a long flight, I can reduce screen brightness and turn off wifi and get up to 14 hours of battery.

Right at this moment I have Fx with 2 windows, 10 tabs each, half-brightness, wifi on, and I'm at 5.78 W, 87% battery with 9h 28m left estimated.

I believe Windows may have even better, and I see my NVMe not dropping to the lowest power saving state, but it's not that bad IMO :)
Can you please cite this or is this just BS speculation.
A warning doesn't stop them from filing a bug report.

It doesn't have to be an error though.
Show HN: FormulaDesk – powertools for Excel
> Rasberry Pi are slow as hell and don't emulate recent consoles.

Yes, but there's a bunch of old titles which are still worth playing. The video games scene did not wait until the 2000s to be interesting.
Can you recommend a book for learning? The Camel Book equivalent?
Research divisions exist for recruitment purposes. Sometimes it's just a bait and switch, being promised "R&D" and then getting interviewed for Google Play Store once someone realizes you're not qualified enough. Other times, you work on research for six months, and then there's this team at the company that needs work from you for two years.

Ask the former MSR executive, who fixed the accounting of their losses by pointing out how people at MSR were working on regular MS commercial products too.
Do you know where I could read about this? I can't find anythign about it at all.
We just switched to pro version hoping having dedicated IP will help
Always, it's human beings way of making sense of the infinite complexity of other human beings.
I don't think about coding that way. To me debugging is more like a Sherlock Holmes investigation rather than a formal theorem proving process. I guess we maybe work on different kinds of programs.
That's a pretty interesting idea... I suppose you would make a guess at first to allocate containers and then adjust over time automatically? But in a monitored environment you're already going to know those stats so actually I'm not sure how this helps.
Bizzare way to get into US
>everything is an object, no you can't write a function outside of a class

This is all really semantics, when you consider static methods and classes as nothing more than namespace or extended function names.
The fiber isn't useful without the optoelectronics.
This is very neat. I want to have one, but don't want to have to assemble it. Any ideas about where I can buy one already assembled? (I wouldn't mind, say, paying a 20% surcharge over the prices mentioned in the article).
Would be funny if they switched to Bing since that is what Yahoo search is now any way.
Did you even read the previous comments from the earlier submission of this article? People likely complained about the nature of his content in addition to it being against their TOS.
Zimbabwe had many problems that caused its economy to tank. The local ownership requirement was not even a major factor.
> User count should not ever be exponential of customer counts.

This makes no sense.

This is the backbone of the entire internet. Ethics and the value that users get from a company/service are all subjective, there's no hard rule that you can lay down like this.
To the guys on this thread who talk like they're some mini-pundits who know it all saying this is what Yahoo gets for walking away from larger valuation offers from a decade ago: No one thinks you're intelligent for pointing out something years after the fact. Tech companies come and go, and I would bet that a lot of the hottest tech companies right now will meet the end just like Yahoo did in a decade (or less).

Imagine if Google becomes irrelevant in 10 years, and end up selling itself to whichever hottest tech company that will be around then. Will you say "Told ya! Google should have sold to Yahoo when Yahoo was going to acquire them for $3 billion!"