skysight-inc/HackerNews huggingface dataset:
This is long overdue and I'm hopeful that it extends beyond app stores. The primary leverage here will (inevitably?) be an SDK that allows all apps that are members of the union to be disabled remotely by vote should companies overstep.

I find it interesting that they are starting with the low-hanging fruit of something like free demos. I don't think Apple realizes the burden that things like managing two versions of an app (free/paid) or implementing in-app purchases imposes on developers. Apple has lost touch with developers in how it emphasizes enterprise approaches for things that could have much simpler APIs. They have hundreds of billions of dollars, so why force developers to deal with push notification servers? There's a lot of buck-passing and not a lot of service happening.

The red tape has been reduced in recent years due to better Xcode integration of things like provisioning. But I personally find the way that they've implemented entitlements for all of their niche services to be overly pedantic. I recommend scrapping all of it and moving to a data-driven approach where all entitlements are available and it becomes more of a fill-in-the-blank approach. As in, generate sane defaults and provide tools to do this stuff for us instead of throwing manuals at us. Look to things like Unity and Steam for examples of how to accomplish a lot with a little.

Calls for satisfaction have largely fallen on deaf ears, hence the need for a union like this. I don't mean to pick on Apple, I still think they are doing better than most companies, but they certainly have the resources to treat their developers as well as their users. Also to the original poster: drop the "the". It's cleaner :-P
Making sure I am parsing that correctly:

Is that

((n/2) * y^2) - ((n/2) * y) + (y * z) + x ? (For z ranging from 0 to n)

If so, alright, that makes more sense to me, thanks.

So, n * (y * (y-1)/2) + x + y * z ?

Edit: does HN have an escape character to deal with the asterisks?
I think training in literary analysis is a secret superpower for life. It gives people tools to make reliable inferences from text about motivations, assumptions, biases, etc., and to spot attempts to use phrasing to hide or obscure things. Great for reading emails, contracts, reports, etc.--and for editing your own writing for clarity (or not, if that's what you're going for...).
Have you read "Nobody Knows Shoes" ? I consider this the canonical source on how Shoes is supposed to work and what it should look like.

It's supposed to look like writing HTML, if your HTML writing was done in a builder syntax on a domain language in Ruby blocks. (But that's gibberish compared to the explanations found in NKS guide to Shoes.)

Edit: the book link

https://news.ycombinator.com/item?id=17105068
one could always edit out large chunks of useless video
Nice way to put it!
I expect there is a huge personal preference here, as my wife likes things much quieter than I do. More along the lines of 'hear the tinnitus' but I on the other hand want some background noise but nothing that triggers cognition. I can think really clearly for example while sitting on the beach or next to a waterfall.

Working in open plan offices helped me train my hearing to ignore stuff but then it gets weird when there is no noise at all.
Absolutely true....although I'm not sure the Disk ][ head was meant to be vibrated at 400 Hz like a paper cone speaker was. =)
Awesome! Make a nice enclosure and you have a niche hardware product.
You have just equated hiring a coder for a job to finding a spouse.
You don't know that, depending how mad is the person in charge. Take into account that it might be good for a couple of years but the power it gives might be tempting to shut down sites that are against EU agenda.
In most industries, US consumers spend far more than consumers anywhere else in the world.

Not any more. China's citizens spend twice as much on international tourism as US citizens do. The EU has 508 million people. The US has 325 million.
So, between the lines: Money.

1. Trial apps promotion: because once the regular new app promotion ends, so do most of the profits for apps that can't quite make it.

