search for: page1

Displaying 20 results from an estimated 37 matches for "page1".

Did you mean: page
2010 Mar 07
8
Parsing XML file with no style info with Hpricot
Hello, I''ve been trying for hours to parse an XML using Hpricot. Usually it''s not a problem. Here''s my simple code: #This works and outputs the proper xml data @url1 = ''http://www.sportingnews.com/stories/sportingnews/MLB/rss.xml'' @page1 = Hpricot(open(@url1)) <%= @page 1 %> #This does not work, and I''m scratching my head @url1 = ''http://gd2.mlb.com/components/game/mlb/year_2010/month_03/day_06/gid_2010_03_06_anamlb_oakmlb_1/boxscore.xml'' @page1 = Hpricot(open(@url1)) <%= @page 1 %> The gd2...
2012 Jul 10
6
[PATCH RFC] Btrfs: improve multi-thread buffer read
...d successfully puts its page into the page cache, it takes the responsibility to read the page''s data. And what''s more, reading a page needs a period of time to finish, in which other threads can slide in and process rest pages: t1 t2 t3 t4 add Page1 read Page1 add Page2 | read Page2 add Page3 | | read Page3 add Page4 | | | read Page4 -----|------------|-----------|-----------|-------- v v v v bio bio bio b...
2007 May 13
2
prototype - get inputs()
hi, i have the following function which is not working for me: function uploadimg (theform,ajaxAction,ajaxTarget){ var imgDesc = theform.getInputs(''page1'', ''text'',''imgDesc''); alert(imgDesc[0]); defaultAction=theform.action; defaultTarget=theform.target; theform.action=ajaxAction; theform.target=ajaxTarget; theform.submit(); //Submit the form. //Then display a loading message to the user. setStat...
2012 Jul 12
3
[PATCH v2] Btrfs: improve multi-thread buffer read
...d successfully puts its page into the page cache, it takes the responsibility to read the page''s data. And what''s more, reading a page needs a period of time to finish, in which other threads can slide in and process rest pages: t1 t2 t3 t4 add Page1 read Page1 add Page2 | read Page2 add Page3 | | read Page3 add Page4 | | | read Page4 -----|------------|-----------|-----------|-------- v v v v bio bio bio b...
2006 Jan 11
6
How to display the error messages from the controller
I have a wizard which consists of two pages. To keep it simple let''s say that the first page asks the user to select a state from the drop down menu. In case the user doesn''t select any state, an error message needs to be displayed. Ideally I would like to do something like this. def new selected_value = params[:addevent][:state_id] if selected_value == "-1"
2006 Feb 21
4
Multi-page forms
...ext page. This one strikes me as a brute force solution, but may avoid many problems. It may also result in tables with a huge number of columns for complex forms. Approach 2: * define several models and controllers that correspond to each page and put them under another controller. (i.e., form/page1/new) * define the form model that basically just has several has_one relationships with instances of each page This one may be a little more logical, but it sacrifices some flexibility. If you want to change the page layout, you may need to move columns to a different table. Approach 3: * d...
2006 Jul 17
0
(no subject)
...Mon Jul 17 22:35:54 2006 +0800 @@ -1392,7 +1392,8 @@ static void vga_draw_graphic(VGAState *s static void vga_draw_graphic(VGAState *s, int full_update) { int y1, y, update, page_min, page_max, linesize, y_start, double_scan, mask; - int width, height, shift_control, line_offset, page0, page1, bwidth; + int width, height, shift_control, line_offset, bwidth; + ram_addr_t page0, page1; int disp_width, multi_scan, multi_run; uint8_t *d; uint32_t v, addr1, addr; _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http:/...
2006 May 28
2
"if" clause in the view - - - (for two objects)
Hi, sorry to bother you guys with a simple sytnax question; i have a loop of objects taking place (ie, for page in @pages....xxxxxxx....end) and a link associated to each pages so that in the end it looks like this: page1 (link) page2 (link) page3 (link) . . . page n (link) (all of this done by putting a simple ''link to'' in the for loop.) now i need to seperate two pages from the rest and link them to somewhere else than the rest(let''s say page1 and page2 with the corresponding id'...
2008 Jan 03
7
Mail server setup for small ISP
...for isolation and easy backups and migration (when a hardware node is underpowered, it is easy to migrate one or more virtual machines to another hardware node easily). I have looked at iSCSI and drbd for high-availability of the storage: http://www.pcpro.co.uk/realworld/82284/san-on-the-cheap/page1.html. This looks like it should be doing a great job of high availability storage. For mail server, I guess I should look at an MTA and IMAP/POP server that supports LDAP and/or MySQL for users. Postfix should be a good choice for MTA, as I know it (at least a little, but I know sendmail bet...
2012 Oct 12
1
How to get rid of page 1 and 4 i.e Only dots pages while generating the graphs?
...8 0 0 0 258 Mean 8-item scale 18 1 0 1 226.153 Mean 8-item scale 18 1 0 2 213.41 Mean 8-item scale 18 1 0 4 206.781 Mean 8-item scale 18 1 0 While I am generating graphs for the above data I am getting four graphs in four pages in a pdf with the following programme. Page1: Only dots (No lines) Page2: Lines observed Page3: Lines observed Page4: Only dots (No lines) I want to get rid of page 1 and 4 i.e Only dots pages while generating the graphs. So that the pdf should contain only two pages(Page 2 & 3) Can anyone help? unique(Orange1$RESPSTAT) -> change pd...
2020 Nov 03
0
[patch V3 25/37] mm/highmem: Provide kmap_local*
...: On return pagefaults and preemption are disabled. - * * Can be invoked from any context. * * Requires careful handling when nesting multiple mappings because the map * management is stack based. The unmap has to be in the reverse order of * the map operation: * - * addr1 = kmap_atomic(page1); - * addr2 = kmap_atomic(page2); + * addr1 = kmap_local_page(page1); + * addr2 = kmap_local_page(page2); * ... - * kunmap_atomic(addr2); - * kunmap_atomic(addr1); + * kunmap_local(addr2); + * kunmap_local(addr1); * * Unmapping addr1 before addr2 is invalid and causes malfunction. * @@ -88,...
2010 May 25
2
Site Navigation With Polymorphic Has Many Through
...here the parent and the child were polymorphic. Then a given childable object can find it''s parentable by going through the menu_items table. I want my nav to be able to do things like this: --Category1 ----SubCategory1 ------Product1 ------Product2 ----Product3 --Category2 ----Product4 --Page1 --Page2 --Page3 This is the current setup: MODELS class MenuItem < ActiveRecord::Base belongs_to :childable , :polymorphic => true belongs_to :parentable , :polymorphic => true acts_as_list :scope => :parentable_id end class Category < ActiveRecord::Base has_one :pare...
2002 May 22
3
Want to help Wine project?
This message is for those who wants to help Wine project but do not know where to start. We need contributors of a wide range of skills. The minimal requirements are: access to a computer with Linux (or other Unix-like system) where you can use Wine. We have a lot of tasks which are relatively easy to do. The fact that these tasks are easy does not mean they are not important. Examples of the
2017 Jul 31
5
[PATCH] mm: don't zero ballooned pages
On 07/31/2017 02:55 PM, Michal Hocko wrote: > On Mon 31-07-17 12:13:33, Wei Wang wrote: >> Ballooned pages will be marked as MADV_DONTNEED by the hypervisor and >> shouldn't be given to the host ksmd to scan. > Could you point me where this MADV_DONTNEED is done, please? Sure. It's done in the hypervisor when the balloon pages are received. Please see line 40 at
2017 Jul 31
5
[PATCH] mm: don't zero ballooned pages
On 07/31/2017 02:55 PM, Michal Hocko wrote: > On Mon 31-07-17 12:13:33, Wei Wang wrote: >> Ballooned pages will be marked as MADV_DONTNEED by the hypervisor and >> shouldn't be given to the host ksmd to scan. > Could you point me where this MADV_DONTNEED is done, please? Sure. It's done in the hypervisor when the balloon pages are received. Please see line 40 at
2017 Jul 31
0
[PATCH] mm: don't zero ballooned pages
...h looks highly > >suspicious as well. If somebody wants to make that memory mergable then > >the user of that memory should zero them out. > > Kernel starts a kthread named "ksmd". ksmd scans the VM_MERGEABLE > memory, and merge the same pages.(same page means memcmp(page1, > page2, PAGESIZE) == 0). > > Guest can not use ballooned pages, and these pages will not be accessed > in a long time. Kswapd on host will swap these pages out and get more > free memory. > > Rather than swapping, KSM has better performence. Presently pages in > the bal...
2005 May 22
1
CentOS4, KDE3.3 and 128 WEP
CentOS4 standard installation. I see that KwifiManager doesn't support 128 bit WEP which I need for other machines on the network, which is a bit of a blow - and rather surprising really as security should be quite a consideration on an enterprise level system (NB RH!). Is there a workaround? An alternative way of configuring my Belkin F5D6020 ver 2 card? eg a cvs download that I can get
2004 Apr 08
2
Fritz ISDN PCI v2 and CAPI
Hi, First, here is my config: Kernel version 2.4.25 on a Fedora distro, Asterisk and a Fritz! Isdn PCI Card (v2). I try to make the CAPI drivers deal with Asterisk but I can't try to figure out to get of this issue. As I see, Fritz modules are integrated with the kernel, so I directly loaded the 'hisax_fcpcipnp' module from it. I install also Capi modules by downloading archives of the
2012 Apr 05
1
Re: Problems with ImgBurn, err:aspi:ASPI_GetNumControllers
...l, but that may be down to my distro or my unfamiliarity with "udisks". I have to unmount the udisks auto-mounted optical device and then manually mount that drive to /media/cdrom0 (or wherever). At which point I can start ImgBurn and change the Interface (Tools->Settings->I/O->Page1) to SPTI. The drive can then be detected, so long as it is mapped in winecfg (Drives->Drive mappings). Thing is, this isn't 100% reliable. In some cases I end up having to use "eject" on the command line to open the drive tray and/or unmount the device. I had one situation wher...
2005 Sep 02
0
altering revert effect based on if dropped on given droppable?
...with the drag image, the drag image to fade out and then reappear where it was at the start of the drag, as opposed to the draggable scrolling across the page back to where it was origionally if it wasn''t dropped in the correct place this is my droppable code: Droppables.add(''page1'', { accept: ''image'', hoverclass: ''drophover'', onDrop: function(element, lastActive) { $(''current_image1'').src = element.src ; element.options.reverteffect = new Effect.FadeAndRevert(ele...