skysight-inc/HackerNews huggingface dataset:
I despise gradle, but Android Studio is well above the "average" point. And as anecdotal evidence, multiple people I know and work with have switched from iOS to Android or vise versa in just the past few months - they've unanimously preferred Android Studio.

A significant part of that is because XCode has loads of magic incantations that you have to perform when it starts flaking out (which it does much more often). Caches to clear, library files to delete, etc, sometimes one works and sometimes another does and it doesn't help you figure it out. XCode has such a problem with mishandled caches that multiple community tools have sprung up to aggressively delete it, e.g.: https://www.cerebralgardens.com/watchdog (and they're still insufficient! they just address the most common annoyance)
One of the things we used at Blekko was that swap became a 'soft' indicator that something on the system had exceeded its foot print (our machines all had 96GB of RAM so it meant something had too much RAM) and OOM-killer messages in the log was grounds for taking the machine out and rebooting it and looking for a more serious problem (like sometimes things rebooted and had 32GB less RAM).

That said, the article's recommendation was spot on in terms of making a conscious decision on how you want your system to behave when its coming close to running out of memory. Large swap space was originally the way you got those things that were too big to fit in memory to run, and now they are a way to essentially batch process very large data sets.
A first-preimage attack just means you have H(P), find preimage P (where H is SHA1).

