skysight-inc/HackerNews huggingface dataset:
One tip: I've found that it's useful to make a standard bi-directional NDA that has exactly the same terms for both parties. This frequently lets you skip the two weeks of back-and-forth getting agreement on the NDA terms. You just say "we have a standard bi-directional NDA, do you want me to send it to you?", and they usually just skim it and sign without getting lawyers involved at all.
DJI just released its most powerful drone yet
> Ad-companies make most money on tracking and profiling than on actual ads.

This is a bit too much over the top, where it concerns tin-foil hat fashion. Ad companies track and profile so that they can show you ads. There's no secret campaign there. Just plain basic ad target segmentation. They do make money on ads -- they're ad companies, not profiling companies.
C++ and Python are my primary languages, the ones I choose for my own projects, and the leads on my CV. I also do a fair bit of C# and Java, simply because they are so commonplace. For my current contract, C++ is the core lang, but extensions are in C#. On a previous project servers were in C++, and GUIs in Java. There's an awful lot of C# and Java out there, often in CRUD "enterprise" style systems.
I usually don't share pictures until I'm back from vacation.
I spend a lot of time sorting and sifting through the photos, picking only the best to share.

People have a very short attention span. If your vacation album has more than 50 photos, it doesn't matter how good the photos are, or how exciting the experience is.
True, but that means that people will Google it more, especially because their website intentionally has very little information about the service.
I recently made a game (now in both App stores) with React Native

http://complexview.com/apps/rgb-logic/index.html

I code in both Swift and Java (and a little Kotlin) but I think RN was better for this project:

* Cross platform with very little extra effort (it only took a couple of hours to take iOS version, make quite a few improvements to both versions and a few changes for Android and ship it).

* The game relies on a somewhat complex UI with simple updates... React/Javascript makes this kind of thing a lot easier to code than say using some kind of complex custom state/view objects in Java.

* Adding a tutorial was way easier thanks to Javascript's blurring of code and data

* Live reload (and now hot reload!) are amazing. Better than than even Android Studio's new "instant" run.
As someone who's also concerned with precision, I'd say your sieve is about 25% as bad as an O(n^2) quicksort. That's not horrible, whether you think it's okay is up to you.
Ah, my bad. Thanks for the information, I got to learn something today :)
I wish I had just a couple of photographs of my misspent youth (15 to 20 / 1994 to 1999). I spent a lot of time socialising/drinking/partying with a big social group of friends. Pre-digital era, nobody ever took a picture. With hindsight I should have taken just a few to reminisce with in my old age.
The Spanish flu's mortality isn't that mysterious today (samples have been extracted from victims buried in cold climates, and its genome sequenced). It turns out that in young, healthy victims it provokes a cytokine storm -- an overreaction by the immune system that causes a massive inflammatory response and fluid build-up in the lungs (with potential for secondary bacterial infection). Ironically, older or younger victims with weaker immune systems were less likely to succumb to this reaction:

More here: https://www.scripps.edu/news/press/2014/20140227oldstonerose...
Sometimes reading the Guardian's comment sections is like reading the Daily Mail's with extra pompous tosh.
I am currently developing an avionics network analysis tool in C#. A colleague built something similar (for a different avionics platform) in Java.

The job isn't all C# by any means, but language choice is flexible, and C# was a good fit here. I expect to be using it more on future projects.
And before the camera people made sketches and drawings of places and things they visited. The first thing that comes to mind is Darwin's drawings.

I worked on a mega yacht and the thing that most separated me from everyone else as I interacted with the owners and guests is the context of our stories that we tell. I might tell a story set in inner city high school I went to in lower Manhattan while their son tells a story that is set at Phillips Exeter Academy. The point is what separates me most is context. It is really important for a young person to separate herself from her peers by being in the context of being at Coachella. There is more than just memories. It is also about social standing.
This isn't true:

