skysight-inc/HackerNews huggingface dataset:
Congrats on making it 9 years. I've only been doing mobile development for 2 years, and using React Native for most of it. So I have an opinion that may be less biased toward a certain toolset.

I'd compare developing on Android very unfavorably to iOS. All the points the OP made are accurate, in my experience. Every time I needed to dive into Android native code, Layout Inflation, etc, I find it to be a crufty and unpleasant system. And gradle is really a pain to use - tons of edge cases and unhelpful error messages. Add to that, you need to support like ten thousand devices, many of which are running Android 4.4 (which, IIRC, is like three years old) and have a WIDE range of screen sizes.

Compare that to iOS development, and the differences seem obvious and apparent to me.
The numbering is broken when using the manual splitter, see http://imgur.com/a/HcHZd
Sure, but the % of users with 8TB drives—and the connectivity to push that in the first place—would be low enough to still work out favorably for them.
Have you guys tried hardware RAID? I've been a hardware RAID user for about 0.5PB. Then I built a your box from your kit kit and was shocked by the terrible performance of ZFS. About half the speed of my Adaptec builds, and much worse for other loads.
Still, a wide gap from torches and pitchforks.
Russia’s Cold War with Scandinavia
I would add that unless data security is the default, it is ineffective. Moreover, it's demonstrably false that data security is hard on usability. Skype became popular because easy-to-use data security made it possible to build a p2p communications product. Most users didn't know or care they were using encrypted communications.
You can use J2V8 to use V8 for now too:

https://github.com/eclipsesource/J2V8

I prefer it's very cut and dry boundaries between Java and JS to Nashorn which tries to help by bridging Java into JS (but complicates both in the process)
How the Gif won the internet
And to top it all off, they demanded a protection fee in cash and goods (the device) in order to stop the illegal hacking.
Right on :)
Is this already in production? Because until a few months ago, Asana's network performance was crap. Now it's just mildly bad, but the UI has become almost unusably slow.
Unless you're planning to move to a different house just to avoid a payment, they probably know where to find it.
Facebook’s GraphQL spec doesn’t grant a patent license
That's an explanation of how this is happening, not an argument that it should happen. What governments do is not some mysterious black-box that we can't influence.
I'd mostly agree, but the one massive pain point I have with Apple (iOS) development is automatability. You seem to need manual steps in the XCode GUI for everything, or at least if you don't, it's not well documented or generally known by the community how to set things up without manual UI steps.

Android's mess of Java cruft may be overkill, but it's at least well-documented text-file-configurable and can 100% be maintained without ever installing Studio.
IMO they are more important, because the OP learns more, and you acquire part of the experience without investing as much time.
This is already in production for most views. Can you elaborate on your issues?
Here's one that might help for Objective C: https://medium.com/@danstepanov/your-first-ios-app-100-progr...

Alternatively this is the same tutorial using Swift: https://medium.com/@danstepanov/your-first-ios-app-100-progr...

Sadly the images in those articles don't have alt tags, but the images are well described by the surrounding text.

Googling "build iOS views programmatically no storyboard" should bring up some more resources. The rest of iOS development will be normal/consistent with other tutorials--the only thing that's different is learning to describe the view itself in code.
Android and iOS compete in the same ecosystem. It's extremely relevant, in my opinion, to compare and contrast their offerings. The release of a new product, library, or feature is an excellent time especially because of the freshness and potential additional relevance.

And I was talking about the product. ARcore is a single example of the larger, broader problems I "complained" about.
Reflections on Trusting Trust (1984)
> "The reason for optimizing the math.Atan2 function is because my current work involves performing some math calculations. And the math.Atan2 call was in the hot path. "

He should take a look at:

a) the range of x which will be used for atan2(x)

b) the level of precision he really needs

There is a chance he could get away with precomputing an atan2(x) table in memory and then just reading the values off the table.

Quick as lightning, and an old trick, probably invented in the 1950s!!

