skysight-inc/HackerNews huggingface dataset:
> I have no idea why you're attacking gov.uk for it - I repeat, they had literally nothing to do with it.

I'm answering your questions as frankly as I can. The questions involve gov.uk, and so the answers involve gov.uk.

> gov.uk is a platform developed by the GDS, not simply a namespace.

From the outside it's difficult to make the distinction. I'm talking from the perspective of a user.

> Before, we had a pile of independent websites built and maintained by each Government department with no integrated search or organisation, a lot of duplicated technical effort as everyone had to maintain their own CMS, and an extremely poor user experience.

For the scope of gov.uk, I can appreciate how that's beneficial. The dynamic I've seen is there's a bad solution to something which isn't even a problem—as there are already better job sites around. If my premise is correct, then even if gov.uk solved the UX problem for Universal Jobmatch, it's still solving a problem which doesn't really need to be solved (a clone of a job website isn't very valuable). And that government fixes problems which it creates, and then pats itself on the back. What I've said goes outside of the specific points I've been making, but that's how I see the context.

I'm not even anti-government, necessarily. I'm still making my mind up. Maybe the need for inequality is more important than efficiency and maximum wealth? Some of the things governments do are egregious; but so are some of the things individuals do. Knowing the answer wouldn't be of much benefit, anyway: the government isn't going anywhere any time soon, regardless!
Apologies for the shameless plug, but I've made a Chrome extension which should be useful for anyone learning a foreign language:

Readlang | https://chrome.google.com/webstore/detail/readlang-web-reade...

It allows you to read web-pages in your target language, translate the words and phrases you don't know, and review them all later with flashcards which include some context from the original source.
InfraRuby 3.6 released – statically typed Ruby compiler
Probability is something else. I consider myself fairly good at understanding it. I like to think (to myself) I'm in the 95th percentile in the world in understanding probability. Yet these 4 concepts will regularly throw me off:
http://tempr.org/54f9f429588f8.html
She extrapolated all of this from the story of one woman who left before becoming a manager? Where are the statistics on this? What a shoddy piece of social commentary.

It is almost as if journalists have decided that feminism is now fashionable and so everyone must write about it. Gone are the days were ugly women like Freidan and Hooks fought for women's rights. Now feminism's no-risk mainstream and so the Emma Watsons and Sheryl Sandbergs rush in to co-opt the nobility. What nonsense.
Thanks for the clarification, thats exactly what I was wondering about. I have two questions:

- is it a common problem to have, not knowing the set size?

- is it O(N), or rather O(n)? My intuition tells me it depends on whether or not I have to retrieve every record in the set or not, because I/O should still be much more expensive than random number generation.
Snowden Archive
Excuse me, igl, I'd just like to interject for a moment. What you're referring to as large companies, are in fact, GNU/large companies, or as I've recently taken to calling them, GNU plus large companies.

Large companies are not capitalist entities unto themselves, but rather a semi-free component of a fully functioning capitalist system made useful by the GNU corelibs, shell utilities and vital system components comprising a full corporate person as defined by law.

Many capitalist systems run with a modified version of the GNU system every day, without realizing it. Through a peculiar turn of events, the version of GNU which is widely used in large companies today is often ignored, and many citizens are not aware that it is basically the GNU system, developed by the GNU Project.

There really are large companies, but they are just a part of the wider system. Large companies are the parts we see every day: the people we buy goods and services from, allocating the world's resources for their customers. Large companies are an essential part of a capitalist system, but useless by themselves; they can only function in the context of a complete capitalist system. Large companies normally exist in combination with the GNU operating system: the whole system is basically GNU with large companies added, or GNU/Large companies. All the so-called large companies are really distributions of GNU/large companies.
Totally agree on wanting it both ways. When you associate a product with a brand, you are attempting to overcome objections by saying "This brand supports this product and is putting its reputation behind it."

If Google wants to experiment, create projects that don't have the Google brand (they just use G+ login like any other startup) and then reveal it was Google all along.

Let the projects succeed on their own merits, with their own marketing. If you tie in the Google brand you are setting expectations that this will be a long-lasting effort.
It would be incredibly socially valuable to be able to independently triangulate the location of cell phone towers and then observe if new mobile towers came online. i.e. Stingray detection.
I think the strongest use case for interfacing R with JS (be it through plot.ly, Shiny, rCharts etc) is when there is more serious statistical modelling going on (i.e. plotting things like credible intervals or model coefficients). But often you find that you add a 'statistical layer' after you already have an existing plot (i.e. adding a confidence band to a line plot). Maybe it makes sense to have one tool that handles all these cases.
EXTREMELY DISTURBING and GRAPHIC LEAKED VIDEO: ISIS Muslims Execute 11 Year-Old
So you did. Where'd you get the idea for the mondrian ad-replacement image? It's a bit too in-your-face for me, but the style is interesting.
You still have to loop over your returned records to verify uniqueness so wouldn't this automatically be solved?
Er, your Google Analytics chart shows the traffic regressing back to normal after the press blitz. That's evidence that being featured doesn't work in the long run; which contradicts the entire article.
"but in the US, you only get taxed when you sell the shares. Capital gains would not be recognized if you exercised the options and held onto the shares."

In the US this is a completely false statement.

As the FMV increases of your exercised options, you are responsible for paying taxes at the /time of exercise/ between the strike price and the FMV of that stock.

Once you pay those taxes, you do not need to continue to pay taxes as the FMV increases. The reason you pay at exercise is because you are exercising options that are already "in the money" even though you obviously have not yet realized that actual gain since you didn't sell the stock.

Sucks, but it's the way it is.
Downvoted for a compliment. Way to go HN, way to go.
Thats a great idea. So fucking obvious. I think that's a good MVP for this approach.
Thanks
Research consistently shows that 'pirates' spend more on media than the general public.
Google Cloud vs. AWS: a comparison
Its hard to quickly find an exact number, but the market cap of ETF's / mutual funds that follow the DJIA is pretty small (for understandable reasons) - the largest I can find is $12B (DIA)
This doesn't seem right to me:

> 3) How do you determine which devices and OS versions we should test on?

