pty 882 Posting Pro

VB6 came out nearly 10 years ago and apart from maintaining old apps nobody really uses it (I'll probably get told otherwise but nobody uses it for anything serious).

I suggest you try learning something that people currently use; the old VB developers now tend to be using VB.net or C#.

You can get Visual Studio Express that should be suitable for learning the ins and outs of the language but it is limited and the full version is expensive.

pty 882 Posting Pro

A log file is a record of what has happened. On linux/unix they tend to be in /var/log.

As a developer I use them when stuff goes wrong and I want to find out why.

IT use them to keep tabs on things, monitor network use etc.

Web masters use them to spot trends and stuff (often using something to interpret their log files like webalizer).

You write to a log file like any other text file. To read from one just type cat filename.log or tail filename.log .

A useful way of printing the end of a log file and update it when it changes is to use tail -f filename.log .

pty 882 Posting Pro

What exactly was the problem you're having with FCKEditor?

Of the open-source ones FCKEditor and TinyMCE seem to be the best for general development and Kupu is geared at Zope/Plone and that kind of stuff.

There are a few proprietary ones (a quick google will no-doubt find them) but I'd try the open ones first - you have nothing to lose that way and I'm sure one of them will do the job

pty 882 Posting Pro

I've been searching around the site, looking at the different types of coding, and come accross Assembly. This is one of the most complicating code ive seen yet and was just wondering what is it's most common use?

Assembly language is a very low level language.

It is very fast but very complex (therefore generally takes longer to write) and these days tends to be used where massive optimisation is required (a number-crunching algorithm) or in drivers and stuff where it has to interact directly with hardware.

pty 882 Posting Pro

Counterstrike is the best; and I mean v1.6 not any of this CS:Source malarkey.

pty 882 Posting Pro

Whilst on the subject of advertising I was wondering what the view of the IntelliTXT adverts was; some of them seem to be pointing at really scummy sites.

Attached a screenshot of the one in question.

I know the targets are out of control but I think its a bit dodgy pointing to internet scum merchants.

pty 882 Posting Pro

Ever thought of going to Kismet's website and clicking on the "downloads" page?

But that would mean him actually doing something!

John A commented: :cheesy: -joeprogrammer +5
pty 882 Posting Pro

Is the problem computer specific or keyboard specifc (ie if you use another keyboard on your computer does it happen? or if you use your keyboard on another computer does it happen?

pty 882 Posting Pro

For what you want a Mac would be ideal and I'm sure you'll pick up Mac OSX in no time (not to mention the other advantages such as no spyware, viruses and when you buy the new machine it won't come with a load of free crap already installed).

If you already own software licences for Photoshop and MS Office it may be worth looking into parallels but both of these packages are available for the Mac too.

An alternative word processor (if MS Office is too expensive to rebuy and you want something native) is WriteRoom.

pty 882 Posting Pro

yes

pty 882 Posting Pro

> Unfortunately you're alone in this belief. And bbcode isn't proprietary. Everyone can, and most do, use it.

I'm not, you know.

Q.v.

http://en.wikipedia.org/wiki/Bbcode

"Some implementations of BBCode have suffered problems related to the way they translate the BBCode into HTML, which could negate the security that was intended to be given by BBCode. A properly constructed HTML filter (of which there are a seeming infinitude of freely available) easily negates the need for users to learn another poorly defined, inconsistently implemented markup language. There is also currently no standards document for BBCode."

It's a daft idea. Making people learn a new markup language which the web forum then converts into the language the forum itself is designed and rendered in is virtually a definition of "redundant".

This is the most stupid thread EVER.

Too pro for a WYSIWIG editor (a 20 year veteran of teh technologies!) and refusing to learn new markup that has about 5 commonly used tags and is pretty much the same as html but with [ and ] instead of < and >.

(Score -1, Flaimbait)

pty 882 Posting Pro

do you know wat language kismat is made in.... that might help

C

pty 882 Posting Pro

Why don't you learn http://boo.codehaus.org/.

pty 882 Posting Pro

This should do the trick. Commented the last bit just in case you're not familiar with ruby.

#!/usr/bin/ruby

require 'find'

directory = "/home/peter/Ruby/test_data"
files = Array.new

#first get a list of the files

Find.find(directory) do |filename|
	filename.each do |f|
		files << f if /\.dat/ =~ f
	end
end

#to hold the difference, closest file name and its difference in time from today
diff, closest, closest_diff = nil

files.each do |f|
	#get the part of the string following the last /  
	filename = f.split("/")[-1]
	#create a time using the info in the filename
	x = Time.utc(filename.slice(17,4), filename.slice(15,2), filename.slice(13,2))
	#if the time is greater than now
	if x > Time.now
		#calculate the difference
		diff = x - Time.now
		if closest.nil?
		#if closest is empty (ie we are checking the first file)
			closest = f
			closest_diff = diff
		else
		#otherwise if the difference is smaller than the closest diff update our variables
			closest = f if diff < closest_diff
			closest_diff = diff
		end
	end

end

puts closest
pty 882 Posting Pro

Hi Guys, I am kinda new to this forum. But I need your help. I am not sure which language I can use to make a software which can sniffs Wireless network. any help or Open Source could will help me tremendosly... many thanks in advance and this community rocks..

Does kismet not do what you want?

pty 882 Posting Pro

Hello everyone. Has anyone heard of Sigur Ros (the band from Iceland)? I got their last album for Christmas and its A - mazing :p . They even invented their own language to sing on the songs. If you don't have a clue who I'm talking about, think of the trailer music for the BBC Planet Earth show.

Steven.

I'm a fan of Sigur Ros too. If you're into icelandic rock you should also seek out a band called Leaves.

pty 882 Posting Pro

First of all I have to say I have no experience in anything but web "programming" (not the real thing ;) ).

However, sometimes I find it very frustrating when I just cannot workout why something is wrong but i would expect this to be similar in say just your standard tech suppost guy. But I find that when programming the pay backs are immense because you actually create something there and then yourself whereas if you are doing a job like IT support then the only satisfaction is knowing that you have fixed someones problem of accidentally losing the word icon on their desktop. ;)

I don't think you could really call programming the most frustrating IT occupation. But it has its moments

As a developer the two things that get on my nerves most are

<rant>
a) Users/clients. Yes I know they pay the bills but it doesn't half piss me off when I complete a piece of work that meets their initial requirements then some bright spark comes up with an idea that requires a total refactoring of it. Ok, my company will charge extra for this but I don't see any of it and I'm the one who gets bored out of my face re-doing their bloody change requests.


