skysight-inc/HackerNews huggingface dataset:
Very spot-on post. I don't have any facts or numbers though. But my gut feelings is that the percentage of people that survive the scarcity (China) or overabundance (West) are comparable.
Computing Cryptographic Hashes for Cyclic Dependencies
Elon Musk hates them!
I don't get why this was deemed an accident. If you have me a random laptop, I'll ask you what the hell you're doing. I won't take it, walk away and then board another flight. That isn't an accident, that's theft.

Unless of course they've got a spare Macbook that actually did belong to the woman, which she left thinking she was taking her own Macbook, but there's nothing indicating that this is the case.

So you've got two very clear issues. One is a passenger who stole $3k on broad daylight, who is on footage and can easily be traced to a particular flight, which can easily be traced to a passenger list, which can easily trace back to her.

The other is that you've got a custodial relationship for a few minutes. You give objects away to be inspected, at which point the TSA becomes a temporary custodian. They ought to return it.

I can imagine that the TSA restricts their liability to e.g. $5k per item, and that its liabilities are covered if and when it has a proper safe-keeping procedure in place that's followed, such they're not held accountable for 'acts of god' (which is a legal concept). This would provide sufficient incentives to create very simple procedures that'd prevent 99% of such issues, like described earlier in this thread in India. You have a box with two tags, you get one, the employee at the end gets one, you put stuff in box, you give tag, you take stuff from box, that's it.

But the notion that they're taking your stuff without any liability, responsibility, insurance, procedures or just in general, recourse, is ridiculous.
Vastly increased chance of being caught?

Especially since if they "happen to be flying somewhere", they're not exactly desperately short of cash.
MasterCard Pepper
Award-Winning Designer Shares 5 Books You Need to Read
A vast majority of people do not have the time to do any of that, simple as that.

And the mainstream press is not to be counted on the good reporting side of things so while good reporting is out there, it is not accessible to the mass. That being the reason why good reporting still exists, because in the grand scheme of things, it does not matter.
but it's one analysis, and regardless of your philosophical stance on p-values, a p-value of .057 in the presence of multiple testing isn't the most convincing thing.

I agree in general. But when you have one data point and it relates to bias in a system a p-value of .057, suggesting there is bias is more compelling than the null hypothesis. Especially when other independent a-priori evidence seems to also point against the null hypothesis.
It uses Docker to manage the installed dependencies, so you can build your own Docker image with whatever you need and then use that in the pipeline configuration: https://confluence.atlassian.com/bitbucket/use-docker-images...
It didn't say GPL. There was a long section describing code of certain kind, which was a long-winded description for the rules of copyleft, and then a reference to that type (call it X) which may not be fed into MSVC. Like I said this was the EULA for Visual Studio .Net (the first version) and probably more than a decade ago. And as I said also, I don't have the newer EULAs so cannot look for the same section in those. I wish I had saved a copy back then but I wasn't as professional, sorry.
I submit this is only true for equivalent number of things to keep track of. In practice this is not the case. Languages with GC go completely overboard with GC, using it completely everywhere, even when not strictly necessary and certainly java does.

In C++, if you have a map with items, you use move semantics and you have have either 0 or 1 refcounts to keep track of, the one for the map itself. The rest is still "refcounted" but without ever touching any integer, by the normal scoping rules. Same goes for Rust code. That's ignoring the fact that a Java object is, at minimum, 11 bytes larger than a C++ object. Given java's boxing rules and string encoding, the difference in object sizes becomes bigger with bigger objects. Because out-of-stackframe RTTI is a basic necessity of tracing garbage collectors this is unavoidable, and cannot be fixed in another language. Bigger object sizes also mean more memory needed, more memory bandwidth needed, ... And Java's constant safety checks also mean

In Java, the same map will give the GC 3 items to keep track of (minimum) per entry in the map, plus half a dozen for the map itself. One for the object that keeps the key and the value, one of the key and one for the value. That's assuming both key and value are boxed primitives, not actual java objects. In that case, it'll be more.

Now you might argue that it'll therefore depend on a case by case basis. And while that is technically correct, any real program will in fact have a number of maps, and vectors, and ... and C++ smart pointers will wipe the floor with their java tracing equivalent (but will be significantly less correct, or perhaps expressed better it will take a far better programmer to get the C++ code right memory-use wise than for Java).

An additional comment should be made that the Java JVM's garbage collector is the result of 21 years of development by very, very good programmers. It is not able to beat C++'s smart pointers in most cases, mostly due to it's VM overhead. If you are not able to beat a department of senior Sun/Oracle programmers you cannot beat their GC's performance without doctoring benchmarks. Therefore the chances of any new GC'ed language beating the performance of C++ smart pointers any time soon (by which I mean decades) seems negligible. In practice it is considered very good performance for any non-C++ language to be about half as fast as C++ when it comes to memory allocation and deallocation.
First Opera 38 beta
Indo-Tibetan broadband network Airjaldi funded by Microsoft
Wouldn't it be pretty easy to create a git repo that you seed with the a bunch of ToS, have a cron fetch them everyday or so, run `git diff` to see if there are changes, push them, tag a new release and boom anyone subscribed will be notified.
One would expect it to work because the memory layout is the same for the two structures.
But it also looks like they forgot to include the license, which is required:

https://wiki.python.org/moin/PythonSoftwareFoundationLicense...

(I Am Not A Lawyer, and all that.)
Windows Phone market share falls below one percent
Massive growth but increased losses at Spotify
You mean I should build a Docker image with both Java and Ruby? The image would be much larger than intended in that case. In production, I would have two different Docker images.
If there were 100 Developers in the world
Yes, I'm doing a design course on coursera, I actually like it.
Of course people do want to move on and go farther.

It's just that then they are no longer in immediate threat of death or persecution (if they ever were) and thus not covered by the refugee conventions.

To counter this, the people smugglers teach (sell) stories to be told to the authorities in receiving countries.

Again, if I were among the migrants, I might very well do the same. Move on, try to adapt, do whatever is needed to be allowed to go on. I've talked to many migrants (mostly young men or boys) and they've almost all been reasonable kids with interesting though sad stories. But they were not being threatened for their lives by the nasty Swedes behind Torneå river whence they came from.

One boy who I invited for a cup of tea after a football training, for instance, was 17. He was born in Afghanistan but moved with his family to Iran at the age of 4. He lived there for almost 10 years, as a second class person (non-citizen, no right to go to school, no proper health care, despised by the locals). Then they moved on to Turkey, then to Greece (which was not nice at all, people were kept in detention), then through Balkans to Austria where he spent a year. Then migration through Germany, Denmark, Sweden. Now he's moved on again, looking for his place in the world.

Not an easy life,but it's hard to say what we really could do to the whole of Afghan diaspora who lives like this. Welcoming everyone isn't going to work, even if I want to be friendly and reasonable to anyone I meet.
I wonder if seif project's ideas could be helpful here: https://github.com/paypal/seifnode. I remember Crockford talking about using microphone and camera noise to generate random numbers.
They are mainly making it precise as stepping stone for further improvements.

https://summerofcode.withgoogle.com/projects/#62055978295623...
There is a big problem AFAIK with the "effective type" (C99) or "dynamic type" (C++) rules. If you are writing your own allocator (malloc() or some arena allocator), there is no legal way AFAIK to seed it with global/stack memory. Your global/stack memory has a declared type of char[], and there is no way to convert this into the type-less kind of memory you need to get back from malloc().
Awesome tool - I surprisingly spent 248 hours in meetings over the past year. Now it's time to work on cutting that back and only taking meetings when there absolutely necessary.
You're a C++ dev, not a gamedev. They use different coding conventions. You'll find a lack of refcounted pointers, for example, whereas university teaches you to use them.

