skysight-inc/HackerNews huggingface dataset:
> Would people flip out if there was a bill proposed to require all guns in the US to have a GPS tracker?

As a gun control advocate who also owns guns, yes, I would flip the f* out. While I have no problem if the government knows I own a gun (they know I own a car), Putting a GPS tracker on it would result in two things:

1. The government would know where I am at all times (I carry my Kahr CM-9 everywhere that allows it).
2. Criminals would just remove the tracker.
Yes I don't understand. Isn't it better to understand how to express your problem and type it into wolfram alpha than do this?
Every day, as part of my morning routine. Making it routine is key. When I'm done, I'm "in a good way" tired and my mind is sharper.

A little over a year ago, I started stretching every morning, slowly and gently, as part of my shower routine (shave, shower, stretch sort of thing).

A few months ago, I integrated strength exercises. I started with squats, just squats. After less than a month, the nascent roundness had left my face, my pants were less snug around my thighs, the overall layer of bacon wrapping was dropping away; I still have a little belly, but I'm 48 - a friend of the same age runs marathons and has a slight paunch.

After a bit, I started doing push-ups, chin-ups, etc., a little bit here and there. GAH! It was hard.

Now a complete routine, done once-a-weekish, is 3 rounds of PCLPDS: Pull-ups (wide; x10), Crunches (x20), Lunges (x20), Push-ups (narrow, x10), Deadlifts (x20), Squats (x20).

Most days I'll work intensely where I feel I need to (I've developed pretty good body awareness over the last 15 years, so I pay attention to it). The last couple of days has been arms and chest; this morning was 20 wide push-ups and 10 wide pull-ups, moderately quickly, 10 normal push-ups and 8 "normal" chin-ups, both more slowly, then a break (trimmed my nails, shaved), then another round of 20, 8, 10, and 7, respectively.

Tomorrow will probably be 2-3 rounds of squats, deadlifts, and lunges, with some crunches at the end, and a break the next day.

Make it routine. It's amazing the effect exercise has if you stick to it. It took very little time to drop from 190 to 180, and now I'm slowly over 190 again, heavier than I've ever been, but with less fat and something I never, ever imagined I'd have: A chest. And muscular arms. And those muscles all around the armpit. Looking in the mirror when I get out of the shower is a nice ego boost.

Not to mention that I can move more easily, I have far less stiffness, practically no back pain - for a 48 year old guy who just two years had a back episode so bad it took 10 minutes to get out of bed (by which I mean rolling onto the floor on hands and knees, wondering for the life of my how I was going to make it onto the toilet), this is fantastic!
Using Python2.7 on CentOS really isn't that hard. Install FPM, and run `fpm --python-bin python2.7 --python-easyinstall easy_install-2.7 -n MySQL-python27 -s python -t rpm -d python27 MySQL-python` . You'll find a MySQL-python27 RPM sitting in the current directory. Repeat for any package you want.

You can avoid compiling the core python27 language yourself by using the python27 packages from IUS.
Interview: John Graham-Cumming (Turing and Computer History)
I Am Not My Job: Why I Left New York City
No chores, no kids, no girlfriend/wife. That's where time goes. I was crazy productive when I was 15 (and when I was 12). Now I'm 33 with a wife and kids I just don't have the time. But then again I work on problems that are two-three factors harder than this during the day, so it all evens out.

Keep up the good work kid, try lots of stuff out now, find something you like, then go deep. It only gets more fun :)
> I would love to see someone start performing a large scale analysis of shipping paths using GPS tracking devices to create algorithms that flag certain shipping paths as anomalous.

And maybe that will be the nature of the first solutions or mitigations for this breakdown. Not tamper-proof, but tamper-evident, in the physical and digital worlds. You could then at least judge whether you should continue to trust the delivered item and/or its delivery path.

Total Information Awareness for the little guy.
Could you clarify your argument? It seems like learning about alternative services and increased competition should increase options, not reduce them.
Haha, wow. I live in Philadelphia as well and had no idea Drexel's library had that "interesting" arrangement.
I wanted to thank the poster for their work in transcribing this! I personally really appreciate it.

