skysight-inc/HackerNews huggingface dataset:
The U.S. has mandatory maternity leave as well. The problem isn't getting time off of work.

The problem is that you don't get paid. The problem is that you don't get a salary increase because your managers, knowing you're a recent mother, have expectations that your productivity will drop more than a man with a newborn.

It looks like the U.K. has solved the getting paid part, though: https://www.gov.uk/maternity-pay-leave/pay

Slate.com is running a series of articles where women from various European countries discuss maternity issues. The purpose is to shed light on European vs American experiences. The U.S. is behind the curve, but not by as much as you'd think.
I work in the US as a programmer for the last 15 years, and have had female managers everywhere I've worked.
I know it's tricky, because it's a subject that evokes strong feelings (in me too), but a substantive post on serious research into this would not be off topic here.
GDB can almost be a dynamic computing environment:

$ gdb ./txr
GNU gdb [ ... ]
[ ... ]
Reading symbols from /home/kaz/txr/txr...done.
(gdb) b eval
Breakpoint 1 at 0x808f6b0: file eval.c, line 969.
(gdb) r -p '(+ 2 2)'
Starting program: /home/kaz/txr/txr -p '(+ 2 2)'

Breakpoint 1, eval (form=0xb7fb919c, env=0xb7fb92ac, ctx_form=0xb7fb919c)
at eval.c:969
969 {
(gdb) p d(form)
(+ 2 2)
$1 = void
(gdb) p d(cons(form, form))
((+ 2 2) + 2 2)
$2 = void
(gdb) p d(cdr(form))
(2 2)
$3 = void
(gdb) p d(cons(0x1, 0x1))
(0 . 0)
$4 = void
(gdb) p cons(0x1, 0x0)
$5 = (obj_t *) 0xb7fb921c
(gdb) p cons(0x9, $5)
$6 = (obj_t *) 0xb7fb920c
(gdb) p cons(0x19, $6)
$7 = (obj_t *) 0xb7fb91fc
(gdb) p d($7)
(6 2 0)

You can test functions that are not even called anywhere from the C code. The d function is such a function; it's only there for use out of GDB.

(gdb) p (0)
$10 = 0
(gdb) p d(0)
nil
$11 = void
(gdb) p t
$12 = (val) 0xb7fe5eac
(gdb) p d(t)
t
$13 = void
(gdb) p typeof(t)
$14 = (obj_t *) 0xb7fe5d3c
(gdb) p d(typeof(t))
sym
$15 = void
(gdb) p d(symbol_name(t))
"t"
$16 = void
(gdb) p d(symbol_name(0))
"nil"
$17 = void

Take out the trash, and show it:

(gdb) p gc()
$18 = void
(gdb) p d($7)
#<garbage: 0xb7fb91fc>
Agreed. The total NIH budget is $31B. Much of which goes to basic research, not drug development.

The total spend by pharma and biotech? The best number I could find is from PhRMA (a group of the largest pharma companies, but not all of them) and they spend $49B.
The rule I've found works best is to avoid jQuery until absolutely necessary, and definitely not until you have fully learned Angular. At first I would find myself reaching for jQuery for all kinds of things that ended up just being a couple of lines in Angular. It has actually been a while now since I've actually touched it, and thinking about it, I don't think I've even included it in my latest project. No doubt I will end up needed to pull in some third party control at some point which will necessitate I include it, but really I haven't missed it.
I long ago started blocking all ads because they are one of the largest vectors for malware. I don't like being tracked and my data sold without my permission. This is an old argument, but it's widely agreed upon that there is no implicit agreement that I view ads online, even on a site funded in full by such ads. I record my TV shows and FF thru all commercials as well. I already pay to access the WWW, I will not pay with my privacy.

I use Adblock + with no ads allowed, plus Disconnect, plus I ban DOM storage, shunt LSOs to /dev/null, and filter some of my Internet use thru an offsite proxy server. In addition, I disallow HTTP/S referrer, CSS history, ban sites from seeing my font collection, disable media peerconnect, and a number of other things. I am, for all intents and purposes an enemy of most marketing companies.
>As far as I know, Haskell can only derive a fixed list of classes,

That's not true at all, cf. SYB and Generics.
Ha, Ok. I'd like to invest $1 for a 0.0000001% stake at SnapChat, for a $100 billion valuation then! Top that Yahoo!
I'm posting this just had a heads up. We bought the old model of this drone, the IRIS, and it had serious problems and they have very poor customer support. I've been waiting for at least two weeks for a call back from support.

The most serious of the problems was that the drone stopped working mid-flight causing it to fall 20 feet on to concrete. We were very fortunate that no one was standing under it.
Airdog and many of the other "follow me" drone projects are based on the open source autopilot, Ardupilot [1], that 3DR heavily supports development of. The first really successful crowd funded drone, pocket drone [2], is going to start shipping soon as well. I'm hopeful the others like AirDog and HEXO+ [3] can pull it off as well. Hardware is pretty hard especially when it flies ;-)

If you are into this stuff and in the Bay Area sign up for the Meetup my Partner and I run [4]. The next one at the Amazon Prime Air offices but unfortunately is way wait listed.

[1] https://github.com/diydrones

[2] http://www.thepocketdrone.com

[3] http://hexoplus.com

[4] http://www.meetup.com/SF-Drones-Startup-Meetup
Deriving interfaces for free, generically, in Haskell
All of the information I've seen about this "worm" comes from a single anti-virus vendor I've never heard of, and the information is painfully thin -- most critically, there is no information at all on how it's spread.

This particular headline (which, to be fair, does not come from the linked page) uses the word "exploit", but there is no evidence of what, if any, flaw is being exploited.

"Worm" has a rather specific meaning. It's malware that self-propagates through a network. Strictly construed, the only way this can happen is if there is a security flaw being exploited. A looser definition includes things like the infamous "ILOVEYOU" "worm", that automatically distributes itself, but requires user interaction to infect a target.

In this case, neither means of distribution is in evidence.

At this point, I'm skeptical that this "worm" exists at all.
I think there are different kinds of engineering managers and different kinds of teams. I think it might be realistic in a large organization, like Google or Facebook, for an engineering manager to not write code. There is enough political busy work every day in those organizations to keep you occupied with non-engineering tasks.

Working on small teams, in start ups, with just 3 to 4 other engineers, I found it was more productive for me to tackle at least one or two small technical problems with each release. For one thing, it helped me to understand what kinds of shortcomings there were with our tools--and whether we needed to invest more in them to improve productivity. Also, because I was immersed in the code, it was hard for people to bullshit me about what they were doing, and how long it was taking.

There is an attitude in Silicon Valley that everyone is always working for the good of the organization, or has the intention of doing so. I think you can be fortunate and put such a team together. But sometimes you get someone who has either lost the motivation to contribute, or has never had it. You can try to help such a person get another position, so you can hire a replacement, but sometimes you need to get through a release before that can happen.

In such a situation, being able to have an honest conversation, where they know they can't bullshit you about technical stuff, is important.
The difference is largely in that Americans had access to more advanced technologies at the time they founded their townships. You can see us moving away from "European-style" city centers as you shift from East to West.
Nice hack! I hope you learn to start save your notes/commands/snippets to a text file as you go.
i'm a firefox dev. That sounds like a sender (i.e. server) bug, but I'd like to rule out a client problem. Can you send me a specific steps-to-reproduce at pmcmanus@mozilla.com ?
Goddamnit do I hate this city sometimes. Considering stapling this to the face of the next person in Houston that bitches about not being able to find engineering talent.

EDIT:

I lost two really good potential hires once they passed the tech interview and then we decided we couldn't pay them...which is fine initially, but if we can't shed that mindset when our next round closes, I will be sad (and likely available).

If only there was some kind of proxy for salaries, some sort of thing we could offer in lieu of payment to potential employees, some kind of asset whose ownership we could offer with the expectation it'd be worth more later. Man, what a thing that could be.
I worked at an investment bank for a while in a commodities department that dealt with physical commodities. Using those websites and Solarc/Openlink RightAngle [1] we could actually find one of our containers full of oil delivering into Singapore. Kind of cool.

[1] http://www.olf.com/software/products/RightAngle.html
"technologically better dry-plate methods" - well, some argue just much easier, and claim that the wet plate methods were better matched to the printing technologies of the time (albumen prints).
Mozilla Security/Server Side TLS
An example for JSON parsing and generation:

https://www.fpcomplete.com/school/starting-with-haskell/libr...
Awesome, indeed.

Other classics: dumping the memory of an active process (check my GitHub utils repo, I have it there) and redirecting the standard output AFTER you've started a process.
Happy 25th birthday to SimCity
HVM guests at Amazon will default to using PV drivers for IO and networking. (Unless using SRIOV/"Enhanced Networking", which will not use the PV drivers)

PVH is actually PV on top of an HVM container and is a bit different. You can think of it as PV sitting on top of enough HVM bits to take advantage of the hardware extensions Intel and AMD have invested so heavily in while still being majority PV. This gives you the best of both worlds, including the remaining PV performance benefits related to interrupts and timers that PV drivers on HVM can't utilize.
If you have a mouse, put it on the axis label. On a touchscreen, tap the axis label.
HVM is more performant in PV in most situations with modern virtualization technology.

PV drivers on HVM have been a thing for a while now, so your IO and network go through PV even with an HVM instance. SRIOV/"Enhanced Networking" is even better than PV networking drivers, so HVM has another win there if you have NICs that support it (The larger Amazon instances do)

PV is significantly slower with system calls than HVM on 64bit hardware, as the x86_64 spec removed two of the four CPU protection rings, one of which being where PV lived in 32bit architectures, below the guest, allowing it to 'intercept' these system calls. Now since it shares a ring with the guest, it cannot intercept these and you are left with doubling the amount of context switches that you were previously. Virtualization extensions from Intel and AMD allow HVM to bypass this and skip the context switch. Other hardware advantages like EPT also give HVM an edge when it comes to memory related performance.

About the only area where PV is still better from a performance standpoint is interrupts/timers
Hey, I'm an iOS developer desperately seeking work. I am also a vet, and I've had no luck finding work. Where can I go to get this work? I'll even do menial work.
Location: Denver, CO

Willing to work remote: Yes

Willing to relocate: No

Technologies: Javascript, Node.js, MongoDB, Postgis, and others

Resume: https://drive.google.com/file/d/0B8vWXNtk1viPRHhrMjM3MkdZS0t...

Email: jks15063@gmail.com
Documenting is one part, but that doesn't really answer the "simple setup" requirement if people have to read a lot.

Ideally, even someone who doesn't read the documents would be gently and intuitively guided toward the right solution and away from costly mistakes. Easier said than done, but let's try to get as close as we can.
The Ebola Patient Was Sent Home Because of Bad Software
Not many people become polar explorers either. For some people the challenge is worth almost any risk, look at nutters like the wingsuit proximity flyers, for instance. If there is a rocket to Mars you will have no problem filling it. For certain people you will have problems sending them away. I suspect a team of people may have to physically restrain Brian Blessed from invading the launch site to try and stow away on board if he isn't among those selected.
Unless the proponents of competing ideas are actually lying to management[1], there should be distinguishing characteristics that allow a reasonably savvy manager to make a decision. One does not need to check code into the repo regularly to understand the conceptual differences between two different architectures.

In the case where there is not enough data to make a reliable decision, the proper management move is to instruct both teams to collect more data, through load testing, user research, beta trials, etc. A well-known example of this was the early iPhone software development, in which one team built off the iPod OS and another off the Mac OS, until the best way forward became clear.

If the disagreement is not likely to be decidable with data, then it's probably a matter of opinion anyway, and a quick decision that sticks is better than agonizing.

[1] If you think your staff is lying to you, there are bigger problems than technical competence.
The semantics of the URL aren't different - just the protocol version details. You didn't want different schemes for http/1.0 vs http/1.1 right? The URL still represents the same resource and if the server would like to inconsistently use different versions (perhaps because of inconsistent clusters or cdns) that's fine as long as the resource is consistent.
You have to be blind not to see the tremendous productivity and lifestyle improve improvements wrought by technology.

--sent from my handheld multi-gigaflop communication device/sensorium/access point to the sum of all human knowledge, which cost less than what most people in my country of residence make in a week and was not available to even the richest billionaires ten years ago.
As someone of the "Facebook generation", I have to say my mind was blown by this video. Thanks for sharing.

I feel there is clearly a trend line one could draw here in the evolution of social networking and social media. Since the initial era of social networking, friction was reduced (e.g. Instagram / Twitter) and now it's moving to be both frictionless and ephemeral (Snapchat).

It's interesting because the trend almost leads you something like life broadcasting (e.g. Justin.tv) - but we've already been there. I wonder what the next phase will be.
What is the story of the mysterious DS_RECURSE dialog style?
How the Apple Watch Already Has Success Designed In
As a brief summary, as of 2012 the decline in labor force participation rate was about 1/3 due to demographic shifts and 2/3 due to the business cycle. The paper notes it was expected to fall even further, however individual "behavior changes" caused it to not fall as far.
I do, indeed - and in Git repos, usually :-)

