skysight-inc/HackerNews huggingface dataset:
Apple allows apps to share information between them without asking permission
Currently apps from the same company can share information between them in iOS without you knowing about it. For example:

1. Logged in Linkedin? the SlideShare app already knows who you are.
2. Logged in any Google app? all other Google apps know who you are.
3. Facebook + Instagram, Google + Waze, etc...

That is ultra-annoying, besides login, apps can share information between them without you knowing it, being able to disable it, or sometimes even know which apps can share between them (do you remember that LinkedIn bought Slideshare? or Facebook bought Instagram) ?

Some apps don't even require login (such as Waze), but might (who knows) link some cookie to your other Google apps...

Just like in the open web where you can open different profiles in your browser (or even use incognito mode) to separate information passing between sites, iOS does not give you this option, and does not notify you when apps talk between them.

If Apple is serious about privacy, it seems basic to me to notify a user when this is about to happen and have an option to disallow it exactly how it does for all the other Privacy policies it has (location, contacts, etc...).

[1] Sharing Keychain Items
https://developer.apple.com/library/content/documentation/Security/Conceptual/keychainServConcepts/02concepts/concepts.html

"In iOS, and in macOS,..., you share keychain items using Access Groups. This kind of sharing does not require interaction with, or permission from the user, but limits sharing to apps that are delivered by a single development team."
Most people don't care about the source code, but we have a huge link to the setup guide [1] (and there is a link to GitHub in the footer).

Also I'm not sure where you bring the "but it doesn't receive bug fixes" statement from? We have a documented upgrade process [2] for the images you create using our documented setup guide.

[1] https://redash.io/help-onpremise/setup/setting-up-redash-ins...
[2] https://redash.io/help-onpremise/maintenance/how-to-upgrade-...
"Track 45 left ... stop - enhance 15 to 23 bip bip bip"
You don't have to solve all edge cases for a feature to be useful. At least not all the time.

I, am not too unhappy with the behaviour of C/C++/Java/... - That the block comment will end at the first occurence of " * / ".

If I accidentally close a comment too early (because there already was another block comment inside the code I want to comment), then...

* The syntax highlighting of my IDE will tell me.

* The compiler will tell me.

* I can take it as an opportunity to consider whether this file is too large - That problem should not have happened at all.
>Sometimes I want the lowest ranked results for a query, or the middle-of-the-field results.

