skysight-inc/HackerNews huggingface dataset:
I migrated a few projects to Gitlab and pull requests and issues seemed to come over with only one problem, all issues were created by me. Not a horrible experience, but could be better (and maybe if the original creators had gitlab accounts, they would have been correctly assigned).
How Google's AI Beat a Human at 'Go' a Decade Earlier Than Expected
> I disagree, cloud backups are more reliable.

You're taking this out of context. It does not download this data from Github, and then remove the data from Github. So the data is still "backed up" in the cloud, but is also now backed up locally. How is this not more reliable?

This also does not preclude the ability to push your backup to another cloud provider (e.g. S3, Dropbox, etc) to distribute your backups across the cloud.

> If the repo goes down it's already going to be a lot harder to use, but it seems easier to fork a repo.

A fork does not maintain things like comments and issues on the original repo, which github-backup does backup.

> When have you not been able to work on a local repo locally?

Github does not stick things like Github Comments or Github Issues directly into your repository. If you are (e.g.) relying on Github Issues to track things to do on your repo, then you're out of luck on a plane without access to that.

> Overall, I think I'm missing the point.

It seems like you've ignored the list of things that github-backup actually does, and commented on it from that point of view. He lists the things that github-backup does, but you have commented on none of them. For example, why did I have to explain to you that it backs up Github Comments and Github Issues on your repository? Were you under the impression that these things were already in your repo? Do you use Github without these things to the point were you didn't know that they existed, or can't see the use-case where someone would use them? I'm a little confused.
Apple is driven by an upgrade model to buy a new Apple device every three years or so.

I disagree.

My wife's iMac is 6 1/2 years old, and still gets the latest OS updates (for free!), though we're upgrading to a new iMac soon.

My iPad 2 is almost 5 years old, and still gets the latest OS updates (for free!), though we're upgrading to a new iPad soon.

It is precisely because our older Apple hardware is still working well, and Apple still supports us with the latest updates to that older hardware, that my family is not only sticking with Apple, but we've recently invested in new iPhones.

Apple has earned our trust.
LLVM makes a lot of things easier, but it is also a huge dependency for a small language. Using C as an intermediate language is a conservative way to generate code that works well for most languages. Also, if you don't mind the machine dependency, generating assembly directly may also be a good choice for a compiled language.
I'd just let to echo this. I personally grew up in one of these homogeneous, suburban environments and I feel like I acquired the meaningful life experiences that I truly needed much later than others who grew up in more urban environments. IMO, the "danger" of city life is incredibly overblown. I actually know far more people struggling with drug addiction in the suburbs where I grew up than in the city where I now live.
I saw this yesterday but only now I realise it's (probably) about programming your mechs to fight.

I think you need some better presentation. I'm reading the main page again but I still don't have a good idea of how the whole thing is supposed to work. The FAQ is a bit more clear.

Anyway, if I got it right, it sounds interesting. I'll be keeping an eye out. Good luck.
Which is why many people now have automated bug reporting tools. Which is sad.
> After reading several replies like this one I finally understand why I'm being downvoted...See, you assume that the article is in english, the audience is supposed to be from US, and the context is US culture

I'm not American, and I downvoted you for taking away from the discussion. What were you expecting from a link that reads "Unseen images of the war from the winning side"? Did you expect the Viet Cong to lack conviction in their beliefs?

> Personally, most of the information I was fed about Vietnam war throughout my life was the bullshit of Soviet and post-Soviet anti-US propaganda, so seeing this shit once again without any context seems sick.I guess a person from US, who have been mostly subjected to the other perspective, wouldn't understand it.

Speaking as a person born in a former colony, what I find sick is the pro-imperialist mindset that assumes being a western/american puppet state is better than getting communist benefactors in the fight for self-determination. Liberty or Death.
It doesn't explain why they defined it so, but modern usage can at least be coming from the definition given in the Geneva Convention, which doesn't mention poverty.

https://en.wikipedia.org/wiki/Convention_relating_to_the_Sta...

I guess in 1950 the lines between rich and poor countries were even starker, with the rich ones not really having the capability to deal with all the poor that would want to claim economic asylum.
Can you give a few examples of women's political and professional lives being dominated by men's ideas and policies to an absurd degree?
The launch has already been condemned by the UN Security Council...

http://www.cnn.com/2016/02/07/asia/north-korea-rocket-launch...
Yes, it's mentioned in the article.
To be fair I think that Europe should absorb a percentage of refugees, but at the same time the US and NY times that is trying to promote articles like that should financially assist Europe and also offer to absorb a big percentage of the refugees... After all Europe didn't start the war on Iraq and Afghanistan.
Also I agree that the guy on the article is an illegal immigrant.
JavaScript command line tool for release Node and Bower packages
Neat library. Just to note that this approach to fake upsert is not safe to concurrent sessions. There were exactly two concurrency-safe ways to implement upsert prior to 9.5:

