skysight-inc/HackerNews huggingface dataset:
> To mitigate this we can use locks around the statements that update the counters. However, these locks are expensive and we’ve been hesitant to place locks around all the counters just to make sure they are accurate. Performance over accurate statistics, right?

Does this mean the Varnish authors have intentional data races all over the codebase? Can't the compiler do whatever it wants in these cases (because it's undefined behavior)? Can't this completely blow up?

http://software.intel.com/en-us/blogs/2013/01/06/benign-data...

Edit: I'm not an expert on this stuff so I'm probably wrong -- maybe someone can tell me what I'm missing.
really useful, quick to set up, nice console, and a lot easier than setting up port forwarding and dyndns. Thanks for an immediately useful tool!

P.S. I hope you're not retaining all the data that goes through your server. You don't want someone getting all snowdenny on you.
RTG: http://en.wikipedia.org/wiki/Radioisotope_thermoelectric_gen...

Basically instead of having a big complicated nuclear reactor, you just throw some radioactive material in a package, let it decay, and generate electricity off the heat. It's mechanically much more simple and has the bonus of not involving critical masses of radioactive material ;)

Not very realistic though. Besides the obvious issues of carrying around lumps of plutonium, they're rather bulky, and disposal is a pretty major problem.
LOL, cause everything is better if it's rewritten in javascript.
You can get a refund within 30 days.
I highly recommend Paul McKenney's blog series on this topic:

http://paulmck.livejournal.com/tag/transactional%20memory%20...
Indeed, that makes me wonder how many non-Christians there are worldwide. And how many people that are opposed to the Christian religion...
Stallman supports knowledge as much as freedom.

Probably the reason that you can afford raising kids and buying them toys, is that at some point of your life you got educated, you learned to read, write, you learned math and everything else needed to land your job.

If one can hide how he made a plastic toy through legislation, then tomorrow the legislation may be used to control what one is allowed to learn.

True equality requires access to and sharing of knowledge.
This sounds like a loaded question. ;-) But in all seriousness, I think one of Steve's big contributions was rejecting the constant calls for tags, and opting instead to implement subreddits. (I'm just a guy watching from the sidelines; I could be wrong on some of these details.) It's a good reminder that listening to your users is not always the right way to make something they want.
Am I the only one who thinks that ARC in a language like Ruby is probably impossible? Even with Objective C they had to add 4 new variable qualifiers, and put that burden on the programmer to use them properly.
5 billion?
Well, the suppliers may face a federally-mandated price ceiling, but they also have a federally-mandated monopoly on their own product (copyright).

It's not like you have a natural right to prevent people from copying your stuff - we grant that right as a society, subject to very definitive limitations.

The real issue here is piracy -- if Pandora didn't have to compete with free, they could raise their prices and this whole issue would go away. As long as piracy exists, the price of music will be driven down. You can't blame Pandora for that.
How to Think About Event Data
Apologies for the basic question, but why would this 'analog' (is that another system? An abstraction?) have this issue if it is using ARC? Isn't ARC just a flag in XCode's compiler? If RubyMotion turns it on, wouldn't XCode make all the necessary arrangements? Again, I simply want to understand; I'm not trying to make a point.
Ask HN: Good book for surveying current professional software development trends
Software development/Engineering today not like the sciences like physics or chemistry where the fundamental practices are solidified. Its more like GAAP in accounting. There are certain ideas/practices that are widely accepted, but for the most part everything good (good software, good design, good architecture, good solution etc) is subjective. Is there a treatise out there that serves as a good reference to current trends that are widely accepted today ?
Let's just ignore him. He's trolling.
You make it sound like it's impossible to ejaculate/masturbate without using pornography. Watching pornography isn't a bodily function. Moreover pornography [abuse/addiction] doesn't simple allow ejaculation, it encourages you to seek more sexual stimulation.

>Some porn is bad, but watching it certainly is not. //

Being a part of the system that stimulates the production of more pornography means you have a part in any moral degradation that causes.

Perhaps you meant something else but suppose the porn you watch is of a genuine rape, are you really going to say that "paying" for that to be done is not bad?
Thanks for sharing this, it's always nice to hear how other people are set up. Out of curiosity, how do you serve your static files?
Firstly, your layout isn't unique, but more importantly the website in question didn't do anything illegal or immoral.

You followed pretty standard layout designs that are simply attributed to the responsive web revolution.

Your site uses the stereotypical responsive website layout. One could even say you stole your design from 1000's of other websites before you.
I never claimed it was primarily empathy. But imagine watching porn where there was no emotion expressed. Uninterested faces and motions. Absolutely no expression from the face, not even flexed muscles or anything to indicate enthusiasm. Pure and simple intercourse. It would look like nature, simple utility. That is not arousing.
The shill submitter and commenter!
After a few hundred points you can change the color of the orange bar at the top. I really like this. Mine is set to F6F6EF, the same as the tan background behind all the content.

