skysight-inc/HackerNews huggingface dataset:
PayPal and eBay will no longer be part of the same group of companies
Just received this email:

Soon, PayPal and eBay will no longer be part of the same group of companies and will operate as unrelated organisations. So we're updating PayPal’s User Agreement, Acceptable Use Policy, and Privacy Policy to continue providing the same great services you’re used to. Although we have updated the Privacy Policy, our focus on protecting your data is not changing. We’re also making other changes to our business practices and policies that aren’t related to the separation. We’ve put details of the changes on our Policy Update page. You can also find this at www.paypal.com/pt by clicking ‘Legal’ at the bottom of the page and then selecting ‘Policy Updates.’
It's a pretty recent development, but have you tried Django 1.8's Conditional Aggregation and Conditional Expression features?

https://docs.djangoproject.com/en/1.8/ref/models/conditional...
* "and is something that I would fight for in every possible way, everywhere I can. :D"

At my last job, fighting about CSS and dev processes sometimes overtook actual coding and design. I'm glad to be free of control-freak colleagues. Smart and nice control-freaks, but control-freaks nonetheless.

<li class='collection-item'>

No matter how you sell it, what you have here is a css tautology. It's a "list item", the element name is right there for all to see and use, including the machine. Yet, the first thing you do is give it a new slightly similar name "collection-item". And then the very next item you do it all again. And then to justify it all, call it "OOCSS" like it rolls off the tongue.

The machine blinks but renders your tautology anyway. The machine has no say in what is the most sensible approach.

On another example, let me say: There's nothing wrong with "#sidebar h3".

A typical house might have a garage at the side. Still part of the house, but different and permanent enough to have its own ID. It has furniture inside, as does the house. But garage furniture serves a different purpose. The point is, #main and #garage are perfectly fine and make a lot of sense. "Skinning" and code re-use can be achieved in different ways using CSS. As long as there's a coherent logical approach, you can have skinning, performance and a maintenance friendly site without ever touching frameworks. The other thing is that repetition of some code is not a problem. We don't need to be OCD about a handful of repeating CSS rules. There is not usually any progression into wild, unruly CSS just because a few repeats are found here and there.

Funny but ugly (and irrelevant) stuff in the smashingmag website HTML code...

<li id="menu-item-2016" class="menu-item menu-item-type-taxonomy menu-item-object-post_tag menu-item-2016 menu-item-techniques">

CSS used "out of the box" is production-ready, and can perform incredibly well in all sorts of environments. CSS grids can be useful, but are not necessary. That's my opinion based on several years working in this area.

If you think "CSS grids gone wrong" isn't a thing, then think again. I'm talking about long term maintenance of the site where the "grid" becomes this "thing that someone installed ages ago that may or may not get the special attention it requires in future". Grids are needy, they have dependencies that may get compromised over time depending who is working on the site and how the design evolves. They have limitations, and they have underlying complexity that works to give the illusion of simplicity. Personally I prefer my illusions in the content, not the code.
Foursquare's Dennis Crowley can't stop believing
As you wish, here's some Coleslaw: Awesome job Microsoft! I'm very curious to see if the larger industry embraces .Net on Linux / FreeBSD as one of the core languages. At some of the big tech companies, Java and C++ are still king, partly because of their OSS echosystem. Would be great to see C#, F# up there with them.
http://www.washingtonpost.com/local/education/decision-in-fr...

You can indulge yourself on more cases here: http://www.freerangekids.com/
<Personal opinion>

The thing is, those "brand new things" are usually not that new & more about fancy marketing than truly new stuff. Any developer with 15+ years of experience will have an easier time learning this stuff because of his experience & deeper knowledge on how it actually works.
Louis Theroux
Why did they shave their heads?
I think the perception is that you learn Windows in your university business school's IT classes and C/Python/Unix/etc. in the computer science department. It goes beyond "eww a Microsoft language" and into "just another b-school pseudoprogrammer who's going to write awful code I'll have to maintain forever". And up until very recently, choosing an MS stack meant voluntarily locking yourself into a single-vendor platform, something that horrifies most Unix hackers. C# isn't alone in this; notice that approximately 0% of F/OSS code in a typical Linux distro is in Objective-C.

I don't claim that's an accurate perception, but I've heard quite a few comments to that effect from this side of the aisle.
Would it be possible to combine the project with Cordova? I don't use PCs or laptops anymore because they are outdated.
Yes! That's beautiful.
imho it's not privilege, but wishful thinking: the snake oil of modern education.
What's My Starbucks Name?
Q&A with Nine Great Programmers (2006)
A subject encyclopedia will have much better pointers, definitely real citations, often annotated citations.