> This should generally be an easy question for the candidate. Good candidates will point to app analytics as the best measure, looking for the most used devices for their particular app. Another good answer would be to check the app reviews where people might have complained about specific issues happening on their devices. Less creative candidates might simply suggest “looking at the top devices” on the market

Looking at top devices is also incredibly important, and it seems foolish to dismiss that strategy.

What if your website doesn't work on iPhones, and so you have no iPhone users? What if, because people can't even sign up on an iPhone, they don't bother complaining about specific features not working?

Surely it makes more sense to test based on your target market, rather than the subset of people who are self-selecting to use your product?

Ideally you should be looking at both usage and market data. If your target market contains lots of iPhone users, but everyone's on Android, this points to a potential problem.
This affects me since I use Lucene/Solr in development. Are there any OpenJRE/OpenJDK builds that aren't hosted/built by Oracle?
Just re-sample the ones that "miss". It won't affect the distribution.
> The dynamic I've seen is there's a bad solution to something which isn't even a problem—as there are already better job sites around.

gov.uk did not build Universal Jobmatch. gov.uk did not build Universal Jobmatch. Universal Jobmatch is not part of gov.uk. Universal Jobmatch is not part of gov.uk. It is a separate site, operated by separate people, under an entirely separate Government department, which happens to be linked from the gov.uk website.

I'm not entirely sure what part of this isn't getting to you. The DWP is to blame for outsourcing Universal Jobmatch to Monster, gov.uk has absolutely nothing to do with it any more than, say, the passport office does. What you are saying is equivalent to blaming the passport office for Universal Jobmatch - it's crazy, they had nothing to do with it.