b) Meetings. They just bore me but are pretty unavoidable so I guess I can put up with them.
</rant>
The rest of the job is fine.

pty 882 Posting Pro

I used to wear out keyboards in a very short time, most often the lettering goes first quickly followed by the keys cracking up. Best I have found for a combination of longevity and real every-day-a-few-thousand-words usability are the solid IBM SK-8820's. In fact I like 'em so much I have a dozen of them in the office so I never run out. Current one is one a few million words and still going strong.

If you ever run out SK8820s I highly recommend unicomp customiser keyboards; they are the closest you can get these days to the IBM Model M (they acquired the technology from IBM in the 90s). I have one of them on my desk at home and one at work.

If you put one of these in your next PC Pro keyboard labs I'd put money on it winning, even if its not wireless and doesn't have fancy multimedia buttons. :)

pty 882 Posting Pro

I haven't tried XGL or Beryl yet, mostly because I like my CPU to be used for actual work ;). Also, I heard that if you're using XGL or Beryl you will not be able to run other OpenGL applications, is this true?

If you use XGL it is kind of true yeah, however if you use AIGLX you'll find that OpenGL apps run fine.

I've been using it for a while and find that the desktop is more responsive under compiz/beryl. I suggest giving one of the compiz/beryl livecds a try; they should give you a good feel for it before installing

pty 882 Posting Pro

I am a rails developer and as jtwenting said earilier in this thread, it is important to have a decent grasp of ruby before trying to get your head around rails.

I did a fair amount of python at uni and found ruby quite similar. The pragramatic programmers books also definately helped but the best way of learning imho is to try to make something.

rubyquiz has a list of problems that will challenge you; pick one - spend 10-20 minutes thinking about how you'll solve it (i usually scribble down diagrams/psuedocode etc on a pad) and have a go.

If you get stuck use the ruby book, ruby's api documentation, google, koders.com, ruby lists, irc etc.

You'll find with one or two under your belt it gets easier and the amount of time you spend thinking about ruby decreases and the amount of time you spend thinking about the problem increases (the way it should be!).

