skysight-inc/HackerNews huggingface dataset:
I suggest not putting too much faith in these self-help posts.

The human mind is complicated. Advice that seems helpful could in reality be harmful.

Certainly, the distinction between discipline and motivation is meaningful. And sure, all else being equal, discipline is more useful than motivation towards leading a successful life. But maybe things are not equal.

Am pretty sure there were times in my life when I worked on increasing my discipline (i.e., on cultivating productive habits) when I would have been better served by focusing on increasing my motivation (particularly, by asking what sorts of things do humans typically find motivating, which of those things have I found motivating in the past, and how might I cultivate my ability to take pleasure in one or more of things).

It is fairly clear from Einstein's writing that it was mainly motivation (and in particular curiosity) rather than discipline that fueled his career. For example, he complained in writing about the design of his PhD program because it extinguished his natural love for (i.e., his motivation to do) physics. I tend to think that it would be very unlikely for a human being to be able to exert the degree of effort Einstein exerted on his physical research using just discipline (i.e., if the human being were not motivated or energized by the process of doing the research).

I mean, if you try to increase your discipline, and your attempt succeeds, then that is great. You should make more attempts to increase your discipline even further. But I have found that there is a limit to how much I can do that. And certain self-help authors have caused me to ignore evidence that my attempts at increasing my discipline are no longer having any positive effect.

Added. Also, I think the intense concentration and intense demands on working memory and "fluid intelligence" that programming makes on a person often makes the person less aware of alternatives to willpower, sustained concentration and discipline as ways of becoming a more capable and productive person.
Ask PG: Would you give a course on Khan Academy explaining investment
PG,<p>In light of your GV comments, would you please give a talk on Khan about investment methods, and educate non-YC-alum masses as to the entire process?
Skype doesn't count?
I suspect it's just a tool, and the Datomic folks thought they'd make it available. No one said it was going to change the world, right?

What does it buy "us"? Well, it doesn't buy "us" anything. They needed a data interchange format and I assume it made more sense to use Clojure's primitives than parsing up JSON. Why would a project written using a homoiconic language use anything but that language to exchange data between its components?

edit: Said best by this tweet by fogus:

"Clojure devs have been using #Clojure data as an interchange format all along. ..."

https://twitter.com/fogus/status/243913831242399744
Come take a tour of Capital Factory when you come over to checkout the scene. There'll be plenty of people to answer any questions you have about the area (and hopefully persuade you to move here!).
A stronger reason: the point of validating email addresses is to prevent user error, such as putting their name in the email field. It is not to ensure emails are RFC compliant. In fact you probably want to allow non-RFC compliant email addresses because there is a chance it still may work - not all servers are going to be RFC compliant and as a product it is not your job to enforce obscure Internet rules.

Personally I test for @ and . with any characters surrounding.
Why Hulk smash iOS and Android in Avengers Initiative? [Interview]
Can someone ELI5 why they would do this?
I disagree. The CEO of a startup is an adult, maybe a young one, but an adult no less. They need to know what is over and undervalued for their company. On the other hand, the investor has a fiduciary responsibility to get the best round possible for their fund. In Google's case it is for their shareholders.

In other words it would be unethical for the VC to not work to get the best valuation.
I find http://g-ecx.images-amazon.com/images/G/01/kindle/dp/2012/KC... saddening. Comparing battery life in completely different units? Isn't that something of a sleazy marketing "trick"?
JSON is not extensible and syntactically more verbose. However, the syntax corresponds exactly to many modern dynamic languages and is now nearly ubiquitous.