2. More money, in form of apple reducing publishing taxes.
Focusing on Software Engineering principles, Software Architecture, DevOps engineering, etc.
I raise my arms in an X-formation to absorb the blow. Then I take off my sunglasses, look them dead in the eye, and coolly give them a piece of my mind, terminated with a small wink to let them know I'm not going to escalate any further if they don't want to. But, heh, usually they comply like puddy in my hands due to my tall muscular 5'10 build. Not usually a problem. ;)
Seems like the site needs to memoize the page rendering operation ;)
Sometimes it's useful to see the original version of an idea: it can be easier to see what line of thought led to it, and what necessity the idea addressed. Further refinements may improve the idea, but obscure the source and original context of the idea, which might make it harder to fully understand or appreciate.
CMake generates a standard Makefile for dependency change tracking doesn't it? Just timestamp-based on hash-based?
Not sure why this is being downvoted, but it's definitely the case that as we learn more about epigenetics, we will need to modify our understanding of evolution substantially, particularly the relationship between epigenetic expression and mutation, in which the latter can "lock in" the changes from the former and lead to more rapid speciation. Exciting stuff.
Storage is cheap. Time is not.
It works for me if I remove the URL's "m." prefix.
I agree with your starting premise about Xi and your concluding advice about independent (or at least, non-Party filtered) information.

But I don't think it's wise or diplomatic to phrase it as a growing "intelligence" deficit in Chinese people. That word is tricky enough to define as it is, but people can hold deeply one-sided views about a lot of things and still be highly intelligent.

As a counterpoint, browsing social media in open information societies and liberal democracies these days gives a sense that people can be extremely biased and polarized even without living in a closed propaganda information ecosystem.

With that criticism lodged, I agree with the spirit of your argument that a more filtered public discourse very likely makes it monotonically incrementally harder to patch any present or future social discord.
Awesome. I love they designed the scooter to facilitate a service model right from the get-go.

Personally, I'm bearish on the light electric vehicle sharing model due to skepticism on the unit economics.

Skip will also be a great piece of evidence for large automakers thinking of running their own ride-sharing services on their own automobiles.
> Every alert should be actionable.

How do you know the difference between "everything is working properly" and "the logging and/or monitoring has stopped working"?
> The primary leverage here will (inevitably?) be an SDK that allows all apps that are members of the union to be disabled remotely by vote should companies overstep.

That sounds like a good way to piss off customers, rather than piss off Apple and Google. If an app stops working, do you think people are going to blame Apple/Google or the company that actually pulled the trigger on disabling their favorite app?
As furgooswft13 notes, you can use

Ctrl-O <command>

to issue single normal mode commands from insert mode. Most purists would say switch to normal mode to navigate, and by and large that's true (especially, IMHO, if you bind 'jk' to Esc which is much faster for a touch typist). However, insert mode does let you do this to avoid the arrow keys:

inoremap <A-h> <Left>
inoremap <A-l> <Right>
inoremap <A-k> <Up>
inoremap <A-j> <Down>

Which some would say enforces 'bad' habits, but I reckon do whatever feels effective to you. If you do find yourself leaning on the direction keys for more than a few repeats, there's probably a faster way though!
The programming manual with a soundtrack! And an onion somehow packaged neatly inside.

https://poignant.guide

> Pretend that you’ve opened this book (although you probably have opened this book), just to find a huge onion right in the
middle crease of the book. (The manufacturer of the book has included the onion at my request.)
So you’re like, “Wow, this book comes with an onion!” (Even if you don’t particularly like onions, I’m sure you can appreciate
the logistics of shipping any sort of produce discreetly inside of an alleged programming manual.)
In the interest of productive discussion, what do you perceive as racism?

It's rare that I come across comments about China that are legitimately racist on HN. I get some people are and some discussion is that, but more than anything I see genuine concern about how the government is acting and given how the government controls that nation, that's where the criticism can seem so wholesale.

But what do you feel is a racist criticism? I ask because I'm a huge critic of the Chinese government (and many other governments) but don't desire to be racist or to be perceived as that way.

One of the most stubborn critics of China (and Chinese culture) I know is Chinese. If I didn't now that I'd perceive him as racist but he just doesn't like what decades of the Cultural Revolution etc have produced no more than many Americans don't like what decades of materialism/world domination has produced.
It still exists, and it's referred to as McStabby's. A Singaporean friend of mine didn't believe the name until he encountered a traveller in the restroom showing off his rainbow colored switchblade.

