skysight-inc/HackerNews huggingface dataset:
But we were discussing "should not". If all sovereignty means is, effectively, "you can do whatever you can get away with" then "it's our sovereign right" conveys no moral force. We can and should curtail our "sovereign rights" and everyone else's whenever it aligns sufficiently with our interests and ideals.
I'm getting some really odd behaviour when I try and highlight text in it - http://imgur.com/jzvguIO
Did I just find a bug on Google Search?
Still not exactly ready for production environments. The lack of a decent and reliable word processor is a big argument against Linux in non-programming offices. That's too bad, because there's a lot of money and influence there and the privacy argument would otherwise be a strong advantage for Linux.
Definitely an interesting trend emerging here, with lots of different players entering the space. http://whisper.sh/ raised a $21M series B, and http://www.500strangers.com also recently launched.
There are religious and cultural minorities that don't believe in men mingling with women who are not their wives or relatives - do we restrict women from attending for fear those minorities would be uncomfortable?

I know a number of recovering alcoholics - some will avoid situations where alcohol is available altogether, some will happily go to a bar and drink a club soda all night, or somewhere in between. You can't generalize about a group like that.

And personally, I don't like strip clubs, never have. In various jobs, there have been a lot of sales dinners and the like that ended up at a strip club. I always left before we got there. I didn't feel put out, or uncomfortable, I was just frank about my dislike for them, and encouraged everyone else to go have a good time.

To a certain degree, I agree with you - if an event is ostensibly about topic X, but is really about getting hammered, that's unfortunate. But almost all of the conferences I go to have technical talks, and then a cocktail hour/binge drinking session for networking. Or it's a meetup/user group meeting at a bar, in which case, those who are uncomfortable in bars should just not go.

I dispute that drinking at conferences is "marginalizing a large group of people". I think there should be a balance, but ending the practice entirely is silly.
It's hard to tell if this site is advocating for ditching this type of js library altogether and writing all those replacements inline (ick for some of those) or simply replacing jQuery with a thinner (and narrower) library.

I could be convinced of the latter but not the former.
Like it says at the top of that page:

> jQuery and its cousins are great, and by all means use them if it makes it easier to develop your application.
What's a good resource to read up on how browsers handle unsupported JS, if I want to write a fall-back?

I've already got fall-back for people who've turned off JS, but I've yet to write anything for unsupported JS.
Using Graphic Design to Visualize the Aftermath of Genocide and War
What?

> $('<div>').append($(el).clone()).html()

vs

> el.outerHTML

Why not $(el)[0].outerHTML?
__nonzero__/__bool__ are the methods called on objects when evaluating truthiness. So, if you're implementing custom objects, those are what you would use, and return either True or False, based on their truthiness value.

As an example, you might represent __bool__ on a database connection object to reflect whether there is a live connection, allowing you to:

if not conn:
conn = MySQLdb.Connect()
It comes down to a question of whether kids are careless about privacy or whether they don't care about privacy.

We'll take my great-grandfather for an example. He'd be horrified about how careless I've been about protecting our racial purity. How could I be so careless as to marry a women without realizing that she's not only a dirty papist, but also one of those swarthy French‽

However, the truth was not that I was careless, but that I didn't care. I know all of these things, but they didn't matter to me. Similarly, I know someone who broke federal privacy laws with respect to my personal information. I could report this individual, but the simple fact is that I don't care. If he'd posted the entire data set to wikileaks, I still wouldn't care. It's not that I have nothing to hide - there's some pretty embarrassing stuff in that data set. However, everything in that data set, good or bad, is true.
You're certainly right. Did you see that the page specifically targets people who make javascript libraries? The page is arguing that when possible, libraries shouldn't depend on jquery, and shows how to do that for a few common idioms.

