proffitt.martin

Members
  • Content count

    46
  • Joined

  • Last visited

Community Reputation

0 Neutral

About proffitt.martin

  • Rank
    DDP Fan club member
  • Birthday 09/12/1978

Contact Methods

  • MSN
    martin_proffitt@hotmail.com
  • Website URL
    http://
  • ICQ
    0

Profile Information

  • Interests
    Linux, Computing, Music and Composition, Hiking, Reading and Fishing (Not Phishing), Programming.
  • Location
    Huddersfield, England

Recent Profile Visitors

910 profile views
  1. I'd pay good money for an OS that can tell me what I did yesterday... I'm really careless and forgetfull IRL. BUT WAIT! cat ~/.bash_history -- a list of recently typed commands hmm, looks like I opened a couple of apps... Recently Opened Files anyone? Then there is always the log files. Unless your system is like totally locked down, log files and command histories are deleted nightly, then your system can quite easily tell you exactly what you did for the last n days. Of course, its not perfect, you might have to sort the commands manually as to what belongs on what day, but thats what your memories for
  2. you can even get multiple-desktop support on Windows, either with NVIDIA (if you have an NVIDIA card) or using a 3rd party app such as altdesk
  3. Thanks for the suggestion on this, but it turns out that the error wasn't an eclipse issue at all. It was a firefox one. I don't know what it was exactly, but when I ran : $ export LD_LIBRARY_PATH=/usr/lib/mozilla-firefox-2.0.0.1/ $ /usr/lib/mozilla-firefox-2.0.0.1/TestGtkEmbed on my desktop OS install, I was getting a segmentation fault, yet if I ran it from the external drive OS install, I wasn't. I copied the firefox directory to my desktop install and it then worked fine. I can only assume there must have been library incompatibilities between the two installs. Thinking back, I suspect when I installed firefox on the external, I used a different release from the Mandriva one. Maybe that was it.
  4. Ok heres the problem I've got 2 installs of Mandriva 2006 - one on an external HD which I use for Uni, and one on my desktop which I use for everything else. Both OSs are pretty much identical clones - they have the same apps, the same libraries, and hell they even have the same skins. The only difference between the two is that the external was a clean install, whilst the desktop was an upgrade from 2006 On my external, Eclipse works perfectly, including the internal browser, however, on my desktop, if I try and run the internal browser, I get the following error org.eclipse.swt.SWTError: XPCOM error -2147221164 at org.eclipse.swt.browser.Browser.error(Browser.java:1328) at org.eclipse.swt.browser.Browser.setText(Browser.java:1832) at org.eclipse.ui.internal.browser.BrowserViewer.home(BrowserViewer.java:264) at org.eclipse.ui.internal.browser.BrowserViewer.setURL(BrowserViewer.java:650) at org.eclipse.ui.internal.browser.BrowserViewer.setURL(BrowserViewer.java:287) at org.eclipse.ui.internal.browser.WebBrowserEditor.createPartControl(WebBrowserEditor.java:80) at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:596) at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:372) at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:566) at org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:214) at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2595) at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2528) at org.eclipse.ui.internal.WorkbenchPage.access$10(WorkbenchPage.java:2520) at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.java:2505) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67) at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2500) at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2477) at org.eclipse.ui.internal.browser.InternalBrowserEditorInstance.openURL(InternalBrowserEditorInstance.java:47) at org.eclipse.wst.server.ui.internal.webbrowser.OpenBrowserWorkbenchAction.run(OpenBrowserWorkbenchAction.java:62) at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:254) at org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.java:229) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:539) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488) at org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:441) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1085) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3180) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2856) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1930) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1894) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:422) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.eclipse.core.launcher.Main.invokeFramework(Main.java:338) at org.eclipse.core.launcher.Main.basicRun(Main.java:282) at org.eclipse.core.launcher.Main.run(Main.java:977) at org.eclipse.core.launcher.Main.main(Main.java:952) I had this originally on my external drive as well, but managed to overcome it, although I cannot recall how. If I unset the env var MOZILLA_FIVE_HOME, eclipse works fine, but without any kind of browser support. the relevant env is: JAVA_HOME=/usr/java/jdk6.0/jre/bin MOZILLA_FIVE_HOME=/usr/lib/mozilla-firefox-2.0.0.1 I've checked and the gtkembedmoz.so is located in the root of the firefox directory, where it is supposed to be. Anybody care to hazard a guess as to what is going on so I can repair this and get on with being (non)productive in a productive environment?
  5. The general concensus appears to be to go with Ubuntu. I've never really used it, but have heard a lot of good stuff about it for being a "noob" distro. Personally I use Mandriva, which works more or less straight out of the box, and has a very easy to use installer with a great partitioning tool. If you're planning on doing any form of development, and are coming from a Windoze environment, then as a starter, I would recommnend that you install Kdevelop or Eclipse. there is a reason for this. I've never seen any app under GNOME which can match KDevelop as an IDE. Emacs is a fantastic app, yes, but it has a learning curve attached to it, whereas KDevelop is a full blown, easy to use IDE I tend to use a mix of KDevelop, VI and Emacs for C++ development, whilst I use Eclipse or VI for Java and PHP (dependant on which mode I'm running, terminal or desktop) Choice of distro is really up to your own personal preference. Most of them work out of the box to varying degrees. One thing I will say is don't forget to install the development tools. These are not always selected by default at the OS install phase. Check that they are. You can go and install them later, but its a pain.
  6. 0|\/|9Z! 4 ยข|_1 1|\| \/\/1|\||)0\/\/5! |\|0 \/\/4`/! bwahahaha! The Windows CLI is pretty bad, you cant even pipe commands What the hecks the use of a shell w/out pipes? how do you string commands together? (I never really attempted windoze cmd line)
  7. I was so quick to flame him because he wants to teach people how to do something but doesn't want to take the time to learn how to do it. He wants others to do work for him and then take credit for creating this guide using other people's work. It's a great idea what he intents to do, but he should at least take the time to learn it if he wants to teach about it. This is NOT a case of "Not taking the time to learn"! To the contrary, I spend time every day learning. I find this whole concept highly insulting! I taught my self everything I ever knew. Maths, IT, Hacking, Programming, Philosophy, Music... the list goes on. I would love to spend the time learning AWK - THAT is why I asked for help. The idea was, that someone else, for once, contributed back a little via a project, that yes, I set up, and in the process I actually got the chance to learn something from someone else directly rather than having to trawl my way through man pages, trying to find an obscure reference to something I thought I once saw buried on page n If thats the attitude of people, to immediatly flame someone who wants to contribute back to the community, then sod you, I won't bother. As for credit - I NEVER TAKE CREDIT THAT IS NOT DUE TO ME! If I put work out that other people contribute towards, then they get the recognition they deserve. I do not have time for narrow minded bigoted idiots. If that is the attitude you wish to portray of yourself, then god-help you! you're not likely to get very far. I spend most of my life helping people who get stuck in one manner or another, for once I am the person looking for help. When I ask for it, I'm made out to be a moron. I'm not trying to capitalise off other peoples work, I'm trying to learn from it, and then use that knowledge to benefit all. I asked for someone to prepare a guide for inclusion. Inclusion implies that the ORIGINAL AUTHOR MAINTAINS OWNERSHIP - That means that THE AUTHORS NAME goes on the bottom of the document along side any others who contribute in any way, shape or form. Edit : And before you flame someone claiming they want to capitalise on your work, look up the meaning of the word "Collaborate", as this was the word I used. I did NOT say "Give me" or "write something so I can steal it and put my own name on it" I said "Collaborate"
  8. I personally am very familiar with the usage of man and info commands, and I find the "usage" to be rather limiting - the purpose of this manual is to provide "real-world" examples, as I tend to find these to be more beneficial and educative. Unfortunetly I don't have time to learn everything at present - I am writing this in my spare time, in the few hours I have free each month between working on University assignments and a rather large personal project. I am working on this manual, because, as I have stated in previous posts to this forum, I don't want others to have to go through the hell I did in learning the commands in the first place - I learnt blind - I didn't have internet access, I didn't have "user-manuals" all I had was man and info pages, one or two readme files and a couple of issues of Linux Format. most of the examples I saw were little better than "hello world" - sorry, but they teach next to nothing!
  9. I'm currently compiling a reference manual for the command-line. So far, I've written up a basic usage, with "real" examples of some of the more common commands, with varying degrees of complexity depending on the "state" of the command. For instance, simple commands like "ls" and "cp" have only short entries, but commands such as "dd" have a more comprehensive description. I would like to include a guide to AWK, on the grounds that I'm currently expanding one on SED, but I have never really used AWK, and know little about it. I was wondering if anybody would like to collaborate on this and write a "beginners" guide to AWK scripting. The guide should be one to two pages long, give a basic command structure (enough for them to be able to work basic tasks with) and provide information about "dos" and "don'ts" within the language. This is manual is being designed as a kick-start command line tutorial, so it needs to be "noob-friendly" - no particularly advanced commands, examples should be ones that 1) the end user has a use for, and 2) ones that they can try out for themselves. Most of the commands I've been writing about resolve around C++ source code, or for working with URLs (for instance in the SED guide, one of the examples is for pulling URLs out of a HTML file). Feel free to IM me if you would like to add a contribution into this manual, which eventually will be freely available (probably under a Creative Commons license) At the moment I'm only looking for an AWK guide, but I am open to suggestions.
  10. Yes, keep them, I try and spend a bit of time each day catching up on the news and having them on this forum serves as a reminder for those days I *forget* to check - it also offers a quick portal to the sites.
  11. You missed a couple out : (Your copy of windows may have been pirated) and the fantastic(help make office better) Yeah, I know my copy of windows is pirated, I got it off a mate. And, Yeah, I'll help make office better, I'll delete the damn thing and install OpenOffice instead!
  12. Why would you have 10 pop ups at startup. Thats the beauty of windows - everyone knows Microsoft loves popups!
  13. Its always nice to see another convert, no matter which distro you run! Congrats to you, and happy hacking!