skysight-inc/HackerNews huggingface dataset:
> challenge any claim that using something like TDD necessarily implies that your code will evolve a robust, modular design.

Obviously there is not "necessity" here. You can indeed add more coupling with wrong tests. But this is a side effect of some excessive cargo cult about TDD and you should not throw the tool away because some overuse it.

The claim that writing tests helps you define and describe you'r code interface still hold, and strongly.

I usually code in Python and run pylint on my prose. When it tells me I shouldn't call a private method or attribute from outside, it is for me a warning sign:

- I may not be testing the proper behavior.

- If I feel I need to test it inside, this code nugget has too much responsibilities.

- It may be the case that this private thing is really public (I am a private-by-default coder), but this is rare.

When you don't have the time to refactor it properly, I admit that in some cases there are only bad choices: writing a long unatomic scenario testing, testing atomically inners, or not testing anything at all. The later is the easy path for short-sighted development, but adding some testing, even subpar, is much better, because at least it shows Someone Once New How To Roughly Run this part of the code base.
States rights allows for smorgasbord of governmental choices that we should promote. Same sex marriage could very much be seen as a states rights issue. The problem with further and further removed, larger and larger governments is, where do you go to appeal?
Homestead is still up and running, though we did start culling sites that had no visits and no logins a while ago.

(I was a co-founder of Homestead.)
Same here. Well, it can't be any-old tiling mechanism, but nonetheless I'd be willing to try. Currently use awesome, though, which by and large is quite good. Do you use a tiling UI right now?

I do somehow prefer a more "mainstream" UI though, just because devs don't tend to think about awesome users (users of awesome, that is, and other minority UIs), and certain things just don't and probably will never work that well in awesome.
Well, whether or not you agree with Rand Paul as a politician, I think an actual discussion of the economics at hand would be more fruitful. And by the economics, I do not mean "regulation attacks our liberties and cripples the economy," but more specifically I'm interested in the following quote:

"Many of the calls for additional legislation depend on the false premise that there is a 'market failure' regarding cybersecurity, and that businesses cannot adequately protect themselves."

From what I understand, the Obama administration believes that cybersecurity is a public good, and that there is a free riding problem. One company finds a vulnerability or comes up with a new security solution, shares that information with other companies, and then everyone benefits. The idea is that many companies would assume that others will put in the resources to solve these problems, and that they can benefit from the resulting information.

Overall expenditure in cybersecurity may be increasing, however, I'm curious what the distribution of spending looks like across various industries. Are there a few players that make up the large portion of spending, or is it spread out among more companies. In the former, a free rider problem seems more likely, while in the latter I don't really see a problem.

Personally, I'd assume that many companies are very worried about cybersecurity and free riding is a minor issue. It's bad for a business' bottom line and reputation to have a security breach, especially if they deal with customer finances. Honestly though, I do not know enough about the industry and would love to hear from someone who is more familiar with the economics and incentives.
I was working at Garmin - it was a mix of C and C++ on the devices. Most of Garmin's devices at the time ran Garmin's own proprietary OS, usually called GarminOS. The majority of the low level system code was written in C or ARM assembly, and the stuff in the application layer was more generally C++. There was definitely some of the C/C++ you read about too.

I was happy with using C++ there - it didn't cause significant increases in code size, allowed STL container use, and was what I learned in undergrad, so it was easy. But it does present problems when you try to do everything the "C++ way" and get overzealous with OO design, then find out you now need to write a C wrapper so legacy code can call it.

We used the official armcc compiler iirc, which we had binaries for linux/windows/etc. There were issues with building the code with gcc targeted at ARM and with clang I believe, it wasn't a priority to get it working but I'm sure it could have been done.
A cron job script to capture computer activity
Maybe they are vocal because they don't want to die in their workplace? It seems quite reasonable to have strong view on such a topic. You view humans as disposable resources for making profit. Most of us view humans as human beings. Don't be surprised when your fringe views meet with opposition.

