Search:

Type: Posts; User: Reiger; Keyword(s):

Page 1 of 10 1 2 3 4

Search: Search took 0.20 seconds.

  1. Replies
    9
    Views
    964

    [SOLVED] Re: network and wireless internet access slow

    So you may also want to add tcp_htcp to /etc/modules (which is the list of modules to auto-load at boot time).
  2. Replies
    6
    Views
    1,141

    [kubuntu] Re: Help install Calligra Beta 3

    You need to edit your profile for that:


    nano ~/.profile


    Add something like:


    if [ -d "/opt/project-neon/bin" ]; then
  3. Replies
    12
    Views
    676

    Re: Why is Java on Ubuntu nonstandard?

    The reason has to do with the ability of Debian to support multiple coexisting versions of Java (from different vendors) and making it easy for the sysadmin to select/manage defaults. Hence on Debian...
  4. Replies
    12
    Views
    676

    Re: Why is Java on Ubuntu nonstandard?

    What do you need JAVA_HOME for anyway?
  5. Replies
    2
    Views
    2,129

    [SOLVED] Re: w3schools.com try it yourself editor

    JavaScript has an eval function. So I imagine the W3CSchools editor simply listens for an event on the “Try it” button, then grabs the innerHTML (text) from the text area and feeds that to eval.
    ...
  6. Replies
    2
    Views
    538

    Re: Java - List filess in a jar file

    You can get the resource as InputStream through the classloader. I expect JarFile can deal with InputStream objects as well.
  7. Replies
    2
    Views
    335

    Re: simple Java question about comboboxes

    You need to get the item through the editor of the JComboBox:


    Object item = comboBox.getEditor().getItem();
  8. Replies
    2
    Views
    514

    [SOLVED] Re: Java Keylisteners

    The short answer: because your key listener isn't receiving any events, because your listener was never added to the list of listeners to notify. The tutorials are a good place to start:
    ...
  9. Replies
    2
    Views
    963

    [SOLVED] Re: bash vs. perl regular expressions

    You are not working with regular expressions in bash, or any POSIX sh for that matter. You are working with glob patterns which look similar but crucially behave very differently.

    * is not “zero...
  10. Replies
    13
    Views
    1,039

    Re: XSLT help please

    You don't need the <foo> element. I added it to see if it would produce the problem you described earlier, but it didn't -- looks like xsltproc can be made to behave with the indent="yes" option in...
  11. Replies
    13
    Views
    1,039

    Re: XSLT help please

    Well obviously, xsltproc is wrong. ;) No, seriously, it is wrong. The content of <xsl:text> is PCDATA as per the XSLT spec, so &amp; is & therefore, &amp;copy; is &copy;.

    But you can work around this. You...
  12. Replies
    13
    Views
    1,039

    Re: XSLT help please

    If this is text.xsl:


    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    version="1.0">
    <xsl:template match="/">
    ...
  13. Replies
    13
    Views
    1,039

    Re: XSLT help please

    What are we looking at?

    If you want to XSLT *produce* "&copy;" you output "&amp;copy;". Doesn't have to be done through <xsl:text>, could be part of anything which emits PCDATA or attribute values.
    ...
  14. Replies
    4
    Views
    426

    Re: Best way to setup JDK

    On Debian Linux you'd install it through your package manager of choice. To make it the default Java you would use update-alternatives.

    I tend to do something like this, after install SUN/Oracle...
  15. Replies
    13
    Views
    1,039

    Re: XSLT help please

    It seems highly unlikely an XML parser is unable to deal with &amp; which is defined by the XML spec AFAIK. However if you find your docbook tools are broken, maybe they will accept  instead? You could...
  16. Replies
    1
    Views
    237

    Re: Problem with array of objects in JAVA

    You are mistaking Java for C++. Array elements are not initialised unless you explicitly code it yourself, either by doing this via assignment to the array element or by declaring the array as a...
  17. Replies
    3
    Views
    812

    [SOLVED] Re: [Java] Swing and observers and threads

    As a rule of thumb all Swing GUI operations should be done on the AWT Event Dispatch Thread (EDT). This implies that you must make all alterations to the GUI itself “cheap” so that the GUI doesn't...
  18. Replies
    9
    Views
    2,431

    [SOLVED] Re: PHP cURL form submission again in trouble

    And what is a 403? Forbidden/Access Denied.


    By writing PHP code that generates the same output as the JavaScript code given its input, of course.
  19. Replies
    9
    Views
    2,431

    [SOLVED] Re: PHP cURL form submission again in trouble

    I'm fairly confident in saying you approached this problem as follows:

    1) I want to log in to xyz
    2) So I need submit my username & password to xyz over HTTP
    3) It doesn't work.

    4) Ooh there...
  20. Replies
    9
    Views
    2,431

    [SOLVED] Re: PHP cURL form submission again in trouble

    To quote:


    Therein lies your problem.
  21. Replies
    28
    Views
    2,450

    Re: [Python]Drawbacks of python

    Well the con is that you run like Windows does on 5 year old hardware instead of like Linux does on the same. Static linking doesn't just mean a larger disk foot print, it means a larger memory and...
  22. Replies
    28
    Views
    2,450

    Re: [Python]Drawbacks of python

    There are a few points in Python which I think are somewhat less fortunate:

    Indentation/scoping falls apart at the seams. There are various corner cases, which IMO should simply not be there. Go...
  23. [SOLVED] Re: No source code is available for type java.lang.NoSuchFieldError

    GWT is a Java -> JavaScript translation thing. Which is to say it takes your Java program and spits out a functionally equivalent JavaScript program (modulo some real world issues, probably).
    ...
  24. Replies
    11
    Views
    661

    Re: Python 3.x vs Python 2.x

    Hmm, judging by the state of CPython it seems quite clear that Python 2.5 is pretty much dead (EOL is set for October 2011), Python 2.6 is fast going the same way (EOL sometime in 2013) which implies...
  25. Replies
    11
    Views
    661

    Re: Python 3.x vs Python 2.x

    I would suggest learning Python 3, but use the Python 2.7 interpreter for now. This is based on my subjective experience where Python 2.7 seems to work quite well for mixing & match Python 3 with...
Results 1 to 25 of 250
Page 1 of 10 1 2 3 4