Jump to content

nfm

Member
  • Posts

    193
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United States

Posts posted by nfm

  1. delphi features garbage collector so it can't leak memory, so can't vcpp if coded right . i just want to tell people to stop using c# with dot net, none of the serious programmers code in .net (although sony coded few apps with .net and ms's sql, and their performance is horrible).

    nlite is very good, but .net does make it crappy. here's what world runs on

    - asm with c/c++; used for heaviest type of calculations such as encoding.

    - visual c plus plus with mfc interface; used for guis, which would be perfect for your app, but requires little more coding.

    and for rest, delphi can be used, you should really try delphi. i did learned quite of c# but then i stopped, i don't see any point in it.

    Why would you need .NET for such a simple program anyway?

    that's correct, i code an encoder gui with some guys in c#, the only reason why we still us eit is because we have more than 20 themed i can say windows, + lots of button, checkboxes etc. is easier to manage all of that in ms's visual studio 2005 and it would really take some time to translate that into delphi.

  2. very neat,

    if you want to code nice guis, switch to delphi (making your proggy 28 times more efficient and faster) or to VC++/MFC, this proggy eats 28mb from start and loads couple of second, like rest of .net crap.

  3. I got some news for linux lovers :P I myself prefer open suse over ubuntu, gentoo, debian or **** small linux.

    I'm glad to announce the third alpha release of our 10.2 product.

    It's the first time that we're call our distribution "openSUSE"

    instead of "SUSE Linux". The codename of openSUSE 10.2 is "Basilisk

    Lizard". With the rename of the distribution, we renamed also the

    name in bugzilla.novell.com so that you have to report bugs against

    "openSUSE 10.2".

    Compared with Alpha2, we've made a number of significant changes:

    * We switched to kernel 2.6.18rc4 - and neither all kernel module

    packages (kmp) nor the Xen packages have been adopted for the new

    kernel.

    * openSUSE 10.2 contains KDE 3.5.4

    * We started the switch to GNOME 2.16 Beta and have now the base

    packages in, more to come later for Alpha4.

    * The new branding "openSUSE" is shown in the first places but there's

    still some existing SUSE Linux 10.1 branding.

    * X11 R7.1 with different pathes (no more /usr/X11R6 for the xorg

    packages): Users with a working X11 configuration will not see many

    real changes. First, the pathes have changed, so most applications

    that lived in /usr/X11R6/bin now exist in /usr/bin. So, hard coded

    paths need to be changed. The X11 Release 7 is fully

    modularized. This is reflected in our packaging as it enables us to

    provide updates for individual components like drivers and libraries

    once they become available independently of the release cycle of the

    X Window System.

    As with every major update, a lot of bugs have been fixed in all

    areas.

    The changed pathes broke building of packages, so developers might

    need to change their software.

    * cups 1.2.2: This is a major update (from version 1.1.x), the

    highlights are IPv6 support, network printer discovery (CUPS can now

    find printers on the LAN using SNMP) and LDAP support. A cool

    feature are unique job ids: CUPS maintains a new job-uuid attribute

    which provides a unique identifier that can be used to track a job

    on your network or anywhere in the world

    * Updated development tools like gettext 0.15 and autoconf 2.60.

    * We now have a gcc package and a gcc41 package in such a way that in

    the future a gcc42 package might be available as well, giving you

    the chance to use different gcc versions at the same time.

    * Using patterns instead of selections in the package manager (think

    of patterns as package groups with some semantics). We have

    currently only a basic set of patterns and will enhance them.

    All these changes needed changes by other packages, so a lot of other

    packages have been fixed to build again (and updated), and some still

    need updating.

    Alphas of openSUSE are rather untested and more for the experimental

    folks. I do not suggest to use it in production. But I do consider

    especially Alpha3 an important milestone for development and testing.

    The list of known bugs is available as usual at:

    http://en.opensuse.org/Bugs:Most_Annoying_...SE_10.2_Alpha_3

    The current ones are:

    * YaST does not allow X11 configuration since it asks for

    non-existant xorg-x11-server-glx Bug #198250. Note: I could run X11

    nevertheless and logged into both KDE and GNOME.

    * zen-updater always shows patterns to update Bug #198379

    * f-spot does not work Bug #198377

    * gnome-wm does not handle X11R7 Bug #198380

    * Firefox does not start Bug #197928

    * Registration fails with an internal server error Bug #198381

    * applications using python-gtk are broken, e.g. smart-gui Bug #198391

    * kde su does not accept correct password Bug #198408

    * Most kernel module packages are not build against the new 2.6.18rc4

    kernel. If you need them, I advise to wait for their update. The Xen

    packages are not adjusted either.

    source: http://en.opensuse.org/

  4. That was added, removed, updated and deleted through cmd. I haven't really started out with php yet, however, I was able to setup a hit counter and ip tracker using php. php inserted data into mysql's db, so I guess I know a little:

    basically this is what I'm doing, this is only for practice, i created db_conf.php with following code:

    <?php

    $db_host = "localhost";

    $db_user = "php";

    $db_pass = "foobar";

    $db_name = "sexy";

    ?>

    yes I named my db sexy, just for fun :whistle:

    This is what I use to connect to db (first 4 lines, the rest is simple hit counter, note that I created a table name "counter" beforehand in sexy database):

    <?php
    require($_SERVER["DOCUMENT_ROOT"] ."/test/config/db_conf.php");
    $connection = @mysql_connect($db_host, $db_user, $db_pass) or die("error connecting");
    mysql_select_db($db_name, $connection);

    $query = "select * from counter";
    $result = mysql_query($query, $connection) or die(mysql_error());
    $views = mysql_result($result, 0, "num_views");
    $views++;

    $query = "update counter set num_views = $views";
    mysql_query($query, $connection) or die(mysql_error());

    echo "This page has been viewed ".$views." times";

    ?>

    ripken can you post any example your html <form>, I'm interested in it :)

  5. Yeah, I have everything setup on both machines, I'm using apache on both of course. I ended up using xampp on linux because I couldn't get apache, php, mysql to talk to each other. On Windows everything is good. I will post basic commands when I'll find them and test them.

    well this is how you connect to th db using shell cmd on both unix and windows:

    cd C:\Program Files (x86)\xampp\mysql\bin

    mysql -u root -p

    "You may asked for password" and that's it, you can type --help or look into manual.

    linux may differ:

    cd /opt/lampp/bin

    mysql -u root -p

    edit: i had a talk with mysql :P

    C:\Program Files (x86)\xampp\mysql\bin>mysql -u root -p
    Enter password:
    Welcome to the MySQL monitor. Commands end with; or \g.
    Your MySQL connection id is 3 to server version: 5.0.21-community

    Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

    mysql> show databases;
    +--------------------+
    | Database |
    +--------------------+
    | information_schema |
    | cdcol |
    | mysql |
    | phpmyadmin |
    | test |
    | webauth |
    +--------------------+
    6 rows in set (0.00 sec)

    mysql> create database sexy;
    Query OK, 1 row affected (0.00 sec)

    mysql> show databases;
    +--------------------+
    | Database |
    +--------------------+
    | information_schema |
    | cdcol |
    | mysql |
    | phpmyadmin |
    | sexy |
    | test |
    | webauth |
    +--------------------+
    7 rows in set (0.00 sec)

    mysql> use sexy;
    Database changed
    mysql> show tables;
    Empty set (0.00 sec)

    mysql> create table sexy_test (Name varchar(15), Age int);
    Query OK, 0 rows affected (0.00 sec)

    mysql> show tables;
    +----------------+
    | Tables_in_sexy |
    +----------------+
    | sexy_test |
    +----------------+
    1 row in set (0.00 sec)

    mysql> describe sexy_test;
    +-------+-------------+------+-----+---------+-------+
    | Field | Type | Null | Key | Default | Extra |
    +-------+-------------+------+-----+---------+-------+
    | Name | varchar(15) | YES | | NULL | |
    | Age | int(11) | YES | | NULL | |
    +-------+-------------+------+-----+---------+-------+
    2 rows in set (0.00 sec)

    mysql> create table guests (autoID int unsigned auto_increment primary key, firs
    t_name varchar(15), last_name varchar(15), age int, comments text, data_entered
    date);
    Query OK, 0 rows affected (0.00 sec)

    mysql> show tables;
    +----------------+
    | Tables_in_sexy |
    +----------------+
    | guests |
    | sexy_test |
    +----------------+
    2 rows in set (0.00 sec)

    mysql> describe guests;
    +--------------+------------------+------+-----+---------+----------------+
    | Field | Type | Null | Key | Default | Extra |
    +--------------+------------------+------+-----+---------+----------------+
    | autoID | int(10) unsigned | NO | PRI | NULL | auto_increment |
    | first_name | varchar(15) | YES | | NULL | |
    | last_name | varchar(15) | YES | | NULL | |
    | age | int(11) | YES | | NULL | |
    | comments | text | YES | | NULL | |
    | data_entered | date | YES | | NULL | |
    +--------------+------------------+------+-----+---------+----------------+
    6 rows in set (0.00 sec)

    mysql>

    the database>field>table i created can be used as a hit counter, it auto increments automatically. i should post info on connecting to db shortly ;)

    more crap:

    C:\Program Files (x86)\xampp\mysql\bin>mysql -u root -p
    Enter password:
    Welcome to the MySQL monitor. Commands end with; or \g.
    Your MySQL connection id is 4 to server version: 5.0.21-community

    Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

    mysql> use sexy:
    ERROR 1049 (42000): Unknown database 'sexy:'
    mysql> use sexy;
    Database changed
    mysql> describe guests
    -> \c
    mysql> describe guests;
    +--------------+------------------+------+-----+---------+----------------+
    | Field | Type | Null | Key | Default | Extra |
    +--------------+------------------+------+-----+---------+----------------+
    | autoID | int(10) unsigned | NO | PRI | NULL | auto_increment |
    | first_name | varchar(15) | YES | | NULL | |
    | last_name | varchar(15) | YES | | NULL | |
    | age | int(11) | YES | | NULL | |
    | comments | text | YES | | NULL | |
    | data_entered | date | YES | | NULL | |
    +--------------+------------------+------+-----+---------+----------------+
    6 rows in set (0.00 sec)

    mysql> insert into guests values (NULL, "Bill", "Gates", 1337, "Is rich", "2006-
    08-12");
    Query OK, 1 row affected (0.00 sec)

    mysql> SELECT * FROM guests;
    +--------+------------+-----------+------+----------+--------------+
    | autoID | first_name | last_name | age | comments | data_entered |
    +--------+------------+-----------+------+----------+--------------+
    | 1 | Bill | Gates | 1337 | Is rich | 2006-08-12 |
    +--------+------------+-----------+------+----------+--------------+
    1 row in set (0.00 sec)

    mysql> insert into guests values (NULL, "Kamil", "Anonim;)", 17, "Is poor", "20
    06-08-12);
    ">
    "> c\
    "> \c
    "> );
    "> \c
    "> '\c'
    "> insert into guests values (NULL, "Kamil", "Anonim", 17, "Is poor", "06");

    "> /c
    "> \c
    "> clear the ****in buffer
    "> \c
    ">

    I couldn't clear the buffer :realmad:

    ____________________________________

    even more:

    C:\Program Files (x86)\xampp\mysql\bin>mysql -u root -p
    Enter password:
    Welcome to the MySQL monitor. Commands end with; or \g.
    Your MySQL connection id is 6 to server version: 5.0.21-community

    Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

    mysql> use sexy;
    Database changed
    mysql> show tables;
    +----------------+
    | Tables_in_sexy |
    +----------------+
    | guests |
    | sexy_test |
    +----------------+
    2 rows in set (0.00 sec)

    mysql> describe guests;
    +--------------+------------------+------+-----+---------+----------------+
    | Field | Type | Null | Key | Default | Extra |
    +--------------+------------------+------+-----+---------+----------------+
    | autoID | int(10) unsigned | NO | PRI | NULL | auto_increment |
    | first_name | varchar(15) | YES | | NULL | |
    | last_name | varchar(15) | YES | | NULL | |
    | age | int(11) | YES | | NULL | |
    | comments | text | YES | | NULL | |
    | data_entered | date | YES | | NULL | |
    +--------------+------------------+------+-----+---------+----------------+
    6 rows in set (0.00 sec)

    mysql> insert into guests values (NULL, "Kamil", "Not your business", 17, "Is le
    arning sql, mysql not ms's bs", "08-12-06");
    Query OK, 1 row affected, 1 warning (0.00 sec)

    mysql> describe guests;
    +--------------+------------------+------+-----+---------+----------------+
    | Field | Type | Null | Key | Default | Extra |
    +--------------+------------------+------+-----+---------+----------------+
    | autoID | int(10) unsigned | NO | PRI | NULL | auto_increment |
    | first_name | varchar(15) | YES | | NULL | |
    | last_name | varchar(15) | YES | | NULL | |
    | age | int(11) | YES | | NULL | |
    | comments | text | YES | | NULL | |
    | data_entered | date | YES | | NULL | |
    +--------------+------------------+------+-----+---------+----------------+
    6 rows in set (0.00 sec)

    mysql> select * from guests;
    +--------+------------+-----------------+------+--------------------------------
    ----+--------------+
    | autoID | first_name | last_name | age | comments
    | data_entered |
    +--------+------------+-----------------+------+--------------------------------
    ----+--------------+
    | 1 | Bill | Gates | 1337 | Is rich
    | 2006-08-12 |
    | 2 | Kamil | Not your busine | 17 | Is learning sql, mysql not ms's
    bs | 2008-12-06 |
    +--------+------------+-----------------+------+--------------------------------
    ----+--------------+
    2 rows in set (0.00 sec)

    mysql>

    after all, it's not that really hard!

  6. Hi,

    I need some help feeding mysql with commands, I got some good info and even video tutorials but they're out of date and syntax changed.

    Basically this is what I need:

    - Basic Unix/Linux shell commands such as viewing, creating database/tables for v5.0+

    - Same thing goes for Windows

    I've looked into official manual, it's pretty complicated. I also have something called phpmyadmin, does that handles pretty much everything that command does through gui?

    Well this is what phpmyadmin team says:

    phpMyAdmin is a tool written in PHP intended to handle the administration of MySQL over the Web. Currently it can create and drop databases, create/drop/alter tables, delete/edit/add fields, execute any SQL statement, manage keys on fields, manage privileges,export data into various formats and is available in 50 languages. GPL License information.

    Which one would be better to maintain database? Note that most of the things I will run on Linux and on Linux it is not easy/efficient to work with files since I don't have my favorite text editor and everything is accessible only by root user, unless I keep inputing password which is time consuming.

    Having said that, once I learn to use and remember basic commands, I will work myself up reading the manual . ;)

    it's not like I didn't google, I just can't find what I'm looking for. I'm still googling anyway...

  7. I always use margins, I don't like to use tables at all or spacings between tables.

    you could try doing something like this in your css:

    margin: 3px 0px 0px 3px;

    or something like this <td style="margin: 3px 0px 0px 3px;"></td> same thing can go for <tr> I think.

    edit: Sorry, I thought you wanted to space out content form a table :P. For something like that I use dummy column or row:

    <td width="3px" bgcolor="#777777"></td>

    Note that this might now work, everything has to be nested properly. ;)

  8. It's really simple, make sekf extracting archive with winrar or 7-zip that would extract shortcut also. If you're using $OEM$ you can dump virtualdub folder into $Progs folder and shortcut into $Docs folder, there's also hundreds of other ways to do it.

    I would recommend to use vitualdubmod, btw what are you using that app for?

    edit: Mrs Peel at ryanvm.net/msfn/ created an addon with extra plugins, you may have to search though.

  9. There's a link still in my signature http://www.zeroangel.ch/XP64_ua_cd_pack/ I didn't shutdown linux on my xbox properly couple of times and corrupted the filesystem ;) I uploaded site to an old place. I don't know what Super XP is. You simply have to extract your drivers, whether it's an installshield, zip, rar or someting else. installshield may be difficult to extract, but there are ways around. If you have drivers already installed on your machine, you may look into Windows directory where it stores backup of them. there's also reinsallbackup in system32 if you upgraded any current device with proper driver installed.

    edit: did you see this http://unattended.msfn.org/unattended.xp/view/web/33/ ?

  10. Running stock Open Suse Linux 10.1 (now completely free) with KDE 3.5.1a inteface:

    snapshotjn5.th.png

    Ubuntu look neat too, you should try kubuntu since kde is similar and 2 times better than windows gui. I ran gnome before, now I tried kde and will not go back to gnome. I would run Kubuntu but since I needed extra packages I went with suse, I install all packages execpt gnome and gnome development package aswell as the packages for laptops and pdas.

  11. An addon is like an extra package (it can be an app, codec etc.) that does get integrated into your windows xp source.

    I want to integrate Service Pack and other software into the 64-bit edtion.

    You don't need to integrate any service pack, your copy of windows comes with sp1 already. You can call addon a pack, because basically it's the same thing.

    Here's the integration process with screenshots http://24.14.156.63/nfm/page/updatepack/integration.html

    Those links may not be valid in the future, I'm still playing around with server. ;)

  12. Ubuntu made an extra package with multimedia support such as mp3 decoding, I think it's ont their wiki page. You should be better of with suse 10.1, it comes multiple best linux players such amarok. Mplayer is the best, pure shell power.

×
×
  • Create New...