I REALLY dig doing this via github as well. I submitted a pull request with some spelling changes.
How to generate non repeating random number?
Even Debian is using Pyhon 2.7 for a while already, looks like CentOS is being quite slow.
SaveDogemas: The Internet Is Trying To Save Dogecoin — And It's Working
I Had My DNA Picture Taken, With Varying Results
watch http://www.thehouseilivein.org/ it is really worth your while. the best film on the war on drugs and the "prison-industrial complex" :-) i have seen so far. big thumbs up.

available on itunes and amazon instant, "free" streaming versions can be found with a simple google search.
If you're going to Mars, you're building infrastructure that can be reused for the 690 days of every 780 day cycle that you're NOT going to Mars. Going other places therefore has a lower marginal cost. Thus if you wanted to go to Mars anyway, throwing in a few Moon missions along with Mars is not as expensive as doing the Moon missions independently. Also, as I already mentioned, it keeps your experts employed and the public engaged.
As the public entry point towards many internal APIs. Its lighter and faster than any scripting language. Gorilla toolbox made it very easy to write.
Because python 2 works.
This is surprisingly easy. Look for the defcon talk "atm jackpotting".

The summary is there there are only a few vendors of ATMs and ATM software. They often have a tubular lock with a small number of lock combinations. You open it, and there's the main board. USB (some with auto-play still enabled), CF card (main storage), everything. Plug in what you want. Some insist on code-signing of the CF card to boot, but it can be bypassed.

Often they are exposed to the internet, and as of the talk at least one vendor had a pre-login vulnerability to an internet-exposed port (which the speaker reported, so that particular one is probably fixed now, but goodness knows if the sites in the real world are patched).

Once you have your code running, it's game over. Open the cash drawer, record stripe data (and phone it to yourself whenever you like), rootkit the device to make yourself undetectable.

He bought several ATMs of the most popular model to experiment, right off the internet, some from the vendors themselves. Nobody questioned him.