Since a library is written once and used in many different places, it's worth going to a little more effort to make it more flexible.
Does this mean that every teen can write google glass apps now (Z80 assembly was really easy to learn) but in twenty years time AR technology will be unwieldy, crashy and overfeatured?
That's why it's called You_Might_NotNeedJQuery. ;)
LibreOffice Upgrade Targets Windows Integration and Power Users
Cool, thanks. I appreciate your honesty.
The Next Generation Search Engine Will Not Be Google
You had me convinced until I scrolled down to read the code examples and realized why I actually do need jQuery. If its between adding yet another collection of utility functions to approximate the functionality jQuery would give me vs just adding jQuery. I'd rather go with jQuery.
Certainly! Tiny programs are the exception to most best practices. (Not security best practices, but I digress.) I write a lot of little programs, and they're certainly not all works of art. Sometimes you need to bang out a tiny program quickly, and it's never going to become a maintenance burden. In which case you can use any pattern or anti-pattern you like.
GitHub Security · Bug Bounty Program
I'm reminded of this quote, attributed to the Cree Native Americans:

"Only after the last tree has been cut down, only after the last river has been poisoned, only after the last fish has been caught, only then will you find that money cannot be eaten."
"You might not need jquery"
Blog post:

https://github.com/blog/1770-github-security-bug-bounty
"The problem is that the game is rigged until health insurance can be completely decoupled from employment."

This is the biggest problem in the US.
++ for #1.

There are dozens of projects I've supported that were built by guys who banged it out in a couple of weeks, or a month or so of development, and it's almost always built for a single purpose. The moment the business starts thinking about other ways to use it, it becomes a mess.

Unfortunately, there are a ton of businesses who think they can get ramped up with a tiny, banged out product to sell and then 'scale up'...when in reality, they have a throwaway toy on their hands.
I've been using it all morning and I'm a big fan. It's proven to be very therapeutic with work complaints / fears. I just hope it doesn't get overrun with trolls and attention-whores.
In my opinion jquery is a hell. Because jquery is only abstraction for browser features level (events, styles, dom), but it's ugly for writen complete code, for this need some like prototype.js or mootools, because it's have oop-style level for browser.
Leave GoDaddy.
Out of curiosity what do you find a good alternative, I've noticed they are quite wide myself but never got around to changing it.
We do the same thing; the problem is that it can be tricky to come up with a benefits plan that works at scale across the team, with a goal of reducing the overall cost of benefits to the employer, without disadvantaging the people who can't easily/risklessly take advantage of high-deductible+HSA.

Simply offering an HSA option doesn't seem fraught, but creating a benefits package that pushes employees (through incentives or whatever) to HSAs is a bit more worrying.

My concern is mostly about companies tailoring their benefits plans to further lock in a culture of 23 year old male developers.
Your function is_digit_char(s) is peculiar. From the name I would expect it to return a boolean, instead it returns a number or None.

To write it like that and have a problem with the falseness of 0 it means that you use it in a way to both use it as conditional expression and an integer value, e.g.

digit = is_digit_char('0')
if digit: # fail
print(digit)
else:
print('not a digit')

You should then check for his equality to None

digit = is_digit_char('0')
if digit is None: # pass
print('not a number')
else:
print(digit)

But I would argue that you were in search for troubles when you wrote an is_something() function that doesn't return a boolean. That is not idiomatic.

p.s. Hy is too crazy :-)
Inspired by nmap’s icons of the web: Icon map of the biggest Minecraft servers
Thanks for the link! Didn't know it wasn't operating. My understanding is that the treaty says that the salt content should be less than X parts per million and when the Colorado River gets saltier than X, they can turn the plant on. This diverts some of the water out and returns it in with significantly less salt, thus reducing the total salt content of the river as a whole to a level less than X.

Basically, imagine you have a glass of chocolate milk. You take a teaspoon of chocolate milk out and put a teaspoon of regular milk back in, you will reduce the chocolate content of the glass. The glass is the river as a whole, the plant only treats the teaspoon.
OK, admit it. You also thought it was a reference to "My So-Called Life," didn't you?
Anonymous, free speak and freedom. While supporting Libya government buying .ly domains.