1. An exclusive lock on the table, which is slow as hell
2. A PGPSQL function that attempts to INSERT, catches the duplicate key exception and instead UPDATEs (also handling the case that the row vanishes), which is slower than hell

This is why ON CONFLICT is such a huge deal. If it were as simple as checking keys with a SELECT then sending some to INSERT and some to UPDATE it would just be nice syntax sugar.
How Technology Is Changing the World, P&G Edition
Good job on nitpicking on a language phrase instead of answering the content of the post :/
The Curiosity Mars Rover Is Such a Narcissist
The sooner they gone the better. It's clear that they only here for benefits, not jobs, peace or freedom. Nobody wants to go to live eastern european countries (EU) as a refugee, though they equally peaceful, open-minded, but there are no benefits (or limited), no free housing and no free cars...

Btw, everyone suddenly forgot about existing unemployment in Spain (20%, dec data) or Greece(24%, dec data). Other EU countries also struggling, especially in youth employment...
I was thinking more of the "sell your dignity for a paycheck" part. The person I was responding to was discussing the internal motivations of those that work in telemarketing jobs. Saying they're trying to steal / hurt is an external judgment.
Can you given an example of how to write custom C abstractions with Awk?
I’ve been using Sone for years, and once the Spam-blocking in Freenet is set up (this provides reusable IDs), Sone works great and is a joy to use.
> pretty close-minded in regards to integrating into a new culture/diet/environment

This applies to a large segment of migrants and refugees from the middle east.

I can say this because I did immigrate from there.
What imperium does Finland control exactly?
> Is this because args() ultimately gives you a String

Correct.

> Why does args() give you String rather than str?

Because the command-line arguments to the program are dynamically created. To be a &'static str, like a literal, they would have to be baked into the binary. &str is a pointer, it doesn't own any backing store.

> Would there be any way to turn the output of args straight into a &str, so you didn't need to .into() the literal?

Well, so that is what this code is doing. It's just also handling error cases: What if the argument isn't passed in, as the primary one.

> Why are String and str separate types, rather than different uses of a single type?

Because String actually owns the data it's attached to, and is heap-allocated. &str is a pointer; it can only point at some other string type, since it doesn't store its own data.

> Are there any other examples of pairs of types with the same relationship?

Arrays/Vectors and slices are a great example: String is wrapper around Vec<u8>, and &str one around &[u8]. But any owned/pointer variant with some sort of restriction on the type of data is going to be like this, it's a pretty common pattern.

Don't forget other string types too: There's OSString, CString, and external crates provide other types as well. Strings are not simple.

> Is there something like this for maps/dictionaries/hashes?

Slices point to _contiguous_ spots in memory, so these data types don't really have slices, because that property isn't true.

> I would be equally grateful for a link to some relevant documentation or whatever as for a detailed answer!

Hehe, no worries. It's hard to say what _specifically_ would be the best docs, but if you're interested in the _future_ docs about this, http://rust-lang.github.io/book/understanding-ownership.html is an explanation of Rust's ownership system through String and &str that will become the next version in the official docs. There's still some rough edges, as it's a draft, though!
I believe I understand your point.

However, "What should the Taskwarrior developers do to fix that?"

Let's suppose I have a package, which I update quarterly, and I have a public announcements list, set up for people to be notified about new releases, and I answer support emails.

Someone sends me an email saying the version they get through Fink is a year out of date.

What is my responsibility as a developer? Do I contact the Fink maintainer myself? Or is it more effective for a user to ask for help?

I can totally understand the argument that I should track down these people and ask them to update the package.

But I can also understand the argument that I've set up an announcement list, and provide support, so what more do maintainers need?

Yes, the personal touch helps, and maintainers get little feedback or support. But at this point it isn't really "packaging" but "interfacing with third-party distributors".

You made the comment 'Anyone who can't do that, or isn't willing to, can't claim to have "learned all they can" about software delivery,'.

Going back to my hypothetical, if all of the other package distributors are up to date (RedHat, Anaconda, Homebrew, ...) and only Fink is not, how does the failure with Fink show that I haven't learned all I can about software delivery?

Really, however, we don't know the history of why that comment is there. It could be that they tried several times to update their package until finally giving up. If that were true, then they "learned" it was best to let the package users demand updates, not the suppliers.
The only thing worse than NVIDIA's linux support is AMD's and Intel's. Then again, the issue I had that made me switch to NVIDIA was multimonitor support, which is probably not an issue to the vast majority of people.
Not having access to potable water inside a public area like that seems nearly criminal. I wonder if they faced legal action, as I assume they had a policy of no outside drinks or beverages.
It looks like this can be changed with `setProperty`. There's a demo[1] that works on Firefox 31+ and Chrome 49+

