Displaying 20 results from an estimated 156 matches for "deck".
Did you mean:
dec
2006 Jun 24
4
setting attribute in constructor, .NEW works but not .CREATE
I have table "decks" with three fields: "id", "created_at" and "cards"
which is a 264-character string field. I have modified the model with a
constructor, as follows:
class Deck < ActiveRecord::Base
attr_reader :cards
def initialize
@cards = "12345"
end
end
If...
2013 Nov 25
0
INTERNAL ERROR: Signal 6
...ing section of the Samba HOWTO as pointed out in the error, but I
could not find anything related. Can s.o. please tell me how to approach this
error, or even tell me that the reason could be.
Any help is really appreciated. Please CC me, since I am off-list.
Thanks,
Wolfgang
Nov 25 20:14:50 deck smbd[1230]: [2013/11/25 20:14:50.705979, 0]
../lib/util/fault.c:72(fault_report)
Nov 25 20:14:50 deck smbd[1230]:
===============================================================
Nov 25 20:14:50 deck smbd[1230]: [2013/11/25 20:14:50.708807, 0]
../lib/util/fault.c:73(fault_report)
Nov 25 20:14:5...
2010 Mar 16
1
Changing global variables from functions
Hey all,
I'm relatively new to the R-environment. I'm having a bit of trouble with
encapsulation.
I have a globally declared variable that doesn't update it when I change it
in a function. For example when I run the following function
>deckn<-NULL
>deck1<-1 #52 card deck
>deck<-function()
{
#Creating a standard deck
deck1<-c(1:52)
deckn<-deck1
#Creating n decks
for (i in 2:num_decks)
{
deckn<-c(deckn,52*i+deck1-1)
}
}
>deckn
>NULL
it returns NULL for deckn instead of a vector of valu...
2006 Jun 22
1
Active Record question, orphaned children
I have a Deck object and a Card object with their corresponding tables. (You
know a deck of cards.) When I destory a Deck it leaves orphaned cards in
the database. Is there a way to set up the objects with ActiveRecord so that
when a parent object is destoryed the child objects are destroyed as well?
My code be...
2006 Apr 30
3
require "ajax_scaffold" in model error
...I''m getting the following error when loading it in a browser...
MissingSourceFile in PetsController#list
no such file to load -- ajax_scaffold
<...>
Any ideas on where this ajax_scaffold ought to be found and why it''s
not finding it?
Thanks.
with regards,
--
Lachlan Deck
2006 Apr 10
4
Many To Many''s Join table attributes + migrations
...words like ''category''.
i.e., if you have a migration called categories is it going to
correctly use the singular for the model? That kind of naming scheme
doesn''t seem to make sense in enough situations, but anyway...
Thanks in advance...
with regards,
--
Lachlan Deck
2006 Sep 27
1
Any hot-deck imputation packages?
Hi
I found on google that there is an implementation of hot-deck imputation in
SAS:
http://ideas.repec.org/c/boc/bocode/s366901.html
Is there anything similar in R?
Many Thanks
Eleni Rapsomaniki
2012 Jun 15
2
Looking for Speed in a Toy Simulation Example
Dear List Members
I used to play around with R to answer the following question by
simulation (I am aware there is an easy explicit solution, but this is
intended to serve as instructional example).
Suppose you have a poker game with 6 players and a deck of 52 cards.
Compute the empirical frequencies of having a single-suit hand. The
way I want the result structured is a boolean nosimulation by noplayer
matrix containing true or false
depending whether the specific player was dealt a single-suit hand.
The code itself is quite short: 1 line to "...
2012 Jun 18
1
Slide Show (S9) v1.1 Update - More Template Packs (Deck.js, Impress.js, CSSS, Slidy2, etc.)
...S5? What's S6?
* Gradient Themes Using "Loss-Free" Vector Graphics in S9
* Turn Your Online Wiki Pages into Slide Shows - Sputnik Case Study
Finally, the Slide Show (S9) gem supports template packs and lets
you use "industry-strengh" slide show templates such as Deck.js,
Impress.js, CSSS, Slidy2, Google HTML5 Rocks, and more.
Find out more @ http://slideshow.rubyforge.org
Cheers.
2002 Jan 24
3
getting rank order
I'm doing a study where people place a deck of cards in a certain
order. It's sufficient to assume that their colors & each has a
number (it's actually about attributes of hobbies). I'd like to look
for patterns in how they've arranged the deck. For each subject I
have a list like 3,5,2,4,1, indicating that (s)he chose...
2006 Mar 19
2
Multiple polymorphic belongs_to declarations
I have the following models:
class Card < ActiveRecord::Base
belongs_to :deck
belongs_to :front, :polymorphic => true
belongs_to :back, :polymorphic => true
end
class TextContent < ActiveRecord::Base
has_one :card, :as => :front
has_one :card, :as => :back
end
The conflicting has_one declarations don''t work. What...
2000 Jan 27
1
Win98 / smbmount problem
I mount my win98 laptop directory on my linux box using:
smbmount //sushi/doug -c "mount /home/deck/sushi -u deck -g deck -f
644"
This works great so long as I don't ever leave the house. If I take
the laptop away and then reconnect it, I can neither use
the directory /home/deck/sushi (I get "input/output error")
Nor can I unmout it or remount it. (I get "cannot resolv...
2011 Jan 10
5
FLAC is dead?
>> Oh I don't doubt the basics, red book is red book and bits are
>> identically replicable and re rippable bits.
>
> I don't see any problem with taking innovation as far as is practical
> and saying "it's finished, no more updates".
Sure, basics :) Again, I'm meaning in regard to about bugs, docs,
porting and nits.
> If I want to do freedb
2011 Nov 16
5
Multi-channel labels in Vorbis comments
..., eight channel Ogg Vorbis files where the first two tracks
are a stereo mix of the drums, third and fourth stereo bass, fifth and
sixth stereo vocals, and seventh and eighth tracks everything else. This
means that you can mute or solo individual stems in the mix, giving you
the versatility of four-deck or eight-deck mixing but without the
problems of keeping many decks in sync.
It seems that Ogg Vorbis already has all the features we need in a stem
format for DJs, but there's the question of how we identify individual
channels within the file. There are conventions for 5.1 and 7.1 surround
m...
2017 Jan 31
2
time zone
> Date: Tuesday, January 31, 2017 18:16:36 -0500
> From: TE Dukes <tdukes at palmettoshopper.com>
>
>> From: CentOS [mailto:centos-bounces at centos.org] On Behalf Of
>> Richard Sent: Tuesday, January 31, 2017 5:19 PM
>>
>>
>> > Date: Tuesday, January 31, 2017 16:59:32 -0500
>> > From: TE Dukes <tdukes at palmettoshopper.com>
2017 Feb 01
2
time zone
...server was restarted then and loaded changes made
>> previously.
>>
>>
>
> Here's an excerpt from /var/log/messages:
>
> Jan 31 12:15:19 ts130 zmc_dvideo0[13838]: INF [Den: 57000 -
> Capturing at 29.41 fps]
> Jan 31 12:15:19 ts130 zmc_dvideo1[13864]: INF [Deck: 57000 -
> Capturing at 30.30 fps]
> Jan 31 12:15:19 ts130 zmc_dvideo2[13890]: INF [Front: 57000 -
> Capturing at 30.30 fps]
> Jan 31 12:15:19 ts130 zma_m1[13847]: INF [Den: 57000 - Analysing at
> 30.30 fps]
> Jan 31 12:15:20 ts130 zmc_dvideo3[13917]: INF [Street: 57000 -
> Cap...
2012 Jun 26
0
ALQUILER PARA GRUPO HOTELERO o INVERSORES RENTISTAS
...¿Problemas de Visuallizacion? Ver OnLine | Enviar a un Amigo |
ALQUILER PARA GRUPO HOTELERO
Mexico al 800 entre Tacuari y Piedras a cuadra y media de 9 de Julio
Edificio en Block a Estrenar
PB mas 7 Pisos, son 48 suites, un Salon de 350m2, Terraza con Pileta y Deck
GRAN CATEGORÍA, Excelente Lobby con doble altura
Se entrega con muebles de cocina, Aire Acondicionado Central VRF de baja silueta
Salón de 350 m2 con 3,50 m de altura a techo, con salida a deck, Pileta climatizada, deck solarium y Barra Bar
Calidad d
e construccion de excelencia, Super...
2017 Feb 01
0
time zone
...- including looking to see
if
> the apache server was restarted then and loaded changes made previously.
>
>
Here's an excerpt from /var/log/messages:
Jan 31 12:15:19 ts130 zmc_dvideo0[13838]: INF [Den: 57000 - Capturing at
29.41 fps]
Jan 31 12:15:19 ts130 zmc_dvideo1[13864]: INF [Deck: 57000 - Capturing at
30.30 fps]
Jan 31 12:15:19 ts130 zmc_dvideo2[13890]: INF [Front: 57000 - Capturing at
30.30 fps]
Jan 31 12:15:19 ts130 zma_m1[13847]: INF [Den: 57000 - Analysing at 30.30
fps]
Jan 31 12:15:20 ts130 zmc_dvideo3[13917]: INF [Street: 57000 - Capturing at
29.41 fps]
Jan 31 12:15:2...
2007 Sep 11
2
Missing data
Hi all,
I'm looking for a contributed package that can provide a detailed
account of missing data patterns and perhaps also provide imputation
procedures, such as mean imputation or hot deck imputation and the like.
Is there anything out there?
Thanks in advance,
David
--
===========================================================================
David Kaplan, Ph.D.
Professor
Department of Educational Psychology
University of Wisconsin - Madison
Educational Sciences, Room, 1061...
2009 Jul 27
2
Multiple graphs
...six graphs appear as
separate windows so that I can copy them into PowerPoint for a client.
When I type run(), only the last graph appears, the first five
apparently being overwritten. How do I get all six in separate windows,
ready for copying?
By the way, is the a way to create a PowerPoint deck directly in R the
way you can in S-Plus?
Thanks,
Walt
--
________________________
Walter R. Paczkowski, Ph.D.
Data Analytics Corp.
44 Hamilton Lane
Plainsboro, NJ 08536
________________________
(V) 609-936-8999
(F) 609-936-3733
dataanalytics at earthlink.net
www.dataanalyticscorp.com