skysight-inc/HackerNews huggingface dataset:
I've seen people suggest enums, strings, and named parameters. I'm surprised that nobody seems to have mentioned binary flags, because sometimes they work really well.

/* caller */
doSomething (arg1, arg2, XYZ_SYNC);

/* platform 1 */
#define XYZ_SYNC 0
#define XYZ_ASYNC 0x01

/* platform 2 */
#define XYZ_SYNC 0x01
#define XYZ_ASYNC 0

For extra credit, you can define flags so that one or the other must be specified, so both can't be, etc. Then you can still pack multiple flags into a single parameter, to reduce argument-passing time and space. I know it's all old-school and everything, but it has worked well for a lot of people over the years.
I work in the education system and the primary reason there's been a lot of push for women in tech is due to the negativity around technology / computers. Girl enjoy the use of technology, but they would never pursue it as a career since it's not the "cool" thing to do. You get labeled as a geek, a nerd, etc. You basically become an outsider. When you're young, it's all about reputation. This is why people are trying to get girls interested in technology at an early age and change their mindset.
Well they don't check them when you submit them as they don't have all the information at the same time you do. Your W2 by law must be sent to you by the end of January I believe, however delivery to the IRS is not required by the same date.

As such fraud creeps in.

You pay Inuit because there are nearly eighty thousand pages of tax law that even IRS workers cannot properly comprehend all because politicians use the IRS as a political tool to benefit those they like and punish those they don't.

Hence why any attempt to overhaul the tax process is quickly denounced by supposed neutral groups; groups at the beck and call of powerful political interest. There is an entire FUD industry built to keep the current system to benefit of the political class and those well off enough to pay them.
How to Create Traffic-Driven Display Ad Campaigns That Convert Every Time
If you ignore half the adult population. Universal adult suffrage is about a century old. The US was an early adopter, but not the first.
Cloud File Manager Responsive Design Update
OpenBSD now has ASLR for static executables. There was some discussion of it on #musl so it might happen.
Can't you just file separately?
> As an non-american this baffles me.
Why is there so much distrust towards the government, police, and military in US ? Isn't the US the oldest democracy ?

I don't think you speak on behalf on all non-Americans. As an Eastern European, I can perfectly understand mistrust of government and police (and I think people from many other countries can share these feelings).
Great piece of work. Four years later and many pubs must have closed...in the UK at least it has been that around 30-50 pubs closing every week.

Perhaps there would be more alternative routes across Dublin today?
Remote Kernel Code Execution Via HTTP Request In IIS On Windows
Yes! Lots of interesting ideas - and some thinly veiled and extremely acerbic criticism of Google et al. - in that book. It's a quick read, and certainly not Eggers' best or most important work, but I think it'd definitely be of interest to many here.
> Then Intuit mobilized against ReadyReturn, hiring lobbyists to oppose the effort in the capital and financing candidates who pledged to overturn it.

> “People in other states who had been interested in it started saying, ‘We just don’t want to pick a fight with Intuit.’  ”

Excuse me for not understanding US politics, but.. How is this not considered blatant corruption?
if children could vote, the world would be too fun to handle.
I've found glucose is almost the opposite of willpower. If I do physical activity while there's sugar in my system, I feel unmotivated and sluggish.
I love this article. It had to be said. Some may say: Its not the guns that are dangerous, but the people using them. Thats wrong, guns themselves are dangerous, because they make it easy to kill people.
Essential Travel Gear for Developers
>You realize that most engineers do have a college degree right? You realize that most engineers are not dumb script kiddies who went through 10 PHP tutorials to learn how to code?

This doesn't match the dialogue I see here and other places about college graduates and/or job candidates who can't fizzbuzz or have no other skills required in the industry. Although I think it would be nice if we simultaneously had a steady supply of skilled engineers, constantly increasing salaries, and constantly increasing demand.
> I suspect it's by being wildly successful for a while and believing that you can translate that success in to a market that you can monetize

