skysight-inc/HackerNews huggingface dataset:
several people I know, including guys very proficient in Git, have complained about "git ate two days worth of my work!" It is easy to make errors in rebasing and reset --hard, and you may end up losing commits.

Something seems wrong there. How do you lose commits? They're all in the reflog. The only way I can see git "eating" work is if the work hadn't been committed in the first place and they overwrote it - in which case it's not so much "git ate my work" as "I deleted it".

It's true that it's easy to make errors with rebase and reset, but it's just as easy to correct them. That's the beauty of it: commits are so malleable that they become part of interactive hacking. One gains a new axis along which to store information and move it around and rework it (comparable to a bunch of new registers magically appearing in a machine). For me the most interesting consequences don't have to do with version control so much as with how I craft programs in general. Biggest win since the REPL.
They basically have that already and it is heavily used.
I've had pretty good luck just saying "Navigate to: 123 MyHouse, San Jose" etc...

At least for me it almost always works.
Well, YC only takes the top 3% of startups. If you believe that they have any skill at all at judging startups, that number should be a lot more than twice.

Investors are not just counting on the fact that YC makes a company more successful- they also know YC filters for startups that are already more likely to succeed.
How to enjoy Reddit
Nice job on the advanced options.
> On 32bit Windows machines, processes only have access to 2GB user space memory.

You can change this in boot options to 3 or 4 (optimized) or enable PAE. see:

http://msdn.microsoft.com/en-us/library/aa366778.aspx

i'd try that before rewriting your code (also kill services you don't need, which is usually a lot of them. run -> msconfig).

Edit: you also don't mention probably the most important piece of info: which version of windows you are running.

Edit 2: make sure go is being treated as a background process

Edit 3: it seems a lot of these tips should be in the Go docs for win32 - i'll add it when I have a moment
French Revolution is probably a bad example if he's going for "couple hundred years". Y'know, because there were three, in sixty years.
You're doing it wrong.
HTTP is a stateless protocol. The very same reasons why it is so, should also enlighten you of why you shouldn't do what you're possibly implying.

EDIT: ops, replied to the wrong message. This is in reply to heyImAlex
Github is making me feel stupid(er)
While this is a correct observation, the one about 512Mb contiguous memory being fragmented that early is not really the most clever construction of an operating system I have seen.

It argues that while you can get 2Gb (or 3Gb, ...) you cannot get a contiguous space larger than X megabytes.

That said, it is a rather odd limitation of the garbage collector as well. Most GCs works around the problem by being able to allocate memory in chunks that are different. Still - this solution, one large chunk, is by far the simplest and fastest solution to the problem.
Website Ignored Despite Potential?
For some reason, our website is simply ignored since it's launch. We honestly think there is quite a big target audience, since we are going for the software development market.

Our website, CodeCreek, which is an online marketplace for buying / selling source code, is different in three main ways than the established players in its category: it has a very low commission on sales (7%), it doesn't require exclusivity from developers, and it uses social networks for login.
In theory, developers would be attracted to it, but for some reason, they are not ! One reason might be that our website, to function, requires listings; only three have been submitted so far, and that might be a turnoff to devs. However, shouldn't the advantages compensate for this understandable, and fixable (over time) inconvenient ?

We just don't get it... http://codecreek.biz. Any suggestions?
Yes, I saw that article as well. It is now 9 years old, and out of date. Quoting from http://www.medscape.com/viewarticle/751009 : "Premiums indeed rose dramatically in the early part of the new century, but in 2011, they declined for the fourth straight year for 3 representative medical specialties, according to a publication called Medical Liability Monitor (MLM). Its annual rate survey, highly regarded in the field, was published this week."

You first said the 2% doesn't include the impact of defensive medicine. I pointed out that it did include defensive medicine, so now you say it's magnified by other inefficiencies in the system. I don't believe you, because your arguments sound very hand-wavy, and don't change in the presence of contrary data. Do you have any evidence to strengthen your statement?

I could be even more hand-wavy and argue that the increase number of medical malpractice payouts is due to the medical system in the US getting worse. As http://content.healthaffairs.org/content/29/9/1565.full points out, "One way to attack the medical liability crisis is to make health care better and safer in the first place" and "Another key to limiting medical malpractice suits is to improve communication with patients immediately after an injury" and "Most health policy experts, he says, believe that “caps on damages [are] tangential to the real problems with the malpractice system, which involve excessive numbers of medical errors, inaccessible compensation for most avoidable injuries, and a slow, expensive process of dispute resolution that is inhumane to both plaintiffs and defendants”."

