skysight-inc/HackerNews huggingface dataset:
> She had built a prototype for a travel website, she said, a feature to auto-suggest cities and airports based on the first three letters typed into the search field, fixing a long-standing problem.

> Her male bosses told her she'd built it without permission. Then they said only architects within the company could pitch features — and all the architects were male. In the end, the project was handed to someone else, and she was assigned to less interesting tasks.

To me, this sounds like "business as usual" at large companies. I am a male and I have encountered and will likely continue to encounter situations like this often. It has nothing to do with gender and everything to do with classic enterprise problems like "silos", "not invented here syndrome", and just general political BS like, "you/your team don't get to mess with our product/project."

I have no idea if this kind of "default deny" mode of operation results in less women in tech but if it's a major factor then I think it's safe to say that sexism isn't the reason why women are leaving/not entering IT careers.
xTab saved my life!

"Limit maximum number of open tabs."
Use Panda (https://usepanda.com/)
Pocket (https://chrome.google.com/webstore/detail/save-to-pocket/nil...)
With respect, I often hear people say "I'm incredibly lucky."

When I think about the actions they have taken over time, it seems to me that they have had a history of generally good decision making.

So I just want to gently question whether your success is as much about luck as you may think.
I've read this guy's papers in the past and the premise, which is interesting, is basically cells can't die if they don't have the necessary chemicals to metabolize. The mouse experiment was pretty unique (suspended animation at room temperature).
What do you mean it's not possible to work around libraries and APIs returning nulls? That's exactly the point I made, Flow solved it.

Yes, they had to write interface for all browser APIs (and it's incomplete, PRs welcome), and in places where API might return null it states that it may return it. And your code has to deal with null and non-null cases explicitly (or at least put an if).

You are right though that this type-system is much weaker than other languages like Elm or Haskell, and for me, being from a Haskell world, writing JS with Flow was still a disappointment. It's just that currently there's no better alternative I know in terms of interop with JS and good level of error-reporting.
This is one of those rare occasions where the UI looks so good that I feel compelled to organize a trip for my family now. For personal and family trips, the only thing that might prevent me from using it would be the prices for flights. As long as they're comparable to Orbitz, Kayak, etc, I'd much rather book through your app. And as long as you provided clean itineraries and receipts, it seems like a no-brainer for corporate travel.

Are there plans for an Android app?
If someone replied to a woman explaining that her coworkers weren't being rude, they were giving her complements, they would be flagged to oblivion. Why is it appropriate for you to respond like this here? Because mycroft-holmes seems to be male? It's this sort of disgusting double standard that is the problem in the tech industry.
MySpace was a stepping stone from GeoCities to Facebook.
First time I've heard of OneTab and checking it out now.
Very much so, so much so we built technologies to help measure and manage the physiology of anxiety/stress. I found that my physiology is much more manageable when I sleep well and exercise. From the perspective of the body, the autonomic nervous system is stress/anxiety, sleep/relaxation, and exercise. They are all the same bodily, interconnected system. Meditation and naps and mindfulness exercises work. So does simple, calming breathing exercise. All are a skill like anything else.

I know I'll never change how I respond to social settings and large crowds, and both are intimately involved in my job as a founder, but the physiological and contextual data has helped me to realize that the effects are manageable. Those effects are often common and one reason alcohol is likely such a popular sedative. But alcohol affects how well I sleep and so I gave it up. Nothing is more important in my life now than getting a good night's sleep.

I'm a neuroscientist by training and was not taught much of anything about the physiology of fight-or-flight versus rest-and-relax during my Ph.D. It's an entire area of medicine untouched by modern science. If you saw the equivalent of a therapist in 1880, opium and cocaine were the Prozac and Ritalin of their time.
Thanks for your thoughts! It's great to hear from others who are experiencing these feelings, and I've also found meditation and sleep to be fundamental. The fight/flight response is a cool way of characterizing the difficulty of running away from and/or resisting these feelings.
At work, we all actually joke openly about this and I think it helps to know that everybody feels that insecurity to some degree or other.

All week long you'll hear self-deprecating remarks like:

"Oops, I suppose that bug exposes me as the mediocre hack that I am, haha"

"...but unfortunately I forgot to uncomment that section, because I am a complete idiot..."

In a way it helps keep your confidence up, because you're modeling the behavior of confident people. (Joking openly about one's own shortcomings)
> is it a common problem to have, not knowing the set size?

Yes. It could be as simple as receiving values from a Python generator (or equivalent mechanism in your favourite language), where you don't know the number of items beforehand (and querying for the length is either impossible or expensive).

In such a cases, using reservoir sampling is an elegant solution, because you're probably in a situation where you'll be iterating through all values anyway.
Url changed from https://www.schneier.com/blog/archives/2015/03/the_tsas_fast..., which points to this.
I've been using REST Console, which is useful, but sounds like Postman may have more features.
Just curious, why specifically AdBlock and not ABP?
More to your question, have you looked into Internal Family Systems Therapy? I'm currently reading a book on this by Schwartz, and I'm finding it helpful.

http://www.amazon.com/Internal-Family-Systems-Therapy-Guilfo...
Sales Techniques – The Bitter Business
I curious as to what your diet consists of everyday?
From your linked article:

> There are very few Web 2.0 features. Social features are primitive: readers cannot make an easy list of their favorites, nor can they share to Facebook or Twitter with a single click. It’s as if the past ten years of progress had never happened.

Thank god.
>>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.

I'm not sure that I buy this...Do you have an example? Still, it is a neat algorithm. And it is a true stream query algorithm, that is, if you have an open-ended stream, it maintains a random sample at all times.
It was .ly, then it became .co, and now it's .io.

Note, though, that the implicit "I/O" reference in .io means that it's more often used for products aimed at a technical audience. So as a replacement for .com, I'm not really sure what the frontrunner is now.

A few other trends that are similarly related to the .com shortage: adding "get" to the beginning of the domain or "app"/"hq" to the end.

We're probably at the end of the "everyone wants a .com/.co/.io" era though. People will start to use TLDs that have semantic value ("beer.club" instead of "beerclubapp.com" for example)
I feel you. I have a wonderful family, well paid job I enjoy and am occasionally good at, he worry it's all going to be taken away.

I think there are a few practical things to do

- benchmark yourself against objective reality
- understand the problem of imposter syndrome
- improve your lifestyle
- take medicines

Firstly, there are ways to discover your own knowledge and abilities against external benchmarks. For example many programmin languages have koans for practising or similar.

This will give you a way to sample your self more objectively.

Imposter syndrome - everyone has it, and everyone is afraid the rug will be pulled away. Absolutely everyone.

Sleep, eat exercise right. Easy to say, hard to do but every improvement will help you

Medicate - there are drugs from SSRIs onwards. Combined with plans like above there is little reason a years course would not help you buy time to sort the rest out.

Take care. You are not alone
If you have N locations with known addresses and you can select a sample of k from those addresses randomly with uniform probability, then sure, do that.

But there are lots of situations where you don't have that: say, you're sampling from a database join, or you're just using a table that has non-contiguous id values (e.g. a table with deletions). Or, in the case of truly "Big Data", you have the data spread over multiple machines. In these cases, you need an approach suitable for when you don't know the size of the stream, you can't load it all into memory and/or you can't select randomly from an address pool.
Is there anything like Tabs Outliner but attached to the same window? More like Tree Style Tabs. At this point I may even be willing to run mitmproxy to inject an iframe into every page or something :(
It's just the way that you're signalled not to make these kind of posts.
It's not personal even if it feels like it.
Actually I was more curious about the final year exam itself. Is this required in some schools? I have never heard of such a thing in colleges in the US.
Well, I never called Paint.net "FOSS". I referred to "open source and freeware" later though.
The ceramic particles increase a hardness of the precious metal matrix composite compared to the continuous metal material without the ceramic materials. The precious metal matrix composite includes about 75% precious metal by mass.

Ok, that makes more sense. The ceramic would indeed make the resulting composite harder. And has a side benefit of reducing the amount of gold used. Starting from 24k (pure) gold, the 75% ratio gets them to 18k, commonly used in jewelry in the US.
I don't see it as a grind because part of what makes leveling up fun is gaining more skills, the unlocks are a nice add on and certainly make an incentive.
https://chrome.google.com/webstore/detail/sleeping-corgis/ae...

Replace all the images on the web with sleeping corgis! What could be better?
Worrying about your competence to do the job more than your peers (who seem qualified to judge) is a good indication you're up to it. [1]

Self-confidence is higher amongst the ignorant, because they do not understand the size of the problem. A well-informed person knows nothing is as simple as it seems, so it's natural to worry. [2]

What will help you relax: be upfront to your team about what you don't know, or where you need help. The best trait a team member can have is self-knowledge.

[1] https://en.wikipedia.org/wiki/Impostor_syndrome

[2] https://en.wikipedia.org/wiki/Dunning–Kruger_effect
Momentum | https://chrome.google.com/webstore/detail/momentum/laookkfkn...

This displays a beautiful photograph on your "New Tab" page instead of a list of your most visited sites, which if you're anything like me is procrastination central. It serves as a reminder for me to slow down, stay focussed, and not obsessively check news, Hacker News, etc... (yep, it's not exactly working at the moment ;-)

It also allows you to specify a main task for the day to keep you focussed but I only occasionally use that.
* Authy - Authy: Two-Factor Authentication from your PC (https://chrome.google.com/webstore/detail/gaedmjdfmmahhbjefc...)

* EditThisCookie - EditThisCookie is a cookie manager. You can add, delete, edit, search, protect and block cookies! (http://www.editthiscookie.com/)

* Faviconize Google - Adds favicons to each link offered by Google search results (https://chrome.google.com/webstore/detail/fijobgpmmkilncagcl...)

* Hackbook - Follow/unfollow, news feed and notifications for Hacker News (https://chrome.google.com/webstore/detail/logdfcelflpgcbfebi...)

* HackerNew - The best Hacker News extension, making HN quicker and more useful since 2012. (https://chrome.google.com/webstore/detail/lgoghlndihpmbbgmbp...) (IMHO HackBook > HackerNew)

* Hover Zoom - Enlarge thumbnails on mouse over. Works on many sites (Facebook, Twitter, Flickr, Reddit, Amazon, Tumblr, etc). (http://hoverzoom.net/)

* HTTPS Everywhere - Encrypt the Web! Automatically use HTTPS security on many sites. (https://www.eff.org/https-everywhere)

* JSONView - Validate and view JSON documents (https://chrome.google.com/webstore/detail/chklaanhfefbnpoihc...)

* Lazarus: Form Recovery - Autosaves everything you type so you can easily recover from form-killing timeouts, crashes and network errors. (https://chrome.google.com/webstore/detail/loljledaigphbcpfhf...)

* Mailto: for Gmail™ - Makes mailto: links open a Gmail™ compose window. Nothing more, nothing less. (https://chrome.google.com/webstore/detail/dgkkmcknielgdhebim...)

* Media Keys by Sway.fm - Media keys support for online radio and streaming music apps. (https://chrome.google.com/webstore/detail/icckhjgjjompfgoiid...)

* Personal Blocklist (by Google) - Blocks domains/hosts from appearing in your Google search results. (https://chrome.google.com/webstore/detail/nolijncfnkgaikbjbd...)

* Postman - REST Client (Packaged App) - (https://chrome.google.com/webstore/detail/fhbjgbiflinjbdggeh...)

* PrettyPrint - JavaScript and CSS formatter/syntax highlighter (https://chrome.google.com/webstore/detail/nipdlgebaanapcphbc...)

* Privacy Badger - Privacy Badger Beta release: Block Spying ads & invisible trackers (https://chrome.google.com/webstore/detail/pkehgijcmpdhfbdbbn...)

* Reddit Enhancement Suite - Reddit Enhancement Suite - a group of enhancements for browsing Reddit (http://redditenhancementsuite.com/)

* Smile Always - Redirects any www.amazon.com page to smile.amazon.com (http://www.smilealways.io/)

* stackoverflowerizer - Always redirect to stackoverflow from pages that just copy content, like efreedom, questionhub, answerspice. (https://chrome.google.com/webstore/detail/gledhololmniapejef...)

* Stylish - Restyle the web with Stylish, a user styles manager. Stylish lets you easily install themes and skins for many popular sites. (http://userstyles.org/)
I switched to qmail when I had an exchange server (early 2000s) that I spent days trying to figure out a configuration problem which finally lead me to emailing MS Support.

Their suggestion was to just back everything up and reinstall. Sometimes that would fix it.

I spent the next 2 days meticulously setting up my RHL/Qmail server and never had an issue. Ran like a champ until that startup died.
I know you said you're not seeking a therapeutic recommendation, but if you were my friend then I would buy you a beer and gently recommend seeing a therapist. I saw one for a year after I got divorced, and she was extremely helpful in teaching me how to get out of negative-feedback thought loops, which sounds like it might be useful for you, too. I was originally nervous about signing up for a lifetime of having someone be my emotional crutch. But my take on it now is:
1) Being a happy, fulfilled human is hard.
2) We are generally not good at it, and we don't have much time to get good at it.
3) If one person has a problem, ten million other people do too.
4) Many problems have genuine solutions, and those that don't almost always have approaches that are helpful.

It sounds like your anxiety is having a real negative impact on your life. If you had some physical ailment (say digestive issues or headaches) that were having such a negative impact, you would go to a doctor, yeah? It's the same deal.

Take care and good luck!
Find someone you trust that you can talk to, and talk it out. Preferably someone very even-keeled; it does no good if you talk to someone and they just freak out. Failing that, find a therapist, and talk it out.

Talk is humans' way of relieving anxiety. When you give voice to your fears and then find that other people think them nonsense (well, not nonsense, but fears, and not real problems to worry about), it tends to make them disappear in your own mind.
While good in theory, it's often really slow in practice as even small sample sets can trash your cache and it still needs a random number for every element.

You can make a better approach using a much longer list, but then the math is far less elegant.
EX: Add the first X * N elements to the list. Then remove 1/X of them. Then 1/X of the times add an element to the list until it’s full. Cull 1/X of them and then add new elements (1/X)^2 of the time. Repeat until you run out of elements at which point you cull the list back to X elements.

Downside is your generating ~N log N random numbers so scanning the list and then sorting a random set may be faster.

If you have an approximate number elements AND want a small percentage of them then randomly generate X * N element list which is then culled to an N element list.

Finally, if N happens to be close to the full number of elements you’re better off creating an exclusion list.

PS: Reservoir Sampling is only good if your memory constrained, need a constant time algorithm, and generating random numbers is expensive.
Although that'd appear to be the case, although we had a ~400% spike on ProductHunt day, signups have remained up on average 73% in the month or so since (this is mentioned in the post). :)
I love it! I first thought it's HTML5 but it's Flash. Either way, looks like a fun project.
Shared assets at Crowdtap
> Why am I writing this post? I'm seeking understanding, support, and related stories/situations. I'm not seeking a cure-all. I'm not seeking a pharmaceutical or therapeutic recommendation. Just support.

I know you didn't ask for this, but it needs to be said.

See a doctor. Get properly diagnosed. Get proper help. As someone who live with mental disorders, I can assure you, getting proper help is the best thing you can do.

> I have OCD

Is this diagnosed? I only ask because far too many people self-diagnose. You might be right, but you shouldn't self-diagnose. If you are diagnosed, follow up with your therapy, and share this information.

Get help.
This implementation is useful at some scales, but not all: it uses find_each to iterate over the ActiveRecord scope, which is going to be slower than doing it all in the database (if that's possible), but still way better than instantiating every record in a large table.

(find_each instantiates a few records at a time, then throws them away)
Yeah, very valid point. Ember's outward communications are a really good model of how to deal with this stuff - unfortunately I just can't imagine myself working with the framework. The thing I find most hilarious is that the followup to the "OMG Angular 2.0 is making breaking changes" herdthink is usually "Let's all move to React 0.12!".
Walking away from a deal is one thing - deliberate harm is something else.

At one point I was at a company that had built a web product for another company. The external party decided they weren't going to pay their bill, and at the time we'd been covering the cost of hosting several of their servers for months. Obviously our first reaction was that we'd just turn them off but our lawyers told us in no uncertain terms that we couldn't. It would be obstruction of business and we would definitely be found to be in the wrong. (This was in the uk)
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,

Reservoir sampling is normally used on large streams where you do not want to or cannot keep the data you are sampling from in memory.
I have anxiety disorder (it comes with depression too when I'm in the "phase"). I've been dealing with it by meds. And luckily, I have an awesome family & friends support. Those combination really helps. In addition to that, enough sleep is very important.

I'm still a junior developer and yes sometimes it's a hindrance but I'm always staying positive about it. I hope you do too.

Cheers.
Do you consider remote candidates?
What would constitute having "teeth" for you? Mandatory jail terms even when parties are willing to settle? Execution by firing squad?
Review Wisdom
Before you even click, Flash is required. No Flash, nothing to see.
https://news.ycombinator.com/newsguidelines.html

Resist commenting about being downvoted. It never does any good, and it makes boring reading.

Please don't bait other users by inviting them to downvote you.
Linux can sometimes be a pain in the butt to get working well with a projector. Did the guys doing Linux demos have technical difficulties and end up having to pantomime their demos?
Postman is an awesome tool that I highly recommend! It's awesome to be able to export your work and share it with co-workers as well.
First Look: Tessel 2 Embeds Node.js in Your Project for 35 Bucks
I think they're fishing for a confession that you're using some aspect of their patent. Don't talk to them without a lawyer.
If only UX was all that was wrong. ;-)

Seriously, he got there in 2009. MySpace's active user base hadn't grown since 2006 (hey, that year rings a bell, did something happen? ;-).
Which organization do you work for? How long have you worked there? Take a few minutes to read over what you just wrote and see if it makes sense to anyone else besides you?
Amazon.com is the quick solution.
You didn't add anything to the conversation. It's fine to compliment someone, but add to the conversation otherwise the comment is just noise. If all you have to say is that, just upvote.
Ask HN: What are the most useful Firefox addons?
Because I'm always tired of seeing Chrome promoted as the defacto browser and ecosystem, here are my favorite Firefox addons:

Ghostery - http://www.ghostery.com
HTTPS Everywhere - https://www.eff.org/https-everywhere
Cloud To Butt Plus - https://addons.mozilla.org/en-US/firefox/addon/cloud-to-butt-plus/
I am in the same position. I am CTO of a startup in London. On paper, everything is wonderful. These past few months the company has quadrupled in size. We're in swanky offices. My commute is short - from the apartment that I own with my girlfriend who I love.

Anxiety is a constant demon hanging over me. I fell it every day. Not only that but feelings of deep self-loathing. Sometimes it paralyses me. I can't work for days on end, I can't face my colleagues. I go to the office, but am unproductive to the point of being entirely non-productive.

I make it up on other days, when I'm 'up'. But recently the periods of 'down' have been longer, harder, and seem unescapable. My up self is finding it harder to compensate.

I have to force myself to do the things I enjoy in my spare time. These days all I want to do when I get home is lose myself in pointless internet browsing. Imgur is a favourite - I'll swipe for hours through that dross.

I don't know where to go really. I've been in an ongoing battle with my mind since a severe bout of depression a few years ago. That unlocked a lot of stuff, and these days it's never as bad, but I'm aware of the fight every day, and it's exhausting.

I wish there was a way out, but there isn't. I'm going to be fighting this my entire life.
As I said on another comment in this thread: if you have the addresses (i.e. database ID values) for all of your records in memory, then sure, sampling directly from that set is faster than iterating over every record in a table.

There are lots of cases where this assumption doesn't hold: if you're sampling from a join, or from a table with non-contiguous ID values, for example.
Professors on food stamps (2014)
Being published is not enough for WP notability, and someone who self-publishes can be notable enough for a Wikipedia article.

https://en.wikipedia.org/wiki/Wikipedia:Notability_(people)#...