skysight-inc/HackerNews huggingface dataset:
The blinding laser made an interesting point. My wife had surgery last year where she told the surgeons to spare the use of her face rather than her vision should they run into a situation requiring a choice. She also knew going in that she would lose balance and hearing on one side. Different people (and cultures) value different things. She would much rather be deaf and blind than disfigured in any way. The point about potentially increasing casualties though is valid.

Another point is regarding the targeting. When a missile strikes, assuming it strikes the intended target and meets the objective, there tend to be other losses as well. It's very disconcerting that it's people (even the objective) doing day to day things during that time. What is worse is that US considers 16-49 year old males as enemy combatants in that case and does not report that as civilian casualties. It's true it would be very hard and when it's at a training camp or the like it's more likely, but it's not always the case.

Finally some of my family lived through WWII and some are still alive. The stories they told before passing and those still here tell are chilling. War is insane and inhumane. Unless you have this sort of account it's nearly impossible to comprehend how callous and capricious the events can be. Take the recent hospital strike. Of course the US military will do all they can to fight hard in the rules of engagement. They will call in airstrikes when ever they can and then you have civilian casualties. To war you have to live with that.
The font's designer here- glad you guys like it!

I wasn't ready to put this up on HN because I didn't have an English page yet, but @specifictso has gone ahead and posted it.

The font is licensed under the SIL Open Font License as mentioned.

There's less than 10 Arabic monospaced typefaces out there and Kawkab Mono comes to fill a gap in this area. Might not be as highly demanded as Latin monospaced fonts, but still, it's great to have variety.

This is very much beta software as I haven't really tested the font outside of my personal setup. I've had no type design experience prior to this project. Would love to hear your thoughts and feedback.
He's literally not. Your article says that fried chicken is racist because people keep assuming that black people eat fried chicken. And here you are assuming that when someone says "fried chicken" they actually mean "black people". You're doing exactly what the article you linked is condemning.
For a sense of the problem, watch this Norden bombsight training film.[1] This shows a training mission; the geometry of dropping a bomb with the sight is covered in [2]. Three's lots of looking at crosshairs while making fine adjustments to knobs. It's not enough to get the crosshairs on target; approach and drift speeds have to be set so that the crosshairs stay on target as the plane moves. This is a four-knob job; basically X, Y, dX, and dY. All this has to be done in an airplane, often while people are shooting at you from the ground or attacking the bomber with fighters. The aircraft had to be flown straight and level for a minute or so approaching the target while the bombardier adjusted all the knobs. That seldom happened in combat against any defended target.

[1] https://www.youtube.com/watch?v=DlW-JCqGkYo
[2] https://www.youtube.com/watch?v=Eh3hknntD10
I don't know about racist, but the show is quite dishonest in its depiction of an alliance between the Iranian government and Al-Qaeda, when in the real world the link is between Al-Qaeda, ISIS, and their respective sponsors in the Gulf Arab states (Saudi Arabia, etc.)

I enjoyed watching the show until they dropped that plot twist, then I rolled my eyes and quit. It's concerning because viewers who are less informed about the actual alignment of powers in the middle east may take the show's plot line as being inspired by reality, when it's fact it's far from it.
> I have no words for this. How a person can even entertain such thoughts is beyond me.

Being condescendingly naive doesn't make you a better person
I would suggest to always put yourself in the shoes of the developers when you make decisions as a leader. Think about what you would have thought as a dev.

Also try always to explain why you make the decisions you make.

I am a dev and I hate when decisions are made without telling/explaining team members. I also appreciate a lot when I receive feedback, good or bad.
Open Source Photography Workflow
Background checks should only happen after you accept the employment offer and full compensation package. Then it doesn't matter if they discover you made $24,000 last year but now they hired you for $250,000 per year this year.

The background check is unavoidable. It's a liability maneuver for the employer. The most invasive check I've had is them just requiring two years of prior tax returns (I think to verify employment because the previous employers no longer existed).

As far as wording about your private data being hacked in the future, that's just the world we live in. You can't avoid it if you want to live within current societal normals. (Also, for many jobs, salary information is fully public like all government positions.)
Nicely done.

Is returning error common in go (as opposed to raising)?
The HITCON CTF qualifiers start tomorrow. This is generally one of the highest quality CTFs, and whether you're new to CTF or a veteran, I'd highly recommend playing.
That depends on what you consider "working". I would certainly consider most modern democracies to work, some slightly better than others. Certainly all modern democracies are stable and not threatened with catastrophic failure.

The democracy in the Weimar Republic didn't work by any reasonable definition because it was horribly designed. If the Nazis hadn't happened, someone else would've almost cetainly destroyed it sooner rather than later.
Maybe they are hitting problems that nobody on the current team can solve. Or they need new ideas and new blood. Experience is often very useful.
The US is not at war with anyone so it's impossible for Afghanistan to be a war zone
Here are three rules I've followed:

1) If there's an exciting fun task and a messy unpleasant task, assign the fun task to someone else and do the unpleasant task yourself.

2) If someone on your team wants to ask you a question, always make yourself available and absolutely pretend that you don't mind being interrupted. But if you need to ask someone on your team a question, always ask first if it is a good time for them to talk and offer to come back later if they are in the middle of something.

3) If someone wants to try an approach that you think is wrong, say: "I'm not sure that's the right approach, because of X, Y, and Z. However, I've been wrong before, so I might be wrong about this, too. How long will it take you to research this approach and see if it works out?" If you're working on a tight schedule, this may not be practical, but if you want to develop good engineers in the long run, this can be beneficial for everyone.
I didn't literally mean replace meat with spinach. It was an example to show that vegetables are more expensive than meat.
People will ditch their secondary cars, but not their primary. Right now, many families have two cars: The family car, which is flexible, big and does lots of different things; and the commuter car, which is used to get to work and back, but sits at home on the weekends. I can see people ditching their commuter car for self-driving, but it will take a long time for people to be willing to ditch that family car.
Netflix is Down
PhD casein peptide produz bons efeitos
I'm happy for you that insurance is covering so much, but very curious how it can be. Is it because many of the problems (e.g. septic fields crushed, misdiagnosis of leak under slab, ducts collapsed) were caused by contractors and covered by their insurance? Otherwise I wouldn't expect run-of-the-mill aging-house infrastructure problems to be covered by homeowner's insurance.
Leap never bothered to secure a license to operate a transit service. They were illegal from day one, they were issued a cease and desist in May of 2015, and they started auctioning off the buses in June.

For-profit city bus services were both normal and somewhat profitable up until the 1920s, when private cars became affordable. Leap borrowed a 19th century business model and pretended they didn't need to meet 21st century requirements.

As usual, Farhad Manjoo misses the forest for the trees.
This is very nice; and easy to read... one of my main qualms with Arabic fonts has been their jaggedness. The evenness of this font will not only make code and comments look beautiful; but also the web!
Awesome work, يعطيك العافية!

Is there a link to the font on github?
Switch from Photoshop to GIMP: Tips from a Pro
Bernie supporters: Why is CNN deleting our comments in favor of Hillary's?
It's very hit and miss in terms of code editors. For example Sublime Text has no complex text shaping at all. It actually renders Arabic as disjointed letters.

The JetBrains series of IDEs have some Arabic support, in the sense that the text is rendered properly at least.

I made an Arabic Markdown editor for the Mac last year, so that personally helps me when I need to edit Arabic text http://katibapp.com/

There's a lot left to be done for Arabic. So much low-hanging fruit.
Verizon skirts responsibilities to NYC by redefining the word “pass”
Will put up the source code on Github very soon. I just need to organize everything a bit.
An older example of the same kind of thing could be Melrose Place [1].

[1] https://en.wikipedia.org/wiki/Melrose_Place#GALA_Committee
Do We Really Need to Sleep 7 Hours a Night?
On symmetric 1gbit/s FTTH here in Europe. It changed my life to the positive as I was able to finally cancel internet service from one of the old "rent collectors" such as a cable provider in my case.

Also, ping times are down, hence faster browsing, also upload speeds are way up.
The killer feature for me at least is the ability to use remote machines (and especially their storage) as if they were on my LAN. Unfortunately, as the sibling comment mentioned some things that should be better aren't because bumping up the local connection speed is not always sufficient as the remote machine's connection speed and the intermediate protocol overhead also makes a large difference. Additionally, I've been quite disappointed in the performance of some of our quite expensive enterprise level NAS appliances (topping out at ~200Mpbs or so).

Worse are cloud storage services, especially things like Dropbox / Box.com / github / iTunes downloads that have extensive throttling, especially on uploads, sometimes as low as 10-15Mbps. (these are super irritating because they feel like they should be fast but are clearly being traffic shaped to a perfect 10.0000Mbps).

There are some cases where you get much better speeds. OS downloads tend to be unthrottled, Bittorrent stuff and downloads from some CDNs can keep up. Steam is pretty good as well.

For work purposes where you can control the remote machines and protocols used, and have the ability to upgrade the remote storage systems to handle gigabit speeds, it makes a number of actions that used to take to long to bother with actually possible.

Examples:
- Grab a packet capture of a busy network interface and pull it down locally for analysis in wireshark
- Download, edit, re-upload large media files in raw/intermediate working formats
- In some cases work directly off of mounted network drives rather than using local scratch storage
- Really anything where you want to use thick local applications to edit serious amounts of data.