How that one got by me is a mystery - let's chalk it up to stress and pretend it never happened :-)
An app that scans the news for you – Dave Pell and NextDraft
OmniFocus 2 iPad Review
Alibaba is a pretty bad example to use, because Yahoo made $9.4 billion because they DID invest in Alibaba early on.
This is absolutely amazing, great work. This will open up a whole new world of possibilities.

In my time using offline speech-recognition tech, I never was able to use julius properly (docs were a little lacking) so I jumped on to CMUSphinx/pocketsphinx, but I think you've just done a huge amount of work to bring Julius out of obscurity (at least in my mind). Thanks very much

[EDIT] - I really can't get across enough how awesome this is, please add a gittip link or bitcoin address or something
I was doing some research work in a downtown building that was next to a hotel a couple of years ago (not a Marriott) and I couldn't use my laptop next to the window because the hotel wifi seemed to swamp everything else. This wasn't such a big inconvenience and at the time I assumed the wifi of the place I was in was just not that great to start with, but with hindsight it might well have been a case of unlawful interference.
Have you ever lived in a foreign country? Specifically one where the culture is drastically different, or where your ethnicity stands out?

I have. And it can be draining, no matter your constitution, and even without any identifiable prejudice directed at you. It's part of human nature.

Civilization takes work. Things like democracy don't simply pop into existence. It takes an evolution of culture. Male-dominated workplaces need to meet women somewhere in the middle. I think the present situation is unfair, particularly because there are all sorts of men who simply cry, "but why do I have to change my behavior!? "I was here first, and nothing I'm doing is intrinsically wrong!" Those people just don't get it.
Interview with Brad Miller, maintainer of Skulpt client side Python project
>Anyone got a resource which actually shows the ship in a setting which gives it some sense of scale, instead of, like this article, leaving all of that to the imagination?