You pointed out that you know doctors paying over $100K/year in personal malpractice insurance. According to http://content.healthaffairs.org/content/29/9/1585.abstract "We found high levels of malpractice concern among both generalists and specialists in states where objective measures of malpractice risk were low. We also found relatively modest differences in physicians’ concerns across states with and without common tort reforms. These results suggest that many policies aimed at controlling malpractice costs may have a limited effect on physicians’ malpractice concerns." or as stated in http://content.healthaffairs.org/content/29/9/1565.full "Emily Carrier and colleagues find that physicians’ perceptions of the threat of being sued are out of step with their actual risk of being the target of a malpractice lawsuit."

In other words, those doctors might not be needing the $100K+ coverage which they are paying for.

According to http://www.kaiseredu.org/Issue-Modules/US-Health-Care-Costs/... , "health care costs for chronic disease treatment account for over 75% of national health expenditures" and "At least 7% of health care expenditures are estimated to go toward for the administrative costs of government health care programs and the net cost of private insurance."

Those two factors - which you didn't mention in your list of four things affecting the increase in medical rates - are both larger than the 2.4% we're talking about related to malpractice.
Simple suggestion: Don't change the old code. Copy the old method and then rename the old method. Refactor the copied code. Diff will only mark your 'newly added' code which will check in without conflicts. Later remove the old method.
Optimize VPS for Drupal CMS using Varnish
Things to check in your htaccess file
If you define losing money as generating a lower rate of return than you'd get by investing in an index fund of the stock market, then IIRC ~3/4 of VCs generate negative returns.
Curious how this compares to ifttt with its Weather channel?

http://ifttt.com/weather
Did anyone notice the text under the image "A worker inspected motherboards on a factory line at the Foxconn plant in Shenzen, China, in May."

She is looking at a graphics cards, not a motherboard.
A Kneejerk Response to the Beta Test of Mists of Pandaria
It forces you to structure your application as tiny communicating processes which you route by hand. You're actually coding quite close to the hardware. When you want a process to communicate with another – correct me if I'm wrong somebody – you can only communicate processes that are physically adjacent on the chip and you actually write something like "the one to the left/right". Each process is very small and one of the blogs I looked at was very much about optimizing code-size to fit in such a small place. This results in a situation where if your problem does not easily map to this kind of architecture, then you have no other option.

But the same thing can be said of programming at a low level with a Von Neumann architecture. Such architectures are an exceptionally bad match for what the Green Array (dataflow) architecture is good for, namely highly concurrent applications involving processing flows of data such as sensor networks, computer vision, and all manner of routers.

The way that Von Neumann systems handle this problem is by having high-level programming languages (like C), which gives you some level of abstraction from the hardware so that you can model your program however you like and force it to map to the architecture, even if the problem intrinsically doesn't map well. This is why parallel programming is a hard problem. It's not actually a hard problem (well, it could be intrinsically harder), it's just a hard problem for architectures that are not designed for it. On a Green Arrays chip, parallelism is the most natural thing in the world.

Currently Green Arrays has no equivalent of C, and as I understand, this is unlikely to change as the philosophy of Forth is to stay close to the metal and make that an enjoyable experience. That's probably a good thing actually. it's more efficient to design problems to fit the hardware than to use one architecture for absolutely everything as we've been doing for the past 40 years or whatever (with notable exceptions like the Transputer, the Connection Machine, Xmos XCore chips and FPGA's to a certain extent).
How Secure Is Your Password?
Why would I want to run an anonymous registration-free forum?

How do you solve these three problems?

1) trolling / griefing / flame-bating;

2) spam;

3) lack of community;
The real irony, to my mind is this: Apple is the company with the most integrity I've ever known. This manifests itself everywhere- from product quality to service at Apple stores.

Apple has been proactive in making sure their employees are well taken care of, here and abroad, and they've been doing this for the past decade.

They've been auditing suppliers in various ways for far longer than this story has even been in the news, going back at least to the 1990s.

Sure, Apple is the biggest, most profitable tech company, and it is also the one with the biggest brand. I think Apple's brand is a huge factor here- it is a global brand, it is associated with really good values such as quality, respect, integrity, etc, and thus it is the most attractive brand the put dirt on.

This explains why media, and unscrupulous people focus on attacking Apple for "working conditions".

But the reality is, when Foxconn has positions open to work for Apple, they get massive numbers of people who want to come work for them. Everyone in china has methods of communication, if Apple wasn't the best place to work, they wouldn't have so many applicants. Word would get out.

Apple solved this problem before it ever became a problem, but they are attacked because their brand is strong, and the people attacking them lack integrity.

They're also being attacked because it fits a political agenda. Unions and regulation have destroyed the manufacturing employment levels in the USA (actual manufacturing capacity is higher now than then, but a lot fewer people are employed) and so rather than recognize themselves as the cause of business moving overseas, they wish to demonize the businesses that did move overseas in the hope of coercing them to move back here. Every political season there are proposals that companies be punished for doing business overseas. This is why.