6 years is significant, but it's not a long time. There's much to learn, particularly about the cultural aspects of various segments of the industry.

This is excellent code that was produced on a tight timeline.
You won't. I've built pretty intricate front-end stuff and presented at local front-end meetups only to be met with a whimper. Like other forms of art, it's pretty much impossible to know whether or not your project or product is going to be a hit. Make it for yourself first and if it's meant to be that it takes off it will.
Alternatively, I'll continue to speak up for the established terminology in the GC literature, and continue to recommend that those interested in this subject read sources like Jones' GC Handbook rather than the "official" Apple documentation.

People who are actively hostile against using the established terminology are unlikely to have the expertise necessary to contribute productively to these kinds of discussions anyway.
I haven't seen any about Rails being dead, just people ready to move on from Rails and how it's not for them any longer. If it makes sense for a particular shop, they should continue using it. I say this as a non Rails user but believer in the right tool for the right job.
That's not what I meant. Can x be a function, and can you then prove a proposition about x in a different module/in the same module in a different definition? E.g., can x be a sorting function whose type specifies that the result is sorted, and can you then have another proposition specifying that the result is also stable?
Server Side Rendering on GPUs for Large Datasets
Prosecutor confirms Google Paris raid in tax evasion probe
I think it's fundamentally trust issue and identity issue bundled together.

There is 2000km between Germany and Syria. People in Syria are different group than desendants of Syrians in Germany. German govermnent is different than most individual native germans. Nobody has to abide by any rules or agreements, it just happens that currently some rules make sense for large majority. For now. Someone being nice to someone else doesn't exactly guarantee anything to anybody else.

I think the walls are completely meaningless in every sense. They don't make anybody terrorist, refugee or safe.

Compassion might just as well show them that we are foolish. Violence might just show them that we have loot to protect. It's hard to call someone devil when they are nice to you, but it's still relatively easy to be asshole yourself.

I advocate pretty much just two things. Dropping less bombs to middle east and cutting social security form refugees. That should fight the root causes of current immigration in short/medium term.
That's political correctness. Those people are able to judge what someone's "culture" is based on how they look, or where their family came from two generations back.
I wonder if this a relatively new phenomenon, or if it has always been the case.
Oh, quite right. The original, an eccentric; House, an "ass"; BBC Sherlock, somewhat sinister and creepy.
Airbus Shopfloor Challenge overview – with video
I think he meant that in this context does not make sense for more than one value to be true at the same time , which is the reason you define enums this way, usually.
I was a game dev for 3 of my 6 years. I just got sick of the layoffs after project ends - and my university tuition was in fact games development specific.

*Edit - Yes though - by no means do I think I'm some big shot know it all. But I do have strong feelings about readability after having had to deal with code which is awful to grok.
wow! Nice
> So in essence Visual Studio .Net forbade one from building things like GPL software. I'm sure the Visual Studio .Net EULA is available somewhere to dig this up.

Maybe I miss something, but you literally said that they didn't allow one to build GPL software.
ctrl+shift+v removes formatting directly when pasting
Pico Process Overview – Linux binaries on Windows
Watching the Google IO keynote, I couldn't help noticing that their new instant apps could be accomplished in open webtools if they would have focused on browser integrations rather than native apps. I hope this doesn't mean native apps are shutting the door on the original idea of pure webapps ( remember that iPhone 1 keynote? ). I think it would take a major new platform doing exclusive html5/css3/js first and only to shift the paradigm. Then, follow that up with mobile browser improvements to make payments, contacts, hardware integrations better and we'd be on our way. Anyone know of a good app that is web only? Unfortunately, I think as native apps continue to dominate, there will be less incentive to build out mobile browser integration with open web platforms.
Indeed, Clang/LLVM did a stellar job here. It'd be interesting to know how (in part to understand what situations can one expect this sort of thing to happen; for instance, I'd be surprised if IEEE floating point emulation code would be compiled to a hardware floating point instruction - though perhaps I underestimate the optimization passes at work here!)
the key here is that more than one person is filling their tray at a time. so if one person is taking their time, other people can jump past them. obviously it helps to have motivated and efficient operators, but in my experience, it's almost always some dithering idiot that holds things up. as as we all know, serial processing of a queue is not efficient when you end up waiting on IO :)
Haha, I still remember Winston the pigeon racing to deliver his 4GB of data...

