tkuchiki has quit [Remote host closed the connection]
vilni has quit [Ping timeout: 245 seconds]
wmoxam has joined #ruby-lang
benanne has quit [Quit: kbai]
brianpWins has joined #ruby-lang
pskosinski has joined #ruby-lang
amerine has quit [Quit: Computer has gone to sleep.]
pkrnj has quit [Ping timeout: 264 seconds]
saarinen has quit [Quit: saarinen]
leekiern_ has quit [Ping timeout: 264 seconds]
pkrnj has joined #ruby-lang
mbj has quit [Ping timeout: 245 seconds]
nathanstitt has joined #ruby-lang
leekiern_ has joined #ruby-lang
joshuawscott has joined #ruby-lang
apx has joined #ruby-lang
pkrnj has quit [Ping timeout: 264 seconds]
hogeo has joined #ruby-lang
cmckni3 has joined #ruby-lang
charliesome has joined #ruby-lang
ikrima has joined #ruby-lang
ikrima has quit [Remote host closed the connection]
mdedetrich has quit [Quit: Computer has gone to sleep.]
brianpWins has quit [Quit: brianpWins]
arooni-mobile has quit [Ping timeout: 246 seconds]
andbutsothen has joined #ruby-lang
bungoman has quit [Remote host closed the connection]
bf4 has joined #ruby-lang
cored has quit [Ping timeout: 264 seconds]
joshuawscott has quit [Quit: Leaving.]
bf4 has quit [Ping timeout: 264 seconds]
arooni-mobile has joined #ruby-lang
cHarNe2 has joined #ruby-lang
runeb has joined #ruby-lang
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
cHarNe2 has quit [Quit: leaving]
mistym has quit [Remote host closed the connection]
pskosinski has quit [Quit: Til rivido Idisti!]
pkrnj has joined #ruby-lang
cHarNe2 has joined #ruby-lang
tkuchiki has joined #ruby-lang
arooni-mobile has quit [Ping timeout: 246 seconds]
runeb has quit [Ping timeout: 246 seconds]
wems has quit [Ping timeout: 245 seconds]
[[thufir]] has quit [Ping timeout: 264 seconds]
pkrnj has quit [Ping timeout: 245 seconds]
charliesome has joined #ruby-lang
hashkey has quit [Read error: Connection reset by peer]
pkrnj has joined #ruby-lang
mistym has joined #ruby-lang
dus7 has joined #ruby-lang
wmoxam has quit [Quit: Lost terminal]
Nisstyre has quit [Quit: Leaving]
dus7 has quit [Ping timeout: 250 seconds]
pkrnj has quit [Ping timeout: 246 seconds]
amerine has joined #ruby-lang
pkrnj has joined #ruby-lang
verto has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
banisterfiend is now known as banister`sleep
hogeo has quit [Remote host closed the connection]
hogeo has joined #ruby-lang
bantic has joined #ruby-lang
_jpb__ has quit [Quit: Lost terminal]
pkrnj has quit [Ping timeout: 264 seconds]
teleological has joined #ruby-lang
teleological has quit [Remote host closed the connection]
pkrnj has joined #ruby-lang
_jpb_ has quit [Ping timeout: 240 seconds]
leekiern_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
cmckni3 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pkrnj has quit [Ping timeout: 264 seconds]
bf4 has joined #ruby-lang
marcostoledo has quit [Quit: Leaving...]
pkrnj has joined #ruby-lang
vilni has joined #ruby-lang
bf4 has quit [Ping timeout: 245 seconds]
iliketur_ has quit [Quit: zzzzz…..]
havenwood has quit [Ping timeout: 240 seconds]
andbutsothen has quit [Quit: andbutsothen]
andbutsothen has joined #ruby-lang
runeb has joined #ruby-lang
andbutsothen has quit [Client Quit]
efrainolivares has quit [Quit: efrainolivares]
joshuawscott has joined #ruby-lang
setmeaway has quit [Ping timeout: 264 seconds]
andbutsothen has joined #ruby-lang
runeb has quit [Ping timeout: 245 seconds]
andbutsothen has quit [Quit: andbutsothen]
andbutsothen has joined #ruby-lang
andbutsothen has quit [Client Quit]
mistym has quit [Remote host closed the connection]
pkrnj has quit [Ping timeout: 264 seconds]
pkrnj has joined #ruby-lang
cads has joined #ruby-lang
pkrnj has quit [Ping timeout: 260 seconds]
duckinator has quit [Quit: Nickname collision due to Services enforced nickname change, your nick was overruled]
pkrnj has joined #ruby-lang
mistym has joined #ruby-lang
GeissT has joined #ruby-lang
duckinator has joined #ruby-lang
bungoman has joined #ruby-lang
skmp has quit [Ping timeout: 246 seconds]
x0f_ has joined #ruby-lang
skmp has joined #ruby-lang
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
banister`sleep has quit [Remote host closed the connection]
banisterfiend has joined #ruby-lang
x0F has quit [Ping timeout: 245 seconds]
cmckni3 has joined #ruby-lang
rikai has joined #ruby-lang
vilni has quit [Ping timeout: 260 seconds]
bf4 has joined #ruby-lang
dhruvasagar has joined #ruby-lang
skmp has quit [Ping timeout: 246 seconds]
skmp has joined #ruby-lang
bf4 has quit [Ping timeout: 245 seconds]
dhruvasagar has quit [Ping timeout: 276 seconds]
ffio has joined #ruby-lang
joevandy1 is now known as joevandyk
<joevandyk>
i have to convert a string (about 8 ascii characters) to an integer. what's the best way to do that?
hahuang65 has quit [Ping timeout: 245 seconds]
<pipework>
joevandyk: What kind of integer?
<pipework>
String.new.to_i
<joevandyk>
pipework: a mostly unique one, mostly
<pipework>
joevandyk: Hm. Fun requirement, but I don't think it's very realistic.
<pipework>
How do you know if 4_023_098 represents a given string?
<joevandyk>
well my first thought (since this is ascii), is to convert each letter to the ascii representation. then combine them. so "abcd" is 97098099100
cmckni3 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<pipework>
If you assigned a value to each character as an int so you can convert a string to a single int, you'll find that it'll be hard to have uniqueness without some kind of pattern to delineate where a character's integer representation ends.
<pipework>
So seven bytes would be your means of delineating each character?
<pipework>
Probably not that efficient, but gets you there.
<pipework>
It might drop leading zeroes.
<pipework>
Actually, you'll need a bit more code to append leading zeroes so you can decompose the int back to a string. But you'll have to preserve leading zeroes.
vilni has joined #ruby-lang
Cakey has joined #ruby-lang
nathanstitt has quit [Quit: I growing sleepy]
<joevandyk>
the problem is that i need an integer. 4 bytes.
<pipework>
How are you going to get a 4-byte integer from an 8-byte character?
pkrnj has quit [Ping timeout: 245 seconds]
<pipework>
Look at Array#pack
arrington164 has joined #ruby-lang
shinnya has quit [Ping timeout: 248 seconds]
pkrnj has joined #ruby-lang
ohsix has joined #ruby-lang
vilni has quit [Ping timeout: 245 seconds]
joshuawscott has quit [Quit: Leaving.]
arrington164 has quit [Ping timeout: 250 seconds]
bhrgunatha has joined #ruby-lang
DarkBushido has quit [Ping timeout: 240 seconds]
hashkey has joined #ruby-lang
<lianj>
wait what are you guys trying?
<pipework>
lianj: Getting a unique integer from a given string.
<pipework>
That's a great way to measure uniqueness...
<pipework>
md5sum a string, I dare you to find other strings that will give you the same checksum.
cmckni3 has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 264 seconds]
<lianj>
no i mean, the bignum thin is the actual number that those bytes represent. just used bignum because its not fixed byte with like unpack("cn or whatever
<lianj>
*thing
<lianj>
its uniq.
<pipework>
Huh.
lysw123 has joined #ruby-lang
dhruvasagar has joined #ruby-lang
bf4 has joined #ruby-lang
<lianj>
what?
lysw123 has quit [Remote host closed the connection]
lysw123 has joined #ruby-lang
lysw123 has quit [Remote host closed the connection]
lysw123 has joined #ruby-lang
lysw123 has quit [Remote host closed the connection]
lysw123 has joined #ruby-lang
<joevandyk>
mostly unique is fine..
cmckni3 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
james has joined #ruby-lang
bantic has quit [Quit: bantic]
bf4 has quit [Ping timeout: 264 seconds]
james is now known as Guest73712
cmckni3 has joined #ruby-lang
Guest73712 has quit [Client Quit]
ruby-lang332 has joined #ruby-lang
ruby-lang332 has quit [Client Quit]
<lianj>
joevandyk: the bignum thing is fully uniq, but you can turn it back into the string. not sure if that is wanted
<pipework>
can't?
<lianj>
can
pkrnj has quit [Ping timeout: 276 seconds]
pkrnj has joined #ruby-lang
cads has quit [Ping timeout: 260 seconds]
lsegal has quit [Read error: Connection reset by peer]
lsegal has joined #ruby-lang
hahuang65 has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 264 seconds]
ffio_ has joined #ruby-lang
grandy has quit [Ping timeout: 276 seconds]
grandy has joined #ruby-lang
Ch00k has joined #ruby-lang
pkrnj has quit [Ping timeout: 240 seconds]
pkrnj has joined #ruby-lang
JohnTerryCFC has joined #ruby-lang
rickruby has quit [Remote host closed the connection]
rue has quit [Remote host closed the connection]
mistym has quit [Remote host closed the connection]
rickruby has joined #ruby-lang
rikai_ has joined #ruby-lang
JohnTerryCFC has quit [Quit: irc2go]
pkrnj has quit [Ping timeout: 260 seconds]
rikai has quit [Ping timeout: 264 seconds]
pkrnj has joined #ruby-lang
levifig has quit [Excess Flood]
ffio has quit [Ping timeout: 264 seconds]
mdedetrich has joined #ruby-lang
skmp has quit [Ping timeout: 260 seconds]
skmp has joined #ruby-lang
rikai_ has quit [Read error: Connection reset by peer]
jonahR has joined #ruby-lang
mistym has joined #ruby-lang
tomzx_mac has quit [Ping timeout: 240 seconds]
JohnBat26 has joined #ruby-lang
dhruvasagar has joined #ruby-lang
pkrnj has quit [Ping timeout: 245 seconds]
joshuawscott has joined #ruby-lang
pkrnj has joined #ruby-lang
bf4 has joined #ruby-lang
imperator has joined #ruby-lang
<imperator>
evenin'
pkrnj has quit [Ping timeout: 260 seconds]
hashkey has quit [Quit: Leaving]
rickruby has quit [Remote host closed the connection]
pkrnj has joined #ruby-lang
ohsix has quit [Ping timeout: 264 seconds]
<ledestin>
what's the method to define self.foo from foo in a module?
bf4 has quit [Ping timeout: 260 seconds]
<lianj>
ledestin: ?
ohsix has joined #ruby-lang
<ledestin>
lianj: I've got def foo; and I want something like define_method :foo to produce self.foo alias
_ffio_ has joined #ruby-lang
ffio_ has quit [Ping timeout: 264 seconds]
<lianj>
class << self; define_method …; end
joshuawscott has quit [Quit: Leaving.]
<lianj>
or define_singleton_method
<pipework>
ledestin: So you mean you want the instance to refer to the class for the actual method?
<pipework>
You could use forwardable or do it yourself.
<ledestin>
it seems that I want def foo; self.class.foo; end. Just don't want to write it myself.
<ledestin>
pipework: yes
<ledestin>
pipework: I think I've seen a method for doing it
<pipework>
ledestin: Forwardable#def_delegators
<pipework>
You can pass it a collection of the methods you want to forward to the class by unsplatting an array.
pkrnj has quit [Ping timeout: 245 seconds]
<pipework>
def_delegators :class, *method_array
pkrnj has joined #ruby-lang
<ledestin>
pipework: thanks
<pipework>
It might need some cajoling, that was off the top of my head.
Ch00k has quit [Quit: Ch00k]
hashkey has joined #ruby-lang
LanceHaig has joined #ruby-lang
hogeo has quit [Ping timeout: 276 seconds]
hogeo has joined #ruby-lang
skmp1 has joined #ruby-lang
lysw123 has quit [Quit: lysw123]
skmp has quit [Ping timeout: 264 seconds]
scmx has joined #ruby-lang
_ffio_ has quit [Quit: WeeChat 0.4.1]
charlescooke_ has quit [Quit: charlescooke_]
relix has joined #ruby-lang
bhrgunatha has quit [Quit: ChatZilla 0.9.90.1 [Firefox 23.0.1/20130817191046]]
nneko001__ has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 246 seconds]
dhruvasagar has joined #ruby-lang
pkrnj has quit [Ping timeout: 260 seconds]
soba has joined #ruby-lang
rickruby has joined #ruby-lang
pkrnj has joined #ruby-lang
rsync has joined #ruby-lang
pkrnj has quit [Ping timeout: 264 seconds]
rickruby has quit [Ping timeout: 246 seconds]
pkrnj has joined #ruby-lang
pkrnj has quit [Ping timeout: 276 seconds]
bzalasky has joined #ruby-lang
pkrnj has joined #ruby-lang
soba has quit [Ping timeout: 276 seconds]
imperator has quit [Ping timeout: 246 seconds]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
soba has joined #ruby-lang
soba_ has joined #ruby-lang
bf4 has joined #ruby-lang
soba has quit [Ping timeout: 245 seconds]
bungoman has quit [Remote host closed the connection]
bzalasky has quit [Remote host closed the connection]
iliketur_ has joined #ruby-lang
bf4 has quit [Ping timeout: 245 seconds]
runeb has joined #ruby-lang
mdedetrich has quit [Quit: Computer has gone to sleep.]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bzalasky has joined #ruby-lang
<ljarvis>
morning
skmp1 has joined #ruby-lang
skmp has quit [Ping timeout: 260 seconds]
Plyturon has joined #ruby-lang
ledestin has joined #ruby-lang
bzalasky has quit [Remote host closed the connection]
bhrgunatha has quit [Quit: ChatZilla 0.9.90.1 [Firefox 23.0.1/20130817191046]]
<maloik>
ugh, gotta hate it when something is out of your hands but you're just not getting the answer you need
<buranshe>
sounds like my daily 'dance' with clients
<ljarvis>
sounds like a bad proposal
<pipework>
buranshe: Maybe if you just kept your pimp hand strong instead of dancing, these things wouldn't happen. :p
skade has joined #ruby-lang
<buranshe>
it just doesn't seem to happen at all - I blame the weak hands of the account managers
hogeo has quit [Ping timeout: 245 seconds]
<buranshe>
"Help me, to help you"
hhatch has joined #ruby-lang
<yorickpeterse>
uugghh, I hate repo companies
<yorickpeterse>
3 years I've been chasing this guy and now I get a note saying "LOL he ran while still having to pay 120 Euros. We're closing the case"
<yorickpeterse>
at least I'll be getting the rest
<yorickpeterse>
should've bought a baseball bat instead
<pipework>
yorickpeterse: You sold something to someone and they stopped paying for it?
<yorickpeterse>
No
<yorickpeterse>
This guy was the broker for my student dorm in 2009
benlovell has quit [Ping timeout: 264 seconds]
<yorickpeterse>
Long story, but I ended up paying rent to the wrong account, corrected that upon discovery and asked my money back
<yorickpeterse>
The dude quite literally said "Not going to happen"
<yorickpeterse>
so I lawyered up
<yorickpeterse>
Probably could've resolved this 3 years ago when all the info I had on this guy was still correct
rickruby has quit [Ping timeout: 264 seconds]
<yorickpeterse>
well, I think I just found the dude's new address
<yorickpeterse>
better verify that at home and see if I can still send the sharks in
Kabaka_ has quit [Ping timeout: 240 seconds]
<yorickpeterse>
Ah how sweet, seems he's a scam artist these days
charliesome has joined #ruby-lang
skmp1 has quit [Quit: Leaving.]
Kabaka_ has joined #ruby-lang
<yorickpeterse>
shame we don't have bounty hunters in NL
antulik has quit [Remote host closed the connection]
antulik has joined #ruby-lang
benlovell has joined #ruby-lang
bf4 has joined #ruby-lang
sedrickcz has joined #ruby-lang
dhruvasagar has joined #ruby-lang
sedrickcz has quit [Read error: Connection reset by peer]
antulik has quit [Ping timeout: 260 seconds]
dagobah has joined #ruby-lang
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sedrickcz has joined #ruby-lang
io_syl has quit [Quit: io_syl]
rsync has left #ruby-lang [#ruby-lang]
GeissT has quit [Ping timeout: 246 seconds]
MaddinXx has joined #ruby-lang
skmp has joined #ruby-lang
relix has joined #ruby-lang
bf4 has quit [Ping timeout: 264 seconds]
<maloik>
yorickpeterse: sounds like you have a great market opportunity there
Forgetful_Lion has joined #ruby-lang
Criztian has joined #ruby-lang
<yorickpeterse>
Yeah, "Hot single overweight black guys in your area"
<yorickpeterse>
"Just *WAITING* to take your money"
pellis has quit [Read error: Connection reset by peer]
pellis has joined #ruby-lang
chinno998 has quit [Quit: Leaving.]
<erikh>
lol at the crabik
<erikh>
skrillex doesn't hate on the disabled
charliesome has joined #ruby-lang
scmx has joined #ruby-lang
skmp has quit [Quit: Leaving.]
yatish27 has joined #ruby-lang
realDAB has joined #ruby-lang
yatish27 has quit [Read error: Connection reset by peer]
bougyman has quit [Ping timeout: 264 seconds]
yatish27 has joined #ruby-lang
poga has quit [Remote host closed the connection]
bf4 has joined #ruby-lang
Pupeno_ has joined #ruby-lang
Pupeno has quit [Read error: Connection reset by peer]
<pipework>
That's not a bad gem, if it works well.
<pipework>
the fuck one.
<yorickpeterse>
erikh: how is "derp" even related to disabled people?
JohnBat26 has quit [Ping timeout: 275 seconds]
<pipework>
yorickpeterse: steveklabnik is known for being two ways about his activism and defense of humanity the world over. I don't know what to expect from him anymore.
<yorickpeterse>
I've met him in person and he's a nice guy overall
<yorickpeterse>
Though his views on the police were a bit odd
<pipework>
He's not on my favorite rubyist list though.
<pipework>
But then again, neither am I.
<yorickpeterse>
Jim weirich is by far my favourite Ruby wizard
<yorickpeterse>
For one he actually looks like a wizard
<pipework>
It does help, yes.
<pipework>
My professional title is "Software Sourcerer".
bf4 has quit [Ping timeout: 246 seconds]
<yorickpeterse>
I'm just a "Developer"
<yorickpeterse>
I don't care for titles
<pipework>
yorickpeterse: Me neither, that's why I had fun with it.
<yorickpeterse>
Though "Dr. Yorick" would sound awesome
<pipework>
I've been "duck whisperer" before.
<yorickpeterse>
haha
<pipework>
"lonely ginger kid" once
sstrickl has quit [Quit: sstrickl]
<yorickpeterse>
I'd go around correcting people every time they didn't address me as Dr.
<pipework>
yorickpeterse: That's the only reason I want a PhD.
<yorickpeterse>
"Hey yorick" "No, it's Dr. Yorick"
dhruvasagar has quit [Ping timeout: 246 seconds]
<pipework>
"Just call me James. Doctor James.
<pipework>
"
<yorickpeterse>
haha
Pupeno_ has quit [Read error: Connection reset by peer]
Pupeno has joined #ruby-lang
LOLZebra has joined #ruby-lang
LOLZebra has quit [Read error: Connection reset by peer]
dhruvasagar has joined #ruby-lang
<pipework>
People enjoy the spelling of my title.
<yorickpeterse>
I wonder what whitequark would look like if he grew a proper Unix beard
<pipework>
yorickpeterse: Like he needs to shave his neck.
<yorickpeterse>
I wonder what I would look like if I could actually grow a beard
<pipework>
I grow things that are similar to goatees.
<pipework>
Right now I'm growing a fine thick line of hair along my jawline as well.
<yorickpeterse>
You mean bumfuz?
<yorickpeterse>
or w/e it was called
<erikh>
klabnik's all about the attention
<pipework>
Naw, it's like a quarter of an inch wide and is just on the jawline.
<erikh>
I'd swear he was a teenage girl at times
<pipework>
yorickpeterse: When I've got it how I want, I'll take a picture.
<yorickpeterse>
pfff
<yorickpeterse>
you better
<yorickpeterse>
somebody make rubybeards.io
<maloik>
I don't think he's all about the attention, I think he actually believes everything he says
<maloik>
Doesn't make him a bad person, I just take his views with a saltlake
<pipework>
I'd consider her if only to ensure that my offspring would have bitchin' facial hair.
dhruvasagar has joined #ruby-lang
<yorickpeterse>
meh, I'm glad I'm not hairy as an ape
tomplast has joined #ruby-lang
tomplast has left #ruby-lang [#ruby-lang]
tomplast has joined #ruby-lang
xuser has quit [Ping timeout: 264 seconds]
<tomplast>
Hi! I'm setting up a restrictive firewall and I want to be able to download gems via the Gem command. Can anyone tell me which destination host and port I need to allow?
postmodern has quit [Quit: Leaving]
realDAB has quit [Quit: realDAB]
<darix>
tomplast: rubygems.org and if i recall correctly they use amazon s3 storage
<darix>
the later might be a problem for you
xuser has joined #ruby-lang
benlovell has quit [Ping timeout: 260 seconds]
<tomplast>
:(
joshuairl has joined #ruby-lang
<tomplast>
So what are my alterantives.. Downloading all packages on another machine?
<maloik>
not that it helps, but why are you disabling outbound connections ?
<maloik>
or restricting them
<DefV>
sounds like security measures?
<maloik>
(im just curious, you probably have a good reason)
tkuchiki has quit [Remote host closed the connection]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
fsvehla has quit [Quit: fsvehla]
pellis has quit [Quit: Leaving]
charlescooke_ has joined #ruby-lang
nneko001__ has quit [Quit: Konversation terminated!]
nneko001__ has joined #ruby-lang
<yorickpeterse>
oh derp, I already have Nokogiri
<yorickpeterse>
might as well use that
breakingthings has joined #ruby-lang
<tomplast>
The company I'm working at wanted me to regulate the outbound traffic. You can never be too careful when it comes to network traffic ;).
nneko001__ has quit [Client Quit]
Cakey has joined #ruby-lang
<tomplast>
One hole is all it takes and then you start to DDOS someone...
wallerdev has joined #ruby-lang
<tomplast>
I hosted a Linux server a couple of years ago that got hacked, after that I became paranoid..
nneko001__ has joined #ruby-lang
mbj has joined #ruby-lang
<tomplast>
But there must be some way to just open up the firewall for port and host the Gem command uses...
<whitequark>
tomplast: I think you can use a proxy
charliesome has joined #ruby-lang
wallerdev has quit [Client Quit]
<tomplast>
Okay and how I restrict that?
<tomplast>
do I
Cakey has quit [Ping timeout: 264 seconds]
<tomplast>
I'm trying to tighten the security, not using a proxy to bypass it.
skade has joined #ruby-lang
pizdets has quit []
leekiern_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pipework has quit [Remote host closed the connection]
cored has joined #ruby-lang
cored has joined #ruby-lang
antulik has quit [Remote host closed the connection]
Pupeno has quit [Remote host closed the connection]
yatish27 has quit [Remote host closed the connection]
sedrickcz has quit [Remote host closed the connection]
dagobah has quit [Remote host closed the connection]
yatish27 has joined #ruby-lang
dagobah has joined #ruby-lang
sedrickcz has joined #ruby-lang
dagobah has quit [Remote host closed the connection]
sedrickcz has quit [Remote host closed the connection]
yatish27 has quit [Remote host closed the connection]
runeb has joined #ruby-lang
sedrickcz has joined #ruby-lang
benlovell has quit [Ping timeout: 240 seconds]
benlovell has joined #ruby-lang
Criztian has quit [Remote host closed the connection]
<darix>
tomplast: for secure envs i would a) download gems on one machine and review the code there b) then either host them on a local gem server or c) package them using my native package manager, so i dont have to do the building more than once
MaddinXx has quit [Remote host closed the connection]
sr78ger has quit [Ping timeout: 276 seconds]
dagobah has joined #ruby-lang
pothibo has joined #ruby-lang
awea has joined #ruby-lang
umgrossco has joined #ruby-lang
mbj has quit [Quit: Lost terminal]
yfeldblum has quit [Ping timeout: 260 seconds]
snk has quit [Quit: rebut]
joshuawscott has joined #ruby-lang
bungoman has joined #ruby-lang
snk has joined #ruby-lang
workmad3 has quit [Ping timeout: 240 seconds]
havenwood has joined #ruby-lang
bf4 has joined #ruby-lang
bhrgunatha has joined #ruby-lang
Forgetful_Lion has quit [Remote host closed the connection]
MaddinXx has joined #ruby-lang
poga has joined #ruby-lang
jxie has quit [Remote host closed the connection]
leekiern_ has joined #ruby-lang
pipework has joined #ruby-lang
bhrgunatha has quit [Ping timeout: 245 seconds]
kirin` has quit [Ping timeout: 260 seconds]
soba_ has quit [Ping timeout: 240 seconds]
bf4 has quit [Ping timeout: 264 seconds]
yfeldblum has joined #ruby-lang
kurko_ has joined #ruby-lang
skade has quit [Ping timeout: 260 seconds]
dagobah has quit [Remote host closed the connection]
pothibo has quit [Remote host closed the connection]
sedrickcz has quit [Remote host closed the connection]
pipework has quit [Remote host closed the connection]
dagobah has joined #ruby-lang
pipework has joined #ruby-lang
sedrickcz has joined #ruby-lang
dagobah has quit [Remote host closed the connection]
dagobah has joined #ruby-lang
sedrickcz has quit [Remote host closed the connection]
pipework has quit [Remote host closed the connection]
breakingthings has quit [Remote host closed the connection]
breakingthings has joined #ruby-lang
skade has joined #ruby-lang
relix has joined #ruby-lang
kirin` has joined #ruby-lang
kurko_ has quit [Quit: Computer has gone to sleep.]
robbyoconnor has joined #ruby-lang
tkuchiki has joined #ruby-lang
wmoxam has joined #ruby-lang
cyri_ has joined #ruby-lang
cyri_ has quit [Client Quit]
cyri_ has joined #ruby-lang
nneko001__ has quit [Quit: Konversation terminated!]
<ljarvis>
ok I need to get the 2nd sunday of december for a given year
<ljarvis>
time for math
rwk1 has joined #ruby-lang
<ljarvis>
*hopes someone does it before he tries*
<maloik>
in rails ?
<maloik>
if yes: Date.today.beginning_of_year.end_of_week + 1.week
leekiern_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
poga has quit [Remote host closed the connection]
poga has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
Scymex has quit [Ping timeout: 256 seconds]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nathanstitt has joined #ruby-lang
sepp2k has joined #ruby-lang
tonni has quit [Remote host closed the connection]
breakingthings has quit [Remote host closed the connection]
jxie has joined #ruby-lang
breakingthings has joined #ruby-lang
efrainolivares_ has joined #ruby-lang
poga has quit [Remote host closed the connection]
workmad3 has quit [Ping timeout: 264 seconds]
nathanstitt has quit [Read error: Connection reset by peer]
poga has joined #ruby-lang
efrainolivares has quit [Ping timeout: 264 seconds]
efrainolivares_ has left #ruby-lang [#ruby-lang]
iliketur_ has joined #ruby-lang
iliketur_ has quit [Client Quit]
iliketur_ has joined #ruby-lang
apeiros has quit [Remote host closed the connection]
<andrewvos>
OVERENGINEERED XML? WELL I NEVER
rwk1 has quit [Remote host closed the connection]
vilni has joined #ruby-lang
rwk1 has joined #ruby-lang
mmorga has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 245 seconds]
dhruvasagar has joined #ruby-lang
rwk1 has quit [Ping timeout: 260 seconds]
<ljarvis>
FIGHT XML WITH JAVA
mbj has quit [Quit: leaving]
hahuang65 has quit [Ping timeout: 260 seconds]
leekiern_ has joined #ruby-lang
MaddinXx_ has quit [Remote host closed the connection]
vilni has quit [Ping timeout: 256 seconds]
x0F has joined #ruby-lang
iliketur_ has quit [Quit: zzzzz…..]
erik____ has joined #ruby-lang
rwk1 has joined #ruby-lang
<yorickpeterse>
kill it with XML
<erikh>
actually fighting it with C# is kind of nice
<erikh>
XML is actually... pretty awesome
<erikh>
there
<ljarvis>
its a trap
hhatch_ has joined #ruby-lang
<yorickpeterse>
erikh: what drugs are you taking?
<erikh>
have you done any xml work in C#?
<ljarvis>
oh that part I agree with
rwk1 has quit [Ping timeout: 256 seconds]
<ljarvis>
it's the second sentence
<canton7>
if you're starting with the C# it's nice
<ljarvis>
shudder
<erikh>
canton7: yeah, fair point
<canton7>
if you're starting with the C#, and it doesn't map nicely onto any internal data structures you can come up with, or you don't know the exact format... not so nice
hhatch has quit [Ping timeout: 245 seconds]
<canton7>
*if you're starting with the XML
<canton7>
oops
<canton7>
though, nokogiri is the nicest XML library I've seen, ever
<canton7>
but all json parsers blow it out of the water :P
<erikh>
json's a lot simpler in general
<erikh>
not always the right choice, but frequently a good one
<canton7>
aye
cirenyc has joined #ruby-lang
<canton7>
not good for markup, which is where XML *should* have stayed
<canton7>
(it's in the acronnym, damnit)
<canton7>
*acronym
<erikh>
heh
killtheliterate has left #ruby-lang [#ruby-lang]
<Uranio>
I wonder why XML still existing?
achiu has quit [Quit: WeeChat 0.4.1]
<Uranio>
jabber? O_o
<canton7>
momentum, I suspect
iliketur_ has joined #ruby-lang
achiu has joined #ruby-lang
<Uranio>
bacuase I guest there is nothing that XML can do it and json can not do it
enebo has joined #ruby-lang
<Uranio>
wastin a lot of </tags>
<Uranio>
wasting*
adambeynon has joined #ruby-lang
apeiros has joined #ruby-lang
umgrossco has left #ruby-lang [#ruby-lang]
umgrossco has joined #ruby-lang
cyri_ has quit [Quit: cyri_]
<umgrossco>
I thought the JSON schemas were still draft.
brianpWins has joined #ruby-lang
achiu has quit [Quit: WeeChat 0.4.1]
workmad3 has joined #ruby-lang
mmorga has quit [Remote host closed the connection]
hahuang65 has joined #ruby-lang
tdm00 has joined #ruby-lang
workmad3 has quit [Read error: Operation timed out]
achiu has joined #ruby-lang
tonni has joined #ruby-lang
workmad3 has joined #ruby-lang
mmorga has joined #ruby-lang
_jpb_ has joined #ruby-lang
brianpWins has quit [Quit: brianpWins]
bzalasky has joined #ruby-lang
cored has quit [Ping timeout: 240 seconds]
scmx has joined #ruby-lang
cored has joined #ruby-lang
cored has joined #ruby-lang
cored has quit [Changing host]
sepp2k has quit [Quit: Leaving.]
vilni has joined #ruby-lang
snarfmason has joined #ruby-lang
tenderlove has joined #ruby-lang
Criztian has quit [Remote host closed the connection]
bzalasky has quit [Remote host closed the connection]
kurko_ has quit [Ping timeout: 264 seconds]
soba has quit [Read error: Connection reset by peer]
soba has joined #ruby-lang
tesseract-2 has quit [Quit: tesseract-2]
Cakey has joined #ruby-lang
workmad3 has quit [Ping timeout: 245 seconds]
<waxjar>
xml is still big in java
saarinen has joined #ruby-lang
tkuchiki has quit [Remote host closed the connection]
dhruvasagar has joined #ruby-lang
<apeiros>
xml isn't as bad as people make it
bzalasky has joined #ruby-lang
<apeiros>
I prefer sane xml over sane json in an API
<lianj>
yea, just xml over coding can get insane
Uranio has quit [Quit: while you reading this, a kitty dies]
joshuairl has quit [Quit: joshuairl]
loincloth has joined #ruby-lang
killthe|afk has joined #ruby-lang
klm1 has joined #ruby-lang
Senjai has joined #ruby-lang
Senjai has quit [Changing host]
Senjai has joined #ruby-lang
<banisterfiend>
apeiros why do u prefer xml over json
<apeiros>
sane xml is largely self-documenting and easier to read
Cakey has quit [Ping timeout: 264 seconds]
shame has quit [Ping timeout: 264 seconds]
rippa has quit [Ping timeout: 248 seconds]
<apeiros>
if you transport any sufficiently large datastructure, json just becomes an incomprehensible mess of hashes/arrays
jaimef has quit [Excess Flood]
soba has quit [Ping timeout: 264 seconds]
richardburton has joined #ruby-lang
jaimef has joined #ruby-lang
rippa has joined #ruby-lang
richardburton has quit [Quit: Leaving.]
roman1210 has joined #ruby-lang
<umgrossco>
banisterfiend, I rather like XML Schemas over JSON Schemas. However, parsing JSON is much more straight forward.
leekiern_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
_jpb_ has quit [Ping timeout: 256 seconds]
leekiernan has joined #ruby-lang
<apeiros>
umgrossco: only because there's only like 6 datatypes
<apeiros>
sane xml can be parsed quite straight forward too in that sense
kurko_ has joined #ruby-lang
<apeiros>
i.e., as a tree of hashes/arrays with primitive values. especially with an xsd which can hint you the type
shame has joined #ruby-lang
<umgrossco>
apeiros, for more complex specifications, I like XML, but for small straight forwards stuff that there just might be a lot of, I like JSON.
<apeiros>
it's actually sad that there's no "XMLSimple" standard which just defines some basic datatypes
ruby-lang789 has joined #ruby-lang
ruby-lang789 has quit [Client Quit]
hashkey_ has joined #ruby-lang
hashkey is now known as Guest76518
Guest76518 has quit [Killed (moorcock.freenode.net (Nickname regained by services))]
hashkey_ is now known as hashkey
vaks2 has joined #ruby-lang
jsullivandigs has quit [Remote host closed the connection]
wems has quit [Ping timeout: 264 seconds]
mistym_ has joined #ruby-lang
mbj has joined #ruby-lang
mistym has quit [Ping timeout: 260 seconds]
mmorga_ has joined #ruby-lang
fedesilva has joined #ruby-lang
<rickhull>
anyone familiar with the sqlite-ruby gem?
<yxhuvud>
why?
<rickhull>
i'm trying to understand transaction semantics — particularly, if an exception is raised and the txn is rolled back, how do i know?
mmorga has quit [Ping timeout: 245 seconds]
<rickhull>
it seems like the transaction just fails silently
<rickhull>
(fails, meaning it is rolled back)
saarinen has quit [Quit: saarinen]
bzalasky has quit [Remote host closed the connection]
kurko_ has quit [Quit: Computer has gone to sleep.]