>>In the middle of the 14th century, Sweden was struck by the Black Death.[28] The population of Sweden and most of Europe was seriously decimated. And the population (at same territory) as existed by 1348 did not reach the same numbers again until the beginning of the 19th century. One third of the population died during 1349–1351.

[1] https://en.wikipedia.org/wiki/Sweden
[2] http://staff.harrisonburg.k12.va.us/~cwalton/walton/SOLPics/...
In a dependently typed language, types may rely upon arbitrary terms that are computed at runtime, and yet you are correct that dependently typed programs are checked statically. The way this is achieved is if a property can only be checked at runtime, then the burden of proof for that property is moved from the typechecker to the program.

The program must verify the property at runtime and create a witness to the proof, which it can then pass to functions to say that it has done the necessary work.

So I guess the answer is yes and no. I would say the whole point of dependently-typed languages is that we can statically determine that somebody is maintaining correctness, be it at compile time or at run time.
The sentiment against OS X might not show that strong, but it is clearly there. She doesn't even mention that what protects /usr/bin is System Integrity Protection, or that it can be disabled. The very idea that people might not be using system git is not even mentioned.

All in all, it really feels as if it was written from the perspective of someone that does not usually work with OS X and does not know the system well. In other words, she has not done her homework. Which is fine, if you acknowledge what you don't know. But then the condescending tone would be totally out of place.

The sentiment is there, and it does not help in spreading the message, unless what you really want is to flare up all the emotions. Otherwise, it's not the best course of action.

Fun fact, since we're comparing default system installations, my Ubuntu apparently still has git 2.5.0. I suppose I should find some PPA or something to update it.
Crappy blog posts are turning my father into an asshole
> I'm still trying to understand why Apple install XCode command line utilities into an area of the system that is protected by SIP.

They don't. Plenty of comments explain where the Xcode git actually is.
SEO for everyone
I think we should develop the custom to use manners when conversing with machines. I know they don't care (yet?) but I think it stil makes you feel like a rude person unconsciously and adds negativity to your life.
I think that the problem here is actually in signaling a wrong interface.

If you in fact want to receive a iterable, then you should not signal that you expect a list.

The keyword yield is in fact a nice language integrated mechanism to create a iterable interface.

In languages that lacking this it resorts to using much more verbose mechanism.
Somewhat earlier, ~1400 BC, the book of Leviticus chapters 13-14 detail quarantine procedures for infectious disease.
Instagram and Facebook travel photos are the contemporary equivalent of postcards to friends and family back home. I agree it's important not to make capturing a good photo the most important part of your vacation, but while a few people are going to fall into that trap, for most of us the photos serve as a way to remind us of the experience and share it with our loved ones. The fact that photos are so easy to take these days is a problem, sure, but give it another couple of decades, and our life-capture gear embedded in our clothing will record 360-degree video and audio of our entire lives and we'll have mini-drones that will capture our selfies for us, or maybe we'll just be able to stand in any spot in the world and smile and think "selfie" and the surveillance-industrial complex will take the 3D image of us in our surroundings it constantly keeps built from universal surveillance and mark that moment specifically to share with our list of approved cohorts.
I've up voted you because IIRC some game producers have been caught running fake protest groups.

http://kotaku.com/5289471/eas-fake-protest-riles-some-religi...

As they say, there's no such thing as bad publicity.
Good old qwerty!
> Way to call your kid an asshole on LinkedIn for no good reason, guy.

There is a difference between "My child is an asshole" and "$thing turns my child into an asshole".
How about something like photos.google.com?
They have infinite(well, all history) scroll, but it is done perfectly. The scrollbar size doesn't change and you are given enough feedback to scroll directly to the part you want.

Similar is google maps. If you make it a large canvas where the missing data is paged in then it becomes quite natural.
It's interesting Dropbox doesn't enter these trend discussions. It flies under the radar.
> Religions make some kind of honest claim on metaphysical Truth

There are widely accepted religions which have very dubious claims on that front. I'm not sure therefore that pastafarianism is any less deserving of the status of religion simply for being overtly satire.

