skysight-inc/HackerNews huggingface dataset:
Hmm, the second photo is a case where everything is pretty much at infinity, so the only significant consequence of using a very wide aperture is that you’re letting more light in. (Yeah, you can see that the background is very slightly out of focus compared to the bikes, but the defocusing is so slight that it looks more like a mistake than a deliberate effect.)

Plus, look, I know that you didn't choose the photo for it's artistic qualities, but that photo sucks, and the comments on it are like "omg you have a 35L and the photos are sharp". Who the fuck cares if the photos are bad?

The vast majority of the photos in the group either have (i) pretty much everything in the picture in acceptably sharp focus (so that even if they were shot at f1.4, they didn’t have to be) or (ii) a close subject (so that a very wide aperture was not necessary to get good separation). Is it possible to imagine scenarios where you need f1.4 to obtain the desired effect? Yeah, sure. But they’re precisely the scenarios that rarely lead to good compositions. I.e., middle ground in focus and foreground and background out of focus.
>> The primary reason Jews, Christians, and Muslims are having trouble solving their problems using violence is that they're not using enough violence.

The problem of those groups is that they can't prosper in peace. Violence is not a solution for that. Rather, violence is the essence of their problem.

Basically, if you want to be realistic there can never be "enough violence". Reasonable people prosper because they understand this and seek to solve their problems in a peaceful manner rather than to escalate the violence until one side perishes.
You could put all of this into Vagrant or Otto with a bash file to set up the dependencies to get it going.
This is a rather horrible thing to say.

Unless someone is themselves a "bad person", then why shouldn't they be able to find a "good guy/girl"? Why should they have to bring anything special to the table for that? Shouldn't there be a ready supply of good datable partners, if most people really are generally good as many people like to believe?

Of course, the real problem is that lots of people aren't willing to settle for just anyone, just because they're a nice person. They want them to be attractive, have a decent job, not have any serious baggage, etc. So what happens is they complain about not being able to find a "nice" or "good" guy/girl, but when they do meet them, they don't meet their other requirements, which may or may not be realistic or too picky. I mean, if you're an athletic guy and you meet some nice girl who weighs twice as much as you, I don't personally think it's wrong for you to not be attracted to her. However there's a such thing as being too picky and unrealistic, like people who reject someone because they don't have an advanced degree, or rejecting someone who was married before when you're over 40 yourself.

But I would hope that finding a "good" person should be a basic requirement. I don't know about you, but I sure don't want to date anyone who's evil.
Not at all. The country is deeply dependant on imports of fossil fuels for its energy, something around 96%. In the case of electricity it's mostly coal from South Africa.

If you're familiar with hard currency scarcity issues, I need not say more. Morocco consistently struggles with that every year, and the economy has been pretty deeply affected by energy price swings in the past. The past years it received various precautionary loans to deal with this, which needn't be exercised due to favourable oil prices.

Anyway, energy import dependency is a huge issue for Morocco, more so than for a country with a hard currency, say the US, any country in Europe, Japan etc. It's a burden on the economy, and moving towards self-sufficiency has benefits beyond the basic economics of typical energy infrastructure.

As for why solar? Well it's a country with some of the largest solar potential resources in the world, and on a relative scale it's off the charts. Morocco has several hydro projects, but they have mostly utilised their hydro capacity and in fact need to do some repairs on existing ones. There's very little potential for massively scaling that up. Pumped hydro is an option into the future, but it's a storage solution, not a source of renewable energy in and of itself. Wind, also, can't beat solar in Moroccan conditions. And again, Morocco has few fossil fuels. It has some oil reserves but they're not exploited because they're not economically viable and no exploration company really wants to get in there, not 10 years ago and definitely not today, and even then the reserves are small fry compared to say Algeria let alone elsewhere.

Short story is, Morocco needs energy independence badly, not 100% but it needs to start moving towards it. And relatively the best resource to do that is solar. You need projects to get started, build an industry, build expertise and expand it out, this is step one and it's certainly not a vanity project.

Btw it is relatively expensive for a solar project, which is a bit disappointing, but it must also be noted that it can generate energy even when the sun is down as it includes a storage solution which is priced in, so it can't be compared 1 on 1 vs a regular solar installation that doesn't have one.
Funny you say this.. A friend of mine basically is playing the long game with a few of his huge crushes (who are married). He stays in touch with him, remembers to send thoughtful emails on their b'day, Christmas hoping they'll divorce one day. And when they do, the first person they'll jump ship to will be him. That's his thinking... Although, he's married too currently, so there's that.
A startup video without piano music, lifestyle imagery, and hipsters in SF
It's better. The musl version is slightly smaller and tidier but also doesn't handle all the same proticols so it's not a fair comparison. At least it doesn't have a lot of conditional compilation and macros.