Thus perpetuating the fantasy that Apple runs sweatshops or uses "slave labor" is politically motivated.

The reality: When Foxconn cut back overtime (in response to this muckraking) the employees were very upset. They want to work more hours.

The employees have spoken...

----

I digressed. My original point is, that all these other companies are benefiting from Apple leading the way here. Apple is teaching the chinese how to be ethical and to treat employees well, by requiring it, and all these other manufacturers are benefiting from that.

This is a cost to apple, and it is a profit to those other manufacturers.

Thus it is really ironic when the media smears apple-- the company that has literally revolutionized manufacturing in china, as far as working conditions go.
Get insights on your critical business data [INVITE CODE: YCALPHA]
Your ten minutes are up.

I just tried to use your site. I created a board, claimed it (and created an account).

The response page to claiming the board said "Success: The claim has been filed. It will normally be processed within 24 hours (probably much sooner)." I'm not going to wait much longer than five minutes to try something new, yet you put up this roadblock that would seem to depend on human action. That's not going to scale.

I think this might be the eventual URL for the board:

https://plainboards.com/!Plainboards query on Hacker News/

I created it to see if we at HN could briefly eat your dog food; since it's a discussion site, I thought it might be interesting for HN to carry on part of the discussion/critique of your site on your site.

But when I posted the first thread, I got this response:

"Success: Your thread submission has been successfully added to the system and will be checked (and hopefully accepted) as soon as possible, often within hours or the same hour. You can see its status at any time and (possibly depending on preferences) you will be notified via a PM."

You're inadvertently right: this is ridiculous.

If I'm going to use any forum-like site, I want to create a "board," and possibly an account if absolutely necessary, and then I want the site itself to get out of the way.

In general, if I can't use a site instantly, then it's instantly forgotten.

My opinion is that you have some serious re-thinking to do.

Posted with the sincere desire to be helpful.

P.S. After about 20 minutes of stumbling around on your site, I see this on my account page: "You currently don't own any boards."

Dude.

Edit: Just checked the PM message area (I think), where I think I'm supposed to be notified when the board or messages are "approved."

"Your private conversations (globally)

Nothing here. Nice and tidy."