https://www.reddit.com/r/SeattleWA/comments/73wlqo/mcstabbys...
The Thanos query nodes have the same interface as Prometheus itself, including the web UI (with a few small changes), so you can just use the same Prometheus plugin pointed at Thanos.
I immediately stopped reading when I saw:

> Most web pages use HTML4, XHTML 1.0 or HTML5

HTML4?? XHTML? Me thinks whomever wrote this has not been a full-stack developer for a while. The easiest way to be "full-stack" is to take a Rails[1] or Django[2] tutorial where you have to write a CRUD app with some JavaScript and templating on the front-end, and then deploy that to Heroku and monitor the database for performance improvements.

[1] https://www.railstutorial.org/

[2] https://developer.mozilla.org/en-US/docs/Learn/Server-side/D...
The main issue with going after random ideas, is that suddenly 3 months down the process of building some proof of concept, you lost so much of the initial thrill and focus (build B in order to build A, build C in order to build B, learn D in order to build C...) that you've eaten all the energy, end up burned out, depressed and browsing TC and sites like this one to reflect on what went wrong.
I've tried scons, waf, CMake, etc, always ended up hating them and return to standard Makefiles. SCons is the worst I've tried ever.

As to the cost of hashing: "git status" runs on 0.009s and requires a full diff of my working directory?..
> Asking someone to code on a whiteboard is stupid.

I've started to turn this around and so far our senior candidates have loved the experience. (I only wish I had come up with the idea.)

Instead of asking to write code on a whiteboard and solve an arbitrary problem, couple of our engineers came up with an inverted problem. And ever since seeing it in practice, I've been trying to introduce it to every interview I can think of.

We write a piece of code on the whiteboard, and then ask the candidate to review it, as well as modify it to better suit the problem and context. This way the question turns into a discussion on design, constraint exploration, service expectations and externalities. Hell, sometimes it even goes into deep language design issues. Sure enough, it still measures a level coding skills but puts a much higher emphasis on understanding what the problem and its scope really is.

It's also a lot of fun.
ok, I am going to be nice here:

* how are you structuring data such that it is available to you and your site, without also being able to pull it all out into an archive?

* literally all of my experience has been that securing data is a much harder challenge than any other part of a web facing system.

Also, the thing that everyone seems he’ll bent on ignoring: you do not need an archive mechanism if you do not store data.

And given we’ve known gdpr has been coming for at least a year - aside from companies that tried to bribe it away I guess - new projects should have there data set up so that archiving isn’t a monumentally challenging task.
Don't feel the trolls. It's a racist dogwhistle.
I agree.

The point is not to have or not have the whiteboard during interview but how and what it is being used for.

The best way I found to interview candidates is to have few different discussions. One of the discussions I like to have is to try and solve some kind of problem that you could potentially have in real life. I am solving problems with people this way on a daily basis so this lets me observe candidate in a setting that is already familiar to me and hopefully to the candidate. The whiteboard is then used exactly as in real life -- as an tool to visualize and communicate ideas and hold it as a kind of cache and reminder for the duration of the discussion. The whiteboard is there during interview but I will not require candidate to use it. If I have trouble understanding the idea I may ask "ok, I can't visualize this, could you maybe draw it for me?"

Nobody programs on whiteboard in real life. If I need to program for presentation, for example to train my team on some topic, I will bring laptop.
Well whoever filed this lawsuit seems to have succeeded.
belly laughs
" but "I have a random idea lemme build it" is a great way to be not successful"

I should print this and frame it in my home office. You rock!
The US used to work that way, but it appears that the norms of liberal democracy were a casualty of our advancing partisanship over the last ~9 presidential administrations.
Ill-defined though it may be, there's still an understandable difference between data science and data engineering.
ccache is just for c/c++..

Did you consider that it could be other things with ccache that makes it slow? E.g., the need to fully expand C headers and turn it into a text stream (NOT needed for a build tool).