If you found preimage P and wanted another document that hashes into it (so, H(P) = H(P')), you'd have to perform a second-preimage attack and brute-force one. An "ideal" hash function is one where the only way to compute a second-preimage is through brute force. Due to the pidgeonhole principle, there will always be a second preimage---it's just whether it's computational feasible to compute it.
Source of your information? Are you saying that over 2.32 billion people don't have access to clean drinking water? That seems way off.

Even though there may 2.32 billion people with smartphones there are large percentages of people who don't even in developed countries. For U.S.in 2015 folks who make less than $30k a year 50%. Folks older than 65 27%. Folks between 50-64 54%. Even if they own a smartphone that doesn't mean that Uber would be accessible to them.

Pew Research Poll from 2015
http://www.pewinternet.org/2015/04/01/chapter-one-a-portrait...
What happens when an AI breaks a patent or copyright based on a high level description of the problem you fed it?
As a followup: what were you paying on Digital Ocean?

(I know it seems like a small deal to talk about $5 or $25 for your main blog with over 1000 monthly visitors, but a lot of people experiment with dozens of little content ideas.)
Do you believe there are any disparities in demographics between the general population and a given field (such as tech)? What demographic do you belong to? How do you think these disparities might affect society as a whole? If there are disparities, what, if anything, do you think should be done to lessen the disparity in demographics?

Edit to add: If you choose to reply, please include attempts at answering all of the questions. Note there's nothing in this comment that assumes that hiring is the appropriate (or only) place something (if anything) should be done. It's easy to dismiss this as only "yes, there are disparities, but it shouldn't be fixed here", or "equal opportunity". That's not the end of the conversation. What does a better solution look like?
Intelij IDEs are not slow because are made with Java, are slow because they have tons of functionality, they are not simple text editors, when you start it, from what I noticed it builds in memory a representation of your entire project so it can help you with intellisense but also with warnings for mistakes,other nice feature is you can set a code convention and it will show you in real time if you did not respect the conventions.2
The IDE is confusing if you are new to it, but I used Eclipse too and is similar, maybe the author should try a text editor instead.
59 links for Y Combinator application and interview advice
> On a laptop to hibernate, which results in zero power consumption vs suspend which will drain the battery in a day or so

Swap is not strictly needed for this:

(it boils down to vm.swappiness=1)

https://wiki.debian.org/Hibernation/Hibernate_Without_Swap_P...
As someone who has to deal a couple of times a year with building and deploying Android and iOS apps, the third-last paragraph is 100% agreeable:

Android is better for testing and distribution but sucks at development (well, that's natural given that everything is written in f..ing Java, I've never seen a Java application that is both complex and fast/resource-saving), and Xcode/Apple is better for development but sucks so much for delivering, even for testing.
Especially when Gmail is not as reliable as we used to think. Gmail DOES loose emails.

http://uladzislau.com/gmail-emails-missing/
That sounds very cool. I noticed a while ago that there are a lot of python libraries specifically for electrical grid simulation. Now I know why :) It's quite fortunate your electricity markets aren't vertically integrated monopolies (and the more monopolistic part i.e. transmission, is run by co-ops). Over here in Oz, on the other hand, our dickhead politicians are trying their hardest to sell off anything that isn't nailed down.
"The big difference between the 2 was men were much less likely to cite culture as a reason for switching jobs."

That makes sense to me. Bad culture is more damaging to people who have bias against them - or just those who "think" there might be bias against them so they leave proactively (even when there is no bias).

As in, most workplaces are not sexist, but the workplaces who are sexist will have more women then men leaving because of culture. Bias in tech is against women, not against men (I would assume it to be opposite in traditionally female fields.)
In Monaco only
I've noticed the same thing, Windows just becomes bizarrely cranky if you disable swap entirely. My solution was to instead leave it on, but limit it to just a couple of megabytes. That seems to avoid the VM subsystem freakouts thus far.
Creepy Teardown Reveals What's Inside a Robot Designed to Spy on Nature
Or, those interested could just use a Swiss/Icelandic email provider.

I'm a fan of KolabNow (fully FOSS, green energy, no US presence, POWER8 servers).
Complete report in .PDF :

http://assets.pewresearch.org/wp-content/uploads/sites/14/20...
Methane is a much worse greenhouse gas than C02 https://blogs.princeton.edu/research/2014/03/26/a-more-poten...
I am a coach for an FTC robotics team of high schoolers. We control the robots with Android phones, so we develop with Android Studio. (This is FTC's recommended tooling, and for all intents and purposes the only option). Teaching high schoolers to work with Android Studio was almost impossible.

1 - The author is right: The WYSIWYG GUI tools are buggy as hell and I have just have the kids dive into the XML - which brings its own set up problems.

2 - The gradle system is hard to configure but once it is right and you check in the configs you don't need to change it.

3 - It basically requires 8GB to run with any reasonable performance. Getting a set of laptops with 8GB for a non-profit is a challenge! Even with 8GB, build and deploy cycle can take 3 - 5 minutes.

4 - I do like the remote debugging. It is essential for debugging a robot with a phone that is driving around on the floor.

Android 2.0 was an improvement, but it is still a challenging environment.

I am a competent programmer who uses IntelliJ at work, so I don't know how other FTC coaches could possibly get a team up and running with Android Studio.
It's a lot more effort than just asking google. The goal behind practical security is to make things expensive, not impossible.
> [Recommended amount of swap] depends on the desired behaviour of the system, but configuring an amount of 20% of the RAM as swap is usually a good idea.

This sounds like good advice compared to the classic "2x RAM" guideline. Back in the HDD era when we already had around 8GB RAM I started wondering how long it would take to actually fill 16GB of swap in terms of raw write speed.

On the other hand SSDs are fast enough that swap might actually make a low-memory system feel faster.

My current Linux laptop has around the same amount of swap as RAM. Am I mistaken in thinking that suspend-to-disk saves RAM contents on the swap partition?
Those who grown up in asian schools would see these as super easy tricks. Not intend to make superiority sound here but just the well-known fact. There was a trend in my high school when math teacher ask to solve (expect elaborate steps clearly) a problem on blackboard. Ones who can make a shortest steps possible is cool. I always love the moment that I can skip 5 steps with a magic line of equation and go straight to the answer. And then the teacher will remember you, not to appreciate but to revenge you with semester exam!

Sorry for being irrelevant.
Is it still Eclipse? Anything Eclipse based is always going to be a clunker.
Watching to see if reverse engineering will pull anything reusable out!
Self-hosted would absolutely fare better in this situation. It's not perfect, but at least you would know you're being investigated. This whole mess is predicated on the fact the government is allowed to request your data from Google without much fanfare because they are technically in possession of it. The DOJ was able to successfully argue that user emails are actually business documents owned by the email provider.

This breaks down when the person they are investigating is also the email provider.
It is very hard to find the right place to straddle the line of interpreting and explaining the sources for your reader, but not sounding condescending. The author, in this case, likely chose a tone she thought would resonate with male engineering managers best, and it's really hard to fault her for that. The author is an engineer after all, not a professional writer, and the article is not less trustworthy because of that.

While I would normally be fast to offer advice to the author on how to improve the tone and resonate with the reader more, in this case, this article is not something which needs to be written in an engaging, interesting way - it is just a collection of data, presented in an accessible manner. It encourages the reader to change their opinion in a Bayesian manner and use the sources, not just blindly follow the author.
How I Saved $60k, Launched in 3 Weeks and Skipped Pre-Seed Funding
Yes, hiring people based on their race/gender creates a perverse framework of incentives. A good example of some of the problems that arise from valuing "diversity" over actual merits is Susan Fowler. Her bosses treated her very badly because she was a woman, by refusing her requests to transfer and giving her bad marks on her performance exams, and the reason they did it was because of their incentive to appear "diverse". I don't mean to excuse their behavior, it was horrible, but maybe things would have been somewhat better if the system didn't reward her bosses for having a woman on their team (and subsequent disincentive for them leaving).
Certainly, but why necessarily at the hiring level? Why is citing the pipeline problem inherently lazy?
(I'm an investor in Fossa)

Open source is ubiquitous, and few seem to have a great handle on what they are using. Excited to see Fossa take a stab at this in a way that is developer-friendly.

Also check out tldrLegal, software licenses in plain english: https://tldrlegal.com.
Do your cousins want to code? Is it good for them to sit in solitude in front of a terminal instead of playing with other kids? Does it help them thrive to spend even more of their childhood staring at a screen than they already will? Will they be happier writing CSS than climbing a tree, or even reading a book or playing an instrument?

Please do not make your cousins learn to code.
This seems reasonable, they have a warrant and the judge seems to have considered the case fully.

I don't get why so many people are advocating a world where the government can't do this. Why should your email hosting provider have the ability to make law enforcement decisions? Why should email be treated differently from something like my bank account or diary? This seems like the optimal outcome.
Reading through the first few comments here, I haven't seen anyone say that they prefer Android Studio over XCode or Visusl Studio.

When I had a choice years ago to go down the Java path or the .Net path, I chose the .Net path partly because of the quality of the development tools. Also I trusted MS to evokve the language more than I trusted Sun and now Oracle.

I launched Android Studio and it still had the "Java stink" to it that all Java based GUIs have.

But XCode and IOS development definitely is a lot more polished experience than Android development.
Currently drones have restrictions from the FAA that would make this fairly difficult. One regulation is that you must fly with line of sight, meaning the pilot or a spotter must see the drone at all times. If you can see the drone you'll probably be able to see the dog. I would say revisit this idea once we have true autonomous drones.
It wasn't, technically, but it was in terms of mainstream availability. Digital Ocean started around the same time as us, for reference. So it cloud VPS was just starting to become the popular option, but it was still far from being the obvious default option.

The other reason we went with hardware that I didn't mention was that we wanted to cram a whole lot (thousands) of node apps onto every server and we figured being on a bare metal setup would be an advantage to optimising that. (In practice: Not really, as it turns out!)
Forgive my ignorance, but it seems a solution to collision worries is to just use two hashing algorithms instead of one. We have two factor authentication for logins, why not the equivalent for hashed things?

Give me the sha1 and md5, rather than one or the other. Am I wrong in thinking even if one or both are broken individually, having both broken for the same data is an order of magnitude more complex?
Chief digital officer steps down from White House over background check
Already so much value from TL;DR informing FOSSA!
The little success i have in life is largely due to this exact model. I have home-built so many big grandiose apps and solved many problems learning them myself. I didn't make any hits, hell i didn't even finish half of them, but i largely solved a lot of problems myself, figuring and learning.

Now (for better or worse) i think i'm at the stage where i need to actually improve and deploy them fully. Learn maintenance, learn upkeep, maybe even learn some minor advertising and metrics.

Self taught experience has been so insanely valuable. Value derived from pain.. but still value.
There is no reason a warrant couldn't request a search of the backups.
Hm, I never realized ghost was non-profit....
You could "self-host" on a cloud server in, say, China, or Russia, or Iran (if they have any hosting services.)

I mean, the governments of those places will probably snoop your emails, but if their contents have nothing to do with them, they won't care. And they have no treaties with the US to force their hand to turn anything over.

Think of your server as Edward Snowden. What country should it hide in, so the US can't legally get to it?
I agree doctors know a lot, but they are human. Most specialize in a narrow subset, and that is the lens through which they will treat you. That's not always a bad thing, but I will respectfully disagree and say that I know more about my own body than a doctor I'm meeting for the first time (i.e. most specialists).

Legalization of drugs, including opiates, has been successful (or at least not disastrous) in many societies. What makes you think it would be a disaster here?

Also, it's a straw man to argue that random people would be opening up doctor's offices. I'm not advocating that we remove the MD from anybody's name.
> Sorry, let me be clear: If an interesting result is published, people will go to the trouble.

That's only true for a definition of "interesting" that is more like the sense most people assign to "astounding" or "groundbreaking", and even then it's not guaranteed, just somewhat probable. If it's both groundbreaking and controversial (in the sense of "immediately implausible to lots of people in the domain, but still managing to draw enough attention that it can't be casually ignored as crackpot"), like, say, cold fusion, sure, there will be people rushing to either duplicate or refute the results. But that's a rather far out extreme circumstance.
This article is about as embarrassing as Android Studio is. Multiple areas are plain incorrect, and zero effort seems to be made to do any kind of investigation or provide any actual information.

Maybe we should stick to only posting techcrunch articles about finance or insider startup news, and find better sources for critiques in development environments.
Exactly the right idea.

More technically, the reason why this is possible is that this is a block cipher. You take the file, and proceed block by block. So if two files are identical except for one block, and those differing blocks generates the same SHA-1, then the whole files will generate the same SHA-1. You can make it look like any pair of documents, but the actual content of the source includes both documents.

This trick works better with some document formats than others. PDF is great. Plain text, not so much.

This trick is absolutely useless unless you control both documents. But if you already control a certificate, then you have no need to try to switch to a fake one
Yeah, I definitely reserve more skepticism for those things she reported second hand, though they certainly still merit examination.
I've known Kevin for a long time -- smart, persistent, and on top of things. Cheering for him and Fossa!
I didn't, but I'm not sure my constitution will withstand setting up a swap partition for a system that could be replaced by make and a trivial HTTP server.
> BMW is heavily invested in current fossil-fuel powered vehicles

isn't BMW behind the proposed european standard for electric vehicle charging?
At first, I though maybe the data examined in the article might have some correlation with organized crime presence in the cities, but then I realized that if I were a professional assassin, I would probably never use a gun unless the client demanded it. I would almost certainly use automobile collisions in preference to almost everything else. And then I realized that most criminals are not clever enough to plan like that, and might just kick down a door, shoot someone, and run away during the emergency response window.

Shooters in Baltimore apparently invest more conscious effort in ensuring their targets are dead than other cities. A 10% higher lethality rate than other cities seems way too high to be explainable by accidental factors.
I recently switched from gmail to ProtonMail. Not self-hosted, but (theoretically) encrypted while at rest using a GPG key derived from my password. Definitely an improvement. If you really want SMTP, as I understand it they have an "SMTP bridge" software that you host yourself that uses ProtonMail as a backend. Seems like a good compromise. You don't have to worry about constant uptime or disk failure, but your data is still fairly well protected.
This man is about to blow up mathematics
You'd have to own the server too, at that point.

If you were a VPS or even a dedicated lease, or shared - I think the fed would be able to pull the same thing.
Besides the gradient background I'm not really seeing it on the ghost site. On the Scale site I see what you're saying. This comment does bring to mind something I heard a while back.

What web developers say to you when they see something you made with bootstrap: "Another bootstrap site."

What everyone else says when they see the same thing: "I didn't know you were good at design."
If OS's stopped doing this at some point, I'd be shocked: this is why having memory and swap is valuable.
>Then build a company if you think its so easy.

If I had a dollar for every time I saw a legitimate complaint about a complex system met with, "Well just reinvent it yourself from the ground up if you're so fucking smart," I'd be a rich man. It is not a constructive suggestion.
What features does Intelli J have that a combination of Visual Studio + Resharper doesn't have to make it so much slower?
> Anyone can open a doctor's office, charge half as much as a real doctor, and recommend whatever drugs they feel like.

Yeah, medical licensing does nothing to prevent that.
Survey Results: Would You Pay $5 to Apply for a Job?

Sixty people responded to the survey, or left definitively “yes” or “no” comments. As the chart above shows, 40% were yes, 53% were no, and the remaining 7% were either mixed or neutral.

The whole article and maybe 100 comments are here: https://medium.com/@mgav/survey-results-would-you-pay-5-to-a...

Thank you so much to all who participated!
Gas peaker plants are storage. Well, half of it anyways. Utilities here in Germany are quietly (because that kind of business works best when not everybody is doing it) ramping up electricity to hydrogen converters everywhere. But not for the 1990ies vision of a full "hydrogen economy" complete with fuel cell cars that don't work and whatnot. They just use them to convert cheap (sometime even negative cost, hence the desire to not inspire too much competition) electricity at peak supply times to hydrogen that they push into the existing gas grid that has a huge storage capacity by itself (think months of national demand). That network is currently carrying mostly natural gas, but it used to carry much higher fractions of hydrogen back in the age of coal gasification. If you can work with natural gas, chances are that you can work with a conservative blend of natural gas and hydrogen with very little extra investment, very much unlike pure hydrogen concepts.

(Also, utilities are building a lot of heat storage capacity, so that their cogeneration plants can be freely dispatched according to electricity demand, with the district heating function completely decoupled, even on the seasonal scale)
Eclipse is free and let's you develop whatever stuff for different platforms. It's slow, yes. But can you use XCode to write some Java servers that has thousands of classes?
Tech has been getting consistently worse in the last 20 years. As far as I know, that is _not_ true of finance or medicine. So we have a unique problem.
One of the requirements for a hash to be cryptographically secure is that all possible values are equally likely. So yes, it is possible (in fact trivial) to construct a hash of the sort you describe, but such a hash would not be cryptographically secure to begin with.
And they can still appeal potentially up to SCOTUS.
The NRA and NRA-backed politicians tend to fight even researching gun deaths, let alone trying to do anything about them. If you know that, then any gap in our knowledge about gun violence stops being surprising.

http://www.businessinsider.com/cdc-nra-kills-gun-violence-re...
That's great to hear.

We're working on making it easier to see what is happening in merge requests. It's the intersection of much of GitLab's power [0]. I see some thing in the issue that might help your case, but I'm also sharing your comment there. If you have more comments, please feel free to leave them in that issue or to me directly.

[0]: https://gitlab.com/gitlab-org/gitlab-ce/issues/25424
Survey Results: Would You Pay $5 to Apply for a Job?