skysight-inc/HackerNews huggingface dataset:
I would love to be able to wake up on a morning, fill my day with inspiration and have solutions come to me immediately as I worked and do that for a solid 8 hours and crank out thousands of lines a code every day. Isn't ever going to happen.

Today I wrote 3 lines, they were really important lines, they took me 4 hours. 3 hours and 59 minutes to work out what had to happen, why and how and 1 minute to type it out. Then I was done for the day. Was it a productive day? Depends how you look at it really, I could have spent 8 hours writing reams of code to achieve the same result. I measure how productive today was based on how many lines of code I didn't write.
Sorry, by "answers" I didn't mean final solutions to every problem. I don't assume that there are answers to existence... not in the certainty of death and taxes sense. I meant that there was a direction to go in that was far superior to where they were. In programming terms, a superior local optimum was already evident.

To what "first steps" are you referring?
Wasn't the "The Oatmeal" that made fun of a lawyer? http://en.wikipedia.org/wiki/The_Oatmeal_and_FunnyJunk_legal...
> That said, did you see the recent Swedish study of 125.000 companies that proved women-run companies makes 15% less profit?

Proved is a strong word, especially when evidence to the contrary also exists: http://www.dailymail.co.uk/news/article-2438150/More-female-...
Drone drops cocaine into prison – Sao Paulo, Brazil
Eh, I wish I was so interesting I cared.

I think it sounds interesting. I signed up as a backer. If I learn one interesting thing it's probably work the $53 USD I've pledged.

I sincerely doubt it will ever replace introspection (not that everyone is as wise as you who understands your life only through that way and no other) as the primary source of my understanding of my own existance.

But I also didn't view it from the lens that it might.
> USSR and the "really existing socialism" states had little to do with the theories of Karl Marx (besides the basic lip service paid to it).

Even in theory (leaving aside practice) there is a pretty big divergence both in the approach prescribed by and prerequisites/target environment addressed by Leninism from that of Marxism. Leninism was by its own terms, a system that sought to acheive the goals of Marxism, but adapted the means to an environment which had not yet met the conditions Marx saw as essential. Marx wrote about problems in the developed world of his time, and approaches to correct them that built on the present condition of society in those developed countries. Lenin sought to adapt that to address the conditions in a far less developed country bypassing the kind of economic and social development which Marx saw as setting the stage for the change he proposed.

You can't fairly criticize Marxist theory based on Leninist theory or practice.
There are current solutions that are just as good at letting you "watch movies." What you actually find to be "subpar" is the timeline for current movies to become available on those other solutions. So this has little to do with a lack of good tech and mostly to do with people not wishing to be held to the content owners desired timeline.

EDIT: switched words (nothing/little and only/mostly) to avoid absolutes.
How to hack Hotmail
BYOD Doesn’t Mean “Bring Your Own Data Breach”
Only the creation of physical things apparently counts as real productivity...

I wouldn't get too hung up on physical things. Writing is an act of creation, but the product isn't physical. Same for software, or music, or films or television, theater, and so on. Service occupations from waiter to teacher can be seen as creation of experience, creation of value, creation of potential. Even a political campaign creates an organization, loaded with new associations and connections.

I can see how those acts of creation are distinct from many of the financial games ("...our hand in the next guy's pocket") that make headlines, games which don't seem to create anything at all.

I didn't even see that show, but I think I understand what the quote must have meant in context.
This is very, very familiar. I'm working on a library in which I'll be implementing something quite similar very soon. It actually reminds me quite a lot of the actor model - as each event loop is essentially an actor which receives and sends messages through channels. Background follows:

I'm the author of a Haskell library[1] for interfacing with HyperDex[2], a distributed database produced by some folks at Cornell.

The client-side library for HyperDex uses an event loop, and is "thread-safe" to call into as long as you synchronize access to the pointer. This is an awkward area to work with in Haskell-land, as the code I write has to deal with the intersection of the three uglies:

* Foreign function interfaces (and marshalling)

* Mutable resource management (allocating and freeing C-structs)

* Concurrency (synchronizing access to an object)