Congratulations.
We do analyze the options from the perspective of individuals as well.

The most basic insurance plan available caps out of pocket expenses at $6350, which while is still significant but likely won't cause medical bankruptcy. Even the most "premium" plan only caps out of pocket expenses at ~$3000, yet would cost $3000-5000 more in premiums.

A premium plan would provide a nice sense of security, but might be the best option to minimize expenses for an employee.
Our Money Addiction
Prescription Frams Now Made For Google Glass
It’s actually a really interesting Chrome bug—someone filed it on the main ALA repo:
https://github.com/alistapart/AListApart/issues/53

`-webkit-font-feature-settings` seems to be triggering it.
I was curious, so I looked at US fertility rates by state. Fortunately, wikipedia has a nice chart. The birth rates do appear to be higher in Western states than in the east.

http://en.wikipedia.org/wiki/List_of_U.S._states_and_territo...
Microsoft's health plan changed for the worse:

http://digitaljournal.com/blog/19881
Why a Local Tech Talent Shortage Shouldn’t Matter
I think that what it's saying is that you can write yourself a microlibrary that just includes the ten or fifteen lines of adapter code you actually need for the thing you're building, and that you should use native browser constructs whenever possible.
I grew up in the open source community. There's a lot of really good best practices that you pick up there as you contribute to or pull from other projects. Among those are the development/stable release trees.

If you have something that "just works", you do a release, but to a development branch. Eventually some of those features can get backported to stable, or the release will get upgraded to stable after thorough testing, or all new feature development will end once it's been tested enough to ensure a stable release. There may be 10 development releases before a stable release comes out. The benefit is you get to "just ship" code, but stable users aren't forced to deal with your bugs and various changes just because you wanted to get an experimental feature out the door.

"To ship" is not a software development practice. It's silicon valley hype. It's the idea that delivering an average product is more important than designing, developing, testing, and producing a really good product. The author is right, this is difficult. But this is not what I think most people consider when they say "to ship".
It's US only for now. Follow @getsecret on Twitter to find out when it's available elsewhere.
Would be great if we could all stop recapitulating this, it's not helping
"You might not need Ruby on Rails. Use C to rewrite tons of shit you need."

Use jQuery please.

Rewriting jQuery methods with vanilla js usually turns out to be a hack job that is buggy and ugly. Just use jQuery.
Jonathon Swift would also recommend children: https://en.wikipedia.org/wiki/A_Modest_Proposal
That sounds like a very black/white way to say it. I don't agree that using a singleton in small programs is an anti-pattern. The world is much more gray than that.
So you guys do realize that all the data that goes across the AT&T network and other carriers are all monitored and that packets are tagged with info that goes back to your GSM or CDMA network entrypoint with a new ID.

This isnt how to make an anonymous secure network for sharing. It only obscufates it for those who are poor at tracking you or companies that mine your public data for sale - although technically that anonymous nature still doesnt work unless everyone uses the network. If your sister is still on a public social network and posts photos of you , or references to your job - you will still be mined.

So that said. Whats up?
One of the main things we're advocating is to consider not depending on jQuery when building an open-source project.

For Offline, PACE, Odometer, Tether, and many of our other OS projects (http://github.hubspot.com), we chose not to depend on jQuery because it means our libraries can be smaller and more people can use them.

We're happy and proud to use jQuery when building an application. As many other commenters have noticed, it can be extremely useful at reducing code complexity—and let's just say it: it can make it more enjoyable to write front-end code!
DICE's trick for debuging Battlefield 4 based on users' screenshots
Isn't $5000 ridiculously low compared to the black market value of a GitHub exploit, or the time required to develop it?

Assuming a company thinks it's pretty secure, putting real money on the line (the same money you'd normally pay an expert to pentest your system) would get some more prolific minds involved.
PayPal records every call, 100% and also all the screen captures of the agent answering the call. So, either they're telling the truth, or they're lying. Not sure how anyone could tell the difference. but I guarantee you, they listened to the call.

