pty 882 Posting Pro

Wow, thanks! I really appreciate you taking the time out to write out all of that to help me out. I am sooo excited on getting started!!!

Glad you're so enthusiastic about it - another invaluable resource when you're starting out is IRC; lots of knowledgable people in both #ruby-lang and #rubyonrails on freenode if you get stuck and if you just idle and watch the conversations you'll learn lots of new stuff every day

pty 882 Posting Pro

I agree with Jwenting, but when I say i'd rather do an apprentiship style job, they look at me as if i've got 2 heads. Experience is waht people look for but how do you get that to start with?

How do you get experience in development?

What languages do you currently know/use? Find one you like (I suggest reading up, downloading and trying some out).

Once you've picked a starting point (I'd recommend Python for starters, but whatever floats your boat really) maybe try downloading an open source project and messin round; try to add a new feature, change the way something works etc.

Get your hands dirty; if you get good maybe you can submit a patch to a project. I know its not 'real' work (as in you don't get a cheque) but its something to talk about in a job interview.

There are fantastic tools freely available, lots of projects to get involved with and lots of documentation (even in the form of blogs/howtos/snippets as well as more formal stuff).

One other thing (and some people will probably flame me); If i were you I wouldn't get too used to an IDE. Get a text editor and start with the basics; if you use an IDE later on fair enough but learn how to do it from scratch first.

pty 882 Posting Pro

I want to know what is the best screen resolution for a website. My website is a technical resource portal. Based on the best pratices please suggest what to follow.

Is 1024 x 768 a standard now? Right i have a free flow CSS layout but it is not working very well for me. I dont have much control over the design with the Flex Layout.

Please provide your suggestions.

If your site is technical I wouldn't imagine that many would be using 1024x768.

Saying that, it should still look ok in that resolution. If you're using CSS properly your site should look decent at any resolution.

pty 882 Posting Pro

Brains don't keep you warm at night ;)

pty 882 Posting Pro

I need to SQL Query to get the value from database for every half hour or 15 minutes.
E.g There are data updating in a table for every 1minute. I need to get the avearge of every 15minutes and give as single data.

Kindly help me on this query

Create a job, insert what you get from your query into another table.

pty 882 Posting Pro

I'm very new to Ruby and programming in general, so this may or may not help you. Ruby has this thing called Rdoc that generates an html document from your comments. You can format it like an html document as well which makes it easy to read. At the top of the document it has three frames which will allow you to click on the class, method, or object(I think) directly if you want to go edit or change something. I hope that helps.

linkage

pty 882 Posting Pro

I have a Database which is dealing with a book library system. I have a table which has a has a field dealing with the ReturnDate of a book. I was wondering if it is possible to do a SELECT statement that would return the the fines due on an overdrawn book at the database level instead of me having to do it in a Java environment.

In words what I want done:
IF (ReturnDate > CURDATE())
(ReturnDate - CURDATE()) * Fine

Thanks in advance
Paidi

select 	id,
	( cast(current_timestamp as date) - cast(return_date as date) ) * 3 as fine
from books
where
  return_date > current_timestamp

This is how to do the select in postgresql however the syntax is going to be slightly different in MySQL (i think you should use now() instead of current_timestamp but I can't remember)

pty 882 Posting Pro

If by "most" you mean nVidia :P

I've gone back to Windows myself. It has the everything-just-works -easily factor, and it's compatible with everything I need. I liked running Gentoo, but the rare broken ebuild and lack of just-works-easily eventually wore me out. Vista ftw. :icon_twisted:

Feisty (Ubuntu 7.04) has a 1 click installer for 'restricted' drivers; it will work with pretty much any Radeon/GeForce card, and all onboard Intel graphics work out of the box.

From recent installs the only problematic area has been on one laptop (my bro's) the wireless chipset was a broadcom - we had to use ndiswrapper to get wireless going - its not the easiest process I admit but generally speaking hardware detection is pretty good - and getting better rapidly.

pty 882 Posting Pro

Yes there is an option.

Trying to attach a screen dump of the remove shortcut, but somethings broken the add attachment pop-up is just freezing. The image is less than a 1mb and is 1280 X 1024 so it's not violating the restrictions.

EDIT> looks like it worked, even though the page seemed to freeze :)

Dunno how you cope with that much stuff in your programs menu

pty 882 Posting Pro

hi, my name is Reece, i have learnt, javascript, css, php, xhtml, html and loads of graphic stuff. Im 14 and my teacher said for me to learn asp, but im sure there is no difference, is there??

I would recommend python; a cross-platform, dynamic object-orientated language that you can use for all types of programming. Python is free, there is lots of documentation, a very good developing community, lots of online tutorials, books etc.

pty 882 Posting Pro

hi ,
I have four different tables, all are linked together using foreign key relationships.
Now i need to insert data in to the tables.How can i use nested insert queries to insert data by a single query?

I suggest using transactions (you need the InnoDB storage engine for this).

start transaction
  insert into blah...
  insert into blah...
commit

If one of your statements causes an error none will be committed so you won't get corrupted data / missing keys etc.

pty 882 Posting Pro

GRRRRR!!!! I Attempted to call Orange earlier, spent little over 45 minutes on hold before i gave up, almost as bad as AOL; anyone else get these problems with other providers / companys?

Dazza :cool:

When I transferred from Orange to O2 last year I couldn't get hold of someone to give me my PAC code (to transfer my number to O2); the queue was massive - probably trying to make people give up and stay with Orange.

After waiting a few mins I gave up, called back but took the automated route to the 'upgrade my tariff' queue, got hold of someone in about 30 seconds and told them that I was leaving and they'd better give me my PAC code - which they did.

pty 882 Posting Pro

i have been using instant rails to run my application with apache server ,now i want to install plugins but i m not getting the right way to do it ;

i gave install plugin from console but every time error comes.so can any body tell me how to install plugins (when i am using instant rails and apache)


thanx in advance....

Depends on the plugin but generally it should be a case of adding the repository url:

script/plugin source url

Then installing it..

script/plugin install ferret  (or whatever you wanna install)

Quite often though installing plugins is a case of copying the folder to RAILS_ROOT/vendor/plugins

pty 882 Posting Pro

Hey everyone, I'm looking for a free tool to administer MySQL databases. I currently use PHPMyAdmin, which is great, but I'm looking for the same functionality in a desktop software. I've actually found quite a few, but wondered if you any of you could recommend one for me.

My only requirements are that it be fairly simple to use, have at least the same functionality as phpMyAdmin, FREE, and that I can load it on my desktop, and perhaps be able to store my DB connect info so I don't have to put it in everytime I log in.

Thanks!
Nate

http://www.mysql.com/products/tools/

pty 882 Posting Pro

I dont think explaining will help. You are a smart person, and i may suggest a different solution (it does help, if used the right way):

1. Go to your boss' office and say hello to him.
2. Pick a heavy book from his desk.
3. Hit him on the head with it.

In other words, dont waste your time explaining rather simple things.

Not any old book will do; please use "A Relational Model of Data for Large Shared Data Banks" by Dr Edgar F Codd.

pty 882 Posting Pro

How to fastening inserting data on mysql???
I have 5000 record in excels. And I want to insert all record to mysql.. and it take time abaout 6 six minutes.. How to fastening become under 20 second to insert all 5000 records??

Peace

DODOl

Also you may want to temporarily stop using indexes on the tables in question

stymiee commented: good suggestion +7
pty 882 Posting Pro

I would have assumed higher listings here:
http://en.wikipedia.org/wiki/List_of_countries_by_size_of_armed_forces

Frankly, I think that European socialism has been partly paid for by the US taxpayer via our military used to protect Europe.

As you can see from this article the combined EU military budget is roughly 7 times that of China and probably 10 times that of Russia

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

Also it is a case of quality and not quantity. I think we (Britain) are very lucky in that regard. You have to remember that the European military approach is, generally, different to that of the USA.

I don't hate America or Americans; I just feel that the current administration is taking the country in the wrong direction. I also question their motives on many decisions.

pty 882 Posting Pro

Well, without the US, who's defending Europe (militarily)?

Europe can take care of itself.

I just wish Blair had taken more of a leaf from Mr Chirac's book before the "war" - Blair will be remembered for Iraq, not for improving the economy, lowering unemployment and providing stability in Northern Ireland and Bosnia.

We only have to look across the pond at George W Bush to see that Blair wasn't that bad. And voted in twice. America peaked in the mid 90s.

pty 882 Posting Pro

...And what's wrong with that?

It is bordering on child abuse.

I hate it when kids get wrapped up in religion and wearing funny hats before they even have a chance to question it, and by the time they do they're so brainwashed most never see the light.

I don't hate Christians, or religious people at all; what I do hate though is people who read religious texts literally (evangelicals, if you will).

pty 882 Posting Pro

The best design for any database is normalization

In this case yes, normalisation is correct. Your statement though is not entirely true; especially when datawarehousing and complex searches come into play.

pty 882 Posting Pro

Hi friends
Again I have one real Lever.Please help me to lift it.
can anybody tell how to work with tagcloud .I
did a lot of search but i could not get fruit.Thanx

Google 'tag cloud rails'. Top 5 results should give you a pretty good indication.

To be honest though its not exactly that hard to do it yourself.

pty 882 Posting Pro

Hi there,
The banner shows up fine in IE but not in Firefox...
Any quick fix for this?
The temporary url is:
http://www.enureflex.anonsolutions.com/

Its because of the spans in your table at the top. I attached a screenshot with your table cells highlighted.

Firefox is actually handling it correctly.

I suggest that you use CSS rather than tables for layout; you won't run into problems like this.

pty 882 Posting Pro

Have you read the postgresql docs?

http://www.postgresql.org/docs/8.2/static/libpq.html

pty 882 Posting Pro

Digg uses script.aculo.us; if jquery doesn't do what you need it may also be worth a shot.

http://script.aculo.us

pty 882 Posting Pro

Beryl was hard to install a year ago.

Now so long as you have recentish nvidia, intel or ati graphics you just have to get the relevant packages and run beryl-manager or compiz's equivalent (gnome-compiz-manager i think). On Feisty compiz comes pre-installed and you just click 'enable desktop effects'.

pty 882 Posting Pro

You should find the method described here suitable. It works for any file type.

pty 882 Posting Pro

> multitasking
Heh. I really wonder... ;-)

> Looks very good. May give it a go when I've finished Oblivion (which is also extremely pretty)
From what I have heard, Oblivion has a long gameplay, spanning across around 60 or more hours. I still am in the shadows as to what these guys have been feeding the audience with since Elder Scrolls I...

I didn't play 1 but played from Daggerfall onwards. Even though the main quests are pretty decent I like just wandering around the country side, doing side quests, getting fancy armour and weapons. There is a unbelievable amount of depth in Oblivion. I'm still unsure whether online RPGs are for me or not.. WoW seemed really dull to me.

pty 882 Posting Pro

I didn't see this thread sooner and it may now be too late, but 1 database is the way to go; easier to manage, easier to optimise, easier to backup, faster, requires less disk space.. 1 database is better in every way.

Don't be worried about the number of rows in a database; they are designed to cope with large volumes of data.

iamthwee commented: good +10
pty 882 Posting Pro

> If your windows is any nicer looking please post it. I call BS until then.

Mines really ugly!

So long as you're productive and efficient it doesn't matter how it looks.

Of course you get marked down for using emacs and not vim :)

