Tag Archives: time machine

One day one code #16

Time machine update: i’ve managed to get almost all my data back. Right now all 45Gb of music is downloading. Also in this time of cloud based services, like password managers and Dropbox, there is not many things you can actually loose. So computers are pretty much disposable (like Apple wants you to think about iPhone), it’s so easy to upgrade and safe. Almost always.

Back to the main topic of this blog. Coding. Bunch of stuff going on with Sonata. I am still pretty serious about writing a post about that later someday. On the other hand C learning is not going too fast. But i have managed to make progress on the calculator. Added modulus operation, negative numbers support. They also have added stack operations as a part of this exercise, so get(), clear(), swap() etc. are done too. The code is not thread safe by the way. Which is something i recon is hard to do (and is out of scope of current chapter). I will post the code in this blog when all things are done.

Tomorrow i am visiting San Francisco. So most probably will not have too much time to spend on coding. So i will post code-related photos.

Insert title here

You know how you supposed to make backups to keep all your data safe and warm? If you don’t – trust me, you have to do them. But here is a catch (how come that there is always a catch in this world?) – even if you do make reserve copy (or even several of them) – does not necessarily mean you are on the safe side. How is that? Very simple: software is broken. Which brings me to this comprehensive post from Scott Hanselman. Go on, read it and don’t tell me he is not right.

I’ve been using Macs for at least five years now. And rarely had any problems. Until now. Bought a new Mac (retina if you ask me) and certainly wanted to get all my stuff quickly from Time Machine. Except that Migration Assistant did not find any valid data on the storage. Weird. Tried several things here and there which did not lead to anything… I don’t say there is some critical stuff, but photos and documents are nice to have. Also rsa keys. And Kerbal Space Program saves.

After some digging found James Pond site, stuffed with Time Machine troubleshooting information. According to him, what happened is backup process failed to finish for any reason (although i do remember waiting for it to stop) and creating invalid records. Every other (finished) copy of data should be fine, just the last one is corrupted. So here i am, copying my home folder from network storage (which is my TM disk) manually. It will take just three hours or nine. And it better work.

Will see tomorrow.

On the code side: been playing with PHP stuff all day at work. Got a good piece done, but it doesn’t work because of some crazy issue with Document mapping in Symfony CMF. That stuff is seriously decoupled. Have to spend lifetime to get it to behave. I will write a separate post about it someday maybe to help guys like myself (or future me) understand it better. But like i said yesterday – best docs for open source is the code itself.

That’s it for today.