If you're angry that Universal Jobmatch exists at all, that's still the DWP's fault, not gov.uk's. gov.uk doesn't get to decide other departments' policies for them, it is in charge of developing digital services to fulfil those policies - and Universal Jobmatch is a legacy system, so gov.uk didn't even do that for the DWP.
Streamkeys[1]: https://chrome.google.com/webstore/detail/streamkeys/ekpipjo...

AdBlock(not ABP): https://chrome.google.com/webstore/detail/adblock/gighmmpiob...

And Clearly: https://chrome.google.com/webstore/detail/clearly/iooicodkii...

Because I just can't imagine my browser without them :)

[1]: http://streamkeys.com/
I'd consider that a corner case. And even then, it is possible to get something out. With private investments, that just may not be true or involves high ad hoc transaction costs.

My original reply was intended to point out that what was the top article comment at the time completely missed the point. Cuban is arguing that severe liquidity restraints are bad, especially so for small time investors. For scenarios like you describe, public exchanges aren't perfect either, but they are very, very good at facilitating near-instantaneous liquidity and they strictly dominate the current set of private crowd funding vehicles.
My adblock is uBlock: https://chrome.google.com/webstore/detail/%C2%B5block/cjpalh...

I also use Ghostery to block more scripts that slow sites down, and to block Google Analytics for my startup (so no faking stats): https://chrome.google.com/webstore/detail/ghostery/mlomiejdf...

I'm also a half marketer, so I use Alexa, Similar Web, Moz toolbar, and Open SEO https://chrome.google.com/webstore/detail/open-seo-statsform...
There is a fellow writer and music journalist from Queensland by the name of Andrew McMillan. His entry is a mere 398 words. I got a bit nervous when I found it because he died in 2012: http://en.wikipedia.org/wiki/Andrew_McMillan_(writer)
Fixed link:

https://www.google.com/finance?q=INDEXDJX%3A.DJI%2C+INDEXSP%...
He's a "VP of online marketing", not a VP of UX. He wouldn't know what went wrong.

MySpace had a horrible UX. You felt _dirty_ after browsing a few pages. Everything was all over the place; the form (UI) destroyed the function (social network). It was like Geocities and Friendster had a love-child that was addicted to LSD.
I had several rejections for the page of the former Finance Minister in my country, because they thought I was him and was self-promoting.

After writing on the editor's page and showing him enough news headlines, I convinced him it was legitimate.
All good advice, but don't be afraid to try a medicinal remedy as well. I know people for whom Zoloft (frequently prescribed for anxiety) has worked wonders.
I am not familiar with the inner workings of MediaWiki; how does modifying the credentials in LocalSettings.php change the JavaScript code?
The first quote is there for the benefit of people who aren't in the industry, and did not realize that Myspace wasn't hot among engineers in 2009.

You are misconceiving the second quote. That quote is the end of the article, where it has moved on from the topic of "What happened at Myspace", and is talking about the social networking industry at large. I do not interpret it as being a stab at Myspace specifically, nor about what happened there.
First, I was against doing intentional harm. I absolutely think s/he should walk away, but making enemies doesn't solve any problems and certainly could create some.

Second, you seem not to understand the difference between "breaking the law" and "getting sued". Intentionally screwing over a company can be both legal and lead to a lawsuit that you end up losing.
I'm not a ruby guy at all (never used it), but if I understand this correctly:

j = rand(idx)
out[j] = i if j < n

..it is keeping the sampling probability at n/idx where n is the sample/reservoir size and idx is the number of items seen so far. Then if this item is selected for sampling, each of the n items in the reservoir is equally likely to be replaced. I think the implementation is correct, assuming that idx is the number of items seen so far.
My essentials:

Disconnect: https://chrome.google.com/webstore/detail/disconnect/jeoacaf...

Edit this Cookie: https://chrome.google.com/webstore/detail/editthiscookie/fng...

HN Collapse: https://chrome.google.com/webstore/detail/hacker-news-collap...

HTTPS Everywhere: https://chrome.google.com/webstore/detail/https-everywhere/g...

JSON Prettifier: https://chrome.google.com/webstore/detail/json-prettifier/kc...

