skysight-inc/HackerNews huggingface dataset:
Rewriting history was the motivation behind commit-patch [1]. Granted, it doesn't actually let you rewrite history per-se, but it allows you to selectively check in parts of a file, which is very similar--You're effectively saying, "checkpoint this portion of a file, even though I've not really ever had the file in this particular state". It allows nice, fine grained commits even on version control systems like CVS and SVN.

> In svn you don't even have the possibility to refuse them.

Too true. One thing we did to try to fix the trashy commit issue was to mail out patches of each commit to a team mailing list. That allowed 2 things to happen:

First, just seeing your trashy commit next to a commit to which someone has payed attention motivated you to be a little more careful next time. If you're just sending your commits into the void you behave differently than if you know what you commit will have a bunch of eyes on it.

Secondly, anyone on the team could just reply to the email and suggest that it be split in 2 commits next time.

[1] http://porkrind.org/commit-patch
> The power of Git is its distributed nature and the fact that you can maintain local commits.

that's actually the power of any DVCS.
The GHC Commentary contains a wealth of information: http://hackage.haskell.org/trac/ghc/wiki/Commentary
This article inspired me to begin using a password manager instead of putting everything in `.netrc`, `getmailrc`, and plaintext passwords everywhere else. Thanks.
git is only complicated because it lets you do everything you may possibly want to do, often a superset of what you actually want to do.

If you want svn-like commands, you can borrow someone's scripts or use a shiny GUI. I don't want svn-like commands because centralized version control is obnoxious.

Don't complain because it's hard. Programming is hard, math is hard, and if you know how languages, data structures, and algorithms work, git is actually pretty easy in comparison.
That doesn't mean that Apple deserves a patent for every double-finger-twitch action in perpetuity, or that double-click doesn't logically follow from the reduction in mouse button count.
That is anything but an uncommon stance.
And yet, for all of these supposed wonderful benefits that rich people gain, average venture returns have remained stubbornly mediocre for the last decade. For every Facebook, there is a Color and the investors in Facebook were good but they were also lucky (cf. MySpace).

It's not clear that companies should be IPOing any earlier, even despite SOX. Companies seem to have an easy enough time raising on the private market and they're raising at roughly appropriate valuations, as evidenced by low VC returns. Why would a company want retail investors if they can get the same amount of cash from a couple of investment firms?
Grow a site to tens of millions of users. Spend nights and weekends for several years keeping it up.

:) Otherwise get a job at some company that is doing that presently.
The Chinese government has gotten on the bandwagon with its own publication of the US's human rights violations (http://news.xinhuanet.com/english/china/2012-05/25/c_1316113...). I found this humorous.

I'm reminded of the Soviet counterpart to this. (http://en.wikipedia.org/wiki/And_you_are_lynching_Negroes)
My father-in-law is a small farmer running 2000-3000 acres each year, depending on the year. My wife does the books for the family farm so I get to hear quite a bit about what is going on per field, per crop, etc.

I signed up for the trial to see what it was like. The UI is very simple and looks easy to use. The only thing that I might recommend is that you look into standardized farm management taxonomy.

Serious farmers will go take classes on how to scale and run profitable farms. Most of these classes teach them to separate tasks/costs into Enterprises and Overheads per field or other terms that I am personally not too familiar with. It looks like you're heading the right direction, I just didn't see a lot of the terms I hear thrown around when talking with my wife or father-in-law. They have both sat in on classes that I described above although they are farmers - they will do and say things their own way, class or not.

Here's a Farm Management Glossary that looks pretty decent. Perhaps you can start here and compare your software's definitions with these:

http://fdin.net/glossary.htm

Good luck!
Add a crowd funding approach for new device which a group of hackers would like to see produced...
The honest services fraud statute was struck down earlier this year...
At the state level, yes. *But not at the federal (U.S.) level. These distinctions matter.
What do pointers have to do with memory allocation? Pointers don't discriminate against the otherwise allocated.

