skysight-inc/HackerNews huggingface dataset:
Yeah finally. The problem with exceptions is that you lose context about where the error occurred, and you really need to know that to handle the error properly. That's why most exception handlers just print the error.

I think the only situation where exceptions help is in constructors, but there are better solutions to that problem, like explicit object construction methods that can return an error.

I think Go's approach to error handling is the best - explicit and in context. Rust's `Result` looks quite nice though I haven' tried it yet.
The guide seems to have reasonable technical measures. I would like to see more discussion of risk, both in terms of what is being protected, and of who might be trying to attack. For example, you might wish to be more careful when developing a bitcoin wallet than when tracking baseball scores.

Shameless plug: I've been working on a somewhat less practical guide to software development security practices [1]. Even more shameless plug: I'm currently running a survey of security practice use in software development [2], and would welcome participants who work on open source projects.

[1] http://pjmorris.github.io/Security-Practices-Evaluation-Fram...

[2] https://ncsu.qualtrics.com//SE/?SID=SV_1HdQOa2lfX57vkF
Clojure News Web Application – (Hacker News Clone)
This helped me. Also use pip3 instead of pip.
Okay here goes:

> your mom
javascript looks like it was written by a hacker news markov chain · Issue #12
It baffles me how a company as large as Nvidia could get death hugged by HN. I guess people are just that excited for Titan X.
You'd be very surprised. The most abrasive people in a community do a very good job of building a positive reputation amongst other "power users" such that banning them causes a ripple effect in the community that _always_ makes the moderators look like one-sided haters.
Just like Facebook, Twitter and Tumblr. When sites with user generated content grows to big, they seem to degrade to "monkeys with typewriters". The good content is mostly still there, it just drowns in the bad stuff.
Thanks. This guide is absolutely hilarious!
https://web.archive.org/web/20090814032422/http://www.alexa....?

https://en.wikipedia.org/wiki/Controversial_Reddit_communiti...

Seems like for a time it was the second biggest refer keyword, web archive doesnt really back it up though.
> RTTI and exceptions are features of C++ that I never see used in real-world C++

Regarding exceptions, in my experience it depends a lot of the cultural background of the developers: Unix developers tend to use them, Windows developers don't.
>I've not been to Kazakhstan but traveled Africa and South America extensively.

I don't follow why the steppes of Central Asia should be culturally similar to Africa and South America (each massively diverse in their own right).
FTFA: "Once they are fully operational, these high-altitude planes will stay airborne for up to 90 days at a time..."
StackOverflow Documentation
No mention of the battle with The_Donald

https://www.reddit.com/r/The_Donald/comments/4oenqn/uspez_ad...

Reddit shit its pants when the Trump Train came to town and disturbed the echoes in the chamber.

I have a "Freedom From The Press" Reddit t-shirt. I am embarrased to wear it.
I like reddit. I don't really care so much about the frontpage. I like other subreddits where discussion is central (bestof, subredditdrama, changemyview, self, ask<insert-subject>), or content subreddit (games, wallpapers, military, photos). The default subreddits feel like google news.

What's important is the users and how there is room for them to exchange both ways, unlike standard medias.

There also are many people watching for bias, would it come from moderation, brigade, corporate, etc. You will often reads posts about actual professional in a field explaining you something, and it often is enlightening (granted that I would not trust reddit for a decision that implies my own existence).

Generally, reddit works because the users can see and feel that people are exchanging, talking, sharing, reacting. It's "alive". Even facebook cannot really pretend being that lively place, that "bazaar".

What must be really tough is how you manage that many teams of moderators. That must be a nightmare, but to me it seems that it's vital. Fortunately it seems that they will always find people for that, because their subreddit revolves around something they like, and they will often do a good job (it seems) because they want to promote that hobby, not that it will directly benefit them financially (example, moderator of askhistorians).
This is actually really interesting to me. I use C# for side projects and often write Debug.Assert everywhere to check things, but can't quite bring myself to throw exceptions for full blown errors. I just find they add a lot of bloat, and don't really help the problem, they are just a lazy catch all. But I have to say returning Error<TResult> is a really elegant way of dealing with the problem, I think I will have to start doing it this way.
New WebExtensions Guides and How-Tos on MDN
See also:

http://www.nature.com/news/the-bicycle-problem-that-nearly-b...
Somewhere in the $500-1000 range would be cheap enough that I could buy one and expense it.
> and asked me to take lots of pictures of her for my memory

For his memory. Clearly it wasn't a "tell my story!" Kind of moment. Even if it was, she'd been raped the day before then tried to flee the country with no money, got arrested and thrown in prison. She was clearly in a very vulnerable state and the writer was the first friendly face she'd seen. He admits he didn't contact her before posting her face all over the internet. The pictures have been taken down now btw.

Edit: OP says she asked him to tell her story. I still think he should have asked her at a time when, you know, she wasn't at the lowest point in her life.
Dutch agency launches first grants programme dedicated to replication
"right wing" or "far right wing". Remember we're talking about literal neo-nazis here, not just Conservatives.
https://www.youtube.com/watch?v=-bpX8YvNg6Y Might be harder than it looks/sounds.
As cfreeman commented to markwaldron in another comment - See here: https://gist.github.com/rtt/10403467#authenticating
Well I've read that the most "reddit addict" city is known for hosting a huge air force base, meaning intelligence agency.

So yes, it's "ungoverned", but it's still a goldmine for information study. I guess /r/syriancivilwar must be tracked heavily.
Marvel's Power Man Luke Cage – DigitalAmple – Online Magazine
looking forward for some standarized integration with github's wikis
It is only a certain kind of harrassment that Twitter has a problem with, that against its friends. [1]

Celebrate cops being murdered, that's ok.

When Condé Nast employees express death wishes

https://i.sli.mg/XfKOEs.jpg

Or Sony Film stars incite mob violence

http://web.archive.org/web/20160721232327/https://twitter.co...

There is a significant silence.

[1] http://www.breitbart.com/tech/2016/07/20/twitters-history-ce...
I'm 15GBP/month with Three for unlimited data, 4GB tethering which is fine for the occasional train journey of email/twitter.
Tips and tricks for 'Pokémon Go' from the guy to catch all 142 Pokémon in U.S
Facebook has a very extensive Python codebase as well. 21% of all backend code is Python:

https://code.facebook.com/posts/1040181199381023/python-in-p...
name calling is not even on the list of stuff that I would have placed in a list of bad things users of Reddit do. Unfortunately, while that could be applied to HN, reddit is another world. Much of the freedom of speech culture still exists and while not on the main page, there are a lot of communities dedicated to hate or just fighting each other and instigating rage.
What's the future of Push Notifications SaaS like https://pushassist.com
Frankly speaking, i am interested in Push Notification space, just wondering what's the real future of Push Notification SaaS vendors.

Anyone can share an insight on this business?
Fp16?
ah yes that was a great case, thanks for the reminder. I'm not from the US but i have heard about that. But that does kind of shows what i meant, afaik that was a big and hefty case? And all because some people decided what another person could do with (mostly) her body. (hoping to get it undone).

But this one has economic (money) aspects, i fear this might be a bigger struggle (while people may differ about whats more important).
That wasn't my experience when I was there. While it's true that the average citizen may/will not speak English, it's more common than just in the high end areas that you mentioned.
Though since you know the shape you'd have to get someone else to try unless it's really clear.
It's only exceptions that allow constructors to work properly and that allow the language to support value type management. Without exceptions, you need two-phase initialization, and that's a nightmare.
Facebook Takes Flight: Inside the test flight of Facebook’s first internet drone
WeDo 1.0 – Slack + Wunderlist for personal and small team/project todos
Why your Website looks copy of http://glynjackson.org/
Ask HN: What three books impacted your career the most?
A young version of yourself is about to start their career and you can give them three books, but only three books, what would they be?
> dude, grow a sense of self-responsibility