Postman: https://chrome.google.com/webstore/detail/postman-rest-clien...

uBlock: https://chrome.google.com/webstore/detail/%C2%B5block/cjpalh...
What is the trendiest generic top level domain?
Besides .com .org and all those other mainstays...

Is .club catching steam? Curious
Sure, it's been a few years since I tried qGIS. I remember it being okay for layering shape files and a couple other tasks but not too much else.

However, It looks like they've done a ton of work to it in the intervening years.
ssllabs test just checks your server for common ssl related problems, it does not allow you to actively exploit ssl bugs like FREAK or BEAST
> - is it a common problem to have, not knowing the set size?

One motivating case is when the items arrive over time, like you have a website and you want to sample uniformly from your visitors over the course of the next hour. You don't need to know how many people will arrive.
> But these problems aren't solved by reservoir sampling. Reservoir sampling is still O(N), and it requires generating a random number for every element.

I had the same thought reading this. This solution is only really suitable if the number of elements to select is within some constant of the total number of elements.

> More generally, reservoir sampling is appropriate when you don't know the size of the set beforehand. But in the premise, we do know the size of the set. And if you know the size of the set (and have some way to address arbitrary elements), then randomly generating a set of X indices is going to be much simpler and faster. Yeah, you have to deal with duplicate indices, but that's an easy problem to solve.

Last time I had to solve this, I came up with the following solution[1] which doesn't generate any duplicates and runs in O(k) where k is the size of result set.

[1] http://ideone.com/CAwuxW
Logitech’s ConferenceCam Connect: video conferencing made easier
Edit This Cookie - https://chrome.google.com/webstore/detail/editthiscookie/fng...

SPOF-Matic (simulate 3rd party resources being unavailable)
https://chrome.google.com/webstore/detail/spof-o-matic/plikh...

JSONView
https://chrome.google.com/webstore/detail/jsonview/chklaanhf...
JSONView: https://chrome.google.com/webstore/detail/jsonview/chklaanhf...

OneTab: http://www.one-tab.com/

Privacy Badger: https://www.eff.org/privacybadger
5 reasons why Google Compute Engine will be the next cloud choice
But that's happening here as well, right? The random number is an indexed picked between 0 and the current index.

Though, I think there is an off-by one in this implementation (assuming that Ruby indexing starts at 0):

j = rand(idx)
out[j] = i if j < n

Say that the index is n, it will call rand(n), which gives a random number [0..n). However, the index should be picked from [0..n].
I don't understand this notion that "Google and Apple don't get social". What's to get or not get? Google+ beats FB for features and usability by a mile. Who could have possibly thought that Twitter would be a huge success? I still don't get it! What does Instagram do that FB didn't already do? I love all these analysts tripping over themselves to come up with a formula for a business model that at it's core relies on dumb luck.
I've read both and I wouldn't recommend The Four Steps since the second book came out. However, it is still very good.
Awesome.

Let's keep this going.
I really like this algorithm, and I think it's instructive to think about a naive solution, and how it differs.

Looping n times, calling rand(n) and putting the random element in the output. This mostly works, and is actually far better, in space and time, especially in the case where "putting the element in the output" is expensive (as is implied by the "kajillions of records" premise).

The problem with this solution is that you might pick the same random number twice or more in a row. This means you have to keep track of your random numbers if you absolutely can't tolerate a slightly smaller sample.

The reservoir avoids reusing random numbers in a clever way, by only applying the random number as the target for replacement, and iterating over every N. So the same elt in the sample might be replaced twice, but no elt in N will be added to the sample twice.

One interesting thing is that when N is slightly larger than n, those extra elements are very likely to replace something in the base sample. In fact, the probability is n/N.
This.

Meditation, CBT, a regular sleep pattern.
> With regard to age, both qmail and Postfix were written around 1998.

Postfix has been updated (latest stable release February 8, 2015). Qmail doesn't get updated because DJB considers it complete (last [official] stable release June 15, 1998). There are custom third-party patches you can compile into qmail, so I guess those could be considered updates.
The site was pretty confusing. In fact after I left the top I couldn't find where to sign up again.