That said, this system still uses a dynamic memory system - its somewhat non-optional when you use an operating system which has to maintain memory for stacks and its own resources.

These guidelines just forbid you to use the memory allocation routines after the task initialization phase to make memory allocation and usage completely predictable.
Ask: "Will I have fun working here? Will I wake up in the morning excited to come in to work? Will I learn something new every day?"

Working for a short period doing something you love in a company that ultimately fails is better than doing something you don't love for 30 years. You can always get another job.
for C? it's very commonly used to jump to implement "catch" (jump to clean-up on error).
Predictors Of The Fundraising Market
> Telling people to RTFM just misses the point.

To be fair, most of these "git sucks" posts in the past have been people moving from svn and complaining that git doesn't do it the Right Way(tm) "like svn does." In most of these cases, it has boiled down to:

1. I tried to use git like svn without attempting to do much learning at all and it bit me in the ass.

2. svn does things The Right And Only True Way(tm) and git doesn't, therefore git sucks.

3. svn has a command named 'svn <action>' and git has a command named 'git <action>' but they do different things. Therefore git sucks because (obviously) svn has the One And Only Correct Definition of <action> that 'makes sense.'

The other arguments amount stuff like:

1. I use mercurial all of the time and I don't understand how anyone can use git because of <filter-branch | commit --amend | rebase --interactive | etc> that allows you to rewrite commits. If people are allowed to rewrite commits, then obviously all developers using git do things like rewrite the X year-old commit that introduced the bug rather than creating a new commit to fix the bug. <Here is where I continue to rant about how scary the ability to rewrite commits is while demonstrating that I have little to no actual experience with git, or a single bad experience that I'm extrapolating from>.

In general, I find that I can empathize with people that get worked up over "git sucks" rants, because for the most part they either make no compelling arguments, or they bury a couple of compelling arguments under a ton of unstructured ranting about strawmen.
I love color palette tricks like this. Reminds me a lot of the old color cycling tricks in 8-bit color games (http://www.effectgames.com/effect/article-Old_School_Color_C...).

Never thought of using this to redesign the color scheme of an in-game area without changing the original textures though - that's really clever.
"it has to take into account the major design elements on a web page and make intelligent choices based on the user's tap target"

That's fine, so patent the _specific algorithm_ used to make that decision. Implementations are fine to patent, IMHO. Broad concepts, such as "it should zoom in when I tap twice" are not.
I like it. More of 500 Startups idea than an HN idea, and I'm not sure how this is "cheap" to outsource (maybe you've got good hacks for that in mind) but I like it.

Things to consider
1. Customer ac - how will you do it and how much will it cost?
2. Scalability - are the processes you start with scalable, and if not, what processes can you switch to that will be?
3. MVP - what's the fastest way you can test this theory?
I doubt Hemingway would write in anything but assembly language.

I hated Hemingway in high school. His book was like, "The army marched. And fought. And marched again." Or something like that. I think it was the only assigned reading in my AP English class that I didn't finish -- I just couldn't stomach it.

Hemingway is crap. Writing 101: A "story" is an interesting narrative. Hemingway reads more like a boring list of facts. I don't understand why he's considered a great writer. In fact, if it wasn't for the professional typesetting, correct grammar and spelling, and sheer length of his novels, I would have assumed they were the incoherent rantings of some none-too-bright anonymous commenter on the Internet :)

