skysight-inc/HackerNews huggingface dataset:
The beets reimport functionality should really be thought of as a sanity check / rescan / quality control. So it will recognize the "untracked files" to borrow some git terminology. That is for adding files. As far as removing, moving, modifying files (i am assuming you mean metadata?) goes take a look at the move/remove/update beet commands.

What follows is a slightly rambly not well edited description of my importing. I apologize for the length/grammar.

I think I was in a similar situation as you. I started with 5 or 6 big collections of music that had diverged over the years; flac/shn bootlegs, old itunes installations, xmms libraries, etc and a couple of small collections from netbooks:

/music/itunes
/music/olditunes
/music/olditunes-ibookg3
/music/current
/music/blah
...

Before touching beets I ran rdfind over the itunes directories and then over the non itunes directories. rdfind leaves the copy in the directory listed earliest so I listed the directories in order of most recently used. This essentially wiped out the oldest directory from the itunes and non-itunes sets. I then ran rdfind against all of the directories (once again in order of most recently used). The amount of space I saved was insane.

Once I had manually cleaned up the low hanging duplicate fruit I did the two step import. I got hit with the CD1/CD2 quirk the first time I did the two step import. Because I had the backup directory I just blew away the beet library and started over. This time before I ran the quiet import I tried to do a best effort of consolidating the cd1/2 albums. `tree` came in handy for finding the problem albums:

$ tree -i -f -d --prune /music |grep -i "cd1\|disc1\|cd\ 1\|disc\ 1""

I did the `mv cd1/* cd2/` by hand. It did not take as long as I thought it would. I gave it my best effort and reran the quiet import. This solved a ton of the problems. Before doing the interactive import I sorted /music with

$ du --max-depth=3 -h /music |sort -h

Because I used the move import instead of copying it was easy to see if there were any recurring problems. The only things that are left are the things beets could not ID by itself. My biggest import hiccup was concerts from archive.org's etree archive. I still have to move them in. I am still deciding how I want to handle the one hit wonder songs. Right now my config has the following for paths:

paths:
default: $albumartist/$album%aunique{}/$track $title
singleton: 0xSingles/$genre/$artist/$title
comp: 0xCompilations/$genre/$album%aunique{}/$track $title

The singleton and compilation defaults are:

singleton: Non-Album/$artist/$title
comp: Compilations/$album%aunique{}/$track $title

This was going to mean my non-album and compilation album directories had hundreds of directories.