> Of course JSON (http://www.ietf.org/rfc/rfc4627.txt) does this as well but using character code points.

I hope Rich will define "alphanumeric" as Unicode letter and number classes. Clojure itself is ambiguous on valid symbol identifiers. http://clojure.org/reader has the same "alphanumeric plus some punctuation" rule, but the actual reader implementation [1] is extremely permissive:

static Pattern symbolPat = Pattern.compile("[:]?([\\D&&[^/]].*/)?([\\D&&[^/]][^/]*)");

[1]: https://github.com/clojure/clojure/blob/master/src/jvm/cloju...
> The database is just an API.

Tell me how that leaky abstraction is working for you when it sinks.
Nice advantages over JSON: more compact, easier to pretty print, includes an integer type, non-string map keys, has a nice built-in extension mechanism (which is much more elegant than any ad-hoc thing that JSON can support).

Things that probably make sense coming from Clojure, but seem somewhat unnecessary for a general purpose data interchange format: explicit character type (as compared to length 1 strings (which could optionally use the extension mechanism if necessary)), separate types for vectors and lists (seems like the extension mechanism could handle this if it’s ever necessary; to some extent this criticism holds for sets too, but those are also more independently useful).

One type not included that I find useful: some kind of "raw"
string wherein backslashes are interpreted literally, and double escapes aren’t required all over the place.

Possible point of confusion that should be spelled out more explicitly: by the grammar provided, a floating point number requires an explicit leading digit. That is, '0.5' cannot be spelled '.5'. (Should an implementation accept '.5' as a number, or reject it as badly formed?)

Also, does "a floating-point number may have the suffix M to indicate that exact precision is desired" mean that it should be interpreted as a decimal number? Might be worth saying that directly.

It would be nice to see a bit more guidance about "Symbols are used to represent identifiers, and should map to something other than strings, if possible." Perhaps this could include examples of what Rich Hickey & al. think would be useful interpretations in JavaScript and Python (to pick two obvious popular examples).

Most of all, it would be nice to see a clear explicit treatment of Unicode for strings/symbols (I’d recommend utf-8 here), including possible ways of escaping code points in strings. Confusions about Unicode are one of the main points of incompatibility between JSON implementations, and the JSON spec has more to say about the subject than this current spec does.

One nice built-in tag to add: base64 raw data, using one of the typical base64 encodings, which should be described in the spec to avoid any confusion.

Question: if a tagged element is considered a unit, can another tag be put in front of one? That is, something along the lines of '#outer_tag #inner_tag "built-in element"', where in the code which interprets the file, whatever object is produced by the inner_tag's extension is sent as input to the outer_tag's? It’s worth clarifying this so that implementors make sure to add the case to their test suites.
Asking to see some personal references and a personal background check is one thing. But requring a 'natural person' to become personally liable for a corporate contract is basically equivalent to denying the corporation.

So maybe the bank is willing to issue the merchant account to the individual with the understanding that it may be used by a corporation. But let's not call it something it isn't.
The ultimate Android tethering guide
One of the comments in the article mentions gocardless.com for UK payments. This seems suspiciously good - an end run around credit card companies and much lower fees.

Has anyone used it? Is there a catch? How do customers react?
"Threatens"? How about "promises"?
That's not true either. I don't know how it's set up other than that we use exchange, but on our internal network, you can send an email to someone's firstinitiallastname (the part that is before the @ for external senders) and it will go through.

So on our production servers, I need the @, but on our dev/text servers, I don't. And no, the domain is not appended to the address before sending. That's the part I actually know about.
It sounds like customer is using Re-invent for web hosting and an upgrade of the web host's system broke an application of his. There's clearly more context than is shown but it basically boils down to:

Customer: "it works on my machine, why doesn't it work on your host?"
Re-invent: "fuck off"

Even if the customer were completely at fault, this just seems like ridiculously awful customer service.
Accessing Exchange message stores via programming languages
I suppose the "buy us" part was meant because it was the first rank on HN. (I.e. As if it's a big deal.)
A great distinction. But I tended not to read it with physical goals in mind... I find it strange these days how many geeks seem to have heroic physical goals.

"Like every other guy on earth, I’ve wanted six pack abs forever."

I suppose I've wanted it at one time or another, in the abstract "that'd be nice to have" way I've wanted, say, a jetpack. But I've never been interested in putting the time or effort into achieving that level of fitness. I'd much prefer the jetpack. Or even better, learning something new.

An hour or two of hard running every few days to get a nice head-clear and endorphin rush, to be reasonably fit and healthy... then I'd much prefer to play video games and study algorithms.
This appears to be an issue on how InnoDB handles range row locks, not MySQL (since it's InnoDB that's issuing that lock contention warning). It doesn't happen if you're not using ranges:

i.e. issuing in session 1

BEGIN;
UPDATE locks_suck SET val = 'Transaction 1' WHERE id = 1

and in session 2

BEGIN;
UPDATE locks_suck SET val = 'Transaction 2' WHERE id = 2

doesn't block. These locks are not issued at the MySQL layer when locks_suck is an InnoDB table, they are issued by InnoDB itself (MySQL doesn't actually handle transactions itself, so it would have to be the storage engine).

See dev.mysql.com/doc/refman/5.0/en/innodb-lock-modes.html for more info on how InnoDB issues those locks.
Source-Code Analysis Must Hit Lower False Positive Rates
These should be default browser features.
Reddit gets an edit
Hey, I'm one of the co-founders of Outbreak. We're big fans of Paul's work on the Teensy, but the Teensy 3 lacks a built-in debugger, which we consider a really important feature of any development environment.
Why are startups often disasters internally, as PG says in one of the linked articles?
How To Filter The Social Web, Part 2: Reddit
The cost of decryption is practically 0, though. Certainly not a relevant budgetary factor.
Thanks for this! I'm downloading it and the Kindle Previewer now. I don't yet have a Kindle, but my birthday and Christmas are coming soon. And of course I have the Kindle app on my Android phone. :)
Design Case Study: Awessome.com
Sweet about time! I have not looked into it much, but I am a big fan of ZF1. Now to sit here waiting for the usual PHP and ZF hate comments. Or maybe this time will be different...
Yup my 4S sure feels old. Sure wish I had a modern browser like IE9 on there. Blast!!
Am I really the only person who hears about Voyager and immediately thinks of "Star Trek: The Motion Picture"? At least reality is comporting with canon, vis-à-vis V'Ger: http://www.youtube.com/watch?v=gxAaVqdz_Vk
Jira is the bane of my existence.
Google Vultures?
Question:
I want to buy either, a kindle for $69 or a Nook for $99

