similar to: ajax insertion sort

Displaying 20 results from an estimated 500 matches similar to: "ajax insertion sort"

2005 Apr 01
11
I want to blog!
This isn''t Rails or Ruby related, but I just need some advice and thought I''d ask the bright individuals here. I want to start my own blog but I''m not sure where to begin. I don''t want to get a blogger account because I want to have my own domain. Blogger also doesn''t have many features. My hosting service is 1AND1 so it supports php, cgi and mysql.
2005 Nov 02
4
acts_as_metadata?
I''m running into the need (on at least one project now) to implement end-user-customizable "metadata" or properties on model objects. The standard example would be a Person class that had first_name, last_name, etc. but would need to be extended real-time (through the web admin interface) with properties such as phone_number : varchar (30). I''ve done some basic
2005 Dec 15
5
site takes a while to load after first visit in a while
Using lighttpd + fcgi to power a site. When no one has accessed it in a while, the first visit to the page takes a while to load up. Then subsequent visits are fairly fast. Any ideas on how to fix it?
2005 May 10
8
fastcgi approach?
I''ve just had a problem with fastcgi killing processes off while they were running (I have a long-running background process)... but it took me a while to track it down and pinpoint that fastcgi was asking the process to quit. So i was thinking if it would be a good idea to tweak the way ruby-fastcgi handles this. At the moment, in fcgi.rb (part of the fcgi gem) there is
2005 Nov 16
37
Postgresql vs MySQL
Is there any reason to avoid using postgresql for small web apps? That is, is it''s overhead so large that the lighter MySQL will work substantially better for small apps on small machines? Or are they very similar in performance and configuration? I''ve used MySQL but postgresql has its appeals and I''m wondering if I need to keep MySQL around at all. On the other
2005 Dec 29
3
Maintaining DB reflection without scaffolding
Hi, I would like to know if there is a way to maintain database reflection for the ''new'' and ''edit'' views whilst removing scaffolding? I''m trying to create a webapp that will be somewhat maintainable by colleagues (that aren''t necessarily web developers) through simple manipulation of db table fields. For example to add another field to the
2009 Jul 12
11
get DB data to rhtml file
I am trying to get data out of a database to my rhtml file. The files look like this: Model ------- mystuff.rb class Mystuff < ActiveRecord::Base set_table_name "mytable" set_primary_key "id" end Controllers -------------- mystuff_controller.rb require ''Mystuff'' class MystuffController < ApplicationController def read @me =
2009 Oct 27
2
Porting Custom Packages from Linux to Windows
On my linux workstation I have a nice, very little project in a directory called "mystuff" I installed "mystuff" into site-library with R CMD build, R CMD check and R CMD install. This was all with the file mystuff.tar.gz. Now I want to install "mystuff" on my windows workstation. Can I use the same file mystuff.tar.gz. Do I need to do something different with R
2002 Jul 02
1
subscript out of bounds
Hello As I'm beginning to write functions, I decided to have my personnal R library named MyStuff located in /home/fred/R.Lib/MyStuff/ The library file itself is at /home/fred/R.Lib/MyStuff/R/MyStuff evrything seems ok since > library() gives : Packages in library `/usr/lib/R/library': KernSmooth Functions for kernel smoothing for Wand &
2011 Oct 02
5
tutorial: gravatar_image_tag problem
Hi all, Still working through the Hartl tutorials. Making progress but am hitting (another) wall. The repository is on github at: git-9UaJU3cA/F/QT0dZR+AlfA@public.gmane.org:aamax/sample_app.git if you want to see the code. I''ve pretty much followed the tutorial exactly except I am using rails 3.1.0 rather than 3.0.1 and some of the other gem versions are different. I
2006 Apr 06
6
Flexible data schema in a database?
I figured I pose this to the list and see if any one can build a better mousetrap. The problem: 1. Store hierarchical data in a database, but without knowing the hierarchy beforehand. 2. Allow the user to define there own hierarchy, and allow the system to support multiple hierarchies. Call it a cataloging system, we have an object and we want to add data about that object to the system. Now
2006 Apr 03
7
global variable - @@var
I tried to keep track of the number of access to a specific controller. I declared ''@@mycount = 0'' in the controller class. The methods in the controller will increment the @@mycount (@@mycount = @@mycount + 1) and print the value to the html page and show in the browser. The value is always 1, no matter how many times I access the controller and its action(s). Is this
2007 Nov 22
2
Wayward Directories
Seems that any program that has a default data directory, or previously selected directory preserved, has the directory duplicated/nested: That data is in c:\mystuff\mydata It is shown as c:\mystuff\mydata\mydata The files appear and maybe can be read. Any attempt to write produces an error (obviously, there is no such directory). Some programs will crash/abort wine trying to navigate this
2002 Feb 11
1
problem getting just a single dir !
I am trying to fetch a single dir using the following command but all I get is a empty dir: rsync -av www.myServer.com::myStuff --include=myDir --exclude=* . Here is the rsync output: receiving file list ... done myDir/ ./ wrote 119 bytes read 392 bytes 92.91 bytes/sec total size is 0 speedup is 0.00 The command looks simple and straight forward but somehow I am not getting the expected
2006 May 05
16
Diff tool for OSX
I''ve looked for DIFF tools for OSX but haven''t found anything good yet. Tried guiffy (http://www.guiffy.com) but it''s very slow and the folder comparison doesn''t indicate a change until you drill down to the level with the difference which kinda defeats the purpose. I''m missing TortoiseSVN and the diff tool that comes with it. Any suggestions for
2007 May 14
2
How to write data to astdb?
Hello, I'm trying to fill CID data into the astdb using AsteriskWin32's asterisk.exe, to no avail: The batch file stops after the first line, and just waits: ---------------------------------------- rem c:\cygroot\mystuff>import.bat rem rem c:\cygroot\mystuff>C:\cygroot\bin\asterisk.exe -rx 'database put cidname 123 "My cellphone"' rem rem Asterisk module
2006 Jan 31
4
Rails to Java
Hello, I just started playing with RubyOnRails. It is indeed fascinating! I have a question about using rails models to connect to backend Java (i.e. EJBs) instead of database. Any pointers will be appreciated. Thanks and Regards, Khaled -- Posted via http://www.ruby-forum.com/.
2006 Apr 11
6
Google Base... in Rails?
Ok, so this is kinda out of the blue... but I''ve been looking at Google Base and thinking that it''s got some really good ideas in it. Especially the way you can create your own "type" of item with its own custom attributes, like date range, location, number, text, etc. Kind of like defining a database with a GUI, but not exactly. It seems really interesting to me, from
2014 Jun 04
2
Few questions about members
We are experimenting with two different scenarios here. The one I'm asking about this time is this: We have a samba4 AD set up. It seems to be fine as far as we can tell. We are trying to set up a member, and have followed the wiki page https://wiki.samba.org/index.php/Setup_a_Samba_AD_Member_Server. The first question I have is why is the start script we use on the AD not work on the
2006 May 29
3
File.size() on Uploaded Images Fail
I am checking the file size of an uploaded file and storing it in a filesize column. It will work just fine when the user uploads any files other than images (jpg,png,gif). Word, Excel, Powerpoint, .zip and more all work fine. This is my model asset.rb that handles the file upload. def newfile=(newfile_field) self.filename = base_part_of(newfile_field.original_filename) self.filetype