Everything with git is lightning fast including operations that require a full directory tree diff / hash.
This comment reads as full of hubris. It is easy to say you can do what someone else does, but the fact is you haven't done it, don't have the evidence to show that you can, and are exasperated that others don't see in you what you see in yourself. Having a PhD in a relevant field is an objective signal - not proof - of capability.

When these jobs are hot and candidates are plentiful, using signals to narrow the field to a group you can more rigorously interview is typically a more effective use of time than buying into everyone's self-belief. Candidly, I find most individuals from a programming background vastly underestimate the skillset required in this space. I know that is not an uncommon perception and you are likely being penalized for it, fairly or unfairly. I'll say this: anyone who refers to data science as "just linear algebra and calculus" would be immediately removed from any candidate pool I was managing.

Others have evidence of capability, you do not. Programming experience is not evidence enough to elevate you above candidates with more reliable and relevant credentials. A shelf full of books is not evidence either. You either need to find a version of this job created by people that don't really know what it is they want (hint: if the Data Science JD says "Excel" that's an indicator, it's not too uncommon) to create a work history, find a way create a portfolio that you can use as evidence (e.g., Kaggle competitions, hobbyist projects with available datasets), or network with others in the industry and academia such that they will vouch for you.
Thanks, that really helps.

As an open-source advocate, my first thought was, "Why the hell is Google releasing a version of a protocol that Linus Torvalds wrote?"

Without that context, it would be like Google throwing up an announcement, "Introducing Google's Linux Kernel 5.0!"
Clearly it isn’t anymore.

Also realistically storage has never been cheap - it’s just that historically the only people for whom it was expensive were the users.
>Perhaps I am unusual, but I trust my ISP with my privacy more than I trust the typical hosting provider.

You're lucky in this regard. Having no choice but Comcast, the number one threat to my privacy is my ISP. So that makes tunneling to an outside VPN very useful. I trust DigitalOcean far more. Although in a different situation I think you're absolutely right.
Boring Company ‘partnership’ with LA Metro for tunnel network under LA
A quick naive not completely optimal but still relevant solution:

Since you have 2 eggs you can start on the 33rd floor. It breaks you can use the 2nd egg from 1st to 32nd floor.

If it doesn't break, use the first egg on the 66th floor. If it does break, the answer is between 33 and 65, if it doesn't the answer is between 66 and 100. That cuts the maximal testing time time from splitting at 1/2 (1st egg at flr 50), to 1/3rd.

To optimize further, since in the bad case we'd have to search up to 34/35 floors, you can mathmatically find a number where you split the drops at an interval (IIRC the "real" optimal answer is 14, then 13, then 12, etc), which means you're doing less explicit checking.

At 14 - i, you have 10 drops to find a range of 13 - i floors in which the optimal path is found. So instead of a worst case of 35, you have a worst case of around 17.

I find the best way to approach this sort of problem is to first find one optimization, and then use the same process to find if there are further optimizations.
I was a member of both, years ago, but both had recently dropped the health insurance when I joined. (They still offered other kinds of insurance which I didn’t care about.) Has that changed?
Or maybe experiment with non cruddy ways of teaching people. Weighting a lot of a grade on a test is an excellent way to freak someone out and build resentment. Maximize teacher/student ratios, fund schools better, etc.
> Predictably, the bill was sold pretty heavily as a pro-solar bill meant to make solar more competitive.

You can make something "more competitive" in two ways; kneecapping a leading industry does just as much "making competitive" as lifting up a tailing industry.
Automated CloudFlare challenge solver for Golang
The paper is about the CCP's propaganda techniques on its own people, not driving numbers for nyt articles (US media). The people in this thread are tying it to other events that are related only because they have to do with China. That's what I mean in that it's tangentially related.

I don't think tangentially related things are bad. I do think it's upsetting when some tangentially related things are bad but others aren't for strange reasons.
A law passing doesn't mean an entire society decided it.
This is one of the major reasons HTTP 2 is only supported via TLS and only via a complex upgrade protocol.