Feel free to followup with any more questions.
Don’t Start Running Until You Fix These Mistakes
The current app I work on has a lot of warts, but only five `before_save` callbacks (there's maybe five times that many total callbacks, although there are lots of validations).

If you really want to standardize the interface, use the tools that already exist: ActiveModel and validations. Your “Interactors” are models; they just happen to be coordinating models that affect multiple ActiveRecord models simultaneously. (I did this for an account plan change system that affected billing and device assignment to a plan. It could easily affect a dozen or more records, all in a single transaction, but was itself easily testable.)
> For giggles, here's a tool you can use to dump not only your saltless Windows password hashes but the actual passwords. This is because Microsoft also uses a reversible encryption scheme: http://blog.gentilkiwi.com/mimikatz

The passwords it displays (using the "sekurlsa" module) are from probing the process memory of LSASS.EXE to view cached credentials. So it will only display the plaintext credentials of currently logged in users.
What's the distinction? Whether they sell a thousand symptom suppression pills over a lifetime at $20 or 1 cure pill at $20,000 what does it matter? Are you saying people literally pay by pill count? Patents are monopolies, they don't charge the marignal production cost of one pill while they hold a patent, they charge what the market will pay.
From what I can see, it's just a Python script, so you should be able to use it anywhere there's a Python interpreter. It has some optional compiled dependencies for features like ReplayGain that may not work on ARM, however.
The problem with concerns is that they don't actually break down the god classes, they just separate the pieces of the god class into different files and combine them at runtime.

The important metric here isn't "wc -l app/models/god.rb", it's "God.public_instance_methods.length".
And what about preferring the second best candidate to the average candidate... say if you interviewed 95% of applicants after rejecting the first 37%, and then you find a candidate who is almost, but not quite, as good as the very best one?
arq (or any SFTP based client, including sshfs) will work perfectly with rsync.net.

The new-user-HN-discount is 10c per GB, per month, and there are no other (traffic/bandwidth/usage) costs. Our platform is ZFS and there are 7 daily snapshots for free.

We would be happy to serve you, as we've been serving thousands of users since 2001.
...ok, yeah, that went right over my head. I'm ashamed as I used to be an avid Simpsons viewer.
When Trilobites Ruled the World
Probably not. iTunes has its own sorting policy that may conflict with beets'. But you could still add them to the database without the sorting feature, if you just wanted to query files by tags.
I'm going to be the dumb guy ranting here and say that I dislike this word problem since external knowledge of the world can change your strategy. I might be stopping too soon because the time cost of evaluating candidates is far too high compared to the work that needs to be done immediately. The sooner I get someone in, the sooner that work gets done, the less behind we all get, the less workload for the new secretary, the better he/she will perform, and the better the first impression.

You might also be able to recognize a rock star secretary immediately or recognize obviously incompetent people. There's a competence threshold that's present here and has to be addressed if you dissect the analogy. Going for 'best' here has diminishing returns beyond a certain level of competence. The immediate need to decline/accept also really doesn't make sense if we're trying to explain this with a hiring analogy.

However, the Game of Googol nails it and I really like this approach much better when explaining this problem. It's a game with arbitrary rules so I can't easily use my worldly experience biases to solve the problem.
Out in the Open: A New Programming Language With Built-In Privacy Protocols
Show HN: BEMSimpleLineGraph - Open Source Charting Library for iOS
Well said. I've been meticulously maintaining a single audio collection for years now; sometimes I wonder why I do it. But what you said sums it up nicely.
1. Create snapchat alternative to try to harvest sensitive content & info.
2. Profit.

There is no platform or space, in someone else's control, that you can or should trust this way.
but the players deeply love this game, and play it ruthlessly. What then?
IIRC, this is not parsing, there is a Gmail API mentioned during 2013 Google IO

https://developers.google.com/schemas/tutorials/google-now-c...

https://developers.google.com/gmail/actions/getting-started
I think estimation is an important early concept - often I'll give my lad a question and he'll respond with a first answer that's ludicrous.
"Now think about it," I'll say.
"If you've only got 30 sweets, how can all 7 people get more than 10, does that sound right? Everyone has to get less than 30, surely?".

It's about getting a feel for quantities and units of measure.
Programming is 80% debugging, 20% writing bugs, and 1% off-by-one errors.
Without thinking about it too much...

One solution might be to try and find the the best candidate after (N/M)/e candidates, rather than N/e candidates. Then find the best candidate after (N_remaining/(M-1))/e candidates. That is recurse, by finding one candidate at a time, and discarding less then N/e each time to ensure you get enough candidates.
"When you just dont know what to do, follow the leader".. facebook is sitting in a pile of bad decisions.. i wonder when their karma will start to hunt them down..

Google can make a LOT of mistakes right now (and weird bets) without hurting them much.. but this is not the reality to the majority of other players.. Trying to play Google's game will make them feel dizzy very soon
You can script the OS and application install with WDS, SCCM, and AD. Just because you can't or won't do it doesn't mean it can't be done.
Chui: My face is my passport, verify me
ARGH! I just saw this on the man page:

If you have an album that's split across several directories under a common
top directory, use the --flat option. This takes all the music files under the
directory (recursively) and treats them as a single large album instead of as
one album per directory. This can help with your more stubborn multi-disc albums.

That might be easier than doing all the mv cd1 cd2. I have never used it. It will increase the interactivity of the import.
Quite interesting that discarding the first n/e candidates produces a 1/e probability of choosing the optimal one...

As for real-world applications, the only one that comes readily to mind is rolling up a D&D character, supposing one has only the patience for some predetermined n rolls. Somewhat ironically it is not a realistic fit for hiring, as there is seldom a need to accept or eliminate candidates immediately, interviewing more than 5-6 people for a role is torturous, and an interviewer uses his experience interviewing and interacting with people generally to have no mathematical prejudice against hiring the very first pretty-good option.
Text me if the CDC reports a Zombie outbreak
Biggest-ever virus revived from Stone Age permafrost
Try gevent or eventlet. Real pythonistas use these, instead verbose java-esque coroutines.
Askl HN: How Computer Architecture(CA) differs from Computer Organisation(CO)?
Common Belief (may or may not be true)
CA= Hardware Prospect ; CO= Software Prospect
CA: to be studied by electronix enggs. ; CO: to be studied by programmers
Surprised that Lua did not make the list.
Jesus christ. You aren't seriously arguing that handling it in a parent class removes it from the AR object's responsibilities, are you? In point of fact, that inheritance pattern is a bad idea, and I don't use it when I'm implementing an actual domain model, but that's seriously irrelevant.

1) I did argue exactly that; 2) it follows from (1) that an evented mechanism based on the database lifecycle of such objects is about the persistence of said objects, not about the domain.