But the musl code too has bloody ZERO comments for a nearly 100 line long method of dense/opaque C code! Why? Is commenting and splitting code into functions frowned upon in "traditional" systems programming?

Who is it that writes code like this? Why isn't code like this rejected by a maintainer with "split this into at least smaller 5 functions and comment anything non-obvious"?

Edit: looking again it's actually not that bad, it does have two lookups already broken out and a lot of the verbosity is just field assignment. Would be happy with a dozen lines of comments and a split into 2-3 functions.
Silly question, but can't you run Django to serve your backend API, and Webpack to serve your static assets including javascript, then use an http proxy like Nginx to serve them under the same url?
Nah, a good example of PUF in that space is that company making stuff that fingerprints the magnetic strips. The manufacturing leaves impurities that vary on a device by device basis. Each has different magnetic properties. Developing a stripe with exact same properties might be quite difficult. Hence, it's a PUF.

Whereas, chips get cloned all the time. Sometimes, they do it down to the transistors.
Logitech seems to have no problem with doing radio and their little radio receivers.
The conspiratorial view of the world is the correct one.

Not when said conspiracies are dumped, explanation-free, into the middle of a post without any backing what so ever.

Buzzwords like "new world order" are both loaded and uninteresting, and that goes double when most people who've have examined the "evidence" have found it wanting. If globalization is meant, say "globalization".
But it isn't one line:

var clone = require('clone');
module.exports = function(options, defaults) {
options = options || {};
Object.keys(defaults).forEach(function(key) {
if (typeof options[key] === 'undefined') {
options[key] = clone(defaults[key]);
}
});
return options;
};

Besides the tests and the fact that someone is maintaining it. It's not much, but it's code that doesn't have to be maintained by you
They'd be a lot more useful if recipe sites would just let you flag reviewers who didn't follow the recipe though.

I swear 75% of negative recipe reviews I've read go something like this:

> I substituted the flour for corn starch, the butter for applesauce (watching my figure!) and the pasta for some awesome butternut squash. Since my SO can't tolerate dairy I smartly replaced the cream with mayonnaise and the parmesan with my own special mixture of bread-crumbs crisco and salt. THIS FETTUCCINE ALFREDO RECIPE IS DISGUSTING! WORST I'VE EVER HAD!!!"