Some recent libertarian deregulation success stories:

https://en.wikipedia.org/wiki/2013_Savar_building_collapse

https://en.wikipedia.org/wiki/2013_Thane_building_collapse

https://en.wikipedia.org/wiki/2012_Pakistan_garment_factory_...

https://en.wikipedia.org/wiki/2012_Dhaka_fire

https://en.wikipedia.org/wiki/West_Fertilizer_Company_explos...
I have the feeling it's gotten some unwanted attention. Here's a cached version:
http://webcache.googleusercontent.com/search?q=cache:http://...
Google Cache: https://webcache.googleusercontent.com/search?q=cache:http:/...
so again, what's so wrong about staying at home vs. making new enemies all over the world all the time? What about Ron Paul policy? Get out of the rest of the world and focus on the economy at home.

We're too broke to afford more enemies.
It's not mentioned here, but I think it's in the book they mention (and the BBC documentary based on it): containers were "open source" in the sense that they allowed anyone to use the patents, which was vital in kickstarting the network effects.
He's not ignorant of his base by any stretch of the imagination, but I think it's still safe to say he and his father were libertarian freedom fighter hipsters, way before it was cool.
"in practice social convention among the Minds prohibits them from watching, or interfering in, citizens' lives unless requested, or unless they perceive severe risk"

One of the cute things about the Culture is how damned nice the Minds are - even when they are effectively gods to their meat friends/pets/therapists.
MATAERIAL - first method of 3D printing in the air
The method is interesting because it prints 3D curves, not 2D layers. This is awesome because 3D lines can actually follow stress lines of the shape.

It allows to print on any surface, even on walls and ceilings.

Moreover, the extrusion process is not affected by gravity as in other method that need gravity to adhere layers and thus it can be used even in space.

Even though the prototype shown on the website is quite far from immediate practical application, the potential seems to be very promising.
Try using "Regulatory Capture" as a buzz word in these sorts of discussions. It carries the entire weight of the argument in one convenient term.
Are you signing it manually? Or just doing some go-arounds with Bitcoin-qt? I'm really interested in this, but never found any python scripts or how-to's.

How do you allocate change address' etc as well?
Mint is currently my favorite distro. But the lack of encryption in the installer really makes it a pain to install. Manual mounting, chroot, setting up cryptsetup an all that stuff. So for a quick install I still prefer Debian which supports encryption out of the box.

Does anybody know about the encryption support in Mint 15?
... In platform shoes, standing on a box. Some special effects don't need CGI :-)
this is amazing, just what i've been looking for
I didn't see any mentions of Go yet.
Man, I've felt your pain. This quote gave my stomach knots:

"I respond half-jokingly that every day is either the best or worst day of my life, that I've experienced the highest highs and lowest lows of my short career"...

That is the most accurate depiction of startup life in my experience. Many times it is unfortunate. Many times it is euphoric. I wrote one of my mentors an email similar to that very recently.

Lots of people here are giving you advice like you asked - do this, do that. I'm not wise enough to tell you what to do. I'll only say this, you seem to love the product you are building, so there is something in this endeavor worth while. Obviously, you need money to live. You need to eat and have health insurance. That is your life we're talking about.

The stress is sometimes nearly unbearable, and you feel like you are all alone when you talk to your "normal" friends. But look at this section, 150+ comments from people who understand the stress, the frustration, the highs & lows. You're not alone. You can make it.
Why not? It's nice to make a fresh start, as with a new language you will not fall into your old habits so easily.
You do know that ONE person does not speak for the hundreds of millions of gay people worldwide, right ?
None of that means he is giving away as much as took in tax loopholes. I haven't read any official news story that Buffett is doing this. It's also quite possible he's doing so without publicly acknowledging it. However, I doubt it because he's rarely weary of giving a statement or interview even in his advanced age.
Massive, legacy codebase, C wrappers around new C++ functionality... to be honest I don't remember the exact reason. It mostly had to do with concurrency primitives not being initialized when they needed to be due to a lack of a way to initialize a class instance the same way POD instances are initialized (aka int x = 0 in global scope.)