I'll intentionally refrain from naming as my aim is not to start a flame war.
What happens is that content follows the money. If we do not want content to be a puppet to advertisement, it is on us to create a different revenue stream.

Advertisement is an ok answer to the financial support problem of content. However, it has a serious flaw: It caters to masses rather well, and to niches very poorly. I like to think that a direct revenue flow (from readers to writers) would create strong incentives for more niche content. Investigative journalism, independent tech reviews; stuff that is desperately needed but not consumed by the masses.

Is is on us, techies. We can go down the ad-blocking arms race or we can go down the new business models race. One is destructive, the other is constructive.
Where's the Math?
"There are no bad kids, just bad parents." I'm a parent, and still firmly believe this. If you are lucky enough to be the parent of a child then you know that kids start off as blank canvases and it's your job to shape them into polite, well behaved adults. Blaming your kids bad manners on technology is simply a sign of poor parenting.
Apple Reportedly Running Secret Car Lab in Berlin
Comodo Positive Multi Domain SSL Certificate  $16.67/yr
The team I work with use the Spring framework for backends and REST APIs, and most of what we make are webapps. I also know a good number of companies (at least in my area) that hire java developers.

As for C# I would image there are a decent number of people who use it for .NET. The only time I ever used it was in my senior capstone, though.
Making audacity the path of least resistance
I don't think you're right that interfaces are implemented as a pointer to a struct. The struct is inline like any other struct, and it contains a pointer to a type and a pointer to the value, like `([*Baz], nil)` in your example. The problem is that a nil interface in Go is compiled to `(nil, nil)` which is different.

That still makes this inexcusable of course.
Sorry, no, it's the parents' responsibility to teach children how to interact in all sorts of situations.

Amazon Echo is no different. This person needs to deal with their child and not blame technology.
10 things Google's doing to reach its next billion users
But, they do claim to be spouting truth. Namely that no religion actually knows about the Divine. Sure, it's missing a long list of laws etc, but is that cruft what defines a religion?
I haven't used it yet, but intrigued by your comment I did a bit of research, and here's the gist of what I have understood: the company behind Silver is RemObjects, and they offer a cross-platform compiler suite called Elements, which supports three languages: C#, Oxygene (their own creation, apparently heavily influenced by Object Pascal) and now Silver, which is Swift with "a few features" added to bring it in line with the other two languages. They're trying to downplay the additions for obvious reasons, but they sound pretty hefty to me: Exception Handling, Partial/Static Classes, External/Inline Functions, Events etc. Imagine what Rob Pike would say if someone came along and added all that to Go ;) (see https://docs.elementscompiler.com/ and https://docs.elementscompiler.com/Silver/LanguageExtensions/ for details).