What "serious" purpose does Wikipedia serve, other than being a timely source for things that haven't made it into a subject encyclopedia yet?
Working on it now...
Google Review Policy Is Crap – Google Maps
haha, these are great! i am always surprised when people find things like this.
Ancestry was given that monopoly by their users. Served up to them on a silver platter. Without Ancestry, some other business would have come along as long as the users are so willing to put their work behind a paywall. The core fault lies with the users who are willing to do such.
I'm not proposing that Bitcoin becomes a standard currency for the world economy, just that people might use it as a store of value if Governments tried to ban cash.
No need to guess, the reason why people are uncomfortable with drone strikes is in the title:

"U.S. Is Often Unsure About Who Will Die in Drone Strikes"

If you're a soldier on the ground you have useful heuristics for determining who is an enemy combatant ("are they shooting at me?") that drone operators don't. You also have mechanisms for limiting collateral damage that drone operators don't. Which isn't to say that these tools are employed all the time, but at least they exist, whereas with drones the official strategy for limiting collateral damage is "re-define 'enemy combatant' to mean anyone of military age killed by the drone."
World's most beautiful launch page
Very nice except for those easings.
> I cannot see how US Military leaders should not be tried for their actions in an international court.

War crimes are a final insult of the victor over the vanquished. While the US was not victorious in Vietnam, neither were they defeated by the Vietnamese/USSR.

Don't think that war crime trials are about any sort of justice.
Can't really call 350 bucks cheap. But yeah that's why used and hand me down devices are quite common in our family. (We have like three S3s that were all bought by someone else on contract and given to us free by someone upgrading.)

Moto G is my personal preference though I bump into the limitations of that a lot.
How many people died from the famine? If it's only a tiny fraction of total war deaths, I'm upset but not really sickened.

It's the effects of the accidental contamination that sicken me.
Seems like you ought to be doing a JOIN here, otherwise your're returning completely un-related result sets and crunching them in your app logic. It's usually best to let the DB do the data crunching and just return out what you need.
Web Navigation Transitions
Their assumption is that if you have negative interest rates, people will withdraw money from banks as cash so that percentage will go up.

Switzerland has recently entered this previously uncharted territory. It's leading to weird problems like banks being unable to process the new rates as the programmers assumed the world would never be so insane, and pension funds planning to withdraw their funds from banks and being outright denied access to their own money. There are persistent rumours about some funds thinking about building their own bunkers and storage areas for gold and cash, as they have an obligation to protect their investors funds and the SNB is now effectively confiscating people's pensions.
how is that different from any air strike?
I strongly disagree. In Haskell the compiler helps me think a LOT more than other languages because it's checking more things for me. I don't have to explore things on the whiteboard, I can explore them in code and get very quick feedback about things I might have missed. I have built things in Haskell that I don't think I would have been able to build in other languages. The compiler is your friend, not your enemy. It's like having another developer there to bounce your ideas off of.

EDIT: Bottom line, I think Haskell also works well for people who "see programming as a cybernetic extension of their mind".
But a pilot of a manned aircraft has a limited, possibly zero time to observe the people in question. A pilot of an unmanned aircraft has a much longer time.

"""
“Remotely piloted aircraft pilots may stare at the same piece of ground for days,” said Jean Lin Otto, an epidemiologist who was a co-author of the study. “They witness the carnage. Manned aircraft pilots don’t do that. They get out of there as soon as possible.”
"""
http://www.nytimes.com/2013/02/23/us/drone-pilots-found-to-g...
Jobscan helps you write better resumes
The Developer's Guide to Work-Life Balance
Probably all it means is that some new management fad has come and replaced whatever was the previous fad (six sigma? Lean organizations?).

If you want to a lot of dough, read the books and memorize a few buzzwords, buy a suit and name yourself a consultant.

I doubt anything will actually change below a superficial level, but everybody wants to seem important and the way management does that is by making sweeping changes (we engineers aren't any different, we just want to build impressive and geeking things).
Far from all Americans who fought in Vietnam were honourable. Look to the Kerry quote posted by shoo. The scene in Full Metal Jacket with the helicopter gunner randomly shooting down farmers? An actual even witnessed by a journalist. It may not be the industrialised conveyor-belt-like method of the Holocaust, but there was the same callousness involved.
I've never heard of this problem, and it doesn't look like it's googlable. Screenshot?
On a similar note: anyone know of a tool for generating SQL queries by example?
Has any epidemiological studies been published on Agent Orange in Vietnam?

Birth defects happen even when no one is exposed to Agent Orange. Without a study, you wouldn't be able to determine how many more birth defects happened.
Silicon Valley Gets Ready to Code for Cuba
Evolving from SQL Monkey to BI Pro
thanks for everyone's answers.
Huh, whaddayaknow. Perth. Spacecubed. Neat.

More relevant to the topic; while Alexcason has a fair point in that teachers are already overworked, if TIL's research page is accurate (and I have no reason to suspect it isn't), then it seems like there's a large payoff for the relatively small time investment. Good job!
My brain doesn't understand what you're trying to do either. Why is Roberto/Carlos on every line?
Carter reveals Russians hacked Pentagon networks
It's certainly reasonable to argue that the target inflation baseline is too low but that still doesn't negate the problem that when it falls too low sometimes the ideal monetary policy might be negative interest rates.

