Showing results 1 to 40 of 482
Search took 0.03 seconds.
Posts Made By: pty
Forum: Database Design Sep 15th, 2008
Replies: 7
Views: 1,859
Posted By pty
Re: looking for database software for site.

Why revive a 2 year old thread?
Forum: Ruby Apr 24th, 2008
Replies: 5
Hi
Views: 2,401
Posted By pty
Re: Hi

No problem, its not the most obvious solution
Forum: Ruby Apr 15th, 2008
Replies: 5
Hi
Views: 2,401
Posted By pty
Re: Hi

Did your source file definitely have a .rb extension? Did anything at all appear in the output window?
Forum: Ruby Apr 15th, 2008
Replies: 1
Views: 1,780
Posted By pty
Re: having trouble executing ruby coding

Installed rails? I know its not the be-all and end-all of ruby web development but it is decently documented and probably the easiest way of getting an up and running ruby-based webapp.
Forum: IT Professionals' Lounge Apr 7th, 2008
Replies: 1
Views: 519
Posted By pty
Re: Urgent piece of advice is needed!

Sounds like watir (http://wtr.rubyforge.org) will do what you want.

Here (http://wiki.openqa.org/display/WTR/Example+Test+Case) is an example of how to set up a google search
Forum: *nix Software Apr 7th, 2008
Replies: 15
Views: 2,788
Posted By pty
Re: MORE iPod troubles

Easiest way is to dist-upgrade to hardy; the latest ipods (i.e. classic) should then work (i use rhythmbox on debian sid and it works fine)
Forum: IT Professionals' Lounge Apr 7th, 2008
Replies: 8
Views: 1,077
Posted By pty
Re: How Internet Works ??!! any ebooks ? guides? in-depth?

http://en.wikipedia.org/wiki/The_internet
Forum: MS SQL Mar 25th, 2008
Replies: 3
Views: 1,478
Posted By pty
Re: can we get the position of record while retriving records in sql server 2003

A quick and dirty method would be to select into a temp table that has a identity column and then use that as the basis for your query. I wouldn't use this method if performance is high on your...
Forum: Database Design Mar 18th, 2008
Replies: 5
Views: 886
Posted By pty
Re: medical record maintenance system database

create database medical_records;


Hope this helps.
Forum: MySQL Feb 5th, 2008
Replies: 3
Views: 464
Posted By pty
Re: New to joins - Need help with query...

select ar.url
from amp a
join ampref ar on a.amp_id = ar.amp_id
where a.name like 'luna'
Forum: MS SQL Jan 21st, 2008
Replies: 2
Views: 484
Posted By pty
Re: New to MS SQL 2000

Books Online (http://msdn2.microsoft.com/en-us/library/aa257103.aspx) is probably a decent way to start.

Also I suggest trying some queries with the Northwind database; work out how to add criteria...
Forum: Ruby Jan 21st, 2008
Replies: 4
Views: 4,868
Posted By pty
Re: Having some trouble getting started

Try starting it and navigating to http://localhost:3000
Forum: Site Layout and Usability Jan 9th, 2008
Replies: 22
Views: 4,040
Posted By pty
Re: web design software

Vim (http://www.vim.org/) is all you need
Forum: IT Professionals' Lounge Jan 6th, 2008
Replies: 2
Views: 1,381
Posted By pty
Re: Django vs. Rails ...

Neither language is 'more powerful' - you can achieve the same thing in either.

And while Google use Python heavily afaik they don't use Django (I may be wrong but I don't think they do).

Both...
Forum: Ruby Jan 2nd, 2008
Replies: 5
Views: 2,719
Posted By pty
Forum: Ruby Jan 1st, 2008
Replies: 3
Views: 2,459
Posted By pty
Tutorial Re: Simple Rails Application trouble

Looking at your code I can't see whats wrong.

What happens if in your view you do


<% for st in @stocks -%>
<%= h(st.inspect) %><br />
<% end %>
Forum: IT Professionals' Lounge Dec 31st, 2007
Replies: 5
Views: 1,566
Posted By pty
Re: help with dual boot xp and ubuntu

'starting up' ?

Do you mean the Windows loading screen?

If it gets to the 'Loading Windows XP' screen you may need to do a system repair with an XP disk.

If it doesn't get as far as the windows...
Forum: MS SQL Dec 29th, 2007
Replies: 5
Views: 699
Posted By pty
Re: Adding a database to my rogram.

sqlite (http://www.sqlite.org/) is exactly what you're after.

"...SQLite is an embedded SQL database engine. Unlike most other SQL databases, SQLite does not have a separate server process. SQLite...
Forum: MS SQL Dec 29th, 2007
Replies: 2
Views: 608
Posted By pty
Re: extended procedure

I hope you didn't quit your day job.
Forum: Ruby Dec 29th, 2007
Replies: 5
Views: 2,719
Posted By pty
Re: My first Ruby programming question :-)

Although your solution is fine it can be a little more readable (and re-usable) in rails.

In the controller:


def banner(text)
span = String.new
text.split(//).each_with_index do |c, i|
span...
Forum: Geeks' Lounge Dec 10th, 2007
Replies: 27
Views: 1,879
Posted By pty
Re: The Most Influential Computer Games of All Time

I'd actually nominate Dune 2 as the most influential RTS; although TA brought 3D to the table.

Others that would be on my list are:

Civilisation
Super Madio Bros
Sim City
Mario 64
Elite
Tetris
Forum: Ruby Dec 5th, 2007
Replies: 1
Views: 2,382
Posted By pty
Re: single table inheritance

From my experience using STI isn't too bad so long as too many models are involved; it can get messy using the rails method with the 'type' column.

Of course you could try with CTI but its...
Forum: Geeks' Lounge Nov 28th, 2007
Replies: 65
Views: 3,160
Posted By pty
Re: What If The Most Powerful Nation On Earth Was Iran?

If you want an bulletproof car you can get them from http://www.edisposals.com

From the description of a bullet proof vauxhall omega 3.0 litre:

" Driver and passengers protected for 7.62. Also...
Forum: MySQL Nov 28th, 2007
Replies: 5
Views: 1,899
Posted By pty
Re: 3 condition query

$condition1 = @$_GET['cond1'] ;
$condition2 = @$_GET['cond2'] ;
$condition3 = @$_GET['cond3'] ;

mysql_connect("dbhost","dbuser","dbpass") or die("Unable to connect to...
Forum: MySQL Nov 27th, 2007
Replies: 1
Views: 1,101
Posted By pty
Re: Help in Join table

I find it easier to specify the join as follows and seperate the where clause; if your data is correct the following query should work:


select
ap.name
,ap.add
,p.status
...
Forum: Ruby Nov 9th, 2007
Replies: 4
Views: 4,529
Posted By pty
Re: Multiple db tables in Rails...

You can add as many :has_many and :belongs_to statements to each model as you like.

Then you can access the associated like this:


#in controller
def view
@actor = Actor.find(1)
end
Forum: Ruby Oct 18th, 2007
Replies: 4
Views: 3,010
Posted By pty
Re: 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...
Forum: Geeks' Lounge Oct 2nd, 2007
Replies: 16
Views: 1,289
Posted By pty
Re: software v web

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...
Forum: Site Layout and Usability Oct 1st, 2007
Replies: 10
Views: 2,045
Posted By pty
Re: Best Viewed Sreen Resolution

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...
Forum: Geeks' Lounge Sep 11th, 2007
Replies: 201
Views: 12,012
Posted By pty
Re: booty or brains?

Brains don't keep you warm at night ;)
Forum: MS SQL Sep 11th, 2007
Replies: 1
Views: 865
Posted By pty
Re: Sql Query

Create a job, insert what you get from your query into another table.
Forum: Ruby Sep 2nd, 2007
Replies: 3
Views: 3,000
Posted By pty
Re: Comment Generator

linkage (http://www.ruby-doc.org/docs/ProgrammingRuby/html/rdtool.html)
Forum: MySQL Sep 2nd, 2007
Replies: 2
Views: 803
Posted By pty
Re: Calculating a fine

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...
Forum: Geeks' Lounge Aug 28th, 2007
Replies: 25
Views: 3,116
Posted By pty
Re: Hello from Ubuntu

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...
Forum: IT Professionals' Lounge Aug 2nd, 2007
Replies: 114
Views: 96,147
Posted By pty
Re: "Show us your desktop"

Dunno how you cope with that much stuff in your programs menu
Forum: IT Professionals' Lounge Jul 20th, 2007
Replies: 5
Views: 1,119
Posted By pty
Re: What language do you use?

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...
Forum: MySQL Jul 15th, 2007
Replies: 1
Views: 3,040
Posted By pty
Re: Nested insert queries in 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...
Forum: Geeks' Lounge Jul 11th, 2007
Replies: 55
Views: 3,356
Posted By pty
Re: call centers!!!

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...
Forum: Ruby Jul 11th, 2007
Replies: 2
Views: 2,624
Posted By pty
Re: plugins

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)
Forum: MySQL Jul 9th, 2007
Replies: 2
Views: 947
Posted By pty
Re: Recommend MySQL admin tool for me?

http://www.mysql.com/products/tools/
Showing results 1 to 40 of 482

 
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 3:42 am.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC