Search Results

Search found 9 results on 1 pages for 'rockit'.

Page 1/1 | 1 

  • "bad mirror archive" : What should I put as the "mirror of ubuntu archive" on installation of ubuntu?

    - by rockit
    I'm trying to set up ubuntu from my old macintosh laptop, but when it asks me to put in the "mirror of ubuntu archive" I run into problems. For the mirror, I put in mirror.anl.gov for the ubuntu archive mirror directory, i put in pub/ubuntu/ Then I leave the http proxy blank and hit "continue" It then tries to "download release files", which starts at 0%, and eventually jumps straight to 100% and then it presents me with an error of "bad mirror archive". Any advice? I never set up ubuntu before, and I'm really struggling with this step.

    Read the article

  • "bad mirror archive" : What should I put as the "mirror of ubuntu archive" on installation of ubuntu?

    - by rockit
    I'm trying to set up ubuntu from my old macintosh laptop, but when it asks me to put in the "mirror of ubuntu archive" I run into problems. For the mirror, I put in mirror.anl.gov for the ubuntu archive mirror directory, i put in pub/ubuntu/ Then I leave the http proxy blank and hit "continue" It then tries to "download release files", which starts at 0%, and eventually jumps straight to 100% and then it presents me with an error of "bad mirror archive". Any advice? I never set up ubuntu before, and I'm really struggling with this step.

    Read the article

  • Need Advice: What Linux distro should I install on an old PowerPC Mac

    - by rockit
    I'm trying to set up my brother - who has a PPC mac, with 1 ghz processor and 256 ram, with a Linux distro that would allow him to surf the web on the device. If anyone knows of this mac, they also know that support has faded for the new browsers rendering the device essentially useless when it comes to the web. Ideally I would have installed jolicloud - but alas, it is only intel mac compatible... Please let me know if you have any suggestions for me!

    Read the article

  • What Linux distro should I install on an old PowerPC Mac?

    - by rockit
    I'm trying to set up my brother–who has a PPC Mac with 1 GHz processor and 256 MB RAM–with a Linux distro that would allow him to surf the web on the device. If anyone knows of this Mac, they also know that support has faded for the latest browsers, rendering the device essentially useless when it comes to the web. Ideally I would have installed Jolicloud, but alas, it is only Intel Mac compatible... Please let me know if you have any suggestions for me!

    Read the article

  • (outofmemoryerror: java heap space) when iterating through oracle records...

    - by rockit
    hello fellow java developers. I'm having a bit of an issue here. I have code that gets a resultset from an oracle database, prints each row to a file, then gets the next row - and continues till the end of the resultset. Only this isn't what happens. What happens is that it gets the resultset, starts iterating through the rows, printing to file as it goes, until it runs out of memory - claiming it needs more space on the java heap. The app is currently running with 2g of memory on the heap and the code breaks at about the 150000th row. I'm using jodbc6.jar and java 6 Here is an idea of what my code is doing: Connection conn = DriverManager.getConnection(url,"name","pwd"); conn.setAutoCommit(false); Statement stmt = conn.createStatement(); ResultSet rset = stmt.executeQuery(strSql); String strVar_1 = null; long lCount = 0; while(rset.next()){ lCount++; if (lCount % 100000 == 0){ System.out.println(lCount + " rows completed"); } strVar_1 = rset.getString("StringID"); /// breaks here!!!!!!!!! if (strVar_1 == null){ strVar_1 = ""; } if (!strQuery_1.equals("")){ out.write(strVar_1 + "\n"); } } out.close();

    Read the article

  • Java - Reading a csv file line by line - stuck with weird non-existent characters being read!

    - by rockit
    hello fellow java developers. I'm having a very strange issue. I'm trying to read a csv file line by line. Im at the point where Im just testing out the reading of the lines. ONly each time that I read a line, the line contains square characters between each character of text. I even saved the file as a txt file in wordpad and notepad with no change. Thus I must be doing something stupid... I have a csv file, standard csv file, yes a text file with commas in it. I try to read a line of text, but the text is all f-ed up and cannot find the phrase within the text. Any advice? code below. //open csv File filReadMe = new File(strRoot + "data2.csv"); BufferedReader brReadMe = new BufferedReader(new InputStreamReader(new FileInputStream(filReadMe))); String strLine = brReadMe.readLine(); //for all lines while (strLine != null){ //if line contains "(see also" if (strLine.toLowerCase().contains("(see also")){ //write line from "(see also" to ")" int iBegin = strLine.toLowerCase().indexOf("(see also"); String strTemp = strLine.substring(iBegin); int iLittleEnd = strTemp.indexOf(")"); System.out.println(strLine.substring(iBegin, iBegin + iLittleEnd)); } //update line strLine = brReadMe.readLine(); } //end for brReadMe.close();

    Read the article

  • (Android) How to catch a "ring" event?

    - by rockit
    Hi android developers! I'm clearly a newb, and I was wondering if anyone knows how I can detect a "ring" event on my cellphone through the android sdk? Generally I want to do something with the phone when it begins ringing! Any thoughts? If you want to simply point me to a page in the api documents that would be a good answer for me, I just don't know how to start my research!

    Read the article

  • Java long task - Did it stop writing to file?

    - by rockit
    I am writing a lot of data to a file, and while keeping my eye on the file it eventually stopped growing in size. Essentially my task is getting information from a database, and printing out all non-unique values in column A. Since there are many rows to the database table, and the database table is across my network, this is taking days to complete. Thus I'm concerned that since the file isn't growing, that it isn't actually writing to the file anymore. Which is odd, I have no "catch"'s in my code, so if there was a problem writing to file, wouldn't it have thrown an error?! Should I let the task complete (estimate 2-3 days from today), or is there something else that I don't know going on here making my application not write to the file?! my algorithm goes something like this Declare file Create new file Open file for writing get database connection get resultset from database for each row in the resultset - write column "A" to file - if row# % 100000 then write to screen "completed " + row# + " rows" when no more rows exist close file write to screen - "completed"

    Read the article

1