Dickens, on the other hand, is awesome.
This is a much larger discussion, akin to most religious wars in software ;-). There is a huge argument for what you're saying, but there's other forces at play. One aspect that plays into it is that C is a really nice layer on top of assembly, and there are a lot of extremely talented embedded C software engineers, (I'm assuming) moreso than the number of available Ada engineers. Also, keep in mind this is a pretty conservative domain. What has worked in the past is trusted much more than what might work better. Up until a decade or so, there was no operating system to speak of and most development used hardware controllers.

Also, C is not the only horse in town. In fact, I hear that Ada is actually pretty popular in space-flight. Other missions have successfully leveraged FORTH even. Using a Lisp read-eval print loop from many millions of miles away once saved the Voyager mission.

One really interesting point of view on this topic is Ron Garret's essay called "Lisping at JPL," available at http://www.flownet.com/gat/jpl-lisp.html .
MODERATOR CASISM, IT WAS CAPSLOCKSCRIPT
And most of it seems to stem from the old "goto considered harmful" that has been spread from generations to generations.

gotos have a pretty important niche in error handling blocks. You can see them all over the linux kernel, arguably one of the biggest (and most successful) C projects out there.
That's how X terminal emulators work. You click with the left mouse at the start point, click with the right mouse at the end point. Not so different.
TED and HN provides me better "entertainment" and some knowledge than TV. For learning there is stuff like Coursera, Udacity etc. But I still wished there was something between entertainment and academics. I hope some entrepreneur jumps into this area and creates an awesome solution. It may not make him a billionare. But his/her impact on humanity would be truly great.
Because futures and options are traded in Chicago and equities are traded in NYC (well north jersey) there are opportunities to trade equities and their derivative counterparts. For instance SPY (S&P 500 ETF) in NYC and ES (S&P 500 futures contract) can be traded against each other as they move. However the guy who gets their first will get most or all of the profit. So you need servers on both sides and the lowest latency possible links between them. For instance a microwave network is being built which shaves a couple of milliseconds off the existing special fiber cable that traders have been using.
I'm curious how remote wipe acts when a computer has multiple partitions or multiple drives (internal or otherwise); would a remote wipe with a connected USB drive for time machine nuke that too?
Can't wait for WebRTC to start getting wide support. Can't get here fast enough.
I remember reading semi-colon in the report ;-) . I can't find the PDF that I believe I read this in, unfortunately, and I'm not sure if it's publicly available. However, this wikipedia article points to a hypen and suggests that there's some folklore involved, and that revisions have been made in the past: http://en.wikipedia.org/wiki/Mariner_1 .

Edit: Andrew, thanks for pointing out my ignorance, I've never coded FORTRAN, and have been thinking it's a semicolon this entire time. What fitting irony. Sort of makes for an even better story now. >_<
Backing up to the cloud isn't going to help in this guys situation. The malicious user had access to his iCloud account to remote wipe his devices, they would (did?) just as easily delete his cloud backups
Trendy Entertainment raises $18.2 million
Mezzanine 1.2 and Cartridge 0.6 (Django CMS and Ecommerce platforms) released
I brought up pointer indirections as a way of illustrating how stringent some of these rules are and what sorts of forces are at play. Sorry for muddying matters.
You should always limit the password length to whatever size at which the underlying storage or scrambling mechanism stops working or loses entropy. Likely, Microsoft uses a shitty hash function to scramble passwords.

The common gospel around here is to say "Use bcrypt.", but very few people say (or know?) that its maximum input length is 55 bytes, i.e. 55 ASCII characters, or far fewer unicode characters. Most implementations actually cut off the remainder, which is a very dangerous thing to do since you might have people who use a relatively simple passphrase followed by a strong password which happens to be beyond the maximum length, and is lost.

For most other hash algorithms, if you use a hash function with an output size of 256 bits, you will lose entropy if the input contains more than 256 bits of entropy. It is a little hard to measure what the maximum length should be for e.g. passwords, but the length should almost never be unlimited. It conveys a false, and in some cases, e.g. with bcrypt, quite dangerous sense of security.
Bring your own damn metrics
Emacs works the same way. You set an anchor (the mark) and the region implicitly spans the text between the anchor and the cursor (the point). This kind of stateful approach (as opposed to a stateless alternative such as holding down shift while sweeping out a selection) has several advantages even when using a keyboard and mouse. E.g. you can set the mark and then do a search or any other action that might modify the point.
fortran syntax doesn't use semicolons. see http://www.lncc.br/sta/manuais/Fortran77_Lang_Ref.pdf page 11.
That's what I was thinking about. You've got to start somewhere, and this will be accepted by aunt Tilly.
Right now I'm using a Dell Inspiron(17R) and am very happy with the Ubuntu support. Everything "just worked", the only thing that I had to tinker was changing a text file to make sure the headphones work, other than that absolutely no problems.

