skysight-inc/HackerNews huggingface dataset:
No, I'm not saying capitalism creates honest people... I'm saying the philosophy itself is being honest. Communism says once it gets into place, we're all just pulling for the common good and everybody gets equal ownership of everything. This is a lie. The system still "inherently allows others to be dishonest without repercussions, accountability, responsibility, etc.", and history can make a good case that it does so all the more so than a capitalistic system does. Capitalism tells you the truth; it's a rough world out there and you need to be able to find some way to compete.

Much of the criticism (but not all!) of capitalism boils down to people shooting the messenger. It is a rough world out there and you do need to find some way to compete, but some people would rather hear from people singing about how if you just give them all the power, their philosophy will erase that from the world and you can just go to sleep peacefully and stop worrying. Unfortunately, this is also a lie, or at least that's what the history shows.

Nor does this mean that we are somehow obligated to "maximize" brutality or something stupid. It means that by facing it squarely, we are better able to deal with it, and that's why the capitalistic countries of the world are far better places to be than the places that reject it. It may not be perfect, but by aligning oneself with the true nature of the world you end up producing enough excess wealth to be able to seriously engage in social programs. It's OK to wish it weren't this way... it's not so OK to think that if we just close our eyes and wish hard enough we can make the problem unexist. That leads to actions that leave you vulnerable and exposed. Facing the truth is part of the path to changing it; denial often just makes it far worse.
I'd like a copy of that playbook too :-), publish it somewhere?
I agree with your point. Institutions have been slow. And will be slow. I'm not complaining about this...

I'm more complaining about why nothing has been done outside of institutions.

Why haven't private companies created technology and services to serve students? For example: Why does half my class take notes with a pen and paper, and the other half use Microsoft word? Shouldn't a private company find a better way?
I heard USAF at point offered to sell the A-10 to South Korea. Pretty clever of USAF if true. They were not 'retiring' them but still getting rid of them AND not giving Army a chance to say 'we will take over the A-10'.

Lucky for US Army, South Korean govt supposedly declined the offer.
Text-mode is the term I use; I've heard "TUI" used as well. Non-windowing isn't a good name since I think this is clearly windowed: http://superuser.com/a/323614
http://en.wikipedia.org/wiki/Post%E2%80%93World_War_II_air-t...
Free Software Foundation announces seminar on GPL Enforcement and Legal Ethics
Recent Changes on The Meteor Roadmap
Curious what you think about PCI Compliance and whether it should exist. After all, stealing credit card numbers is already illegal.
Maybe they could spend some of it on hiring a better marketing team. Holy shit those youtube ads are terrible.
It's just a nicer interface to iptables. Instead of changing my iptables config file you can do things like 'sudo ufw allow 22' or 'sudo ufw allow http' for example.

You should still understand iptables but you do not need to config everything manually.
on the other hand