I can't see why a hacker would actually give his secrets away.
One way of looking at it is that if you already have underscore to give you _.extend and the like, you can get pretty far with just what the browser gives you.
Data Science Weekly Newsletter – Issue 10
10 Accelerators Launch Startup Exchanges: Study Abroad for Startups
Can you point to an interpretation of the data here:

http://www.census.gov/compendia/statab/cats/agriculture/farm...

that supports your 80%?

Because when I interpret the data I end up at 'most acreage is owned by families, families that may have done some sort of incorporation'.

I guess if you throw in some of the big forestry outfits you buy a lot of acres, but that perhaps indicates the need for a more precise phrasing or more interesting measure than arable (like, land used to produce food in the last 50 years, or something like that).
7 Minute Workout by Quick Fit
There is a book somewhere that talks about this in detail, its not just animals, but in third world countries, people don't sit with their legs and back at ~90 degree angles. Chairs are actually the most unnatural position for our bodies as a sedentary position (especially in the case of toilets while defecating). There are a lot of back and other problems that come with prolonged use of chairs that simply don't occur in areas of the world where people squat or don't have chairs.
Hi, I'm one of the founders. We ask for your phone number to connect you with your friends. We also encrypt unique identifiers so that your friends, nor us, can ever read your content.

Read about our stance on using address books here: https://medium.com/tech-talk/4791cf1fcf0e
Blackhats are just people who abuse their Whitehat knowledge.

There is a plethora of IRC channels, forums, mailing lists and whatnot where people share that kind of stuff. Frankly, a bug report is something like sharing it, before its fixes it is a zero day exploit.
This might be overkill for you, but take a look at http://modernizr.com/

Sometimes it's just as simple as testing if the function your about to call exists before you call it.
If you are at the point of your CS education that you are taking a serious look at machine learning and understanding the theory then you shouldn't have a problem translating into whatever your language of choice is. I get why a teacher would just want to pick a language and say "this is what it is in" but I don't get people who need CS concepts taught in their language of choice. The hard part is the theory and not the implementation.

When I took it in university it was taught in language agnostic psuedocode and we were free to use any language from a long list for our assignments.
How is this better than local rainwater collection?

It works when there is no rain without needing a tank big enough to last a several year long drought.

The architecture of the greenhouse acts as a solar desalinator that in testing creates more water than is needed to irrigate the plants, so it not only grows plants, but also can provide clean water in the desert.
I agree that everything should be done in moderation, and we do let our 1 year old watch a kids show one in awhile, but there is evidence against it. Here's a specific study: http://psychcentral.com/blog/archives/2010/03/03/does-baby-e...

Every study I read says about the same thing, any kinds under 2 shouldn't be watching much TV, because it can actually bring their speech level down.

We are not really a "leave-the-TV-on" household, and we believe that you shouldn't completely substitute parent-child learning with TV shows.
How sure are we that technology is the cause?

Another comment mentioned inflation [1].

I'd like to bring up the possibility that globalization is the culprit.

If there's a large pool of workers in poor areas of the world willing to work for $1 / hour or less, then theoretically we should see a shift in capital and infrastructure spending trying to connect them to the global economy, and wages everywhere else will try to lower to that level. AFAICT that's more or less exactly what's going on.

Also, in the US, from c. 1960-1990 labor unions had a monopoly on unskilled labor in many domestic markets, which allowed the price of labor (i.e. wages) to move away from a competitive pricing model and get closer to monopoly pricing model. Globalization allowed companies to break the unions' monopoly on labor by moving operations to other countries.

The solution is simple and obvious: If producing X in country Y saves you D dollars due to lower wages, laxer safety/environmental regulations, lower taxes [3], etc., you should tax those goods by D dollars when they cross your border. However, the money that can be made by avoiding monopoly labor pricing means that the business community successfully bribes / lobbies politicians. Even educated voters are largely ignorant of economics, and politicians can usually come up with rhetoric to support just about any economic policy they want, so the voters don't provide enough political force to stand up for their interests in a way that's effective.