What's the use case for that?
As they say oop north, where there's muck there's money. Although I don't think its meant quite so literally.
Alibaba launches $15B overseas R&D drive
I very politely, without judgement or a sense of superiority, say that I don’t talk politics and religion. If you’re firm and consistent, and not haughty, people usually respect it in my experience. If they don’t, politely listen and then reiterated that you don’t talk about that subject.
LiveXAML is better than just XAML previewer
A company I used to work for still uses FoxPro to this day. A friend of mine at another company is still using VB6 for their core app (though they are planning a rewrite in .NET/C#.) Give Microsoft a hand - their discontinued wares still manage to work on the latest Windows releases. Sure, Google’s offerings are online, so there’s an ongoing cost associated with keeping the lights on, but if Google wants companies to trust them, it’s going to have to stop discontinuing products when they get bored with them.
Yes, heredocs (or "here-comments", since you want them ignored, not just stored in a string variable) would likely be a solution for all but the most pedantic. The final recourse of the pedant would be to point out that no single closing string would be appropriate in all cases, and you are in principle required to read the code you want to comment out, in order to find a closing string that is not already contained within it.
OCaml actually has correct block comments by his definition (and no line comments). This does lead to the odd fact that you can't have an unterminated string literal in a comment, which usually isn't a problem, but can be surprising.
That's possible with a PYTHONSTARTUP file.

https://docs.python.org/3.6/using/cmdline.html#envvar-PYTHON...
So only private entities?
This reminds me of https://www.youtube.com/watch?v=eywi0h_Y5_U (Ballmer Laughs at iPhone)
This is pretty good! The arithmetic of elliptic curves gets very complex, but I like how you arrived at points on an elliptic curve just by defining groups and fields. It might be a slight improvement to give a short, Rudin-style explanation of the difference between a set and a field. You could do this from first principles of set theory without being so terse as to be incomprehensible or diving into the axioms; I think the stated goal of little math is fine for the audience, but at the same time such an audience might not immediately understand what “field = set with addition and multiplication defined on it” means. I think a small expansion of the treatment on why the ECDLP is hard would also be good. It's intuitively easy to follow that hard problems can exist, but maybe continue on in showing why this particular hardness assumption works for cryptography (because there are many that do not).

Places to go from here if you enjoyed reading this and want to learn more about elliptic curves and cryptography related to them:

1. http://blog.bjrn.se/2015/07/lets-construct-elliptic-curve.ht...

More on an elliptic curve and constructing a hypothetical one.

2. https://medium.com/@VitalikButerin/exploring-elliptic-curve-...

Elliptic curve pairings.

3. https://www.lvh.io/posts/supersingular-isogeny-diffie-hellma...

An intro to supersingular isogeny cryptography, which has a basis in elliptic curves as a mathematical structure, but is fundamentally different from elliptic curve cryptography.
Did you guys build a custom model or is the IAB mapping something Watson offers (I can't seem to find any details)?
Google results are gamed so much, that often personal blogs that don’t do SEO, but offer interesting content, appear beyond page 5 of Google search results, but are still relevant. Similar issues appear in many situations where search is used on third party results, but even on first-party results the first page is often gamed.

I’ve been thinking about it, and ideally one would make a search engine that only indexes pages that have no analytics, tracking, ads, paywalls, etc. Then I’d find those same pages I’m searching for.

To give an example: I found http://blog.deconinck.info/post/2016/12/19/A-Dirt-Cheap-F-Aw... on page 3 of Google for "raspberry pi led", just below https://tech.scargill.net/home-control-2016/ (both of which are interesting IMO)
Ask HN: How to test the latency between two Linux containers via shared memory?
Is there any tools or good practice to test the performance (especially, latency) of shared memory between two Linux containers?
I wrote a tool to do that:

https://github.com/ianmiell/shutit

Among many other things I use it to test Kubernetes/OpenShift clusters in Vagrant for Chef recipes:

https://github.com/ianmiell/shutit-openshift-cluster/blob/ma...

and here's some others in a more 'native' python format:

https://github.com/ianmiell/shutit-scripts/

https://github.com/ianmiell/shutit-scripts/blob/master/logme...

https://github.com/ianmiell/shutit-scripts/blob/master/gnupl...
How effective is it?
Hiring local mobile, back end and Unity / VR / game developers in DC/MD/VA
This is one of the signs that we're doing it wrong with programming languages.

We're dealing with text. A program can be expressed in text, actually every piece of information can be converted to text some way or another. The question is if it's the right way to do it. It's not.

I know why we chose text at the time. It doesn't make sense today.

In this case, we should be using a tool that would let us write comments without worrying about delimiters or escaped characters. That's so 20th century.
One thing which isn't mentioned here (which i've encountered before) is when conflict tags from source control get thrown into the middle of block comments, and then committed - which leads to all kinds of headaches. This wouldn't happen with line comments.

Additionally..

> This is perfectly cromulent Haskell.

I'm still impressed whenever someone can correctly use this word to embiggen the subject under discussion.
~~ hug ~~
Commendable Nursery School in Indore- Tirthanjali Academy
The curriculum at Tirthanjali Academy Play School in Indore brings together best-teaching practices from around the world, focusing on in-depth explorations of Montessori Subjects. http://tirthanjaliacademy.in/characteristics-of-effective-learning.aspx
Floreo (http://floreotech.com) is a venture-backed startup in Washington DC developing a first of its kind virtual reality platform to deliver children’s therapy. Our first product is focused on VR-based autism therapy.
We are a multidisciplinary team of developers, doctors, designers, therapists, parents, and artists and we are working in the uncharted territory of VR for delivery of therapist/parent mediated therapeutic experiences. This is a unique opportunity to build a highly challenging technically grounded product that has the potential of helping millions of families immeasurably
We are looking for Software Engineers to join our team at our Washington DC office.
Details: http://floreotech.com/careers/
There's always some reason for not to write "the perfect" command. Either being in a hurry or you just don't care about it.

Considering the commented out valid code, it looks like he was saving time by just adding another "|" and check the output, instead of improving the existing command and check the output. Something that I do very often as well.
I guess it comes down to which school of wizardy you went to. I'd rather muck around in python, if only because then I wouldn't dread rereading/editing the whole thing a couple months later.
5 windows 10 taskbar tweaks you should check out, with pictures
According to the NYT article[0]:

> Israeli intelligence officers informed the N.S.A. that in the course of their Kaspersky hack, they uncovered evidence that Russian government hackers were using Kaspersky’s access to aggressively scan for American government classified programs, and pulling any findings back to Russian intelligence systems. They provided their N.S.A. counterparts with solid evidence of the Kremlin campaign in the form of screenshots and other documentation, according to the people briefed on the events.

[0] https://www.nytimes.com/2017/10/10/technology/kaspersky-lab-...
LearnSearch: User Curated Learning Feeds
Hey folks! I just spent the past few days building LearnSearch, a web app where you can share learning resources and upvote the ones that help you or are valuable in someway. I asked a lot of people what they wished they knew when they started self teaching or learning something new, and the feedback was always that they wish they could tell the good resources from the ones that lead them astray, and that others were vital in letting them know about this. I wanted to make this same interaction scaleable, so I built LearnSearch! LearnSearch is still in its early, early infancy, and I'm going to continue to build out different feeds, comments, and other cool features. I'd love for you guys to take a look and let me know what you think!

It's my first real crack at a web app, and it took me a few nights, so i'm gonna take a quick snooze ;)
Why I don’t have a favourite programming language
Your hypothetical unnecessarily opts to store ammunition in a second safe to your weapon.

The above thread made no reference to owning a weapon for home protection.
How to ditch annoying PowerPoint and build better slides with Jupyter/Reveal.js?
Exactly. In java, block comments are used at the beginning of a class or method for javadoc generation. If I want to comment out big portions of code, I use line-comment thanks to eclipse. With this working practice, the problem does not exist. Never use block comments for commenting out big portions of code.
They aren't. I, as many other people I read, have been arguing about SM threat for years, but unlike newspapers I like most people have a very very limited reach.

Just because our reach is too short for you to notice it does not mean we don't exist.
Does anyone know what's on this page?
Asus C201PA and Flip are available mostly everywhere.

Even Tesco was selling them a few weeks ago!
These things are frequent and don't cause 'mass' extinctions.

~1/100,000 years seems slow, but that's ~650 of them post dinosaurs.
I looked up the freelance job in question, it pays $36 for a 215 page publication from the 80s, including checking where automation has failed.

A question to those who do freelance work: sites like Upwork often have low budgets, where do you guys find better projects with better compensation?
In most languages there are better way to do this than goto. Among them
- extracting code into smaller functions (yes, state has to passed around)
- exceptions (yeah yeah, hate them or love them, but if used in your environment it makes sense not to avoid them)
- RAII pattern or handling cleanup, which allows simple return and "automatic" resource handling
- etc.

True, in a language like C these don't apply necessarily and goto still has some use
-
> Wanna take a guess at why Microsft kept FoxPro around for so long? One of the reasons was if MS axed it, they’d lose those developers, many forever.

Still they axed Silverlight only a few years after they launched it. Lots and lots of enterprisey stuff was built with it and then all that stuff was suddenly unsupported.
"I don't like something, therefore it is BAD"

I've never had an issue with a block comment that couldn't be fixed in a couple seconds. The usefulness and readability of a well formatted block comment, especially for documentation generation, far outweighs any inconveniences in fixing a broken implementation.
Ask HN: What are your secrets to growing your side project?
Hey all! I recently started working on a little side project, and its jumped to 35 users! So, I wanted to see what the wise folks of HN do to keep their project growing, in any capacity or using any metric they see fit!
By the way, you can checkout my little corner of the web here: https://learnsearch.xyz/
> the cost of free speech is the possibility of hateful and destructive propaganda

The worst case outcome of this is potentially genocide: https://en.wikipedia.org/wiki/Radio_T%C3%A9l%C3%A9vision_Lib...

Yes, speech and communication restriction is also potentially a part of this kind of society wide disaster. But that doesn't mean a society can tolerate an unlimited amount of hate speech safely forever.

Ideally the destructive propagandists could be persuaded to shut up or people persuaded to ignore them, and I think if we want to continue with both free speech and not collapse into violence a lot more work needs to be done on this.
Ditto for Common Lisp, where conditional compilation (with #+ and #- reader macros) is widely used to comment out s-expressions.

EDIT: I only now noticed it was mentioned in the article. I'll therefore add that the example from the article, of using #+nil, is actually not recommended, because it's technically possible that somebody adds a feature flag called "nil". Therefore, it's preferred to use #+(or) or #-(and) for comments (they're degenerate forms of conditional compilation expressions like #+(or flag1 flag2 flag3)).
That's something that irks me endlessly :-(
The US Government can't find its own ass with both hands and a flashlight! If they're your hope, you're in a for a rough time.

I think we all need to accept the fact that this planet isn't going to support 8+ billion people for any long period of time. It is what it is unless some better technology comes along to fix it.
Clojure nailed this, you can throw a comment in the middle of some nested expression, e.g. when building up React.js forms:

[:div
[:p "hello world"]
#_ [:pre "this debug block is commented out"]]
You mean comments in the middle of a line of code? I don't think I've ever done that (and I write a lot of C which would allow it). Seems like a readability nightmare to me, even with proper syntax highlighting.

I guess it could be useful if you want to temporarily debug the middle of a line for debugging purposes but in this case you could just add a line break if blockquote didn't exist.

That being said I don't feel very strongly about this topic, I let emacs handle the commenting for me so I never really have issues with nested comments. Besides commenting comments is probably only useful for temporary debugging.

I do feel strongly about people committing commented/dead code however, it's just distracting and misleading. Nowadays versioning your code is just one `git init` away so nobody should be worried about keeping old dead code "just in case".

Sample code is acceptable however, I like Rust's approach where commented sample code can actually be tested to make sure it's up to date.
It's also quite unfortunate that you think that would solve anything. It's also quite unfortunate that you are only thinking of one type of crime in your assessment.
Earn extra money Writing for Top websites
I asked a similar question the other day: https://news.ycombinator.com/item?id=15431299

Basically, it all works fine (I've verified it myself). I've been using a Yubikey for both SSH and challenge/response for quite a while now. A few days ago I started messing with U2F as well. The first that happens is gpg-agent "gets confused" after U2F auth and you have to remove/insert your key and/or re-enter your GPG PIN on next use (cf. linked thread).

Next up for me is figuring out how to disable U2F on my Nano's and use separate U2F-only keys for that (without any conflicts or issues, hopefully).

N.B.: I don't use the OTP functionality at all, currently. I'll probably try out the PIV stuff soon as well and I expect no conflicts or issues with the existing stuff (GPG, C/R, etc.) I have setup.
Discover weekly is usually just generic garbage. The daily mixes aren't much better, usually playing the same songs over and over in a different order.

I have a ton of songs that I've found over time that I like that spotify has managed to kill for me.

I really enjoyed soundcloud's music and tended to find way more interesting stuff on there. Too bad it's apparently run by morons.
Nothing inspires confidence in a hackathon than its webpage title being, "Your Site Title"
Ask HN: Is there any book for Apache Foundation projects?
Is there any technical book or non technical that describes all Apache Projects and connection with each other?
I really appreciate class-level and method/function-level comments, in languages that have a special format for them to assist with generating documentation (e.g. Javadoc, Scaladoc, JSDoc, etc).

A couple of years back, the company that I work for had a series of lunch-n-learns where each presenter did a chapter of Robert Martin's "Clean Code". One of the chapters deals with comments. Not using them as a crutch, and focusing on making the code readable instead.

The presenter, and one of the more influential archs in the room, was excessively dogmatic about it. Everyone ultimately left the meeting with the message that ALL comments (especially BLOCK style comments!) are "a bad code smell" per se. Overnight, everyone in the department all but stopped writing code comments.

Fast forward two years, and now it's a complete and utter nightmare to touch anyone else's code... or even your own code that you haven't seen in awhile!

Now, I understand eschewing the auto-generated blocks that your IDE might throw on the class level (e.g. "Created by John Doe, on 2017-10-11"). I understand not placing Javadocs on getters and setters and other trivial methods. I understand rejecting clutter.

However, for any non-trivial unit of code... you owe it your peers, your successors, your future self who has to maintain this later, and just the gods of professionalism in general, to throw on a brief comment blurb signalling the intent of the class or method/function.
grep -v .*[nN].x will solve the infrastructure problem...

As you say, the way to make money (with any tool) is to get good enough at using them to be useful to someone that wants to pay you to do so
that's why ypu have Scan photos inside Google photos to backup them in cloud easily with smartphone without scanner
well....??? Did it burn down?
I’ve been using Watson’s speech-to-text libraries to automate the transcription and tagging of videos of our usability tests.

Mixed results, so far on how accurate it is, but I also recognize that there are likely a number of improvements that can be made to the parameters that I’m setting for each processing run. I also have only started to play with the custom modeling.

Right now it’s a toy, but promising for our small automation needs.
Nice application!

I found a small bug: When you have an edit field open and try to open another one (command/session name/window name), the second one will just be cleared to blank.
My problem with discover weekly is I basically listen to boring background music like vaporwave all day at work. So while I like a large variety of music from all sorts of genres, since I spent 8 hours a day listening at work, my discover weekly is just slammed full of that stuff.
Spotify sometimes but I usually fall back to https://musicforprogramming.net when I really need to focus.
It's kind of surprising to me that anyone past junior-level development doesn't already have it hammered into them that "code is how you did something, code is why you did it".

Also, if you can't possibly be any less clever in your code, then leave a comment explaining the "how", and apologize that you couldn't make it any simpler.
This is why they have Daily Mixes, which are clustered by genre.

Discover Weekly seems to have figured out that one of my most listened-to Daily Mixes is post-rock, so it only gives me that. I'm fine with that. I wish they would push the Daily Mixes and Discover Weekly more prominently in the app interface rather than giving me TOP 10 BRAZIL playlists when
I open the app.
Can you find a source for the performance difference? I can't imagine why they would be different.
Mozilla's Money Story Is Like Nothing Else in Silicon Valley (2015)
I would say it's faster to just take slowly video than trying to take hundreds of photos.
Google Buying Apple? Sorry, That Was Just a Test
I view inline comments as a code smell in most languages; I can’t think off-hand of having seen even one occasion where the code couldn’t be tweaked into another nicer form that didn’t depend on inline comments.