my $thing = $thingloader->new($some_complex_data);
ok ($thing->isa('Specific::Kind::Of::Thing')

is fine and useful.
Ask HN: reasonably priced robotic arms
Does any know where I can buy a reasonably priced robotic arm? It should be be something I can connect to a Pi or a computer. My budget is up to 200USD.

Thanks.
That's a very sensitive area to be heading into. Any assumptions you might try to make will find themselves with counter-examples quite often.

A better direction to move in might be to minimize gender differences as much as possible (although that's hard for marketing to stomach).

I mean, would one try not to recommend pants for girls or skirts for boys (kilts)? It's tricky...
It's quite easy to have slow tests that aren't integration tests. For instance, there's some tests in Sympy that are only a few lines of code that run very slow because the calculation is difficult. Sometimes (but not always), it's trying to calculate a very difficult integral (which is a test of integration, but not an integration test).
This is confusing to me, I tried the demo but had no idea what it did.
They can also take an incredible amount of damage, to the point of being able to be brought back to base missing one of the wings.
Nice use of gamification and programming. It's a good combined niche! Well found!
Mocks are useful for providing state where it's queried from external objects. They are also great to verify that the intended external side effects of an action occur. verify isn't / unit tests aren't the right mechanism for forcing a particular implementation (which is what your example test does - why do you care if getHour is called, it doesn't update state in another part of the system?) Your tests should almost never never say "this method on this mock will be called X number of times with this result", unless it's something that you actually care about (in which case it should be the entire subject of the test).

The above test is much easier without mocks. You construct a date, pass it in, then check that the result is equal to the input plus 10 days. That's all you care about, so that's all you test.

Verify is useful if you have to update external state. If, in your contrived example, for whatever reason, you needed to keep a tally of all of the times that due dates were ever calculated and that was stored somewhere else, you might have a test that mocks your CalculationCounterClass and verifies that a method (addCalculatedDueDate or whatever) gets called on there...

Good, simple (and IMO brittle) tests that confirm what you care about are useful. Forcing a particular implementation through your tests is a drain.
For sure. I've always refused SASS and LESS as well. The reason being, if your design is simple enough, you don't need that stuff in the first place.
My solution to cloud storage has always been encryption. TrueCrypt, Boxcryptor, gpg with a frontend, etc.

If your files are properly encrypted you can safely store them anywhere you like, using whatever technology that best fits your usage scenario.
His point is: salaries are an expense.
How to set up a standing desk with a monitor.
Because really, things don't have value until they're sold. Until then, there's just assumed value.

He might have $400m worth of bitcoins, but can he actually sell them and get $400m for them? It would be tricky.
Heh. Because I no longer have the money to.
Apart from the guy not saying 'no, I am not the inventor of Bitcoin, you have the wrong Satoshi Nakamoto.'
It's an ideology. Ideologies are sort of intellectual trinkets that people keep for various reasons such as aesthetics or social acceptance, but they often bear no connection whatsoever to actual behavior.
RedGate has a ton of amazing tools. RedGate SQL Prompt hugely improves query composition.
Hm, how does this work? How can JavaScript be executed like that when it's included as an image?
Yep, the A-10c can take a real beating, but there's a huge gap between combat readiness and limping back to base for expensive repairs, assuming you survive the initial SAM strike. Much better to never be hit (or even seen!) in the first place.
i thought this was going to be about the Simple Object Access Protocol
After allowing the location lookup, I don't get anything in the 'cities in your view' drop down.
Jeez. Tanks?

You're neglecting one of the most valuable roles for the A-10: close air support for ground troops in contact.

In that situation (read: the entirety of our conflict in Afghanistan/Iraq) tanks had NO ROLE. You're fighting a highly mobile ground force that often have an armament/position advantage and that's where the A-10 CAS really really makes a difference. Nobody fought TANKS in Afghanistan.

Ask anyone who's been in contact with the enemy how they feel when they hear that distinctive "BRRRRRRRAAAAAP!"

It's like FSCKING CHRISTMAS.
Medium style time to read in Jekyll
John Galt hid in plain sight too...
Fedora To Have A "Don't Ask, Don't Tell" For Contributors
Oh I get the value of kind of "knowing the guy" but I don't understand the whole 'take down-esque' form the article took.

It would have been perfectly reasonable to use all that data and report that Satoshi is a brilliant, if quirky, guy living in Southern California. But to go through the hunt, the leads, the follow up, identifying his kids, family, and location. It has the feel of papparazzi taking pictures of Kate Middleton's panties on a windy day.
Article says:
>>Not because protecting consumers isn’t important — it is — it’s just that regulators should balance their goal of protecting consumers with the equally important goal of fostering a climate that welcomes entrepreneurs and innovation.

Of course nobody wants random mass-bitcoin-holding businesses imploding with robberies and scams, but I don't think I want it to be like Banks/WesternUnion/etc either. One issue in particular; I don't want this[1] to be possible with bitcoin.

1. http://falkvinge.net/2012/11/20/europarliament-scolds-visa-m...
Is 90 seconds to test a function "slow"? What about 4.5 minutes to test three functions?

If you say it's slow then either it's a bad test suite, and/or it includes integration tests. I believe that is the logic, yes?

There is no lower unit to test, so therefore this must be a unit test.

The linked-to page shows that testing all possibilities identifies flaws that normal manual test construction did not find. Therefore, it must be a better test suite than using manually selected test cases, with several examples of poorly tested implementations.

(Note: writing an exact test against the equivalent libc results is easier to write than selecting test cases manually, and it's easier for someone else to verify that the code is testing all possibilities than to verify that a selected set of corner cases is complete.)

Therefore, logic says that it is not a bad test suite.

Since it contains unit tests and it is not a bad test suite, therefore it must not be slow.

Therefore, 4.5 minutes to unit test these three functions is not "slow".

Therefore, acceptable unit tests may take several minutes to run.

That is what the logic says. Do you agree? If not, where is the flaw in my logic?
Ask HN: Is my iOS game too hard? (includes leaderboard data)
My first game, Frog Trip, went live on the App Store yesterday. It's in the top charts for the Arcade & Action categories, but I'm worried that it's too hard.

Here's the Game Center leaderboard data:

1130 Total Players

# OF POINTS ~ # OF PLAYERS

>20 ~ 13 (1.15%)

>10 ~ 44 (3.89%)

10 ~ 22 (1.95%)

9 ~ 23 (2.04%)

8 ~ 22 (1.95%)

7 ~ 36 (3.19%)

6 ~ 32 (2.83%)

5 ~ 47 (4.16%)

4 ~ 77 (6.81%)

3 ~ 114 (10.09%)

2 ~ 180 (15.93%)

1 ~ 520 (46.02%)

This data, of course, excludes the poor souls who couldn't score 1 point, or simply didn't bother. I don't have those numbers, but for perspective, the game received 2.08K downloads yesterday.

My goal was to create an exceptionally challenging game, but based on your feedback, I'm open to lowering the difficulty.

(By the way, the game is free and has no ads, so if you have an iPhone, might as well try it out. It'd be great to get feedback on the experience.)
The guys who came up with the mock object approach to TDD would say that you shouldn't be mocking external libraries directly. You want your own time abstraction which is probably far simpler than what you get from a library that has to satisfy everyone's needs.

I think that building that level of isolation between you and your framework or library is just basic good practice. The fact that you need time doesn't change, but the way that you get it might.
How to make others read my blog?
I would like to start blogging something about programming, I want other people to read my blog and leave comment, there always comes with new ideas with this process.

I actually have a blog now hosting on github, but according to the Google Analytics there's nearly 0 visit to my site. I wonder if there's something like a tech blog pool such that I can link my blog address there and once I release a new blog, it will automatically streamed into that pool, so that other people can read my blog.

Thanks.
That's a lot different. Credit card holders aren't even responsible for fraudulent charges. That's one advantage, but it takes a ton of infrastructure and cooperation to make that happen. There's plenty of room for a money transfer option that doesn't have those downsides, even if it gives up some upsides too.
Uh huh. You're saying this based on how many deployments?
I'm sure this is a silly question, but... under what law is it illegal to steal bitcoins, exactly?
Then why not simply say so? If she's misquoting him and he actually has nothing to do with Bitcoin, then he could easily sue for libel.
That 'crest the hill inverted' trick is insane... They do it because following the contour of the hill while flying right sire up would result in too many negative g's. By flipping inverted, the g-force is now 'down' (relative to the pilot) and they can pull a lot harder (since the body is much better at dealing with g-foreces in that direction).
HTML5 Mobile Never Looked So Good
Right. That confusion is what causes some people to think that a tax cut is the same as government spending.
Regardless of the truthiness of this blogpost, their ToS actually includes this gem (repeated twice actually, due to poor editing):

3.13 Subscribers may not use the Services in a manner that would violate the lawful privacy rights of any person, ... or embarrass, which shall be determined in DigitalOcean’s sole and absolute discretion.

So... if someone gets embarrassed by what you put up, DO just decides to take it down.

https://www.digitalocean.com/legal/terms/
From Linux command line, read a pdf 500 words per minute, with centered words, like Spritz:

pdftotext paper.pdf - | sed 's/\ /\n/g' | awk '{for(i=0;i<20-length($1)/2;i++)printf(" ");printf("%s \r", $1);system("sleep 0.12")}'
NJOY!

credits: www.twitter.com/berlingozzo

@just2n, the above command is so short I was able to tweet it! :))
Where do you live? I'm fascinated by your use of the word 'drinker', as if people who ever drink any alcohol aren't in the vast majority. Where I live (UK), pretty much everyone drinks alcohol at least weekly. Most people drink socially, within healthy boundaries (3-4 units per day is the current guideline), occasionally overindulging, often detoxing for a period of time. Whilst there are social problems caused by alcohol abuse, there is no way that in our society we would 'look down' on each other for consuming alcohol, nor define anyone as a 'drinker'. In my whole life I've met 2 people who are not 'drinkers', and one of them has a very rare drink from time-to-time.

As to your point, yes, of course hardly anyone who ever drinks never drinks more than one unit of alcohol per day; that is practically impossible. But many will drink on average, no more than one unit per day.
The final years of Irrational Games, according to those who were there
Asteroid break-up captured on film for the first time
Presumably under any theft law in any state?
yeah it's a thing I hacked on today :) (UX wasn't the main focus :P)
anyways, the dropdown will be populated when you point in the direction of a stargate with your phone ( compass or knob )
How to survive a job you hate
I think that means you've gone through the stargate and you're now in Alpha Centauri.
You know how in Keynote or Powerpoint, when you drag elements around they snap to certain guidelines? Like, if you drag a text box close to the center of the slide, it'll snap to being exactly centered. Or if you drag something close to a margin, it'll snap to a standard distance from the edge.