And then of course somewhere near the top you'll always have an actual review that leads with a note about people who post reviews of their own concoctions instead of the recipe at hand.
I couldn't recommend Mars and Venus on a Date more highly. I know the sample size is ridiculously small, but 5 out of 5 people I've given this book to have gotten married within a year. (These were also people who were looking to find someone to marry)
Reactor 2.5: A 2nd generation reactive foundation for the JVM
You must be single :(
Remember when more than half of Americans worked on farms? It's why farm labor laws are special. Automation has allowed many of us to live a relatively labor-free life compared to our grandparents.
> it's pretty clear at this point that we need to expunge all C language networking code from the world

Will you bell the cat? I'd pay a lot of money to see Linus' reaction to your massive network-stack replacement kernel patch written in Rust.

More seriously though, who is prepared to fund this? Is the risk worth that much effort? Because I see a lot of people being vocal about it on HN, but no real attempt is made to come up with a safe Rust-based alternatives
Is it really important information? Knowing the answer doesn't change anything about your life.

I consider it to be interesting information. And the author has chosen to tell you an interesting story instead of just a fact fact.

If the goal was to show you something that would satiate the need to be interested then I think the story does a much better job.
Cisco Industrial switches affected by an unpatched flaw
It seems that most often the pieces that try to be too literary (or too story-esque) tend to distort the facts to best fit the narrative (or rather the narrative fallacy).
Doesn't that worry you?
I remember seeing the first computer animations in the 60's. There was something magical and exciting about it. No one will ever experience that culture shift again, as we are all jaded by cumulative accomplishments.
How did I know this would turn into a C vs Rust debate
Because the alternative is to offer the poor no opportunity to improve their financial situation through education. Permanent hopeless underclasses do not make for a stable society.
Isn't the test case he just gave you a slightly obscured version of the canonical stack overflow?

void
dumb_func(char *user_input) {
char buf[64];
sprintf(buf, "reformatted: %s", user_input);
}

Overflows in functions whose activation records precede the buffer are --- obviously, because they necessarily involve hand-rolled copy loops --- rarer than those that don't.

Additional fun fact: a few early generations of mid-90s stack overflow exploits didn't even target the activation records at all!

I think it's interesting and worthwhile to consider whether stacks growing upwards would have made exploit development meaningfully harder, but I also think the answer to that question is straightforward: no, not really.
No, I think GP is right. Compare a typical long-form piece to e.g. a textbook. A well-written textbook has much more information, but still organizes it in such a way so that you can quickly understand what you're getting into. By comparison, I find that long-form journalism typically buries this information so that even if there is a meaningful summary, you have to build it yourself (and obviously you can only do this after having spent the time to read it in the first place).
I thought the idea that it would be difficult was a misunderstanding of the task to begin with. No one is trying to archive digitally for a thousand years. That's hard. Archiving for 10 years is easy. As many times as you want.
The Anatomy of a Frame (in Chrome)
U.S. Had Cyberattack Plan If Iran Nuclear Dispute Led to Conflict
They asked the NSA to defend themselves, to make a comment on the issue. They were totally silent.
Well, at least on my computer, they were mostly broken.
Tell U.S. Copyright Office That DMCA Anti-Circumvention Is Defective by Design
previous discussion: https://news.ycombinator.com/item?id=5450097
And to make Fish even more awesome than it already is, check out Fisherman.

• Home Page (http://fisherman.sh)

• Why Fisherman? (http://why.fisherman.sh)
⁣ ⁣

• LINUX Unplugged (https://www.youtube.com/watch?v=tplxnE2ljWI&t=21m54s)
⁣

⁣
And rendering on the server solves API churn by... having no API at all? Then what do you do once you'd like to add non-browser clients like native apps or an actual API for third parties?

Additionally, I don't see how rendering on the server frees you from thinking about security or setting (and enforcing) proper permissions. All you gain is that the problem is less visible and your entities are obfuscated in chunks of redundant HTML.

In fact, now you may open up new security holes like XSS that you can avoid easily with proper client-side widgets.
Ill check ig out later. Found this updated paper that covers its safety techs:

http://www.adacore.com/uploads/technical-papers/SafeSecureAd...

Edit: A quick skim showed the paper was quite thorough with lots of code examples.
My point is that long-form journalism isn't pleasurable to read. The writing style is incredibly belabored, and I am fairly convinced that this is the intention of the authors. It clearly works for many readers, but not for me, and I wish there was always a clearer upfront distinction between traditional news articles and long-form articles.
well for development that's a good idea. For production you don't want to have webpack serving anything, you want it compiled, right?
I disagree on multiple fronts!

1) ggplot does exactly what it is supposed to do: create data visualizations. It made no promises for interactivity or display, and in fact, it was originally designed for creating publication quality charts, which it continues to do well.

1.5) ggvis is a D3 API wrapper on ggplot and allows for interactive graphics. Do you want to pay your data scientists for creating production ready graphics or let them focus on what they're best at?

2) R has been growing - outside of neural networks (which R needs to catch up on), R gets almost every pre-processing and modeling algorithm first, and distributes it for free. Furthermore, it has better sampling options, metric options, augmentation options, and model ensabling tools (stack or meta-model) VS any other language or framework - it is the gold standard.

3) I don't think there's any "magic" in R. It's just a language with a learning curve and lack of opinions.

4) Last point: R is really not built for the web (it's older than Python!) - its built for data science. There's no reason you need to run your modeling stack in the same language as your application server. R is perfectly capable of writing to databases or sending API responces in JSON or PMML.

/endrant

Not trying to start a flame-war - but this type of difference in opinion is important to see when thinking about hiring data scientists or deploying models.
Gravity waves exemplify the power of intelligent equations
A footer components would be great :)
I'm probably talking out of my hat here, but it feels like Japan opening up to immigration more would probably be a more efficient help to this particular problem
> Firstly, only Java 8 is supported, so your build.sbt needs > to have some configuration in it that enables 1.8 only
> support

NONONONONONONONONO ! Who told you that?
If you don't compile on Jdk 9 with target/source 9 it just doesn't matter which JVM version you use they should be Downwards Compatible, especially OpenJDK 8 which actually Lambda uses.
Yeah the title was a bit off which made me sad. I was looking for a cool site like that with unique discussions historical events.
A lot of it might have started that way —French kissing for instance has a complicated and not well documented history of misunderstood euphemisms– but they have influenced culture and expectations. Most people have lived through less relationships and break-ups in real life than they’ve seen in movies.
Food is already extremly cheap to the point where producers throw it away to artificially raise prises.

http://www.bloomberg.com/news/articles/2015-07-01/milk-spill...
> This is particularly a problem for those help pages-- and there are a lot of them-- that describe a raft of related functions all at the same time. Describing a bunch of related functions in the same place sounds like a good idea (it should help you figure out `apply` vs `sapply`, right?). Yet this is exactly when the documentation organization results in the most scattershot reading, because in addition to having to synthesize between sections, you have to mentally prune away text that, for one reason or another, doesn't apply to your particular case (for example, because different functions don't all share the same arguments, or because you want to read about the values for just one variation on the function).