Not a direct answer, but:

On a whim, I put the question "what is the size of a container ship" to Wolfram Alpha, but got a reply that only had the definition of a container ship, and a message "computation time exceeded." :-)

Also googled for the same question; first few links were about the size of shipping containers instead, and there was also a link to the same NY Times articlethat this thread is about.
JPMorgan Chase Breach Reveals a Dire Talent Emergency
Easier to ask for forgiveness, etc.
I guess that is a case of the 80 character HN limit making it a little difficult to write a useful but accurate title.
I like Steve Blanks description that a startup is (paraphrasing) .. a temporary organization to find a repeatable and scalable business model.

Many startup factories forget that the goal of a startup is to quit existing and become a business.

Depending on the type of product and market you're in funding can help.

For the first, or second time entrepreneur, there is a far more valuable lesson to learn than getting external validation in the form of investment: Learning to add value, and learning to build something of value at a small scale, as well as the associated business skills, before doing it at presumably a larger scale.

The VC rocketship can create as many distractions from finding something people want. I'm not against it, but glad I hesitated taking investment in my 20's, I'm a much more well rounded entrepreneur for it, and now as the opportunities are coming up, investment is around that much more, and secondary to finding the right fit with team, market, and product.

As you can tell, I think growth capital interests me more than getting funding to get a market. I think both are fine, I just find I respond better to grinding, hustling and being resourceful.
Why there isn't a Print to PDF button on YC application?
It goes the other way as well: using a drone to commit arson or even an assassination (mounting a weapon is well within the weight profiles of many current devices), is something that is inevitable. Drones have range deniability for things like ransom pickups as well.