A "constraint" captures a relationship such as those. "Block A is horizontally centered in its container." "Block B's right edge is 20 pixels from the right edge of its container".

The layout is then based on those captured relationships.

CSS sorta works like that too. The difference is that this system has one general thing (a constraint), where CSS has a lot of very specific interacting properties (margin, padding, etc).

A constraint has basically the form

y = m*x + b

where x and y are geometric attributes of blocks. For example,

blockA.left = 1 * blockB.right + 20

The = could also be <= or >=.

Last, you can say that a constraint should hold with strength one of {required, strong, medium, weak}. In this demo:

http://gridstylesheets.org/demos/apple/

the "Change Mode" button is weakly centered in the panel, but there is a required constraint that it be to the right of the "Add" button. So, when the panel gets too narrow, the "Change Mode" button stops being centered.
The rational roots of integers will cause interesting interactions, because when you multiply them you get back integers. In other words, the fact that sqrt(7) * sqrt(7) is an integer means that sqrt(7) interacts with the integers when you adjoin it. This is not the case for a transcendental number like pi.

More formally: This type of interaction is true for an irrational number if (and only if?) it is the root of a polynomial with integer coefficients. If you adjoin the root of a polynomial P(n) to the integers, the properties of the resulting set of numbers (e.g. factorization being unique) can be related back to properties of P(n). The nature of the connection has to do with the connection between a set of numbers and the set of polynomials of with coefficients from that set, and equivalence relations on that set of polynomials that are induced by P(n).
Fun fact: The first time I tried ubuntu, in order to get my monitor working at its highest resolution I had to add a modeline to my xorg.conf