I want to:

* Read books (by the way, recommended: ebooks.adelaide.edu.au)

* Install Android and install a vocabulary training program (e.g. anki: http://www.youtube.com/watch?v=70FIv5Qfrag )

Question: Can the kindle be rooted?
You're right, although the MySQL binary log used for replication handles this fairly gracefully for reasonable outage periods. Collisions are still possible after a resync, but it tries pretty hard to resolve them using timestamps on the transactions.

I'm working on some software to automatically manage outages, deploying new server instances, re-syncing databases, etc., but that's quite a few steps away from where we're at right now. For near-term purposes, anything that could do as good of a job at multi-master replication as MySQL can would be just fine.
Lesser-Known Subreddits
Nowhere that I know of, at least not for certain. The company with the mail server I used has been subsumed by another company, however some other companies from that time may still be running compatible mailers.
I prefer this one: http://www.kickstarter.com/projects/juicetank/juicetank-the-...
Yeah, maybe. But you're going to have to send them there some time to do the "confirm email" thing, I was just thinking perhaps get that over and done with upfront.

Ideally, all this would be done away with by OpenID or client-side certificates or something along those lines. The whole password-and-email-in-case-you-forget-it paradigm is broken, really.
Airbnb: The DNC's billion dollar startup
Fortunately, there are at least two drop-in replacements, if Oracle should drop the ball. Percona Server, and MariaDB. Both are based on the well-vetted core of MySQL, and both are continuing to make huge strides in the capabilities and stability of MySQL.

Of course, Oracle hasn't dropped the ball yet; 5.5 was a good, solid release from them.
SF is kinda dirty, and you'll pay easily 2-3x as much for a place too so of course they pay more!
Plenty of language / tookit specific articles reach the top of HN.

There are quite a few people here interested in clojure and Rich Hickey's work.
It takes motivation to become disciplined. Once you do get disciplined though, you don't need as much motivation to continue doing what you are doing.
Apple Plans Web Radio Challenge to Pandora
Rabid Release-manager

Silly Shuttleworth
More on Hantavirus at Yosemite
There are extensions to get rid of the redirect:
https://chrome.google.com/webstore/detail/dohbiijnjeiejifbgf...
Really now? Let's try a little experiment:

http://news.ycombinator.org/item?id=4487628
What It's Really Like To Go Through Y Combinator
Whoa - so you worked on eReader? That is too cool. If you're in Cupertino these days let me buy you lunch or a beer. eReader was the killer app for me back in the Windows CE/Windows Mobile days.

While I've got you, then, I'll mention the other two major features I really miss from eReader:

1) The ability to turn off right justification and select ragged right margin instead. This is what made eReader so usable on my tiny old Windows Mobile screens, and it still matters when reading on any phone-sized screen. The extra gaps and rivers of whitespace resulting from flush justification really interfere with readability.