You work with what you're given, sometimes! ;)
A corporation doesn't provide its services at the barrel of a gun.

ebbv, who do you not give a second thought to not returning their phone call? Someone from the government, or someone from Microsoft or Ford?
I don't think you're using the right terms for what you're describing. You actually seem to be against capitalism and an unregulated free market society. That is, you are against a world without regulation where the free market is allowed to run freely unchecked by government. However, this is not corporatism as it has nothing to do with corporations. In fact, corporations could be made illegal in capitalistic society by stating that business can only be conducted between individuals. One(capitalism and the free market) does not imply the other(corporations). I'm not sure if you'd still be against this(free market capitalism without corporations), but I imagine you would.

I think you might need to read up a bit more on capitalism, classical liberalism, libertarianism, crony capitalism, and perhaps marxism or communism. It might help you make your points better. There's a bit of each(and possibly others) mixed in your views.

Ron and Rand are libertarians. Also, Rand is more moderate and conservative(AKA republican in this case) than Ron. They don't always share the same views. For example, I doubt Rand would push the gold standard like Ron has in the past. This is one of the reasons I'd support Rand, but had my concerns about Ron. To be clear though, they are not corporatists. In fact, they(like most libertarians) very much believe that crony capitalism through extensive lobbying and regulation that prevents new markets from being created is precisely what's caused the somewhat recent rise of corporatism in the US.

As I'm merely trying to educate and not criticize you, so I won't go into why I disagree with your viewpoints. Though I'd like to point you to the telecom, banking, and broadcast industries to see what happens when government applies strong regulations on "corporations."
Oh, that explains why I need to run sudo with the -i option sometimes while using fish as my default shell! I'm going to try setting my shell to bash, and configuring my window manager to run fish in terminals. Who knows what other variables I'm missing out on...
Apple Mobile Devices Approved for Use on U.S. Military Networks
That's where I was at not so long ago until I realized that if you have no starting data, just copy over some data from your peers :)
Look at how others behave socially and start with those bits, it's not going to be easy but it is something to use until you have enough to bootstrap your own thing.

And remember even if it is weird, play along, things get better as you go. Keep making conversation (and always smile), it's better to be the awkward guy trying rather than the weird/silent/alone guy in the corner of the room :)
A criticism of computer science: models or modèles?
Unfortunately, Paul wasn't in the Senate for their 2009 vote on Ledbetter. But, do you honestly think that someone who opposes anti-segregation laws because they 'tell business what to do' would have voted for an equal pay bill?
Try signing up and see what happens.
Did you consider using Mint LMDE? It seems to be what you want:

http://www.linuxmint.com/download_lmde.php
I've been using and contributing to Virtualfish, which replicates nearly all of virtualenvwrapper's functionality. Highly recommended: https://github.com/adambrenecki/virtualfish
That's just a lie. Ah, the beautiful false equivalence... you will be nothing in 100 years, but you're something now. You can choose to be nothing now as well if you want, except that you're not, because you're something while you're here.

You've been given about a half-century on this planet; you're one of the luckiest groups of atoms in the entire universe to have agglomerated into a self-replicating sentient body that is on the brink of voluntarily expanding into a next level of its evolution at a more and more rapid pace.

At the end of the next century, the human race will probably be, as a whole, more aware and more advanced than ever before. And you, of all the agglomerations of atoms in the universe, get to be a part of it. You get to contribute; you get to be a cell in this incredible human race. And even better, you get to exist at a time when all the humans on earth are connecting to each other and spreading information and knowledge faster and better than ever before. We're becoming a human organism, we're cells in a great life-form, neurons in a giant brain; we're going to evolve as a planet now, faster than biology could ever dream.