EDIT: I see i am potentially wrong, due to slower DRAM access compared to some built-in FP instructions...
I'm not sure what's unappealing about targeting users that can afford to always have the latest and greatest. That's effectively exactly what you're doing if you choose to Target iOS over Android.
If you are not blocking cookies and javascript then you are an intertoob noob.
Looks like they don't! Must be a different retargeting technique used by Amazon. FB Pixel could have also been on manufacturer's site.
> My hope is that technologists also get involved in the political process — in government, in think-tanks, universities, and so on.

How does one do this? What might Bruce Schneier be thinking of that the EFF, Liberty, Privacy International, etc... are currently not doing?

In some sense, it seems like this might be solved "generationally", once the majority of elected representatives are "natively" computer-literate. Based on the average age of politicians, that might take 30-40 years.
We don't do account-wide deduplication, but we do deduplicate on the machine before backing up.
I love how, in a thread about the uncertainty of internet privacy, you're here slinging praises to a walled garden service that owns all of your chats. Another walled garden interested in collecting information and slinging adds to pay back VC funds is the last thing the internet needs and the fact that it's so successful is a better indicator than anything else that the consumer doesn't care a lick about privacy.
This is either a sign we've reached peak cryptobubble or a smart way to invest in beef futures. Who can even tell anymore?
Seriously. I also don't like that every comment is a new post so if you look at your posts every comment you've ever written shows up as a post.
I think this has a lot to do with how OOP is taught. At uni, on the same semester we were introduced to C++ with classes, OOP, UML, and design patterns. This of course creates in the mind an association between all of these things -- a feel of 'if I'm doing OOP then I should also use these patterns'.

The thing is, during the class we understood what the patterns were. However, since the actual programming project was comparatively small we didn't actually understand what a need for following these patters looks like. We didn't see a case where the simple way just didn't cut it, we were simply told to use them because they are good. The effect of this is that, unless someone with experience then comes and mentors you, you will overengineer all of your solutions because you don't know any better. We were taught the patterns but didn't understand the reasons. And I suspect many other engineers have had similar experiences
Elasticsearch is a cool search engine and really excels at some workloads that mostly fall into the realm of analytics and search, but it has its own set of very strict limitations (for example it sucks at updates, cannot do proper joins,...) which make it of limited suitability as a general purpose data store.
so what is the right application for mongodb? only when you don't need ACID? Can you give some example?

Genuinely curious
And? Without fail, whenever there is a post about Android on HN there'll be someone who miserably regales their tourist experience with Android. But that has zero professional relevance to anyone doing anything with any intention or focus at all. Actually it's worse than zero relevance, and is simply misleading noise.

Somehow many of us manage quite fine, and enjoy the experience.

In every other realm that sort of drive-by shooting gets rightly criticized. "Tried Rust -- => everywhere. Lame". "Tried vi. Couldn't quit. Garbage."
One could say, that shutting down containment sites will be extremely painful.
A few reasons come to mind: battery life, portability, and being able to easily upscale/downscale.
Surveillance? If the government doesn't monitor us directly they will just go after all the products and services that we use that monitors us already. I dont even think Im being pessimistic here but the line in the sand for legitimate privacy was drawn about a decade ago and we crossed that line. I really think this is the new norm, it's like asking us to use on-prem hardware instead of AWS, sure it's still an option but hardly anyone cares where the hardware is... This is just how it is now.
Sayman 21-year-old-wunderkind becomes product manager for Google assistant
Seagate's recent history shows they haven't been great at producing reliable drives:

https://www.backblaze.com/blog/wp-content/uploads/2017/01/Al...

Notice the rows where the number of failures is higher than the number of drives. That means the replacements failed too.

Edit: the 3TB Seagate is apparently infamous enough to have its own Wiki page: https://en.wikipedia.org/wiki/ST3000DM001

Only the "large" Seagates (6TB and above) seem to be doing OK.
PSA: Death is coming. You are going to die. Your parents are going to die. Your kids are going to die. Everyone you know is going to die.