For anyone interested: http://news.bbc.co.uk/2/hi/africa/8248056.stm
I will check out a summary and if it looks good I will give it a read. My googling makes it look a bit revisionist but I will check it out. Since we are starting a book club try 'With the Old Breed' by Eugene Sledge and/or 'Flyboys' by James Bradley to see the hell on earth the Japanese military had exported all over the Pacific. I was actually somewhat mentally exhausted by the end of 'With the Old Breed' and was glad when it was over. The book described something horrifying and grueling with no end in sight so I can't imagine how it would feel to actually have lived it.
Yes I have seen that to. Just as I have seen serious arguments trying to turn current voters for right-wing companies into nazis.

Thats what I was reacting to by putting just as ridicules a claim out there.
Been in Beijing last month, the great firewall was an increíble move for local internet companies. Google would had won the battle with Baidu, Facebook and Twitter with Wechat, just to mention a few.

Nos, they are so big that when the firewall comes down they will keep running the market
Maybe your terminal doesn't indicate pasted content properly. I'm using gnome-terminal and it works flawlessly.
The technique of assuming a point prior to actually establishing it, is a cheap one. It's also transparent.
What's the difference been naive RC and non-naive?

Would the above languages (Erlang, Dart and Nim) count as naive implementations?

I was under the impression Nim, at least, had pretty efficient RC implementation that performed favourably compared with a Boehm GC when considering single threaded performance. Is this accurate?
Google aims to kill passwords by the end of this year
As an 18 - 34 year old man and recent Subaru owner, I can only reason that it's not just that lesbians are (intelligently) into Subarus, it's that everyone else is an idiot about what cars they buy. Subaru means AWD! Furthermore, the Subaru Impreza is the only compact sedan on the market in its price range that comes with AWD standard - the only car you can buy where you receive a nice, small, fuel-efficient, new vehicle with AWD for the price of a compact - 18000 to 28000. AWD is a huge value-add, not just for outdoorsy types but for anyone who lives in a region with unpredictable weather, like New England or the Pacific Northwest. It's no wonder Subarus depreciate slower than other vehicles. Anyway, count me among the satisfied non-LGBT owners of a Subaru.

End commercial.
So GMOs are good if their mutations are random and bad if they are on purpose?

One could also argue that directed mutation GMOs are safer. Because unlike random mutations, on purpose mutations are thoroughly checked afterwards.
Fair enough. It's a valid point of view. Sorry you had to deal with layoffs. It's one of the darker aspects of the industry.

To clarify, my objection was that we're criticizing this code for superfluous reasons when it's currently a delicate political climate in most game companies to even release code like this in the first place. It's probably best not to imply their reputation should be harmed by their lack of comments, since this can discourage other game companies from releasing their code in a similar manner. I've seen the argument "it might harm our reputation" be used to block endeavors like this.
I wrote "things like GPL" and said it described the copyleft licensing without naming the prominent license.

But I cannot find a version of the first (2001 or 2002) EULA, so it's possible my memory isn't exact.

Edit: All I could find https://yro.slashdot.org/story/02/08/04/132221/more-ms-eula-...
I know it is common, but I think they would still use some GUI tool or get help from a friend.

I am very comfortable in the terminal but I'd still /prefer/ a GUI tool.
>> I don't get why this was deemed an accident. <<