2) The ability to turn off all animation. eReader would just show me the next page without no fuss. Of course the e-ink Kindles work like this, but all the Kindle apps seem to do some kind of animation.

Here's another big wishlist item. I would really like the ability to sync not to the farthest page read, but to the most recent page read. I often jump around in a book, look at footnotes at the end, etc. before starting to read through it from the beginning. This makes the "farthest page read" sync useless in many cases.

OK, this is obviously not the right forum for Kindle suggestions - if you can point me to a better place to send them in I'll be happy to do it. :-) Thanks!
Yeah, and there's a Perl Email::Valid http://search.cpan.org/~rjbs/Email-Valid-0.190/ which checks for well-formedness and the existence of the domain.
I can then only wish you luck in your attempt to take an off-the-shelf system (dbmail) that was designed to be used with an ACID database and plop it on top of what is now an only eventually consistent data store without first rewriting it to tolerate those semantics ;P.
Just the other day I was asked to buy a conference ticket via Paypal. I declined and other arrangements were made.

What it would take to restore credibility in my view at this point is apologizing and making up for the antique violin incident and un-blacklisting Wikileaks.
I added a spot on the wiki for links to implementations:

https://github.com/richhickey/edn/wiki/Implementations

A few months ago, I started doing an implementation of a Clojure reader in C and a Ruby extension, but I ran out of time to work on it. If anyone wants to use my code as a starting point, please do! I'd love to see more usage of Clojure forms... errr... "EDN" in the wild!
Cosm: Where the Internet of Things is being built
Above JSON: Sets, keywords, integer type, hashmaps in which the key doesn't have to be a string, extensible data types (most of which jacobolus points out as well)
It seems one immediate application is in Datomic's new REST API:

Datomic gets a REST API

http://news.ycombinator.com/item?id=4487467

I'm developing with Clojure on a daily basis at present, and it's cool to see such a slick data notation take on new life outside of my REPLs and .clj files.

Now, what would be really interesting is if edn (or an official superset of it) could be formalized with "hypermedia controls".

See: Hypermedia-Oriented Design

http://amundsen.com/articles/hypermedia-oriented-design/

One of the shortcomings of JSON is that as a standardized hypermedia type, it doesn't offer any hypermedia controls. There are efforts to standardize JSON-derived types which do provide such controls:

HAL

http://tools.ietf.org/html/draft-kelly-json-hal-03

JSON-LD

http://json-ld.org/

Collection+JSON

http://www.amundsen.com/media-types/collection/

It would be great to see edn take on that challenge in its early days as an extra-clojure, general purpose data notation. I'm convinced that Fielding is right about REST implying HATEOAS (others argue for "practical REST"), but you can't robustly implement REST/HATEOAS APIs with a media type that outright lacks hypermedia controls.
A mapping service with directions on a device that is supposed to be with you all the time is supposed to be mostly handy for driving purposes (at least from my perspective). That's a fundamental requirement. Lack of voice turn-by-turn makes it incomplete, not "may not be perfect".