Not only that but in Foursquare leadership's case it was a matter of being wildly successful two times. Dennis had already sold the first version of Foursquare to Google.
> I wonder if you could make something like Afl-fuzz but point it at your test cases, until it brute-forces some code that makes all your tests pass :) You can throw the syntax of all the modules it should be using at it.

AIUI prolog kind of works like that. You give it what it can use and what it needs to produce, and it'll fill in the implementation.

(In practice it's slow as hell and figuring out how to tell it the information in the "right" way so that it can "figure out" the proper implementation is a black art.)
> Why is there so much distrust towards the government, police, and military in US ? Isn't the US the oldest democracy ?

The US became a democracy in no small part because there was so much distrust towards the government, police and military right there at the get-go... and the distrust of the system that is built into the system (the whole three-branch, checks-and-balances system) is one of the reasons it has never veered off into a deranged dictatorship like, say, ancient Rome.

(I mean, the power and longevity of the FDR administration was pretty insane -- probably the closest we got to that -- but nothing like Julius Caesar).
I was about to come say this. That sentence is provably false - Foursquare took great pains to launch Swarm first and launched the other app months later. They also did extensive communication at each step of the way.
Not OP nor do I know how they're doing it but you could do this sort of thing with one of the many location tracking apps that have an API access to the data it collects. For example there's the Moves app you could use which provides one

https://dev.moves-app.com/docs/api
Which Way to Go – Agent, Agentless or Hybrid?
The type of pizza you get in Rome is a different variety from Chicago or New York styles (not to mention a number of other types). While the basic concept is the same, the execution tends to be very different, and you can find excellent examples of each of them.

Now, if you'll excuse me, I have to go dream of a great Chicago pizza pie... Something I doubt will ever be seen in Norway.
Oh you're right! I was reading off a tiny screen and evidently misread - sorry rjbwork!
The first time I went into Subway in Australia they asked me "what salads" I wanted. I thought they were asking me if I wanted a salad. They were asking me what I wanted on it! I told my friends and they wanted to know what they say in America if not "what salads", and I said "they just say what do you want on it", and they thought that was pretty funny.
Is it so that employers don't subtract your taxes in the US? How does that work? Do you get one big invoices in the mail for a year of tax?

Here in Norway one normally pays around 45% of one's salary in tax. The employer has to subtract the money from your pay directly. Because no one sees the money before it goes to the government, many people don't really think much about it. If that on the other hand got one big bill at the end of the year I think there would have a lot more outcry on all the waste of taxpayers’ money that is going on.
I graduated from Florida State University on the cheap a decade ago and now live in New York City. I don't think it's a bias as much as it's NYC is really up its own ass. If you didn't go to an expensive private college they're aware of they don't care and assume that since they haven't heard of it, it sucks. Which seems true about any subject and New Yorkers.
Were you 'transferred' to the head (or even VP)? Transferring to a colleague pretending to be a supervisor is a common hack support reps use.

If that was the case the chances are this 'cultural norm' might've been limited to two neighbouring support reps going off book.
Intuit is obviously a parasite, but do you have to use their products?
One of the most annoying ones is Thrift. But I just googled it and it seems like they are very close to supporting Python 3. A couple others - mysql-python, fabric, oauth2. These are the ones that are on the wall-of-shame. But I didn't test the entire dependency set.
I've always thought it best to think of the left-right spectrum as a circle.
Can you save money by filling up with gas when it is cold?
Hilarious comment :D
Downvotes are polymorphic. I downvote what needs downvoting. Recognize that some things trigger downvoting because of what someone else did and some things trigger downvoting because of what I might do otherwise, A down vote is better for HN than my passion fueled contrary opinion to something wrong on the internet.
"Having a more diverse team that includes someone with a more emotionally-driven perspective could lead to someone asking the question "Is the way we're manipulating user behavior actually ethical?" [Emphasis added]

Geez, I really hope that that was just an unfortunate turn of
phrase. You can't possibly mean that non-(white-males) have a quote "more emotionally-driven perspective", do you?
Great! So they're they losing less money?
> Perhaps not so impressive now

These days you could do one with the rule that you're not allowed to use the internet for your day to day life (e.g. Still use it for work, still use it to update your online diary for the challenge)
>>So ignore the haters and just get things done, I guess.

Not sure if you're implying I'm a hater here or not, but being charitable I'll assume not.

>> It is time for us to stop living in the past and start moving to the future.

The old saw about those who don't know their history and repetition springs to mind. Edit: not imply you don't know the history, as you clearly do, but many don't.
What really baffles me is how others DON'T intrinsically mistrust those in power. Human nature is human nature after all.

NSA revelations, "I'm going to close GITMO", "weapons of mass destruction", "I did not have sexual relations with that women"... This list goes on and on.

Trust is out of the question at this point for many people. The word gullible comes to mind.

For the record, I don't mistrust the government. I think most of it is low level bureaucracy that somewhat functions, (albeit a bit inefficiently), and basically keeps things running. But it is run by people. And historically most people have been lazy, a bit stupid, and corruptible. But there isn't necessarily a pernicious conspiracy. And I would let the government prepare my taxes. As long as they have good software and it isn't a politician doing it.
No, they don't. They don't know how much I paid in sales tax, property tax, or mortgage interest. They don't know how much I donated to various charities. They don't know how much I made from cash jobs. They don't know how much my small side business made or lost. There are a whole slew of variables the IRS doesn't know until I tell them, and that they take my word for until and unless I get audited.
Amazon Acquired Data Migration Startup Amiato
Help.com - http://www.help.com - Austin Texas, System Engineer / Dev Ops

At Help.com, our team of customer service and technology experts is setting out to build the next generation of customer service software. Our goal is to give companies the tools they need to delight their customers at enterprise scale. We want to win the customer service software market by providing companies and their customers with tools that are powerful and simple to use.

At its core, Help.com is a technology company and we are looking for a talented systems/devops engineer who can help keep our application running well. Our ideal candidate loves to automate everything, including rapid deployment, scaling, monitoring, and error handling.

Job details:
https://jobs.lever.co/help.com/84e08abe-957f-4b53-a630-2ed08...
No, I'm not saying that. It's "slow" in comparison with whatever iPhone was out back then, but hardly slow in general. The same as Android is "slow" compared to latest iOS and WP. That argument is silly, sorry. Not to mention the speed was in part due to the low-performance hardware they used. I don't care about "pretty", I care about "functional". It had majority of necessary features built in. It wasn't tainted and nobody wanted it (the 808) because there was virtually no marketing for it and because it was simply unavailable on some major markets. Almost as if they didn't want it to sell.

So no, I don't think those are good reasons for abandoning any OS. Not for power-users anyway. iPhone is better in media consumption, that's it and that's what majority is after. And bandwagons, obviously.
This is a great article that celebrates the best of the U.S. as a "melting pot". So many of these sandwiches are a mishmash of the cultures from all over the world that influenced them.

Also, this article made me pine for a good Jewish deli were I live. I haven't had a proper Reuben in years.
+1. We need to be giving a leg up to the poor Ukrainian kid whose mother is a cleaner rather than giving it to a middle class kid just because the latter is black.

Many SF authoritarians would rather support the latter, even if they don't need help, simply based on skin colour, and a limited life experience that equates 'white' to 'middle class American'.
Yes, you are right, but (as I said in my first reply) we need to look at talents that aren't just the technical skills that industry demands right now. We need to populate tech with people who are good at things that we don't necessarily look for right now - having good philosophers, ethicists, sociologists, teachers, artists, etc would improve our industry immeasurably.

Looking beyond experience and education is vital (but very hard).
And thats why you can do it your self. Forcing everyone to perform a repetitive task which can be easly automated (for 90% of people) is not a sensible default to take.
I just read the article on my actual newspaper but damn seeing it on the web really is a completely different experience: those big, crisp (and colored!) pictures are so much nicer online it made me hungry! This is where their website really shines, imo.
You're right, of course. The problem is that inflationary cosmology did a phenomenally great job of explaining so many things about the universe, with testable and subsequently verified predictions (detailed predictions of patterns in the CMBR IIRC). The only catch is that it predicts the total mass/energy content of the universe to be about 5ish times what we actually observe in the form of matter interacting with electromagnetic force.
Xenophobia in South Africa 2015 (Graphic)
CrossFilter – Fast n-dimensional filtering and grouping of records
I like this a lot -- I love the idea of poring over Ulysses -- but the clicking on the reading page doesn't feel responsive enough for me and I wish annotations were displayed better (I'm used to Genius..)
The US individual tax reporting process is an annual reminder to voters of what they pay in taxes, that cannot be easily ignored. I am sure that fiscally conservative politicians see this as an advantage to their cause, though they are unlikely to publicly say so.
Gary Hudson always inspired me as an entrepreneur who would not give up. My brother finished his last year of law school remotely so he could join Hudson in Claifornia. I started my first consulting company while still in college to do structural analysis on Hudson's Percheron Rocket.
too much verbose.