Are there things which you can do to reduce your risk of dying earlier than the average person born at the same time as you? Sure.

Are there things which you can do to definitely prolong your life? No.

Death is a statistics game and 1 out of every 1 people will die at some point in their life.

I don't begrudge anyone their interest in dietary/health news, but articles like this get tossed about as justifications for making huge swings in your diet or telling others to do the same. Whenever I see things like this, it strikes me the same as an article like "The next iphone will use transparent, flexible, waterproof plastic".

Like engineering, your diet involves making tradeoffs about the food you input into your body, optimizing for a desired result (in terms of longevity of life, physical capability while alive, enjoyment of food you are eating, scarcity of resources, environmental impact, cruelty to animals - perceived or otherwise, etc.). Also like engineering, there are hard constraints which hem in the possible solution space. Pick your desired result, and make the tradeoffs you want, just don't forget the hard constraint that death is coming, my friends.

Anecdotally, this might be more on-my-mind than usual because my 66-year-old uncle, who eats fish, fresh fruit and vegetables, and jogs every day, collapsed this weekend from a heart attack and is now in the hospital in a coma. I would have said the above regardless, but it's a rather poignant reminder for me at the moment.
This is the crux of the whole privacy issue for me.

I understand there is way too much money in advertising, and therefore data collection, to ever go away. What I want in an ideal world is transparency. If I opt-in to using web services that collect + sell my browsing data, I want to know what data is collected, how much, and who it is sold to and for what. Then I can make an informed decision about the services I'm utilizing and if I think they are handling data responsibly.

As far as I'm concerned, targeted ads are fine. If you're going to berate me with visual pollution for crap I don't need, at least let it be somewhat relevant to my life. What I don't want is "targeted information", "curation", or any other buzz word that describes showing me filtered content based on an algorithm. Of course that is already happening, but it could be much, much worse.
One reason that Backblaze is so cheap and B2 is much cheaper than Amazon is that they don't have multiple data centers. That means two things: you don't have the fault tolerance you have at Amazon:

If their building catches fire, you're SOL.

The second consequence is that yiu can't choose a data center that is geographically close to you.

That makes B2 unsuitable for off site primary storage for critical data and I wouldn't use it for more than a backup.

That being said, I'm a happy backblaze customer and if I ever get a NAS, I would definitely use B2 as the backend for my backup solution.
I can't speak for the parent, but there was a time around 2011 when I was pretty excited that MongoDB would let me just start coding without needing to 1) configure postgres's listening port and pg_hba.conf to allow easy local access, and 2) churn through a dozen or so revisions to the schema without having to set up a system for running migration scripts.

I really think a lot of Mongo's success came from that "It just works" experience the first time people tried it.

I later came to see it as a bad tradeoff. Open, unauthenticated access by default created more costs in security than it saved in early prototyping. Automating the creation of my dev environment made it not such a big deal to make Postgres configured right when it booted. And once I'd gotten a SQL migration system that I liked, I just kept re-using it. These things took some time for me to develop and learn, though.
From the article: "One of the best parts about the fully cloudy/Chrome OS requirement is this means that from the user perspective everything is always in sync. I log off the computer at home, come to work, log on and its like I’m on the same computer." So using a single computer wouldn't provide that, unless you took it with you which the author would apparently prefer not to do.
Please first define "happy"? Is it bursting with joy to step foot in the door everyday? Yes, I step feet in an out various times throughout the doors in the office and I am happy to peel my eyes off of the computer screen.
Ah ok, so this makes it easier to integrate react into the view layer for a traditional java mvc application is that right?
Maybe, if the alkaline diet reduces acidity of the brain. However, if the acidity is the result of increased energy production or a failure of the cleaning mechanisms of the brain (as one of the study authors suggests), then the alkaline diet might not be sufficient to reduce brain acidity.