You will find the rails framework makes a LOT more sense if you understand ruby and you will be a lot more productive from the start.

Another thing that kind of goes without saying is choose a decent environment/editor to work with; you want something that at least has syntax highlighting.

pty 882 Posting Pro

I'm sure most people here are aware of software patents; for those that aren't there is a good article on wikipedia about the pros and cons here:

http://en.wikipedia.org/wiki/Software_patent_debate

I am a firm beleiver that software patents stifle innovation and always seem to favour those with large wallets and an army of lawyers.

I'm not going to rant here and now I just wanted to bring your attention to a petition on the Prime Minister's web site. If you think that software patents are as an absurd an idea as I do please sign it:(UK residents only).

http://petitions.pm.gov.uk/softwarepatents/#detail

pty 882 Posting Pro

Add my vote to the ROR category as well

mine too

pty 882 Posting Pro

Which FTP server/OS are you using?

pty 882 Posting Pro

hi friends,
how can i store video files in the server or database like mysql,
if u r having any related docs or code. please send it to my mail-id.
otherewise tell me the way how can i store. i am waiting for ur replies...
ok bye..


thanks in advance.

Storing movies in the actual database will impact its performance hugely.

I think the approach you should be taking is storing the location of the file in the db and storing the file on the file system.

pty 882 Posting Pro

Hi
I recently dumped all things windoze and made the move to Linux. Everything is cool so far but I have a USB speaker made by BOYNQ called the vase. Does anyone know whether this will run under Linux or do I need to ebay it?
Thanks

Simon

Did you have to install drivers to make it work on Windows or did it work automatically?

I have a USB headset (plantronics) that works fine on Linux (RHEL, Ubuntu and SuSE have all worked with it).

Which distro are you using?

pty 882 Posting Pro

Is it anything to do with the permissions on the files?

pty 882 Posting Pro

Hi Guys

I would love some feed back on an ethical question I have just spent the last 5 hours discussing and would like to get the ideas of those in the industry and particularly those from and other countries as I’m from Oz and I know our standards are different here.

I have a friend in the US who I chat to by IM and who I discussed on a number of occasions a confidential relationship problem I was having with a third party friend known to both of us. My friend goes online at home through a server (which I was unaware of) and system set up her partner who is an IT professional.

Unbeknown to both if us, her partner recovered or recorded these conversations off the server and forwarded onto our third party friend creating problems that were not needed and making situations worse.

Note there was threat or risk to any other party or involvement of violence, drugs children or any other significant issues.

The partner’s position was that as he owned the server and it was in his basement, he was entitled to do what he wanted with it and what ever was on it belonged to him and that because the equipment existed for him to hack it, no one had the right to expect privacy and lastly that ethics do not matter with respect to issues like this.

I believed this was ethically wrong and that the same arguments or situations could …

pty 882 Posting Pro

I am currently in charge of a running installation of the Slony replication procedure for Postgresql databases. I inherited this installation from my predecessor; I have no clue how slony works. I am in need of some kind of beginner's guide, if anyone knows where such a thing might be found.

I have checked the documentation which came with the slony installation currently running, but it's far enough over my head I can barely understand what they author is referring to, let alone what I need to do to learn it.

Searches on the web have revealed little. A general google search for Slony and Slonik (the commandset for slony, apparently...it was referenced in the installation docs) revealed nothing more useful than a list of the commands, with almost no instruction on how they were to be used. The instruction that was present apparently is geared towards someone who already knows a fair amount about Slony replication. Again, I do not qualify for that.

Searches for "Slony Beginner's Guide" and similar terms revealed a single site, which mentioned the term in reference to another site that seems to be mostly an FAQ. I'm still looking through that site, but I don't know if the contents will help me any. Other than the FAQ layout, it seems to be pretty similar to what I've already discovered, which, as I said, is currently over my head.

Again, does anyone know of a beginner's guide to Slony, or anything similar, that might be …

pty 882 Posting Pro

I am at the basic stage of planning out a Relational Database and I am looking for a freeware program that I can use to draw my initial relationship diagrams (with entities and the relationships between them). It would be useful if the same program could later be used to add in entities etc.

I am specifically looking for a program that supports this version of UML

e.g. 1..* --------- 0..*

It needs to be able to include many to many relationships in the initial design phase.

Thanks.

I use a whiteboard 95%.

In my office though most of the linux users use umbrello or dia.

