skysight-inc/HackerNews huggingface dataset:
Social/group travel booking services like these have always interested me, and this one in particular looks really slick, but they all suffer from the same, major, challenges: customer acquisition costs and timing.

First, potential customers need to find you. And you're competing against big players running national TV ads (if I see that Trivago guy one more time...) and whose addressable market – not to mention resources/revenue – is larger than yours (i.e., their market is Anyone Who Travels as opposed to Those Who Travel in Groups).

Second, even if you are the kind of person who travels with friends somewhat regularly, you're doing it, what, maybe two times a year, three max? Not only do you have to get in front of potential users' faces, you have to do it exactly at the moment (of which you have three) they need you, and once those precious few moments have passed, you've likely lost them. (Or you have to spend a crapton of money to advertise constantly. See above.)

The way to make this a success IMHO is to target businesses. Forget consumers for now. It is really really hard to change behavior one person at a time. It's slightly easier (different kind of challenge) to sell this to the enterprise as a way of driving corporate compliance, where the benefits are clear: (policy compliance + cost savings + simplified booking process) * many trips a year.
Stucked at "Posting tweet..."
Sure I want virtual networking devices, now what’s NFV?
"I appeared on @TheChangelog for close to two hours to talk about 10+ years of Rails, http://thechangelog.com/145/ – culture, code, organization." -- https://twitter.com/dhh/status/573909474865451009
>In the actual definition of notability, it is made clear that the policy is purely about verifiability: something is notable when we can say more than a couple verifiable things about it.

Someone is doing things very wrong then, because I've seen a lot of over-specialized but completely verifiable information get removed from Wikipedia. The reasoning was entirely based on noteworthiness.
What would be the point of the GPL if you could just bypass it by dynamic linking?
I'm not asking this to be snark, but because I am still not seeing a major difference.

For example, take a math textbook. Generally they are broken into subjects (eg circles) and then that topic is broken into lessons (eg circumference or area). Each lesson provides tactics & formulas for solving problems, examples of applying them, and a problem set to practice with.

In my experience this is basically what a teacher would present in the classroom, with the exception of their samples being more interactive, and teachers having the ability answer questions.

Were you thinking of another type of textbook? I can see how this may be different for history or literature textbooks, but to me that just means that said textbooks are doing a poorer job of covering everything they should. I think a textbook shouldn't just cover content, it should facilitate learning the content.
See also uBlock https://chrome.google.com/webstore/detail/µblock/cjpalhdlnbp... for ad blocking.
Creator of coven-cli here!

On the top of my head, only the `open` feature is Mac OS X only [I'm working on a fix that would work on non-MacOSX too]. What other features do you see that would only work on the Mac?

-jacky
Nice work austin! (Fellow assembly user)

Thoughts:
- I was wondering about this exact same thing the other day. Twitter photos have made it really easy to break the 140 character rule, and there are lots of wordpics in my stream these days. This seems like a brilliant hack.
- [BUG] No space between "Posted" and "Month"
- It currently counts self-views as well. Maybe remove them from the count? Should be possible as long as images are not on a CDN, I think
Daemontools is a gift from the unix gods.

Having been a unix user for most of my professional life, I haven't even heard of it until a project for which it was exactly what I needed. When I found it, within an hour I was ready to deploy with all my requirements met and the best of it - it all worked as any experienced unix user would expect it to be! (And I don't remember even skimming the man page.)
Imagine cracking this question in an a 45 min phone interview, if you have never heard about it.
As someone who has been using Storm, this looks very interesting. What I particularly like are the clean, well thought-out ideas. Also, easily reconfigurable (at runtime) topologies are something we'd be interested in. I will definitely take a very close look at Onyx.

Performance is important: in our case, decreasing it significantly below Storm's level would not be acceptable.

Also, I watched the Strange Loop presentation and the tree model looks limiting to me: I have topologies where I need to merge information from two streams (but perhaps I haven't understood the Onyx model yet).
That isn't a uniform distribution. It's biased in favor of records with a bigger index. (I.e., rand() returns the sane value twice.)
...but then you've just pushed the lambda somewhere else:

(map (lambda (x) (try-3 x)) collection-of-try-threeables)

...that's why a lightweight anonymous function notation is useful (Clojure's #() reader macro, etc.).
Spoiler alert: They're not.
Typical process might be - and this is at a very hight/crude level - 1) job that checks out & runs unit tests triggering 2) a job that creates a build triggering 3) a job deploying to an integration/staging environment and possibly even triggering (or with an air gap, requiring manually running) 4) a job to promote to a production environment.

