Jump to content

harry747

Members
  • Content count

    50
  • Joined

  • Last visited

Community Reputation

0 Neutral

About harry747

  • Rank
    Mac Geek
  1. harry747

    any cocoa programmers here?

    by now i've found this method: boundingRectWithSize:options:attributes: which i think can do what i want it to do, but now i have another problem: no matter what i do, the compiler insists on giving me an error: "incompatible types in initialization". the method expects the following types as parameters: - an NSSize for the size (why does it want a size? it is supposed to calculate a size, right?) i create a new one using NSMakeSize - an NSInteger for the options check - an NSDictionary for the attributes i use an NSMutableDictionary, but even when i convert that into a regular NSDictionary, i still get the same error at compile time. so the question is, WHAT AM I DOING WRONG?
  2. i did that, and it seems to have solved my problem (chaos instead of a clear picture). looks like I don't need ripit after all :-)
  3. harry747

    any cocoa programmers here?

    Hi. i'm working on a project where i have to draw some text into a custom view. how can i find out how big (how wide and how high) a piece of text is going to be when it's drawn? on the one hand, i don't want the end of the text (or number) to go beyond the edge of the view, on the other hand i don't want to waste too much space. can someone point me in the right direction?
  4. harry747

    Good browser

    if security is more important than convenience and ease of use, firefox is the way to go, along with a few add-ons. it gives you much better control of scripts, ads, cookies, flash cookies, all those nasties that you wouldn't want on your system. i use the following add-ons: - adblock plus keeps ads out - noscript lets ME decide which scripts to run and which to block, on a site-by site basis - betterprivacy takes care of flash cookies - perspectives and SSL blacklist warn me when a site uses a dodgy SSL certificate and firefox itself gives me far better cookie control than safari ever will. so for me, it's firefox all the way. well, almost. there are sites (like google maps) that don't work in firefox :-(
  5. harry747

    the latest update

    update: today I launch firefox and everything is back to normal. add-ons are back, bookmarks are back, everything. WTF??? why did everything disappear suddenly, and why is it back equally suddenly? is that weird or is that weird? now the only problem i have is that ssl blacklist claims to be incompatible with firefox 3.6 :-(
  6. harry747

    the latest update

    3.6? i didn't even know there was a 3.6. i'm using 3.5.7, but if 3.6 is out, i'll soon start using that one...
  7. harry747

    the latest update

    hi. i recently applied the latest updates using software update, and the next time i launched firefox, it was like i had just installed firefox. bookmarks gone, add-ons gone, preferences on default settings. anyone else have this problem? by now i have reviewed the preferences and reinstalled the most important add-ons, but there are still a few issues: - noscript doesn't work the way it should. for example i can only mark the sites i want to use as untrusted, and i can only allow scripts from sites i don't trust. - anyone know where i can get SSL blacklist? i can't find it.
  8. harry747

    Any iPhone developers here?

    I've tried the forums, but I can't get in. For some reason it keeps kicking me back to the login screen :-( and yes, I've paid my 100 bucks (or 60 quid, in my case).
  9. harry747

    Any iPhone developers here?

    never mind, i found out why the map view didn't respond to setRegion: it wasn't properly connected to its outlet.
  10. harry747

    Any iPhone developers here?

    so far i can only run my app in the simulator :-( anyway, i get a location from the CLLocationManager, and I want to make the MapView show that location. problem is, the map doesn't change when I use setRegion:. I can compile the app ok, I don't get any error messages or anything, but the map doesn't change. Am I doing something wrong? BTW, i can zoom in and scroll the map using the mouse, but how do I zoom out in the simulator?
  11. harry747

    iPhones and bikes

    I'm afraid turning 3G and GPS off is not an option. The problem is that if i turn those functions off, my app won't work the way I want. The whole point of this is that I want to have a map, speed and so on, and for that both GPS (location and speed) and 3G (maps) are required.
  12. harry747

    iPhones and bikes

    Hi. I'd like to use my iPhone as a bike computer. Because both the 3G and the GPS eat battery power for breakfast, I want to supply some power from the dynamo to the iPhone. Does anyone know about any products that let me do that? Or would I have to come up with some custom solution? How much power would be required? Are there any sensors (maybe Bluetooth?) that I can use to send a signal to the iPhone every time a magnet goes past? I'd use that to find out how fast I'm pedalling.
  13. harry747

    backup app

    I tried it out yesterday and the very files I want to save (the ones in my home folder) were the only ones NOT backed up :-(
  14. harry747

    backup app

    It can? Even from within a filevault-protected user folder? I was under the impression that superduper can only backup and restore the whole user folder as one file. Hmmm... Anyway, I'll check it out...
  15. harry747

    backup app

    The ability to restore everything in one go is nice, but what's the point if i can't restore single files? If TM could do that, I wouldn't have lost all that stuff. YMMV, but I think any backup app that can't restore individual files is useless.
×