For a purely residential setting (where you might be dealing with wifi, spinning hard drives/thumb drives, and only have access to slow consumer level cloud storage services) there are probably diminishing returns after ~200Mbit. All that said, while the upload difference between 100Mbit and 1000Mbit might not be that great right now, the difference between 10Mbit and 100Mbit is pretty significant and sadly, at least in the places I've lived your options are often ~10Mbit or ~1000Mbit for upload without much in between.

If consumer level hardware and cloud services pick up the pace I expect 1000Mbit connections to be a lot more useful. Those developments might not happen if there aren't enough annoyed people with 1000Mbit connections watching a 10Mbit dripbox uploads and complaining.
I'm increasingly of the mind that:

1. Advertising is the problem.

It's creating technical problems. It's creating UI/UX problems. It's creating gobs of crap content. It's creating massive privacy intrusions and security risks. And for what? Buzzfeed?

2. Ultimately, the problem is the business model for compensating informational goods. Absent some alternative mechanism (broadband tax, federal income tax applied to creative works), I don't see this changing much.

https://www.reddit.com/r/dredmorbius/search?q=broadband+tax&...

3. Micropayments aren't the solution.

http://szabo.best.vwh.net/micropayments.html
Jack Dorsey's Side Business That Owns Shares in Twitter and Square
> Capital -- especially long-term capital willing to invest outside of the current trends -- is an important ingredient in that mission.

Does anyone else read this and take away "[investors/VCs/other equity funds who don't group-think and blindly follow each other based on FOMO] are an important ingredient in that mission."
US DOE makes $28M grant to develop “cyber resilient” energy infrastructure
Show HN: Stock notifier written in Golang
Are you the goto guy in your organization?
How do you avoid burnout when you're being so self-sacrificial? Seems like it'd be a big risk.
Here's Undeniable Proof That You Can Make Your Life Better (by a Therapist)
At least the author was kind enough to make their biases evident.
There must be some confusion here. Your first paragraph describes what code looks like when you don't use the visitor pattern.

Just to be explicit, here's the kind of code I think you're describing (using some vague Java-esque pseudo-code):

interface Expression {
String prettyPrint();
int evaluate();
}

class Plus extends Expression {
Expression left, right;

String prettyPrint() {
return left.prettyPrint() + " + " + right.prettyPrint();
}

int evaluate() {
return left.evaluate() + right.evaluate();
}
}

class Number extends Expression {
int value;

String prettyPrint() {
return value.toString();
}

int evaluate() {
return value;
}
}

This is vanilla OOP code. You have all of the operations on a class directly on that class. Like you note, pretty printing and evaluating are mixed together. With something like an AST, it doesn't scale and gets gross.

Here's the AST classes supporting visitor pattern:

interface Expression {
String prettyPrint();
int evaluate();

T accept<T>(Visitor<T> visitor);
}

class Plus extends Expression {
Expression left, right;

T accept<T>(Visitor<T> visitor) { return visitor.visitPlus(this); }
}

class Number extends Expression {
int value;

T accept<T>(Visitor<T> visitor) { return visitor.visitNumber(this); }
}

interface Visitor<T> {
T visitPlus(Plus plus);
T visitNumber(Number number);
}

These are now pure data classes, like we want. The only extra bit is the visitor pattern itself.

Now we can separate out our concerns. Here's pretty-printing:

class PrettyPrintVisitor extends Visitor<String> {
String visitPlus(Plus plus) {
return plus.left.accept(this) + " + " + plus.right.accept(this);
}

String visitNumber(Number number) {
return number.value.toString();
}
}

And here's evaluating:

class EvalVisitor extends Visitor<int> {
int visitPlus(Plus plus) {
return plus.left.accept(this) + plus.right.accept(this);
}

int visitNumber(Number number) {
return number.value;
}
}

> I'm going to have a single AST pretty printing function that handles all the cases, a code generating function that handles all the cases and so on.

This is exactly what visitor gives you except replace "function" with "class".

> If someone adds a case, they will just have to add them to half a dozen functions.

They'll have to remember to do that. The visitor pattern makes it a compile error to forget to do that.

I also find the pattern scales up better than doing all of the type tests inside a single enormous function. I like having a separate method per AST type.
Yes.

What something is worth depends entirely on its context and available substitutes (aka. supply/demand), for example a generator isn't worth that much under normal conditions as people have the grid as a substitute.

After a hurricane or something else that removes the grid as a substitute the generator is worth substantially more.

Ask yourself how much you think a lion would pay for your gold ring, house, or anything else you think has intrinsic value.