That being said, the compiler (and IDE for Mac) are freely available, so you can try it out. RemObjects have been around for a while and I was pleased with their products back in the day when I was developing in Delphi, so I'm sure Elements is a solid product as well, just maybe not what you are expecting...
Arduino integrated environments (IDE's)
What's the reason for allowing web pages to get absolute screen coordinates?

This is a privacy leak. I have a 24" screen, and I don't keep the browser window maximized because it would be too big. I presume other people do to, and I'm pretty sure most have a preferred size and position.
Okey, but prepere for some super-lame ad-hoc code. Also I was
misremembering about it handling multiple repos, in the one place
where I have >1 I just do that manually.

My .bashrc will run a bootstrap_work_dotfiles function when bash
starts: https://github.com/avar/dotfiles/blob/master/.bashrc#L410

This then clones my ~/g/avar-dotfiles-work repo if I'm at work and it
hasn't been cloned:
https://github.com/avar/dotfiles/blob/master/.bashrc#L355

I have a "dud" function (dotfile update) function that'll update both,
it basically does a git pull, re-chmods ~/.ssh/config:
https://github.com/avar/dotfiles/blob/master/.bashrc#L381

And also, and what you asked for, removes any stale symlinks via this
one-liner: https://github.com/avar/dotfiles/blob/master/.bashrc#L348

Basically doing a find on my ~ directory and finding any broken links
pointing to the known location of the overlay repo.

I see now that there's a potential bug in it where it narrows its
search in such a way that it could miss it if you add/remove new
~/.??* files. This could be solved, but I have it like that because I
only ever add/remove stuff in e.g. ~/.bashrc.d/ or ~/.screenrc.d/, so
this way the find takes less time to run.

Then I have a generated one-liner that I can paste into new machines
that clones my dotfiles.git into ~/g/, moves the .git to ~/, then
sources bashrc which bootstraps the rest.
> It was just boring, and I agreed with a philosopher (sorry can't remember which) that when you take a photo, you miss the authentic moment because you're busy manufacturing one.

Susan Sontag. It's a pessimistic sentiment that is borne out of insecurity and self-centeredness ("I know what's best for everyone else"), and has nothing to do with the world outside the ego.
Of course it can be used for a general purpose stuff, but it should not, because there are always much better tools that a specialised for those domains. It's never a good idea to use a language for something it was not designed for.
This doesn't prevent someone from writing "/usr/bin/git/" into their OS X exploit.
Ask HN: Bonjour-like Service Discovery on Android?
I'm trying to build a simple proximity based multiplayer game across devices as a fun side project.

I found Bonjour for iOS & Avahi for Linux to work without hiccup for transferring data. Android has been a nightmare. I'm trying to encompass all devices I own (which includes a Gingerbread device) and have tried the following options -

1) Android's NSD Manager - Works 4.1+, quite slow and pronounced very buggy by most devs. Crashes quite often in my experience.

2) Google's Nearby Connections API (https://developers.google.com/nearby/) - Works 4.1+, but communicates only with Android / iOS - can't get it to communicate with the laptop.

3) jmDNS - Works 2.1+, but still buggy and slower than Bonjour speeds. Also, looks like the project has been abandoned so am further worried about bug fixes. This is what I am currently using.

Does anyone have suggestions for better mDNS service implementations that can give Bonjour-like performance on Android devices?
> I believe that people who like PFP simply find the paradigm to fit well with how they like to think of programs.

I don't think so actually, which I why I'm so keen to get to the bottom of your idea.

In my experience people find IO in Haskell very unnatural initially. It certainly took me months to get it. Now that I understand it it causes no additional overhead but I think it would have preferred to avoid it. I would still prefer to program in a more "natural" style and still get the benefits of purity. I just don't believe it's possible.

There seem to be two options

1. Work out how to explain IO more straightforwardly so it consumes less effort to understand it
2. Work out how to get the benefits of pure functional programming in a more natural, imperative setting.

I'd prefer to achieve 2, if possible.
I wonder how hard it is to defeat ASLR, once you find a buffer overrun: https://en.wikipedia.org/wiki/Address_space_layout_randomiza...
Great point, perhaps Elon Musk should chime in on this? #iwish
"Left" is a pretty simplistic way to characterize the Guardian's editorial stance. It's far more authoritarian and New Labor than you would expect from something described as on the Left. 70% of the non-entertainment stories are based in identity politics, so that would seem very left, but it also aggressively attacked Wikileaks, and is constantly attacking Corbyn and Sanders.

I'd probably describe it as economically Liberal (in the non-American sense), pro-safety net/NHS, and pro-legal enforcement of civility. Basically the non-angry upper-middle class. Anti-petty bourgeoisie. Fabian.
it puts an emphasis on making memories, so much so that the actual memories aren't as good as the ones you would have had you not spend all day trying to find a good spot for a selfie
Every dollar I spend with Google is painful because it is defending a brand name or something else that I already rank first for.

Spending with Facebook is negative ROI for me. I get much better results creating fake users and integrating into networks of people to send occasional adverts.
>... and our life-capture gear embedded in our clothing will record 360-degree video and audio of our entire lives...