Happiness is love, and love is the glue that binds us together like neurons, each knowing if only instinctively how important the others are to the great network we're in. You can isolate yourself and think that you don't matter and everything is futile, but if you do that, then and only then will everything actually be futile. Otherwise, you are very real, the time you have is real, your life is real, what you choose to do with it is real, and the results will—in some small or maybe big way—evolve the human race.

To me, that matters.
'But Obama is right on more issues than the Pauls are, IMHO.'

This is where you show your true colors.
No. People across the world do genuinely care about right to choose and same sex marriage.
There is a major difference. The Ukrainian government does not do anything about the piracy. In theory it might be because gov is in piracy's pocket, but most likely they just don't care. It requires inaction from them, which is usually not very hard. However, the US government does stuff based on hollywood complaints. To be honest, circumventing WTO rules aside, the USTR is simply enforcing the law that was passed by the congress, so the congress sits in the pocket of Hollywood, not the USTR, if there is any link.
At Google Conference, Cameras Even in the Bathroom
The future came crashing down on me this week at the Google I/O developer conference while I stood at a bathroom urinal.
Seamless integration into a Unix terminal environment is one of vim's biggest advantages. As an example, the ubiquitous plugin syntastic provides syntax checking for several dozen languages by simply passing your source through the respective command line interpreter and piping the error response back into vim.
In that sense, everybody is always putting up an act. Putting it a different way, nobody is ever really doing anything without taking context into account. So using a identifiable name could be described as controlling part of the context.
I think they are trying to replace text messaging. When you text someone you have no concept of their availability. If they were to add statuses, then you would never send a message to someone that was offline/away.
Working without servers
To add on this line: I was once having a Dimsum dinner with a friend's friend. The guy was French. He held the discussion for 15 mn about his trip to this island in Indonesia, and the sole purpose of the vacation report was to say how bad it was, from the shitty weather to the horrible hotel to the masochistic food.

I have spent 10 years in China, and sometime my own cultural atavisms do surprise me. Another example is the kiss-on-cheeks things, which I'm quite not used to anymore.
BubBye Zagat Restaurant Reviews:Hello Stars
Or unreliable.
I live at Brazil, and 3G connection here is awful, everywhere !
It really is.

There are people who believe people are predestined and struck in stone, and that there are good people and bad people, and that if someone is bad or lazy or has bad characteristics there's nothing that can be done, it's just who they are.

Those people are wrong and make horrible parents.
As usual, you can distinguish reality because it is the less believable of the two.
This.
Also my first impression was a city like Rapture in Bioshock.
I imagine recording and saving privately could / will easily become a premium feature.
Yes, I forgot that the UN has been a champion of the right to bear arms. Don't they subsidize the NRA?

Seriously, I'll trust Rand Paul, the one who actually has experience in politics, including the UN, rather than the one throwing the conspiracy smears.
Neither of those are as rough as rugbrød you get in Denmark. Trust me, I've tried both of them. I've even shopped in Rewe. But they always seem a bit like brown white bread to me.
a theory of good and evil for the analytically inclined
Metaethics.org is my shot at setting up a "theory of good and evil" that works for all you fellow hackers and analytically inclined people. What do you think?
Oh, it's Albert Omoss... I was wondering why Alberto Moss didn't find what I was looking for.
> And like someone pointed out, English is not his first language.

I didn't register that part, no. In that case his use of English is fine. The emoticons, not so much for a blog post.

I still don't agree that writing this sort of post is professional or will do him any favours.
Exactly. I actually kinda liked the ideas behind WebForms - the ViewState thing was a clever way to shoehorn statefulness into the Web. But the abstractions in it were so leaky and brittle as to be worse-than-useless. The page lifecycle was a nightmare, data-binding was frustratingly finicky about types and parameters (and it was always a roll of the dice whether a given component would use empty strings or nulls to indicate an empty value) and so on.