I had been previously using gentoo, where I selected the resolution from a gui. The difference was seems to be ubuntu adopting nouveau a bit earlier than they should have.
> It's important that the corner bank be under scrutiny because everybody knows you're supposed to put your money in a bank

There's actually a certain chicken-and-egg aspect to this, where "everybody knows to put your money in a bank," and is unsophisticated (i.e. uneducated) about banking, because the government promises to bail you out if the bank loses your money.

It's really not hard to get a sense of a bank's safety from a combination of the interest rates it pays (high rates are a danger signal) and third-party services like Weiss Ratings. No one bothers though, because why even care whether your bank is safe or not?
Why Venture Capitalists Love Foolish Startups
it's stupid..
use your phone to have a compass, rotate your device, and discover stargates to which you can teleport.

just a simple assignment that I found amusing.
Money and self-regulation is never a good mix and it has not even been 10 years since the last time we have all suffered the result.

Of course, the point is not doing it too early to avoid chocking the potential of bitcoin, but eventually, as bitcoin grows, after the power has shifted from the original believer to greed-driven finance professional, you will need regulation to rein them in.

Of course, we can dream that communities will be strong enough. But let's be realistic - financial world has the money and it is their job to play with it, it would make no sense for them to ignore something as important as bitcoin is becoming.
If you haven't used wyrd, go check it out. You'll thank me later.