You are also right that fiscal policy is an available tool from the proverbial tool belt but most people believe that it can't completely replace monetary policy. It's a fair debate though.
In Chrome these all animate quite choppily.
Functor and Monad are technically not types but type classes (i.e. interface vs an implementing class), hence why simple/naive type aliasing is not enough.
My 10AE has over 110k miles on it and has not blown up yet -- probably has another another 40k on it before it'll be ready for a rebuild.

That's really low. I don't think I've ever bought a car with only 110k miles on it...
I'm mostly depressed that the President only apologizes to the families and promises an investigation when it's American and Italian innocents who were killed. Hundreds of innocent Pakistanis, Afghans, Iraqis, Yemenis, and Somalis have been killed by US drones. And only the worst of those cases has even a mention been made of any review of policy or procedure.

In summary: :(
Speaking of "chip cards" I notice that my banks are stuffing my wallet with contact smart cards, but I haven't seen a single vendor in the U.S. that accepts those. Subway in my area, for instance, has terminals that accept ony contactless cards, and my local Target has gone so far to stuff up the slots for contact cards.
While using a somehow poisonous defoliant against crops and forests is certainly less atrocious than using a certainly lethal Zyklon-B directly against humans, destoying 85% of the crops is also somehow irresponsible.

All wars are bad things, purportedly waged to avoid even worse things. But the Vietnam War had something especially bad about it, probably that same feature that made the US fight for 10 years, ruin the country it tried to protect, and effectively lose the case. One thing I remember from a historical book about that war is a general saying (approximately) "Do you think we will change the entire way our military functions just to win a frigging war?".

This kind of mindset definitely leads to both atrocities and losing. NB: applies to project management in general.
There are performance considerations as well. Using selectors is more performant than raw tags.

https://developer.mozilla.org/en-US/docs/Web/Guide/CSS/Writi...

Using nesting and tags is less performant than classes. So using more classes is better than less.
well i have worked at a worker coop we (collectively) did have over all control but there where still managers.
My point is, you probably can't actually make it better in even the majority of cases. I haven't seen a single site get hijacked scrolling right, yet. Scrolling is for the browser.

And I do see applications in the browser, because I write them. It is really hard to imagine how 3D graphics and virtual reality have anything to do with traditional HTML and browsing habits.
The point of "not safe for work" is for what other people will see on your screen.

And it's not their failing if such important depressing things distract them from getting their work done. It doesn't have to be offensive to be a bad idea to share with people that are trying to be productive.
Both SQL queries and Regex expressions by example would be amazing.
Oracle seems to be the defacto DB at big installations, where SQL Server is common at shops that just want or already have Windows Admins.

The tools SQL Server provides are just GUI'fied versions of cmd line tools available on the other DB's mentioned here... so just saying "it's better because you can click on things" is not really a valid argument.

Not even mentioned above, but IBM's DB2 has a lot of GUI'fied admin tools as well as very robust terminal tools and a huge toolset available in the jtopen library. It's a good choice as well, although not as common in stand-alone installations (you'll encounter it more often bundled with things like as the backing db for AS/400 systems, etc)
BlackBerry Ltd to Continue Acquisitions: Morgan Stanley
How not? It is for me.
I second this; though, to be fair, source maps in AtomShell have been flaky at times when selecting breakpoints with CoffeeScript. I have turned my source mapping off and debug the unminified resultant JavaScript.
Meh :( They're fairly common on the rear ends of taxicabs in a few cities in India as well.
Mozilla disagrees.

https://developer.mozilla.org/en-US/docs/Web/Guide/CSS/Writi...

They explicitly state using css classes is more performant than using tags.

I'd be interested in a CSSPerf(Do they have those?)
Notice: Fuck this court and everything that it stands for
"The important fact to point out is that even knowing this password, sensitive payment information or PII (personally identifiable information) cannot be captured," Verifone said. "What the password allows someone to do is to configure some settings on the terminal; all executables have to be file signed, and it is not possible to enter malware just by knowing passwords."
It would be cool if I could provide an xml file as input, and use the example to generate an xpath query quickly.
Software patents as an idea aren't terrible. It's the implementation which often permits trivial things that aren't new enough, other than the on-a-computer element of them, to earn a patent. I hear the US PTO is underfunded.
https://news.ycombinator.com/item?id=9433033
You do realise that people were criticising US bombing campaigns and assassinations long long before the use of drones?

People talk about drones because the vast majority of "blowing people up" that the US does these days is done with drones. Before drones people complained about conventional bombers or cluster bombs or land mines or carpet bombing or agent orange. In most of these cases the issue wasn't the technology itself, it was the fact that the technology was being used for mass killing of random civilians. If the US was flying drones about just to take pictures of things people would talk about them far less.

I hope that addresses your concerns.
You are right to be skeptical. We've been down this road of lots of promises for new technology before. If there was an problem with the design the company isn't letting us know. Maybe its durability? Torque? repairability?

Reminds me of the "orbital engine" out of australia last century that had some challenges it couldn't overcome. There are lots of other attempts to make different engines.

http://en.wikipedia.org/wiki/Orbital_engine

Alternative engines are always interesting though, and who knows?
Ingenico have a set-up password, too. Once you enter it you can change network settings which could be dangerous in the context of a poorly segmented network.

Given this I am wondering what kinds of settings are available in the Verifone secret menu. Is there anything like IP address, which could facilitate an MITM if an attacker walked up and changed it?
I beg to disagree. As I wrote in another thread, Microsoft has not one but two Platform-as-a-Service offerings:

- Azure Cloud Services (PaaS)

- Azure Websites (PaaS light)

Unfortunately, when I last looked at it four months ago, both of them were quite unattractive, at least for Python hosting.

First of all, they have no support for automatically installing python dependencies, i.e. no support for pip. If you want to install e.g. django-rest-framework, you have to install it locally and then manually copy the installed files to Azure (with FTP, if I remember correctly).

Secondly, they both run Python on a Windows Server running behind the IIS web server. Besides the fact that you will walk along the road less travelled (Django is overwhelmingly deployed on Linux), there is a very concrete limitation: if you want to install binary packages (e.g. PIL or Pillow), you have to manually compile them for Windows (and of course copy them manually to your Azure server). Yuck.

If you want to use Azure, go with their IaaS offering (Azure Virtual Machines) and stay away from their PaaS offerings
Online Arms Race – Mikko Hypponen F-Secure [video]
Obviously you don't have to use any of those features, they won't slow your app down just by being available (maybe a tiny overhead in distributed code size, but meh).

- auto updates : primarily useful for commercial software that isn't "eligible" for, or chooses not to pay to use, commercial app stores. Or other apps that for whatever reason don't meet the criteria for public repositories and don't want the hassle (for the publisher or consumer) of using a private repo.

- Windows installers : same reasoning as above.

- Notifications : I believe its a standardised cross-platform api onto the existing system-specific notification apis, not a new notification system.
I completely disagree that patents protect "the little guy" with the best ideas from those with the most money.

Patents make it illegal to implement ideas. So if you come up with the best ideas, you are the one that is the most restricted by patents.

The notion that the patent system exists to protect inventors is a fairy tale that they used to sell the idea of such a ludicrous system of thought policing. Its origins go back centuries to when the King of England wanted to create a way for his cronies to get rich by monopolizing a certain color of dye that was profitable at the time, IIRC.

And the "all or none" idea is not logical at all to me as well.
Is this legal? I mean: to make fonts with trademarked logos and publish them (regardless if it is offered for free or not).
In an essay collected in The Hall of Uselessness, Simon Leys quotes a Chinese writer's parable from the first half of the 20th Century, about a government afraid of its people that create a massive volume of laws. It had a blank first page, however, which only the initiated knew how to read. The first three entries were "1. Some cases must be treated with special severity. 2. Some cases must be treated with special lenity. 3. This does not apply in all cases." (Quoted from memory.)

What does it say on the blank first page of the Zappos employee manual?
Show HN: Feature voting for GitHub
Patents for software are fine as long as they're complex and specific. But if you file a patent on some generic functionality that is already widly used and then go after users, there is something very wrong with this system.
The people involved have a moral duty to refuse to supply materials to be used in war crimes.
Who says that?

We need software patent reform and sufficient funding and training within the patent office so that patent reviewers can do their job well, not obliteration of the concept. Actually, we need an overhaul and streamlining of the entire framework of legal intellectual property in the US, and in the EU, the situation is even more complex.
In other news, water is wet...
I didn't make a claim, especially that claim. If haskell requires a lot of up front thinking, then it might turn off those who see programming as a cybernetic extension of their mind (using the computer to help you think, vs. thinking to use the computer). I do not know if the premise was true, but was made by the top level post.
I worked at Google and I'm not a fan of the place, but I never felt like it had a strong culture of ageism. That said, I wasn't there for long and I didn't see much. Also, I was in the NYC office and ageism seems to be a California thing. If you had a good manager and team, age didn't seem to matter.

That said, I've only worked in one company that seemed overtly ageist (a piece-of-shit startup where I spent 3 months after Google). Maybe I'm not in-tune enough to see it. The fact that it exists disturbs me, but Google seems pretty good on this issue compared to most California tech companies that make it more obvious.