dude relax and try to travel more. You sound like you could use some vacations.
C++ projects banning exceptions is a massive blunder. We should not disable important aspects of the language that provide useful semantic features to satisfy the anti-bloat superstitions of a few who remember bad C++ compilers of the 1990s. Nobody feels the need to create an exception-less variant of Java or Python, after all.

A ban on C++ exceptions is a huge red flag for me. A project has to be really special if I'm going to contribute to it after it's crippled the language.
> It's even harder to get right concurrency with exceptions

No it isn't.
The Internals of PostgreSQL
"If you know http you know Sintatra". I wonder which option I should pick? Sinatra?

There's a lot of those, especially with AWS products, where all but the product name is mentioned in the descriptions.

It's fun to play though :). Also amazing how many things there are.
Op hasn't answered any of the comments asking this. I'd like to know if he even bothered changing the name and location of the rape victim.
Well, the guy in Cairn's finance department may not know it, but I think there's a lot of overselling coming from the banks. They've probably bought into this idea that the market is a predator that will eat you alive if you don't hire someone who knows what they're doing. I'm sure the finance guys need to look like they know what they're doing to their bosses too, so I suppose it's limited what the options are. Even though the naive path would have worked just as fine as paying HSBC.

>>Not to mention that there are structural...

I wandered past the finance department of a major chip manufacturer when I was working there. They already have Bloomberg terminals. It's not much money for a F500 company. They also don't really need it; what they need is a GUI from a broker that they can sit and click on. That's free and very easy to do.
What exactly do you not want to share? Is this solely a concern you will leak visible information on your desktop, browser, etc? Or do you have deeper concerns about the communication channel and security etc?

I'd suggest using an audio call (phone, Skype, Google Hangout) and a code pad that is synced in realtime (free ones exist like collabedit.com). In other words, don't share your screen, share your voice.
> If racism becomes acceptable again