pty 882 Posting Pro

Honestly I don't have much experience with Linux, but for the past three days all I have been trying to do is get Ubuntu and Kubuntu to at least LOOK decent.

I've tested Sabayan and OpenSuse. I mean, I haven't relly gona as far as testing the operating system's functionality and features. I've learned some commands and I think I know some but...

I mean, the OS' are just ugly. They are not sleek at all.
One thing I CAN say with confidence is that there are no Linux apps that are better than any Windows or Mac version.
I can say that with confidence knowing that noone can say any different.

My desktop with a few apps open.

If your windows is any nicer looking please post it. I call BS until then.

pty 882 Posting Pro

Looks very good. May give it a go when I've finished Oblivion (which is also extremely pretty)

pty 882 Posting Pro

First The Pirate Bay and now TorrentSpy. Looks like these people have started getting serious.

The Pirate Bay operates within the confines of Swedish law; they are doing nothing illegal. They have been raided a few times due to pressure on the Swedish government from US companies.

TorrentSpy will be missed; it filled the niche that suprnova left; another site will spring up very soon no doubt.

pty 882 Posting Pro

I am working in ms access database2000 and my frontend is vb 6.0.

I have three tables namely:-
AREA:- areaid,areaname
ROUTE:-routeid,routeno,routename,areaids
PARTY:-partyid,lastname,firstname,address,areaid

