Displaying 20 results from an estimated 119 matches for "sheep".
Did you mean:
sheet
2007 Mar 06
15
mocking missing methods
...olks.
So I''m using mocha on a ruby project, and I really like it. One thing
I''ve noticed is that it can be a bit "surprising" when I''m mocking
methods that don''t exist on an object, and I think there''s an easyish fix.
At the moment, you use sheep = mock() to create a mock sheep. What I''d
like to do is something like sheep = mock(Sheep), so the mock is typed.
It''s still duck-typed because the Sheep class is open, so I can set
expectations on it like this:
sheep.expects(:chew).with(''grass'')
and then us...
2006 Mar 08
12
best way to combine results from two tables
I want to combine a selection of data from two tables and display it as
list. Note that this isn''t a join.
i''m looking for something like this:
Table 1: Sheep
Name, Age, Farmer, etc. (sheep specific columns)
Table 2: Cows:
Name, Age, Farmer, etc. (cow specific columns)
For my display I nneed something like this:
Farmer Jone''s Livestock:
TYPE NAME AGE
Cow Bessie 2
Sheep Fred 6
What''s the best way to d...
2011 Apr 29
1
3-way contingency table
Hi,
I have large data frame with many columns. A short example is given below:
> dataH
host ms01 ms31 ms33 ms34
1 cattle 4 20 9 6
2 sheep 4 3 4 5
3 cattle 4 3 4 5
4 cattle 4 3 4 5
5 sheep 4 3 5 5
6 goat 4 3 4 5
7 sheep 4 3 5 5
8 goat 4 3 4 5
9 goat 4 3 4 5
10 cattle 4 3 4 5
Now I want to determine the the freque...
2012 Jan 01
2
Lattice: Understanding How Points Connected by Lines
A data frame has one factor, one date, and one numeric column. When I plot
these using the default pch of the open circle (first attachment),
xyplot(TDS ~ sampdate | she.s, data = sheep.cast, main = 'TDS in Sheep
Creek', ylab = 'Concentration (mg/L)', xlab = 'Time')
I see the higher concentration points toward the right on several panels.
But, when I change to using a line type (second attachment),
xyplot(TDS ~ sampdate | she.s, data = sheep.cast, type =...
2003 Jan 23
3
e2fsck too old / ext3 HTREE errors
...i used e2fsprogs 1.30-WIP (30-Sep-2002) for
this.
now the machine is up and running, but i have to use e2fsprogs 1.27
(8-Mar-2002). it's a debian system and i wanted to stay sane & stable,
hence using an older version of e2fsprogs.
but now i tried to check my fs and all i get is:
root@sheep:/# fsck.ext3 -v /dev/sda8
e2fsck 1.27 (8-Mar-2002)
fsck.ext3: Filesystem has unsupported feature(s) (/dev/sda8)
e2fsck: Get a newer version of e2fsck!
root@sheep:/#
##uuh, 1.30-WIP must be using some features to create a fs, which 1.27
##does not understand.
##so i grabbed 1.30-WIP and compiled t...
2020 Sep 13
1
metaflac --show-all-tags (patch)
...ent ones).flac:ARTIST=Pink Floyd
03 Pigs (three different ones).flac:TRACKNUMBER=03
03 Pigs (three different ones).flac:ALBUM=Animals
03 Pigs (three different ones).flac:TITLE=Pigs (three different ones)
03 Pigs (three different ones).flac:GENRE=Rock
03 Pigs (three different ones).flac:DATE=1977
04 Sheep.flac:ARTIST=Pink Floyd
04 Sheep.flac:TRACKNUMBER=04
04 Sheep.flac:ALBUM=Animals
04 Sheep.flac:TITLE=Sheep
04 Sheep.flac:GENRE=Rock
04 Sheep.flac:DATE=1977
05 Pigs on the Wing (Part Two).flac:ARTIST=Pink Floyd
05 Pigs on the Wing (Part Two).flac:TRACKNUMBER=05
05 Pigs on the Wing (Part Two).flac:ALB...
2006 Jun 13
3
Asterisk & Eyebeam chat function
...e it. But the problem is that I can't really find
information about it.
I can just try to send a message and on the Asterisk console a
message like this appears:
Jun 13 10:05:25 WARNING[6512]: chan_sip.c:7281 receive_message:
Received message to <sip:bla@voiphost> from "Bla
Sheep"<sip:sheep@voiphost>;tag=1d072048, dropped it...
Content-Type:text/plain
Message: ?
Can anyone tell me more about this or give me a link with some
information about it ?
Regards,
Attilla de Groot?
2006 Jul 12
9
ferret using UTF-8
Hey all,
I went through the docs in Ferret''s page, plus a quick search through
the email list (thread titles), and I couldn''t find any info on how to
have Ferret storing it''s data using UTF-8.
In the scenario I would use it, nothing''s being stored outside (like
external databases). So it''s just how Ferret would do it that I''m
interesting in
2006 Mar 17
1
nlme predict with se?
...(2005-12-20 r36812)
mac osx 10.4.5 on G5 DP
> predict(kew11.nlme,x.for.lw.pred, se=T)
Error in predict.nlme(kew11.nlme, x.for.lw.pred, se = T) :
Levels 1. Fall-Winter,2. Spring,3. Summer,4. Fall not allowed for
Season
> x.for.lw.pred[1:10,]
Season ecoreg MBreed ageyr2 sheep farm
1 1. Fall-Winter desert Meat 0.60 1 AksToKa
2 2. Spring desert Meat 1.00 1 AksToKa
3 3. Summer desert Meat 1.25 1 AksToKa
4 4. Fall desert Meat 1.50 1 AksToKa
5 1. Fall-Winter foothills Half 0.60 1 AksToKa
6...
2006 Jan 09
2
Pluralizations
...ation.
I found *an* inflections.rb file in: (not sure if there''s another
inflections file somewhere else which I should edit)
/usr/lib/ruby/gems/activesupport-1.2.5/lib/active_support/
and I changed the line:
inflect.uncountable %w( equipment information rice money species series
fish sheep)
to:
inflect.uncountable %w( equipment information rice money species series
fish sheep software)
and nothing happened (I tried <%= "Software".pluralize %> in a Rails
app) so I restarted apache2, and still nothing happened.
I restarted my computer (just in case I had to restart...
2006 Jul 21
4
weird table pluralization problem
When I created a new project and a "equipment" model for an unknown
reason to me rails tried to query the table "equipment" and not
"equipments", does someone know why it did that ?
So I added
set_table_name "equipments"
in the model class and it now works but I don''t really understand why it
is required in the first place...
--
Posted via
2004 Nov 28
3
file_set_dosmode / No data available with 3.0.8
...he profile cannot be saved and the
samba logfile from the client (prinz) gives:
[2004/11/26 17:57:06, 2] smbd/trans2.c:call_trans2setfilepathinfo(3681)
file_set_dosmode of evil/Lokale Einstellungen/Anwendungsdaten failed (No
data available)
here's a complete log:
http://nerdbynature.de/bits/sheep/samba/3.0.8/prinz.log.bz2
my smb.conf is here:
http://nerdbynature.de/bits/sheep/samba/3.0.8/smb.conf
i've set "profile acls = no" in the [profile] section, but it dit not
help. i've suspected charset issues, but changing the charset did not help
either.
i wonder if the problem...
2011 Jul 04
0
mind to bitter, interest to joy, tolerance to macro, speech
Sooner or later, the same
The teacher to the student in his class at the effects of collective speak, told a story. The story is: a sheep, and leave the sheep eaten by the Wolf. Finish the story, the
teacher asked: "the classmates, if this sheep honestly stay in the flock, it won't be the wolves eat, isn't it?" A little boy stood up and replied, "of course. But, it is
abhorrent to will be we eat."<a...
2017 Apr 19
4
R 3.4 has broken C++11 support
Hi Dirk and Martyn,
> That looks fine. Can you please give a reproducible example of a package
> that compiles correctly on R 3.3.3 but not with R 3.4.0 or R-devel.
here you go, it?s pretty much the simplest package possible that needs C++11:
https://github.com/flying-sheep/cxx11test
> Maybe you can share with us how you configure the build of R-devel?
Sure, in the mail you quoted, I already linked exactly that:
https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=r-devel#n40
> ./configure --prefix=/opt/r-devel \
> --libdir=/opt/r-devel/lib \
> --sys...
2007 May 03
0
predicate matchers
...s[:method_on_object] = :method_in_spec
It now (as of rev 1898 - soon to be released in 0.9.2) does this:
predicate_matchers[:method_in_spec] = :method_on_object
I (and I''m apparently not alone) think this reads better. Here''s an example:
predicate_matchers[:eat] = :eats?
sheep.should eat(''grass'')
# passes if sheep.eats?(''grass'')
Apologies for those of you who jumped on this feature. Hopefully it
hasn''t proven itself that useful yet ;)
Cheers,
David
2007 Apr 03
3
asterisk and mplayer
Odd question here but if I have asterisk running on PC (and mplayer
installed).
and a video phone calls up the asterisk PC can that video image be
played on mplayer?
If so how do I do that?
How can asterisk pipe the video into mplayer so as to display the video
image on screen?
Thanks,
Jerry
2007 Sep 26
0
General question about PHP - continued with mod_python
...h bugs/holes. I do not
> > want them to be executed on the server.
> > I can enable the safe_mode, but I have some other PHP scripts
> > which need safe_mode to be disabled.
> > Any suggestions?
> Yes. In you httpd.conf, you can include:
> <Directory "/var/www/sheep/html/tmp">
> php_flag engine off
> </Directory>
>
> Which disables php processing for the directory /var/www/sheep/html/tmp
> . You could probably just include
> php_flag engine off
> In an .htaccess in the directory in question, assuming you've set
&g...
2015 Apr 16
4
ClamAV reports a trojan
On Thu, April 16, 2015 10:09 am, Les Mikesell wrote:
> On Thu, Apr 16, 2015 at 10:01 AM, James B. Byrne <byrnejb at harte-lyne.ca>
wrote:
>> This morning I discovered this in my clamav report from one of our imap
servers:
>> /usr/share/nmap/scripts/irc-unrealircd-backdoor.nse:
>> Unix.Trojan.MSShellcode-21 FOUND
>> I have looked at this script and it appears to be
2007 Sep 21
3
The ZFS-Man.
Hi.
I gave a talk about ZFS during EuroBSDCon 2007, and because it won the
the best talk award and some find it funny, here it is:
http://youtube.com/watch?v=o3TGM0T1CvE
a bit better version is here:
http://people.freebsd.org/~pjd/misc/zfs/zfs-man.swf
BTW. Inspired by ZFS demos from OpenSolaris page I created few demos of
ZFS on FreeBSD:
2006 Dec 18
3
Shared Line Appearances (SLA) in 1.4
...onf.sample and a few comments in
app_meetme.c I have been unable to find useful documentation. Is anyone
using this feature right now? Is there a helpful source for information this
highly desired capability?
Regards,
--
Anthony Kava
Senior Network Administrator
Pottawattamie County, Iowa
"Sheep are slow and tasty, and therefore must remain constantly alert."
-- Bruce Schneier, "Beyond Fear"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3660 bytes
Desc: not available
Url : http://...