I prefer python approach, where you can set "optionally named" and "kwarg only" parameters" on a per function basis.

For a description, see https://www.python.org/dev/peps/pep-3102/
I am a white guy living in the rural Japan. I can tell you lots of stories of other expat white people accusing me of being a "Japan-o-phile" (apparently a bad thing) because I adopted a Japanese way of life. People have often warned me that "they [the Japanese people] will never accept you" and "you know you will never be Japanese". I get far more racism from these expats who feel betrayed that I have happily integrated into Japanese society than I ever have from Japanese people.

Racism exists everywhere. Living in Japan has been the first place where I've lived as a visible minority and it has been an eye opener. Being obviously different is hard in many ways. There are people who stare at you, or people who wonder if/how you are different from them. There are people who are afraid of you for no reason other than you are different. Very occasionally there are people who are abusive and rude, but most of the time it is mostly a mixture of ignorance and curiosity (and maybe a little bit of fear of the unknown thrown in).

It can be quite a problem for some people. Many people take offence at practically anything and can't let anything slide. They feel it is morally wrong not to take a stand about being treated differently. They feel you are morally wrong if you happily agree to be treated differently.

For me, probably like a lot of people who read HN, I have always been different. I have never fit in anywhere. Even though I was visibly the same as everyone, my way of thinking, my religious beliefs, my values have always been different from the norm. I suffered greatly in countries where everyone assumed that I was the same as them. As a visible minority, I am free to be different. It makes me happy even if sometimes it causes problems.