I've not used it but I've heard that StarUML is decent on Windows.

pty 882 Posting Pro

Not really, just that I need to screw up my friend's computer at work. We're always attacking each other on the computer, but this time it's gone too far. He put a script on my computer so that every time I log on, the computer restarts, or logs off, making it imposible to log in. I have ways around it though, but I need something to mess up his computer bad enough so he can't figure it out and I have to help him, but not too bad so I don't get fired. Are there any suggestions for screwing his computer?

Set his stapler in jelly.

I wouldnt go around sabotaging computers; if I tried that here I'd be reminded not to forget my coat on the way out.

pty 882 Posting Pro

Alrighty. I would like to know the specs on the major (or minor, that's cool too) desktop managers. I would like the fastest one, but I do want my computer to look pretty, too. I am running Debian etch (testing), currently using Gnome and KDE (trying to switch to KDE, but that's a different story for a different time).

Please lend any knowledge you may have. I'll give you donuts.

I would reccomend Xfce. Its built in GTK (like Gnome) but uses far less resources and is very very quick and responsive. It may not be quite as fast as fluxbox/blackbox and the like but its easier to customise and tweak.

pty 882 Posting Pro

What entities would you have for A car hire firm and their attributes.

cars and stuff

hope this helps

pty 882 Posting Pro