lastly, if you think code complexity is about how fat your models are, I urge you to get out of "the rails way" for awhile and do some heavy reading. Moving code into concerns is just geography, and having lots of code in a single class is merely the most visible symptom of complexity.
Am I running Windows XP?
It's a model, all right—but it may not be part of the “Case” model. It might be part of a CaseAssignment model that is (for lack of a better word) a virtual model. Or it's part of the controller that does the changes. It mostly depends on how your code gets used and where it gets used from.

When I did something similar[1], I implemented it as a “virtual” model and applied validations to make sure that the PlanChange was properly constructed, and then performed the change in a transaction. I was able to test the hell out of it both with and without actual database interaction. But I was able to use it in three different locations and removed lots of special case code that had built up over two years of development.

You probably don't need Commands. You probably need something to orchestrate manipulating multiple ActiveRecord objects simultaneously in a transaction. It's still a model, but it may not be the model that you thought it was.

[1] Account from Plan [a] to Plan [b] that has a different quota, affecting Device assignments, possibly including moving some devices to Plan [b], some devices to Plan [z] (a default plan), and disabling some devices entirely because there's no quota available anymore.
And I'll bet part of the license will say, "Can't be run in a virtual machine", to prevent people from using it in combination with VirtualBox to run Windows Apps for free.

Because I'd sure as heck do that and replace hundreds of licensing seats worth of RDP as well as old XP VM's.
I believe they recognized piracy was actually an early form of the freemium model. Rather than forcing every consumer to pay up, they concentrated for many years on extracting money from users with deep pockets -- i.e., enterprises and OEM partners.
The future of the web platform?
> Information for the sake of information is not knowledge, nor learning.

If you're going to secretly use nonstandard meanings for English words, just stop posting.
How big data is changing the book industry
Free today, tomorrow it will be subscription based SaaS. What else do you expect from a former VP of MS's Online Services Division?

edit: subscription, not prescription. yet.
I can possibly think that there's never a reason to reach for a pattern when it's better to let a pattern emerge from your code and then refine it. As far as the video is concerned I personally won't bother to watch it—Bob Martin sells snake oil as “clean code”.
A young woman from Pakistan posted a question as to how to get denied entry to the U.S. without getting into legal trouble.

As time goes on, through comments and the like, her situation is revealed to be rather horrific, and gets enough attention that, among other things, its possible a member of her family might see it.
How do you even know about this, so unknown, Thanks :).
Can you script all those common installers that are (a) not an msi, (b) don't have a /SILENT switch or other unattended installation, (c) require license input, or any combination thereof?