Web forms was full of half-assed abstractions. Every postback it re-built your control tree and re-applied the viewstate, but any actual additions or removals of controls made in code-behind were not part of this rebuild and viewstate application, so it completely half-assed the control rebuild and thrashed its own abstraction. If you added a new control dynamically on one postback, you had to re-add it every postback, which demolishes the stateful model it presents with respect to the properties of controls.
This morning I listened to the latter part of Lecture 2B:

(define (cons x y)
(lambda (m)
(cond
((= m 0) x)
((= m 1) y))))

(define (car z) (z 0))
(define (cdr z) (z 1))

As Ableson says, it's made of air.

SICP is not a functional programming course - changing values and creating state comes in Chapter 3 [2nd Edition]. It is a course in the creative use of wishful thinking.
It would be great if Apple up and acquired RubyMotion. As it stands I'm hesitant to invest serious time in a system that isn't a first class citizen of the platform I'm building for, especially since there are things I actually like about Objective-C (despite coming from a Ruby and Python background).

I'm only a few days into using RubyMotion so I haven't formed a complete opinion yet, but my current concern is that I will end up becoming skilled at using a set of gems instead of becoming skilled at using the platform.
Nice job! I'm not big on the typography on the cover. I think the idea is great, but could be better designed.
I think this is even more advantageous for the entrepreneurs than it is for Dalton. He is an absolute legend. He's been fed more crap, and has been on the cusp of more trends than most other entrepreneurs I can think of, and still has a kick ass attitude. Awesome work YC.
We plan to release an official node.js SDK soon. I don't have a specific date, but it should be relatively soon.
No, it's not. It was made-up in the 1740s, and has never really been followed as a rule that closely.[1]

Or from Geoff Pullum[2]:

>"Avoid singular they if you want to; nobody is making you use it. But don't ever think that it is new (it goes back to early English centuries ago), or that it is illogical (there is no logical conflict between being syntactically singular and semantically plural), or that it is ungrammatical (it is used by the finest writers who ever used English, writers who uncontroversially knew what they were doing)."

1: http://www.newrepublic.com/article/112896/tyranny-pronouns-f...

2: http://languagelog.ldc.upenn.edu/nll/?p=89
It's a little complicated, it's also possible to use iPython, an enhanced Python interpreter, as a shell quasi-replacement on Windows. (It's even more powerful in combination with PowerShell.) Features:

It has tab autocompletion. You can send commands directly to the underlying system shell with '!' (e.g., !dir) and save the result in a Python variable for manipulation (a = !dir). It has special commands called "magics" that let you do neat stuff that the standard shell doesn't, like time how long things take to run. It has a robust command history.

What this means is you can write Python code as your shell scripting language.
The article says node.js support is on the way.
The Game is a superficial childish half-assed douche version of the truth.

The truth is you have to be confident and genuine, treat women like people, meet a whole lot of them, and actually try to find someone you get along with and like.

There are no shortcuts to that; you can't simulate it. The Game might get you to fake-it-til-you-make-it, but that's about it.
But the policy goal is to eventually have gun registrations and eliminate global gun ownership over time.

The UN Arms Trade Treaty does create an international database of dealers, brokers and affiliated workers in finance, security, transport etc-
http://en.wikipedia.org/wiki/Arms_Trade_Treaty#Criticism

All this is gradual, incremental steps towards a defined ideological model-
http://en.wikipedia.org/wiki/Economic_integration
There were some interesting comments below the post hinting that a lot of these services are themselves using CloudFlare to protect against being taken out by their competitors. The advantage to CloudFlare apparently being that these booters also drive more users to their own services.
It's not just globals with constructors and the order is not obvious. For example, few people (including yours truly) realize the whole complexity of the code like this:

const float epsilon = 0.001f;
const float one_sup = 1.f + epsilon;
const float one_inf = 1.f - epsilon;

I once spent a day trying to figure out what's going on when similar code suddenly (like after several years of constant use without any issues) broke.
Show HN: Generate a schedule of films to see at the Seattle Film Festival