skysight-inc/HackerNews huggingface dataset:
Nearly all bugs in anyone's code come from things you get right 99% of the time, but mess up that 1%. If Ruby's standard library provides a correct implementation of `Array#reject!`, it's eliminating one thing, however insignificant, that you might mess up. That even standard library implementers occasionally mess up iterating over a dang array (`#reject!` was correct but inadvertently suboptimal) is a good example of how, in the large, "just get it right" is much easier said than done.

Another good reason is that the Ruby standard library implements many methods, such as `#reject!`, in C instead of pure Ruby, for vastly better performance. You can do that yourself of course, but that sort of defeats the purpose of using Ruby. Try implementing some `Array` iteration methods in pure Ruby with for loops, then benchmark them against the standard equivalent; they'll usually be dozens to hundreds of times slower.
The Evolution of Marketing Thanks to SaaS
Worldship.

I shipping software by UPS.
I just hope they keep the free Trello up and running forever, and it stays simple on the surface at least.

I have this nightmare where one day I open Trello and it looks like Jira.
I didn't think I'd like the new keyboard but I was forced to use it as it's a work-supplied machine. After less than a month of using it, it's my favorite keyboard of any machine I own, including my mechanical keyboard. The travel is nice, the keys feel solid, it's got a nice click, and I can type faster. Took a bit of getting used to, but it's awesome, imo.
You probably don't realise how influential it is. Americans spend on average 50 minutes per day on Facebook [1]! That is a lot. It's probably the prime source of news in the western world. This is not to be underestimated.

[1] https://www.nytimes.com/2016/05/06/business/facebook-bends-t...
> I'm not sure if this is the core of the problem, if at all. Most of what you see on facebook are links shared by your network.

Except FB's said [0] that the four main factors for what you see are who posted, age of article, article type, and interactions. The last factor is key as FB wants articles to draw eyeballs in order to sell ads. Thus, it sounds like the algorithm doesn't produce newsfeeds that are representative of what a majority of friends are reading v. that of a select, active few. I think the parent is arguing that FB could turn this off and improve newsfeed information quality at the cost of lower revenues.

[0] https://techcrunch.com/2016/09/06/ultimate-guide-to-the-news...
>> See what? That he reduced the deficit during his tenure?

http://www.usgovernmentspending.com/federal_deficit_chart.ht...

What?
Does self-hosting make sense for startups/products that are launching? Curious to know if there are start ups out there who value self-hosting from the get go.
We currently have 4 full time devs, a QA, a DBA consultant, and a Designer on the team.

Honestly, none of that took very long to set up at all. The application in this case is a Ruby on Rails backend, PostgreSQL database, Angular front end, with file storage and a few other smaller services.

Step one: We have a lot of tests and we believe in a good test suite. Are we perfect? Absolutely not. But it is important to be able to "know" the application works. Define what helps us to know it works, and automate tests to do that. Things like "Can you log in?", "Can you select a record of type X, Y, Z, A, B, and C and do those records have the data you would expect in the right places?" You can have a human do this, or you can automate it. Automate it.

Step two: Automate your deployment. The rails application is bundled into a docker container. We use ECS (Elastic Container Service) to maintain our environments. CI/CD first runs tests, second, builds the latest docker container, third, places the docker container into a repo, fourth , deploy out the container to the correct ECS environment, five, profit! This is all automated and works the same every time with checks and balances along the way. Our Angular application runs out of S3 buckets with cloudfront caching. This was a matter of using webpack to compile the angular application down to production deployable artifacts and than a simple bash script to move those artifacts to the S3 bucket. The database is an RDS instance so we get some fun things built in there. Note: All of the AWS setup is also automated with scripts. Create VPC, create autoscaling group, create targets, create rds instances, create s3 buckets, create cloudfront, and delete all of the above (and more, aws is complex), are all just scripts.

