skysight-inc/HackerNews huggingface dataset:
While I know you are being sarcastic, I have a serious question: do you believe that choice should enter the equation?

No choice in getting old, or ill, or injured. But people (Americans) sure have a choice in getting pregnant.
I'll write it up when I finally have this whipped, but we have a unit test stumper ourselves. In our Django project, the tests have always run slow. Once we got above 50 tests I finally decided to hunt for the cause. It creates a test DB from fixtures for each test case but i couldn't understand how that could possibly take several seconds per test.

Then I was coding on the train home one night and in the tube my hotspot lost connection. Then I happened to notice... with wifi off the tests ran 10x quicker. Pull out netstat.... I see http requests to akamai essentially as each test setUp() is run. It's SSL so I only see a hostname, not the full path, and they just look like this, but the hostname is dynamic:
a23-34-132-181.deploy.static.akamaitechnologies.com

I spent 30 mins reviewing our code, grepping my code and packages directories, and stepping thru in a debugger. No luck.
Build and understand your own Raspberry Pi Model powered laptop
I'm adding SOAP to the backlog: https://github.com/Mashape/mockbin/issues/12

as for YAML, I think its best for human readability, rather than actual usage in libraries.
Keep voting as a bloc and hope the music doesn't stop during their lifetime?
Yeah, tutorials that did templates last were my biggest frustration when I was learning a few years ago.

Very good question re: future-proofing. It's one of the reasons why I tried to build a lot of stuff online in the GitHub repo, like the installation instructions. While the template config and URL definitions have been updated, thankfully 1.8 is still backwards compatible for the old settings (AFAIK - I just checked and all HWA code still works.) Next print run of the book, I'll update the code to 1.8 and update the install instructions. Not much I can do other than decouple the stuff that changes frequently and release updates when I can. It's kind of a pain, and definitely something I worry about!

Great suggestion regarding Designers Who Code — will reach out ASAP, thank you!
Don't use a finger to press control. Use the pad of your hand.
place the following in ~/.Xmodmap

clear lock

clear control

add control = Caps_Lock Control_L Control_R
Quality isn't cheap; this is true across the board. There are a bunch of expensive ergo mech boards though:

* Kinesis Advantage, Maltron (the originals)