The nature of trade incentivizes individuals to find resources that are less valued by one person and more valued by another. For example starbucks finds coffee beans from farmers who don't find them terribly valuable, and sells them back to consumers who find them much more valuable, especially in conjunction with their value adds. Coffee beans are worth different amounts to different people, only when we make a transaction do we start to discover price.
> We're not talking about the viewers of the show, we're talking about the people (Muslims, Arabs, etc) who are affected by the people who choose to watch the show -- that is, the impact on the culture that racism has.

I agree, but I don't agree that this is the problem of the show's creators.

> Ah, but here we are: it is real life for millions of Muslims. Remember after 9/11 when Sikhs got beat up because people thought they were Muslims? Remember in the 60s when a black man couldn't get a hotel room in Atlanta?

So one of the solutions to solving fundamental societal problems is to criticize a TV show?
"has done a lot for international US diplomacy" is what we're talking about here. As of 9/11, the US enjoyed unquestionable moral superiority and absolute world support. Then Sec. Rice squandered that by lying to the world, invading Iraq, and creating the current quagmire, which includes the deaths of probably hundreds of thousands of innocents.

I'm sure she plays a lovely piano sonata though.
Yeah, ets is the solution when you need cross-process "global variables" in Erlang.
> The US is not at war with anyone

Yes, it is. A Congressionally declared war, even.

People tend to get hung up on the mistaken idea that Congress's power to declare war requires the use of magic words in the legislation in which it is exercised (e.g., that it has to use the words "declare" or "war"), but this is not the case. A Congressional "Authorization for the Use of Military Force" is a declaration of war (perhaps -- as was the case with both the 2001 open-ended 9/11 AUMF and 2003 Iraq AUMF -- a conditional declaration of war conditioned on a determination to be made by the executive, but a declaration of war nonetheless.)
I totally agree with (1) and (3). However, about (2), it obviously depends on the team and everything, but for me, I've asked that if someone has a question and I have my headphones on, ask me on slack. I'll respond quickly, and it's way less disruptive to me than verbal interruptions.
Crushing up pain pills and spitting out lives in West Virginia coal country
You can use many of the functional programming constructs like piping, (pretty limited) pattern matching, function composition, etc. with livescript [1]. Its translated js code is as readable as one coffeescript produces.

Or, if you really like elixir and don't mind its alpha status, you can look into elixirscript [2]. He gave a talk [3] in the conf.

Elm [4] is another alternative, but it wants to not just replace js, but html as well, with its very unique and useful "time travel" feature.
Alan gave a talk in usage with Phoenix [5].

[1] http://livescript.net

[2] https://github.com/bryanjos/elixirscript/blob/master/FAQ.md

[3] http://confreaks.tv/videos/elixirconf2015-elixir-in-the-brow...

[4] http://elm-lang.org/

[5] http://confreaks.tv/videos/elixirconf2015-phoenix-with-elm
also worth reading: http://www.amazon.com/Driving-Technical-Change-Terrence-Ryan...
Those are some amazing revelations, ones that have nothing to do with spying and everything to do with defeating a war effort.
You have not defined "too hard".

AFAIK

As it stands, it appears to be a value judgement and not one of fact.
Which hasn't caught up to new Facebook features and hasn't updated since March. Makes me wonder if Facebook has killed it.
One thing that I've not seen mentioned is that you don't have to feel like you're the one that has to answer all the questions, just because you're the lead. Deferring questions to those you feel may have more specific knowledge shows that you know where your weaker areas are and where the strengths of your team are.

This also goes for asking your team questions, don't be afraid to ask them things you feel unsure on rather than try and power through.
Founders: Do you want to be Rich OR King?
Windows 10 upgrade nags become more aggressive, offer no opt-out
I think this is really good advice, as a Technical lead you should see yourself as mentor for the other developers.

But I also feel that it is important that you should see yourself as the one that also include the business goals into the development team.
Just a few nit-picks:

Dietary fiber (at least fermentable poly/oligosaccharides), while technically a form of carbohydrate, is fermented to short chain fatty acids by the bacteria in your gut. These short chain fatty acids have some fairly special physiological effects that you can't get from other macronutrients. For this reason, from a health perspective it does make sense to treat fermentable fibers as a separate category of nutrient, and set an intake target for it.

Also, lactate is the preferred fuel for your brain; it has been shown that if lactate is available glucose uptake by the brain is _greatly_ diminished. In fact, a major role of astrocytes in the brain is the metabolism of glucose to lactate for primary neurons.

As for the 5% protein number, for starters that is meaningless without knowing the number of calories being consumed. If someone was somehow active enough to burn 10K calories a day 5% protein might be a reasonable amount. For your typical 2K cal/day diet, however, that number is woefully inadequate. 0.8g/Kg/day is the minimum anyone should reasonably be getting, and even non-exercising populations will tend to be leaner and feel better around 1.2g/Kg/day, not to mention athletes who will do best around 1.7g/Kg/day.
You lower your expected output.