Warren Buffett talked some years ago about why we need to have tariffs [2]. In the State of the Union, Obama mentioned giving tax advantages to companies that locate their operations in the United States.

We'll see what happens, but I'm skeptical about whether there's any political will for meaningful policy change.

[1] https://news.ycombinator.com/item?id=7152014

[2] http://money.cnn.com/magazines/fortune/fortune_archive/2003/...

[3] Think of the case of small countries that don't have much of their tax revenue go toward military, but benefit from the relative peace and stability of the current post-cold-war geopolitical situation which is partially the result of much greater military spending by the US.
Is it really all that different from some of the iconic ads[1] from the 1950s? Seems like it's mostly the same story-telling technique but slightly tweaked to take advantage of video and interaction. I wonder if it won't really change (apart from new tech which makes it just routing similarly-structured stories directly into your brain or something) because the kinds of stores we react two isn't really evolving that quickly either.

[1]: http://media.fontsinuse.com/static/use-media-items/7/6475/fu...
If you need to differentiate between the empty string and None, you can, but in most situations the difference isn't important. E.g., would you ever actually display the values differently? Exaggerated explicitness can be misleading. E.g., if a year from now someone is making some changes, should they really be distracted by the fact that you've used 3 different if/else cases for the same semantic result?
We'll see how it goes—if enough folks complain, we can revisit :). I wanted the content to be in the absolute forefront with this update. That meant not affixing the top navbar and downplaying the side nav. I think it's super helpful, but again, I'm open to reversing things again if it'd be better for more folks.
querySelector and querySelectorAll have bugs in IE8. Checkout the jQuery source code and search for these functions and see the comments and workarounds if you want to be sure:

http://code.jquery.com/jquery-1.11.0.js

Notice the rbuggyQSA variable.

Also check out Quirksmode:

http://quirksmode.org/dom/core/
>But lately, I've come to think it's better for code to explicitly reveal its dependencies via its public API.

The downside is that you're forcing a new dependency on the user of your API, and that dependency may be an implementation detail that the user should not be concerned with.

You could argue that the user was already depending on that singleton because singletons are effectively globals. But that's not necessarily true as the singleton could have package/module visibility.

I'm not convinced that all encapsulation should be sacrificed on the altar of TDD.
> Does the barber need arbitrary shapes in this case?

But why is the default assumption that the barber needs software, and we must prove out that he doesn't? The barber just wants to note some info and get on with things.
Yeah.. anonymous admissions.. right.
Awesome site with clear message. +1
I signed up this morning with my phone number, and it didn't spam anyone (that I'm aware of).

The way it forms its 'secret' networks is similar to LinkedIn's degree system. Your phone contacts are your 'First Degree' connections, their contacts are your 'Second Degree' connections, etc.

Most posts from 2nd or 3rd tier connections never appear on your feed, it's only the popular ones that show up. It's interesting since you really have no idea who you're interacting with.

Disclaimer: I really have no idea how it all works, that's just my impression after a few hours of use.
This might be a totally stupid question but I couldn't find the answer on the web and all the other comments are from yesterday. But are conditions in the womb acidic? I'm just wondering, that if DNA works at all like computer code, then maybe cells have programming to work a certain way in certain conditions and maybe it's not so much that a cell undergoes a permanent change when it matures but that the old programming just doesn't run anymore?
This looks really similar to an anti-framework I've been working on for a long while for RubyMotion:

https://github.com/mattgreen/elevate

IMO, tasks are the real unit of composition for UI-facing apps: "do this, update the UI in that way, and do this if cancelled". It sure beats writing ad-hoc state handling code every time.

Edit: Bolt's idea of tasks is a lot smaller than Elevate's. Bolt seems to take a promise-esque approach, whereas Elevate combines futures (for I/O) and GCD. It appears Bolt is closer to ReactiveCocoa in spirit.