Flagging powers are also a nice thing to have if you spend any time at all in New.
Think of the bright side - becoming aware of the perils of third-party platform toolchain you are likely saving a huge number of hours and frustration for yourself in the future. For example, I still regret using Google Web Toolkit, and for a few years now, but I'm sort of stuck with it.

$200 is small potatoes.
You bring up an interesting point that reminded me of an article I read a week ago about how Germany does the exact opposite (with overall better financial implications):

http://www.economist.com/news/special-report/21579145-ingred...

"Germany managed to avoid a surge of lay-offs after the financial crisis and has done far better than others at getting the young and the hard-to-employ into work.

How did it manage that? Most explanations heap praise on the Mittelstand model and the system of vocational training. Firms such as Storopack or Rösch take on apprentices, mixing practical training with classroom tuition."

Of course, this is NOT the only reason for their current financial prowess in Europe, but a contributing factor
Marriage, civil or religious, is always a compromise by the couple before the society that they will be together for life. The parent comment does not need the crutch of religion, it holds perfectly well using the regular definition of marriage.
I have a charged external 12 AmpHr battery in my briefcase. It helps a lot.
It's wrong for Java. "final" is not what is usually called a constant there, "static final" is. Also, who ever uses special prefixes for statics?!
Thesis: typical development processes of free and open source software projects
Creating Living Style Guides to Improve Performance
Whereas, in your vast experience, you found that Flask webapps don't work?
Great ingenuity in finding authentication flaws. It's exactly what I told a friend who is learning programming...it's all trial and error.

Every time I hear the reward amounts, it entices me to divert my attention to finding bugs and loopholes in systems. :/
True, we learned from these mistakes.

Slavery is an unforgivable stain on our souls, something we'll have to live with for eternity. The same goes to the relocation and genocide campaigns against Native Americans. We've never allowed ourselves forgiveness for those sins and we never should.

The brutality in the Philippines sickened Americans to that point that the old colonialism had be traded in for quiet skullduggery. We also learned from the internment camps. When cries came out to round up everyone of middle eastern descent after 9/11 we ignored them and made new mistakes.

Deep down we Americans know that if there is a Hell we probably deserve to go to it, but that doesn't stop us from trying to learn from our mistakes. We are fatally flawed, not essentially evil.

That is the real battle over all of this. It isn't state secrets, but a generational shift. The young live with the cynicism and pain of past mistakes and can't figure out why the old continue down broken paths. Unfortunately, today's young will have to let the generations that follow walk with the knowledge of our mistakes. And what doozies we've handed them: Eternal War, torture and deep resentments and distrust between state & citizen and citizen & state. I wish them luck.
The Citizens United decision was fairly narrow in scope: many kinds of campaign finance regulations are allowed to stand, except for restrictions on political speech by corporations and unions.

However, I just find it silly that many HNers claim to be unequivocally for political speech, when they're clearly willing to restrict certain kinds of political speech. The latter is an understandable position: I have plenty of concerns about money in politics leading to electioneering, I just personally think the cure has potential to be worse the decease. I'm all in favor of campaign finance regulations that do not restrict free speech, but I'll acknowledge that they may be less effective comparatively[1].

In general, I think it's important to acknowledge that there are trade-offs between liberty, safety, and equality and state which trade-offs one is willing to make. Equivocation or wishful thinking just makes one look dishonest ("will you buy my 100,000 node commodity-hardware distributed database that has 0.00001 ms latency, read-committed transaction isolation, and 100% uptime?")

