2006-01-23
I was trying today to think of an effective way to securely copy files to another, restricted machine.
The idea of this being that no matter what happens to the source machine, the backups will always still exist (unless something nasty happens to the remote machine, too).
The simple way to do this securely against interception and the source machine having a physical faliure of some kind is to use an ssh-key+scp to copy archives across from a cron job.
This, however, means you have an ssh key lying around on the source machine; it doesn't even protect the backups against accidental overwriting, let alone intentional.
Firewalling and lack of access on the target machine means that running a server would be challenging, I'm yet to think of a good, safe solution.
2006-01-15
Having previewed the new Annual from the Ministry of Sound, and christmas having passed, I thought it was time to go buy it.
Unfortunately, thanks to the Ministry of Sound's infinite wisdom, the box that looks like this contains completely different cds to the box that looks like this.
Can't spot the difference? Have a look at the track list, according to DreamUniverse against Amazon's attempt. Ah.
I was after the version DreamUniverse are selling, for it's version of Hi Tack - Say Say Say, but I'm not paying for a company I've never heard of to ship me a cd that they probably don't even have a reliable track list for.
Back to 'sampling' it is for me, congratulations, Ministry of Sound, you just lost yourself another sale.
2006-01-11
As mentioned in
this bugslayer post, GetWindowLongPtr and SetWindowLongPtr are defined incorrectly when doing 32-bit compiles, meaning that my code is destined to create warnings until a fix is released. #pragma warnings do not count as fixes, sorry.
The warning (or error, if you're trying to build with treat warnings as errors) you get is:
warning C4244: 'argument' : conversion from 'LONG_PTR' to 'LONG', possible loss of data
2006-01-07
I noticed the other day that the 'enqueuing' functionality had disappeared from Winamp, which was mildly irritating, as it's really quite useful. I searched the changelogs.. no mention, then I remembered it was part of a plugin, JTFE.
Quick download, install using the installer, reload Winamp and.. nothing. No enqueuing. No extended jump-to-file dialog. And, furthermore.. no mention of the plugin in the list of "installed plugins" (which really seems just to mean "plugins in the .\plugins folder").
I tried poking it a bit, system log, dependency walker to check it wasn't looking for anything and dying silently, etc.. no idea. Last ditch attempt, re-install Winamp, no luck.
This necessitated me re-installing the last.fm plugin, which, although it loaded, and was submitting plays, bombed out Winamp trying to enter the configuration dialog. Quick search of their (actually useful) forums quickly came up with this post, which suggested turning DEP off.
This fixed the last.fm plugin, but also, surprisingly, fixed the fact that JTFE wasn't loading. Assumably something's trapping the DEP error it's encountering on load.. didn't know applications could do that, doesn't sound terribly good for security...
2006-01-03
I noticed today that http://localhost:32214 had enqueued itself in Winamp.. I have no idea when or why it happened, due to not getting near the bottom of my playlist very often, but.. what is it? Random open ports on a pc isn't normally a good sign.
A bit of investigation suggests that it's the last.fmplayer, which is strange.
last.fm has radio links on their site, but they're all done using a custom protocol, for instance lastfm://user/Faux/loved, so it apparently isn't those.
Launching the player, then immediately hitting the "Play http://localhost:32214" button causes something slightly strange to happen.. you get what appears to be a "200 OK" from the address in Winamp, then nothing.
Winamp, not getting anything from the station, gets bored and goes on to the next track, no surprise there.
The surprise comes when you try and use the last.fm player after this.. it doesn't work. It repeatedly comes up with "There is not enough content left to play this station.". I wonder how secure and stable the minihttpd they're using is? If the port's externally accessible, and they're expecting you to run the player full time, this could be a bit of an issue?
Also, I wonder what's going on, and if the last.fm's protocol is flexible enough to write a mini-proxy based on their source allowing you to use Winamp to handle the lastfm:// links.
Either way, opening random ports on people's machines without explanation is bad, mmkay?
2005-12-29
I was asked today which OS I was using, and why.
I'm using Windows on both of my machines at the moment, and I just remmebered why.
Last time I tried linux I didn't have a mouse to hand.. I thought.. no problem, I've been coping fine in windows like this for ages.. I know all the hotkeys, etc. I accepted that these were unlikely to be the same on linux, but I did know that tab (switch highlighted object) and alt+tab (program switching) etc. were common.
So, I boot up linux for the first time (of that install, anyway), and get dumped at the desktop. No icons, of course, most people consider icons on a desktop to be a bad thing (heretics, more on that some other time). So, now.. running something.. let's just click the "start" button.. hmm.. no mouse.
So.. "start key". Nope, no luck.. interesting. At this point a normal user (well, one with a broken mouse) would be completely shafted.. but I think, no, I'm more experienced than that, I can work this out. Ctrl+escape? Nope. Start+pretty much anything? Nothing. Alt escape? Nope. Alt+tab, my trusty friend, is, of course, giving me nothing.
But, then I think.. aha.. still not completely screwed. I can merely highlight the taskbar! So I hit the tab key.. nothing. More tabbing? Nothing. Darn..
So, next attempt.. hard-reboot the machine into Windows.. back to happiness.
Just for those of you that don't know, Windows' desktop/taskbar is completely mouse-free friendly. Highlight the desktop (start+D being the quickest way to do that), and hit tab. You've got the start button. Both space and return will get you something you can navigate with arrow keys + return.
It doesn't even stop there. Quick-launch, the program buttons and even the systray (yeah, I was impressed too) are completely accessible using only the keyboard. I've only tried this on XP, but I'm willing to be it holds back to at least '95. Go go Microsoft.
« Prev
-
Next »