"Expats in Japan frequently question why I would live in rural Japan with people who don't look [and by extension, think] like me", would be a true statement for me. In my opinion this is likely true of any visible minority population anywhere. It definitely hurts me and I suspect it hurts the author as well, which is probably why he wrote about it in that way.
Downvotes are an efficient way of saying "I think you are wrong" and often that's all I really want to say. Bad two sided conversations are worse than bad one sided conversations.
Most taxpayers don't have enough deductions to itemize, cash jobs, or side business income. You'd still have the option to file a return if there's additional income or deductions the IRS doesn't know about.

Also, I believe mortgage interest is reported to the IRS.
That's how genetic programming could work; with a suitable test suite you should be able to evolve an implementation. See FINCH for some early work on GP for Java [1].

[1] : http://finch.cs.bgu.ac.il/pubs/gptp.pdf
I don't quite understand how someone with the username 1971genocide could possibly trust the government. But I guess operation searchlight was a minor thing - after all, official government statistics say only 26,000 people were killed.
Rome is much smaller than the cities you mentioned.
So you're saying the only way to walk across Dublin without passing a pub is to walk past the Guinness brewery? :)
That confuses skin colour and culture though. The idea that skin colour makes you think differently is essence of racism. We may (or may not) need to break the privileged male echo chamber, but whether you're black or white is completely irrelevant. You want the diversity of social status, sure. To assume someone is of a different social status based on their skin colour is racism.
Neil Young's Trans.
>Mobile is changing everything — with the explosion of apps taking people directly to the information they want. Today 7 out of every 8 minutes on mobile devices is spent within apps.