http://pessimization.com/software/wyrd/
Facebook goes back to basics with latest News Feed redesign
If you can establish that bitcoins are personal property, then at least in California where I am, stealing is a violation of California Penal Code section 484a.
Binary Boolean Operators: The Lost Levels
I'd like to see how geographically grouped the results would be. Glancing at the data, I see lots of growth immediately around the convention center but it drops off as you get further out of walking distance. Rainey street and (dirty) west 6th win big. I wonder how much it drops when you go further than a 10 minute walk
Whoa there!

I'm a supporter of bitcoin and I got some funds in it... but I __definitely don't want__ etrade.com to be free of regulations the way bitcoin exchanges currently are!!!! I'm prepared to lose my bitcoin funds at any moment. Losing my funds in etrade would wreck me. I understand stocks can be risky, but most of my funds are in very low risk stock like SPY and AGG. Barring an economic disaster(2008 mortgages), I don't want those funds at risk for random theft or scams.

The only thing I think I want from bitcoin exchanges is to be FDIC insured. But I'm sure to get that requires all kinds of regulations to be followed undermining whatever bitcoin is trying to accomplish.
Disney Interactive Lays Off 700 Employees
I'd certainly be interested in knowing what the heck "select features" might be, and what exactly I can do with a development license for GH products... but it's really hard to see whats in it for me with such an uninformative marketing page.

I'm not yet making money off of my github integration, so I can't justify jumping to a paid plan just to see what this is all about...
Putt-Putt Perfection
The exchange itself would be impossible to shutdown or regulate. However regulatory agencies would be able to apply pressure at the gateway interface with the real world: the banks which accept USD wire transfers and issue "USDcoin" crypto tokens, as well as perform the reverse redemption.

It is entirely possible and I would argue acceptable that regulatory authorities require KYC compliance for these gateway entities, but that only affects people moving national currency in and out of the system. It's entirely possible that people will trade and do business in USDcoin without cashing out directly through the regulated banking gateway. This is a reality that regulators will have to get used to.
FreedomPop "Snowden Phone" privacy policy
how about

set my_pass="`pass email/this@email.org`"

[edit]
Looks like this is a muttrc line not a sh line. Sadly I don't think muttrc supports the far superior $() expansion..
Also, they require you to fill in a form providing your email address and zip code to even see details about the phone.
As I understand it, if you are doing mining as a business then you treat your mining hardware, electricity costs etc as business costs to be subtracted from your income when figuring your profit. If you buy some BTC at $100 and sell at $150 your profit is $50, as you would expect. Similarly if it costs you $100 to mine bitcoins that you then sell at $150 your profit is also $50.
http://www.w3.org/Graphics/SVG/IG/resources/svgprimer.html#J...
I don't disagree that it's tacky, and have a low opinion of gonzo journalism in general. However, the rise of personal reporting brands is bigger than one person or evne one publication.

As for bringing the guy's identity out into the opne, I am OK with that. If (as posited elsewhere on this thread) he owns or controls some 5-10% of the bitcoin economy,t hen a good number of other people have a legitimate interest in knowing who he is and how he might leverage that. Frankly, one reason I've avoided speculating in bitcoin was precisely because of the lack of information about this; a crypto-currency set up by some International Man of Mystery has a high potential of being a pump-and-dump scheme.
and I'll say that approach sounds nearly absurd.

I'd rather have a program that does what it does in X lines of code, than a unit tested, mocked, codebase in 5X lines of code. Sure you have tests, for whatever they're worth (I'm somewhat skeptical of TDD in the first place), but you have so much MORE code.
Just a nitpick: that's TDD, not unit testing in general. When unit testing guides the design, it's usually called TDD.

It's perfectly acceptable to write unit tests _after_ the production code, and to not have them guide the design.