I also couldn't get back to the homepage without logging out.

Everything about the marketing has been said before. Work on the branding and work on the content etc.

About the app itself: I REALLY like it. It has potential.

There are some UX aspects that need looked into. Making the UI stand out more. Making it easier to get back to the loop list from an inner loop. Cut down on what loopy says all at once. People don't like walls of text.

Make the first login interactive look at how duolingo does it http://www.useronboard.com/how-duolingo-onboards-new-users/ (I'm in no way affiliated with that site but it gives an overview of duolingo)

Keep it up. I really like it! Hopefully it will work out for you I would/will use it but without a better tutorial I can't send it to my boss and say "we should use this." Hopefully someday!
Heck, just check out the "list of collaborative software" and "list of project management software" articles; they're there more as a quarantine zone/chew toy than anything. Every time someone makes a crappy productivity webapp they apparently feel justified in creating its wikipedia article. These often continue to exist for a year or two before an editor finally takes the time to throw it into the delete queue. At least these are indexed in one place, whereas biographies of obscure people have no such convenient referral page.
5 Reasons You Need to Watch Real People Use Your App
If the GPL is regarded as inapplicable to dynamic linking, then its purpose is the same as that of the LGPL.

Independently of the linking issue, the GPL prevents redistribution in non-source-code form.

It ensures that users have access to the source code of the covered work, and can modify that code, share the modifications, and build the code to produce a component which replaces the one which the proprietary program uses.

Continuing with the fictitious "Libbash", it means that users can patch or upgrade their "Libbash". My proprietary program will use whatever version they have installed, just like it will use whatever version of /bin/bash they have installed. If I were to statically link "libbash.a" into my program, then there would be a violation: users cannot upgrade or replace that. And, of course, it necessarily must be shipped with my program, being an inseparable part of it, so I cannot avoid redistributing.

Dynamic linking is no different from command line invocation. Having it embroiled in the licensing rhetoric is a pointless mingling of C-and-Unix technology concepts with freedom concepts.
OneTab.

You can very quickly "bin" groups of tabs and save them in a format which I treat as a "stack." It would be even better if the OneTab page were searchable by content behind the links, but it's not a sorely felt need. Find in the page and Google are handy enough. It also saves a lot of resources that would otherwise be used by Chrome.
Ghostery does wonders and been using it for awhile now.
Are you aware of the client location (%lo) support introduced in 1.04? Since it works at a per-record level---instead of per-zone---I find it more useful than the typical split view support.

http://cr.yp.to/djbdns/tinydns-data.html
Odd, I have a memory of my phone telling me that hangouts was a replacement for talk..

Not that it matters. Pushing a change "as an update" is a detail of how the app database works. It has no bearing on whether it's a replacement or not.

Wikipedia sure seems to think they're different things, and they love to merge articles.

Also if it's not a replacement they sure could have chosen better wording for: "Google Talk app for Windows will stop working on Feb 16 2015. It is replaced by the new Hangouts Chrome app."
It’s Not Just the Drug War
Beautify Mp3's name in Bulk by shell – remove special character,numbers etc.
doesn't your implementation require you to fetch all data into the client process for ruby to iterate over?

isn't the movement of such data -- when you have billions of rows simply impossible in reasonable time?
Stereotypically, no one on LSD would be nearly so tasteless.

MySpace felt more like a raging alcoholic to me.
i can absolutely relate.

i have OCD, bipolar disorder, PTSD, and generalized anxiety disorder. i love writing software, but i struggle every. single. day. i totally understand the negative feedback loop. i worry that my performance will suffer, it DOES suffer because i worry so much about it, etc etc. and then there are days like today where i come in to work in the middle of a manic episode and have a million ideas that i can't extract from my brain because it's racing too fast. under less distressed circumstances, i could write something more eloquent for you, but getting just a few sentences out is a victory at the moment. suffice to say: you are not alone.