I guess you could use AutoHotkey to simulate mouse clicks, or attempt to repackage the software yourself. But when comparing the ability to script installations in general, linux has a major, major advantage.
Colbert entertains security experts at RSA Conference 2014
Why a company wants to make more money is beyond you?
This reminds me of a tweet from Alexia Tsotsis saying that everyone will either work for Google or Walmart in the future. It looks like San Francisco is giving us a preview of that future.
>buying something that's stolen is also illegal //

Usually that's limited to "if you know it, [or should reasonably suspect it] to be stolen".

I can imagine many scenarios in which he used the phone in the video without it being stolen, and more in which it was stolen and he wasn't aware of that.

"Hey my Dad found this phone left at his work, he's taking it to the Police Station in the morning; do you want to have a look at it?"

"I won this phone in a game of poker, want to buy it?"

However, I thought you were claiming it was illegal to make the video.
Certainly Silicon Valley has their fair share of douchebags, but the media hype surrounding this is simply nonsense. The world hates Silicon Valley? You're telling me that somehow all these SV douchebags outweigh Hollywood or Wall Street douchebags? Come on, now.
If you graduated in 2009, you got screwed. I'm sorry.
And also see this: http://www.massey.ac.nz/~rmclachl/overthehill.html

However, I wonder if there is something else going on here. What I noticed in the list (and in the article I am linking to) is that the early peak seems less obvious from a historiography perspective than it does from a contemporary perspective. So I can't help but wonder if there is a qualitative difference in the sorts of contributions that younger and older mathematicians make.

Thinking more in terms of fluid vs crystalized intelligence here, but wondering if there is something else. I know my fluid intelligence is not where it was ten years ago, but part of that is a greater understanding of the problem domain. I can see more possibilities, and I see different ones than I would have before.

So I don't think it is as simple as we might want to think but I do think that thinking patterns (and abilities) change qualitatively as we age in ways which are favorable for important contributions when viewed through the light of history. Whether a thesis review board would agree is a different matter.
Apple isn’t taking over your dashboard, but will get apps into your car
That's not even XOR, that's NOT!

The problem is not using XOR in itself, since virtually all good crypto is based on it; it's what the XOR'ing is with.
Basis acquired by Intel for 100M
The biggest cost of my computational grants are funding for people. They don't go away just because you can pay for AWS on a credit card.
Someone described Google's foray into driverless cars, robots etc as the emergence of Google as a conglomerate. Those projects are just too many steps away from advertising revenue to claim they're all part of a common vision. The same is true for Amazon, Microsoft, etc as examples of successful technology conglomerates.

With similar capital available to it, Facebook needs to stop thinking "one trick pony" as a social network and start thinking conglomerate too.

Investing in drone technology is a good start for them.
The people being targeted by the hate are low- and mid-level engineers at companies like Google and Twitter, who have nothing to do with San Francisco's absurd housing policy or the economic inequality in general. They might be better-paid peons, but they're still peons. They aren't responsible for "this game" and many of them detest it. (Would you want to have no savings at age 37 because, despite your relatively high salary, the landlords have taken everything?)

The First Estate of Silicon Valley (here, including San Francisco) are the highly influential angels, VCs, and corporate executives who can force acquisitions. The Second Estate are the engineers, mid-level product managers, and data scientists. The Third Estate is everyone else. Naturally, the First Estate is trying to prevent any chance of alliance between the Second and Third Estate, and actively encourages tension between the those two groups. It's also clear, however, that the First Estate screws the Second (all of the collusion/anti-poach agreements that have been uncovered). In fact, the Second and Third Estates have a common enemy in the First. They've just been prevented from realizing it, in large part, by all the obfuscation that's going on.

To people in poverty, $120,000 per year is a large amount of money, but it's not nearly enough to bribe city councils into enacting the NIMBY policies that make San Francisco unaffordable.

The real bad guys don't ride Google buses. They have private drivers, and the Google buses don't stop on Sand Hill Road.
It should be noted that San Francisco isn't the only area blighted. Cho's in Palo Alto is being pushed out by the landlord.