Watch the talk, it was great.
Introducing threads and multiple processes seems slightly crazy. Remember that ideally the most common case is no failure at all and you don't want to introduce cost for that. Why not just have the point of failure unwind the stack until it sees a component boundary? Without multiple address spaces certain types of failure would blow up the whole process but that's life.
To make matters worse, I'm seeing an increasing number of Python programmers switch to Go and I predict that Go will slowly replace Python 2 over the next few years.
There's facing bankruptcy and there's facing bankruptcy. The government devolves responsibility for these things to local groups (to cut management overhead and let them respond to local needs | to transfer blame for under-funding away from elected MPs who set funding levels) and there are usually some local groups who report not having enough money (because the unaccountable bureaucrats are wasteful with other people's money | because threatening bankruptcy gets you more money and community support | because the government sets the funding levels to force them to find efficiency savings and not every local group can | because the government wants public sector failures they can point to in support of privatisation).

In practice the hospitals stay open, and patients get their drugs and operations. Reports of impending doom are just politics as usual.
If you haven't seen it yet, checkout this value and time scrubber, a pretty faithful recreation of Bret Victor's demo
http://www.fullstack.io/choc/
Why Our Online Personalities Are Completely Different From Real Life?
Quite fair.
> But there is a awful lot of hard biology to master here

I honestly think most of it can be skipped. The age-old adgage that "a ounce of prevention is worth a pound of cure" is totally obsolete with respect to longevity science. Once you've gone past your DNA's "expiration date", it's easier to repair damage than prevent it.
> Mac overall market share is still pretty low. Somewhere in the 10% percent range I believe.

That's in the US. In the rest of the world, it's around 5%.
I thought like that until age 30, but at that point I started getting injuries and back pain. Stumbling a bit was enough to pull a tendon in my foot. Pulling my hand away too quickly from splashing cooking oil and I'd pull a tendon in my shoulder or hurt my neck. Sitting at my desk for too long and my back would start to hurt.

My metabolism is similar to yours. I never gain weight. Not everyone is like that, but there are some age related changes we all have in common. We lose muscle mass, but muscles are the only thing that prevents wear and tear in our joints and spine.

I hate exercising, but I don't want to live in pain and look geriatric at age 50.
Agreed with testosterone... however:

Snacking is not a "bad habit". It is a healthy eating mode, especially if you incorporate exercise in your routine. Caffeine, OTOH, is bad for you in our generic context.

HIIT is a good way of doing cardio work (because it results in a greater turnover rate of free testosterone) but weight-lifting is best. Target bigger muscles, core exercises. Do super-sets if you don't want to stay too long at the gym.

My two cents.
Good job. Now focus only on one app (from design to store) and make it not just like a tutorial.
Are you suggesting modern medical science not helping people live longer by treating Cancer, Organ Transplants, Bypass surgeries etc ?
I am seeing so much pessimism on HN , it seems unlikely that majority of people here are hackers.
> First there's that and then there is the eBook price fixing, and who else knows what we haven't found out about how Apple conducts business.

It's a little bit more complicated than that. Amazon is probably also fixing eBook prices at $9.99 and taking a loss to gain volume and market share. Apple probably wanted to break that monopoly.
http://news.yahoo.com/potentially-damning-steve-jobs-email-d...

The way that cell phone subsidies work is completely different from how ebooks are priced. It's a disservice to conflate the two.

It could be argued that Google gives away Android to prop up its advertising revenue.

Apple, Google, Amazon have asymmetric business models and we are seeing them battle each other by trying to commoditize each others business.
> but I can't think of anything off hand that required me to rewrite my own libraries.

There were a lot of gems that weren't 1.9 compatible for quite a while, so there must have been something that caused people to rewrite libraries. I think that one disadvantage for Python 2->3 was an advantage Python had over Ruby -- the bigger base of libraries, many of which were widely used but basically in very-low-effort maintenance mode.
Also in Edinburgh. Interesting - thanks for the link!

For anyone in/near Edinburgh, the Hacklab is fantastic in general - if you haven't checked it out, you should. It opened my eyes to the potential of laser cutters amongst other tech last year.
Yeah, but one of the issues is that some very popular packages for Python were already development-dead for years.

PIL is a good example; the last actual PIL release was in 2009. We now have a great fork that works (Pillow), but PIL is not the only dead package that's still in active use. There are quite a few others, too.
I don't think you know what scientific rigor is. If you did you'd realize it doesn't operate well under threats of force by bureaucracies.

In any case, this is a complex issue that can be examined and debated from various perspectives, but you're just coming in here to pimp the status quo, as if that's useful. Your kind has already won by a landslide, there's no particular point in bullying people who think you have made a mistake. A person with an actual scientific mindset might be curious about new ideas, not pretend they know everything, and bully anyone who comes to the table with new information.

By the way, you're making various presumptions about my view that are false. I never said anything in support of medical fraud or crackpots. And again, this is the kind of sloppy reasoning I've come to expect from your side of the aisle. Your arguments won't stand up to scrutiny, ergo you fabricate straw men. This in itself demonstrates something to suspect in your viewpoint.
Designing Singletons in Node.js
Everything is fine for me, but one issue which will hopefully be solved. You guys really need to improve your customer support.

-- nahtnam (You know who I am).
Schemer to Be Discontinued
I think a few defectors from Amazon Prime would be more than made up for by Amazon's CIA contract(s).
Thanks. Anything special to do when looking for jobs? What keywords do you look for?
When it comes to programming, I think the best programmers are never satisfied with where they're at.
I was even a bit surprized when he complained that people don't develop for Django using Python 3. There isn't even a year that Django supports it (with a year of "we support, but don't recommend"), and quite a few of its libraries already got ported.

Yep, people underestimated the time to migration. So what? I completely agree that migration is happening. Now, let's talk about IPv6...
I haven't tried any of your work & wasn't referring to you personally, it was aimed at something the comment above reminded me of that I've (more than once) seen attempted in my local tech circles.
They have about $1.7 billion in intangible assets on their balance sheet, of which trade secrets are not necessarily delineated but are a significant component.

I have no real idea if the fries are a trade secret; that much is pure speculation. But my point was more that I wouldn't be surprised if the fries were a trade secret, as such is the norm for large food companies. You'd be surprised at the level of granularity involved in food company trade secrets. It's not so much about protecting the quality of McDonald's fries; it's about protecting the properties of those fries that permit logistics at McDonalds-level scale: fries that are designed a certain way as to always cook consistently despite freezing, transportation across complex supply lines, inconsistent on-site storage and preparation, etc. It's not a huge stretch to call McD's fries a product of engineering as much as nature.

Source: http://www.aboutmcdonalds.com/mcd/investors/sec_filings.html
I haven't used boost::coroutine but I have experience working with Mordor (https://github.com/mozy/mordor), swapcontext directly and implementing my own swapcontext. Why implement your own swapcontext? Well, the default one in Linux actually is glibc can be a bottleneck if you're going to be calling it frequently. It makes the sigprocmask() syscall, if you can avoid it's a substantial speed up. You can read up more on this here: http://rethinkdb.com/blog/making-coroutines-fast/

Another thing you'll see give you a big performance boost is stack pooling (eg. not calling mmap for every makecontext). More on that on the rethinkdb article I mentioned. If you scheduler targets multiple OS threads you should also be careful here to avoid synchronization slow downs. Either some kind of lockless list or pre thread pools.

Now lets talk about 3rd party code. If you have a 3rd party library that internally uses TLS and you swap its context onto a different thread it's bound to misbehave and when it does it's usually subtle and hard to debug. So if you're using 3rd party libraries you either have to audit them (and make sure you didn't miss anything), disable context migration (and risk unbalanced workloads) or have a separate scheduler that only runs those tasks. Pick your poison.

