skysight-inc/HackerNews huggingface dataset:
> I would love to be able to remove a (huge) file without going through the trash can.

1. Why?

2. `rm huge-file`
While no doubt it must be no mean task to document fast moving technology (I have just seen the toc), but many of these concepts/libraries are still evolving. Maybe a good record to check back in a few years, what worked, what didnt.
Spotify api released for iOS developers
Spotify is profitable
单枞茶
Most file systems don't gracefully handle 100k files in a single directory. It's not what they are designed for. Disk block sizes also mean that each password may be consuming several kB. The space waste on a modern system might not matter, but inode exhaustion might be a real issue on Unix-type filesystems.
You're already familiar with a couple of things that can be built this way: word processors and multiplayer game servers. In both cases SQL databases are too slow and too awkward.

Financial trading is another area where databases are too slow. I know of one place that uses this approach to keep pricing data hot in RAM for their financial models. And Fowler previously documented using this for a financial exchange:

http://martinfowler.com/articles/lmax.html
There are some neat little libraries that help with this in Clojure. The basic idea is that when you introduce changes through transactions, the actual transaction (code) is appended to disk (which is very fast), and this becomes your "database" file. So, what is persisted is just a list of state changes that are "replayed" to restore state.

The individual transactions could also easily be distributed to multiple nodes via a message queue.
From the article:
"Should regulators reject the transaction, AT&T would pay Deutsche Telekom $3 billion in cash. It would also provide T-Mobile with wireless spectrum in some regions and reduced charges for calls into AT&T’s network, for a total package valued at as much as $7 billion, Deutsche Telekom said this month."

I don't get it, I thought this would happen if the deal went through. What is this $7 bn package in the event that the deal is blocked?
Couple can sue laptop-tracking company for spying on sex chats
This is incredibly helpful, thanks a ton for answering.
This is the field we choose.

Expand your thinking in the abstract about what a database is. As 71104 mentions, a file system is also a database. What you are thinking of as "a database" is really a specific type of key-value store that is located on disk. But the fact most DBs are on disk has nothing to do with the concept itself.
PHP.net Had Secret Stash Of Pirate Movies, Music and Games
google cache: http://bit.ly/qeFIj6
T-Mobile would clean up on this deal if the US Government succeeds. Look at that breakup fee: $3 billion in cash and another $4 billion in non-monetary benefits.
I agree, I haven't had these issues either. Lion has worked very well for me and my old MacBrook Pro is actually faster because of it. The one persistent bug I have is opening files/links into full-screened apps. For example, clicking a link in Twitter won't switch the screen to Chrome if it's in full-screen and I've had worse problems on that front.
I agree, I haven't had these issues either. Lion has worked very well for me and my old MacBook Pro is actually faster because of it. The one persistent bug I have is opening files/links into full-screened apps. For example, clicking a link in Twitter won't switch the screen to Chrome if it's in full-screen and I've had worse problems on that front.
I knew one of the people behind it.
You spelled vi wrong
I've been waiting for this quite eagerly. There is a compiler regression in 2.9.0_* that prevented people from writing code that interfaced with Hadoop.
It's a breakup fee as explained here:

http://www.avc.com/a_vc/2011/02/ma-issues-breakup-fees.html
HN Philosophy: Does entropy exist on Tron's grid?
That's the breakup fee. If it goes through, the payment would be $39B.
JQuery Mobile Pagination Plugin
The Sprint/Nextel merger led to a steady increase in mobile phone plan prices. One can only imagine what an AT&T/T-Mobile merger would do.
Good. To have all the GSM spectrum being controlled by one carrier would clearly have been anti-competitive.
>Vista was a dog because it was slow, resource intensive, and Microsoft never issued any updates to fix it.

That's somewhat disingenuous. RTM Vista and Vista today are hardly the same thing, and Microsoft was pushing out updates to fix updates within the first couple of months it was on the market. The infamous slow file copy bug being a great example of this:

http://www.computerweekly.com/Articles/2007/04/17/222983/Mic...
Which five things?