* Truly Ergonomic (http://trulyergonomic.com/)

* Infinity Ergodox (https://www.massdrop.com/buy/infinity-ergodox?mode=guest_ope...)

* Atreus (http://atreus.technomancy.us disclaimer: I run this site)

* Ergodox EZ (http://ergodox-ez.com/)

* Keyboard.io (http://keyboard.io still in preproduction)

* Axios (http://axios.io still in preproduction)
Fstar programming language
I was learning Idris, and searching dependent types, when I stumbled upon f* programming language. Has anybody played around with the JS output for client-side web dev, or the language in general? Bootstraps in F# and OCaml, and can be used for program verification via z3.
https://www.fstar-lang.org/
I didn't know gun ownership in Germany was that high, anecdotically, the only people I know with a gun over there keep it in the hunting/shooting club and not at home (It's more of a gun used for sport than for protection).

In term of cultural homogeneity, I don't actually think there's much less cultural homogeneity in Europe compared to US. We do have a lot of immigrants from different cultures actually...

I do agree in term of poverty factor, for a country that is seen externally as being rather powerful and rich, there's a lot of inequality in the US with a very sizable underclass and a seemingly low upward mobility. This is the one thing I rather appreciate in Europe, education is almost free and opens a lot of opportunities that I probably wouldn't have had if I were american (even my tuition when I was an exchange student in the US was free thanks to that).
Music Is Better Off on BitTorrent, Than with Apple or Big Music (2010)
I haven't verified it by any means, but this to me smells like ES5 15.9.1.8[1]. Basically, prior to ES6, Javascript engines did not prescribe the use of IANA (nee Olson) tzdata to resolve historic dates.

The standard says: "The implementation of ECMAScript should not try to determine whether the exact time was subject to daylight saving time, but just whether daylight saving time would have been in effect if the current daylight saving time algorithm had been used at the time. This avoids complications such as taking into account the years that the locale observed daylight saving time year round."

In Spidermonkey, at least, it mapped current years onto prior years where the current day falls on the same day of the week.

edit: Spidermonkey bug I filed a long time ago: https://bugzilla.mozilla.org/show_bug.cgi?id=1029923

[1]: https://es5.github.io/#x15.9.1.8
I don't see what's wrong with the guessing mechanism.

If you cannot eliminate any answers, then your average expected score gain will be the same as not answering.

If you can eliminate choices, then your average expected score gain will be proportional to how many answers you've eliminated.

If a group fails to realize this I would say the SAT was successfully in measuring their cognitive abilities in this regard.
Correct. My bad.
That is generally the nature of "powerful messages". If you're advocating change, most of that time will be spent talking to people that don't, won't listen. If not, change would already have happened.
Take a tcpdump and open it in Wireshark - you can't see the content of the requests, but the first packet will probably have an SNI header that tells you what hostname you're trying to connect to.
Reality-Altering Glasses Could Save the Postal Service Millions
Try running it through an SSL-capable proxy like mitmproxy[0]. You should be able to get the full request/response details that way.

[0]: https://mitmproxy.org/, https://mitmproxy.org/doc/ssl.html
AirBnB has some good high level thoughts on the topic, for example - https://www.airbnb.com/support/article/695?topic=229

Couch Surfing (as distinct from renting someone else's space entirely for yourself) probably warrants some additional investment in the relationship and ensuring all expectations are clear.

I've also heard of many guests who budget for some kind of thank you gift - my Australian friends usually take a pack of clip-on-Koalas to hand around, and a bottle of wine or flowers are usually safe bets. You'll be saving more than the E10-20 they cost you, so it's a good investment in being awesome.
>our DST does not quite align with the switchover in the US, but only by a couple of days, and b) out of the four states on the east coast time zone, one of them does not use DST which makes things more confusing.

Quite a few years ago I was working in WA on a system that frequently aggregated data from servers located in different states when they decided to try daylight savings. From memory it was decided by the WA state government that the state would adopt daylight savings on a trial basis, try it for a year or two, then consider if we wanted to keep it.

For programmers it was pretty much the worst possible solution. Have it or don't have it, don't force us to make sure everything supported having daylight savings in WA and also require the ability to possibly turn it off again in the relatively near future.

Getting annoyed just thinking about it...
Sounds like not enough assholes left.
If you haven't seen Brendan Gregg's Linux performance tools page & slides, you should check it out. He explores a wide variety of great stuff, especially perf and ftrace (as mentioned in the article) as well as a few dozen others that he describes in lesser detail: http://www.brendangregg.com/linuxperf.html
> It's also not a choice in aggregate in that ~50% of pregnancies are unplanned.

Abortion is, fortunately, always a choice in the US.
Let's say someone punches you in the nose and breaks it. It'll hurt. You'll bleed out a bit, eyes water, and you're throbbing pain. Let's further say that someone then proceeds to choke you with their bare hands. Your immediate instinct, even though your nose is in a world of hurt, would be to try to escape because breathing is prioritized higher than a bloody, throbbing nose.

While I am no pathogen expert, I can't imagine many things (if anything) more dire to the human body then oxygen deprivation. To the extent that if you're intentionally holding your breath, you'll pass out and your body will involuntarily start breathing again to keep you alive.

That said, maybe the body does view internal (pathogen/poisons) attacks more critical to preserving life then oxygen. Anyone know?
Somewhat relevant, file this under interesting bug - a story to tell youngsters when you're a grey and weathered software developer:

http://web.mit.edu/jemorris/humor/500-miles
So if they are going to collect widespread data on Americans, it will be accessible to everyone right?

And we will get to see everywhere cops and dhs vehicles go right?
This is an interesting number but less so if you're constellation of satellites can talk to each other, then you only need a couple of ground stations.

That said, having lived near the "blue cube"[1] it was hard for them to hit satellites on the horizon because they had to punch through a lot of atmosphere. I would expect that if you were to say, put radar systems around the planet in order to monitor LEO 24/7 for all debris/satellites you'd want to keep them close enough that they were less than 45 degrees off vertical.

[1] http://en.wikipedia.org/wiki/Onizuka_Air_Force_Station
Maybe to solve optimally, but most algorithm questions should be able to be answered with the knowledge attained in a Data Structures and an Algorithms course.
That's amazing!!!
genius is based in New York I think, and so is John Resig (at least at lot of the time, he attends JS meetups in New York). He's probably doing them a favor, although the founders of genius are rather obnoxious and John's just the opposite, so it's not whom I'd expect him to help out. Maybe he's going for funding from Horowitz, who also funds genius
I tend to follow the folks whose NPM contributions I use regularly, or who are just badasses in general... So, in no particular order:

* TJ Holowaychuk
* Sindre Sorhus
* Addy Osmani
* Izs
* Passy
* Contra
* Fat
* Substack
* Peteris Krumins
* Mark Otto
* Mark Dalgeish
* Dan Shaw

...I'm sure I'm forgetting hella people...
Haha this is fun I just added a rails app!
Could be a remote XSD referenced from a local XML file? I've had that happen a couple of times...

The worst was having a Map keyed on URLs in Java -- turns out URL.equals() and URL.hashCode() do DNS lookups... Easiest 50% test speedup ever!
We used to have the opposite problem (being based in Australia): certain unit tests would run fine locally, but then end up failing when run at certain times of the day on our Travis server which was in the US.
The premise here is that extra money over the "financial independence" limit has a relatively low impact on the recipient. It's obviously not zero, but that extra money given up by the founder will have less of an impact on them than the impact it will have on every single employee that gets part of that money. To make up an example, if a founder gets $500M instead of $1B, but 500 employees get an average of $1M each, then the impact on every single employee is probably much greater than the impact on the founder (multiply that by the number of impacted employees and it's an even bigger difference).
I think one of the problems with this collection is the asymmetric nature of the information. It will be readily accessible to convict but not to exonerate. I think that is the biggest problem in the coming days.
Not really but kinda just tinkering right now with how things should work.
So, extracting value that doesn't belong to you, causing financial harm, but not physical harm. Sounds a lot like theft. If you walk into a bank with phony checks and walk out with money that isn't yours, how is that worse than walking in with a gun or sneaking in at night?
As with most things, anecdotes are anecdotes. There are many horror stories and many great experience stories. But the bottom line was that it is important to Google and that was why they had folks go through a pretty detailed training class and they often took candidate feedback through the hiring committees back to the interviewers.

Disclosure: I worked there for four years and interviewed a lot of people.
I ended up removing instances of try catch and also setTimeout 0 (or equivalent nextTick) in the promise library I use. Those two things caused me enough grief on several occasions to force my hand and modify the library's implementation. The setTimeout one especially baffled me... The straw that broke the camel's back for me was how it broke IndexedDB transactions
> For them, keeping a great talent from joining a different company is potentially worth the increased compensation.

This is logically true, but it's hard to imagine how the human interviewers/hiring-committees would consciously consider that.
I wonder if you'd be able to have a GPS unit that you could use to exonerate yourself without having to have that system managed by a third party.
I think either I've misunderstood the person I replied to or I'm being misunderstood here.

Nobody's saying 'Hey, construction workers don't need free time. They're construction workers!'

We are talking sabbaticals and whether or not they improve the situation all around so much, that they ought to be implemented.

You know, like using soap was implemented, because it's cheap and it works GREAT. Now do we implement sabbaticals for EVERYONE?

I say no, not really. Because while MOST people would enjoy time off, how would you like to wait an extra month to get an operation you need? Doctors should have sabbaticals. Btw, they can definitely afford them.

Or you know, the president. Why don't we have presidents take sabbaticals? They're pretty stressed out.

If the only thing to consider is whether the person taking the time off is better off, then great, let's all go sabbatical tomorrow. If we think a few steps ahead, then maybe adjusting pay/working conditions/etc would yield better results than simply saying 'let's lose a productive member of society for a while, in the hopes that he/she will on her own make great use of their time.'
Gogo plane Wi-Fi blocks YouTube (and can read your email)
I never once saw it happen.
On an i3 machine with plenty of RAM and an SSD, and GCC 4.9, a recent kernel builds in about 3.5 minutes. That's using the "defconfig" target, which is pretty bare-bones (only ext4, very few device drivers or fancy new features).

As another data point, Debian's kernel configuration on the same hardware takes 26 minutes to build.
Bret Taylor, former chief technology officer at Facebook and a founder of Quip, with his son Sam and daughter Jasmine. He leaves work at 5:30 p.m. so that his employees will not feel obligated to stay.

Why not leave work at 5:30 p.m. so that his kids will get to see him before bed?
Yeah, this is a real pain point for Windows users. Cursive and CCW also bundle lein, and I just fixed lein project creation within Cursive for this very reason (out in the next drop, today or tomorrow).
What about eliminating all of the risks that employee stock holders own:

Dilution
Liquidation preference
Change of control

Investors get terms to protect them from these scenarios, but employee stockholders do not.

If your market salary is x and startup wants you to work for x-y cash + z equity/options/rsu, then there should be multiple scenarios in the contract when z shares will deliver you y * time worked in cash.

The thing that is so messed up is that in an actual liquidation event employee salary payable is the most senior level in the capital structure. If you are getting people to trade part of their salary for funny money it's better to have more scenarios where they are made whole than more scenarios where they hit the jackpot.
All totally illegal by the way. Our constitution is being violated and no one cares.
At this point, we need more details than that to have any idea what happened. You don't get to use "times" as a word in this context anymore when one "time" can include getting an email service to provide an entire database dump for all customers.

"46 times" could well mean "Set up 46 separate devices throughout the county and collected all calls for four years", or perhaps "Left one device running for 46 contiguous months in the center of town", with the way these people work.
this might be a joke, but this is a serious problem i have as well.

i want to create something, but i don't know what to do.. there is nothing i need that is not already done, or at least thats why i think.
Lots of people disagree on that point, of course.
I've let them expire since, but my faves were/are:

* ScrewZombies.com
* SmellyDogFarts.com
* Craaack.com

... I should probably stop buying domains while I'm drunk...
I remember when they changed the daylight savings start/finish times for the 2000 Sydney Olympics. Had to go though a bunch of machines and manually patch in the new tzfile (this was before config management).

Also remember at one point NZ was having a potential power shortage caused by a drought[1]. Some senior government officials were suggesting bringing forward the start of daylight saving by a month with around 2 weeks notice.[2]

[1] - NZ gets most of it's power from Hydro

[2] - The jury is still out on if daylight savings saves power, especially since different places have low/high aircon usage.
They may have been good, but we have no way of knowing that if they are nervous. I doubt too many employers have this figured out either. If the candidate is nervous and doesn't perform, there isn't too much that can be done about it other than maybe looking at past history.

We were also rigorously testing to see if they could get acclimated to the environment. They would have to do this routinely since there were so many new lab techniques to be learned.
Here's my New Yorker perspective: Everyone I know who has a job that pays them $150k-300k a year doesn't have much work/life balance. Jobs in finance/law/tech are all consuming and the pay is commensurate with that. This seems little odd signaling out tech.
Someone has already submitted a pull request changing the readme so that it says he'll accept nothing. However, I think this can be rejected under the "don't be a dick" rule.
webdev requires deep knowledge, it just may be a kind of knowledge you aren't interested in. Placing more value in your own pet interests is more than a little condescending.
Picking up a language for me involves reading the O'Reily book cover to cover -- every single word. That way I get familiar enough with the language that I don't spend weeks doing things "the wrong way" just because I'm used to doing things a different way in another language. This, and the initial ramp-up time usually takes a few weeks. For really big languages like modern C++ it would probably take longer than for node or something like that.
Armstrap: Open ARM development board
Either way, it is the law they have to answer to, and you don't get that by saying "be timid and don't stand up for yourself."
Fear of this outcome isn't the answer.
I was also thinking this would be related to DST. The "tricky" bit about Australia is that DST is "backwards", at least compared to those of us in the northern hemisphere. Because the seasons are reversed from those north of the equator, DST is also likewise reversed. They spring forward in October, and fall back in April. It all should make sense when you think about it. (Longer days are still in the summer, and thus DST is still in the summer.) This is of course not unique to Australia. (I think they just happen to crop up probabilistically by having a high population using technology, and are south of the equator.)

The cool bit, at least to me, is that the mnemonic "spring forward" still works. Likely, this is only cool to me because the whole thing is unusual.

The other odd bit is that some TZs sit on the "wrong" side of the international date line, and thus get interesting offsets such as +13 or +14h from UTC. I think there's some that are -13h too, so the total "length" of day (that is, how long you could remain on a calendar date) is >48h. Thus, at any given time, people in their local time are in as many as three different calendar dates.

There's also a few TZs with half-hour offsets. (e.g., they're something like 4.5 hours off UTC.) There's a 3-hour TZ jump at one point on China's border, I think, because all of China is on a single timezone, and the nation is quite wide, east-to-west.

We've not even gotten to leap seconds, or that 2100 won't be a leap year.

And governments regularly muck with this stuff. The set of timezones and their offsets and DST preferences are constantly changing.
Costa Rica Tour Company
I find your comment quite odd. It's like saying people don't need email anymore -- which is ridiculous. So as long as people are using email, there will be the need for groups of them to coordinate over email. Mailing lists are one answer.

And what on earth does 'organic growth' of mailing lists even mean in this context?

Had you been commenting about mailman specifically, then I guess I could see your point (it's one product in this space) -- generalising to all mailing lists ever seems absurd.
Also, bubble talk stops.
naah..its only for sometime. Agreed that people surely gonna have a look on it since JOHN RESIG uses it but usability only helps you to keep on using it.
> Most industrialized nations are reproducing at or below replacement levels and global population will probably level off by the end of this century.

And most third-world countries have higher birth rates than replacement levels.
I'm not sure what kind of conclusion can be taken from a situation where there are increasingly more uneducated people with increasingly better technologies.. But it doesn't sound good.
Maybe it's just me, but I thought it was clear that the author was referring to the abuse of such benefits, not that she was wrong for using that benefits legitimately.
I am currently working on an application which just uses offset numbers to tell how far away from Greenwich time the zone is. No daylight savings time offset, no south of the equator, etc. Just a hard coded number for each client.
I totally agree with that, in theory. In practice, sometimes teams can be spread too thinly to allow adequate code reviews, developers can have egos associated with their titles that prohibit constructive criticism, and management can favor "if it looks like it works, it works" style of project delivery. These real world scenarios bias me towards people who know the language they will be using daily.
Does this tool also have the ability to record responses from API endpoints for future use?, or do I have to already have the response object available?
Writing, sure. Getting it to run as fast -> replace any language with C and add some boilerplate.
Probably wouldn't be a bad idea to introduce the Emacs key sequence representation before introducing Emacs keyboard shortcuts, though. I can see how it'd be really confusing for someone who's totally unfamiliar.
Unfortunately the law frowns upon the death of anyone, regardless if they willingly did something to encourage it.
How to write an RFP, part one: Always include a budget (2009)
I charged hourly for the first 10 years or so. Eventually I reached the point where quoting hourly made me sound like a crazy person and derailed most negotiations (because my number was so high), so I started quoting by project. Never looked back. Got most of my tips from Brennan Dunn's podcast. Worth checking out.
My eyes start to cross when I hear vim.
Show HN: NJ Transit REST API