[1] https://www.broken-links.com/2014/08/28/css-variables-updati...
If you really don't care about the money, you could donate it and let it be someone else's concern.
Letsencrypt support in propellor
That's cool. Thanks for the pointer.
> So how long is it before western countries intervene?

Probably as long as it takes for someone to figure out a way to do it without watching Seoul get leveled.
> I choose the second.

Bully for you. But not everyone wants to live in cities. If you want to, fine. Personally, I'm no fan of suburbs and prefer either a Tier 1 city or the country (or at least exurbs).
> Not importing the entire library will result in faster compilation. Unless rust has a concept similar to precompiled headers, etc. I apologize at this point. I'm not sure what Rust does in that respect, but my initial thoughts were that as the project grows, the parser will slow on includes. The internal symbol resolver will slow on lookups because too many things are included.

The compilation time problems associated with headers are problems with headers: avoiding headers makes it easy to avoid the problems. The crate system of Rust is somewhat similar to precompiled headers, and C++ is in fact in the process of putting something similar (modules) into the standard.

Interestingly, this makes the Rust compiler easier to work with: the basic things of lexing, parsing, name resolution etc. are not at all bottlenecks (any particular file is only parsed once, there's not megabytes and megabytes of headers to parse for every invocation). This means these parts don't have to be micro-optimised, and hence don't get hit by an increase in complexity due to those optimisations.

Concerns about internal symbol resolution aren't a problem: hashmaps give (expected) O(1) access no matter how many elements they hold, and even using a tree has O(log n) access (i.e. going from 1_000 symbols to 1_000_000 only doubles the time for a look-up, and the next doubling happens at 1_000_000_000_000 symbols).

> Since both are supported, maybe the parser can be made smarter?

Not sure what this has got to do with the parser (7..0 parses fine, it just creates an empty iterator), but implicitly reversing ranges are on of the most annoying features of R: it makes it annoyingly hard to do things like `x..y - 3`.

> Well this piece of code:

Two things: the author is effectively golfing here (they say they want the code to fit on a single page), and, the Rust version can be written just like the C++ version, with a loop:

let scores = [counts[count]; 7];
for &word in words {
if word & !seven == 0 {
for place in 0..7 {
scores[place] += (word >> bits[places]) & 1;
}
}
}
If you're insinuating that following the speed limit and maintaining your vehicle are enough to prevent police harassment, I've got some reading material for you.
You're refuting something I didn't say. What I did say was an argument directly against

> It's just that people of color are even more qualified

which you're ignoring again. Is it because the argument wasn't clear? Should I try again?
Indeed. I'm actually impressed by the technical achievement - putting something into a (nearly) circular polar orbit is no mean feat.

As for the "it's an ICBM test!" crowd - bollocks. That's like saying the Boeing 747 was a test to see if manned flight is possible - total overengineering.

Also, for context, what exactly do folks think soyuz goes into space on? A magical peace rocket? No. It goes up on an R-7, which is an ICBM - the very first developed, in fact. That nasty ICBM technology has kept the ISS running.

The Mercury programme redstone rockets that put Americans in space - also ballistic missiles that had had warheads replaced with crew capsules.

Should America and Russia have been condemned by the world? By the standards being applied here, yes.

So, shake your fist all you like, but regardless of their politics this is a technical coup, and I congratulate them on a successful launch.
Do you want to live in a building soaked in acetic anhydride?
Ask HN: What's going on at IBM?
Company seems to be doing poorly (14 straight quarters of declining revenue) and according to markets. Would be good if someone with a grasp of how the company works could explain what's going wrong
Doing the type checking increases the minimum cost of evaluating a block of code. For instance consider this simple function.

function int_id(x: int): int {
return x;
}

If this code is executed with no run time checks then the body will do no work and return x. However if we are forced to perform run time type checks to enforce soundness then the body will look something like.

function int_id(x: int): int {
assert(x is int);
return x;
}
your linked article says at the end:

"But it would also be silly to suggest the economy didn't play a role. Gas prices began their dizzying rise early in the decade, which discouraged driving. Real estate cooled off in 2006, which discouraged spending on expensive items like cars. It's not as if everything was peachy until the day Lehman imploded.

That's why it's very hard to look at these charts and discern anything about the future. The degree to which Americans have taken their foot off the gas pedal in just a few years is pretty remarkable. "
In this case "endpoint-trusted" mean that it's a CA that is trusted by the client on the local network. What happens is that the box intercepts all traffic and establishes it's own TLS session with the remote server while establishing a different session under it's own CA with the client. Then any traffic sent by the client is decrypted, analyzed, and re-encrypted under the real server's session. (And the reverse for traffic coming back.)
Not just commercial real estate: in most cities I've lived in (including SF), a handful of large conglomerates own a big fraction of rental real estate, too.

In my experience, these landlords are amongst the most scummy to deal with -- unresponsive, inflexible and unrelenting on rent increases. They'll take months to fix anything, but damned if they won't raise your rent by the maximum legal amount at every opportunity, and there's very little room for negotiation. Given a choice between losing a good tenant and maybe getting more rent, they'll choose the latter. It's like having Comcast control your living situation.

The corporatization of our residential real estate market is just one more step toward the future predicted by Terry Gilliam in Brazil.
Its the same i Japan print adverts/sites.

(In the case of japanese): they do use search, but less and less as so many of the sites are image based.

I haveno idea how my wife reads the adverts, but after a few years in Japan im finding it easier, my eyes just gravitate to the pictures.

As for rules for web design, pack as much in seems to be the rule. I have emailed a mate over here who does web work, ill edit when he gets back to me.
I thought https://fieldbook.com/ was pretty slick. I would love to have a similar UI as an open-source interface to sqlite.
C compilation is generally faster than C++ compilation for obvious reasons. However the true speed depends on the level of optimization you want and the number of header files you're including. Non-Optimized C code can be generated very quickly, and if you manage your header files conservatively you can have very fast compilation speeds.
Chinese government buying up foreign companies before they devalue yuan by 50%. makes sense.
Some kind of war in Korea. It worked out well last time, right?
I will again re-quote myself.

"But in the end, I am not talking about the devops around the application. The only opinion that really matters there is the one coming from the project owner.
Your obvious attempt straw-man is nothing but opaque."

I am simply addressing the section about the feature requests.

You on the other hand are painting my argument as something it is not about.

Edit: By features I mean anything under "Why Didn't You Implement My Favorite Feature?"

My comments are solely on that section.
Japanese do have other "alphabets" they use along with Chinese characters, but overall the writing works basically the same way (no spaces, no capitals, etc.). Whether it's cultural or linguistic I don't know, but Japanese websites look very similar to the Chinese examples here.
Did you miss the part where I acknowledged that relying on my anecdatae was as fallacious as your conclusion that "the suburbs are unpleasant"?

Our limited data set is not enough to make any useful conclusions. My only gripe is making decisions with obviously shitty data.

Blanket statements are ignorant. Stop being so absolutist.
It seems like he has a reasonable chain of logic for every component but one - nobody has any evidence that the "BGA" component in here was specifically for Pascal, Volta, or anything at all.

So it certainly could indicate they don't have real silicon yet for whatever the component involved is, but nobody I've seen has presented a compelling argument for it being Pascal in particular.
Is there any way to know what CA is being used by the man-in-the-middler, and then revoke its trust on local machines?
My wife does some web design, much of it is just an overly Confucian culture where some idiot with seniority but no experience or taste gets to make the decisions and those who know better don't get to do input. It really is just a dysfunctional working environment.
Possibly you're stretching for Hanlon's Razor, except you've got the wrong end of it. Hanlon's is the one that says "never assign to malice what can be assigned to stupidity". This feels like a screwup. The reason why it happens is consistent with security. But the effects are maddening.
For those who missed it, here's the HN discussion of the recent article discussing the ongoing changes at GitHub (which was cited in the present article):

https://news.ycombinator.com/item?id=11049067
I don't have a problem with that. Anything with healthcare or safety (electricians, plumbers, gas installers, builders, car mechanics) must be regulated in order to protect the public.

90% of the skill required in many jobs can be learned in a week or a month. It's the 10% you only learn over the course of education that are safety critical, though. Not to mention practicing in a safe environment instead on your customers or their homes.

Let's take your barber as an example, and only the stuff that comes to my non-professional mind:

- highly aggressive chemicals that will ruin your health if you're not taking proper safety precautions

- the fact that you're meddling with a deadly sharp knife at the necks of your customers

- health hazards for the customers: lice, other transmittable diseases, improperly disinfected equipment

- health hazards for yourself that can be carried by your customers and you can pick them up (e.g. you cut the customer by accident, he's HIV+ and you have an open wound on one of your fingers while not wearing gloves - something I rarely see barbers do)

The fact that the IT industry largely consists of self-educated people might be pretty cool but on the other side, how many security incidents could have been avoided by proper education? Even for BASIC security like not doing echo $_GET["name"]? Take a look at https://blog.setec.io/articles/2016/01/07/software-kill.html or literally hundreds of similar articles.
This article seems relevant to Man in The High Castle.
There is no implicit deep copy, Clone is usually how a deep copy is implemented, but not all Clones are deep copies. Rc, for example, bumps a reference count on Clone.