Testing can/should be added between various steps there depending on the type of product you are working with. Automated functional tests be integrated into a process like that at several points (qa ownership of portions of unit/integration testing framework and automated tests that smoke test new deployments to a staging environment) and knowing those points/tools that integrate well with your CI system/ability to implement those integrations is probably something you want a qa manager to be familiar with.
That is an interesting contrast, and similar to ones I've seen. People who have trained on an instrument such as a piano (or violin in one case) from a young age, who are technically proficient but never stray off the music page. And people who like to play around with the notes and try different things, on anything, even non-instruments like soup cans at one campout I was on.
Love the text overlay. It would be nice to also have project links in the text.
I actually have that running on Firefox. For some reason my Chrome had random memory leak spikes from uBlock.
Because not everyone here is the teenage girl version of a programmer who only goes after the newest fad without taking in account the actual features of a system and practical implications of promoting a monopoly.
Non-smooth video in games
Why are cutscenes in games still a stuttery mess? Recent examples: Alien Isolation, Homeworld Remastered.

Its perhaps more noticeable on PC, but exists on consoles also.

This has been bothering me for as long I have been playing games that has cutscenes (20 years?).
Pee to the side, hitting the wall at a shallow angle. Sounds like a fun game if you're drunk
They've provided a bit more information on how they chose it here: https://gds.blog.gov.uk/2012/07/05/a-few-notes-on-typography...
REAL Bypass iCloud Activation Lock iOS 8pangu8
In my experience QA wants it a lot more (test from known artifacts) than dev.
This was still trivial to get around on calculators: on a TI 83/84 you could simply archive any programs you wanted to survive a memory wipe, then un-archive them after the wipe. This trick was widely employed by students in my high school who stored notes/equations by using programs as generic text files.
You may be referring to the Philip Roth incident. (There are a number of such incidents, but this is perhaps the most famous).

Essentially, the article on Roth's book The Human Stain (an excellent book by the way) cited a New York Times critic as saying that the main character may have been inspired by a particular person. Roth's agent attempted to remove this (Roth says that he was not inspired by this person). However, there was no published source that indicated that Roth felt this way, just Roth's agent's communication with Wikipedia volunteers. So Roth published an article in The New Yorker as a means of establishing a published source that could be used to refute the claim.

I think the ultimate resolution was to say something like "New York Times critic says Roth was inspired by... but Roth says..."

This is a case where both sides were partially right. It's perfectly encyclopedic to note that a major critic believes that an author was inspired by a particular person. However, there should have been a better mechanism for the author to establish his own version of the story.

But it gets into complicated areas. Should Wikipedia just take anything that an agent sends at face value? Isn't it possible that a person isn't the best source on biography (plenty of people have self-serving and inaccurate views on themselves). Wikipedia's general philosophy is to look at what reliable sources say and summarize them rather than trying to make judgements about who is right and wrong and I think the resolution of citing both sources and letting readers decide was reasonable.
This is the biggest thing I miss from living in Orlando - back when the Space Shuttle was still flying, a night launch would light up the sky - the SRBs were brighter than the moon. Some of my best memories as a child were a couple of specific little league baseball games that took place during evening launches. We'd always stop the game and stare up at the sky in wonder and watch the shuttle slip Earth's surly bonds.
The way I see it is DNA is much like a very long running program meant to run for millions to billions of years. Our current life is an instance of some code in the DNA. Due to the longevity of the purpose of DNA, and our short span in an instance, it is very, very difficult to ascertain what some parts may be about, or what it's for. Not to mention the high compressibility of information in DNA, some aspects might never really reveal themselves unless met with an instance in an environment it is "meant to run in".
NCAA suspends Jim Boeheim for nine games, cuts Syracuse scholarships
Wow, OmniRef is cool. StackOverflow-style Q & A embedded right into source code.

Reservoir sampling: I'm not sure that applying this algorithm to database sampling is the right thing to do. By its nature, the algorithm has to touch every single row in a database, and it does that because it's designed for data streams where you don't know in advance the size of the stream -- which isn't the case with database tables.

Assuming a uniform distribution in your database, you could instead do something like:

SELECT *
FROM (
SELECT
@row := @row +1 AS rownum, [column, column, columns...]
FROM (
SELECT @row :=0) r, [table name]
) ranked
WHERE rownum % [n] = 1

to get every nth record of your table, calculating n ahead of time for n ~= (table size)/(sample size). That should be a little bit faster and in most cases still provide acceptable results.
Because depending on your level of CI integration, many of the automated tests that QA writes can be run as part of the CI process. Developers are really bad at maintaining CI systems, so it usually falls on the QA team to ensure new tests are included in the CI workflow.

Ultimately, it's QA's job to certify a release. With CI, that certification is often done in an automated fashion. Thus, QA should have ultimate responsibility for the configuration and execution of the tests as part of CI.
This is a great article and I wish it would get more attention. Very often a site gets penalized without any rhyme or reason and the end user has no way to find out why or how. It's just darkness, and Google doesn't care.
Author here.