The field areaids in ROUTE table consists of chain of areaids belonging to that particular route in this format '12,23,65,67,'

The problem is that i want to derive a query which is able to retrieve records from ROUTE and PARTY on the basis of a particular area.
response is required as early as possible.
thanks in adv.

Your database is designed wrong.

If an area has and belongs to many routes and a route has and belongs to many areas you need a link table:

AREA:-  1
areaid, ----------------+
areaname                |
                        |
AREA_ROUTE(link table)  |
id     0..*             |
areaid------------------+
routeid------------------------+
         0..*                  |
                               |
ROUTE:-   1                    |
routeid,-----------------------+
routeno,
routename,
areaids

Then you can find the included ones using a simple join.

pty 882 Posting Pro

Wheelchair land speed record?

pty 882 Posting Pro

500Mhz processor
128mb sdr ram
20 gig hard drive

I need a linux OS to fit on this that is user friendly, I'm doing this up for my friend. He had windows ME on before. Any suggestions.

Tried DSL (not user friendly), puppy linux (wouldn't recognised usb internet port). Slax (was really great, but doesn't come with open office and is difficult to install on the c drive),

Haven't tried vector linux, zenwalks or KateOS yet. Are they any good.

xubuntu

Aimed at older/low end machines. All the advantages of Ubuntu's good hardware detection with xfce desktop environment for speed.