Further, we don't know whether acidity is the cause or the result of the disease. If it is a result of the disease, then reducing acidity may not affect symptoms of schizophrenia, much as eliminating beta amyloid does not guarantee a reduction in symptoms of Alzheimer's
> This is work not dating, how about clear written statements instead of cues? :)

I think you're really underestimating the value of direct person-to-person communication, and how much it can help - especially if one of the team members isn't as good as written communications as you are.

It's also very helpful when multiple people need to discuss something - there's a lot less dead air, since we can typically speak faster than we can type. If I bring something up, and Bob has a comment on it, he can very obviously indicate that he's about to speak ,and then do so - instead of starting to type out a reasonably long reply only to get interrupted, or for me to wonder whether anyone's replying at all.

Written works great in something like email, but for relatively quick discussions, face-to-(virtual?)-face is still excellent.
NASA's Curiosity Rover spots wispy clouds in Martian skies
FWIW Bay Area public high schools are ranked some of the best in the nation.
Typical google bs. Why not S7? It runs almost identical CPU/GPU as pixel. And it runs 7.0. DoA.
I type a sentence into the UI and it takes about 30 seconds for the text to appear, one character at a time. If I click anywhere else before the text has finished displaying, the text input continues from there, resulting in bizarre fragmentation.

Scrolling jumps under my mouse. It sometimes takes 3 or more tries for the UI to register that I've gripped a handle to drag a list item to a different location in the list.

This is in the latest Safari on a recent Mac laptop on a symmetric 50mbps connection.
The first study you cite involves an examination of “ecstasy” users, which makes it fairly useless since pill producers can put anything they want in what is sold as “ecstasy pills”, including known neurotoxins (e.g. methamphetamine).

We won’t really have proper evidence on the neurotoxicity of MDMA unless we can study people whom we know actually ingested MDMA - rather than MDA, speed, 2-CB etc.

Furthermore, neurotoxicity is not inherent to any substance, since it must depend on dosage (I know no substance which is toxic when a single molecule is ingested). Dosage must be a parameter, or the study makes no sense — ingesting 100 grams of table salt will kill you, but we don’t call salt “toxic” because of this.
That's very hard to believe. Is this 100% anecdotal or are there studies?
> It is a mistake to think there is no opportunity just because someone told you there are always smarter more observant people profiting off the opportunity.

I agree - I'm not denying that there are ever opportunities for arbitrage, I'm merely asserting that there isn't going to be an alt out that there is "significantly" more profitable to mine than Bitcoin itself.
Eh, they've both got their pros and cons.

iOS:

+ Swift

+ Less screen sizes to worry about

+ Less iOS versions to worry about

+ XCode is much lighter on resources

- Mac only

- XCode might crash every now and then

- Probably need an iOS device, as the simulator is very slow

- $100/yr developer fee

Android:

+ Kotlin

+ Studio runs everywhere

+ No developer fee

+ More stable IDE

+ Decent emulation

- Countless screen sizes to worry about

- Lots of Android versions to worry about

- $25 developer account fee

- Android Studio is resource heavy

- NDK requires lots of JNI boilerplate

Though, with all of this AR stuff, I'd just go the Unity/Unreal route, as it will probably be very game-y and such.
I don't think this is the case for these devices. They have to be installed on a wide variety of cheap low end used cars. That's the model...mark up shitty used cars to lease to those with lousy credit. To work across that wide variety of makes and models, you need a cheap generic device.

There's also probably little overlap between people skilled enough to remove one and people that would buy a car this way.

Edit: here's one of them: http://www.calamp.com/products/fleet-tracking-units/lmu-200. It does have a way to inline the obdii port, but that is likely read only for various data collection. These devices are sold to fleet owners as well. I doubt the sleazy lease operators bother hooking up that part...just the gps and ignition lockout.

You may be thinking of the factory immobilizers integrated with the key fobs. Those used to be hackable if you didn't want to pay the high dealer price for replacement keys, but they mostly aren't anymore.
Jam Handy is under-appreciated in my opinion [0]. I wonder how videos like this would be received today.

