skysight-inc/HackerNews huggingface dataset:
- to data mine or pump advertisements

Perhaps check out the new permission model, which requests permissions at runtime, instead of upfront.

And about ads, more and more iOS apps are starting it too, i thought ( don't have iOS, read it from multiple sources)
For one, because it's a single source. It's very elaborate literature, to be sure, but so is the Book of Mormon.

I am indeed interested in learning, but only if the thing to be learned is the truth. The burden of proof is not on me to disprove a collection of writings that boil down to "X and Y and Z are true because this guy said so".

So let me rephrase the original question, then: what sorts of things can an ordinary person such as myself independently observe to come to the same conclusions as your source material and thus "admit the truth" in which you seem to believe?
I've already seen OpenMCT integrated with Kerbal Space Program. It looks like a great platform for real-time sensor data visualization. I'd love to hook it into a drone and violate some FAA regulations :)
I'm not really sure how to phrase this constructively, but this is horrible. Not the article, just the fact that humans expose themselves to this sort of stuff. Why would you choose to use a language that makes something as mundane as error handling this ridiculous and unpleasant?
I would also like to get some recommendations for self hosted systems. Anyone?
Thanks for recommendation! I was recently looking for a helm mount camera for my rides, but all I could find were these ridiculous looking GoPro-like mounts.
Apple does not provide developer tools for other platforms, that's true. But that doesn't make this an artificial constraint. Apple would have to invest time and effort to support development on other platforms, and there's not really any reason for them to do so.

Also, you certainly can develop for macOS from another platform, if you're using a development environment that supports this. There's a number of cross-platform environments that will work. The latest fad is Electron. You just can't build a native Cocoa app. That said, I'm unsure if any third party has a way to codesign your macOS app or if that's limited to Apple's developer tools.
Ask HN: Replacing NodeJs API, What Framework?
I am having some scalability issue with a nodejs backend and was considering a full rewrite, as it was initally developed as a "prototype" that became the production app. I've been exploring using python with Django or perhaps using Go with Gin, it needs to support a few common things, mongodb, redis, twilio (http api) and saleforce. I know its a little vague, but i want to gauage opinion on what the right tool is to make the scaling cheaper.
How to Take on the New Frontiers of Retailing
Reid Hoffman's 'Trumped Up' Card Game
Nota bene: Do not rely on vasectomy reversal. It may or may not work.
Another thing I've learned is that far too many parents take the statement "I don't want kids" as a personal challenge to moralize and condescend to people without children.
Monad transformers offer a more disciplined and pleasant alternative to your #1. You should handle errors at the value level, not with some magic error passing system provided by your language. You can catch the errors at whatever level you like, and you are forced to deal with them properly by construction.
That's not always socially acceptable.
AMD's Crimson driver constantly crashes for me. I rolled back to Catalyst and had no problems until Windows updated it back to Crimson. The problem is on AMD's side but still. I don't care about having the latest drivers but I care about stability.
Or Xiaomi products are simply better than GoPro's.

I was in the market for a 4K action camera and ended up buying the Yi 4K because the GoPro model only offered interpolated 4K, while the Yi offers full 30FPS 4K.

I won't say the Yi is perfect. The Xiaomi app stopped connecting to the camera after an update (and hasn't connected successfully since), and early firmwares had issues with 4K recording randomly stopping.

But they've since fixed nearly all the stability issues with subsequent firmware releases.

Overall the camera is loads better than anything that GoPro had on the market at the time, and the camera only cost me $250 with accessories (waterproof case, spare battery), plus $70 to DHL for customs and duties.

I'm not a Xiaomi shill, I'm just very pleased with the product I bought.
I want to believe this is the case, but the article doesn't manage to convince me. It doesn't provide a single valid argument that can substantiate its claim.
> But no, they've not given up.

I have not said that they have. My statement was specific about us training of "moderate rebels". The programs were done both by the CIA and DoD but both were not all that successful and policy focus has shifted.

The US still does other things. Those are not the subject I was talking about.

> we're still doing all we can to to support them