I had an HP dv7 series machine before this and that was a great Ubuntu machine as well, although it required a little more tinkering. This series of laptops have major overheating issues though with temperatures going north of 100 degrees Celsius if you put it on a flat surface without a cooling pad.
A huge number of people would drop off of FB, and would never try quora, if they charged. Fewer people on each makes each less useful to each potential new user, and to every existing user, causing more people to drop off.
Usability Hell: London 2012 Olympics Ticketing Fail
Go anywhere and the planet and tell people you're 'American' and not one of them will think you meant Brazil, or Canada, or anything other than the United States.
We experimented with 10 AM scrum but I found that if I came to the office at 9ish, I used to get distracted with the thought of Scrum. Eventually, we decided to move it to the afternoons at 4:30 which works out well because you are almost done with your work day and you can get distracted all you want.
Yes, that was my point. He's comparing a VCS with a DVCS and then complaining that the "D" adds overhead.
I'm sorry but I fail to see why public markets investors should have the right to earn interest from economic growth for which they have absolutely no responsibility.

The gravy growth train eventually stops somewhere and it seems perfectly fair that the farther you are from personally contributing to that growth that the less rewards you are entitled to.

Most investors in Facebook from $0 market cap to about $10 billion, we professional investors that most likely contributed something to the company. Earlier investors probably had a lot more to contribute than late investors. There is practically nothing that Joe Consumer would be contributing besides cold hard cash that would help Facebook grow.

Here's the World's tiniest violin playing for people who play it safe instead of taking on actual risk and personally contributing labor, smarts and connections to growth on a capital investment.
The big problem is that I can't invite people to join a group or go to an event on Facebook who don't have a Facebook account. Facebook is a little like a bank that won't let you cosign on a loan unless you also open savings, checking, and credit card accounts with them.
"How dare people port X to run on Y! This has no place in production code and you are WASTING OUR TIME doing theoretical experiments!"

Saying "Sorry for the vitriol" doesn't excuse being an ass, it just confirms that you were being an ass intentionally. How is your verbal assault an appropriate response to this project?
What a weird semantic game. It is about encryption. Without it you wouldn't be able to "[establish] a degree of trust in a site’s legitimacy that’s sufficient for you to confidently transmit and receive data with the knowledge that it’s reaching its intended destination without being intercepted or manipulated in the process"
This only applies for countries in South America and maybe, maybe Spain but I really doubt it.
The transparent huge page code still only gets you 2M/4M pages, which will still fault most of the time when you handle multi-gigabyte in-memory structures. To avoid ever faulting, you really need to use the 1G pages. And no-one is crazy enough to build support for making them transparent. :)
> - Are you profitable? If so, for how long?

For some reason, a few companies seem to think that including investor infusions while computing profitability is somehow a good thing. It is wise to (gently) probe and figure whether this is what they are doing.
As the sibling reply said, in that case I'd go with Cmd+Z. What you just described is a benefit of the versions feature and NOT that of removing "Save As". And I do not need the OS to do the versioning. "Save As" has never ever been dangerous. What you described as danger is the carelessness of saving the edits in the opened file and that has nothing to do with Save As.
> "By any measure Lua is complete shit and yet Carmack made it popular by using as the glue for most of his games."

This just isn't the case. In recent games iD software has moved away from using scripting languages at all. Later in the same talk, Carmack praises iOS for reversing the trend against Java and bringing back native languages. Saying that native languages are the only way you can get predictable performance for things like smooth scrolling.
个人抵押消费贷款
What a boring, presumptuous article ridden with hyperbole. I'm getting tired of these popular magazines picking up a cool-sounding subject, a recent mishap and selling the whole thing as if it will completely obliterate the old ways. Oh and add a few awesome words (algorithms, speed of light, 3 feet of fiber, quantum mechanics,...) that they hope will make the reader think he's in the 23rd century. Half of the article is basically repeated fancy sentences like "Faster and faster turn the wheels of finance, increasing the risk that they will spin out of control"...