30 minutes.
Lawn chair is also a good wrapper for localStorage with plenty different adapters: http://westcoastlogic.com/lawnchair/
Maybe it's improved since then, but when I first tried ifttt it texted me that it was going to rain after it started raining, and then it kept texting me "Its going to rain" thereafter. Not very helpful.
Are people reading the complete article? I take the author not to be claiming that this happens because Groupon sucks. In fact, I think only the third hypothesized reason of five for the decline is actually a problem for Groupon. The fact that Groupon users may be more critical in Yelp reviews is only an indirect problem (ie. people don't want their Yelp reviews to go down), but isn't evidence of a fundamental problem with the model.

But the article suggests a number of very plausible reasons that have nothing to do with bad experiences. Further, as they say, until the compare these effects with any influx of customers, there's absolutely no evidence that Groupon isn't actually performing better with this metric than, say, running an ad in the paper, or getting featured on Oprah.
http://en.wikipedia.org/wiki/Digital_camouflage#Digital_patt...
Apple is criticized more than the others because they are in the media a lot already. They are a hugely successful company that has entered the public zeitgeist in a way that few of their competitors have. So, with this comes a lot more scrutiny, and thus it was easy for Apple to be the focus of attention when Foxconn's labor practices started to be reported on in the US.

Apple is handling this issue well (and much better than their competitors). But the real "issue" here is something that Apple has understood for a while. "The jobs aren't coming back" is a product of many factors, and the cost of labor is a red herring in this debate.
Thanks for the suggestion. It's on my todo list.
I think he's got 3) down.
Automatic scaling doesn't work very well. You can find numerous design blogs showing you in great detail why it looks slightly shoddy if you scale from 512x512 down to 128x128 or 64x64, and how below 64x64 you just get into illegibility. For your app to look great you need hand tweaked assets for most resolutions.
http://mrgan.tumblr.com/post/708404794/ios-app-icon-sizes
http://bjango.com/articles/designingforretina2/
It is still hard to raise a proper series A.
Ask HN: Review my startup: ProMapr
I totally agree. We use GitHub a ton, but every time I load the first page when trying to do something, my eyes dart across the screen, then a feeling of over-stimulation and weariness sets in. I take a deep breath, relax, and then try to deconstruct their interface so I can figure out what to click next. It definitely taxes the mind to use GitHub on a daily basis.

I understand it's a tough problem domain, but there is definitely room for massive improvement in the UX.
"It turned out the nightmare scenario came to pass and lots of young, black, lower income residents from East St Louis started showing up to the mall. A strange thing happened though, instead of destroying the area, they mostly just brought a lot of money and purchased things."

If the new arrivals had so much money, why couldn't they just drive in earlier? Why did they have to wait till (cheap) public transportation was available to come to this mall?
* I haven't played with exploit-exercises yet (definitely will when I get some downtime), but I've had a blast solving the challenges at http://io.smashthestack.org:84. They are hosted so no need to download VMs. They have a several more here that I haven't played with: http://smashthestack.org/

* I recently came across a computer security course which used CTF virtual machines for an assignment (you can download the VM and see how you do against Tufts University students): http://www.cs.tufts.edu/comp/116/assignments/a04.php

* Offensive Security's "Penetration Testing with BackTrack" (PWB) course uses a series of CTF challenges as the final exam.

* Any recommendations on any encryption challenges in this style?

We are seeing a return to the old guild system of masterpieces as proof of ability and learning aid. I couldn't be happier. I'd love to see a mash up between stackoverflow's gamification and Offensive Security certification/teaching process.
Hi,

ProMapr is an application for sharing -

1. job referrals with your friends and

2. your job wishes with your friends so that they can refer you.

I need some feedback on following (in the order) -

1. concept/idea

2. Process/design

3. Everything else!

It is sort of an Alpha version, not yet launched and still under development. I have been working on it after my office hours for last few months!

Kindly let me know what you guys think of it!

Thanks & Regards,

Kshitiz Anand
I've used environments with quick and reliable Undo/Redo stacks. To be completely compatible, one would have to treat code as data in a "nondestructive" editing scheme and save off the actual refactoring steps, which can then be committed automatically.

Or maybe, a "quick snapshot" facility could be developed to make it easier to save off intermediate steps and commit the series of them automatically.
That was an old bug. It is perfectly fine to disable swap completely. It's the first thing we do on our servers, partly due to the issues detailed in this blog post, and partly due to it being archaic and useless when you have 128GB-512GB of ram.
Brad Pitt
I got it from

https://twitter.com/#!/nicepaul/status/163797296306331648/ph...

which gives a data source and is linked from

http://go.bloomberg.com/tech-blog/2012-03-20-now-can-we-star...
The brown background is, and there's no nice way to say this, particularly unpleasant. Please make that a much lighter colour.

Change E2CA98 to F2EAC8, at least.
... and I don't see many people doing well competing against a free Google Analytics :)
If you read the original blog post, you won't get a headache from the hundreds of missing spaces in the r-bloggers version: http://dmbates.blogspot.com/2012/04/r-programmer-looks-at-ju...
Micah True, long-distance runner, found dead near Gila National Forest
There should be more information, for example page 2 (or 3) is Web SQL, which was dropped by W3C in 2010.
I haven't run windows in a long time, but I do remember from when I did run some servers that there were a lot of configuration options for how the kernel will treat memory allocation for a process. There is a also a big difference between windows versions, for eg. XP is optimized by default for a lot of different applications being opened where it will swap and fragment a foreground process even if it hasn't hit limits as it is anticipating other applications to be opened.

I think that a combination of allocating more to userland, killing all the default services and trimming the server, along with telling the memory manager to treat go as a background process would solve this.
Overcommit does not use or require swap. You can have overcommit enabled on linux and not be using swap at all.
Wealthier people are less honest than lower classes
New updates for Android Phones & Tablets
Should Microsoft be excluded from criticism if they make their buttloads of money from game sales and not the console itself?

Should Samsung be excluded from criticism because they discount their prices? Even though they make more phones than Apple?

If Apple decided to lower their prices to compete more aggressively with Android, would that absolve Apple of majority responsibility in your eyes?
this is right thinking.

every asset class has a benchmark asset, and you measure the return against it.

the issue is that i don't know what asset class funds would place VC investments in. they could (but i doubt) benchmark against treasuries or whatever.

iirc a sufficiently good vc return is 3x over the life of the fund, which translates to an IRR of maybe 20%.
The title is inaccurate. It should say, "the linux swap insanity problem" because this is entirely related to the linux kernel. It just happens to affect MySQL and similar workloads, but it is not MySQL's fault. It doesn't behave that way on other platforms either.
This only goes to show that Go is still not production ready.
Importantly, you will need to recompile with /LARGEADDRESSAWARE.
this seems really useful for mocking stuff up. imagine an app that's entirely client-side.

i wonder if you can mix this with an auth module somehow.

it probably needs a way to do logging and/or multiple commands (you could send a PUB message beforehand and log elsewhere)
I agree. I feel that their project page has severely declined in usability from a couple years ago. I wish they would hire a UX and/or IA expert to sort that page out.
Story behind the animals on O'Reilly book covers
Is this a case for a good product, or for deep pockets? :) nobody has dared GA, cause the product delivers. Not the case for everything that is free.

... And winter is coming. :)
impress.js is more JS heavy, but interesting in a similar vein: http://bartaz.github.com/impress.js