Monday, July 30, 2012

Netbeans: vector Obselete Collection

created a vector in Netbeans when it displays the following error: "Obsolete Collection". 


And I found it very strange. So I went to investigate the Netbeans forum. And found this.

 Vector is not deprecated BUT since Java 5 you have : ArrayList.
A Vector is synchronised, an ArrayList is not. So, if you don't use threads, you should use Arraylist instead of Vector.

Java 5 API : http://java.sun.com/j2se/1.5.0/docs/api/
http://netbeans.org/images_www/v5/nb-logo2.gif
Source: http://forums.netbeans.org/post-81854.html

Developing an application from scratch in Java

I am developing an application from scratch in Java, which I will use the company where I work.

One of many reasons to use java, is because I can run Windows, Linux and Mac (never tested yet).


 And I will put on my blog, source code of the application I'm developing. To help other programmers.

The questions and problems that I can and I'm having. Other developers also can have.


Until next time.


 For the curious I'm using Netbeans + JDK 7.

Monday, July 23, 2012

Asus EeePC Apple Hackitosh Update Snow Leopard 10.6.3 to 10.6.8



Hello to all, is today, I'll explain how I did the update 10.6.8 to 10.6.3 Snow Leopard with a clean installation.


What you need:
  1. 10.6.3 Retail dvd (original dvd or a backup to 8Gb flashdrive)  
  2. Boot CD: Iboot + Multibeast
  3. Kexts (Drivers)
  4. Sleep/Hibernate :
    1. Sleep/Hibernate : OS X10.6.8 / Darwin 10.8.0, SleepEnabler 
    2. VoodooHDA.kext
    3. Wifi:  RT2860_Ralink_Installer_10.5 (STA_RT2860D-1.2.2.0UI-3.0.0.0_2010_05_18.dmg)
    4. EeePc Pack:  SL_Extra_eeePC.zip (don't have direct link)
    5. nawcom pack: legacy_kexts_by_nawcom.zip
      1.  EvilAppleACPIPlatform.kext
      2.  EvilIOPCIFamily.kext
  5. Tool:  Kext Utility (Kext_Utility.app.v2.5.1)
  6. Apple 10.6.8 Update: Apple 10.6.8 Combo Update
  7. Kernel: 10.6.8 / Darwin Legacy Kernel v2  (from Nawcom)
  8. Boot HD: Netbookinstaller 0.8.4 rc1 (NOT 0.8.5pre) "NBI"


Part I - Instalation Mac OS X

  1. Burn a CD or DVD whit Iboot image
  2. Run iboot image, then change whit Snow Leopard installation disk. Them press the F5 key. And select Installation dvd.
  3. Fallow the request installation.
 
Part II - Boot HD instalation

  1. Execute Netbookinstaller 0.8.4 rc1
  2. Extract Multibeast
  3. Copy dst from SL_Extra_eeePC.zip ( choose 1GB or 2GB depend ram you use) to multibeast. Execute and choose Easybeast Instal + User DST Install.
  4. Reboot
Part III - Update 10.6.8
  1. Install the 10.6.8 update. DON'T REBOOT. 
  2. Install the new legacy kernel.
    1. Extract the legacy kernel to system root.
    1. Run terminal windows and execute the following commands:
      1. sudo mv /mach_kernel /mach_kernel_bad
      2. sudo mv /legacy_kernel-10.6.8 /mach_kernel
  3. Execute multibeast again Easybeast Instal
  4. Execute Kext Utility
    1. move all kext from SL_Extra_eeePC to kext utility
    2. move all kext from nawcom pack to kext utility
    3. move kext SleepEnabler to kext utility
    4. move kext Install VoodooHDA to kext utility
  5.  Install the wifi
  6. Rebbot
 And all works
    • Wifi
    • Sound
    • trackpad
    • Webcam
    • keyboard
    • Sleep
    • wired ethernet
    This process works if the disc is clean.



    Feel free to comment.

    Saturday, July 21, 2012

    Asus A8js 10.6.8



    1. Nawcom Legacy Kernel 10.8.0v2

     Do not install SleepEnabler and Apple HDA if you want to update to 10.6.8


    have installed Snow Leopard 10.6.0 with the 10.6.1-10.6.2 Hazard distro, I chose the 10.2.0 Legacy Kernel, AtherosFix, IOATAFamily Fix, AppleIntelPIIXATA Fix and the AMD Patch. Then I installed the Combo Update 10.6.1-10.6.8, replaced the Legacy Kernel 10.2.0 with the Nawcom Legacy Kernel 10.8.0v2 and restart. And all works great, no Kernelpanics or other issues.


    Update to 10.6.8 with Combo updater from [10], at the end, don't press restart,
    After install all update, delete AppleACPIPlatform.kext before reinstall it from SnowLeo installer pendrive with ACPIThermal package. Open the pendrive in Finder, click "Go" menu "Go to folder…" item, write "System", browse and install the package System/Installation/Packages/notebook/ACPIThermal.pkg

    Thursday, July 19, 2012

    New VideoLAN (VLC) version 2.0.3

     The new VLC is out, but is only for mac  :-( .


    Large Orange VLC media player Traffic Cone Logo
    VideoLAN and the VLC development released VLC 2.0.3, this update mainly targets the Mac OS X platform. Most improvements are for Mac OS X Mountain Lion, but also this update includes many bug fixes.


    Finally,VLC Media Player 2.0.3 includes updates for 18 translations and adds support for Uzbek and Marathi. Bugs preventing the activation of the Gaelic and Thai translations in the earlier version were resolved.


    Official Downloads of VLC media player



    Windows
    Get VLC for Windows
    Get VLC for Mac OS X
    Get VLC for iOS

    Sources

    You can also directly get the source code.

    GNU/Linux
    Get VLC for Debian GNU/Linux
    Get VLC for Ubuntu
    Get VLC for Mint
    Get VLC for openSUSE
    Get VLC for Gentoo Linux
    Get VLC for Fedora
    Get VLC for Arch Linux
    Get VLC for Slackware Linux
    Get VLC for Mandriva Linux
    Get VLC for ALT Linux
    Get VLC for Red Hat Enterprise Linux

    Other OS
    Get VLC for FreeBSD
    Get VLC for NetBSD
    Get VLC for OpenBSD
    Get VLC for Solaris
    Get VLC for Android
    Get VLC for QNX
    Get VLC for Syllable
    Get VLC for OS/2

    Monday, July 16, 2012

    Apps uninstaller OS X

    http://www.freemacsoft.net/images/ribbon.pngUnlike Windows or Linux the automatically installed applications, can be uninstalled. Unless they are compiled in the case of Linux.

     But in OS X, it does not. There is no installer or apt-get or yum, or something similar.
    And to remove an installed application, is not so easy. You must delete the application, system files and records used by application and user files from the application itself.


    Fortunately there are applications made ​​by developers who do not belong to Apple, and that are free. And I hereby present AppCleaner from FreeMacSoft.


    AppCleaner is a small application which allows you to thoroughly uninstall unwanted apps.

    Installing an application distributes many files throughout your System using space of your Hard Drive unnecessarily.

    AppCleaner finds all these small files and safely deletes them.


    Simply drop an application onto the AppCleaner window. It will find for the related files and you can delete them by clicking the delete button.

    Requirements: Mac OS X 10.4+

    Download:

    Saturday, July 14, 2012

    Mac OS X 10.6.8 on EeePC 1000h

    After several, but even huge attempts. Finally I managed to successfully install Mac OS X 10.6.8 on EeePC 1000h.

    Just got it to work with a clean installation. I installed 10.6.3, then updated directly to 10.6.7 without kernel hack / Pacht. Only in 10.6.8 is that I had to install the Kernel Hack.

    As a result, everything works 100%. Sound, Wifi, FN keys on the keyboard, Apple Mac Store.


    The only problem is that is slow in terms of work, even with maximum RAM, 2GB. Not so fast compared to Linux or Windows XP. But it's faster than Windows Vista. :-)

    When comparing the speed  WIndows 7 and Mac OS X 10.6.8. The result is the same.





    EeePC: 1000h with Mac OS X 10.6.3 Snow Leopard

     EeePC: 1000h with Mac OS X 10.6.8 Snow Leopard






    Unfortunately I will not explain how I did. I will create a tutorial and explain the new post. Because, a simply mistake and you need to do it again.  Unless you always make a backup of Kext and again by hand.