Let's be serious. Value-based investment is not going away and high frequency trading is just one more avenue through which a decent number of companies, and so people, will take advantage of an opportunity and do well.

Who is supposed to be the target audience of Wired these days?
In the hand-wringing over Knight's mistake, the media seems to be missing the massive benefit to many other traders. Specifically, Knight kept buying certain stocks even as they were driving up prices of these stocks. Everyone who sold these stocks to Knight got the benefit of selling it for a higher price.

So, Knight didn't destroy wealth. It just made an unintended gift to people willing to sell them overpriced stock.
> That's a pretty serious limitation and would probably make it hard to do anything really interesting.

No it's not, and no it doesn't.

No dynamic allocation is a pretty standard precaution for safety critical software. It requires careful coding and design, but it eliminates an entire class of runtime errors and makes it relatively easy to put an upper bound on memory usage.
I don't get it. So this is a poor mans LINQ? Without the necessary performance considerations and a distressing lack of language support for its primitives?
A 30 minute standup counters the whole idea of a 'standup' meeting.
Why Mediation is Good for Small Business Disputes
Every couple weeks, Stack Exchange chops up some of our best Programmers content and sends it to one of our favorite websites: Ars Technica.

source: http://meta.photo.stackexchange.com/questions/2195/ars-techn.... (I couldn't find an official post specifically about their arrangement.)
> I'm not sure how that squares with moving from company to company...

The stipulation to accommodate moving from company to company could be an artificial constraint. The desired outcome goals of the company outweighs the desired outcome expressed by any individual executive. Incentive structures can reflect that.

There are many ways to accomplish this, but the reality is shareholders who wield sufficient power to enforce this goal-seeking simply are not interested in doing this. That's the real nut to crack. The incentive structure of owners and not just employees subject to the agency problem is part of the spectrum to consider.

Incentive structures all up and down the line of authority are a real tough design problem.
Which leaves the question, was the cut in IT a cause or a symptom? It could have been the last in a long line of bad decisions; I can't see this bringing down a company all by itself.
> I don't know if anyone shares my experience, but I actually found svn rather mysterious and difficult to understand. I never actually saw the point to it at all, so I never bothered using it (unless it was mandated by some authority).

There is no point to Subversion or Perforce, unless it's mandated by some authority. The purpose is for that authority, not for you the programmer. That's the essential difference--in P4 or SVN, the authority has version control and you the programmer do not. In Git, everyone has version control.
Given that "everyone" knows git, and essentially no one uses hg, I think saying it involves "less complexity" is very much missing the forest for the trees.
(1) is partially false. The cycles are not leveling up but being amplified. Outsourcing is close, though. But this trend actually seems to be much less popular now than before, especially with raising wages overseas.

(2) is marginally true - man's rights movements exist, but considered fringe by majority. I also suspect this one has something to do with Wolverton's personal history, which is not really a good place to discuss.

(3) No curing of any disorders by genetically engineered bacteria so far, AFAIK. Also I'm not sure how bacteria would help curing AIDS caused by retrovirus, anyway.
Since when is the Facebook IPO a failure? Facebook sold a bunch of overvalued stock to pop-culture investors, made a bunch of money off it, and now everything is equalizing out to where it belongs. This is exactly what is supposed to happen.
The only changes I've really noticed is:

- notifications thing let me get rid of growl

- to get rid of growl I had to go download an uninstaller for it

- to run the uninstaller I had to enable running apps from anywhere in the Gatekeeper settings
> Power for the maintainer, at the expense of the contributor

Interestingly, SVN and Perforce are about power for the maintainer, with no benefit at all for the contributor. You can't even version control your own work with those tools.