I've tried a variety of implementations. To speed up testing, I wrote a "fake HyperDex" client and test harness in which I can insert chaotic behaviors to test resilience.[3] While the code isn't as clean as I like right now, it lends itself to the smallest, most compact implementations of what I want. Each HyperDex connection pointer is paired with an event loop which receives requests for calls into HyperDex and processes them. When a response is demanded, the loop begins a busy-wait (will soon be replaced by an epoll/select on an fd) on results from the database. Each asynchronous request is an event loop too - a free floating closure sitting in memory that sends off a message and waits for responses.

GHC's garbage collector will determine when waiting on an MVar or Chan is deadlocked, and keeping everything in a ResourceT monad ensures that the whole system gracefully closes when portions fall out of scope and are unreachable.

The approach has a certain elegance to it. I am curious to hear what other people's thoughts are on such implementations though, because there are naturally performance implications.

[1] https://github.com/aaronfriel/hyhac

[2] http://hyperdex.org

[3] http://lpaste.net/101084 - a hodgepodge of code I wrote to test implementations - ill-documented, this is just for personal exploration and testing
"While there are no known deaths attributed to dehydration during marathons, there have been multiple deaths caused by overhydration, or hyponatremia."

Hyponatremia is not overhydration, it's just a consequence of overhydration. Hyponatremia is a decreased concentration of sodium in the blood plasma[1]; drinking lots of water can flush sodium ions out of the body.

(The term comes from "natrium", which is the Latin word for sodium, which is also where the element's symbol, "Na", comes from.)

[1] https://en.wikipedia.org/wiki/Hyponatremia
Is there really a necessity of yet another 'secret chat app?'
Handy bookmarklet to display w3c navigation timings for any web page
After every HN article about the next best programming font I go back to DejaVu Sans Mono, so you may be on to something here.
>The minute you take away the natural freedom of the big strong man to beat the nerd to death and take all his stuff, you're "structuring" society. After that, you're just arguing about what sort of structure you prefer.

Wisest words I've read so far on HN.
For those wondering, I finally got an explanation from them. It turns out they had a leak in 2012:

https://blog.dropbox.com/2012/07/security-update-new-feature...

It's surprising to me that my email address took 2 years to be used, but who knows.
Project Ara: Inside Google’s Bold Gambit to Make Smartphones Modular
Based on youre asking this, you fall into the poverty bucket.
Woman's auto-payments hid her death for over 5 years
How To Mine CryptoCurrencies With An Nvidia Graphics Card
Meet Nanuqsaurus, a diminutive Tyrannosaur unearthed in Alaska
I loved the games. They aren't simply demo projects, but real, interesting & challenging games! Good game play, actually enjoyed them! :)
I use Secure Shell on my chromebook to SSH into vim. It's pretty nice.
mind explaining what hg push/pull do to a git only user?

perhaps it's that i'm just only used to git's definitions of the words, but they seem symmetrical to me in the sense that they both try to synchronise history, either upwards or downwards.

i can't really imagine what a pull would do differently than a merge or rebase that would satisfy the idea of synchronisation but be more symmetrical as you describe. i'd really appreciate an elaboration.
On a low startup salary? Get Obamacare discounts for your health insurance
My current job I got through HN, in addition to a number of interviews. Not a YC Co though.
One could, but most likely one would need a proper morphological analysis[2] to make it work correctly for the endless possibilities to combine words in German. Pretty hard to implement in the browser, but maybe an 80:20 like approach using a good dictionary could help for common terms in combination with slowdown on terms it doesn't know how to split.

[1] for example, one could use wiktionary data and try to extract how to properly separate common terms: https://de.wiktionary.org/wiki/Schifffahrt

Edit: [2] German demo of how that usually looks http://www.tagh.de/demo.php (not affiliated)
Snark aside, I added a bit to clarify that the first example is contrived, implemented as such for illustrative purposes, and a mutex would actually be a better choice in the trivial case.
Mobile Fintech hackathon  WeWork Lounge NYC $5K Cash Prizes
Totally right!!
I trained myself to read two lines at once, but a tool that takes the burden of putting the pieces of the sentences together in the mind would be very very welcome! It could display two words ontop of each other that would otherwise be next to each other.

UX shows that this is the most digestable way to consume information.
Going vertical should be preferred over going horizontal.

Please please somebody, would you give nilkn's idea an ear?
Do you have a video showing off your game? It looks good in the pictures but I'm curious as to how it looks in movement.

What are you developing them with?
Great story! Amazing what you can achieve in such a short space of time if you're focused and dedicated.
same here, with Firefox.
What's the hurry? Take your time and think what you read, people! :)
CSS Notifications, Hidden Form Posts and more in Week #4
Beyond Source Maps
Marx != Marxism... There is a huge gap between Marx' writings and what Marxists made of it. I guess most people agree that Marxism was bad. Not just that it didn't work economically, but that it led to undesirable, authoritarian societies. Problem is, Marx didn't advocate what was later called Marxism. In fact, he famously said "je ne suis pas un marxiste" - "I am not a Marxist!".

That article is misleading and tendentious in many ways. I was going to write a post debunking it, but I honestly didn't manage to get to the end. I found it's just not worth getting worked up ("Someone's wrong on the Internet!"). Just some short ideas:

- The author seems hung up on one aspect of Marx's thinking, the concept of alienation. While it is an important concept for Marx, I think if you just single out one aspect, you risk making a similar mistake to the Marxists (who emphasized the expropriation of workers' surplus value, and the need to get control over that surplus through class war).