Step three: Because we have a test suite and deployment scripts the rest of the process is easy. Just use the scripts to create whatever environment we need, stick it on a schedule, record the results in CI/CD, alert the WHOLE FREAKING WORLD if something doesn't work.

Now you might say, easy to say in a Rails environment, with so few moving parts, with such a new project, etc etc etc (I have heard every excuse in the book). I have done this for many other companies. The last I did it at had about 50 engineers, ran a large Java mixed bag of applications on Tomcat servers, ran Oracle for their data, and had no tests and a ton of legacy code. We got to the same point as I have already explained by simply breaking it into chunks. First, automate the tests that were done manually. Second, automate the deployment steps that were done manually. Third, automate the environment things that were done manually. Finally, schedule everything and monitor.

I learned to do this at HP Labs where we used the same process with a very large API fronting a C based image processing system with Petabytes of storage, thousands of servers, and a huge number of moving parts. I promise, it can work anywhere.
I really like the idea of chatbots because it'll lead us to a "Her" like world (not true intelligence though, think the OS before Samantha) - I'll just be able to talk to my phone and have it read through reddit for me, check my emails, and set reminders.
I don't think a catastrophe is sufficient, only necessary.
I agree that in its current state, the AMA does not do a whole lot for physicians. However, I would argue that if more physicians took an active interest in policies that benefitted all specialties, the AMA wouldn't be this shell of an organization that benefitted themselves more than others.

That being said, maybe sticking with state organizations might be a more fruitful endeavor.

Additionally, while physicians are a heterogenous bunch, there are many issues that almost all physicians agree with. Use the AMA to collectively lobby for those, and stick to the specialty organizations to push for more individual issues.
> So you reckon than in less than 24 hours the senator has completed a thorough investigation and also had time to draft a bill?

No, I think on less than 24 hours, he's directed his staff to do so, and they have.

> Or maybe is it the case that this work has been ongoing for months...?

It may leverage background work that has been done in the past without being directed at a specific legislative outcome; finding that existing work, presenting a summary and recommended course of action, and then following through with drafting a bill is fairly routine legislative staff work, and there's certainly lots of work that's been done and is available on the issue from both government and non-government sources that staff could readily find, summarize, and present as the basis for an action decision.
For what it's worth, they disappear if your browser isn't wide enough.
Maybe I am missing something but if you're using set::find so often, why not an unordered_set?
Do all your work in UTC. Seriously, you'll be glad later.

Convert to local time only on the edges, and only for end users.
At least not initially - and you're right that many will never reconsider the world view passed down to them or some may reconsider and decide it's the best because it's comfortable etc... But ideology is still much easier to change than sexual orientation or race regardless of who you ask. It makes complete sense to me that a group of people can't openly dismiss another and demand their respect at the same time. This is the "golden rule" and is widely regarded as a valid way to approach life by people with all sorts of political beliefs. If someone teaches you something wrong and harmful about another group of people then that is definitely a point of view that needs to be corrected for society to work.
FlexyPool adds metrics and failover strategies to a given Connection Pool
There is an argument that automation, and the fact that increasingly the goods we desire are digital, means that the marginal reproduction costs of many goods are trending towards zero (with obvious exceptions, like housing).

Without effective regulation, this puts all the power in the hands of naturally monopolistic distribution platforms.

For example, the only reason why an infinitely reproducible MP3 costs $0.99 is because Apple's lawyers say it does, Facebook get to decide the cost in digital-autonomy for you to speak to your aunt.

Over the last few years this seems to have drifted from academic-Marxian/airport-business-book/TED lore to a motivation for seriously exploring policies like UBI (including by Y Combinator).
The trouble is the next total war will be a nuclear war.
I thought parent commenter was referring to generic Trump supporters being beaten.

When someone thinks you don't deserve to live because of the color of your skin, you're well within your right to defend yourself against that idea. You shouldn't have to wait until they're knocking down your door.
I like doing a fresh install of Linux/BSD/macOS every 3-6 months. My tools/flow are opinionated, but outlined below:

For configs / dotfiles:

https://pypi.python.org/pypi/dotfiles

I keep my personal config @ https://github.com/tony/.dot-config if you want to glance or copy/paste from it (MIT-licensed).

Another trick is partitioning. Keep media files in a separate partition. Also great if you dual boot.

rsync + ssh for copying files from other machines: http://troy.jdmz.net/rsync/index.html

I use vcspull (http://vcspull.git-pull.com), an app I wrote, to re-clone my projects to the same familiar directories.

Keep books on Kindle.

Have your own personal self-hosted git with gogs (https://github.com/gogits/gogs). You'll need at least the 10/hr DigitalOcean account though, or else compiling will fail due to memory limitations.

I use digital ocean extensively to host old old projects on the cheap. Its like what dreamhost used to be in 2006.
Custom ELF program headers – what, why and how
That doesn't surprise me. Anecdotally, everyone I know who is on a "self-discovery" quest never seems to discover anything or actually get happier. They tend to stay miserable and keep looking indefinitely. The people I know who do improve tend to stop looking and start doing (exercise, learning new things, etc.).
It's a shame that stuff like this makes it to the top of HN.

Not because the content itself is good or bad, but because it is precisely someone struggling with this stuff who has a high likelihood of walking away from the article with the wrong message.

I understand that we're all responsible for our decisions etc., but this is really out of our wheel house and hopefully the people in need of therapy consult with professionals before acting on anything that bubbles up here.
The Birth of a Component
>7 admirer married

>7 admires sidearm

"That's an awful purty wife you got there; shame if something happened to you"
But how to keep out the spammy Meta-recruiters? We'll need Meta-Meta recruiters!
> Hm, why would you not use multiple ownership then, instead?

That's exactly what I want. The problem is that (1) it comes with significant runtime overhead and/or syntactic noise in Rust/C++ (or alternatively, lack of memory safety); and (2), it becomes difficult to write code that works equally well for multiple and exclusive ownership (module APIs often become burdened with implicit or explicit ownership assumptions).
Can someone with more insight in this field tell me whether this is the same as claiming that people who have heart surgery tend to suffer more subsequent declines in cardiac health compared to those who never needed heart surgery?
Diameter protocol
Is it not possible to implement an interception or proxy API in the browser? That way everything is above board, and the user knows what's going on.
Yes, they do. Having a degree opens more doors, there is no denying that. Degree doesn't offer enough proof of your skill, but this doesn't mean it is pointless.
Those who quote George Santayana are condemned to repeat him.
Is there a non-paywalled version of this? The abstract seems painfully vague to me, or is there some domain specific explanation for desirable vs undesirable personality traits? Are they literally saying that therapy makes whatever people are in therapy for worse?
> But extremist people with odious political views were and are forming their own social networks without FB and have been for years

Judging by the Facebook feeds of people I know, there seems to be plenty on Facebook.

I thie problem is less stamping out extremist views -- which as you point out is impossible -- but the maintstreaming of those views. And that mainstreaming is done at least partially via the Facebook sharing mechanism.
If a hiring decision comes down to two equally qualified candidates, and one has a degree, that one gets the job. CYA, plain and simple.

However, if both candidates have several years of relevant experience, it is more of a toss-up.
I think co-opted is a bit strong. I don't think there's ever been a concerted effort on the left to own the word liberal. If you know of any evidence to the contrary, I'd love to learn about it.

I think it's more accidental in that terms end up associated with one side or the other, and in this case the left perhaps had an edge in that it's generally been associated with civil liberties. (Whether or not that can be supported is a separate discussion.) Having effectively two parties in the US results in a lot of incongruities.
Did you see the chair? Did you see the authors skin tone? Are you aware of the lighting in the room they were in? Perhaps Kelly was distracted because she thought she saw the author at the back of the room, or Kelly has poor colour perception.

Given how subjective and variable human sight is, its perfectly reasonable that Kelly may just not have seen her there.
>And trust me, as a divorced guy, I've experienced institutionalized sexism A LOT.

How so?
So say you successfully make a change to one or more personality traits - I'd expect self esteem to go down, stress to go up and all the negativity experienced to happen. Changing personality isn't like putting on prescription lenses, it's like changing from green to red glasses. Things can become harder for a long time after a perspective change - most studies I've seen on CBT for example show it's still good for longer term outcomes.
Well, actually things like an avr-gcc toolchain, and other open source utilities have existed for a long time, so you can use your operating system of choice for attiny/atmega development, with no need for Atmel Studio.
Are they implying correlation or causation? It seems like you would need a control group with a psychological issue that doesn't do psychotherapy compared to one who does. If someone is in psychotherapy, presumably, they could be in a deteriorating mental state. It's like saying a cancer patient that does chemo feels worse. That's how cancer works. An assumption of steady-state psychology of a person just doesn't make sense to me. Not gonna pay $40 to read and see if I'm right tho...
We are such a weird profession. What other industry is like "Hey, you can do my job. It's easy, here are lots of extremely detailed courses, documentation and guides on how"
Git Commit Msg
No, my point is not that it cannot be done (both Rust and C++ are Turing-complete, so "cannot be done" does not make sense for anything that's a computable property), but that it comes with a cost. See my other response for the details.
Not sure a self selected group of college aged kids really counts as an effective sample to qualify that 'by far most devs use macOS'
>If someone on the right (or even right-center) would say something along the lines of "I agree gender equity in the US is a problem, and we need to think hard about how to solve it, but I don't think allowing abortions would help and here's the data that convinces me," I would listen.

Maybe you should try doing the work to convince them, rather than assuming your position is "correct" and everyone who disagrees is wrong. Or, you can choose to "not listen".

>With that being the standard, how can I _not_ think they are being sexist?

Who is they?
I believe the difference is that people online on social networks that dominate conversations are typically younger.

And conservatives, on average, are older.

For example: far more young people voted Hillary, far more 45+ yr olds voted for Trump:

http://ichef.bbci.co.uk/news/624/cpsprodpb/13D5D/production/...

The distribution for Bernie is probably even more young.

Additionally, there are ~3x major 24/7 news networks leaning left and only 1x that is right. Online newspapers have a similar distribution.

So it's easy to believe that hyper partisan nastiness is more popular on the left. But I'm not sure that's the case. Otherwise I'd be much more inclined to agree with you.

I'm neither mainstream left/right but regardless I've noticed a definite trend on the internet towards left wing slander and villianization of anyone on the right. But I associate that with the media distribution bell curve pushed far to the left.

Especially on places on Twitter and Reddit which largely regurgitate media to validate peoples views and the subsequent hive-mind that generates.
SF’s Elections Commission asks mayor to put $4M toward open source voting system
I've never used them but I've heard that's what https://launchdarkly.com/ is for.
Hop.js / service
>Americans aren't going to take those jobs

...at those wages. The whole point is that if your business can't survive by paying wages that american citizens will accept then you should welcome the creative destruction of capitalism. Your business shouldn't exist and more importantly you should get out of the way so that a business which can exist and pay wages that american citizens will accept can take your place. No more race to the bottom.

>Or, in some cases, pay a lot more for things.

I realize that, I'm just not opposed to it.

EDIT:

>and many of them are not easy/cheap to automate.

Many of them aren't easy to outsource either. An illegal worker in the United States is much more expensive than a child in Thailand. There's a reason those jobs still exist here.
I suppose it also depends on what type of development you want to. A lot of fields won't require it, such as front-end, apps etc.. Other fields, such as AI/ML/advanced graphics etc a lot of the people working there usually has a college degree and more.
But the web enabled that sort of gutter journalism and echo chambers for profit before FB even came along. I get hardly any news from Facebook itself; most of the crap I see is stuff that my friends share or that is reposted in groups.

Crap takes a few different forms. I have friends that post an excessive number of cooking videos and cute animal gifs, which has close to zero informational value, but on the other hand I enjoy the simple things in life too. More worrying crap come sin the form of poorly-written news or analysis articles that are shared and often written in good faith, but which are misleading and require either time and effort to debunk, or an acceptance that some of your friends are credulous fools. This is aggravating but it's also unavoidable in a free society with a free press - people are going to disagree in good faith and some of the time and arguments are inevitable.

The third kind of crap is the most worrying, where people deliberately troll and spread rumors for either quick profit or to injure others. This can often tip over into hate speech, and unlike most people I think the first amendment saw that the solution to unwanted speech is more speech fails in this domain, because many of the participants are not acting in good faith, and leverage the idea of unlimited speech as a means to curtail the liberties of others rather than in pursuit of any equitable outcome.

This interview might provide an interesting insight into the (pre-facebook) psychology of deliberately slanted news. I apologize for the source and the annotations; the original interview is from a media career site called Journalism Jobs (where I first came across it) but it's from 2003 and the original page has vanished off the website: http://zfacts.com/metaPage/lib/Weekly_Standard_Matt-Labash_c...

If you don't want to read it's basically a really cynical industry conversation where Labash, a conservative writer, opines that finding a cohort of angry people and pandering to them is a really easy way to make money. This could just as easily be applied to other political fringes.
It's not just about 'choice', I live in a predominantly Russian neighborhood with a Russian wife, but no matter how hard I try I can't learn Russian because they all very conveniently speak English.

Similarly, if you're Hispanic, it would be hard for you to learn English if everyone else around you speaks a convenient language (i.e. Spanish), even if they could speak both the languages easily.

It's kind of a trap, you'd learn English more easily if you left Spanish speaking community, but because you don't know English, it's hard to leave that community.
Keep in mind that they're tricking you. Yes, the entire card is $5k, but they're selling access per GPU. This card has two processors on it, so they're actually selling access to half that card.
If everyone does this, then recruiters will simply start to spam the yesireallydidreadthisgiganticemail2017@mydomain.com emails without reading the autogenerated "profile".
senorita = not a word. That would be "señorita", with an "ñ". It doesn't really work as an anagram for "notaries" because "ñotaries" is also definitely not a word.
This problem already exist.

Most news orgs are ad-driven, ergo, their revenue essentially is 'pay per click' already.
Podcast recommender with collaborative filtering
It's funny, I think 7-11 are the peak. Everyone has a different range.
Appalachia was filled with coal mining company towns.

https://owlcation.com/humanities/Old-coal-mining-towns-of-Ap...
Doesn't mean we shouldn't do better, of course.

https://en.wikipedia.org/wiki/Tu_quoque
It might be more apt to say something like those who opted for an elective colonic irrigation ended up with higher rates of impacted bowels.
It's usually obvious from the ones I see (I don't see diplomas I get transcripts with classes taken, dates they were passed, and grades)

The usual sign is someone e.g getting a masters degree 2000-2005, and passing the introductory math classes in 2005.
I like how you contradicted the main point of your second sentence in the third sentence.
But imagine Einstein having to look up how to derive x^2. I'd say that's a pretty close equivalent to knowing tree traversal in CS. It should just come naturally.
Google launches GPU support for its Cloud Platform
Ah, I meant HP OpenView Service Center, nowadays known as HP Service Manager.
Just setting https_proxy isn't going to give you any caching benefits for https requests and isn't going to MITM TLS in any way. The client will make a CONNECT request through to the destination and the encryption is end to end and the response not cacheable by the proxy.
This seems to be a simple RTFM issue to me: POSIX specifies that gmtime() uses UTC and localtime() uses current timezone. Using gmtime() would implement the desired behaviour without any need to hardcode environment variables.