I questioned why it was neutered the way it is now - not why it was created. I buy Apple products for wholesome user experience and the Google maps ain't one of them (neither is the mail app and so on). If you think this is a silly sentiment, then you must be pretty dumb about user experience issues in mobile situations.
Are you under the impression that this sort of web development is as hard as it gets in the world of software development?

Edit: meant to reply to parent
Developer Math: App.net
10-15% of first year salary sounds like a laughably high commission. Surely it can't cost >$5K to find a good coder... Frankly, I don't see why it should cost more than 1K, tops, to find an excellent, excellent coder...
I grew up in the 12th district. My parents still live there.

Holt really is a great congressman.
Don't miss this part:

'Not to detour too much, but what you see above is just the beginning of how Google is going to use Street View imagery. Think of them as the early web crawlers (remember those?) going out in the world, looking for the words on pages. That's what Street View is doing. One of its first uses is finding street signs (and addresses) so that Google's maps can better understand the logic of human transportation systems. But as computer vision and OCR improve, any word that is visible from a road will become a part of Google's index of the physical world. Later in the day, Google Maps VP Brian McClendon put it like this: "We can actually organize the world's physical written information if we can OCR it and place it," McClendon said. "We use that to create our maps right now by extracting street names and addresses, but there is a lot more there."
More like what? "We already have what we call 'view codes' for 6 million businesses and 20 million addresses, where we know exactly what we're looking at," McClendon continued. "We're able to use logo matching and find out where are the Kentucky Fried Chicken signs... We're able to identify and make a semantic understanding of all the pixels we've acquired. That's fundamental to what we do."'

That is scary. They could read license plates and tie them to addresses. They could read bumper stickers and determine your politics, whether your kid was an honor student at what school, etc.
I got snippy with a potential client last year who balked at my rate. We'd talked earlier about how hard it was finding developers, and I mentioned a bit of a labor shortage, and he agreed.

When rate came up, he balked, and started saying that lots of people could do what I was doing, blah blah blah, this was 'only' PHP (although it wasn't), etc. I calmly pointed out I was the only person talking to him who was available to come on site the next day to get started. We didn't get started - I suspect the 'this is an emergency crisis' issue suddenly was downgraded to "let's wait until we can find a part time person for $20/hour".

I don't think I'm cocky about this, but I've grown more comfortable in knowing that while I'm not the best, I'm usually the best available. And that's not that I'm bottom of the barrel, but for pretty much any set of tech skills, I personally know people better than me. It's just that they're all employed (or over-employed), and I'm available. Some times. :)
I have used Octave but only for the Coursera ML Class, not actual production use. My understanding is that it is the open source version of Matlab capable of running many Matlab programs.

I learned Octave first, then R, then Python.

Octave to me feels like Python + NumPy. I'd say Octave has more in common with R than with Python.

Given the choice between Octave and R, I'd choose R for the more robust user community and incredibly diverse and thorough selections of libraries.
Twitter is killing Twitter for Mac but slowly.
It depends on either proprietary lock in, or a service integration so good that you don't want to buy the content anywhere else.

I'm perfectly capable and willing to pirate any ebook I want to read, but most of the time I just buy them in the kindle store because it is so much more convenient. Amazon doesn't have to race to the bottom on content pricing because their services have value.
Nike Air Lebron Slide south beach preheat mens sandals cheap sale
Using Mac DVD Player.app, Grab or some other Apple app rudely refused to take screencaps while DVD is on. Non-Apple apps worked, though. This was years ago, when I still watched DVDs.
The Simpsons is not intellectually notable
If it's possible to build a viable business offering merchant account services backed by absolutely nothing other than the creditworthiness of a brand-new corporation, why is nobody doing that already?