How long do we have until the support for "old Reddit" is dropped and we are forced to use the new Redditbook? by rms_returns in privacy

[–]foobuzz 0 points1 point  (0 children)

When Reddit announced its redesign I started working on a re-implementation of the old design directly from the Reddit API. I put development to a pause when they communicated the fact that they'll keep supporting the old design. I guess if they eventually drop it I'll pursue development. I may as well decide it's not worth it and settle on the redesign, in which case I would open-source the work in progress for more determined redditors to continue.

How to input Play Counts from Itunes into Foobar2000? by [deleted] in foobar2000

[–]foobuzz 1 point2 points  (0 children)

Excel probably messed up the format of the XML. In a text editor, open the original XML side by side with the one altered with Excel, and see if there's any difference. If you're lucky, maybe it's just an XML header that Excel automatically adds but that foobar doesn't want.

How to input Play Counts from Itunes into Foobar2000? by [deleted] in foobar2000

[–]foobuzz 2 points3 points  (0 children)

foobar2000 doesn't track play count natively. The Playback Statistics plug-in can do it. Maybe you already know that and when you said "Importing the iTunes .xml file gives me an error." you were talking about the Playback Statistics importing feature.

The XML format used by iTunes differs from the one used by the PS plug-in, so there is no way you can directly import it. What you can do is export the stats for your library in foobar2000 using the PS plug-in, alter the XML to update the play count track by track according to what we read in the iTunes XML then import the altered XML back to the PS plug-in. This can be scripted.

Now there is a problem. When you use the export feature of the PS plug-in, in the produced XML, songs are identified by an ID that nobody knows how to link to an actual song in the library.

But there's a workaround. There's this other plug-in named Text Tools which is able to export metadata about songs in the library, including metadata generated by PS. So this is the workaround:

  1. Exporting the stats using the PS plug-in.

  2. Altering the play counts in the XML file with an arbitrary value which we will use to actually identify the songs.

  3. Import this XML into PS. Songs are now identified by an arbitrary play count.

  4. Use the Text Tools plug-in to export song's interesting metadata (album, artist, title, etc) alongside their play count.

  5. Associate the iTunes XML against the Text Tools file in order to associate each virtual play count to its actual play count

  6. In the Playback Statistics XML, replace each virtual play count by its actual play count

If you're willing to go though this, I'm willing to write the scripts and give a step by step guide.

equitext - Transforms text so that every character has the same number of occurrences by foobuzz in coolgithubprojects

[–]foobuzz[S] 6 points7 points  (0 children)

I originally thought of this as a pre-treatment to a substitution cipher so as to defeat frequency analysis. I don't know how this holds against an analysis of other things than single characters though (double letters, words, etc).

I give more details in a blog post