You can test out the Beryl with XGL (i think its xgl but it may be AIGLX on the sabayon live DVD.

It should work for any modern nVidia/ATi cards

pty 882 Posting Pro

Ubuntu Linux (6.06 LTS):

I have Firefox installed as well as Epiphany, and Firefox will not open when opening HTML and bookmark files. I try to open an HTML file off of my desktop, and it opens Epiphany, even after changing the default browser to Firefox.

Help!

right click file -> properties -> open with -> select firefox (if its not there click add and find it)

also check out the preferred applications option in desktop -> preferences menu.

dunno why you want to change tho epiphany is faster, less memory intensive and fits in with gnome better :P

pty 882 Posting Pro

I am with WebFusion (part of Pipex) I have upgraded my account in order to get a database. I know nothing of databases and can only design websites using Dreamweaver (not even the HTML coding) the WYSIWUG!

What book or CD or anything would someone recommend for me ( I am not ashamed to call my self a newb lol) so I can teach myself how to add a username and password database to my site.

Hope something like this exists, maybe the "For Dummies" books might help. Please note that I do not have any server software installed, just Dreamweaver. What software aswell. Cheers peeps

I don't know the ins and outs of your hosting setup but I'd assume that it includes PHP/MySQL as it is very popular and free.

Here is a tutorial that was featured on digg a while ago on the basics of PHP/MySQL.

If you want to get PHP/MySQL installed on your own machine for testing purposes (I reccomend you get it working on your computer first then upload it) you are probably best using an all in one installer like XAMPP. It will get you up and running and there are tutorials and examples included iirc.

Good luck and any problems post them in the PHP forum and your questions will be answered.

Of course all the information I gave could be useless if your ISP gave you ASP/ASP.net and MSSQL or …

pty 882 Posting Pro

anjuta may be worth a look - can't believe this thread got so far without a mention.

pty 882 Posting Pro

host should be where your database server is located; if it is on the same box as apache/php then set host to 'localhost', if its elsewhere use the IP address of the database server.

May also be worth reading this.

pty 882 Posting Pro

Have you tried aptana.

I don't use it but our design guy uses it instead of Dreamweaver these days. Also Notepad++ is good for quick editing; syntax highlighting, html tag closure, integrated html tidy, split panes, lots of other goodies too.

/for the record I use vim

pty 882 Posting Pro

Delphi is a good place to start, it isn't the trendiest language around nowerdays but it teaches you good habbits and is extremely powerful and flexible. This chap has a very good guide and set of tutorials.

I have been using Ruby for the last two years or so and have not looked back. You can try it instantly, online here. Ruby is open and free.

pty 882 Posting Pro

1 year after vista its critical updates only
2 years after vista comes out its unsupported (2009)

2009 is only 2.5 years away - xp came out in 2001.
The same was with NT4 - 1996 to 2004 then it got extended to 2006

Your saying xp is still ok is like someone saying NT was still ok in 2002

Windows XP Service Pack 3 is penciled in for H1 2008, approximately a year after Vista launches. I doubt they will discontinue support for an OS they sold 18 months ago. I would guess they'll offer support on XP until at least 2011.

I could be wrong, MS aren't the most predictable company.

Still tho VPN stuff works fine on Linux so you should be fine with that.

pty 882 Posting Pro

why no debian?

Oh yeah, question - xp willl be unsupported soon so im killing my dual boot and single booting linux - what i want to know is can i connect to my college VPN from it and can i run MS Access 2003 and VB6 in crossover office

Windows XP support will continue until at leat 2009 for regular users and 2014 (or there abouts) for businesses.

pty 882 Posting Pro

I am new to Linux and have started with Ubuntu 6.0 . It seems to be a good program but what I did not like is that there is no way to use one browser for ANY type of webpage (ie- plugins).

Which is the best free Distro that supports the majority of the plugins?

I have not tested the new version of Ubuntu. I have also heard and downloaded SUSE but not tested it.

You can use most standard plugins with Ubuntu; they are not distributed because they (flash, realplayer, sun's java) are not under the GPL.

To get these 'restricted formats' working in ubuntu I suggest you have a read of this or consider using the automatix script (a script that installs flash, loads of codecs, sun java, dvd watching tools and a host of other goodies.

You will find that no 'free' distribution will package these by default however some paid for ones (linspire, suse professional, redhat enterprise, xandros etc) will do.

pty 882 Posting Pro

Python

def counting(i=0):
    while i < 11:         
        print i,
        i += 1
 
counting()

slightly shorter way in python

print range(1,11)
pty 882 Posting Pro

hi all,iI design database by sql by using visual studio 2005,i need to have pdf or any refrence guide to know how to write select,insert, delete statement ,could you help me

msdn. But I don't thinkyou have much hope

pty 882 Posting Pro

I am running 64-bit Fedora core 5 and attempted to download core 6. The download (FireFox browser) took about 8 hours and when done the file could not be saved :mad: I know it is not for lack of disk space -- fedora is installed on a 320 gig hard drive, and the os is almost the only thing on it.

This morning I rebooted to 32-bit MS-Windows XP and again downloading the file with Firebox browser. But this time 71% of the file has finished downloading in just one hour.

If linux (Fedora) is supposed to be so wounderful and better than MS-Windows, why does its file downloads suck cannel water:eek: And why could it not save that 3 gig file?

So cos firefox broke your download you conclude that linux isn't very good.

If you want to download using http use wget. You'd be better off using bittorrent though, you'll get good download speeds and most good clients check the segments of file they download to make sure corruption doesn't occur.

Also you're comparing download speeds that are potentially from two different mirrors (?) at different times on different days. The fact that you did it on different operating systems probably has nothing to do with it.

pty 882 Posting Pro

i use vim

pty 882 Posting Pro

what is the shortest way of printing 1..10 in any language?

i can't see any being much shorter than this :

1.upto(10) { |i| puts i }
pty 882 Posting Pro
SELECT RNO,PNAME,AGE,'discharged' as STATUS
FROM TAB1
WHERE enroll_status = 'D' 
union
SELECT RNO,PNAME,AGE,'queued' as STATUS
FROM TAB1
WHERE enroll_status = 'Q' 
union
SELECT RNO,PNAME,AGE,'admitted' as STATUS
FROM TAB1
WHERE enroll_status = 'A'
pty 882 Posting Pro

Suppose I have this two tables;
Modules and Student

Modules has the following fields

  • Module_Code(Primary Key)

Module_Name

Student has the following fields

  • Stud_Number(primary key)

Stud_FullName

My problem is that I want to include the Stud_Number on the Modules table to make it a primary key.

Can anyone show me the right syntax to use because I have through the Documentations and still I cannot find the right syntax to use.

Best Regards
Goitse
:confused:

Why would the student id be included in the modules table?

I assume a student may have zero, one or many modules and a module may have zero, one or many students.

What I think you need is a many to many relationship with a middle table

students ----< modules_students >---modules

modules_students would have have the columns student_id and module_id; so to add a student to a module you'd add a tuple in modules_students with the student's id and the module's id.

pty 882 Posting Pro

hai...i want the system able to search the student information,to add,save,delete..but i already done for it..i just dont know what more table shoud i add at least 3 more table...to make it more advance..and i need the coding...

This may give you some inspiration.

I won't give you any code unless you pay me.