0. https://en.wikipedia.org/wiki/Jam_Handy
Curiosity rover watches clouds on Mars
Introducing IRL: An Original Podcast from Mozilla
Thanks for letting us know. That sounds like an exceptional case from our metrics. Would you be willing to share your Asana user ID so we could learn more?
if only elixir phoenix supported it :(
Show HN: Production-Ready Node Server with React Hot Loader
Ask HN: Programming is mentally overwhelming to me now. What to do?
When I was 23, I used to be totally comfortable cranking out Javascript UIs like there was no tomorrow. These days I'm approaching 33 and I can barely force myself to look at code for more than 20 seconds without mentally panicking.

I don't know how I got here. I think it's a combination of many things, such as 1) a demanding family life 2) web development getting more complex in general 3) more stressful work environment 4) physical discomfort like RSI getting worse 5) just getting older & brain getting foggier.

I don't think learning in my off hours is an option because my day job is so mentally draining. It takes all of my brainpower just to work from 9 to 5, and then I have nothing left over after that.

I am talking to my manager about reducing my responsibilities but really I've been feeling this way for over a year, just trying to hang in there. But it's only getting worse as the months go by.
The battery life on my Chromebook jumped from 10 hours to 15 hours when I replaced ChromeOS with Linux. Trading all of that Javascript for C makes a huge difference on battery life.
I like reading your darkly pessimistic perspective on the issue as I think a huge component to the problem is the fact that so many aren't pessimistic enough about technological development.

Everyone seems to think that, prima facie, or even de facto:

technological progress == good.

But there is nothing that guarantees that's the case.

A shiny new device or service launches and everyone is gung ho to jump on it--never mind questioning its negative impacts--what is the environmental and economic impact of this service (e.g. cryptocurrencies consuming electricity, a 'material' resource, and producing nothing but a representation--e.g. consumption of material with no production), who does the service marginalize, how does it propagate further cultural and global divisions...the list goes on

No one ever stops to ask these questions--or those who do are not nearly loud enough. We seem to follow a policy of progress by all means until we've developed our way into a future in which the continued subsistence of humanity (at least on earth) is untenable.
The First Two-Women Co-Founded Startup Out of Y Combinator (on Being Acquired)
> but this is an example of why it's generally useless to try to resort to assembly to beat a compiler unless you're an expert at assembly.

Yes I realized ! Expert ? Not even close. I barely know a thing or two in assembly. The fact that I even managed to make it run amazes me.

This was my first time venturing into the assembly land. It was just something which I wanted to give a shot and hopefully learn something at the end of the day, which I did.

The 2 optimizations that you are talking about - I am totally clueless about them :) It's totally possible that if whatever you are saying is done, we may see better gains. Hopefully, some good samaritan who is better at this than me will be willing to give this a shot and see where it gets us.
The referenced article doesn't have any figures on crime. A news article from 2017 [1] claims the opposite (refugees commit disproportionately more crime), but adds that just 1 per cent of migrants account for 40 per cent of migrant crimes. [2] has a lot more detailed stats and supports the claim that there are disproportionate increases in crime associated with refugees.

[1] - http://www.telegraph.co.uk/news/2017/04/25/migrant-crime-ger...

[2] - https://papers.ssrn.com/sol3/papers.cfm?abstract_id=2903116
Android Studio/IntelliJ may be excellent to you, and I'd agree the IDE is better than XCode as far as slinging code into an editor is concerned. However the Android development system isn't just the IDE: it's the build process, integration with debugging tools, and the APIs. Java doesn't have to be a bloated mess of over-engineered cruft. I've seen wonderful, clean Java. Android development is the opposite of that.

Kotlin may be great. I haven't used it much, but so far I'm finding it can't hide Android's bloated, over-engineered substructure.
If I was Google I would just remember I served add for website for account x but the number on the click was for account y. Real easy to detect.