skysight-inc/HackerNews huggingface dataset:
Moving a file (within the same file system) is an atomic operation on most file systems, but writing data is not.

If you don't do this and you're overwriting a file directly and the write fails for some reason, the data from the old file will be gone and you'll only have a partially-written new file in its place.

This also helps with systems that continuously poll files and watch for changes. If you have, say, a compiler watching your file, you don't want it to start compiling a partially-written version of your file and give you some strange error just because it happened to poll before the write finished.
Visualization of the goals in the 2014 FIFA World Cup
There was a code search engine wave a few years back which I thought was a decent idea but they apparently never gained much traction (Google Code Search, Krugle, Koders come to mind). One thing I don't recall seeing which is a good call are the real world examples.
That forensic article is a consequence of what I was referring to.

When you delete a file on a mechanical hard drive the physical contents of the file still exist on disk, so you can use tricks like these to recover deleted data.

When the drive is then told to write over these locations it doesn't matter that there is old data there and it writes the new data to the location.

SSDs however store data in pages, and while they can write directly to an empty page they can not write directly to a page that already has data in it. Instead, an SSD has to read the current data from the page, modify that data with the new data that it wants to be there, and write the new data to the whole page at once. This is called a read-modify-write operation and is a major reason why SSDs (even now) decrease in performance as they fill up.

The issue is that when you delete a file on disk there is no way for the SSD to know that those data blocks aren't important anymore (without TRIM). The controller of the SSD has to manage a full drive of data (even if you're only actually using some percent of it) and only figures out that a file was deleted when it is finally told to write something else to that location.

TRIM tells the SSD that a file was removed and allows a controller to recover that area to help maintain its performance.

There is a really good discussion of this topic in this article from way back in 2009: http://www.anandtech.com/show/2829
Do you have to turn it on to see time or does it wake up on certain hand movement?
If you do that, then you're only going to get the user to solve a few CAPTCHAs per pwned computer per day (maybe 20 or so if you make it really mean). If that's all you want, this hashcash implementation won't be an obstacle either, but that's a far cry from a million spams a second.
Thank you!

Watching the technological progress is fine, yes. But I can't passively watch because I'm involved. Every exciting thing is not just something I can applaud as a consumer but something I have to be after as a developer and entrepreneur.

Sometimes I do ask myself if I'm trying to do too much -- but is being present with your company on both big platforms (iOS + Android) too much already?

I can calm down when I'm not at work (e.g. in the morning). But as soon as work starts, I just see the huge piles of opportunities and demands.
ServiceWorkers and Firefox
"Onerous"? Of all the Go source code on GitHub, there was only one place where an /internal/ path component wouldn't have the desired effect of this change.

If you're talking about using this feature with existing code, renaming a directory is not a hard operation.
The 10 Ways You Must Fight For your Right to a Kick Ass Life
> US cloud

and

> it was not a peak time

So, doing maintenance on US servers, on a Friday, during a timeframe when the US is getting off work is not a peak period of time for those servers? That sounds a bit like using numbers to lie, or at least minimalize the impact.

I can see how it might have been a lull when considering all Heroku instances (since most of Europe is headed off to bed), but I have the feeling this was not the case for the US servers. I could certainly be wrong, since I'm just speculating, but it just seems fishy.
...not just into hierarchical storage but also into RAM...

Just to clarify, by "hierarchical storage" I mean the entire storage hierarchy of the computer, multiple tiers of which may contain a copy of any given data in use by the computer: registers->cache->RAM->HDD Cache->HDD[->backups]
I'll admit, I didn't even click on your link, but rather went by your claimed range:

> Government stated inflation based on chained CPI and other new measures to reduce inflation may be at around 2%, but previous formulas used in the past to calculate inflation would show a much higher rate (6-10%)

I'm not here to quibble about inflation ranges, but to point out how idiotic their 'methodology' is. Don't take my word for it;