[1] That said I doubt restrictions on speech will fix the problem of rent-seeking by moneyed interests -- it will continue through other channels; however, now these moneyed interests will have another tool at their disposal: politicians' ability to restrict political speech, e.g., MPAA lobbying congress to restrict the ability of ACLU/EFF to oppose parts of the DMCA.
Good idea. Needs more conventions. And more languages of course.
Totally right. In fact, I was fighting with him during our YC summer about implementing tagging (which I also wanted, because we'd be able to spin up new verticals much much faster than trying to build new communities in new subreddits). I'ts a very good thing he won. More on this in Without Their Permission....
Facebook isn't a startup; I'm surprised it took 2 days to be honest. This should have been an all-out panic mode, level-1 alarm and push.
and "transgender", which is a nice touch as far as this goes.
I do publishing and we go straight Indesign. Covers are made in Photoshop.
Only as regular files, but with the write lock you can be sure that they don't get deleted.
Hometown hasnt chnaged at all
With Nginx as a reverse proxy whenever possible.
Safari does have typed arrays though. I guess added in the browser, not in JSC itself?
>In the eyes of the law, it's a partnership, and one that can be dissolved for 'irreconcilable differences'

This is a relatively recent development, and imo it's incorrect and demonstrates that the foundations of marriage as a serious social institution were dissolved a long time ago. The fact that people no longer think of marriage this way, and the further fact that our courts and laws have acquiesced to this ridiculous opinion, bode very poorly for the future of stable society.

>Personally, I think this is the problem with calling civil marriage 'marriage' - It means an entirely different thing to various religions.

No, again, this has nothing to do with religion at this point. Marriage is supposed to be legally binding. No-fault divorce is a new (and imo vastly problematic) thing.
I believe Flask actually has the advantage in the ORM since you aren't tied to Django's strictly RDBMS structure and Flask will allow you to easily use NoSQL solutions if that's your thing. Flask with SQLAlchemy is just as powerful as Django's ORM.

Flask does have an admin plugin but it's nowhere near as good, polished, or documented as Django's.

Django does have the advantage of a bigger mind share, users and ecosystems.
This is a set of non sequiturs. First, raising money in IPO doesn't mean business is profitable or even viable - it only means whoever bought the stock think it could be in the future. They may be very well mistaken, especially if conditions change - such as royalties are increased or another regulatory or technological change happens. Increasing listeners also doesn't make it more profitable if they spend a lot of money on royalties - if they pay in royalties and associated costs more than additional listener brings in, more listeners means worse situation, not better. For Pandora's sake we'd hope it is not so, but the increase alone does not contradict Pandora's claim that royalties are too much to make a profit.

Also, Pandora does not complain that their largest expense is music, it complains it is so large that it prevents the possibility of them being profitable. It may be true or untrue, but the opinion in USA Today distorts it. Pandora doesn't claim it doesn't want to pay it all, it just wants to pay so that they still could be profitable.

Additionally, even if Pandora did make enough money per listener, the fact they spend a large portion of their revenue on royalties indicates that if this portion increases, their profit margins will vanish very easily. This is not contradicted neither by size of their IPO nor by number of their listeners, because this is a marginal game, not summary. So their argument is "if royalties increase, we die". The opinion you quote does not refute this. Of course, you could say "ok, so Pandora dies, who cares, good riddance, they should have built their business better" - but that'd be completely different argument. And on this argument one should notice that in this case the authors probably would get $0 royalties for internet performances if no viable business would be possible for it.
fight the NSA, that sounds like a patently bad idea.
That's a really misleading rhetorical question. Attic actors wore masks and were expected to melt into their roles; what would you say if an Attican asked you "How many theatrical technicians do you remember?" Something more appropriate would be "How many playwrights do you remember?" Many poets not only wrote their own scripts but also directed them, having bigger roles than our famous contemporaries. History notes quite a few. I can name four right off the top of my head: Aristophanes, Aeschylus, Diogenes (different man from the philosopher) and Euripides.
It's NOT using ARC. It's using an "analog" (in the original post's words).

With which he means "a substitute", "a similar tech", "their own implementation of the same concept", "something analogous to ARC" (hence the "analog").

(Most people know "analog" only as in "analog vs digital", but it was immediately obvious to me, because I know the etymology of the word from the original language it was adopted from.

Btw, the english dictionary definition that's closer for such a use of the word is:

1. An organ or structure that is similar in function to one in another kind of organism but is of dissimilar evolutionary origin. The wings of birds and the wings of insects are analogs.).
People do not have to marry to be together. Marriage should be regarded as an important step, where you promise to your peers that you will be with your spouse until the end of life. This is valid even without religion.

Have a different view? Can't commit to such a long time? That's OK. Marriage is not mandatory in a relationship (and for some people it's in fact detrimental). Just don't marry and live happy.
Why would feminists get to decide what is acceptable porn?
For python, it seems to consider tabs as 4 spaces and take the character count of the line. https://github.com/outsideris/popularconvention/blob/master/...

It seems to only look at commits, (so it doesn't consider the entire file, though it's certainly possible to do)
While I am against DRM, what I do like about this becoming implemented is that videos can be encrypted in the file system then distributed over HTML5. This will be good for "private," videos...it's the only positive I can see.
Ruby already has garbage collection, so clearly GC is not impossible at all.

And there have been successful bridges from Python/Ruby to Obj-C that had GC too.

Now, ARC, or something similar for RubyMotion, is a different take on the matter. I don't know why they want that way instead of an actual GC.
RubyMotion doesn't use ARC (or Xcode) at all -- it doesn't produce Objective-C code as its output, but executable bytecode intended to be run on the target. The output of Objective-C and RubyMotion, that is, is the same. So you need an equivalent implementation of ARC in RubyMotion to deal with memory management, unless you want to do it manually, which wouldn't make RubyMotion very Ruby-like at all.
Enjoyed reading through the approach you take and I'll spend some time reading through the code tomorrow to see how it all fits together. It's surprisingly infrequent that an article pops up describing the thought process behind using a specific structure for your code - thanks for taking the time to write it up.

One thing I've done differently on my last couple of projects is to put the core parts of the app into their own packages at the top level and to make a 'web' package that just contains the web interface and the config. That way I make sure that the core application code isn't bound to the web framework at all. Then within my web blueprints they import the bits of the core library they need to do their work. I can then use the main bit of the library myself without having anything to do with the flask app.

The web app itself is responsible for creating a db connection and then injecting that into the core when needed. I've made a simple gateway class that wraps the db connection and deals with persistence.

The data layer is the bit I'm least happy with. Mostly that's because I went with a nosql solution for the db which ultimately has made the data model more complex than it needs to be. Tomorrow I'm going to experiment with switching to SQLAlchemy again to see how that effects things.

Definitely not saying it's the right way to do things but it's another take on how you can structure things and it's been working really well for me. Feels like you're writing an application first and a website second - which changes how you think about the code.
Were there any indications from the previous outage if there is a particular website being targeted? Or is it more likely meant to hurt Zerigo as a whole?
One argument I hear a lot is that self taught programmers can teach themselves the theoretical stuff later on their own.

As you mentioned, one problem is that you wont have the direction. I think some other problems that are often overlooked is that you wont have the drive, or the time.

When you're in college, learning is your full time job. You have deadlines and requirements for that learning. All of your time is dedicated to it.

If you try to teach yourself these things while working, are you really going to be as dedicated to it as a student can be? In practice, I don't see this happening.

Another complaint is that you're not learning the applied skills you'll need in the industry. My view on that is that you have your entire life to work and learn the tools of the trade. You only have one real chance to go to college and learn the theoretical stuff.

If you're burnt out on school, by all means, take a few years off, see how the working life is, save some money. But before long you'll have more responsibilities, maybe a family, and no time. The longer you wait, the harder you'll have to work to go back to college.
Infovore: A Open Source MapReduce Framework for Graph Data
that's some great insight! thanks for this.
Speaking as a formerly closeted person, this is an exact thing I did in school because I didn't want my parents to find out, since they are deeply Christian.
The copyright here is essentially nullified by the compulsory licensing. Without congress, Pandora would have to negotiate directly with the labels (see Spotify's much higher payouts and upfront licensing fees), and with congress, the labels can't even take their music away from Pandora if they don't like the price.
>That's fine for you. Other people have different priorities in their lives. And elevating the sanctity these abstract entities known as "institutions" to the point where they feel miserable, trapped, and unfulfilled do not count particularly high among them.

No, that's historically what it has meant to be married. When married, if you have negative feelings, you are expected to resolve them peaceably and well. It is supposed to be illegal to just quit because you can't handle your own emotions.

Again, there are a handful of very basic exceptions where a dissolution of the union is allowable, but part of the reason marriage exists is to provide that relational stability -- marriage is about the covenant with society much more than it's about either of the spouses or their feelings, which disciplined, mature adults are expected to control.

>Again, maybe not a deal-breaker for you. But for other people... I think you see what I'm getting at here.

Yes, I see what you're getting at. You're arguing that marriage has no formal definition ("It may mean that to you, but...") and is therefore a meaningless abstraction in the macro sense. This is not the way things are supposed to be, but I agree that the prevalence of no-fault divorce makes it effectively realistic. This is a very bad thing.
strikes me as odd it doesn't offer ruby as a choice when Github started life and became popular catering to Ruby/Rails devs
You cut images and layout from InDesign? What do you mean by Covers?
The Obama economy.
The bit relevant to me was this:

"The company is announcing the new feature this morning, working with partners including MakerBot Industries, 3D Systems, Afinia, AutoDesk, Netfabb and others."

So, are those nice folks on a standards body? Or are they each going to be putting forth a model where they supply drivers that somehow convert .obj or .stl models into whatever makes their printers happy?

The current solution works so well precisely because it isn't all locked up in goofy proprietary formats and comm methods.

I don't want you to think I'm an anti-Microsoft zealot here; I'm just making the completely reasonable observation that this could be a repeat of all the nonsense that we've had to deal with from 2D printers.

A better announcement would've been "Microsoft pushes for open standard for 3D printer communications, supplies open-source reference driver and API". Then again, that's still not as simple and useful a solution as old G-code.
"Average work with average talent" should NOT equal average wage because people should be self-selecting in to things they are above average at as a profession. As a society, we don't want a bunch of mediocre musicians, we want only good ones.

This sort of explains why many areas are winner takes all or extremely exponential in wage/quality.
Show HN: Funding local businesses. Thoughts on UI/UX.
Windows 8.1 Preview now available