<mustmodify>
Kebab Case... like ... shihkabob... someThingLikeThis ?
<woodruffw>
mustmodify: something-like-this
<mustmodify>
oh. The skewer.
<mustmodify>
lol
<mustmodify>
ok then
<woodruffw>
yep ;)
AndBobsYourUncle has quit [Ping timeout: 255 seconds]
AndBobsYourUncle has joined #ruby
yfeldblu_ has joined #ruby
yfeldblum has quit [Ping timeout: 255 seconds]
TomyLobo has quit [Ping timeout: 240 seconds]
AndBobsYourUncle has quit [Ping timeout: 255 seconds]
reverberations has joined #ruby
Anonymoose2 has quit [Ping timeout: 272 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 246 seconds]
dcunit3d has quit [Ping timeout: 245 seconds]
benlieb has joined #ruby
CloCkWeRX has quit [Ping timeout: 248 seconds]
username_ has joined #ruby
StoneCypher has joined #ruby
paramourne has quit [Ping timeout: 258 seconds]
dcunit3d has joined #ruby
dhollinger has quit [Ping timeout: 258 seconds]
StoneCypher has quit [Ping timeout: 246 seconds]
enilsen16 has quit [Quit: enilsen16]
AndBobsYourUncle has joined #ruby
username_ has quit [Ping timeout: 255 seconds]
jenrzzz has joined #ruby
dhollinger has joined #ruby
d^sh_ has quit [Ping timeout: 240 seconds]
nadir has joined #ruby
doubleemms has joined #ruby
d^sh has joined #ruby
matp has quit [Remote host closed the connection]
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Devalo has joined #ruby
AndBobsYourUncle has quit [Ping timeout: 255 seconds]
p0p0pr37 has quit [Changing host]
p0p0pr37 has joined #ruby
matp has joined #ruby
Guest55901 is now known as ged
reverberations has quit [Ping timeout: 246 seconds]
ged is now known as Guest41322
arescorpio has joined #ruby
hanmac has quit [Ping timeout: 245 seconds]
harfangk has joined #ruby
reverberations has joined #ruby
Immune has joined #ruby
Devalo has quit [Ping timeout: 240 seconds]
CloCkWeRX has joined #ruby
herbmillerjr has quit [Quit: Konversation terminated!]
StoneCypher has joined #ruby
SeepingN has joined #ruby
herbmillerjr has joined #ruby
wilbert has joined #ruby
jameser has joined #ruby
StoneCypher has quit [Ping timeout: 245 seconds]
Channel6 has joined #ruby
enyo_ has joined #ruby
AndBobsYourUncle has joined #ruby
wilbert has quit [Ping timeout: 272 seconds]
duckpuppy has joined #ruby
aidalgol has joined #ruby
hanmac has joined #ruby
hotpancakes has quit [Remote host closed the connection]
hotpancakes has joined #ruby
Dobler has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
enyo_ has quit [Ping timeout: 255 seconds]
AndBobsYourUncle has quit [Ping timeout: 255 seconds]
eaxxae has joined #ruby
eaxxae has joined #ruby
eaxxae has quit [Changing host]
Kug3lis has quit [Read error: Connection reset by peer]
duckpuppy has quit [Ping timeout: 255 seconds]
pawnbox has joined #ruby
milardovich has joined #ruby
hotpancakes has quit [Ping timeout: 255 seconds]
duderonomy has quit [Ping timeout: 255 seconds]
pawnbox has quit [Read error: Connection reset by peer]
pawnbox has joined #ruby
AndBobsYourUncle has joined #ruby
pawnbox has quit [Read error: Connection reset by peer]
pawnbox has joined #ruby
milardovich has quit [Ping timeout: 258 seconds]
raul782 has quit []
AndBobsYourUncle has quit [Ping timeout: 255 seconds]
bilal80 has joined #ruby
pawnbox has quit [Remote host closed the connection]
mwlang has quit [Quit: mwlang]
howdoi has joined #ruby
hotpancakes has joined #ruby
yfeldblu_ has quit [Quit: Leaving...]
Kug3lis has joined #ruby
enilsen16 has joined #ruby
sylario has quit [Quit: Connection closed for inactivity]
AndBobsYourUncle has joined #ruby
cibs has quit [Ping timeout: 268 seconds]
Kug3lis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jenrzzz has quit [Ping timeout: 240 seconds]
AndBobsYourUncle has quit [Ping timeout: 255 seconds]
pawnbox has joined #ruby
nankyokusei has joined #ruby
LoneHerm_ has joined #ruby
cibs has joined #ruby
duderonomy has joined #ruby
pawnbox has quit [Remote host closed the connection]
mikecmpbll has quit [Quit: inabit. zz.]
nankyokusei has quit [Ping timeout: 245 seconds]
d0nn1e has quit [Ping timeout: 258 seconds]
dcunit3d has quit [Ping timeout: 246 seconds]
d0nn1e has joined #ruby
cibs has quit [Ping timeout: 268 seconds]
hotpancakes has quit [Remote host closed the connection]
pawnbox has joined #ruby
ianmethyst has quit [Quit: WeeChat 1.6]
bilal80 has left #ruby [#ruby]
despai has quit [Quit: Leaving]
CloCkWeRX has quit [Ping timeout: 240 seconds]
cibs has joined #ruby
hahuang61 has joined #ruby
wilbert has joined #ruby
Guest41322 is now known as ged
ged is now known as Guest97730
LoneHerm_ has quit [Remote host closed the connection]
hahuang61 has quit [Ping timeout: 240 seconds]
hahuang65 has quit [Remote host closed the connection]
wilbert has quit [Ping timeout: 248 seconds]
braincrash has quit [Quit: bye bye]
duckpuppy has joined #ruby
skweek has quit [Ping timeout: 246 seconds]
JoshS has joined #ruby
duckpuppy has quit [Ping timeout: 240 seconds]
benlieb has quit [Quit: benlieb]
eelster has left #ruby [#ruby]
CloCkWeRX has joined #ruby
arescorpio has quit [Quit: Leaving.]
braincrash has joined #ruby
milardovich has joined #ruby
CloCkWeRX has quit [Ping timeout: 248 seconds]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
milardovich has quit [Ping timeout: 258 seconds]
Jayson_Virissimo has quit []
Alayde has joined #ruby
amclain has quit [Quit: Leaving]
Alayde has quit [Ping timeout: 248 seconds]
hachface has joined #ruby
cdg has quit [Remote host closed the connection]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
nowhere_man has joined #ruby
OTORelic2 has quit [Ping timeout: 258 seconds]
hachface has left #ruby [#ruby]
split_join has joined #ruby
hotpancakes has joined #ruby
jenrzzz has quit [Ping timeout: 272 seconds]
CloCkWeRX has joined #ruby
blackbom1 has joined #ruby
AndBobsYourUncle has joined #ruby
blackbombay has quit [Ping timeout: 256 seconds]
AndBobsYourUncle has quit [Remote host closed the connection]
ramfjord has quit [Ping timeout: 240 seconds]
AndBobsYourUncle has joined #ruby
petrichorx_ has joined #ruby
split_join has quit [Quit: leaving]
dopamean1 has quit [Ping timeout: 256 seconds]
AndBobsYourUncle has quit [Remote host closed the connection]
Devalo has joined #ruby
milardovich has joined #ruby
enyo has joined #ruby
CloCkWeRX has quit [Ping timeout: 240 seconds]
Channel6 has quit [Quit: Leaving]
gix has quit [Ping timeout: 255 seconds]
Devalo has quit [Ping timeout: 246 seconds]
milardovich has quit [Ping timeout: 240 seconds]
anisha has joined #ruby
cdg has joined #ruby
enyo has quit [Ping timeout: 258 seconds]
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
gix has joined #ruby
nadir has quit [Quit: Connection closed for inactivity]
jud has joined #ruby
jud has joined #ruby
jud has quit [Changing host]
duckpuppy has joined #ruby
testuser1 has joined #ruby
duckpuppy has quit [Ping timeout: 245 seconds]
blackwind_123 has quit [Ping timeout: 245 seconds]
Guest97730 is now known as ged
ged is now known as Guest81711
blackwind_123 has joined #ruby
boombox_ has joined #ruby
CloCkWeRX has joined #ruby
milardovich has joined #ruby
cdg has quit [Remote host closed the connection]
milardovich has quit [Ping timeout: 248 seconds]
enyo has joined #ruby
djbkd has quit [Remote host closed the connection]
pilne has quit [Quit: Quitting!]
osboxes_ has quit [Ping timeout: 256 seconds]
djbkd has joined #ruby
ramfjord has joined #ruby
enilsen16 has quit [Quit: enilsen16]
enyo has quit [Ping timeout: 272 seconds]
moei has quit [Read error: Connection reset by peer]
Miron has quit [Ping timeout: 240 seconds]
pawnbox has quit [Ping timeout: 246 seconds]
pawnbox has joined #ruby
Miron has joined #ruby
OTORelic2 has joined #ruby
moei has joined #ruby
pawnbox has quit [Remote host closed the connection]
enyo has joined #ruby
alan_w has quit [Quit: WeeChat 1.4]
swills has quit [Read error: Connection reset by peer]
Emmanuel_Chanel has quit [Ping timeout: 258 seconds]
swills has joined #ruby
enyo has quit [Ping timeout: 248 seconds]
jameser has quit [Ping timeout: 258 seconds]
milardovich has joined #ruby
nankyokusei has joined #ruby
blackwind_123 has quit [Ping timeout: 256 seconds]
milardovich has quit [Ping timeout: 248 seconds]
nankyokusei has quit [Ping timeout: 248 seconds]
AndBobsYourUncle has joined #ruby
govg has quit [Ping timeout: 246 seconds]
aeontech has joined #ruby
Devalo has joined #ruby
duckpuppy has joined #ruby
ramfjord has quit [Ping timeout: 248 seconds]
reverberations has quit [Ping timeout: 248 seconds]
AndBobsYourUncle has quit [Ping timeout: 255 seconds]
OTORelic2 has quit [Ping timeout: 245 seconds]
conta has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
Devalo has quit [Ping timeout: 258 seconds]
conta has quit [Ping timeout: 248 seconds]
hahuang61 has joined #ruby
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
hahuang61 has quit [Ping timeout: 258 seconds]
marcdel has quit [Ping timeout: 256 seconds]
hutch34 has quit [Ping timeout: 256 seconds]
muelleme has joined #ruby
hotpancakes has quit [Remote host closed the connection]
testuser1 has quit [Quit: Leaving.]
x00r__ has joined #ruby
pawnbox has joined #ruby
hotpancakes has joined #ruby
minimalism has quit [Quit: minimalism]
Coldblackice has joined #ruby
Coldblackice has quit [Client Quit]
pawnbox has quit [Remote host closed the connection]
muelleme has quit [Ping timeout: 245 seconds]
pawnbox has joined #ruby
symm- has quit [Quit: Leaving...]
Guest81711 is now known as ged
pawnbox has quit [Ping timeout: 258 seconds]
ged is now known as Guest63930
eaxxae has quit [Quit: Leaving]
Coldblackice has joined #ruby
IANIMATEDYOU has joined #ruby
boombox_ has quit [Remote host closed the connection]
<IANIMATEDYOU>
I'm in a pretty sad financial space this post-holiday season. I cook pizzas for a living, but have been animating (see gif above) most of my adult life. I recently made a fiverr account in a lousy effort to make some extra money in these cold January months. I can create a rotoscoped animated image (like the one posted) of any picture you give me f
swills has quit [Read error: Connection reset by peer]
swills has joined #ruby
hotpancakes has quit [Remote host closed the connection]
hotpancakes has joined #ruby
govg has joined #ruby
lele has joined #ruby
duckpuppy has quit [Ping timeout: 256 seconds]
milardovich has joined #ruby
charliesome has joined #ruby
jhass has joined #ruby
duckpuppy has joined #ruby
milardovich has quit [Ping timeout: 248 seconds]
jameser has joined #ruby
marcdel has joined #ruby
enyo has joined #ruby
Channel6 has joined #ruby
hotpanca_ has joined #ruby
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
enyo has quit [Ping timeout: 246 seconds]
hotpancakes has quit [Ping timeout: 255 seconds]
testuser1 has joined #ruby
duckpuppy has quit [Ping timeout: 272 seconds]
pawnbox has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
petrichorx_ has quit [Quit: Connection closed for inactivity]
marcdel has quit [Ping timeout: 248 seconds]
pytuger has joined #ruby
hahuang61 has joined #ruby
brent__ has joined #ruby
hahuang61 has quit [Ping timeout: 255 seconds]
dopamean1 has joined #ruby
brent__ has quit [Ping timeout: 256 seconds]
mello has joined #ruby
domgetter has joined #ruby
h1fuelce_ has quit [Ping timeout: 255 seconds]
h1fuelcell has joined #ruby
mello has quit [Ping timeout: 245 seconds]
Emmanuel_Chanel has joined #ruby
duckpuppy has joined #ruby
jameser has joined #ruby
SmiteClub has quit [Read error: Connection reset by peer]
jameser has quit [Client Quit]
duckpuppy has quit [Ping timeout: 255 seconds]
ifctj has joined #ruby
SeepingN has quit [Ping timeout: 245 seconds]
enterprisey has quit [Remote host closed the connection]
milardovich has joined #ruby
Guest63930 is now known as ged
govg has quit [Ping timeout: 248 seconds]
ged is now known as Guest33245
pawnbox has quit [Ping timeout: 245 seconds]
ddffg has joined #ruby
milardovich has quit [Ping timeout: 240 seconds]
duper has quit [Ping timeout: 248 seconds]
bocaneri has joined #ruby
nankyokusei has joined #ruby
govg has joined #ruby
duper has joined #ruby
nankyokusei has quit [Ping timeout: 248 seconds]
duckpuppy has joined #ruby
jenrzzz has quit [Ping timeout: 245 seconds]
jameser has joined #ruby
AndBobsYourUncle has joined #ruby
jameser has quit [Client Quit]
Devalo has joined #ruby
AndBobsYourUncle has quit [Ping timeout: 255 seconds]
duckpuppy has quit [Ping timeout: 258 seconds]
Devalo has quit [Ping timeout: 258 seconds]
Channel6 has quit [Quit: Leaving]
naprimer_2 has joined #ruby
MashaSakura has quit [Ping timeout: 255 seconds]
saneax-_-|AFK is now known as saneax
xen0fon has joined #ruby
blackbom1 has quit [Ping timeout: 246 seconds]
milardovich has joined #ruby
eaxxae has joined #ruby
eaxxae has joined #ruby
milardovich has quit [Ping timeout: 258 seconds]
mmasaki has quit [Ping timeout: 248 seconds]
pawnbox has joined #ruby
ARCADIVS has joined #ruby
x00r__ has quit [Ping timeout: 248 seconds]
pawnbox has quit [Read error: No route to host]
pawnbox has joined #ruby
duckpuppy has joined #ruby
mmasaki has joined #ruby
Devalo has joined #ruby
blackbom1 has joined #ruby
jameser has joined #ruby
jameser has quit [Client Quit]
saneax is now known as saneax-_-|AFK
enyo has joined #ruby
pawnbox has quit [Ping timeout: 272 seconds]
Terens has joined #ruby
duckpuppy has quit [Ping timeout: 248 seconds]
duckpuppy has joined #ruby
milardovich has joined #ruby
ifctj has quit [Ping timeout: 256 seconds]
Dobler has joined #ruby
enyo has quit [Ping timeout: 272 seconds]
testuser1 has quit [Quit: Leaving.]
dionysus69 has joined #ruby
milardovich has quit [Ping timeout: 246 seconds]
Guest33245 is now known as ged
ged is now known as Guest23805
duckpuppy has quit [Ping timeout: 256 seconds]
jameser has joined #ruby
eaxxae has quit [Quit: This computer has gone to sleep]
eaxxae has joined #ruby
eaxxae has joined #ruby
dcunit3d has joined #ruby
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
duckpuppy has joined #ruby
postmodern has quit [Quit: Leaving]
aeontech has quit [Quit: aeontech]
djbkd has quit [Quit: Leaving...]
duckpuppy has quit [Ping timeout: 246 seconds]
pawnbox has joined #ruby
pawnbox has quit [Read error: Connection reset by peer]
pawnbox has joined #ruby
hotpanca_ has quit [Remote host closed the connection]
eaxxae has quit [Quit: This computer has gone to sleep]
nadir has joined #ruby
brent__ has joined #ruby
jcao219 has quit [Ping timeout: 245 seconds]
xen0fon has quit [Ping timeout: 258 seconds]
skweek has joined #ruby
brent__ has quit [Ping timeout: 248 seconds]
djbkd has joined #ruby
pawnbox has quit [Remote host closed the connection]
mello has joined #ruby
jameser has joined #ruby
mello has quit [Ping timeout: 240 seconds]
pawnbox has joined #ruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
jameser has quit [Client Quit]
M-Technic has quit [Ping timeout: 240 seconds]
TreyG has joined #ruby
djbkd has quit [Remote host closed the connection]
djbkd has joined #ruby
manjaro-kde5__ has joined #ruby
TomyLobo has joined #ruby
milardovich has joined #ruby
Fernando-Basso has joined #ruby
iwmrby has joined #ruby
djbkd has quit [Ping timeout: 248 seconds]
milardovich has quit [Ping timeout: 240 seconds]
govg has quit [Ping timeout: 240 seconds]
instigator has joined #ruby
Bamborole has joined #ruby
pawnbox has quit [Remote host closed the connection]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
<instigator>
Hello. I have been experiencing a problem with following line of code: c = resp.header['Set-Cookie'].split("="). Its suppose to split the cookie text value on the "=" delimiter. However I get the following error: undefined method 'split' for nil:NilClass (NoMethodError). Testing to see what type Set-Cookie value is I used: resp.header['Set-Cookie'].instance_of? String which returns false
jcao219 has joined #ruby
<instigator>
been searching but havent found out what type resp.header['Set-Cookie'] returns
toretore has quit [Ping timeout: 256 seconds]
M-Technic has joined #ruby
byte512 has quit [Ping timeout: 255 seconds]
StoneCypher has joined #ruby
element119 has joined #ruby
beatleboy07 has joined #ruby
beatleboy07 has quit [Client Quit]
nankyokusei has joined #ruby
Bamborole has quit [Remote host closed the connection]
StoneCypher has quit [Ping timeout: 246 seconds]
Terens has quit [Ping timeout: 240 seconds]
nankyokusei has quit [Ping timeout: 248 seconds]
SeepingN has joined #ruby
<SpComb>
instigator: does the HTTP response actually have a Set-Cookie header? indexing on header will probably give you nil if there is no such header
Guest23805 is now known as ged
ged is now known as Guest60566
AndBobsYourUncle has joined #ruby
manjaro-kde5__ has quit [Ping timeout: 240 seconds]
Guest9033 has joined #ruby
mostlybadfly has quit [Quit: Connection closed for inactivity]
pawnbox has joined #ruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
pawnbox has quit [Remote host closed the connection]
gix has quit [Ping timeout: 258 seconds]
TreyG_ has joined #ruby
AndBobsYourUncle has quit [Ping timeout: 255 seconds]
SeepingN has quit [Quit: The system is going down for reboot NOW!]
<squ>
its launcher script for program named 'istats'
<blackbom1>
squ: it's a rubygems wrapper script.
<blackbom1>
it loads bin/istats from the gem, and before that it has some logic that you can use to load a specific version of the gem.
Yxhuvud has quit [Ping timeout: 256 seconds]
<squ>
yep, that is what I see
<squ>
for unknown to me reasons:
andrzejku has joined #ruby
<squ>
istats --version
<squ>
iStats v1.4.0
<squ>
istats --version
<squ>
iStats v1.2.0
andrzejku has quit [Client Quit]
ledestin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
andrzejku has joined #ruby
<blackbom1>
the syntax is like so: istats _v1.2.0_ --version OR istats _v.1.4.0_ --version
<blackbom1>
sorry
<blackbom1>
without the 'v' prefix
govg has joined #ruby
<squ>
how to fix that?
<squ>
I want newest version only, don't want old binary
hotpancakes has joined #ruby
<squ>
why it chooses the old version?
<squ>
why it doesn't clean up old binaries?
<dionysus69>
hey apeiros!
<dionysus69>
I am addressing you because you are more or less familiar with my case
<dionysus69>
so I am about to get started on executing the specific random algorithm was talking about before, distributing n items over m categories each filled with x users
al2o3-cr has quit [Ping timeout: 255 seconds]
<dionysus69>
so we talked about permutation, I have question regarding that, where do I save results of the permutation? so lets say the set of n items gets created, at the create action I would then execute all the stuff that would create distributed "packages", where do I save those packages? create separate model for it? whats the conventional way of storing such permutations?
milardovich has joined #ruby
<element119>
dionysus69: wouldn't each item have a category_id?
<dionysus69>
btw anyone is welcome to give some hints. the whole story is: I have lets say 100 questions. there are lets say 10 packages, and each package should have 20 questions. so there naturally will be repetitions because pool is not enough
<element119>
or is it more complicated
hotpancakes has quit [Ping timeout: 255 seconds]
<dionysus69>
well the whole picture is pretty complicated but yes each item has a category id in the db
<dionysus69>
I am doing all this in rails
<element119>
oh well if you have any given question potentially being in several packages
nowhere_man has quit [Read error: Connection reset by peer]
<element119>
then you'll need a table to associate packages with questions
nowhere_man has joined #ruby
jenrzzz has quit [Ping timeout: 258 seconds]
<element119>
e.g. PackageQuestion (id, question_id, package_id)
<dionysus69>
so the package is a quiz consisting of questions. as we know users take quiz not at the same time so I have to do permutation of combinations ahead of time and then give users their share of questions (the quiz has to be as random as possible accross the packages, but it has to use up all the possible questions in the pool)
<dionysus69>
ok ill post a lil gist of relationships one sek
<element119>
right, I was just indicating a potential schema
<dionysus69>
variable number of questions have to be selected from each question category too. its not like same number of questions from each question
<dionysus69>
so the picture is quite complicated, at least for me xD
milardovich has quit [Ping timeout: 246 seconds]
<dionysus69>
and well ye, all that has to be done randomly.
pawnbox has joined #ruby
<dionysus69>
ok so there is a group of users. and quiz belongs to group. so quiz knows how many users will be taking quiz. so the permutation can be done for that many users for each quiz.
instigator has left #ruby [#ruby]
gloscombe has joined #ruby
<dionysus69>
and then I would distribute "ready made quizzes" from a "quiz_permutation" table. after editing the existing quiz the permutation would rerun and existing ones deleted.
<dionysus69>
how does all that sound?
enyo has quit [Ping timeout: 255 seconds]
element119 has left #ruby ["i've probably fallen asleep, in PT"]
verumnost has joined #ruby
AndBobsYourUncle has quit [Ping timeout: 255 seconds]
al2o3-cr has joined #ruby
AndBobsYourUncle has joined #ruby
verumnost has quit [Remote host closed the connection]
verumnost has joined #ruby
verumnost has left #ruby [#ruby]
aidalgol has quit [Quit: zZZZzzz]
polysics has joined #ruby
blackwind_123 has joined #ruby
milardovich has joined #ruby
duckpuppy has joined #ruby
milardovich has quit [Ping timeout: 248 seconds]
manjaro-kde5__ has joined #ruby
manjaro-kde5__ has quit [Client Quit]
manjaro-kde5__ has joined #ruby
duckpuppy has quit [Ping timeout: 240 seconds]
Guest60566 is now known as ged
manjaro-kde5__ has quit [Ping timeout: 258 seconds]
ged is now known as Guest39266
Bamborole has joined #ruby
pawnbox has quit [Remote host closed the connection]
hahuang61 has joined #ruby
pawnbox has joined #ruby
milardovich has joined #ruby
dopamean1 has quit [Ping timeout: 240 seconds]
hahuang61 has quit [Ping timeout: 255 seconds]
joast has quit [Ping timeout: 245 seconds]
quaristice has joined #ruby
mello has joined #ruby
jcao219 has quit [Ping timeout: 256 seconds]
AndBobsYourUncle has quit [Ping timeout: 255 seconds]
mello has quit [Ping timeout: 240 seconds]
AndBobsYourUncle has joined #ruby
brent__ has joined #ruby
jackjackdripper has joined #ruby
element119 has joined #ruby
brent__ has quit [Ping timeout: 256 seconds]
Bamborole has quit [Read error: Connection reset by peer]
<matthewd>
Well, you're checking whether the the result of converting what the user entered to an integer, and then to a string, contains any letter from a-z
<matthewd>
If you want to check the string the user originally entered, you need to check that, without the to_i
<ruby-lang577>
if he enter above 10 and the size contains a-z
<ruby-lang577>
size will be set to 3
dcunit3d has quit [Ping timeout: 256 seconds]
<ruby-lang577>
but what is the difference when i can convert it to string to check?
AndBobsYourUncle has quit [Ping timeout: 255 seconds]
SpiffTR has joined #ruby
SpiffTR has quit [Client Quit]
AndBobsYourUncle has joined #ruby
Guest81033 is now known as ged
hotpancakes has quit [Remote host closed the connection]
ged is now known as Guest40992
minimalism has joined #ruby
gheegh has quit [Ping timeout: 246 seconds]
lxsameer has quit [Quit: WeeChat 1.6]
milardovich has joined #ruby
hahuang61 has joined #ruby
Pupeno has joined #ruby
Pupeno has joined #ruby
Pupeno has quit [Changing host]
hahuang61 has quit [Ping timeout: 255 seconds]
vuoto has quit [Remote host closed the connection]
nertzy has joined #ruby
vuoto has joined #ruby
cdg has joined #ruby
myk267 has quit [Quit: :q!]
binaryplease has joined #ruby
myk267 has joined #ruby
cdg has quit [Ping timeout: 255 seconds]
jcao219 has joined #ruby
skweek has quit [Ping timeout: 256 seconds]
hotpancakes has joined #ruby
aremaref has joined #ruby
mnemon has joined #ruby
MrBusiness has joined #ruby
TreyG_ has joined #ruby
enyo_ has joined #ruby
Rutix has joined #ruby
Rutix has quit [Changing host]
Rutix has joined #ruby
TreyG has quit [Ping timeout: 246 seconds]
shinnya has quit [Ping timeout: 256 seconds]
TreyG_ has quit [Ping timeout: 272 seconds]
vuoto has quit [Remote host closed the connection]
dn` has quit [Quit: dn`]
enyo_ has quit [Ping timeout: 256 seconds]
unshadow has left #ruby [#ruby]
vuoto has joined #ruby
TreyG has joined #ruby
binaryplease has quit [Quit: binaryplease]
<dionysus69>
hey people
<dionysus69>
I still have that algorithm problem, can you guys help me out a bit ? :)
hotpancakes has quit []
dn` has joined #ruby
houhoulis has joined #ruby
AndBobsYourUncle has quit [Ping timeout: 255 seconds]
Pupeno has quit [Remote host closed the connection]
<matthewd>
dionysus69: I don't see the need to pre-roll the permutations
AndBobsYourUncle has joined #ruby
<dionysus69>
matthewd: the problem is that, I dont know how to avoid the following. I am giving out pack to user once they open up a link and its displayed in a form. if they refresh the page, new one will roll out with other random pack
Channel6 has joined #ruby
<matthewd>
dionysus69: If you're doing enough of them, you should be able to just use pure randomness and you'll end up with near enough to a perfect distribution with no specific effort
<dionysus69>
the thing is that, "pack is quiz", so they will then know all possible questions
nankyokusei has joined #ruby
<dionysus69>
if i am doing enough of what?
<matthewd>
Sure, you need to store the set of questions you've asked when you ask them, not generated fresh on each page load. But you don't need to pre-generate a set of quizes before users arrive.
dn`_ has joined #ruby
dn`_ has left #ruby [#ruby]
<matthewd>
Enough quizes. If you have 5 users, then you'll need to manually ensure each question gets asked ~ the same number of times. If you have 5000, it'll happen naturally.
<dionysus69>
hmm then I ll have to store what where? at each session?
binaryplease has joined #ruby
<dionysus69>
I also know how many students are in a group, quiz(pack) belongs to the group
andrzejku has quit [Remote host closed the connection]
dn` has quit [Ping timeout: 258 seconds]
<dionysus69>
also i m dealing with variable load of cases, some quiz may get 5 users some may get 100
<dionysus69>
how specifically would you do this "Sure, you need to store the set of questions you've asked when you ask them"
nankyokusei has quit [Ping timeout: 258 seconds]
Terens has quit [Ping timeout: 272 seconds]
phantummm has quit [Quit: WeeChat 1.6]
<apeiros>
dionysus69: wasn't around (and will be afk again)
phantummm has joined #ruby
<dionysus69>
its ok haha
<dionysus69>
you just know my case so i think I could use some help :D
<dionysus69>
I am at that stage already in development, to get to this thing
MisterMax has quit [Quit: Leaving]
AndBobsYourUncle has quit [Ping timeout: 255 seconds]
<matthewd>
dionysus69: How are you storing the answers?
AndBobsYourUncle has joined #ruby
<dionysus69>
well thats not relevant in this case I guess? but well, in db? :D
nikivi has joined #ruby
rippa has joined #ruby
<matthewd>
Oh, well in that case, you would do "Sure, you need to store the set of questions you've asked when you ask them" by: "well, in db".
<dionysus69>
haha
<dionysus69>
well seriously I know it has to be saved in db but whats the drill, how would I keep track of which questions have been asked how many times? I assume i ll need that because as I said pure randomness wouldn't be effective in most cases
Guest40992 is now known as ged
<matthewd>
I was going to give a serious answer, but that was going to build on a serious answer to my question.
ged is now known as Guest77793
<dionysus69>
pure random picks from 100 types, to get 200 items will maybe result in picking each item more than twice and picking some items none of the times, ideally all items would be picked twice, while keeping randomness between packs
<matthewd>
I didn't ask it for fun. But of well, doesn't matter.
cdg has joined #ruby
<matthewd>
s/of well/oh well/
Devalo has quit [Read error: Connection timed out]
sarlalian has joined #ruby
<dionysus69>
are you asking what I am storing in db along with answers?
Devalo has joined #ruby
JoshS has joined #ruby
jshjsh has quit [Ping timeout: 248 seconds]
<mustmodify>
dionysus69: What's the question?
hotpancakes has joined #ruby
<matthewd>
Yes, I was asking about the model you're using to store the answers, so we could see how you might use that to store the asked questions as well.
<dionysus69>
hmm interesting
<dionysus69>
mustmodify: can you scroll up? if not then ill paste the story once again
JoshS has quit [Read error: Connection reset by peer]
JoshS has joined #ruby
DaAwesomeP has joined #ruby
mustmodify has left #ruby [#ruby]
<DaAwesomeP>
I'm trying to compile Ruby 2.3.3 with OpenSSL 1.1.0c. Does it not support it?
<fishcooker>
is ruby take the host's local time or its time?
jud has quit [Ping timeout: 248 seconds]
<eelster[PHI]>
fishcooker: Depends upon how you do it
domgetter has joined #ruby
flashbang has quit [Quit: ERC (IRC client for Emacs 25.1.1)]
<eelster[PHI]>
Both are possible
<eelster[PHI]>
>> puts Time.now.getlocal
<ruby[bot]>
eelster[PHI]: # => 2017-01-07 19:48:01 +0000 ...check link for more (https://eval.in/711560)
<eelster[PHI]>
>> puts Time.now.getutc
<ruby[bot]>
eelster[PHI]: # => 2017-01-07 19:48:07 UTC ...check link for more (https://eval.in/711561)
<eelster[PHI]>
(Well ruby[bot] is at UTC, but that's how you can get either)
Terens has joined #ruby
nankyokusei has joined #ruby
AndBobsYourUncle has quit [Ping timeout: 255 seconds]
AndBobsYourUncle has joined #ruby
bhaak has joined #ruby
jud has joined #ruby
jud^ has quit [Ping timeout: 240 seconds]
<ytti>
pretty sure he's talking about some client/server thing, possibly rails
<ytti>
and asking if it's showing client time or server time
nankyokusei has quit [Ping timeout: 258 seconds]
ARCADIVS has quit [Quit: ARCADIVS]
<ytti>
and you're answering it can show server time in UTC or local TZ
<ytti>
if i understood correctly, answer, outside of using ironruby, is that time will be server time
<eelster[PHI]>
Oh, I thought he meant UTC vs. Local
aidalgol has joined #ruby
<eelster[PHI]>
I believe if you use `l` you can do local time, but I'd just implement that in JS
<eelster[PHI]>
Unless you need to do validation, where you'd obviously want to do server side validation, but I generally do server side time validation with respect to the hosting time zone.
dionysus69 has joined #ruby
centrx has quit []
AndBobsYourUncle has quit [Remote host closed the connection]
AndBobsYourUncle has joined #ruby
jhack has joined #ruby
AndBobsYourUncle has quit [Remote host closed the connection]
s2013 has quit [Read error: Connection reset by peer]