Some would say that racism is still acceptable in USA today. Just look at Trump. (Yes not as openly as before, but it hasn't been erradicated)

There's a saying that the USA went from thinking that racism was OK, to not knowing what racism is.
>It's pretty clear that the Reddit corporation doesn't want Reddit to be an anything-goes, absolute free speech zone with no moderation or anti-harassment policies

I think lots of webmasters actually believed in that but we all now realise that that simply doesn't work. I won't mention examples of lawless online communities but I'm sure all of us know of a few. In my experience they are all disasters.
That's odd, then, because Car2Go convinced me I never want to own a combustion-engine smartcar.

When I lived in San Diego I used car2go often, and when they were electrics I loved them. When they moved the fleet to gas vehicles I was surprised to see the smart fortwo apparently has the crappiest automatic transmission on the face of the Earth.
Using Environment Variables with Elixir and Docker
I don't care about that. I care about HN not sucking, and that requires commenters to be more charitable.
The company is fine, just one of their blogs is down. It's Wordpress, maybe they did bad or no caching.
Titan 2 X?
>either they want controlled speech that meets Liberal guidelines and a Social Justice Agenda, to attract more people like that to provide a safe place on the Internet

There's a lot of well made points to you post, so I feel bad focusing only on this one thing, but I really don't believe in creating a "safe place". It's simply not possible to provide a safe place online, while providing a platform for any meaningful debate.

Even if Reddit, or others, had the resources to provide a "safe space", the result would be a place no one goes to. People are offended by everything, and eliminating content until everyone feels "safe" would leave you in a situation where most content is never seen.

Reddit is already a mostly left-wing echo-camber. Opinions that diverge from the norm is pushed to smaller subreddit. Making Reddit "safer" would mean closing down the subreddits that you disagree with, but you're shrinking the user base every time you do that.

I understand that it's a terrible thing to tell people, but if you want to be in a safe space, stay of the Internet.
I'm concerned about both.
If you, as a developer, jump ship to the new shiney without understanding the security story then it is your fault, irregardless of what promises were levied by your new tool.

That doesn't mean that bad defaults are fine, as part of the community we should all be fixing these, but knowing about these things are part of the job and you should not absolve the framework jumpers of their responsibilities.

More importantly, companies should pick their technical leaders better. That they don't is often why they end up in a mess.
No, it's not exactly the same. The "much hyped" democracy works. Frauds are everywhere, no surprises there.
> a fleet of the aircraft would deliver FACEBOOK access around the world.

ftfy. we really should stop pretending facebook has only good intentions on this project.

Btw, did even any country advocate that project? afaik most who would "need" it, were rather sceptical.
>There is some value in ungoverned spaces, where advertisements, political astroturfing, politicized content curation ("no 'RT' allowed, but we'll allow VoA and Sky") play a secondary role to the contributions of individuals.

All those things are daily occurrences on Reddit.
Beginner’s Mind (On Design Prototyping, by MarvelApp)
Open defecation is such a big problem. There is a big government programme just for this. I hope it succeeds and rids us of this shame.
SEC investigating Tesla for possible securities law breach
> I've heard other people say that Chinese are rude/impolite.

In casual (especially informal) conversation I'd say there's a cultural norm of being more direct than we are in the west. This isn't, I don't think, in an attempt to offend. That swings the other way in business (or so I have heard) where criticism is carefully constructed (at least within a business) to minimise any potential offence given. YMMV.
I'm pretty early in my career. There's just one book on my list now (and that's simply because I haven't made time to read others): The Clean Coder, by Robert Martin
Create a "fake" Gmail account that is not linked to anything personal.

Use a fake name/alias. Sign up for something like Cloud9 (https://c9.io) or use another synced editor like collabedit or even Google Docs (make sure to use the fake gmail account and not your own).

Sign up for Skype with the fake gmail account and fill out the details like you did on the fake gmail account.

Then sync up with someone online using audio only and using the synced editor of your choice.

You will leak your IP information most likely so they could figure out in what vicinity you live, but you could setup a proxy if you wanted even more security to hide your location.

As long as you're not hiding from any three letter agencies this is probably more than enough.
I dunno, it seems weird to me to treat reddit as one community. I use reddit a lot, but really 99% of my interactions is on /r/cfb, which is a space far from the descriptions painted here.

It is a community (and I do believe it is a community of its own) imo not far away from Hacker News in terms of creating and curating interesting content, and discussing it, for a focused group of interest, except rather than tech the interest happens to be college football.

I imagine there are plenty of other spaces like that on reddit for people. I dabble a bit (mostly lurking) in /r/kettlebell too which seems to be similar except smaller.
Wrong.

I'd explain why, but then I'd be called a "well-actualista".
> if it provides a faster (and more secure) experience, it's a win.

Http/2 without tls would be even faster. Had it not been for someone with an agenda deliberately saying it should not be supported.
Replace \n with actual new line in Sublime Text
> Yes Tesla's cars are "cool" and everybody wants one, but even the new "cheaper" model costs far more than the average person spends on a car.

You know, the same was said about the iPhone.
Man behind web’s biggest illegal film site arrested
This would be interesting if it compared the energy required in joules!
Wrapper functions for Swift conditional compilation statements
It does sound like this happened 7 years ago though.
Name-calling was an example of bad behaviour you want to ban. I'm sure we can think of other, worse, types of behaviour. Whatever it is, find the most egregious offenders, and ban them.
just how fast do you expect these things to happen? overtaking the overwhelmingly dominant reddit image sharing host in a matter of a few months sounds pretty damn dramatic to me.
Ah, that's right. Thanks for pulling me up on that. It's been awhile since I've looked at this.

I believe another bone of contention is whether the IRS even allows worker cooperatives to exempt patronage dividends from their taxable profit, to avoid double taxation (corporate, then personal income tax).

Technically (under Subchapter T), they should be allowed to. But the IRS is pretty sue-happy about this and refuses to issue much guidance. The last clear ruling was in 1971 and only allowed dividends to be issued on the basis of hours worked, not value earned (or other metrics).
> but I really don't believe in creating a "safe place". It's simply not possible to provide a safe place online, while providing a platform for any meaningful debate.

Rape threats and other threats of violence are not part of meaningful debate.

Unsolicited images of genitalia are not part of meaningful debate.

Anti semitism like this [1] isn't part of meaningful debate.

You can safely ban all of these without harm to the robust debate in the community.

[1] https://pbs.twimg.com/media/ChH5Va7WkAAktXV.jpg
The reply from the other party is also worth reading.
https://blogs.seafile.com/2016/07/22/statement-about-stoppin...
Monitors.

Are developers being issued several ones, and of above average quality?

Do people need to stack object oriented design books to place their monitors at a comfortable level?

Are they using old, low resolution, low refresh rate, 15" TFT monitors?

Is there disparity between monitor quality among employees?
Sure, the moderators may end up looking one-sided, but it sends a clear signal as to what kind of behaviour is not tolerated. The other members can adjust to the new normal, and some will leave. Either way, you've cleaned up the site to some extent.
"Check for no/default passwords for databases especially MongoDB & Redis. BTW MongoDB sucks, avoid it."

Come on, you're better than this. What the fuck.
What does an historic earthquake look like in the layers of rock? How do they know when they occurred?
I wonder how hard it is for a coder with not a lot of knowledge about parsers and LR/LL stuff to quickly define a language and translate it in LLIR.

That could be a fun thing to have a language competition that way, to see which language "feels" good: easy to read, expressive, etc.
Except in the American model they didn't come for welfare benefits, free housing and cars as told by their "recruiters".
Data in the Air
1. Place phone on scanner-bed

2. Open mirror image of fingerprint in photoshop and maximize contrast, crop to fingerprint alone

3. Print finger print mirror image to UV-stencil-type material

4. Etch into UV-material w/ UV printer

5. Pour rubber/plastic-type material over UV etching

6. Remove rubber thumb, apply to fingerprint detector, voila..
PagerDuty is the kind of cool company that I am surprised haven't been bought yet.

After Atlassian acquired StatusPage, I can see them going after PagerDuty (or similar) to complete their devops solution.
To an outside observer, seafile.com comes out clearly as the parent project, and the party that has been wronged.
got a link for this absurd story?
Rather than just "JWT is awesome..." wouldn't it be more sensible and responsible to caveat this with some of the drawbacks?

I read this article recently (http://cryto.net/~joepie91/blog/2016/06/13/stop-using-jwt-fo...) that proposes not to use it for sessions but instead for the use cases listed at the end of the article. Follow-up article here http://cryto.net/~joepie91/blog/2016/06/19/stop-using-jwt-fo...

Also this https://auth0.com/blog/2015/03/31/critical-vulnerabilities-i...
TIL, I guess that making Ruby 3.0 3x faster (3x3 initiative) and adding optional static typing at the same time might be quite hard.
"The Defining Decade: Why Your Twenties Matter" by Meg Jay
Thanks a lot! I finally had time to read the article.

I always wonder if that was short term thinking, or if nowadays there is still something going on. We all know that empires fall, therefore, it might be that maybe at that time the UK didn't expect Saudi Arabia to become so powerful as it is nowadays. It's like playing monopoly: you help X to destroy Y, which you don't like, but then X becomes so powerful that it starts to be a pain in the ass.
It's pretty rude to ask such hilariously loaded questions with a straight face and expect a serious answer.
CS Syd - How to teach numbers
I'm pretty sure Andrew Ng was hired by Baidu as a recruiting tool / evangelist. He hasn't done much research recently.
Anyone knows what is this new INT8 instruction does?
"HSBC gained approximately $5,000,000 from its execution of the Victim Company FX Transactions," or about 0.14 cents per dollar of the $3.5 billion transaction."

Am I misunderstanding what this says or is the amount of profit about two orders of magnitude off?
Some essential UX recommendations – tips and tricks
Reminds me I found some scheme code in Alias Maya in early 2Ks.