Also, did you do a clean install recently, which would indicate that configurations should still be fine, or did you upgrade from a previous OS, which could (but shouldn't) have an unusual/broken configuration?
I don't think your app would be considered over-designed - check their "police scanner codes" example.

Your app still uses normal buttons, and even the "tabs" are close to Apple's toggle-button-array design. Your search field is exactly like the OS standard. Compare that to the article's examples.
3000 hits over 2 hours is < 0.5 hits/second and nothing to write home about, sorry.
The breakup fee may be what T-Mobile was looking for all along since Deutsche Telekom AG has said it's not willing to invest more in the venture. $3 billion isn't chump change and I'm sure they'll take full advantage of those agreements (e.g. spectrum rights, etc) should the deal fall through.
Writing CEK-style interpreters (or semantics) in Haskell
Except Jobs did get a job at Atari. The article even mentions this, but hand waves it away as though it didn't count. He also had a job at HP in high school. That's where he met Woz.
"Package management is somewhat of a hell..."

What about it? There's a few packages (mostly C extensions) that don't always build right, but the only problems I've had using pip and virtualenv on Windows have been related to corporate proxies/DNS.
The article did not hide any of these facts though, so it's not "utter nonsense". The title of the original article is "A Higgs Setback: Did Stephen Hawking Just Win the Most Outrageous Bet in Physics History?", nothing like "RIP Higgs". The article, at best, is trying to be provocative. But, more importantly, you believe in god?
Almost without question v2. That is what they used in the past and this time there are patent issues to boot.
Interesting Research Topics and Term Paper Writing
At higher educational institutions students have to fulfill a lot of different writing tasks, among which is term paper writing. When a professor asks a student to write it, he/she assigns the topic of the research paper; but there are cases when students have an opportunity to choose the topics for their papers themselves. It is a great chance to evince oneself and work with the topic that is most interesting. The difficulty is in a long list of interesting research topics, from which every student has to choose the closest to his knowledge.
>Vista (IMHO) had a rotten core

Windows 7 would suggest you're dead wrong about this. W7 is largely Vista with some polish and a rebranding.
In many applications, data outlives code. This is certainly the case in enterprise applications, where data can sometimes migrate across several generations of an application. Data may also be more valuable to the organization than the code that processes it.

While I'm no fan of databases, one obvious advantage is that they provide direct access to the data in a standard way that is decoupled from the specific application code. This makes it easy to perform migrations, backups etc. It also increases one's confidence in the data integrity. Any solution that aims to replace databases altogether must address these concerns. I think that intimately coupling data with the application state, as suggested in the article, does not achieve this.
+100000. Wow. Package control and Soda is awesome. Where have I been? I never really liked the dark tabs personally and this fixes it! This should be on ST's main page lol.
Firefox 9 Gets 30% Boost In JavaScript Performance
Windows 8 - Designing for Metro style and the desktop
The Music Industry Copyright Battle: When is Owning More Like Renting?
When was the last time a merger of this size got blocked by the Feds?
https://github.com/sinatra/sinatra

https://github.com/stefankroes/ancestry

https://github.com/jnicklas/carrierwave

https://github.com/ernie/meta_where

https://github.com/ryanb/cancan
This is what got me to switch back to Lion. I probably could have lived with most of the other issues (the biggest: multimonitor setups), but the fact I could get to my desktop after login without kernel panicking was an issue.

I do presentations rather frequently, and the thing I feared was that it would KP during one of those. I plan on upgrading back up to Lion in another point release or two.
I didn't finish the article because I read the one on Event Sourcing (http://martinfowler.com/eaaDev/EventSourcing.html), pretty good pattern. I like that every time he describes a new one (to me), I feel like I have to use it.
The SQL constructs are great, but the biggest advantage to relational databases is that the engine handles your data consistency issues for you. Consistency isn't just about rolling the datastore back to a specific moment in time -- you have to handle locking, concurrent reads/writes, etc.

If you're building a trading platform that handles 6M transactions/second, you have the money to handle this in the application layer and the load to justify the expense. But for many other tasks, you may be wasting money or putting data at risk.
Postmile (former sled.com), an open source collaboration tool in Node.js
I worked on a site once that loaded at an okay rate for the live site, but the staging server would take about 15 minutes (seriously) to load once every other hour or so. I thought this was strange, same code and all, so I looked into it.

There was a loop on the page that instantiated objects with an id, the number of ids dependent on the results of a previous query. What did that object instantiation do under the hood? It performed a query to fetch state. I calculated that 5000 queries were being run, and it only cropped up every once and a while (and seemingly 'never' on the live site) because queries were automatically cached for a set amount of time.

I was new on the project, and in what is probably poor form, went around the whole office, letting my horror be fully known. People just shrugged though.

edit: I forgot to add, modifying it to only perform one query was trivial.
It seems like the guy is just trolling/venting, but I've had the same thoughts of "Apple's Vista".

I don't want to add to alarmist dirt tossing, but I've been running Lion since the first public betas.

My thoughts each release as it evolved, long before Jobs resigned, were "I don't think Jobs is around anymore, if he were, he wouldn't let this crap go".

LaunchPad, Mission Control -- these things were neat at first, but then they got annoying and cumbersome.

The new concept of scrolling is not intuitive, whenever I use it, I still get this momentary interrupt in my brain.

It would be intuitive if my fingers were on the screen scrolling, but since they're on a trackpad that's about a foot and 90 degrees away from the screen, it's not intuitive to me.

The UI is getting more Windows control panelish, things are needlessly being abstracted or hidden, but I need these things regularly, so now I have to sort through 2 more views before I get to what I need, or worse, launch Terminal and use 'defaults write'.

I'm not sure why the Dock is there anymore. It feels superfluous with Spotlight search and the non-suck portions of LaunchPad and Mission Control around.

Instead of an elegant transition between Mac OS X and iOS, it seems like clunky patchwork.
Internal web applications at work. It's more clunky and cumbersome to install packages on Windows than *nix and the command line is underpowered and less integrated, but the benefits (and sheer joy) of programming in Python are worth the slight impedance mismatch.
The only issue with this otherwise wonderful feature is that often when chrome starts doing something weird/broken it turns out it installed an update and is ready to be restarted.

So it appears there is a bug where the update messes up currently running processes.
That's fair enough, and thanks for the tip. I think my larger point is that I don't like that they actively removed something that was working fine for me. If it was a fresh install I'd be fine with it, but upgrading a previous install shouldn't be equivalent to "uninstalling stuff randomly" to me.
Yes, it's interesting to note that the technique is known as "Carmack's Reverse."

On the topic, John Carmack said[1]:

"The patent[2] situation well and truly sucks. We were prepared to use a two-pass algorithm that gave equivalent results at a speed hit, but we negotiated the deal with Creative so that we were able to use the zfail method without having to actually pay any cash. It was tempting to take a stand and say that our products were never going to use any advanced Creative/3dlabs products because of their position on patenting gaming software algorithms, but that would only have hurt the users."

[1] http://newenthusiast.com/carmacks-reverse-still-an-issue-200...

[2] The patent number 6,384,822, "Method For Rendering Shadows Using A Shadow Volume And A Stencil Buffer", can be read here: http://www.google.com/patents/about?id=Om0LAAAAEBAJ
I don't see "vi-mode" in my site-lisp.
what implementation did you use? what others exist? thanks.
It's worse than that, really. Creative bought a company (3D Labs) that patented a mathematical formula. Creative wasn't even directly responsible for coming up with the technique.
I tend to use screen, rather than use tabbed CLI windows. Or you could use tmux.
I'm not suggesting that at all. I think W7 is arguably the best OS Microsoft has released (except maybe for Win2k). At the time of Vista Microsoft was managing 2 seperate Kernels, one for consumers and one for servers. The 6000 build Vista was based off was (IMHO) a more bloated XP build.

They made a great move by consolidating to their Server kernel. Windows 7 reflects this in its speed and stability.
I have a 2007 white MacBook. Lion runs just great for me.
Hey There Giving Out Orders | Newsflavor
Agreed. You definitely answered your own question. Just tell them the truth. There is nothing to be ashamed of in that answer.
Financial Times pulls iOS apps, directs users to new Web app
Entropy is a measure of disorder. So yes it does. Any system containing information has entropy.

Or are you asking if randomness exists in Tron?
You can get a pretty good idea from looking at the mod sdk code, which is available from here: http://iddevnet.com/doom3/

There's quite a lot available in the game code; the physics system at least, maybe also the script interpreter? I haven't looked in a while.
American Apparel's in-house guru shows a lighter side
I wish it had code folding, and I wish I could do a block cursor instead of the | (easier to see) but I don't think those are hugely popular requests.
The point is that the Armageddon will come with a zillion of recruiters using web mashups. They don't need invitations.
I don't experience these issues, but some of the Lion eye candy is downright wall-bangingly stupid. I want a vegan option for iCal.
I missed that somehow, although it seems perfectly obvious now. I'm flexible enough to relearn a familiar key binding. (How often do you hear that in reference to a text editor?!)

Thanks!
Isn't this essentially what prevayler http://en.wikipedia.org/wiki/Prevayler is?
Blackbeard's Ship Confirmed off North Carolina
Why bother? There will be a few minor agreements and/or spinoffs, then it will be approved.
How to Apply Special Effect – “Emboss Effect” to text in Corledraw
I bought the Early Release of this book a couple months ago. The book does a good job of introducing MVC concepts and how they can and should be implemented in a JavaScript web app. Even if you have a background in RoR, Django, CakePHP, etc., the best practices for implementing the MVC concepts client side should prove helpful.

The most worthwhile part of the book - for me - was maccman's coverage of three popular JavaScript MVC frameworks: Backbone, Spine, and JavascriptMVC. The coverage included the basics of how each framework worked, as well as sample apps for each. Other gems included dependency management options (module loaders) and testing client side apps.

My only complaint - and one that maccman can't be faulted for - is the book covers a topic that's rapidly changing. There's few de facto client-side frameworks for MVC or dependency management or maybe even testing. Personally, I think that makes this more exciting, and the book does cover the current state well.
I don't know if it uses "event sourcing" per se, but doesn't HN use in-memory & serialized Lisp data structures instead of a DB?
A request for the language gods
First, I think that to be fair, if you're going to say someone is having a "Vista Moment", they have to have bet a significant chunk of the company on the OS. When iOS 7 blows up, talk about Apple's "Vista Moment".

Second, I think there's an implication here that prior releases of OS X have been great. They have not been great. Snow Leopard was solid, because that was its only goal. Much of what Apple has attempted with each release of OS X has been unsuccessful; remember when people were upset by Spotlight's mdimport grinding machines to a halt, or Filevault messing up home directories?

The reason these things don't stick in our head like Vista is that Mac OS X is a lot less important to Apple than Windows is to Microsoft. And Vista wasn't that bad! We just obsessed on the market's poor reaction to it. The market for the most part doesn't care about OS X.

I also like "OS X Kitten" as the next OS name. That, or they should switch to Pokemon.
I'm having the same experience. I got a 2011 Air (my first Mac) and Lion seems pretty decent. Scrolling feels natural, and everything seems to work as it should.

My only complaints are the keyboard (as a programmer I really miss home/end/page up/page down), and that I can't reopen closed tabs in Safari.
Try a clean install. As always, this is the preferred method for upgrading. (This is because there can be user-installed software that had explicit dependencies on the older environment.)
EventSourcing/CQRS (Command/Query Responsibility Segregation) is gaining a bit of traction in the .NET community. There are some great presentations[1], blogs[2][3] and projects[4] related to this architecture.

[1]: http://www.infoq.com/presentations/Command-Query-Responsibil...

[2]: http://www.udidahan.com/?blog=true

[3]: http://blog.jonathanoliver.com/

[4]: https://github.com/joliver/EventStore/
Very powerful - thanks for sharing.

But the more you do, the further away you get from being understood, from the joys of normal life, from being understood by your neighbors and backing each other up and living together harmoniously.

I cried for the first time in three years when I realized it.

The million dollar question… why don’t people take the large opportunities in front of them? Why don’t they allow their dreams to become realities?

Become it means you won’t be understood. And we need to be understood, fundamentally, it’s so important to us.

Wow.
Only those running admin accounts benefit from this feature. If you run Chrome in a limited user account on Windows 7, or a Standard User account on OS X 10.7, Chrome may or may not prompt you for an admin password (depending on the configuration). I've always had to quit all my applications, log out of my everyday account, login as admin, update, logout, then login again.
The coupon does work for both - you save $2 over the bundled price.
I was confused about those, by the way. What exactly does the new Aero support in putty do? I haven't noticed anything different in how it behaves.
I agree that C++, like C before it, has some dangerous failure modes, but Java has them as well. I've been trying literally for years to get some of the people that I work with to understand how dangerous it is to have a runtime exception outright kill one (or many) of the threads in your program if it reaches the top of the stack while leaving the rest of the program limping along as best as it can. The safe default behavior in this case should be the Java equivalent of abort, and I push people to use factories that produce this behavior as much as possible, but I can't count the number of times that I've been trying to make sense of bizarre behavior while testing a program only to suddenly come to my senses and go to the log file where stderr has been redirected and see a ton of stack traces. It's only recently that I've gotten into the habit of checking for that first before I try to make sense of anything else.

With that said, the sort of C++ failure modes that you're talking about tend to mostly occur when working in optimizations, and if you program with a bunch of STL containers and shared pointers (i.e. program C++ like it was Java) then you don't tend to see these problems very much.
Buffer overflows.
The first time I did it myself. The next couple of times I used what the other reply mentions: Prevayler.
I think that's why they agreed to it. Would be interesting if this is the one thing that propels T-Mobile out of the back of the pack.
Einstein warned against reading too much.
I've experienced my own set of issues (oh god the kernel panics), but really, you haven't experienced anything he mentions? You don't feel like Mission control is a pretty big step backwards from even the old spaces UI (on a single monitor, it is)? You really haven't had problems or questions with the new fullscreen behavior? You think Launchpad is not pointless? You've _never_ had action misses on drag-and-drop to the browser?

Sometimes I wonder what people think they could possibly do with legacy configurations to cause problems like the ones described. Is there a com.apple.absurdly-slow-on-3-year-old-hardware.plist you're expecting to find hidden in their ~/Library/Preferences? Pebcac is real, but if the problem exists between the majority of computers and chairs for a given OS release, then maybe it's time to redefine the problem.
I think that the best thing DB-s provide is the separation of skills. I can fully concentrate on the programming side and just be aware of the db side, and the DBA-s will handle setup, replication, migration, analytics, ad-hoc queries, backup, etc.

If, on the other side, I had to do it all myself, I'd most probably have lost my last hair.
I'd like to see tabs support in mintty...
Naive question: suppose that you serve a low-throughput site, say with a total of 3MB of data (probably text files). What's the simplest way to ensure that those 3MB of content (very little compared to 120MB) live always in RAM? By this I mean not giving the server a choice =).
FWIW, I've completely given up on iCal in favor of Fantastical.
My productivity hacks
How did AT&T not expect there to be a potential violation of anti-trust law? That's the first thing I was wondering when I even heard about this merger. Agreeing to a breakup fee without an exception clause for government intervention in this case is the most ridiculous thing I've ever heard.
I'm saying it's not a mistake, it's a decision, which of course has its drawbacks and pitfalls. Hypocritical, self-serving politicians can still have understandable and even rational motivations and arguments.

Believe me, I ain't putting no fathers on a pedestal. But you seem to like putting them in a cesspit.
Reopen closed tabs is, afaik, Command-z
Jammit has worked extremely well paired with Barista+Compass, but for a Backbone-heavy app where templates are shipped client-side, it's nice to tack on '.erb' at the end of a template file and use Rails asset helpers for cache-busting and asset host url construction.
Do people lose interest in programming as they age?