- People who most vocally criticize Marx usually haven't read him. I'm no fan of the Soviet Union, but Marx doesn't advocate a state like that. His main opus, the Kapital, is a theory of Captialism, not of Communism. Most economists and many other academics don't use Marx nowadays, but not because he is wrong per se, but rather because his work-value theory does not have much quantitative predictive power. You can't use it to calculate much, but that wasn't his goal anyway. Rather, (as I'd describe it in modern terms) he shows how from simple axioms you automatically get all the injustice and crisis-proneness he criticizes in capitalism (a la: Assume there's a society where most people work, get paid wages, and buy the products of their labor on a open market.... BAM people who own the means of production get richer, etc.). I personally was really surprised how relevant his writings still are today.
Go build it.
..you mean realist?

also, Brennan was sworn in on the consitutions without the bill of rights

http://www.theguardian.com/world/us-news-blog/2013/mar/08/jo...
You are being ignorant.
I am working on a MVP and am going for an elegant look. I have the <p> in Georgia 22px but would like something a little less common. Georgia is a nice font but it is everywhere.

My current main fonts are:

p { font-family: Georgia, Palatino, "Palatino Linotype", Times, "Times New Roman", serif;
font-size: 22px; }

h2 { font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 22px; }

Has anyone found a font combination with an elegant, "classical" look?

Edited: for spacing
I used to be more religious about this sort of thing... but the religion falls apart even on OS X when you realize that even WebKit implements its own copy of the native controls that can appear in web content - so that they can be transformed and animated using CSS.
He uses channels, which are the main Go primitive. "Share by communicating" and all that.
I'm still looking for an exchange where I can buy Bitcoins simply with a Credit/Debit Card. I hurriedly read the title as:

Seamlessly Buy Bitcoin using Zinc

Missed the "with"! Anyone else wanting this? Or if it already exists, can someone point me there?
IOS 7.1 Quick Tips: a Quick Reference
I divide stuff into 3 categories: Stuff I kept but can loose (old versions of installers, stuff I can find on the web if I need it back, etc.), stuff I'd rather not loose but it wouldn't be the end of the world (media files), and stuff I can't loose (legal doco, family photos, email archives, etc). I've got about 20TB split over 2 FreeNAS/ZFS NASs, mostly as RAIDZ, but I do have a 4TB RAIDZ2 zpool. I've also got a cloud backup space. Stuff I can loose just finds a space on one of the servers, stuff I'd rather not loose is shapshotted between the servers periodically, and stuff I can't loose goes to the RAIDZ2, is snapshotted between the servers and also sent to the cloud. Once you go through the pain of deciding what bucket everything goes in and creating the ZFS filesystems for them, it's pretty smooth and I've found it to be a good compromise between the risk of loosing something critical and the cost of redundancy for everything. And, to be a little old school, I have a DLT that I put the really, really can't loose data on which get's put in the safety deposit box periodically.
The race detector is great for such issues. But first and foremost, people ought to read the very enlightening presentations about Go's concurrency primitives and conventions:

http://talks.golang.org/2012/concurrency.slide#1

http://talks.golang.org/2013/advconc.slide#1
Never be alone, always be together with friends
> [Marx] thought we should abolish private property. People should not be allowed to own things.

I don't think that's accurate. Marxists want to abolish private property of the means of production. So it's OK to have a house and car for your own use, but not a factory where others work for you - because in such circumstances, Marx thought, exploitation and dehumanization become inevitable. I'm not saying I agree with this analysis, but in a world where Silicon Valley executives conspire to depress wages and many people are stuck in "bullshit jobs" it can't be completely disregarded either.
A game like this is a singular and extreme case. I can see a really big win for lots of business software. With browser deployment, lots of logistical problems just disappear. Heck, the notion of traditional corporate structure starts to disappear: Corporations exist because they can provide lowered transaction costs in specific contexts of production.

I'm not sure I see the win. Even if it gets to 100% of "native."

Even if Unreal engine FPS don't get to 100% of native, that doesn't preclude the disruption of lots of other software distribution models, including entire subgenres of games. But it goes much farther than just games.
It's probably wise to head off the common misconceptions and deal with common rebuttals up front. Otherwise the first comment on this would be "Oh yeah! Well we can't be happy if we don't even own our own wedding rings (for example)"
> Sadly not. In the corporate world, if an activity doesn't have a timesheet task code associated, it doesn't exist.

Then don't do it. If that stops other people getting their jobs done, that's not your problem. Trying to fix dysfunctional organization problems with "I will work harder" doesn't get you appreciated, it gets you a ticket to the glue factory. (Reference from Animal Farm by George Orwell.)
On Bedrooms and Beaches
From google's cache: http://webcache.googleusercontent.com/search?q=cache:tMinWjW...
I think we're agreed on this point. Uncoordinated donations aren't a real solution at all - that top 1% doesn't really need money to keep producing anyway (not that I begrudge them it!).

Existing approaches to Coordinated donations (KickStarter/IndieGoGo) do better than uncoordinated but not better enough.

I didn't really expect you to disagree, was just trying to clarify.
I believe you have a race in that code on error channel. You can't guarantee that the value you send on it will be received by correct receiver.
If you have 2 concurrent transfers and one errors and the other succeds, second one may receive an error intended for the first one.
WordPress is the worst blogging and content management system out there, except for all of the others.
A Relentless Widening of Disparity in Wealth
Agreed. Going through YC helped us remove all distractions. Beyond that, we just consumed a lot of caffeine.
And you'd do what with our customers? Or you'd give us customers? You're big, we're small…how is this not going to be a Twitter API-ocalpyse situation?

Respectfully yours,
Someone who was in the shit
I use it in redis.
e.g.

sync.Once() instead of init()

unhelpful named return parameters

didn't use range over channels
I did not say that Otto is innocent in this case. Most of the bad press is a result of Hermes' overdependence of contractors, who often have contractors themselves. Of course, each link in the chain of contractors is obligated to make profit from the already low shipping price. DHL has this problem too (see the small "On behalf of" at the logo). Even though, DHL has another history (Deutsche Post) and therefore some advantages. The logistic companies are working on this. As a result you find more and more pickup shops. It is even discussed to make door-to-door delivery a premium service, so less delivery wo/men are needed and prices for direct shipping can be raised. The standard service will then be to pickup shops or automated packet stations only. Of course, this can be prevented if customers would accept higher shippings costs...
Unlike him, I hope that you're smart enough to use your newfound power for evil.
Good point! The tool should create a reading difficulty score and only offer selecting wpm, if it's beneficial.