Thats why I continue to read about all those nuclear attacks ...
My parents did this. They will be around less of my life but were around more of my life. I'm glad for it.
A lot of bright green account names too.
Go scales real well and is a joy. If you are more comfortable with classic OO paradigms Java spring (or even spring + kotlin I hear) might be an easier transition and scales real well. (Disclosure: employer maintains/develops spring, I've used it a bit)
There are many companies purchasing their machines, however you are right that they lay of a lot of people. Nowadays they mainly use temporary staffing firms for development (except for key people of course). They actually use multiple firms, in case one goes bankrupt.

Interestingly, they also applied this trick to making their machines. For example, they need a power supply, so they design one. Then they give the specifications to multiple manufacturers which build them. If one of the manufacturers goes bankrupt, they always have backups. Also if one of them does not deliver, they have backups. As you might figured out, downtime is very expensive. These manufacturing companies have started selling parts of their machines to other companies and some of them are very successful.
> "All this is harder than it looks," Slack warns. And then the company straps on its wax wings and flies into the sun.

That was a very nice turn of phrase.
What about auto-saving recovering data?

It really depends upon the language and environment used. I work with C (almost legacy code at this point), and if the program generates a segfault, there is no way to safely store any data (for all I know, it could have been trying to auto-save recovery data when it happened). About the best I can hope for is that it shows itself during testing but hey, things slip into production (last time that happened in an asynchronous, event driven C program, the programmer maintaining the code violated an unstated assumption by the initial developer (who was no longer with the company) and program go boom in production). At that point, the program is automatically restarted, and I get to pour through a core dump to figure out the problem.

I'm not a fan of defensive programming as it can hide an obvious bug for a long time (I consider it a Good Thing that the program crashed otherwise we might have gone months, or even years, with noticing the actual bug).

Logging is an art. Too little, and it's hard to diagnose. Too much and it's hard to slog through. There's also the possibility that you don't log the right information. I've had to go back and amend logging statements when something didn't parse right (okay, what are our customers sending us now? Oh nice! The logs don't show the data that didn't parse---the things you don't think about when coding).

And then there are the monumental screw-ups that no one foresaw the consequences of. Again, at work, we receive messages on service S, which transforms and forwards the request to service T, which queries service E. T also sends continuous queries (a fixed query we aren't charged for [1]) to E to make sure it's up. Someone, somewhere, removed the fixed query from E. When the fixed query to E returned "not found," the code in T was written in such a way that failed to distinguish "not found" with "timedout" (because that fixed query should never have been deleted, right?) and thus, T shut down (because it had nothing to query), which in turn shut down S (because it had nothing to send the data to), which in turn meant many people were called ...

Then there was the routing error which caused our network traffic to be three times higher than expected and misrouted UDP replies ...

Error handling and reporting is hard. Maybe not cache invalidation and naming things hard, but hard none-the-less.

[1] Enterprise system here.
Ah the good old days when you were complaining about not patched security issues and machines who haven't been update since... ever.
Yes, I'm sorry about that.
Fenerbahçe+-+Galatasaray+maçını+canlı+izle+20.11.2016
Evolution doesn't have a high or low state, or a linear progression. It's a natural process that is random and responsive to environment changes, not progressing towards an ideal.
I think you're used to the developed world. Here in India, most of the places (except big cities) only get 2G. 3G towers are being laid and will probably be operational in 2-3 years.
I'd check your source, but they don't like my VPN.

>>Access Denied
You don't have permission to access "http://static.e-publishing.af.mil/production/1/afmc/publicat... on this server.
I lived in LA for all my life and have worked at various places including DTLA, West LA (SM, Sawtelle), and even the SFV (Sherman Oaks). But I gotta say working at Venice (right by the beach) was truly an amazing experience. Coming to office with shorts and flip flops is a given, but heading out to the beach while getting some sun in the sands to get some Vitamin D while cooling off your head is pretty much priceless! Venice also has a pretty strong bike culture, which is pretty rare for LA standards, so you see a lot of people bike to work, which is awesome.

And some days, which is pretty much whenever we feel like it, we would just take our laptops and work right on the beach with the sun, with some towels spread out, chilling, swimming, and go for a swim and come back, then go back to work. It made me appreciate just how fun work can be and you don't have to sacrifice quality of your life just because you are working for a startup.

To me, working by the beach is seriously a no brainer, I mean more companies should be doing this! It is really hard to go back to working at an office building outside of it once you've experienced the freedom and lifestyle of being by the beach. Also, there is a big difference working close to the beach (like SM) and actually being ON the beach (Venice). I'll take the latter any day.
> Only log actionable items

Easy to say but much harder to implement. For example, if you communicate with another service, a few network errors are usually not actionable and you'd have some fallback mechanism in you code. But tons of network errors (e.g. > 20%) is a problem that needs to be fixed now. So would you log the network error or not?
I've hired about 10 folks via HN in the past years (not going to share names for obvious reasons). The average quality is really good, better than any other 'channel' i've used.
7 Βασικά Λάθη Στην Κατασκευή Ιστοσελίδων – PMAR.GR WEB DESIGN SEO MAGAZINE
The other editors don't have modes in the same way the emacs does though. What I find frustrating is if your in the package manager mode for example, then your keybindings break.

Spacemacs improves this for some modes, but it still won't allow custom bindings in any/most of them.
Catching exceptions to throw exceptions with better messages is something I would stronly suggest

Also not every user in the world understand English.

I catch exceptions in two levels. One is the user initiated action. I seldom see this specified, but it seems obvious to me: if the user decides to do X, either X is done or a clear and meaningful message is shown, explaining what and why could not be done.

There is another finer grained location to do what you say (collecting details), logging and then re-raising up to the other level.

Swallowing errors is evil and no, not limited to C code.
Average household taxes by state
For point nr 4, at our company we tracked how many bugs that were fixed, came back afterwards (project with 80 developers for more than a decade old code base). We saw it's very rare that the same bug (after the fix) will pop up twice, and therefore decided not to add or write regression tests on them, and focus our testing efforts where it mattered more.
It's not hard to understand, it's just totally irrelevant. Let's say one percent of the people taking a temporary contraceptive (rather than just having a vasectomy) happen to also not care if they are made permanently infertile. Meanwhile, another one percent get this side effect. These aren't going to be the same one percent.

The fact that there may be men in the first group is totally irrelevant to the experience of the second group.
Python 2.x only?
Rules for Writing Safety Critical Code (2006)
Still not more dictatorial than detaining tens of thousands and even freeing thousand of criminals to get some room for the alleged coup plotters, a coup where a couple of hundred young soldiers most of whom didn't even know what was going on, and laying off hundreds of thousands of people from all professions (academia, sport, journalism). At the same time, his army is crushing kurd civilians not only in Turkey, but now in Syria and Iraq.
Who is more like Stalin do you think? Mubarak or Erdogan?
Practicing since a couple of months and I agree with GP 100%.

In broad terms, the mind slowly gets remold in a very beneficial way. It's a bit like standing in a huge, noisy crowd where you couldn't make sense of much things because everything's moving, but with such training you slowly gain some distance, like you step back and you see the crowd from slightly above/afar (while still being present) and can notice the general movement as well as (increasingly with time) details, which somehow builds a feedback loop that makes you grow calmer. Everything then trickles down from that.
For me, error handling has a major flaw: stack unwinding - extremely annoying thing to happen when the program state took many many hours to achieve. I don't think there is any language other than CL that allows restarts etc. to be defined; slime-repl too is invaluable when debugging.

http://www.gigamonkeys.com/book/beyond-exception-handling-co...
Just wanted to confirm this. I did it daily for two years, almost 8 years ago, and I'm pretty sure some of the effects stuck.
Does anyone know the baseline rate for mutations for a non-smoker?

Edit: Corrected autocorrect
Alternative viewpoint: http://slatestarcodex.com/2014/07/17/heartmath-considered-in..., "HeartMath Considered Incoherent"

Normally I wouldn't attack something that someone else feels is helping (even placebos can be helpful for some people), but this is the top comment.
The entire incident was a broken arrow incident. The entire weapon was lost, core included. The core is generally believed to have been found in the aircraft wreckage on land, albeit many years later. The bomb, sans core, is still a considered a nuclear device in that anyone finding it could easily use it to advance their own nuke programs.

Had these objects landed anywhere other than one of the most rugged places in all Canada, armies would have descended to retrieve every scrap.
– tie all of our products together, so we further lock customers into our ecosystem

This is why i never used Apple. At least i can use Android with pretty much everything. And don't get me started about stuff like iTunes for Windows...

Also: Apple TV 2- David Moody, Jeff Robbin
– Strategy: stay in the living room game and make a great “must have” accessory for iOS devices

I think Chromecast pretty much nailed it.

On the rest, i'm pretty much impressed how simple he outlined it all.
Ask HN: Lessons you wish you knew when you were Junior developer?
I was wondering do you have some recommendation that would help along the learning path of Junior to become very good at what one does?
I primarily do web dev work and I've been diving deep into React Native recently and have worked with Ionic for a little bit. What I find with these hybrid frameworks is that they aren't perfect.

I love React Native. I think it's an incredible piece of technology and the level of accessibility and empowerment it gives web developers to venture into the realm of mobile development is a great thing. But at the same time, there are so many things that React Native cannot take advantage of -- at least, not at the Facebook-developed level (remember, Facebook's RN team is going to focus in on the parts of the framework that they can get the most value out of internally).

You're going to miss a lot of things that you would normally take for granted in real native iOS and Android development such as a Camera module (yes, I know!) and OpenGL. There are third party libraries that support these things, but your tradeoff here is that you are going to either become dependent on the maintainers' ability to fix bugs and introduce new features or (if your app becomes the biggest consumer of those libraries) you will become the lead maintainer.

RN is still great for letting web developers add components to an existing Swift/Obj-C/Java codebase and I really enjoy using it. However, I think the maintenance and dependency costs of building a larger-scale RN-first app might not be the best idea

Regarding Ionic/Phonegap/Other "Write once, run anywhere" frameworks: I feel this is a large UX tradeoff and would never make it. Things don't feel smooth when emulated. I would never use one of these types of frameworks for production purposes.
It depends on what kind of error it is. If it is an off by one error, there isn't much you can do to test it, but if it is an input edge case you didn't handle correctly, then a test make a lot of sense, if for nothing else to verify the fix.
Is drug testing always legal in the US? Can drug use on weekends get you fired for any job?

I lived in several European countries, and as far as I know there's no way an employer can force you to take a drug test, with the exception of people handling heavy machinery. If you are on drugs while you're at your job this will of course have consequences, but a drug test that would reveal drug use in your free time is nothing the employer should be allowed to do or even care about.

As an example, the rules in the UK clearly say that you need consent and that it has to be required by the nature of the job, which should exclude most (if not all) office jobs. [1]

[1] https://www.gov.uk/monitoring-work-workers-rights/drug-testi...
If mutation is the engine of evolution, an increase in mutation should mean an increase in the speed of evolution. Obviously not on the scales we're talking about here, but the premise doesn't seem too unsound, external pressures being equal.
Any strategies to cut? If I don't drink my morning cup, I get bad headaches around the evening and basically stop functioning.
Yeap. That's why you should never have kids, since Future Me might not want them anymore, and will be saddled with that decision from Present Me.
I'm also a big fan of meditation - I believe it changed the way I perceive every day "threats" and allows me to see the roots of any problem I encounter instead of just allowing automatic subconscious defense mechanisms to kick in. That being said, in this study it seems that the experimental group really had a vacation AND meditation, so I'm not surprised they had better results.
There is nothing mundane about error handling, in fact it's one of the hardest things to get right in a programming language (see Rust's error handling saga for instance).

There is no language I know of where error handling is both simple and not overbearing.
Then again, the servers were so poor that, for a long time, the game basically wouldn't function with a connection either.
It's not valid, if you have not entered such an agreement. Hence my previous comment.
Eulogy for the perfect headphones
Both monetary value and voting rights would be useful metrics, since different founders care about different things. Zuckerberg is absolutely obsessed with retaining control of his company, even at a significant cost to his net worth.

On a side note, I was like "wait a second, 2M is now considered a lifestyle business?" but then I remembered that crazy P/E is the norm around here, so a valuation of 2M probably means that the founder subsists on ramen... :(
> Ubuntu, Gnome, KDE, XFCE; they are all high quality desktops.

well... no. Speaking as long-time Linux user who tried all of this and in the end using i3 to avoid constant stream of bugs from DE.
How are you guaranteeing 100% uptime if your service relies on third-party infrastructures?
Shitty third party USB-C adapter throwing off all kinds of RF.
That it was accidental is always bad, but the point is that for men that were already looking into taking the snip, this was actually less invasive and possibly safer.
Jasonette, a proper json based REST client is now Open Source
Deep Learning Improved by DeepMind’s New AI
World's best effort to curb global warming probably won't prevent catastrophe
Steve Jobs on the state of Apple in 1995
Mutations can be beneficial, benign, or harmful. Smoking obviously only really creates the latter two.
sure stand in some radiation then and we'll watch you become evolved
In the UK, specifically in London, you'll be a lot better off contracting and as a consequence when you look for senior engineers you'll have a tough time finding someone perm as most senior people who know their worth will be contracting/consulting.
I know somebody who had that done, he never mentioned any pain. Indeed I thought he said it was a day procedure.

Along the same lines, I know several people who have had knee replacement surgery and they all said it was the most painful thing ever. All of them though, are very happy reaping the benefits of that years later. It was only a few months after saying that if he knew it would hurt that much that he wouldn't have had it done that an 80yr old friend of mine was proudly showing me how he could jump down some steps!
> Since when do we define "operating system" as including libraries for specific online services?

Since apps started relying on Google's proprietary Android components. This problem is apparent on ROMs which do not include GApps (like CyanogenMod by default and - in my case - CopperheadOS); there are plenty of applications which depend on things like Google Play Services (Slack being among them), for example. It's very similar (albeit not quite as severe) as the macOS ecosystem's dependence on a proprietary framework (Cocoa) despite otherwise running on a FOSS platform (Darwin).
"For critical passwords, use split passwords
with dual custody."

Could anyone comment on the practice? Does it mean that I have the first half of password and other guy has the other? We can only log in by combining password? How do we type the password in by not sharing a physical computer?
Ironically, the Federal Government still ends up paying the price despite all of their efforts. I know around 10 top tier programmers who use drugs of some sort, have left of mainstream politics or just don't fit the "government worker" bill, but are no less patriotic and competent people. The loss of these people from the upper echelons of the state tech system is almost palpable. The CIA director was hacked by a bunch of teenagers from Eastern Europe, for Christ's sake!

And then on top of that, even with all the screening they do, they still stop the Snowdens from infiltrating, still can't stop foreign intelligence, still can't get a sysadmin worth their salt to keep our future President's clandestine email server safe from the public's prying eyes!
Huawei Mate 9 phones unveiled after Note 7 meltdown