It doesn't even have to be 3rd party code that miss behaves when green threads are migrated. I pulled out my hair for a couple weeks trying to debug an issue with a call to accept(). It was returning -1 but errno was set to 0. What gives? Well it turns out that on linux in glibc errno is a macro, that calls a function to get the address for errno for your thread. And that function is marked with the gcc __attribute__((pure)). So what it means that once the address of errno is calculated once in the body of the function the compiler is free to assume it'll always be that address (it's a pure function without side effects). Here's the sequence:

1. accept() == -1
2. errno == EAGAIN
4. errno = 0
3. scheduler_yield()
5. accept() == -1
6. errno == 0 (although it should be something else)

This will happen on Linux with glibc if your scheduler_yield() call returns but is running on a different thread when it returns. So even your own innocent code that doesn't use TLS can break in interesting ways.

If you have very small green threads and you have a naive stealing scheduler with a mutex you can be sure that you'll be spending significant on synchronization. You can get fancies with non-blocking queues and atomic instructions to overcome this.

I did have multiple schedulers for both CPU bound tasks and IO bound tasks. I would say that that if you're doing disk IO and you're just forwarding the data (versus having to process it) you're better of with non-blocking sendfile() or non-blocking vmsplice() (plus mmap) in your event loop. If you're doing lots of disk IO on a SSD array that can push 2GB/s you're going to needs lots of IO threads the latency of the message passing between the two scheduler is going to add up. Again this may or may not be problem in your application.

Those are some of my own experiences, they may or may not apply to you but I hope it helps.
> Python3 is not exciting because well there is nothing to be excited about.

I think this depends on whether or not you use, or will ever need to use, Unicode. I don't, and so Python3 is not only not exciting, but it creates a new problem for me: suddenly, I need to think about the difference between bytes and strings. Now maybe this is healthy for me, maybe it builds character. But it also adds effort and work that bring me no benefit. I'd like to see some of the smaller improvements of Python3--I'd like print to be a function, but in the big picture I'm better off with Python2.

I wonder if the Unicode problem could be solved in a way that I wouldn't need to think about it: perhaps utf-8 everywhere somehow.
Americans on Wrong Side of Pay Gap Run Out of Means to Cope
The attacker could get physical access at the end of the hardware's life when the hardware is decommissioned and either thrown out, recycled, or sold.
Interesting, though it's just a short pitch for a not-free book:
http://www.amazon.com/Slicing-Pie-Company-Without-Funds-eboo...
I think this is exactly right. Often people rush to conclusions in favor of the new and shiny, but Python is a great language that works pretty darn well at the moment, even in v2.7, giving the community the freedom to fully vet their ideas and make a valuable product.

I remember reading commentary on HN when a new version of PuTTY was released, and there was general sentiment that PuTTY is - for all intents and purposes - a "finished" product in that it does what you need it to do.

https://news.ycombinator.com/item?id=2758696

Python v2.7 is similar in that it's a tool that does many amazing things and is very stable. Could it be improved? Sure! But for the most part it's a great piece of software.

The care and planning that went into creating the tool is also going into the upgrade process, and I think that's a good thing.
Everyone knows there's a programmer better than they are.
They're easy to spot, and everyone knows they're out there.

I'm curious what qualities make them better.
Android is open source, and used by many non-Googler companies, from Amazon to ChinaKnocloffProducts Inc.
All major libraries/frameworks please drop support for Python 2 by end 2014.
This distantly reminds me of http://xkcd.com/1205/ , the saving time comic. When I looked at it, I noticed that the time durations surprised me, in that spending time automating (which can be compared to finding someone to delegate to) is often more worth the time than I would have intuitively felt.

I'm not sure if that's just a personality thing, or if people in general are more liable to not-delegate-when-they-should, than delegate-when-they-shouldn't.
I'm using http://postgresapp.com just because I like the fact to have an App Package :)
Your paid link is broken :P
1.8 to 1.9 was a HUGE release in terms of breaking changes. Probably the most notable change was the introduction of proper unicode support.

Unlike Python, which changed syntax at the same time, Ruby tried to maintain compatibility with existing syntax. In practice, this allowed Ruby libraries (including Rails; I did the bulk of the encoding work for Ruby 1.9 in Rails 3) to do runtime introspection to support 1.8 and 1.9 at the same time.

In my view, the best, most underrated thing that Matz did in Ruby 1.9 was to make all of the breaking changes detectable and shimmable at runtime.
Ask users of your competitor's product why they prefer it.
Your concern is valid. But consider that Android is still open source far more than iOS, and any team is welcome to take that as a foundation.
This: https://github.com/joewalnes/websocketd
Well yes. But only 4% of the cases end in court - the others are plea deals. So you need competent and capable defense, defendant that is willing to take the risk against the huge prosecutor mallet the DA is swinging and probably some luck.

The targets in the article are from parts of the society that are already outcasts for various reasons.

(Not a lawyer, from observations)
Forget about Net Neutrality. What we need is Open Spectrum so everybody can share the waves and we stop needing the telcos altogether.

https://en.wikipedia.org/wiki/Open_spectrum

As long as we have an oligopoly of telcos, they will lobby their way to destroy Net Neutrality.
No they don't. They sign up for Intro to Psych because it's a required course.
JavaScript Dataviz of How the World Celebrates the New Year
any iOS apps in your plans?
SaaS Billing Platforms: Which payment gateways should you support?
I've thought about a way to have a for-profit prison system that would work better. First, give the convict the right to choose which prison to go to (possibly with a particular security category). Then they (the prisons) would have to compete based on how the prisoners are treated. Now, after the prisoner is released, if he reoffends, then the prison that he "attended" would have to foot the bill for the additional incarceration (potentially at a competing prison, if the convict so chooses).

This should cause the prisons to achieve (via market forces) an optimal balance between humane treatment, and proper rehabilitation.
Symolics Genera Lisp Environment
32-bit Windows can run Win16 apps, i.e. those built for Windows 3.1. 64-bit Windows cannot.

AFAIK this is rooted in a hardware limitation. Once you enter long mode, you lose vm86 mode. Rather than introduce software emulation to cover this case, Microsoft just said they wouldn't support it.
The Woes of Facebook – Where Else to Follow Me
Interesting article, well done!
According to this site[0], it's at 7.54%. Out of that, only 32% are running the latest version of OS X (10.9). Another 24.5% are running 10.8. So almost half of OS X users are at least 2 versions behind. Not nearly as up-to-date as you might think.

0: http://www.netmarketshare.com/operating-system-market-share....