This reminds me very strongly of man pages. Man pages group either similar (man 3 printf) or closely related (man 3 malloc) functions, and intersperses bits about each of the functions documented by the page, which ranges from difficult to read to mind-boggling (when you have half a dozen near-identical functions being documented at the same time). Reading an lapply documentation page[0] it looks very similar in organisation, and similarly difficult to parse/use.

> The comments alert me that there's a "surprise" in store, and they even allude to the (apparently surprising) fact that the second line produces a 10-vector. Notably lacking is any explanation of what's meant to be surprising here, how that relates to the internal logic of `sample`, or how to avoid falling into the trap.

On http://www.inside-r.org/r-doc/base/sample the surprise is explained by the first paragraph of the details, with the hell of an understatement that "this convenience feature may lead to undesired behaviour" but without the big red blinking box it would definitely deserve.

[0] https://stat.ethz.ch/R-manual/R-devel/library/base/html/lapp...
Girls rejected 25 year old me because he was an idiot.

Girls rejected 30 year old me because he was an asshole.

35 year old me wasn't rejected.
You're thinking about it slightly wrong.

You want to know the number of possible people you might date. These are "dateable candidates."

If that number is "n", then by the constraints given, you don't want to end up actually dating each and every one -- if the last one isn't a match, you're screwed.

We can try to ground this with an example. Suppose you're a female, and you know that you want to marry someone to conceive a child together. Now, [suppose] you have until you're ~40 years old to have a kid. Then you need to find your ideal suitor slightly before that.

So now, if you imagine you'll meet 10 "dateable candidates" per year, and you're just under 30, then you might estimate n to be 100.

Note, the method doesn't guarantee you'll stop shortly after the 37th dateable person you meet because it might take much longer until you find someone better than the first 37.

But at least you know that you've given yourself the best chance at finding the best person to have a kid with [under the dowry problem restrictions].
I'm pretty sure I wouldn't survive long on either planet.
True, and hence why my rants about C tend to kind of ignore C++, as the community is more safe aware and strives to avoid the C compatibility subset.

However, it is very hard to avoid C++ developers that don't follow the modern C++ mantra to use it as if it was C, specially in the enterprise space.

You end up with "C compiled with C++" code style, which usually isn't subjected to any kind of code reviews or static analysis.
Because the net employee flux is positive. You have to be a total utter asshole to lose all your employees, it turns out (like, criminally abusive or just not pay them kind of bad). Being just a moderate asshole however tends to produce more work output from the employees you do manage to retain. So on balance its a win.
I suspect that if you had a hard limit of 45 minutes after which time you could no longer work on your task, you'd adapt and find yourself able to get in the zone much more quickly.

It also becomes easier the more you do it. I've been doing side projects for many years.
Yes, it would be great, but it is most likely not happening anytime soon. As previously discussed on the WebGL mailinglist, Vulkan is strictly (and rightfully, wrt performance) working against all the security considerations that went into WebGL by design. A "WebVulkan" would thus not be much of a benefit, or even usable, if it's severly crippeled in it's features.
looks like the perfect reply to me
Safeguarding against social engineering attacks on live chat
> only liberal democracy in the middle east

What a laugh. A Palestinian in Hebron whose family has been there for thousands of years gets no vote, whereas a Jew from Brooklyn who just got off a plane and steals his land does get a vote in the Knesset. This is a democracy? How deluded do you think we all are?
From the guidelines:

>Please avoid introducing classic flamewar topics unless you have something genuinely new to say about them.

This is a pretty classic example of a flamewar topic, and doesn't add anything of substance to the conversation besides uncharitable bait.
Is Pincus the best man for the ceo job?
Given that iOS has a 40%+ market share in the US, no.
Ordered set meaning you can compare them and come up with a "total ordering."

The point is that relationships can't be boiled down to a single number or objective metric.
Live Now –  500 Startups Demo Day  Batch 15
Personally, I want a partner who actively chooses to stay with me every day. Not one who settles.

So, for me, a good one is absolutely somebody who exits a long term relationship as soon as it isn't optimal enough for them anymore.
When someone offers one thing but provides another, it's called bait-and-switch.

When someone says they'll do one thing but do something else, that's lying.
Does this affect OSX?
Optic Nerve: millions of Yahoo webcam images intercepted by GCHQ
It’s not clearly defined, but it goes from: narrowly, the howling that Tex Avery’s wolf character does when he sees an attractive female to, more generally any equivalent reaction: whistling, clapping, openly appreciative remark.

Practitioners generally describe it as a positive reaction; feminists see it as sexist and objectifying, up classify it as sexual aggression.