It's not that you can just do "GET / HTTP/2.0" or something like that.

The TLS part is interesting, as wrapping a protocol into an encrypted channel solves a lot of these issues (but it can break again if you have stupid man in the middle boxes). It just doesn't solve the issue for TLS itself.
Malware-Testing Service Scan4You Convicted on Three Federal Charges
Show HN: Repoint: a simple manager for third-party source code dependencies
On the advertiser side of Google's services, I have a refund for "invalid activity" on almost every monthly statement going back nearly a decade.

> You received a credit because we found invalid activity on your ads. What is it: Invalid activity refers to clicks and impressions that we suspect aren't the result of genuine customer interest. We don't charge you for invalid activity on your ads. Example: Invalid activity includes clicks and impressions performed by automated tools, as well as accidental clicks – for instance, if someone double clicks your ad.
This is exactly the point. A risk averse strategy is optimal for areas of a business that you do not have expertise in. If hiring isn't the thing you do best (supposedly your strengths are writing and selling software) then it makes sense to pick a hiring strategy that doesn't cause disruptions.
Could you please provide some example of hacker news comments you consider racist or otherwise worth fighting against?
Welcome to the future of publishing - automatically generated audio transcripts of PowerPoint presentations.
The most powerful reaction I've ever seen from others to someone in power was a little old lady that quietly thanked everyone who was doing the correct thing. Which caused deep shame and reflection in all of us not doing the correct thing.

There are ways to be make a point powerfully without screaming or being rude.
Another good reason to enjoy sports from local school teams. I still watch the super bowl and a few World Series games, but for me watching professional sports is not interesting.
You could literally link the two object directories?

I just tried this and it seems to work:

git clone git://github.com/git/git
mkdir git2
cd git2
git init
cd .git/
rm -rf objects
ln -s ../../git/.git
cd ../
git remote add origin git://github.com/git/git
git fetch # returned without downloading anything
git checkout master
ls # etc.

If you seriously want to use this, you'll probably want to hard link the contents, instead. But iirc git clone from local disk already does that, for you?

In short: clone your local copy and taking it from there?
I'm guessing that their job at Google allocates a significant percentage of their time to work generally on open source Git, with the rest on Google-specific needs and deployments like googlesource.com. This post on Google's open source blog fits squarely in the overlap of both.

As well, most of Google's releases in the developer tools, open source, or Cloud Platform worlds don't have ads - indeed GCP is an entire revenue stream not dependent on ads.

Source: Much of my day-job work on my last team at Google was open source on the GCP team, and I also got approval to own some side-project work done on my own time. So I got to see how they handle such things. I don't have specific knowledge of the Git team's arrangements, but this is an educated guess.
Grant (the 3Blue1Brown guy) has an uncanny ability to explain difficult concepts and the fundamental intuition behind them. In many of his videos, he explains topics from the perspective of a person inventing that topic (such as in his first Calculus video [1]). I can't recommend his videos enough.

[1] https://www.youtube.com/watch?v=WUvTyaaNkzM&list=PLZHQObOWTQ...
Prince Harry's Great Feeling Ahead of UK's Big Royal Wedding
Your comment is strictly true despite the downvotes. But, it would help to note that this is simply an observation of potentially unrelated events. Smoke but not fire.

What's more disheartening is that the latest round of (still incomplete) information indicates that he's trading back the ZTE action in exchange for the CCP walking back their own agriculture sector trade actions that were initiated during the first volleys in the trade conflict a few months ago.

That would be a deeply stupid and un-strategic trade to make. But sadly, it seems to play into the President's domestic political needs.

Edit: feel compelled to add / stress the caveat that no outcomes of the trade talks are known in full
Yes, this is a good example of “commoditize your complements” in action, with us as the complement.
I think of it like if everyone who read these comments on HN got together we could engineer a very good OS.

I doubt we could come close to solving the problem of "stopping Iran nuke production without killing anyone or starting a war"