I disagree. This could be happening now. The reason it is not is because the vast majority of our day is boring. And then there's the disgusting biological acts we have to do to stay alive. Nobody wants to record all that.
So the answer to "Why?" is "because I say so".
I think you mean fringe heterodox groups some of which are not technically Christian.
People have been taking photos of their vacations, printing them and then making other people view them, for decades now. Nothing has changed except the amount of photos and instantaneous method of posting. Don't worry, technology is not ruining anything in this case.
If online publications wanted genuine discourse under articles then I'm sure the die-hard commentators would pay a fee to engage in such, especially if the author were around to offer response. Seems this would provide enough of a barrier to stop _most_ "trolling", and self fund the moderation. If newspapers would stop using clickbait titles I'm sure they'd move the needle somewhat too.

They are however in the 'eyeball' game and the content quality reflects this lowest common denominator ethos.
Using std::vector, std::string and smart pointers would already bring large benfits, so even a C-like subset could work fine.

The point is that code like in that function is a nightmare to write correctly and test in plain C.
The use of the word "loser" (which has emotional connotations) is mostly what I object to here.
I am proud to be an American but ...

We used Germ Warfare to a whole new level vs Native Americans. (Germ warfare was used throughout history AKA throwing dead things into fortifications etc)

We are the only country to have used Nuclear Weapons

But in terms of killing nothing compares to Mosquitoes with them spreading malaria, dengue and yellow fever. Malaria kills 2,700,000 a year.
Still don't really see what is "hipster" about these quotes from the article. They're pretty fair criticisms of what mainstream tourism is like today.

While it's a bit much to say that Instagram is ruining vacations, it's also a touch naive to say that the product is facilitating "memories and being able to share our awesome travel experiences with friends and family is". Social media is, for the most parts, a tool to elevate your perceived social status. So saying "It isn't ruining vacations, its redefining them" in the context of Instagram just reads like a Zuckerberg pull-quote.
Yes, but your detector creates more problems than it solves:

* pets set it off,

* it cannot differentiate between different objects in motion. So several people could be moving at the same time and it would only trigger as one event,

* it cannot detect people who are present but motionless (eg watching TV),

* it doesn't remember how many people are present in a room, so you could have 2 people watching TV then when 1 person leaves the detect would think the room is empty,

* it requires multiple detectors,

* detectors are generally visible, which some might find an eyesore (at least WiFi APs can be hidden a little more as fewer needed).

I'm not saying FIND is perfect either, but you have implied that your solution works just as well as FIND and stated that your solution is less complex; which is simply is not true. Your solution creates more problems than FIND and addressing them creates just as much complexity (as I detailed in my other post: https://news.ycombinator.com/item?id=11519159)
How “Exit Traps” Can Make Your Bash Scripts Way More Robust and Reliable
Replace "all" with "some," and every political grouping becomes lentil-munching sandal wearers, including Trump voters.
In my experience, $400 in airfare from the US will get you about as far as mexico.
It's funny, not that I think he's right, but that my 3 year old often says please to Alexa...

I find it amazing how nonchalantly my kids (3 & 1.5) interact with devices that are mind blowing and magical to me today, even though I build the things for a living. I know it's the same with every generation, but it really is a thing to behold as a parent.

My favorite, and maybe a sign that I've taken things a tad far, was this past Christmas when the three year old tried to tell the Xbox One to turn on the Christmas lights. He wasn't far off, the Echo is connected to my home automation controller, but the image of my 3yo standing in front of the TV trying his best to say "Xbox, Christmas on!" will stick around forever.
As I understand it, we're slowly tying behaviour of this sort - essentially, being in a state of seeking constant approval from others - to increased risk of mental health issues as time goes on. It also makes it a hell of a lot more difficult to do anything that one's peers wouldn't approve of.
Magical+Or+Miserable+Life?