Readability tests:

* Accelerated Reader ATOS
* Automated Readability Index (ARI)
* Coleman-Liau Index
* Dale-Chall Readability Formula
* Flesch-Kincaid readability tests:
* Flesch Reading Ease
* Flesch-Kincaid Grade Level
* Fry Readability Formula
* Gunning-Fog Index
* Lexile Framework for Reading
* Linsear Write
* LIX
* Raygor Estimate Graph
* SMOG (Simple Measure Of Gobbledygook)
* Spache Readability Formula

Tool: https://readability-score.com/
Source: http://en.wikipedia.org/wiki/Readability_test#Readability_te...
U.S. Health Care System Has $5.6 Billion Security Problem
Place extra emphasis on a clean history [git]
It's freaky. I actually wrote an opinion piece with a similar point of view and much better supported. I submitted it to New York Times opinion pages as well as Wall Street Journal and TechCrunch. No response.

And this gets published in Wired two days later.
Ask HN: Best way to authenticate for RESTful service?
I'm building a server that allows users to control and access a web-connected sensor. The server lets the user connect to the device, change settings, and retrieve data that the sensor uploads.<p>All of the requests are stateless, so the the server does not have to maintain a session or any session state. I do however need to make sure that the user only accesses the devices and logs they are authorized to.<p>So my question is this: is it better to have every request be authenticated with the user's username and password, or should I still establish a session and use something like HMAC? What are the advantages and disadvantages of each approach?<p>Thanks!
If VGI were to say open their doors to the public, would the prices be much cheaper? I remember the per hour rates those outsourced powerpoint guys work at being very very low.
This is meaningless technobabble.

"dislodge the nimbus bit"? "your RAM’s syntactic DRM package"? It's already been criticized here: https://plus.google.com/+DerekRoss/posts/XXwcq4ooT1a
I have no idea who Tptacek is, but - is it really so hard to pay attention? Microsoft collaborates with the NSA. Its in the docs, its been news for months.
In case anyone else is wondering what a source map is, it's apparently Javascript's version of C's debug symbols. That is, given a chunk of optimized runtime code, it will show you which part of your original source code generated it.
Interesting service. I'm thinking about the privacy/security concerns. Many PPTs contain proprietary material that cannot/should not be shared to third parties. NDAs exist, but they're difficult to enforce or sometimes maybe an overkill. How are the founders looking at addressing this problem?

Or something automated with minimal (or none) human intervention is desirable?
I also liked this from upthread: "wasteful economic practices which tend to be zero or negative sum when all externalities are accounted for."
Although more verbose, I find this pattern much better than mutexes.

The problem with mutexes is that they are some kind of cheap way for the developer to say "stop the world while I think", but they require you to be quite aware of what happens in an object, too much I think.

In this example you'd have a mutex for the Account, so each time you want to change the amount you need to lock and unlock it. That's trivial for an object like that, but it can quickly become complex: one mutex is not enough because it blocks the whole object, so you start having multiple mutexes. But then you don't remember which mutex blocks what so you must have some good documentation about that, but the documentation is not as well maintained as the rest so it starts rotting. And then your file spreads among so many lines you can't quite grasp all the ways parallelism can kill you.

In the given example, the mindset is different: _all_ methods called from the outside are non-modifying, they only stack the change to be made. The actual data manipulation is done in a very tight loop that does a very simple thing, and nothing outside of this loop ever deals with memory. As a developer, you can fit all the code that can be "dangerous" in a mere 7 lines of code, instead of having it spread among the file.

I concure it's a different mindset, quite different at that, but it's a pretty good one (ang go makes it very pleasant)
Since the channels are unbuffered, theres no way to read from the error channel until the loop has accepted your request for the transaction. Also, since it won't accept another transaction request until it has sent an error (it always sends an error value), you always read the error for your transaction.

Any buffering in the request channels would have the race you've described though.
I used DejaVu Sans Mono until Ubuntu released their Ubuntu Fonts. Ubuntu Mono is a nice programming font! Sorry to tempt you...

The font grass is always greener in the next pasture. :)