http://www.mercurynews.com/ci_25015784/chos-close-palo-alto
I think making decisions like this aren't poor. You can honestly learn a lot when something fails. So what if this doesn't work? The field of drone development will grow and produce better products because of this, Facebook will potentially grow even more, and a bunch of third world countries have the potential to come online and experience the web.
I think the best outcome would be the first state-sanctioned cryptocurrency. I have a feeling in Iceland it's possible given what they've been through.
> What would you say is the maximum LOCs for a public controller method?

As small as it needs to be in order to get the job done, and as large as it must be to get it done clearly. Sometimes that's zero lines of code; sometimes it's 500. You can usually factor down a 500 line method, but it may be worth asking what the breadth cost is should the code really be single-use.

If your metric is anything else, then you're playing Stupid Metrics Games, like that espoused by Code Climate.
You're telling me that somehow all these SV douchebags outweigh Hollywood or Wall Street douchebags

It's not a contest, we can all be douchebags. The point isn't that we're the worst, it's that supposedly we're up there.
I've been not quite needing this enough for years. Such is life.
I'm wondering if it's valid to file a bug that Debian's source for beets is in SVN whereas beets moved to Git, and could be handled with git-buildpackage now.
Does this deal with FLAC album images properly?
Repacking all the software yourself so that you can automate the installation of packages is hardly what I'd consider a solution.

In practice, people use drive images of Windows, or Ninite, or pay the neighbourhood PFK $12/hr to "automate" it.
This article did an excellent job verbalizing the incredible feeling of mental potency one gets when learning to program. When you see that first "Hello, World!", you are hooked. I still get this feeling whenever I learn a new platform. When I learned Android I was amazed that I had made a real-life app run on my phone. When I learned Ruby on Rails I proudly stuck my flag in the surface of the internet and declared myself ruler of my domain (pun intentded). When I learned to program an Arduino I felt my code-laden tendrils inching out into the real world: that light is blinking because I demanded it do so!

This is why i'd like to teach programming to kids. I really don't care if they continue with it or ever learn how to do anything useful, I just want to expose everyone to that feeling of power you can get when you're behind a keyboard and in front of the right tools. It makes you think you can do something amazing, and everyone should have a chance to feel that.
This. If you love a subject, go and spend a lot of time at a library. Fondness for a subject is a prerequisite for getting a PhD, but is very, very far from being sufficient.
Cho's in Palo Alto being evicted
Still, it means your monthly price isn't actually what it seems. With 72 hour retrieval, you'll be paying about $14 a month, compared to CrashPlan's $5. And what if you need the data earlier? If you have bad luck and your hard drive crashes a month after you make your backup, you'll end up paying about $100 a month, at least for that month. CrashPlan's flat rate means you don't have to stress out about the fine print.
$60m seems so quaint, so frugal these days.
They do parsing as well.

I forward all my work flight itineraries to Gmail (so I get Google Now notifications) after cut & pasting them out of the Word document I get them in.

Gmail parses them and displays them using the "Flight details" format, even though there is none of the information required for the "Actions" thing linked above.
> It ain't no Ivy.

...and I stop taking you seriously.
My gut feeling is that this will be them porting Windows RT back onto x86_64, similar in a sense to Windows XP Starter Edition, with options to pay for a "full" license that can run Desktop (i.e. not Metro) apps.

I hope to be proven wrong.
Include a button showing "Trends"
Unlike those other companies, Facebook has a clear vision: Connect the world. If you listen to Mark Zuckerberg talk about that vision, you see that facebook.com is just a part of the over arching goal. It's really cool to see such conviction.

Rather: Google, Amazon, Microsoft - those companies just print money and have the luxury to think 10 steps ahead. Granted some of the most brilliant minds work for them, so their view of 10 steps ahead is often spot on and extremely innovative (gmail, aws, IE).

jk jk on IE. Honestly, I am not sure what Microsoft has done lately..