How is that any different from people using websites directly? I don't see any change here, except that now 1 out of 8 minutes is apparently spent away from content?

>Apps that compete directly with Google such as [...] are easily available to Android users

They forgot to mention how you are not allowed to distribute alternative app stores over Google Play and can only be installed after changing the phone settings.
The Heart of User Interfaces
It can't be that difficult to do a one-off `find . -type f -name '*.py' -print0 | xargs -0 grep 'print '`, change the print statements to functions and add `from __future__ import print_function` can it?
You can't walk in there and have a pint! So it's OK IMO :)
An important fact about the luminiferous aether is that it was abandoned as an idea because it was inconsistent with experiments. In contrast, dark matter has continued as an idea and become a popular explanation because new experiments have always fit very well with what it would predict.

We don't know what dark matter is, or if it even is a kind of matter rather than e.g. modified gravity (though modified gravity has many problems of its own), but I think it is a common mistake that people are so eager to associate it with aether on the grounds only of what they find 'elegant'.

Edit: Also, the notion of a kind of matter that can hardly be observed is not particularly weird or 'arcane'. For instance, neutrinos have many of the right properties. I think they are ruled out as dark matter candidates mainly because their mass is too low to fit with observations.
There are a lot of embedded 32bit x86 still being produced. Just because it's not in your desktop anymore doesn't mean it ceased to exist.
> FourSquare launched Swarm before their pivot

Not really, it was part of their pivot. I think that was pretty clear at the time.
You lacked a marketing plan or you lacked a road to market? Do you remember how it was phrased? (Just curious)
Computer Espionage Gang Targets Rival APT Group with Spear Phishing Attack
Actually, even in Objective-C it's technically optional to give your parameters names. Feel free to knock yourself out with method signatures like:

- (void)doMysteriousThingsWithParameters:(int)x :(BOOL)y :(NSString*)z;

I've come across this recently when creating an HTML5 <canvas> context object to be called from within JavaScriptCore. This needs to expose JS-friendly methods like:

- (void)strokeRect:(CGFloat)x :(CGFloat)y :(CGFloat)w :(CGFloat)h;
- (void)arc:(CGFloat)x :(CGFloat)y :(CGFloat)radius :(CGFloat)startAngle :(CGFloat)endAngle :(BOOL)antiClock;
Probably not. In Ireland pub licences are very restricted, and there are only so many. When a pub closes, a new one will buy the licence and move it elsewhere. Rural pubs do close in Ireland, but this route goes through central Dublin. If anything there aren't enough pubs there for the demand.
But I'm not trying to focus on the fact that they're raising revenue by calling their new taxes "traffic fines". That's true, and it's bad, but what's really "special" here is that they've legally enacted the holy grail, a tax on foreigners living abroad. Why would the town residents care even if this were actually called a tax? Conversely, why is the town supposed to be allowed to tax non-residents?
Does anyone have a good writeup on getting started with afl-fuzz? I'm a Python developer and looked into it the other day for fuzzing Python programs, but gave up after a bit because of the documentation (it seems geared towards lower-level languages).
Why wouldn't an IRS-prepared return do the same? You'd still have to look at the numbers and handle your payment/refund.
The Reagan reaction was to drastically increase government spending per capita. The only presidency which increased it more was Nixon/Ford.

http://economistsview.typepad.com/economistsview/2012/03/per...
In my opinion, this is typically the position of the party with the least amount of power. Those that have lost seats are often advocates of "states' rights".