Yes, reservoir sampling is O(N), but my point there was that it doesn't require instantiating every record at once. Also, the cost of the random number generation isn't the big deal in an ORDER BY RANDOM() implementation -- it's that even the smart implementations end up doing multiple table scans. So even at O(n) this probably beats most implementations of that approach, in practice.

Reservoir sampling is appropriate with more than just a set of unknown size -- you very frequently know the size of a set, but it's still too big to sample directly. But yes, if your sets are small, you have a lot of options.
I remember "Norwegian broadcaster NRK embraces P2P, sets up own torrent tracker" (2009) [1], so the torrent protocol for distributing content is a good alternative for studios.

Probably now, torrent is a loaded term.

[1] http://www.theguardian.com/media/pda/2009/mar/10/p2p-pirate-...
> Squall is a community-built product on Assembly. So each contributor gets some fraction of ownership, commensurate with their contribution to the product.

How's that work, if you don't mind explaining?

edit: Nevermind, I found it: https://assembly.com/help/basics#how-does-assembly-work
Any dev who doesn't want CI is a bad dev, end of conversation.
Nicely put, sir/ma'am!
KDE Accepted to Google Summer of Code 2015
Upvoted for ninite, which I hadn't heard of before.
Yes - the code is wrong. A correct implementation would adjust the probability of sampling based on how many items have been trialed.

EDIT: I misread it as rand(n), rand(idx) is correct.
Google desktop search was great. At the high of the desktop search engine race, it competed with OSX Spotlight and Windows desktop search (and various others like Yahoo X11, Copernic desktop search). Google worked on 3 major OS and run on a local web server. It looked like a local Google search and indexed various file formats incl. iFilter support.

As basically all companies stopped further developing desktop search products, I needed a proper replacement. I developed an enterprise/desktop search engine last year that basically reimplements Google desktop search including advanced search syntax and support for various file formats.
I still don't see many arguments about advertising when it comes to TLS. I can't deploy TLS across my sites without losing a huge amount of ad inventory due to cross-site request policies (no HTTP content from HTTPS domains).

AFAIK, Google is the only network actively working on having HTTPS-supported ads. The value of the ads drops significantly as the auction pressure from all the HTTP ads is gone, meaning any sites that rely on ad revenue can not afford to use TLS.
Meteor can scale (2 small AWS instances)
The GPL has some fun semantics.

Take MediaWiki, it is GPL licensed (not AGPL), so you can modify it and run an instance of it without sharing your changes. Except, when someone accesses it, you are redistributing MediaWiki's GPL-licensed JavaScript files to their browser, so you do have to share your changes[0]. Think how many sites there are violating that without even realising.

Now think how you configure MediaWiki; you modify LocalSettings.php to (at the bare minimum) add the database username/password, and set the secret key.

This means essentially every site running a MediaWiki installation (or Wordpress, or effectively any other GPL-licensed web application) is violating the GPL, and are only getting away with it because no one has bothered to take legal action over it.

[0] http://lwn.net/Articles/609709/ (section: "JavaScript and the GPL")
And now we might get to figure out those bright spots :-) I look forward to the day when someone could take their space tug, fuel up at depot at the Earth-Moon L2 point, then plot an intercept trajectory to the asteroid belt station.
Reading the timeline on that is pretty sad, and reflects badly on wikipedia. Controversial article gets speedy deleted against policy and there's no recourse.
I did that on one project in previous lifetime. We had a paper journal that the team used, and I wrote down a description of each and every bug that I made. It improved my code substantially. I have restarted that task again.
Kazuo Ishiguro: By the Book
I hear you, I don't always word things the best either.

I think your example here is a fair question, but if there is still a lot to cover I may not take the opportunity to answer it either and instead move on to the next part of the interview, if your answer/question gave me what I needed from you. e.g. you gave an answer, and you knew it wasn't the best but were willing to look for other options and collaborate. That said, many times I am the guy who wants to talk through it with you because learning your thought process to me is WAY more important than whether you got the right answer.
Orbit: Cloud based dev environments without web based editors
JSONView is really useful to see formatted json text https://chrome.google.com/webstore/detail/jsonview/chklaanhf...
DRF brought me back to Django after a foray into Flask-land. It's a pleasure to work with. Thanks for your work, and to the backers who funded the latest development!
37 concurrent users does not demonstrate scalability.
Pretty interesting concept. I could see it expanding well to the Apple Watch in a real time, on demand, trivia game.
This might not be true in Canada, but in the States when investors buy preferred shares with a liquidation preference (even 1x non-participating) the common share valuation can still be quite low, even possibly still PAR. It's called a 'thin common' valuation strategy.