James Hamilton (CV: http://econweb.ucsd.edu/~jhamilton/) - http://econbrowser.com/archives/2008/09/shadowstats_deb

Greenlees and McClelland (Who actually designed the CPI methodology) - http://www.bls.gov/opub/mlr/2008/08/art1full.pdf

Or my favorite, via the libertarian blogger James Parsons. If you actually use Shadowstat's inflation ranges, you can 'back-calculate' the price of assets to show how insane they actually are:

* If shadow stats inflation assertions are correct, the 'real' value of housing has dropped 60% since 1980!

[1] - http://blog.jparsons.net/2011/03/shadow-stats-debunked-part-...
Any chance your project is open source? I would do this to something like 2 emails a year, but I'm intrigued by how it works from the technical aspect. Is there a database, or just exim/postfix magic?
To stay on top, all you gotta do is have 3 years experience in everything that came out in the last year.
To your aside: I for one really appreciate Heroku's color scheme. I find high contrast color schemes very fatiguing, and prefer light-ish on dark-ish color schemes like Heroku's. I don't really believe in a universally ideal color scheme. I think we should instead focus on building and supporting tooling to help people adapt content to their needs.
Indeed, "test" is exactly like "[" except that it doesn't check that its last argument is a "]".
Yikes! The continually changing numbers drives me crazy. Thanks for the tip, but I think I'll stick with just using ":13" to go to line #13... I guess there is some benefit if you do a lot of yanking/cutting based on lines, rather than some magic matching or such. But for now, relative line numbers is not for me.

For (a little) more, see:

http://vim.wikia.com/wiki/Jump_to_a_line_number
Make and use technology just for yourself, then you can always keep up.
Ask HN: looking for marketing co founder
i am looking for a marketing co founder. A good co founder would be someone who is currently based in US, probably grew up overseas, and know how to market to minorities community in US.

anyone interested, please contact me via email in my profile. Thanks.
Both in the linked page and the archived version, I don't see any difference from the 2013 version.
Thanks, I'm a founder, and this is probably a large part of the problem. As an employee, I could just say every day: Today, I'm trying to accomplish as much as I can. Everything that is too much is just postponed to tomorrow.

But as a founder, I feel I can't just work relaxedly while your industry is moving faster and faster. You impose other standards, don't you?
I noticed there also Code Labs, for example the Android Studio one. There are lots of VODs up for other day one talks, but since Code Lab is a bit different, do they usually release stuff for those, like walkthroughs/tutorials ?
Interesting idea. Would there be any sort of pre-requisites? I could see something like this being pretty successful at private universities (where parents sometimes have more money than their kids have ambition/drive/talent). It would resonate with the same folks who pay big bucks for SAT and ACT prep classes
Terminal.com lets you instantly launch a Linux instance
It seems premature to be "freaking out a little bit" before knowing the details. This specific component might be open source and/or the same API with a different package name.
Check out the Oregon Medicaid study and you'll find evidence that counters your claims, namely that access to healthcare improves health outcomes (i.e. early detection and treatment did not lead to measurably better outcomes). [1]

It's a pretty impressive study. They took a number of uninsured in Oregon and held a lottery. Half of the people got free access to Medicaid and the other half remained uninsured.

The study found that costs go up (because people now have health insurance), but people weren't better off in terms of health (except for those with depression).

[1]http://en.m.wikipedia.org/wiki/Oregon_Medicaid_health_experi...
Fellow I/O attendees, do you plan on choosing the LG G or the Samsung Galaxy Gear as your take home device? I already use an S4 for my phone so I'm inclined to go with the Galaxy Gear. But I think the LG G is a little more aesthetically pleasing. Thoughts/opinions?
> Sorry, but I take offense at arguments that are stupid or dishonest.

Having read the conversation it looks more like talking past each other and failing to get to the core issue then stupid or dishonest arguments on either side.
I'm conceptually a fan, but then I noticed its effect on my actual CPU fan. Whatever this is doing for rendering the Markdown is not cheap -- a single keystroke in the editor pane on the sample document triggers 5+ seconds of max-CPU usage.

Typing causing loud fan noises from my laptop is not the most restful experience.

https://www.dropbox.com/s/qy6szsbjs7cw3uv/Screenshot%202014-...
Debug Safari on iOS and Chrome on Android with Firefox Developer Tools
I have often had the same thoughts. Personally, I try to keep up with the news and the development in the industry (not just basically, as everyone does a little) because I want to have foresight and vision.

A trivial example: Some competitor might decide to start developing for some platform today, but with all the background knowledge, I might say: No, it's time to bet on another platform -- which could cause a critical advantage for me in the future.

But sometimes, I feel like the people who are just diligently doing their daily work and 100% focusing on their own project are not only a bit more productive, but (and this is far more important) happier.
but plenty of musicians manage to become rich (often becoming not-indie musicians in the process). There's lots of musicians, they can't all be successful. A musicians failure to become rich should not be taken as a sign that youtube should give them more money, it should be taken as a sign that their music don't have a broad enough appeal to make them rich.
I'm in my second year of Swift already and doing just fine...
Ah, I see a problem.

As a Founder, it is just as important for you to say 'I am going to accomplish as much as I can' and not go beyond that. Balancing life with work for Founders is a continual issue, but is VERY important in order to prevent the kind of burn out you are talking about.

So what if there is new tech out there? Adapt to it at YOUR pace. If you have a product that is solid, and customers on that product, chances are you can make it down the road a bit just by progressing that, and by gradually working in the new stuff. Focus on VALUE...not on buzzwords. Will that new tech help you provide value to your customers? If so, devise a plan that gets you there. If not? Forget it.

Hire the right people to help you get done what you need to get done. As a founder, your job is to provide the master plan, the vision, and the tools a team needs to succeed. NOT to take on the entire world and make it all your own problem. Delegate.
One very useful advice when it comes to 'what to memorize' is trying to always watch yourself using vim. If you happen to do something repetitive, ask yourself: is there a better way to do it? How to automate it? And then, commit this new tip to memory.
This way, you actually only memorize what is directly useful.
This tip has served me very well.
I always thought that Google Now was built (in part) for devices like wearables.

Do you think Apple's device interface won't involve swiping?
Interesting — my native language is Portuguese and it suffers from having gendered nouns. Writing in English to me is an improvement in that sense. I didn't know there are other languages which are even better in that respect. What is your native language?
Exactly ;( And I feel like the more ambitious you are (for yourself and your company), the more you suffer from this problem.
Almost. There are in fact people in the world who do not have $7 and who once could walk into a clinic but will have to essentially beg their doctor to give them service for free. It's a tiny crack but if you want to apply the word "universal" a tiny crack is as good as a chasm.
Sorry the tech world isn't stagnating?

I get that there are busy days and overwhelming days and stressful days. If you have too many of them, that's a personnel problem or a time management problem on the part of whoever is in charge of allocating your time and your team's time. Fix that, because I hope tech never stops evolving.
Unfortunately this is exactly what I feared smart watches would look like. It looks like a house arrest ankle monitor more than a watch. If they can get cut the thickness by a factor of 3 and the width/height by about half, I would be interested, but as it stands there is no way I'm walking around with a chunky box strapped to my wrist.
Material found in bath salts could make solar cells cheaper and safer
Is there any way to use this feature without all the other Streak stuff cluttering up the UI (among other things, the "box" icon on every message in list view, Pipelines on the left, big button on the top, six new buttons in compose view). The CRM stuff looks spiffy, and getting the snooze feature through you is good advertising in any case, but I don't currently have a use case for those features, so I can't use the extension if it's going to fill up the UI with them.
You've seen this, right? https://moto360.motorola.com/
Although not that that thin, it does look like an actual watch and not a house arrest ankle monitor, IMO.
Google Drive for Work
Maybe you should find a programming job where things move at a more glacial pace, in this regard? I don't really have any experience with this, but I have the impression that there can be a big difference between different programming jobs when it comes to the rate of change.
From the article: "The G Watch never sleeps. Its Always-on display allows you to check the time and see new information at a glance without touching it."
Which languages have solved this problem?
> NOT to take on the entire world and make it all your own problem.

Which is exactly what I'm trying. Thank you! It's just that it often seems to me you can't have a proper work-life balance unless you shut your eyes to all the opportunities you can take and demands you have to fulfil.
No pictures? A page entirely filled with renders doesn't instill confidence. This is something I'd expect from a kickstarter campaign, not a big manu.
Agreed. It would be cool to an application that takes advantage of the fact that your watch is relatively publicly accessible. Ideas would include the silly "mood watch" that you can set to indicate to others if you're feeling social or busy or stressed. Or a matching app to help you find someone that you haven't met before. Your watch is a small bit of shared communal knowledge traditionally and it would be fun to see applications that take advantage of that socially.
CloudCar is part of the WebTV mafia. Bruce Lee and Andy Rubin both worked on WebTV and this is the connection. There are a very large number of WebTV alumni working in the Android team at Google as well.

There are a number of WebTV folks at Nest Labs and this is another connection to Google (no matter how much the Nest Labs folks claim then aren't part of Google).

So yes, CloudCar is well connected into Google.
Ok, some time out might help you regain your perspective.

Yes, there is a lot of change. But other than maintaining a sense of what's going on, you should FOCUS on what your customers need and why.

If your software has a lot of issues, then is it because it is trying to do too many things? Maybe you need to segment your customer base and thus your software to be focused on a manageable set of functionality.

In your segmentation effort you could fire those customers who cause the most work and contribute the least amount of revenue. Yeah the old 80:20 rule. Focus on 20% of your customers who provide 80% of your revenue and in turn focus on 20% of the functionality in the software that delivers 80% of what the customers require.
You Can Buy Google's New Android-Powered Smartwatches Right Now
>In my opinion, Erlang is already where it needs to be, and new things happen for it every month or two that completely blow my mind.

What new things and how do they blow your mind?
Yep. Probably best to focus on the end user, who usually doesn't care about your underlying tech. WordPress, Facebook, Craigslist, all built with tech that isn't the latest and greatest, yet still successful.
> - with a strong computer science core, it shouldn't be overtly difficult to learn a language for some new project because the concepts stay the same.

It probably isn't difficult, but it can be tedious. And over time, tedious can turn into drudgery and so on.
The Platforms of Google I/O 2014
Google says first cars running Android Auto software to roll out this year
It's the Facebook news feed effect; realizing that no matter what you do you can never keep up with everything that's going on. The world is too complex. Probably best to find a way to focus on a specific area of expertise, just as as it's healthy to focus on our own lives and those closest to us, rather than the never-ending stream.
The problem isn't that tech is moving too fast. It's churning too fast. How many copycats, changed (i.e. broken) APIs, new ranking algorithms and UIs do we get for every one tiny bit of actual forward movement? All this "disruption" for its own sake sucks the time and energy out of the people who actually do all the innovating. When half of every release is about fixing broken dependencies and half of every sales cycle is about answering FUD from "competitors" who fail on the very fundamentals, that's not progress. It makes me want to get out of the business too.
> Instead of employment contracts, people should be able to work when they want, how they want, and where they want... We call it crowd-founding.

Investors get to diversify their investments but founders usually are bound to the success of one company. If people could really do "crowd-founding", they could diversify into many different projects.

Q: Successful startup require one group focused just on the startup.

A: Perhaps a startup could have a core team and a larger group of crowd-founders (who could also be crowd-funders) to help with other aspects.

Q: How would equity be allocated fairly?

A: This would need to be dealt with, but as mentioned in the post, it could be "determined by the community" in some way. Also, if the founders are funders, they will be willing help out like advisors do, even without additional equity.
5 years here, son. Step aside.
As the founder you are still effectively "employed" by your customers. Focus on delivering what the most profitable segment of your customers want. Disregard the rest.

If you still have too much work, then maybe you need to hire some staff to take some of your workload.
Heroku only has two regions, Europe and US. Many applications not targetting the American market are still hosted on the US region. For instance, I live in Japan, and all the heroku applications I know of are hosted in the US region. Additionally, as I understand it, most of Heroku's resources are used by a small number of large, international services, who's usage times don't necessarily correspond to USA hours.
Or the OP is just not good at what he does.
Tangentially related: Check out the slow web movement :)
This is awesome because I like Mou but it had some pretty big pain points:

- Large files caused it to slow unbearably/crash

- Scroll tracking was terrible (TexWorks is the only similar thing I've seen that does it well).

It looks like these aren't necessarily fixed in MacDown 0.1, but at least there's the opportunity to improve it with time.
I don't have an iphone or android so someone tell me if this is unusual: just put your finger of the camera and send a little typed message.

But the issues he highlights are the exact ones I envisioned when I first read about this.
I'm male and not particularly small, 6'2" 195lb. The moto360 is specced at 1.8" diameter (unclear if that is the screen or the entire device). Either way, the top of wrist is 2" across, so yea, it's better, but your still talking about a device that is huge in comparison to my wrist. I can't imagine how any of the current generation of devices are even thinking about the smaller end of the male population let alone the average wrist of the female population.
Whether the OS is charming all depend on it's UI. Android's UI let me down. But a reason let me like android, because of open OS, everyone can design their own UI.
+100 Easy to mistake churn for productive change.

Might be an idea to view competitors through the eyes of your customers. They might not be as important to your plans as you might think.
Can We Stop Tornadoes by Building a Giant Wall?
You can still be a software developer, just don't follow the trends and look downwards and specialise. What part of development do you love the most? Do that, get great at it, and don't worry about the daily currents, just look at the yearly trends and stop worrying.

Did you know people still do greenfield development in PHP and that it's a huge market? I bet that wasn't even on your radar! Stop reading Techcrunch and specialise in what you like.
What a stupid, ignorant comment.
I'm the opposite. Every "new" thing to me just seems to be the same old thing with a new coat of paint. Maybe I'm just nostalgic but there are very few things that seem magic to me anymore. By magic I think I mean that either I have no idea how its done or, better yet, its something that's suddenly done so well I can't figure out how they pulled it off.

Seeing an Oculus Rift actually work for the first time was one such example. A new Facebook API that "changes everything" is really really not.
You can read it at the Way Back Machine:

https://web.archive.org/web/20140618142018/http://blog.42flo...