Reading the story, there is this little voice saying in the back of my head, "They don't want to treat it as a crime because they know who has it and they're in cahoots."
Death of a Language Dilettante
It is unfortunately common to ship Docker containers to production that contain the entire tooling suite to build the thing being deployed, and it sounds like that might be what is happening in your case?

If I understand right the thing you're expected to provide to run inside "pipelines" is a container in which your build can be performed; the output of that build might also be a Docker container, but hopefully there is not a requirement that it be the same container in which you are performing the build. Or you might be shipping something completely different, totally unrelated to Docker, as your build output that gets sent onward to production. Of course all of this is just a guess, it will become more clear as some of us start to enter the beta program.
Similar experience, except I did some mocking (just a little bit!); the course (Pascal, mostly) was not great, but I'd say it was useful, and students did learn something.
But immigration _isn't_ a key issue, it's not the cause of these peoples' troubles. They get told that, so that they can be provided with simplistic solutions.

Globalization is the problem, technology making jobs obsolete is the problem, natural limits to growth of world economy are the problem, climate change and energy crunch will be huge problems for them soon. But those are hard to explain and much harder to solve, so the idiots win.

Edit: Sorry, I read "refugees" when I saw you mention immigrants. Cheap labour from inside the EU is a real problem.
No two C programmers can possibly disagree about what that code should do if it were to be defined.

There are many ways of adding requirements to make it defined (and those ways will differ in what else they make defined).

> The best resolution for everyone involved is for the program to abort as soon as it detect a rule violation.

The pointer cast in the code makes it clear that the aliasing between the identically structured struct is intentional.　(If we remove the cast, we have a diagnosable constraint violation: no need to whip out the memory sanitizers).

At least we seem to agree as far as that optimizing based on the assumption that aliasing does not take place is one of the worst things that could happen. The rule violation is not diagnosed, and the obvious meaning doesn't occur either, but rather some weird result. For instance, garbage is accessed because the underlying struct is not yet initialized (on grounds that it's not necessary to initialize something before an improperly typed access to it).
I'm sort of curious about the motivation behind their current slogan which I only started hearing over the past year or so:

"Love, it's what makes a Subaru a Subaru"

I'd hear that slogan as a sponsorship message on public radio and more recently I think I heard it on a commercial TV ad and I'd reply "no, standard all wheel drive is what makes it a Subaru."

Still, snark aside, it's struck me as a sort of hippie-dippy slogan for an international auto company and it's made me wonder what they are going for.
Pepperoni – A framework to build apps faster, powered by React Native
Ask HN: I've just added a subscription modal to my site Where do I promote it?
I have today launched an extended area of my site that users can access on a subscription basis to access the premium content...

Now I am looking for the best places to promote it? Anyone know some good methods/places to promote subscription services?
> A vast majority of people do not have the time to do any of that

A quality education is not spoon fed. It is the responsibility of the individual to educate him or herself. Making media available is only half of the equation
This article is a superb example of bad writing, of bad thinking. I have no skin in the Ruby/Rails game. I'm not a web developer. But I'm interested in the fates of languages and the merits of major approaches that define many jobs and decide the employability of millions, so I read it. The problem is: what in the world is he saying? What is his thesis, and what reason does he give us for believing his thesis? His opening section summarizes as: "I started to read a rant. It made me mad so I wrote a rant. Then I read the whole thing and felt better, so I wrote this." Okay, now try to summarize the second section. Something about Rails and Basecamp. Wordpress. Apple crushed Adobe. Finally: "Then there is the issue that Ruby's future is now tightly coupled with Rails." What issue? What is the point of all this? Sorry, OP, this is bad writing. It's bad thinking. It's saying "stuff" without knowing why.

My advice: if you have skin in this game and need to make real decisions about what platform/language you use, find an article that reasons soundly about what the questions are and convinces you of its answers. Don't listen to this one. And if this quality of thinking is diagnostic of how Ruby/Rails developers think generally... well I'm glad that's a game my skin is safe from.