The general idea is, what is the value an investor would have paid without any of the additional rights granted by the preferred shares? Usually for early stage startups the answer is reasonably close to "$0" -- the deal would never happen without the preference. The common shares are often still worthless, in reality and for tax purposes as well, after a Series AA and sometimes even after Series A.
Performance - wait until the 0.6.0 release. We'll be caught up with Storm by then.

The tree model is being removed in 0.6.0 in favor of a vector of vectors (DAG), which allows multiple inputs. See https://github.com/MichaelDrogalis/onyx/blob/0.5.x/doc/user-... The tree model wasn't one of my better ideas.

Edit: to be clear, you can do stream joins right now in 0.5.3 with the DAG model.
While what we've built works great for consumer groups, it goes way beyond that. We've also built:

* Small/medium business features (https://www.hopon.com/why/business)

* Features for recurring solo trips (https://www.hopon.com/why/recurring)

* The ability to share past trips with friends/colleagues for easy copying (https://www.hopon.com/why/vacation)

Give it a shot and let me know what you think!
Node with Docker – continuous integration and delivery
The 'Product Hunt Effect'
> the Nucleo F411RE is my current go-to board for starting a new project

Well stop it! Distributors keep running out of that one when I want one.
Discussed 4 years ago at https://news.ycombinator.com/item?id=2894141. (Reposts don't count as dupes after about a year.)
What is a "tweetstorm"? A rapid series of tweets on a particular event or topic?
I think in any real life scenario I would have an idea about the number of records in my table, or could figure that out very cost effectively. So to follow in OP's example with Rails, I would just do Table.where(id: [array_of_random_ids]), which is going to be extraordinarily more efficient than his batch processing Table.find_all.

Something should really only be filed under "Every Programmer Should Know" if it will be encountered in the real world more than once or twice. So in this case, the title feels like click-bait.
I've done a setup similar to this in the past and really enjoy it. If you ever find yourself writing logic in your Resque/Sidekiq jobs that has to do with manually managing a data structure in Redis with regard to your jobs, your app is screaming for a language with better tools for modeling complex workflows.

A lot of people are hitting on the performance improvements (25 Sidekiq threads/workers versus 10k-100k+ Elixir/Erlang processes) but when I find myself doing this it's actually because my background process flows are really complex. The drastic increase in concurrency is just the cherry on top.

Background work is asynchronous by nature and often times you have dependencies between jobs, groups/batches jobs and also need robust error handling/recovery. This is where Elixir/Erlang really shines and using Actors & OTP to model these complex flows is the huge win in my experience. Sidekiq Pro offers support for batches which covers some of this, but ultimately Elixir/Erlang processes are just a huge improvement in modeling such systems.

A concrete example is sending off 10 jobs. When all 10 are done, move on to the next step. Each of these 10 jobs can also send data to the waiting step which it can then use as arguments. If any job should fail N times, cancel and rollback all of the jobs and try again. After the next step, split those 10 jobs into two groups of 5 and do those 5 sequentially. So on and so forth. Try doing this in Ruby. You'll likely have to manage your own data structures in Redis. In Elixir you just use GenServers and sometimes ets tables. It's all handled in the language itself, rather than external data stores.

Sidekiq is probably suitable for 90% of Ruby apps doing basic fire and forget and batching with Sidekiq Pro. But if your domain has seriously complicated background processing, use a tool more suited for that.
Thanks! We are certainly excited about the Apple Watch potential.
Do you have to make sure to address the scenario where a generated index may possibly not exist in a table (deletion, whatever)? It says nothing about the index being contiguous. This can potentially end up with your algorithm returning less than #{X} if your generated indices don't exist.
Why Companies Have Little Incentive to Invest in Information Security
Nice work, just read about your project in an Assembly email.

That said, based on all of the Squall posts I've looked at, I can only read a fraction of the image. The rest is obscured by Twitter.

Given this state of affairs, how is Squall better than just posting a link to a Gist, or something like that, since I have to click on the link to read the full post in both cases?
Graphic Products, out of Beaverton, OR??? I've heard about them, and not good things.
I can't upvote this enough. Once I learned about it, it really shocked me about how this is one of the most popular indexes in the world.
Giant Rats Sniff Out Landmines in Tanzania
I don't think this is true -- the index rises in proportion to the stock's price. The stock price of company A would have to rise $26.66~ to incur the same index increase as company B.

It does ignore market cap though. So if company A's market cap was $800M but company B's market cap was $3M, and the shares rise as I explained, they'd still have the same impact on the DJIA. That's why it's flawed.

However, it's a really good indicator of investment performance. Just not necessarily market or economic performance.