pty 882 Posting Pro

Worst ever remake: Madonna doing American Pie.

I have to agree. Also U2's version of Paint It Black was pretty dire.

this is the sort of music that makes me want to kill everyone who makes rap

With pretty much all recent hip hop/rap, I agree.

Some of the older stuff (De La Soul, A Tribe Called Quest, Dred Scott, Resident Alien etc) is really good though.

pty 882 Posting Pro

Hi, i want to create a website has a feature that when everyone has a Yahoo IM (login already) comes to my website, this feature know that and show their avatar in location i named it. How can i do to make it come true? plz help me. Thank you so much :)

Is this what you're after?

pty 882 Posting Pro

I have an ongoing TurboPascal development that jumps into one of the units code on program termination causing a hangup. Running it in the IDE under Windows XP 'Just' locks up the instance of the Turbo compiler. Porting it to another machine running Win98 gives 'Code segment to large' when compiling so rearanging the units to get it to compile and then running it gives "This program has performed an illegal operation" from Win98. In finality the program will run under DOS but I was very suprised at the different behaviour between XP and Win98. The XP compiled version hangs up on exit on a DOS machine. Any hints at where to look to sort this out would be appreciated.

Regards,
Gammatech

Maybe do a find to see the places that the method causing the problem is called from? I'd place breakpoints before the calls (if there aren't too many!) and trace it that way. It shouldn't be too difficult to find the problem if you work backwards towards it.

pty 882 Posting Pro

send me a code on how to add numbers in delphi

1+2

HOPE THIS HELPS LOVE PTY

pty 882 Posting Pro

I like Travis. Though sometimes their music make me sleepy...

I listen to pretty much all genres except classical, rnb and heavy metal. Recently I mostly listen to late 80s early 90s hip hop; modern rock/indie/pop seems boring.

Travis' first album (Good Feeling) was excellent, it is still one I play regularly. Wish I could say teh same for their later work

pty 882 Posting Pro

We generally don't hold certs in that high a regard here simply because anyone with a decent memory can pass them.

I have a MCP in SQL Server 2000 Programming but I only have it cos at my last place of work I was given the opportunity to have a week off work, expenses paid and do the training.

If i was a hiring manager I'd be more interested in a good degree and how they come across in an interview; whether or not they can answer my questions on the spot etc.

pty 882 Posting Pro

Thanks for the tip! What OS is recommended? I'm guessing Windows Server 2003. Is that accurate? Are companies still using Windows 2000?

Either is fine. All the databases (mainly PostgreSQL) I'm responsible for here run on Debian.

All the databases I listed (possibly with the exception of Sybase but I'm unsure) will run fine on both Windows and *nix systems.

pty 882 Posting Pro

Why spend money on SQL server when there are free versions of IBM DB2, Oracle, Sybase ASE or open source alternatives like PostgreSQL and MySQL

edit: There is a express version of MSSQL server too :)

pty 882 Posting Pro

Unfortunately there are already too many non-technical talkers in the IT industry.

pty 882 Posting Pro

I need a way around this problem,

You have a problem because you are using a spreadsheet application for something that it was not designed to do. You should really be using a database.

pty 882 Posting Pro

Thanks guys for giving the reply of my previous query.Now I
again i have a new query and expect the same and thank in advance.
The query is how to install plugin in ruby on rails environment.

Rails wiki on plugins

pty 882 Posting Pro

Not that I'm an expert or anything but secret surveillance surely isn't the best way to approach this problem.

pty 882 Posting Pro

.DPR (delphi project) is what you're after; you will need Delphi to work easily with this project.

pty 882 Posting Pro

isn't he supposed to be called the "hobgoblin"=

Thats another character who uses the Green Goblin's equipment.

I think they need to stop spiderman before it goes downhill batman style; the companies behind it though will pump out another couple cos its guaranteed to do well.

Overall the film was 'ok' in my opinion but not as good as 1 or 2.

I wonder how long it will be until superhero/comic book movies go out of fashion - the last 10 or so years there have been about 30 of them (spawn, xmen 1,2,3, superman, the hulk, spiderman 1,2,3, hellboy, 300, daredevil, batman 1,2,3,4, catwoman, new batman, fantastic four1,2, the punisher, sin city, ghost rider... sure theres a few I forgot but theres been LOADS.

And of all those which have been good? Batman 1,2. x-men 1, spidey 1,2, 300 and sin city. The rest have been average or below (and a fair few have been absolute stinkers *cough*batman begins*cough*daredevil*

pty 882 Posting Pro

There was a discussion on /. a while ago about the pros and cons of Gentoo on a production server.

Incidentally my servers at work all run on Debian; my desktop here is Ubuntu (installed feisty over Gentoo yesterday actually). I just think that apt is the best package management tool; fast, easy, powerful.