As an aside, I expect anti-drone systems to become a significant debate soon enough (e.g. if there's a drone peeping in my windows, what rights do I have to disable it?), and then to become a significant commercial concern.
We need more technology, not less; specifically: more robots. Robots designed to relentlessly shop for items online, and to sleeplessly hail ride-share cars. With enough such robots, all us people will find full time employment shipping products to those robots from our Amazon warehouses, and driving those robots around in our Uber cars.
I you are a manager that codes and only manages one person then your title does not reflect the fact that you are actually a lead engineer and not a manager. I don't think it is a problem if your title is non-descriptive, but I would not expect all management advice to be applicable to engineers.
What do you mean "unwanted nipples"; and that's their secondary job.
Also have your client verify the SSL fingerprint if possible.
Scentrics has patented the IP for “one-click privacy”
Storage overhead. The loopback device is still a block device, if you skip this step, you don't have to waste the block overhead when storing a file that's smaller than the block size. If you're going to store a large number of small-sized files, this fuse <-> sql bridge could be a win.
That's the retail price (and who says they have to justify it). You can find them for a little less than $600 on eBay and other retailers.

You don't have to buy all the sensors they bought for CarPlay to function. http://www.pioneerelectronics.com/PUSA/Car/NEX/AVIC-5000NEX.
There's a universe of archive formats that do this without the need for a structured query language or FUSE. But i'm sure somebody has a need for this...
I think Snapchat is a cool company, and they showed their technical wisdom by building their original messaging service with Java atop App Engine, so they could scale effortlessly and just focus on the product. While this might not sound like wisdom per se it certainly shows more competence than all the tech companies building on top of garbage like node.js or whatever flavor of the month tech mouth-breathers happen to be hyping at the time, and then months later releasing a blog post about how they had to switch their entire architecture to an actually capable system, as if doing stupid things that cause you headaches later and wasting time fixing your broken garbage when you could be working on the actual product instead of doing things right the first time is some kind of engineering feat.

They have 100 million + users(not as small as it seems in these days of throwing around huge numbers), see:

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

The offers and valuation they got I assume are based on(aside from their huge funding rounds) the usual vastly overblown targeted userbase analytics advertising blah blah.
I say vastly overblown because the revenue potential based on the targeted ads hooplah really isn't what its made out to be. To put this in perspective, Facebook has 10x Snapchat's users and made around $8 billion in revenue last year, so a little over twice of its bid for Snapchat.
So unless they planned on putting extra special magic fairy dust ads on Snapchat(a platform of which its dubious what kind of ads will be successful/viable on, if any) after acquiring it, there are better companies out there that they could have acquired if they wanted to increase their earnings.

I think specifically Facebook's offer wasn't based on Snapchat's earning potential, more on the fact that Zuck seems to get antsy when the Facebook empire loses face(pun not intended) to any other platform in the least. He paid $1bil for Instagram when it had 30 million users, way more than it was valuated at at the time. The press made it seem like he alone spearheaded both offers, and that Facebook's board/other execs were barely involved in the decisions.

Google allegedly attempted to outbid Facebook for Snapchat, offering $4bil, which struck me as odd, seeing as their better known recent acquires included a machine learning firm and a company that makes smart home products. I thought Google had learned it's lesson in the social space after the colossal failure that was Google+.
This looks super interesting. I don't think I've ever seen anything like it.

At first I thought it was similar to Classic ASP or JSPs, but after looking at some the examples, it's more like a JS framework in that it generates HTML dynamically with client side code. But, the thing that really looks cool to me is the interop between client and server that you can do.

You can use the exact same "type Person = {Name:string; DOB:DateTime;}" on the server and client. That's about as DRY as you can get, I think.