Search:

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

Page 1 of 8 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    4
    Views
    539

    Re: Hosting Code Online

    A java applet can be embedded in HTML page? Is this what you are getting at?
    Obviously the person wont be able to use it unless they have the JRE installed.
  2. Replies
    37
    Views
    1,740

    Re: controlling malloc allocation size

    No Worries

    dwhitney67 yeh I have not used C/C++ for a while but its good to know the newer versions of c compilers are easier to use.
  3. Replies
    37
    Views
    1,740

    Re: controlling malloc allocation size

    Of my somewhat limited c/c++ experience, My understanding is that malloc(n) returns a pointer to the heap memory it allocated, or a null pointer if it fails. This returned pointer doesnt have a type,...
  4. Thread: FP languages

    by dazman19
    Replies
    11
    Views
    679

    Re: FP languages

    +1 for Haskell
    You will learn to approach problems differently. There are many ways to solve problems. I absolutely hated haskell when i started it, i was very much an imperative programming kind of...
  5. Replies
    2
    Views
    202

    Mysql Query Help

    Hi,

    Just tried to run this query on mysql 5.6. It was previously working on 5.1.

    Anyone have any Idea why it wont let me set this column to null?



    mysql> describe diagnostic;...
  6. Replies
    15
    Views
    782

    Re: HTML query string, or other options

    Yeh probably use encodeURIComponent().

    buf+=encodeURIComponent(name)+'='+encodeURIComponent(value)+'&';
  7. Re: Working Mozilla Persona PHP script - but how to securely access the DB?

    Query it.
    I take it you are more front end dev than back end.. I want to get better at my F/E.

    Your php script needs the credientials to connect to the database.

    Also, be very careful when...
  8. Replies
    2
    Views
    443

    Re: Need JavaScript editor !

    I like netbeans,

    But you can use gedit, eclipse, geany, bluefish and many many more.
  9. Re: Importing php 5.2.17 into a current WAMP install.

    try:


    UPDATE mysql.user SET Password=PASSWORD('password')
    WHERE User='root' AND Host='localhost';
    FLUSH PRIVILEGES;

    You generally need to include the host.

    e.g. when i make another user...
  10. Re: Importing php 5.2.17 into a current WAMP install.

    i would remove wamp and install apache and your chosen version of php separately you will save time and there are good resources if you google it.

    mysql is easy to install on window too.

    if you...
  11. Re: MySQL: Re-syncing data in master and slave servers after a broken replication

    you have statement based and row based replication.

    Have a read on it. http://dev.mysql.com/doc/refman/5.1/en/replication-sbr-rbr.html

    I suggest you use row based if possible. we have had...
  12. Replies
    4
    Views
    747

    Re: MySQL Database and Front-End

    Python is pretty good to use if you want to run CGI's.

    PHP is very easy to use as well with mysql you can find loads of resources on the internet. Run it on LAMP and the windows machines can...
  13. Replies
    24
    Views
    1,960

    Re: PHP File Mis-Information

    I would just modify the query you have got only slightly.


    SELECT `table_schema`, `table_name`, sum( data_length + index_length ) / 1024 / 1024 as "Data Base Size in MB"
    FROM...
  14. Replies
    6
    Views
    614

    Re: DB design question

    3rd Normal Form is pretty good to be aiming for.

    If you think you will build on top and add more features later on then you can go deeper. But its usually not necessary.

    What you will probably...
  15. Replies
    7
    Views
    2,028

    [SOLVED] Re: Simple Tip Calculator (Java)

    in addition just a personal tip.

    Personally I wouldn't call a variable "c" and i wouldnt call a function x. I see you have named the functions well, but i would consider naming the variables...
  16. [ubuntu] Re: am back to learning ubuntu after a while,i need this answer

    Assuming you have ssh server running on linux then you just need an ssh client to connect to the linux machines IP address on port 22.

    PuTTY is a good client if you use windows.
  17. Re: Simplest way to implement hash table in C or C++?

    What does your tutorial notes say?

    having two arrays, one for the key, and one for the value would be a good start.
  18. Replies
    6
    Views
    1,320

    Re: HTML to PDF library for PHP

    This seems like a cool idea TeX? LaTeX? Im gonna look into that.

    We want a way customers can customize their invoice layouts.

    The only problem I have with WK is the fact that there is a lot of...
  19. Replies
    24
    Views
    1,960

    Re: PHP File Mis-Information

    You want this command line:


    exec("mysql -u user -ppassword database < file.sql");

    you have probably already tried this, but... read on..

    Make sure your max_allowed_packet size is...
  20. Replies
    6
    Views
    1,320

    Re: HTML to PDF library for PHP

    i use wkhtmltopdf, i render the output to a .html file, then i call it from the command line. (install the static version from google code)

    and execute it with this script

    #!bin/sh...
  21. Replies
    10
    Views
    877

    Re: Need To Learn Haskell and LISP ASAP

    haskell is an awesome language. very lazy, its considered a functional programming language rather than imperative. it is excellent for solving mathematical equations.

    i have not written much in...
  22. Re: Subversion, SVN Ubuntu, MAC and WIndows Help

    i would run svn-server on the ubuntu machine. i do this at home and use rapid svn for linux and tortoise svn client for windows.

    i doubt your repository would be so huge that you would require a...
  23. Replies
    24
    Views
    1,960

    Re: PHP File Mis-Information

    If you are uploading the file from a form you can use a
    <form name="something" enctype="multipart/form-data">

    when you submit it it will go to the server in the $_FILES array.

    You can get the...
  24. [SOLVED] Re: Programming Windows Application in Lubuntu

    Yeh VM is the best idea.

    You can cross compile, but depending on how large and how many librarys your app uses, it will probably be better to at least test it on a windows machine.

    I have...
  25. Replies
    11
    Views
    6,375

    [ubuntu] Re: multiple domains on one ip address?

    yes, you are creating NameVirtualHosts in this instance.

    When the request comes in on port 80, the web server will read the HTTP header and use the virtualhost dependant on the header.

    If you...
Results 1 to 25 of 197
Page 1 of 8 1 2 3 4