maletor has quit [Quit: Computer has gone to sleep.]
maestrojed has quit [Quit: Computer has gone to sleep.]
dkb20k has joined #ruby
ta_ has joined #ruby
rbirch has joined #ruby
davedev2_ has joined #ruby
Areessel1 has quit [Ping timeout: 265 seconds]
ixti has quit [Ping timeout: 265 seconds]
davedev24_ has quit [Ping timeout: 255 seconds]
dc has joined #ruby
dkb20k has quit [Ping timeout: 240 seconds]
rbirch has quit [Ping timeout: 255 seconds]
ta_ has quit [Ping timeout: 265 seconds]
tlarevo has quit [Ping timeout: 256 seconds]
djbkd has joined #ruby
maletor has joined #ruby
Mekkis_ has joined #ruby
linguini has joined #ruby
iamjarvo has joined #ruby
thumpba has joined #ruby
Techguy305 has joined #ruby
cnj_ has joined #ruby
JStoker has quit [*.net *.split]
cnj has quit [*.net *.split]
RDash has quit [*.net *.split]
Mekkis has quit [*.net *.split]
Auv has quit [*.net *.split]
77CAAAGCL has quit [*.net *.split]
peckermanzzz has quit [*.net *.split]
Livadi has quit [*.net *.split]
Mekkis_ is now known as Mekkis
cnj_ is now known as cnj
JStoker has joined #ruby
RDash has joined #ruby
magic has joined #ruby
devoldmx has joined #ruby
icebourg has quit []
C1V0 has quit [Ping timeout: 256 seconds]
duncannz has quit [Ping timeout: 272 seconds]
Photism has quit [Quit: Leaving]
jottr has quit [Ping timeout: 272 seconds]
lkba has quit [Ping timeout: 245 seconds]
Hijiri has quit [Ping timeout: 265 seconds]
bronson has quit [Remote host closed the connection]
<linguini>
[1, 2, 3].map { |x| x if 2 < x }.select{ |x| x } # is there a ruby idiom for this (that is mapping an operation over an array, and then filtering the result to non-nil values)?
jottr has joined #ruby
<apeiros_>
linguini: um, just drop the map
<apeiros_>
[1, 2, 3].select { |x| 2 < x }
<linguini>
apeiros_: Oh, right. Hmm. My example is bad...
Sid05 has joined #ruby
<apeiros_>
.compact drops nil values
<linguini>
apeiros_: Sweet. compact is what I want!
<linguini>
[1, 2, 3].map { |x| MyInt.new(x) if 2 < x }.select { |x| x } # what I should have written originally
<linguini>
[1, 2, 3].map { |x| MyInt.new(x) if 2 < x }.compact # yay
<apeiros_>
IMO .select then .map
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<linguini>
apeiros_: Thanks, that's another good option.
thumpba has quit [Remote host closed the connection]
ndrei has quit [Ping timeout: 245 seconds]
thumpba has joined #ruby
chaos_ has joined #ruby
swartwulf has quit [Remote host closed the connection]
parduse has joined #ruby
<linguini>
[:a, :b].select { |x| Y.new(h[x]) if h.has_key?(x) }.compact # one case where compact might be preferable
<apeiros_>
you'd need map instead of select. I'd still use select+map.
<linguini>
oh yeah, map! Hmm. Yes, I can see the preference for select + map too.
swartwulf has joined #ruby
basichash has quit [Quit: WeeChat 0.4.2]
<linguini>
Though it moves the has_key? conditional farther from h[x]; shrug.
user has joined #ruby
studiotate_ has joined #ruby
thumpba has quit [Remote host closed the connection]
thumpba has joined #ruby
devoldmx has quit []
<apeiros_>
with that particular example, I might actually do: h.values_at(*[:a, :b]).compact.map { … }
Sid05 has quit [Read error: Connection reset by peer]
devoldmx has joined #ruby
ltd has joined #ruby
<linguini>
apeiros_: hmm! Interesting idea; that would be a nice way to get rid of the has_key? check...
GaryOak__ has quit [Remote host closed the connection]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
c459s has quit []
cpt_yossarian has quit [Quit: And then he took off.]
jherbst has joined #ruby
cpt_yossarian has joined #ruby
cpt_yossarian has quit [Remote host closed the connection]
cpt_yossarian has joined #ruby
jottr has quit [Ping timeout: 256 seconds]
lmickh has quit [Ping timeout: 244 seconds]
cpt_yossarian has quit [Remote host closed the connection]
cpt_yossarian has joined #ruby
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
robustus has quit [Ping timeout: 255 seconds]
dc has quit [Remote host closed the connection]
robustus has joined #ruby
tjbiddle has quit [Quit: tjbiddle]
neoxquick has joined #ruby
studiotate_ has quit [Quit: Computer has gone to sleep.]
pandaant has quit [Remote host closed the connection]
<pontiki>
hi all
<apeiros_>
hi there
jenrzzz has joined #ruby
_ixti_ has joined #ruby
ixti has quit [Ping timeout: 256 seconds]
devoldmx has quit [Remote host closed the connection]
i8igmac has joined #ruby
devoldmx has joined #ruby
Areessell has joined #ruby
josephndenton has quit [Ping timeout: 245 seconds]
devoldmx_ has joined #ruby
dseitz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dfinninger has quit [Remote host closed the connection]
devoldmx has quit [Read error: Connection reset by peer]
rbirch has joined #ruby
dkb20k has joined #ruby
charliesome has joined #ruby
jenrzzz has quit [Ping timeout: 256 seconds]
thumpba has quit [Remote host closed the connection]
<pontiki>
2015 has reached the eastern border of Greenland, and marches on
devoldmx has joined #ruby
Soda has joined #ruby
devoldmx_ has quit [Ping timeout: 272 seconds]
dkb20k has quit [Ping timeout: 244 seconds]
spastorino has quit [Quit: Connection closed for inactivity]
Mongey has joined #ruby
<apeiros_>
bah, humbug. utc is 2015. that's the only one that counts :-p
josephndenton has joined #ruby
duncannz has joined #ruby
nicolastarzia has joined #ruby
apurcell has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
hashpuppy has quit [Quit: Computer has gone to sleep.]
Lucky__ has joined #ruby
josephndenton has quit [Ping timeout: 244 seconds]
apurcell has quit [Ping timeout: 255 seconds]
nicolastarzia has quit [Ping timeout: 244 seconds]
<shevy>
hamburg?
studiotate_ has joined #ruby
freerobby has quit [Quit: Leaving.]
asmodlol has quit [Ping timeout: 240 seconds]
dmcnicks has quit [Quit: Sleeping]
sivoais_ is now known as sivoais
sivoais has quit [Changing host]
sivoais has joined #ruby
kiyote23 has joined #ruby
eka has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
freerobby has joined #ruby
bronson has joined #ruby
timonv_ has joined #ruby
arescorpio has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
Bullit_ has quit [Quit: Leaving]
jaequery has joined #ruby
jaequery has quit [Max SendQ exceeded]
bronson has quit [Ping timeout: 244 seconds]
timonv_ has quit [Ping timeout: 256 seconds]
bricker has quit [Ping timeout: 256 seconds]
kiyote23 has quit [Ping timeout: 245 seconds]
jaequery has joined #ruby
_ixti_ is now known as ixti
oleo is now known as Guest91118
valeriansaliou has joined #ruby
pedro_morgan has joined #ruby
oleo__ has joined #ruby
sinkensa_ has quit [Remote host closed the connection]
carvantes has quit [Quit: WeeChat 0.3.7]
sinkensabe has joined #ruby
jenrzzz has joined #ruby
thumpba has joined #ruby
thumpba has quit [Remote host closed the connection]
<pedro_morgan>
newbie needs some help... (not a ruby dev).. I a jekyll site online, and jekyll installed on server.. but when I try to run tells me http://pastebin.com/T348EMku
<pedro_morgan>
so it appears I nees coffee-script.. but is not in apt-get.. or not sure.. googling gives all sort of conflicts..
LouisRoR has quit [Ping timeout: 244 seconds]
Guest91118 has quit [Ping timeout: 244 seconds]
thumpba has joined #ruby
eka has joined #ruby
valeriansaliou has quit [Ping timeout: 256 seconds]
Mia has quit [Read error: Connection reset by peer]
devoldmx has quit [Remote host closed the connection]
jphenow has joined #ruby
mattwildig has quit [Remote host closed the connection]
sinkensabe has quit [Ping timeout: 245 seconds]
ChoiKyuSang has quit [Quit: Going offline, see ya! (( www.adiirc.com )]
thumpba has quit [Ping timeout: 272 seconds]
mattwildig has joined #ruby
rbirch has quit [Ping timeout: 244 seconds]
sinkensabe has joined #ruby
JoshGlzBrk has joined #ruby
avahey91 has quit [Quit: Connection closed for inactivity]
jphenow has quit [Ping timeout: 264 seconds]
<arrubin>
pedro_morgan: Use apt to install Node.JS.
yfeldblum has quit [Remote host closed the connection]
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<arrubin>
The package is probably called nodejs.
oleo__ has quit [Quit: Verlassend]
* Nilium
pours gas on arrubin and sets him on fire
jottr has joined #ruby
<Nilium>
NO.
basichash has quit [Read error: Connection reset by peer]
<arrubin>
Nilium: Yes.
<arrubin>
Look at the error message.
<Nilium>
Well, no to node.js anyway.
* Nilium
has a kneejerk reaction of setting people on fire at the mention of node.js
<arrubin>
ExecJS is looking for a JS runtime.
<arrubin>
Node.js is his best option.
<Nilium>
For embedding or just running junk? 'Cause if it's the latter, yeah, pretty much the only option I know of other than a browser.
Channel6 has quit [Quit: Leaving]
<arrubin>
Nilium: Things like Rails use it to compile assets.
<arrubin>
I assume that Jekyll is doing something similar.
<shevy>
did you yet watch the second part of The Hobbit? the fire dragon ... smeagol or so?
dkb20k has joined #ruby
<shevy>
you ought to study him so you can learn his weakness
<shevy>
the biggest one is vanity
<shevy>
but he is a truly hot dragon
<pontiki>
so to speak
dkb20k has quit [Read error: No route to host]
dkb20k has joined #ruby
<eam>
shevy: smaug :(
tkuchiki has joined #ruby
<shevy>
oh yes
<eam>
smeagol is gollum
<shevy>
shows you how much I actually know while watching movies!
hamakn_ has joined #ruby
<eam>
movie?
<shevy>
of course
<shevy>
I never read a tolkien book
<eam>
me either actually, they're insufferably boring
<pontiki>
not even a token tolkein book?
<shevy>
hehehe
<shevy>
I've read a few other fantasy novels though... dragonlance... midkemia saga... hmm and a couple more
hamakn has quit [Ping timeout: 272 seconds]
<eam>
shevy: both excellent, though dragonlance is probably more like teenage pulp
<eam>
I was just playing baldur's gate
<eam>
I don't know much about Forgotten Realms
synire has quit [Quit: WeeChat 0.4.2]
<eam>
but I picked up the d&d pack on gog.com
<shevy>
dragonlance had its moments
<eam>
I think I own every book of the original series
tkuchiki has quit [Ping timeout: 250 seconds]
<shevy>
my most favourite part was how raistlin became more and more evil, how his brother cameron still tried to save him, and how the funny kendar thief helped cameron
<shevy>
forgotten realms was darker
Musashi007 has joined #ruby
<shevy>
the droer or however you wrote them, the spider-elves... were wicked
kotk_ has joined #ruby
<eam>
gullydwarves
<shevy>
the fighting scenes were nicely and better described than in dragonlance, but dragonlance had a better storyline overall, and the characters evolved into plausible entities
<shevy>
oh yeah these were cute
<shevy>
but I never felt as excited about forgotten realms than dragonlance
<eam>
yeah forgotten realms didn't have a cohesive narriative from what I remember
<eam>
but I haven't read any of these books since I was a teenager
<shevy>
the best one was midkemia though, best storylines and best characters
<eam>
shevy: yeah feist is excellent
kotk has quit [Ping timeout: 250 seconds]
<eam>
that's a series an adult can enjoy
<eam>
though they got nutty in the way later books where he tried to squeeze life out of the franchise
Trynemjoel has quit [Quit: Quitting]
<eam>
I only really enjoyed Magician
<shevy>
yeah
kotk has joined #ruby
<eam>
oh sorry, I mean the riftwar saga
<eam>
the first 6 or so books
<shevy>
I think the author got either tired or too old
<eam>
serpentwar got uh, I just stopped reading
<shevy>
I actually liked the one with the merchant and Eric, that strong guy the most... they seemed almost the weakest compared to like Tomas or the elves.. so their struggles seemed harder
<shevy>
I liked the serpentwar saga too
<shevy>
eam did you play the computer game betrayal at krondor, in the ancient days?
<Nilium>
I did.
nonnatus has quit [Read error: Connection reset by peer]
Trynemjoel has joined #ruby
nonnatus has joined #ruby
<Nilium>
Also Betrayal in Antara (kind of unrelated) and Return to Krondor.
<Nilium>
Antara was actually the one that made me get Betrayal at Krondor.
Lucky__ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
banister has joined #ruby
<Nilium>
And Return to Krondor was awful and really it has no business being related to the original game.
C1V0 has quit [Ping timeout: 250 seconds]
kotk_ has quit [Ping timeout: 245 seconds]
<eam>
shevy: I remember the game, but I don't think I played it
<eam>
eye of the beholder however
<shevy>
Nilium hehe for me it was the other way around, I loved betrayal at krondor and hated Betrayal at Antara
braincrash has quit [Quit: bye bye]
rbennacer has quit [Remote host closed the connection]
<Nilium>
I actually like Antara but it was apparently the unloved not-really-sequel
<Nilium>
But I liked it because of the gameplay. I have no idea what was going on in the story.
<shevy>
yeah. the first one was cool not because of the graphics or gameplay much anything but it was like a real story from a novel
xcesariox has joined #ruby
jbellone has joined #ruby
dfinninger has quit [Remote host closed the connection]
davedev2_ has joined #ruby
wallerdev has quit [Quit: wallerdev]
giuseppesolinas has joined #ruby
<shevy>
a shame that nowadays there don't seem to be good roleplaying games with a novel... all has become loop { ego-shooter style; xp-grind }
dfinninger has joined #ruby
<Nilium>
Eh, the Witcher's great and it's basically a follow-up to a bunch of novels
davedev24_ has quit [Ping timeout: 244 seconds]
<Nilium>
Never felt like I had to do a moment of grinding in The Witcher 2, anyway
<shevy>
I dunno, it seems to remind me of a clone of assassin's creed. I have not played any of these though, so I have no real idea what I am talking. most I did was watch screencasts and the like on youtube
<Nilium>
Definitely nothing like Assassin's Creed
<Nilium>
The main thing I liked about Witcher 2 was that at one point in the game, you have to make a few choices that decide how most of the rest of the game will play out
Max` has joined #ruby
<Nilium>
And in doing so, you only see about half the game depending on what you choose, 'cause there's an entire other half of the game for the opposite side
<Nilium>
So they took the whole branching paths thing really seriously
<shevy>
cool
<shevy>
so you would play both variants?
jimmyhoughjr has joined #ruby
<Nilium>
I tried to and then my Windows install died and I dropped it
<shevy>
that reminds me, although to a much more limited variant, of might and magic ... 6 or 7 or 8, I forgot. where you could choose between dark magic and light magic paths; but the main difference was actually just in skills + spell and spell effects
<Nilium>
So I only played one half
<shevy>
hehe
<shevy>
so you dropped windows right there!
davedev24_ has joined #ruby
<Nilium>
Which meant I played the game through to the end once, but I sided with one faction instead of the other
<Max`>
what distro of linux are you people using?
davedev2_ has quit [Ping timeout: 245 seconds]
braincrash has joined #ruby
braincrash is now known as braincras
dfinninger has quit [Ping timeout: 256 seconds]
<shevy>
Max` base was slackware; everything I add on to it I compile from source so, so it is about 80% compiled from source here
<shevy>
I use ruby scripts for compiling
<Max`>
shevy have you tried arch linux? I was thinking of trying it for hte new year but i installing might be a problem since I dont know what i'm doing.
<shevy>
I have tried it perhaps 5 or 6 years ago or so. it was nice
<Max`>
what made you choose slack over arch?
Musashi007 has quit [Quit: Musashi007]
<shevy>
Max`, well just write a few things on paper before you try it, the moment you can reach the internet is the moment you should be able to solve all problems
<Max`>
is slack better than arch?
<shevy>
Max` two things - the DVD install. I have everything including kde and gnome when I do so. the other thing is, slackware is really minimal in itself and makes very few modifications if at all ever
ta_ has joined #ruby
<Nilium>
I use Mac OS.
<shevy>
I think arch is more sophisticated than slack
<Nilium>
Used to use Slackware.
<shevy>
slackware is kinda like old school linux
<theotherstupidgu>
do you guys really have the time to experiment with an OS to the point where it is meaningful play?
bricker has joined #ruby
<Max`>
nilium. why did you move to MacOS? for the quality apple hardware or was it the OS itself?
Musashi007 has joined #ruby
<shevy>
I don't really play that much anymore with linux, most of the time computer related goes into ruby
<Nilium>
Slackware had everything on its CD (later DVD) and I could install it in a really short amount of time, so that was my reason for liking it
<Nilium>
I use OS X because I like the OS and I like the hardware.
<shevy>
so whether I use windows or linux does not really matter much (though windows i find so annoying), as long as ruby works on it
<Nilium>
Also because it's my compromise between having software I want and having something with a shell
<theotherstupidgu>
as i remmber slackware was not nice to install!
<Nilium>
theotherstupidgu: You are wrong and I will fight you
<Nilium>
You're probably thinking of gentoo.
djbkd_ has quit []
<shevy>
dunno. There is a ncurses based installer with slackware, I always select "full install", then do something else for 20 minutes, then come back and it has finished installation
<Nilium>
What shevy said.
<shevy>
gentoo is hard
<Nilium>
Gentoo has varying levels of hard, too.
<shevy>
hehehe
<Nilium>
'Cause it has like three different ways you can install it, and the easiest one is still hard.
<theotherstupidgu>
they use gentoo to crack ps3 stuff?
<Nilium>
I wouldn't know.
<eam>
slackware was pretty hard to install, what with swapping all those floppy disks
<shevy>
it's funny because I compile from sources... so I could use gentoo... but I don't want to. the linux from scratch website taught me a lot, and everything that gentoo should be able to offer I could write and adapt myself in ruby, rather than have to use portage / python
<Nilium>
eam: Well, if you used floppies. By the time I was installing it, it was on CD, and usually I'd just copy the CD to my hard drive and point the installer at it
RubyRonin has joined #ruby
<shevy>
also the main gentoo wiki is down for months which also sucks for people
<theotherstupidgu>
floppy disks = jazz rabbit and <roger somthing>
<shevy>
<xkbc> jep.. gentoo lost a big swing when the gentoo-wiki.com disappeared - and that is what is stopping me from joining the gobolinux community - even I like it very much
<jbellone>
zip disks
<shevy>
<xkbc> shevy: no idea.... I worte many many pages on that wiki, but it went down about (felt like) one a year.. and one time it finally disappeared
<Nilium>
Good god fuck zip disks
<jbellone>
:)
yfeldblum has quit [Ping timeout: 255 seconds]
<Nilium>
I lost so much data because of those things just arbitrarily up and dying
<shevy>
hahaha
<eam>
zip disks were terrible but not as terrible as 80 someodd floppies
<shevy>
that is what always scares me, so I backup on several hdds
<shevy>
I liked floppies. you could throw them through the air like a weapon! at least the big round ones
<eam>
shevy: building from source for anything serious is nuts
EmAn0n has quit [Ping timeout: 245 seconds]
<theotherstupidgu>
my laptop got stolen once along with my idea notbooks
<eam>
Max`: historically ruby's done a fairly poor job of implementing systems interfaces
<Max`>
C programmer as in hard core programmer. Like ESR hardcore. Or master driver develoepr or kernal developer.
ajacmac has quit [Quit: Going offline, see ya! (www.adiirc.com)]
pengin has joined #ruby
<shevy>
Max` all variants!
<jbellone>
Well in that case I would argue these developers likely use tools familiar to them already. Or in the case or perl most likely already a dependency in the system build process.
snowman has joined #ruby
<shevy>
see :)
startupality has joined #ruby
<jbellone>
At any rate I have a whole bunch of developers I work with that are "C programmers" and use Ruby :).
<shevy>
Max` now you know why ruby is under-represented among C hackers
<shevy>
they must be young guys right jbellone ?
nonnatus has quit [Read error: Connection reset by peer]
ajacmac has joined #ruby
nonnatus has joined #ruby
davedev24_ has quit []
<Max`>
how come people don't make websites in C? it's trivial to auto-generate structs mapping to database tables. SEems like C would be a good language for a "C on Rails"
<jbellone>
shevy: I wouldn't say so. The shop I work at is mostly C/C++ for services and JavaScript for server/client side. We have a few teams that use RoR/Sinatra/Chef.
<shevy>
Max` you will be much faster in ruby
rshetty has joined #ruby
<Max`>
shevy. but if we autogenerate all the stuff, C could match ruby in developer time? no?
<shevy>
Max` what do you want to autogenerate?
<shevy>
the moment you have to write in C is the moment you will be slower than the guy who writes the same tasks in ruby, if they can be written in ruby
<jbellone>
Max`: You'd need a lot of scaffolding. We generate a metric ton of boilerplate C++.
dkb20k has quit []
<Max`>
ORM active record style stuff. And CRUD web gui's
<theotherstupidgu>
the only book about code generation that i read, uses ruby to generate even C++ code
<Max`>
seems like C could be just as fast in dev time with auto-generation. And could even surpass ruby dev time since certain "tricky" issues will not be an issue in C. No time wasted on them.
ajacmac has quit [Client Quit]
dkb20k has joined #ruby
green-big-frog has quit [Ping timeout: 272 seconds]
kiyote23 has joined #ruby
<shevy>
sounds like a true superweapon ;)
nicolastarzia has joined #ruby
<shevy>
C - lighter than ruby. and faster!
<theotherstupidgu>
C got somthing like rubygems??
<pontiki>
Max`: why not give it a go and let us know?
<jbellone>
theotherstupidgu: libtool
<jbellone>
lol :)
<shevy>
omg
<shevy>
libtool
<Max`>
if there's a garbage colleciton issue affecting the ruby website, then use C with valgrind and never have the issue in the first place.
<shevy>
a 10.000 lines shellscript
tbloncar has quit [Quit: Leaving.]
<pontiki>
i've written a web app in C
<pontiki>
can't say it was the most fun thing i've done
<jbellone>
You could probably do it pretty quickly with boost and C++.
<Max`>
i'll try it. But i'll need to make some auto-generation of code. The auto-generation tools could be written in any lanuage, they just produce C source.
<jbellone>
I think Go solves a lot of the problems C has.
<Max`>
pontiki. did you auto-genearte everything down to the GUI (assuming it was a simple CRUD app)?
<theotherstupidgu>
Max i think there are C frameworks with rails traits
<theotherstupidgu>
atleast one
rshetty has quit [Read error: Connection reset by peer]
<waxjar>
aren't you opening yourself up to a whole load of bugs that are just avoided by choosing a memory-safe language in the first place?
pengin has quit [Remote host closed the connection]
<Max`>
C with valgrind is safe. In certain situations even safer if garbage collection itself is the issue.
<jbellone>
I don't think there's any fathomable reason to use C for a web application.
<theotherstupidgu>
i think the real trick is to figure out "levels of granularity" and what fits in best. like having a number of programs in a scriting language that talk to each other via REST or somthing
nicolastarzia has quit [Ping timeout: 244 seconds]
<jbellone>
theotherstupidgu: Yeah, rpc/ipc that is ubiqutious so you can scale from multi-process to multi-machine, etc.
kiyote23 has quit [Ping timeout: 244 seconds]
<jbellone>
Protocol buffers is a great example of this. There are bindings for at least six languages. Boilerplate code is generated for C++, Java, Python and Golang.
bronson has joined #ruby
<jbellone>
IIRC Chrome browser uses protocol buffers for ipc between threads and child processes.
<theotherstupidgu>
jbellone: is problem aint new, like old domain engineering and software product lines stuff. they didnt have the luxery to fight over which language is best as much as we do now, and programming languages didnt offer them a vast number of tools either, but they were like us trying to survive by not HAVING to reinvent the wheel quite often.
ajacmac has joined #ruby
nonnatus has quit [Read error: Connection reset by peer]
brocktimus has joined #ruby
bluOxigen has joined #ruby
nonnatus has joined #ruby
<jbellone>
theotherstupidgu: I wasn't intending to join a fight. I am a firm believer of using right tool for the job. Over past few weeks I've written substaintial code in Ruby, C, C++, Golang and Python.
<theotherstupidgu>
jbellone: just a figure of speech
<theotherstupidgu>
=)
kapil__ has joined #ruby
<pontiki>
max, hell no
<jbellone>
theotherstupidgu: Understood =)
startupality has quit [Quit: startupality]
<pontiki>
max, *what* is your agenad in this channel?
<Max`>
i think ruby can be deprecated, replaced by a combo of C and auto-generation of 95% of the CRUD app.
<jbellone>
Heh.
MyMind has joined #ruby
tkuchiki has joined #ruby
<jbellone>
Max`: Have fun with that. I have money to make =)
<pontiki>
Max`: and you think that coming to the channel of ruby enthusiasts is good way to deal with that?
<Max`>
1 button click generateion of a CRUD app is a 1 second dev time whether Ruby, C, or any language.
bronson has quit [Ping timeout: 255 seconds]
<pontiki>
stop talking, start showing
<theotherstupidgu>
i think a language should be good enough to do the minimum effective contribution via a single man. and the rest of the storm should follow from there.
<pontiki>
the effort in rails is not generating crud operations, far, far from it
<jbellone>
Language is a tool. You're not going to use a screw driver to remove an oil plug.
fredsir_ has joined #ruby
Soda has quit [Remote host closed the connection]
snowwy has joined #ruby
Xiti` has joined #ruby
Blue_Ice_ has joined #ruby
Blue_Ice_ has quit [Changing host]
Blue_Ice_ has joined #ruby
vin`` has joined #ruby
<theotherstupidgu>
the philosphy here is that things that try to do too much, usually can't or do it poorly.
<Max`>
C on rails would use OpenMP. It would scale up. And out too. IT would be the true web framework that would deprecate everythign else.
jottr has joined #ruby
zacts_ has joined #ruby
fredsir has quit [Ping timeout: 264 seconds]
snowman has quit [Ping timeout: 264 seconds]
Vile` has quit [Ping timeout: 264 seconds]
vin` has quit [Ping timeout: 264 seconds]
<theotherstupidgu>
Max`: its all about the community
Blue_Ice has quit [Ping timeout: 264 seconds]
mondo has quit [Ping timeout: 264 seconds]
Sembei has quit [Ping timeout: 264 seconds]
Xiti has quit [Ping timeout: 264 seconds]
zacts has quit [Remote host closed the connection]
<pontiki>
and the ecosystem
Buttons840 has joined #ruby
<theotherstupidgu>
and to get the ecosystem you need to show somthing simple that others like and understand
elimS has joined #ruby
ARCADIVS has joined #ruby
mondo has joined #ruby
malcolmva has quit [Ping timeout: 264 seconds]
vlad_starkov has quit [Ping timeout: 264 seconds]
<Max`>
theotherstupidgu: it's all about the community until websites drop ruby for.... the JVM? Given the load the JVM will need to be dropped to if hyou want to cut electricity use.
<pontiki>
hello jruby
<Max`>
i am here to announce the future. Prepare for 2015.
<pontiki>
lol
<pontiki>
happy new year
Vile` has joined #ruby
<Max`>
we're going back to the future. C on rails
<pontiki>
long winded way of saying so
<theotherstupidgu>
happy new year =)
Xiti` has quit [Client Quit]
vlad_starkov has joined #ruby
Buttons840 has quit [Client Quit]
jottr has quit [Ping timeout: 244 seconds]
green-big-frog has joined #ruby
tkuchiki has quit [Quit: Leaving...]
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<IceDragon>
Happy new years!
Vile` has quit [Ping timeout: 265 seconds]
yfeldblu_ has joined #ruby
<snowwy>
HAPPY FUCKING NEW YEAR CUNTS DID YOU JOIN MY NETWORK YET?????
Max` has left #ruby ["ERC Version 5.3 (IRC client for Emacs)"]
<snowwy>
irc.mycooldude.info #cooldude13233
snowwy is now known as dickman
<dickman_>
HAPPY FUCKING NEW YEAR CUNTS DID YOU JOIN MY NETWORK YET?????
Max` has joined #ruby
dickman_ has quit [Excess Flood]
Max` has quit [Remote host closed the connection]
iamninja has joined #ruby
yfeldblu_ has quit [Ping timeout: 245 seconds]
wallerdev has joined #ruby
malcolmva has joined #ruby
apurcell has joined #ruby
dfinninger has joined #ruby
zacts_ has quit [Quit: leaving]
zacts has joined #ruby
_5kg has joined #ruby
elimS has quit [Quit: Be back later ...]
apurcell has quit [Ping timeout: 245 seconds]
C1V0 has joined #ruby
Kricir has quit [Remote host closed the connection]
dfinninger has quit [Ping timeout: 265 seconds]
thumpba has joined #ruby
elimS has joined #ruby
Kricir has joined #ruby
cesarstafe has joined #ruby
Kricir has quit [Ping timeout: 264 seconds]
banister has joined #ruby
banister has quit [Max SendQ exceeded]
timonv_ has joined #ruby
Lucky__ has joined #ruby
timonv_ has quit [Ping timeout: 272 seconds]
valeriansaliou has joined #ruby
rbirch has joined #ruby
dkb20k has quit [Read error: Connection reset by peer]
nonnatus_ has joined #ruby
rbirch has quit [Ping timeout: 255 seconds]
valeriansaliou has quit [Ping timeout: 272 seconds]
Cust0sLim3n has quit [Read error: Connection timed out]
[spoiler] has joined #ruby
sondr3 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Cust0sLim3n has joined #ruby
Cust0sLim3n has quit [Changing host]
Cust0sLim3n has joined #ruby
<[spoiler]>
Hi! Is anyone here familiar with mruby's API? I'm scanning through the source, and I'm indecisive about whether I should use: mrbc_context/mrb_parser_parse/mrb_generate_code/mrb_context_run or mrbc_context_new/mrb_load_nstring_cxt lol. The latter seems way more simple to use than the former, although I feel like I'm setting a trap for myself?
phutchins has quit [Ping timeout: 244 seconds]
timonv_ has quit [Ping timeout: 265 seconds]
DadoCe has joined #ruby
RDash has quit [Changing host]
RDash has joined #ruby
rbirch has joined #ruby
LouisRoR has joined #ruby
bluOxigen has quit [Ping timeout: 264 seconds]
ptrrr has quit [Quit: ptrrr]
dkb20k has quit [Read error: Connection reset by peer]
rbirch has quit [Ping timeout: 264 seconds]
ponga has joined #ruby
ponga has quit [Changing host]
ponga has joined #ruby
dkb20k has joined #ruby
bluOxigen has joined #ruby
testcore_ has joined #ruby
_testcore has joined #ruby
ponga has quit [Ping timeout: 265 seconds]
uber has quit [Quit: bye]
lkba has quit [Ping timeout: 264 seconds]
bluOxigen has quit [Remote host closed the connection]
Cust0sLim3n has quit [Read error: Connection timed out]
Deele has joined #ruby
maoko has joined #ruby
Cust0sLim3n has joined #ruby
<arup_r>
How can I stub the chain of methods ? CONNECTION.get(url).body where CONNECTION is an instance of Faraday class. I wrote let(:con) { double() }. then no idea how to stub the whole chains ? I know this https://relishapp.com/rspec/rspec-mocks/docs/working-with-legacy-code/message-chains But in my case #get in the chain accepts argument also...
asmodlol has quit [Ping timeout: 255 seconds]
rpag has joined #ruby
rpag has quit [Remote host closed the connection]
tokik has quit [Ping timeout: 245 seconds]
asmodlol has joined #ruby
oleo has quit [Read error: Connection reset by peer]
yfeldblum has joined #ruby
Abhijit has joined #ruby
oleo has joined #ruby
oleo has joined #ruby
oleo has quit [Changing host]
valeriansaliou has joined #ruby
oleo has quit [Read error: Connection reset by peer]
Xaitec has quit [Remote host closed the connection]
iinzg has quit [Quit: Leaving]
falieson has joined #ruby
<falieson>
hello! I want to be able to search this string for 'super' and receive the value 'man' from this string, thank you for your help! str = '\n var string = {\"what_the\":\"fruit\",\"super\":\"man\"}; \n'
phutchins has quit [Ping timeout: 245 seconds]
seitensei has joined #ruby
<falieson>
if you could just tell me what to google, I could probably take it from there
basichash has joined #ruby
tbloncar has quit [Read error: Connection reset by peer]
dfinninger has quit [Remote host closed the connection]
SOLDIERz has joined #ruby
tbloncar has joined #ruby
tenseiten has quit [Ping timeout: 245 seconds]
crueber has quit [Quit: Leaving.]
claymore has joined #ruby
crueber has joined #ruby
crueber has quit [Client Quit]
DLSteve has joined #ruby
<phil101>
Hi, i'm aving an issue trying to understand how to say if expr && expr = true do something. ive tried with && but im nto sure te syntax is exactly right. my issue is n line 13 http://paste.ee/p/1cIM5 any advice would be most appreciated. cheers
lolmaus has quit [Quit: Konversation terminated!]
<phil101>
the code simply is to ask for user inut for ip address's then add them to te configuration file. The issue im trying to overcome is to say only accept an input if the input has a '.' and a number character.
dkb20k has quit [Ping timeout: 244 seconds]
__chris has quit [Ping timeout: 250 seconds]
pandaant has joined #ruby
<falieson>
phil101, I'm a noob so take this with a grain of salt but have you thought of doing a regex match like ([0-9][0-9]?[0-9]?\.[0-9][0-9]?[0-9]?\.[0-9][0-9]?[0-9]?\.[0-9][0-9]?[0-9]?\.)
giuseppesolinas has quit [Quit: This computer has gone to sleep]
tbloncar has quit [Ping timeout: 244 seconds]
<falieson>
(without the last period)
parduse has quit []
ta_ has quit [Ping timeout: 240 seconds]
synire has joined #ruby
parduse has joined #ruby
<phil101>
falieson: Thanks, i could do a reg exp, not someting im aware of doing trough ruby yet. That works around the problem. i'd like to solve the problem this way to get a better understanding
<falieson>
wish I could answer your Q, seems to be only the 2 of us active atm
Atrumx has joined #ruby
<phil101>
falieson: Do you know how to add REgexp in ruby ?
tlarevo_ has quit [Remote host closed the connection]
jaequery has joined #ruby
tlarevo has joined #ruby
<gr33n7007h>
phil101, could use /\d{1,3}.\d{1,3}.\d{1,3}.\d{1,3}/
dfinninger has quit [Read error: Connection reset by peer]
dfinninger has joined #ruby
krz has quit [Quit: WeeChat 1.0.1]
<falieson>
I have a string str = "\n var string = {\"foo\":\"bar\",\"apple\":\"tomato\",\"super\":\"duper\"};\n " . I'd like to extract the value 'duper' for the field 'super' . Any suggestions?
<phil101>
thanks for the responses
<phil101>
is there not a way of doing this with && ?
<phil101>
with if statemnets ?
arya_ching has quit []
sondr3 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
psy has quit [Read error: Connection reset by peer]
arya_ching has quit [Read error: No route to host]
<bradland>
phil101: the short answer is that the reason your code doesn’t do what you want is because neither of those conditions will pass for input that looks like an IP address.
<phil101>
bradland: OK well how about must be a number from 0-9 and includes 4 '.' 's ?
<bradland>
that’s what regex is for
arya_ching has joined #ruby
<phil101>
bradland: ok ill check it out thanks
<bradland>
your description of an IP address is incomplete
<gr33n7007h>
phil101, and it's 3 dots
yfeldblum has quit [Ping timeout: 245 seconds]
<phil101>
bradland: it doesnt have to be perfect
<Zekka>
How compatible are Python and Ruby regexes? I've got some very rough (concision, not brevity) Python regexes for identifying possible hostnames
dkb20k has joined #ruby
<phil101>
bradland: sorry yes 3 dots
<Zekka>
both ips and domain names with normal suffixes
tbloncar has joined #ruby
<Zekka>
I can pastebin them if you want to try to adapt them
Sawbones has quit [Ping timeout: 256 seconds]
<bradland>
this is a simple regex that will match IP addresses: [0-9]{1,4}\.[0-9]{1,4}\.[0-9]{1,4}\.[0-9]{1,4}
<Zekka>
er, concision, not accuracy*
Azure has quit [Quit: My MBP went to sleep.]
Flcn__ has quit [Quit: Be back later ...]
<bradland>
phil101: I use this tool for developing my ruby regular expressions
<bradland>
Zekka, Ruby regexes overlap a lot with Python, but there are differences in the expanded feature sets.
<Zekka>
bradland: 4? Why not 3?
<bradland>
Zekka: woops
<bradland>
i typoed a 4 and copy/pasted it three times!
<waxjar>
ruby has an IPAddr class in the standard library, making an instance fails if you give it an invalid ip address :)
<crome>
what's wrong with /^(\d+\.){3}\d+$/ ?
<crome>
and waxjar +1
<phil101>
im not sure how to incorporate regex's into ruby yet, im only learning basics so far
<gr33n7007h>
>> if match = "10.0.0.1".match(/\d{1,3}.\d{1,3}.\d{1,3}.\d{1,3}/); puts "Is a valid IPV4 address"; else; puts "Invalid IPV4 address"; end
valeriansaliou has quit [Ping timeout: 272 seconds]
Pupeno has quit [Remote host closed the connection]
Pupeno has joined #ruby
<sondr3>
anyone know anything about Sinatra/Slim? I've been trying to learn it for two days now but every time I try to loop over an array in a slim file I keep getting an 'undefined methond `join' for #<String:lotsofnumbers>', anyone know what's up with it?
Cust0sLim3n has quit [Read error: Connection timed out]
gregf has quit [Quit: WeeChat 1.0.1]
Cust0sLim3n has joined #ruby
Cust0sLim3n has quit [Changing host]
Cust0sLim3n has joined #ruby
freerobby has joined #ruby
asmodlol has quit [Remote host closed the connection]
<mattwildig>
sondr3: try pinning rack to an earlier version (at least till there is a new Sinatra release)
Sawbones has quit [Remote host closed the connection]
msmith_ has joined #ruby
Ilyas has joined #ruby
msmith_ has quit [Read error: Connection reset by peer]
msmith_ has joined #ruby
<Crazy_Atheist>
when I'm using OptionParser, how do I set the version
<Crazy_Atheist>
nothing in ruby-doc that I see that says what to do
<Crazy_Atheist>
:(
<Crazy_Atheist>
or that clearly says it
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Sawbones has joined #ruby
dkb20k has quit [Ping timeout: 272 seconds]
ohaibbq has joined #ruby
mrmargolis has quit [Remote host closed the connection]
gsd has joined #ruby
Ilyas_ has joined #ruby
Ilyas_ has quit [Max SendQ exceeded]
Ilyas_ has joined #ruby
gsd has quit [Client Quit]
Flcn__ has quit [Quit: Be back later ...]
Sawbones has quit [Remote host closed the connection]
<shevy>
Crazy_Atheist version for?
<shevy>
you can add options yourself '--version','-v'
Ilyas has quit [Ping timeout: 244 seconds]
tbloncar has joined #ruby
<Crazy_Atheist>
yes, but I'm seeing ::Version.join('.') and I'm trying to set it on the top of the file and its not working, and a version for a script I'm working on
<shevy>
require 'ipaddr'; ip = IPAddr.new(gets.chomp); ip.ipv4?
LouisRoR has joined #ruby
Ilyas has joined #ruby
Joufflu has quit [Quit: Leaving]
<comm64>
I've noticed some differences in various rails tutorials and thought this would be the best place to clear this up...is it necessary to do 'gem install rails' for each new application or can you just do 'rails new [nameofapp]'
Joufflu has joined #ruby
<godd2>
I'm gonna make a language where you can call a method on more than one object at once. In that method, you can ask for 'selves' which will be a collection of the receivers.
<shevy>
rails guys are on #rubyonrails though comm64
ta_ has joined #ruby
<shevy>
comm64 and what you have described reminds me of why bundler exists
<shevy>
godd2 hmm has this been possible with smalltalk?
<shevy>
godd2 and what syntax will you use for multiple method calls... (is this called method dispatching...)
Ilyas_ has quit [Ping timeout: 244 seconds]
Xeago has quit [Ping timeout: 245 seconds]
<comm64>
I already have rails installed system-wide but when I do 'rails new app' I've noticed some fairly noticeable differences, but thanks shevy I'll check in with #rubyonrails
<godd2>
shevy hmm you have a point. I guess there could be a possibility to terminate successive calls on one branch of execution. kind of like pruning the method chain tree.
<shevy>
comm64 yeah it reminds me of bundler. have you looked at it yet? I think it does precisely what you require
comm64 has left #ruby [#ruby]
gsd has joined #ruby
<shevy>
godd2 dunno really. One day it would be cool to have a programming language that is similar to ruby, and uses erlang and a simulating of real biological cells
<shevy>
*uses erlang to keep the objects/cells/minicomputers under control
<godd2>
shevy well if you want erlang+ruby, you can check out elixer
Kricir has quit [Remote host closed the connection]
kiyote23 has joined #ruby
tkuchiki has joined #ruby
Hakon has left #ruby [#ruby]
TDJACR has quit [Max SendQ exceeded]
mjuszczak has quit []
spider-mario has joined #ruby
cmarques_ has joined #ruby
devoldmx_ has quit [Ping timeout: 244 seconds]
cmarques has quit [Ping timeout: 265 seconds]
jphenow has joined #ruby
josephndenton has quit [Ping timeout: 244 seconds]
kiyote23 has quit [Ping timeout: 250 seconds]
freerobby has quit [Quit: Leaving.]
Flcn__ has quit [Quit: Be back later ...]
agent_white has joined #ruby
TheAtomicGoose has joined #ruby
AlexRussia has quit [Ping timeout: 245 seconds]
AlexRussia has joined #ruby
TDJACR has joined #ruby
enricostn has joined #ruby
TheAtomicGoose has quit [Quit: WeeChat 1.0.1]
nicolastarzia has joined #ruby
Calmoto has quit [Ping timeout: 244 seconds]
triple_b has joined #ruby
triple_b has quit [Client Quit]
enricostn has left #ruby ["WeeChat 0.4.2"]
bMalum has quit [Quit: bMalum]
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nicolastarzia has quit [Ping timeout: 265 seconds]
felltir has joined #ruby
<nonnatus>
Hi, everyone. I've got my first interview tomorrow for an internship with a local startup. Anyone have advice regarding what to bring (e.g. do I need my laptop), or what to be prepared for?
yfeldblum has joined #ruby
yfeldblum has quit [Remote host closed the connection]
jaequery has joined #ruby
<shevy>
don't think they want you to code live
yfeldblum has joined #ruby
<shevy>
on your own laptop
<shevy>
:D
<felltir>
If you want to write code, I'd recommend bringing your laptop. (It's set up how you like it, I assume, which will help with nerves and stuff)
<Nilium>
I'd comment on what my interview was like (not for an internship, but eh), but it was probably unconventional anyway.
<Nilium>
Either way, bring a copy of your resume, maybe bring your laptop if they ask about something on it and you want to show them a project you did, but I doubt they'll ask you to write code.
<Nilium>
Beside that, uh, my method of ensuring I don't freak out during an interview is to just treat everyone involved like they're my friend.
jaequery has quit [Client Quit]
<nonnatus>
Oh, ok. I wasn't sure if I should expect a code challenge or something.
<TrOuBleStArTeR>
can someone provide the "best" ide to develop in ruby ?
<ishikawa>
what kind of programming interview does not ask you to write code?
<felltir>
nonnatus: be prepared for one, I'd say
<ishikawa>
TrOuBleStArTeR: vim
<havenwood>
TrOuBleStArTeR: OS/Distro?
<gilmour>
ishikawa: +1
<Nilium>
ishikawa: The kind that realizes coding on a whiteboard and during an interview, which is already stressful enough, is a horrible idea.
<TrOuBleStArTeR>
havenwood windows and linux
<TrOuBleStArTeR>
ishikawa why not
<ishikawa>
Nilium: i agree that whiteboard coding is stressful
<Nilium>
It's a lousy interview practice and is slowly dying out, I think
<havenwood>
TrOuBleStArTeR: Atom is a free option. Sublime Text is a paid one. There's always emacs and vim. ;)
<TrOuBleStArTeR>
havenwood thx
<Nilium>
I could see pair programming, but that's way less stressful because you've got someone to work with
<felltir>
TrOuBleStArTeR: Depends who you ask, and what you want it for. If you want speed, Vim after you've learned it. if you can sacrifice a little speed, atom or sublime are far easier and more intuitive
<Nilium>
Atom's slow as hell.
<felltir>
it's getting better all the time, but it's still slower than sublime and will never catch vim, of course
<Nilium>
Sublime's pretty fast if your files are under something like 10mb (I can't remember -- editing a 24mb log file was horrible though)
<nonnatus>
Pair programming would be great. I'm worried I'll get too nervous with someone just sitting over my shoulder judging what I write.
<TrOuBleStArTeR>
thx felltir
hmnhf has quit [Ping timeout: 245 seconds]
<Nilium>
Vim's excellent, Sublime's excellent, Emacs is excellent, just pick the thing that you like
<TrOuBleStArTeR>
i'm searching at the moment for the "easiest way"
tkuchiki has quit [Remote host closed the connection]
<TrOuBleStArTeR>
for noob :)
bMalum has joined #ruby
<felltir>
easiest would probably be sublime
chabier has joined #ruby
fenzil has joined #ruby
<TrOuBleStArTeR>
thx all
<Nilium>
Ultimately most of the time you'll spend staring at code and thinking rather than typing anyway, so most editors are fine for performance.
<felltir>
Do tell us what you think later if you like :)
<shevy>
Nilium hmm when the interview is finished, are they no longer your friends?
<nonnatus>
I like that Nilium: treating everyone like your friend. Might take some of the nervousness out of it.
<Nilium>
shevy: Depends on whether they asked me to put whipped cream on my nipples.
<felltir>
The place I work at does code test inteviews, so they're not dead everywhere for sure
valeriansaliou has joined #ruby
<felltir>
+1 to staring and thinking
C1V0 has joined #ruby
<Nilium>
Definitely not dead everywhere, but we axed that practice at my office because the mindset you have during an interview is totally not the one you have when coding, thinking about algorithms, solving problems, etc.
<felltir>
that's true
<Nilium>
Instead we just try to get an idea of someone's background, how they think about problems without necessarily looking for a correct answer, etc.
<Nilium>
If they have a github account, those work for code samples
<felltir>
I always have to factor in "was that due to nerves, were they trying to show off, etc)
<felltir>
s/)/"
<nonnatus>
What sort of tests do your people use felltir? The online resources I've found suggest obscenely simple FizzBuzz style questions, but that just seems wrong.
startupality has quit [Quit: startupality]
<nonnatus>
Of course, it is just an internship so maybe they're just trying to weed people out with those.
<xfz>
it weeds out more applicants than you'd think
<C1V0>
Do you take dates into account on GH projects?
<Nilium>
One of my coworkers did actually ask someone to do fizzbuzz. I laughed and then filed that away in the back of my head for when I set his desk on fire.
<C1V0>
May make it more important for people to cull their accts if being reviewed by it.
<felltir>
nonnatus: We get them to build a very simplified version of what we do as a business, and then we pair on extending that
codecop has joined #ruby
<C1V0>
What if they have something that is 3 years old?
<C1V0>
4 years old, and very different than their most recent projects?
<felltir>
that means we can find out how they work alone, as well as what they're like to pair with
<xfz>
and also demonstrates growth
tkuchiki has quit [Ping timeout: 250 seconds]
<Nilium>
I have stuff from 2009 on my github account and it was fine.
<felltir>
My github is utterly full of useless stuff, and lots of what's there are hacks. It's not in any way representative of the code I write at work.
<nonnatus>
felltir: That sounds completely reasonable.
<Nilium>
I'd think it's more to see that a) you enjoy what you do and b) maybe you can point to a project and talk about it
atmosx has joined #ruby
valeriansaliou has quit [Ping timeout: 255 seconds]
<Nilium>
If you can't, fair enough, just don't bother pointing to your github account
<C1V0>
Reasonable.
cmarques_ is now known as cmarques
<atmosx>
Nilium: he can't?
<Nilium>
Not everyone puts everything on github, some people have private repos, etc., you can't take it as the whole of someone's work
<felltir>
nonnatus: So that's where I'm coming from when I say bring your laptop :)
<Nilium>
atmosx: Not sure what you're asking about
<atmosx>
Nilium: I'm just trolling
havenwood has quit []
ta_ has joined #ruby
<Nilium>
Wow, I just found my old documentation generator on my github account
<Nilium>
Oh god it's terrible
<felltir>
the gems I've written are on my github, and some are just godawful hacks
<nonnatus>
So laptop, resume, that's it?
<Nilium>
I have a handful of gems and they're all mostly awful but they solved a few specific problems I had fairly well
<nonnatus>
And treat them like friends?
<C1V0>
(rabbits foot)
<felltir>
nonnatus: I'd say so. Good luck, and get there on time :)
<Nilium>
That said I'm probably one of the few people who needed structs with direct memory access and correct field alignment and so on in Ruby
<felltir>
Nilium: that's good at least. Mine don't solve a problem anyone should have
<nonnatus>
Are rabbit's feet still a thing? I haven't seen those since middle school.
<nonnatus>
felltir: Thanks. I was planning to leave 30min early to fight with traffic anyway.
devoldm__ has quit [Remote host closed the connection]
<Nilium>
I leave about an hour early before work even though I live 10 minutes away from my office
<felltir>
good idea :) Don't get there too early, either
<Nilium>
The reason is simple, though: there is ice on the road and I have to cross a road that, in the morning, is basically a parade of parents going to and from a local school to drop off their kids
<atmosx>
Nilium: where do you live?
dkb20k has quit [Ping timeout: 240 seconds]
<Nilium>
Sandpoint, Idaho.
dts|pokeball has joined #ruby
<shevy>
in the mountains
<shevy>
he is a hermit now
<Nilium>
Basically the frozen north.
<Nilium>
My mornings involve trying to make sure I don't hit children who cross the road without looking, trying to find an opening in the stream of parents on a particular road, and driving fairly slowly because ice is fun.
<nonnatus>
Well, luckily I don't have to deal with ice, children, or yetis. Just bad drivers in jacked up trucks that could flatten my car in a second.
ajacmac_ is now known as ajacmac
<Nilium>
We have that too.
<Nilium>
They all like to drive really fast on the ice because they think they're good and nothing could possibly go wrong.
<Nilium>
Which is why when the roads first got ice on them a month ago, the number of accidents skyrocketed.
<Nilium>
The yeti is a creature that exists as a quantum superposition of light from a different point in time, so attempting to capture them via photograph is pointless because they're blurry in real life too
<Nilium>
Yetis are basically walking rifts in time.
<godd2>
It's why the "selfie" didn't really take off for them.
Musashi007 has quit [Quit: Musashi007]
Jackneill has quit [Read error: Connection reset by peer]
m8 has quit [Quit: Sto andando via]
anaeem1_ has joined #ruby
<Nilium>
Doctor Who is actually the story of a shaved yeti wearing a bowtie
<shevy>
I mean he might assume you to be one of their kind considering that you have a beard
<shevy>
kin, rather
<atmosx_>
Nilium: Hm, so when do you have need of them?
<shevy>
atmosx_ well Nilium has a big bushy beard like a yeti!
<atmosx_>
shevy: oh, I see he is a linux geek!
<Nilium>
Hunting is pretty much the only reason you should own a gun, I'd think
<shevy>
hunting yetis!
<Nilium>
Yes.
<atmosx_>
haha
<atmosx_>
Yetis are awesome
fenzil has quit [Ping timeout: 240 seconds]
<shevy>
atmosx_ yeah you are right... stallman has a beard... hmm I don't
<atmosx_>
Nilium: oh like in Europe you mean
<Nilium>
If you fire correctly, the bullet goes through the time rift and will strike someone in the past.
wallerdev has quit [Quit: wallerdev]
nfk has quit [Ping timeout: 240 seconds]
bricker has quit [Ping timeout: 264 seconds]
iamninja has quit [Quit: ZZZzzz…]
<Nilium>
atmosx_: Yes, for some reason shooting people in the past via yeti time rift only works in Europe.
phil101 has joined #ruby
<Nilium>
Scientists can't explain it.
<shevy>
well
<godd2>
Nilium so what if I shoot my own grandpa before he was a father?
<Nilium>
It already happened, so you can't avoid it
<godd2>
Is that the darwinian prevention of yeti-shooting?
<atmosx_>
Well, where I live you can get a gun just for hunting. There are ~ 4 deaths per year (on avg) on accidents, because hunter 'Bob' thought that hunter 'Mike' was the boar hiding in the bushes.
<Nilium>
No, it's a time paradox.
<Nilium>
atmosx_: How many of them decide not to wear bright, obviously-not-a-boar clothing?
<godd2>
Nilium it's okay thought, the Yeti centralizes all paradoxiness
<godd2>
though*
<atmosx_>
Nilium: well, the thing is that to hunt such animals you have to be into teams and hide in multiple places, because ... they don't act like birds. They often counter-attack.
<Nilium>
'Cause that definitely happens here because people think they need to be decked out in full camo without any way to signal they're not an animal
jimmyhoughjr has joined #ruby
<Nilium>
Though here you should replace 'boar' with 'moose'
felltir has quit [Remote host closed the connection]
devoldmx_ has joined #ruby
<Nilium>
Moose are to be feared
<atmosx_>
watching a boar attacking at full force while you have to point the gun and shoot him again (because most likely the 1st didn't kill him, but did piss him a lot) isn't exactly easy :-)
waxjar has quit [Quit: Do women wear socks? Well, yes, sometimes, is the answer to that. Socks before or after trousers, but never socks before pants, that’s the rule. Makes a man look scary – like a chicken.]
<atmosx_>
oh boars too
it0a has joined #ruby
<atmosx_>
they are extremely dangerous especially the mature ones
<shevy>
atmosx_ sounds more like Bob wanted to kill Mike and then came up with an excuse
<atmosx_>
the rip dogs like if they're bread.
<atmosx_>
shevy: ah no, they have to split in order to shot the animal from multiple angles
<shevy>
we need to give boars guns
<Nilium>
It seems rather pointless to hunt a thing that can kill you when it wasn't out to kill you until you tried to kill it
<atmosx_>
and since these people are stupid by definition (how can someone smart like to kill anything alive, for no other reason than food is beyond me) I don't expect them to think twice.
<Nilium>
That said, I decided not to go hunting unless the world ends and I have to find food because I just don't want to deal with having to gut and transport a dead animal.
<atmosx_>
shevy: then you also have to consider the fear, which doesn't like you think. You know that 'Mike' was on the other side, so you're like 15 minutes alone not breathing the boar got out of sight and you listen/see some bushes moving. You shoot and.. well.
<Nilium>
It's not fun. Hunting is boring and tedious and a pain in the ass if you actually succeed in the killing part of it.
<atmosx_>
Nilium: yeah, burger king for the win. Not to mention that the quality of Gyros where I live is incredible.
<Nilium>
Not sure about the burger king part, but I'll let other people do the hunting for me.
dseitz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<atmosx_>
Nilium: I totally agree. I can't understand people going around with guns either...
<atmosx_>
Nilium: you're a vegeterian?
<Nilium>
No.
anaeem1__ has joined #ruby
<atmosx_>
Nilium: me either
<atmosx_>
shevy: you a veg?
<Nilium>
Maybe Burger King is better elsewhere, but it's garbage in the US
<shevy>
atmosx_ I am not a vegetarian. However had I don't eat animals. :)
<atmosx_>
Nilium: nah it's garbage everywhere.
<atmosx_>
junk food
anaeem1 has quit [Ping timeout: 245 seconds]
<atmosx_>
shevy: my grandmother (from the GR side) used to slay chickens with her hands... Imean it was incredible. You were watching the chicken running headless for 40-50 seconds.
<atmosx_>
trying to fly, heating here and there. She always had animals. Chickens for food (meat) and eggs.
<atmosx_>
on a side note, I need to fix Sequel's associations and do some debugging/but-hunting tomorrow but the 1st version seems to work.
m8 has joined #ruby
<atmosx_>
shevy: Lizards can regenerate entire body parts IIRC
C1V0 has joined #ruby
<shevy>
yeah but not the head, the hydra however can if you cut it in two!
<atmosx_>
shevy: it's the tail that you need to *kill* IIRC
<atmosx_>
oh you sure?
<shevy>
but then again, don't know if you can actually call it a head
<atmosx_>
might be
startupality has quit [Quit: startupality]
<atmosx_>
really?
<atmosx_>
man nature is amazing
<shevy>
yeah
it0a has quit [Ping timeout: 244 seconds]
<shevy>
the more complex the organism, the less powerful the ability to regenerate :(
<atmosx_>
I was reading about this virus, I think we've discussed it here. That changes the behaviour of the animal until it reaches the definitive host, like toxoplasma
<shevy>
well toxoplasmosis is from a bacteria or? but I know what you mean... rabies virus for instance
<godd2>
shevy just don't eat cat poop and you should be okay
<shevy>
godd2 lol
<shevy>
godd2 you always have the wicked ideas
<shevy>
but you are right, it alters cat behaviour too
<atmosx_>
yeah it's a bacteria
<godd2>
that's how you get toxoplasmosis!
nux443 has quit [Ping timeout: 256 seconds]
razieliyo_ has joined #ruby
<atmosx_>
shevy: hm, not cat behaviour mouse behaviour (that's the amazing part)
naftilos76 has quit [Remote host closed the connection]
<shevy>
oh right
<shevy>
I only remembered cats and mice
<atmosx_>
Mice infected with toxoplasmosis lose their instinctive fear for the smell of cats — and the parasite's effects may be permanent. <-- well IIRC, mouse instead of being repulsed by cat-piss is attracted by it.
tbloncar has joined #ruby
<shevy>
yeah makes sense
<atmosx_>
Probably blocks/modifies the production of some proteins, who knows.
<shevy>
I dunno why I recalled that cats change haha
razieliyo has quit [Ping timeout: 240 seconds]
Morkel has quit [Quit: Morkel]
<godd2>
so leave unwashed vegetables around the house for mice to eat so that they're easier targets for your cat
decoponio has quit [Quit: Leaving...]
<shevy>
it's scary that parasites can alter the behaviour of bigger animals so easily
<atmosx_>
godd2: but you don't want to do that. A cat with toxoplasma is dangerous
<shevy>
godd2 I once accidentally caught a mouse that way
<shevy>
godd2 it crawled into some chocolate-nougat leftovers in some kind of small bag. it could go in, but failed to go out and suffocated. I was surprised to see a dead mouse with that wrapping over its head the next day
<atmosx_>
shevy: yeah, I was reading another article about a similar parasite, that was trying to reach some bird as definitive host in a remove island. So scientists there found out that the parasite was infecting lizards, who went at the top of tree and committed actual suicide because when dead the birds where eating them. It almost killed the entire species in the island.
razieliyo_ is now known as razieliyo
razieliyo has quit [Changing host]
razieliyo has joined #ruby
<shevy>
hehe
<shevy>
atmosx_ I know the exact same thing if you replace lizards with ants; or snails
centrx has quit [Quit: Science is organized knowledge, wisdom is organized life.]
<atmosx_>
shevy: imagine if humans decode and are able to replicate the mechanism, what weapons of mass-destruction will fly around.
devoldmx_ has quit [Remote host closed the connection]
Phagus has joined #ruby
Menorah has quit [Quit: This computer has gone to sleep]
Menorah has joined #ruby
<shevy>
atmosx_ it's cool that this is intelligent behaviour even though I am sure the parasite itself has no idea why it is doing what it is doing
<Phagus>
What's a good gem for stats?
<sondr3>
dumb question, I'm looping over an array with 'array_name.each do |things|' but there's an array inside of that array that'd I'd like to output nicely, right now it just prints the array and I haven't found any relevant answers while googling
<atmosx_>
shevy: what I can't understand is how a parasite know that his next host likes 'maggot'
<atmosx_>
shevy: hm, I think you're right but I still can't explain it.
<shevy>
atmosx_ don't think they know; remember how many die without reproducing, get eaten by others and so forth
boulderruby has joined #ruby
<atmosx_>
sondr3: can you paste the code and the result on a gist?
<shevy>
atmosx_ but of course there must be a genetic programming to build up everything in the first place, and then this kind of ... pulsing behaviour. there must be some neuronal pulse or something that it moves like that to catch the attention of birds
anaeem1__ has quit [Read error: Connection reset by peer]
<atmosx_>
shevy: exactly, what's the probability to be a casual action?
<atmosx_>
I mean nearly ~ -
<atmosx_>
0
shotgundebugging has joined #ruby
JohnBat26 has joined #ruby
JohnBat26 has quit [Client Quit]
rbennacer has joined #ruby
<sondr3>
atmosx_ bleh, nevermind, I figured it out myself, just a bad case of the dumb :)
anaeem1_ has joined #ruby
mrmargolis has joined #ruby
parduse has quit []
boulderruby has left #ruby [#ruby]
boulder-ruby has joined #ruby
mattwildig has quit []
rbennacer has quit [Ping timeout: 240 seconds]
LouisRoR has joined #ruby
giuseppesolinas has quit [Quit: This computer has gone to sleep]
pwnz0r has quit [Remote host closed the connection]
jherbst has joined #ruby
weaksauce has joined #ruby
boulder-ruby has quit [Quit: boulder-ruby]
iamninja has joined #ruby
boulder-ruby has joined #ruby
antgel has joined #ruby
parduse has joined #ruby
ixti has quit [Ping timeout: 264 seconds]
kiyote23 has joined #ruby
alekst has joined #ruby
ta_ has joined #ruby
fenzil has joined #ruby
shotgundebugging has quit []
StoneCypher has joined #ruby
towski_ has joined #ruby
kiyote23 has quit [Ping timeout: 245 seconds]
spider-mario has quit [Remote host closed the connection]
mengu has quit [Remote host closed the connection]
Musashi007 has quit [Quit: Musashi007]
mengu has joined #ruby
mengu has quit [Changing host]
mengu has joined #ruby
jmdade has joined #ruby
tvarley has quit [Client Quit]
<bradland>
the ability to make fudge is a skill i discourage anyone from learning
<StoneCypher>
why?
mustmodify has joined #ruby
<bradland>
it can very easily lead to the necessity for an increase in pants size
<bradland>
i mean, there’s the whole self-control thing
avrc has quit [Quit: this channel is bakas]
<bradland>
but there’s self-control, and then there’s “in the other room sets a whole rubbermaid tub full of fudge, and i’m not going to have any more of it” self-control
nicolastarzia has quit [Ping timeout: 250 seconds]
mengu__ has joined #ruby
mengu has quit [Read error: No route to host]
<mustmodify>
bradland: While my wife disapproves, I have found the trashcan helps with that.
Areessell has quit [Quit: leaving]
<bradland>
mustmodify: man, that’s such a great idea
axilla has quit [Quit: Lost terminal]
<bradland>
so such thing as left-overs, means i can abandon my vigil
<StoneCypher>
bradland: oh
<StoneCypher>
bradland: i have found that by giving away most of the candy i make, i can still have high quality handmade candy without getting much fatter, and then other people can have handmade candy too
<mustmodify>
bradland: I mean, it may seem crazy, "Oh you can't just throw out food! Starving kids in Africa!" I tell you, you CAN throw out food and should, if it's unhealthy.
otherj has joined #ruby
<godd2>
bradland's new years resolution: make a little less fudge this year
<bradland>
yeah, we made a bit too much
otherj has quit [Client Quit]
<shevy>
lol
<bradland>
gave away a ton of it
<shevy>
starving kids in africa
<bradland>
lol
<StoneCypher>
bradland: so what you're saying is, if i know how to make something way, way better than fudge ... i should /not/ teach you.
<shevy>
do you send it over to africa?
<bradland>
yeah, i learned to make two kinds of candy a couple of years ago
<bradland>
fortunately, i can’t make one of them on the stupid halogen stove top we have
<bradland>
i’m avoiding learning any more
Phagus has quit [Quit: leaving]
<StoneCypher>
:)
<StoneCypher>
ok
Hobogrammer has joined #ruby
Musashi007 has joined #ruby
startupality has joined #ruby
__chris has quit [Remote host closed the connection]
lw has quit [Quit: s]
pwnz0r has joined #ruby
mustmodify has left #ruby [#ruby]
Menorah has quit [Quit: This computer has gone to sleep]
<shevy>
his mind sure enough is set out on fudge
testcore_ has quit [Ping timeout: 250 seconds]
s00pcan has quit [Ping timeout: 265 seconds]
bkok has joined #ruby
Lingo_ has quit [Quit: Be back later ...]
startupality has quit [Client Quit]
timonv_ has joined #ruby
bricker has joined #ruby
boulder-ruby has quit [Quit: boulder-ruby]
nfk has joined #ruby
boulder-ruby has joined #ruby
Menorah has joined #ruby
claymore has quit [Quit: Leaving]
freerobby has joined #ruby
nateberkopec has quit [Quit: Leaving...]
ddd has joined #ruby
josephndenton has joined #ruby
<Nilium>
His mind should be set on strawberries. Or Go gophers.
<Nilium>
I have an incoming gopher squadron, so I'm set on the latter, at least.
dkb20k has joined #ruby
cyberarm_ has joined #ruby
startupality has joined #ruby
tchebb has quit [Ping timeout: 256 seconds]
deryl has quit [Ping timeout: 255 seconds]
fenzyl has joined #ruby
testcore_ has joined #ruby
dc_ has quit [Remote host closed the connection]
josephndenton has quit [Ping timeout: 265 seconds]
dkb20k has quit [Ping timeout: 240 seconds]
voodoofish430 has joined #ruby
_KaszpiR__ has joined #ruby
devoldmx_ has joined #ruby
djbkd_ has joined #ruby
Sawbones has joined #ruby
baroquebobcat_ has joined #ruby
ikanobori_ has joined #ruby
Skelz0r_ has joined #ruby
bricker_ has joined #ruby
rgs_ has joined #ruby
emmesswhy has joined #ruby
speaking1ode has joined #ruby
Rickmast_ has joined #ruby
felltir has joined #ruby
felltir has quit [Client Quit]
yeltzooo9 has joined #ruby
headius_ has joined #ruby
RandyT_ has joined #ruby
peeja_ has joined #ruby
crazysim_ has joined #ruby
bronson has joined #ruby
blackgoat_ has joined #ruby
scottyob_ has joined #ruby
oetjenj has quit [Read error: Connection reset by peer]
Flcn__ has quit [Read error: Connection reset by peer]
troter___ has joined #ruby
tchebb has joined #ruby
StoneCypher4k has joined #ruby
oleo__ has joined #ruby
marahin_ has joined #ruby
cescalante_ has joined #ruby
Flcn__ has joined #ruby
devoldmx_ has quit [Ping timeout: 265 seconds]
nonnatus_ has joined #ruby
oetjenj has joined #ruby
warreng_ has joined #ruby
bricker_ has quit [Ping timeout: 240 seconds]
genta0 has joined #ruby
nisstyre_ has joined #ruby
it0a has joined #ruby
Rickmasta has quit [Ping timeout: 256 seconds]
cyberarm has quit [Ping timeout: 256 seconds]
pardusf has joined #ruby
aboudreault has quit [Ping timeout: 256 seconds]
troter__ has quit [Ping timeout: 256 seconds]
voodoofish4301 has quit [Ping timeout: 256 seconds]
fenzil has quit [Ping timeout: 256 seconds]
baroquebobcat has quit [Ping timeout: 256 seconds]
rgs has quit [Ping timeout: 256 seconds]
yeltzooo has quit [Ping timeout: 256 seconds]
ruisantos has quit [Ping timeout: 256 seconds]
Skelz0r has quit [Ping timeout: 256 seconds]
callumacrae has quit [Ping timeout: 256 seconds]
headius has quit [Ping timeout: 256 seconds]
oleo__ is now known as 16WAASSYP
Menorah has quit [Ping timeout: 256 seconds]
marahin has quit [Ping timeout: 256 seconds]
crazysim has quit [Ping timeout: 256 seconds]
nisstyre has quit [Ping timeout: 256 seconds]
scottyob has quit [Ping timeout: 256 seconds]
hackeron has quit [Ping timeout: 256 seconds]
salmonax_ has quit [Ping timeout: 256 seconds]
genta has quit [Ping timeout: 256 seconds]
oleo__ has joined #ruby
warreng has quit [Ping timeout: 256 seconds]
speakingcode has quit [Ping timeout: 256 seconds]
peeja has quit [Ping timeout: 256 seconds]
blackgoat has quit [Ping timeout: 256 seconds]
cescalante has quit [Ping timeout: 256 seconds]
_KaszpiR_ has quit [Ping timeout: 256 seconds]
ikanobori has quit [Ping timeout: 256 seconds]
TheMoonMaster has quit [Ping timeout: 256 seconds]
bricker has quit [Ping timeout: 256 seconds]
giuseppesolinas has joined #ruby
gomix has quit [Ping timeout: 256 seconds]
oleo__ has quit [Client Quit]
pardusf has joined #ruby
Soda has quit [Ping timeout: 256 seconds]
pardusf has quit [Changing host]
RandyT has quit [Ping timeout: 264 seconds]
Spleeze has quit [Ping timeout: 264 seconds]
anskeit has quit [Ping timeout: 264 seconds]
oleo has quit [Read error: Connection reset by peer]
djbkd has quit [Ping timeout: 264 seconds]
parduse has quit [Ping timeout: 264 seconds]
hackeron_ has joined #ruby
rowdychildren has joined #ruby
rowdychildren has quit [Ping timeout: 264 seconds]
Spleeze has joined #ruby
joast has quit [Ping timeout: 264 seconds]
RandyT_ is now known as RandyT
warreng_ is now known as warreng
baroquebobcat_ is now known as baroquebobcat
marahin_ is now known as marahin
peeja_ is now known as peeja
ohaibbq has quit [Remote host closed the connection]
rowdychildren has quit [Changing host]
rowdychildren has joined #ruby
troter___ is now known as troter__
anskeit has joined #ruby
timonv_ has quit [Remote host closed the connection]
crazysim_ is now known as crazysim
salmonax has joined #ruby
marahin is now known as Guest50935
gomix has joined #ruby
callumacrae has joined #ruby
TheMoonMaster_ has joined #ruby
nonnatus has quit [Ping timeout: 250 seconds]
valeriansaliou has quit [Quit: Be back later ...]
ruisantos has joined #ruby
bronson has quit [Ping timeout: 240 seconds]
timonv_ has joined #ruby
Kricir_ has joined #ruby
StoneCypher has quit [Ping timeout: 250 seconds]
16WAASSYP has quit [Client Quit]
aboudreault has joined #ruby
StoneCypher4k is now known as StoneCypher
bricker has joined #ruby
oleo has joined #ruby
freerobby has quit [Quit: Leaving.]
keen__________22 has joined #ruby
it0a has quit [Ping timeout: 240 seconds]
fenzyl has quit [Quit: Leaving]
Sawbones has quit [Remote host closed the connection]
keen__________21 has quit [Ping timeout: 244 seconds]
valeriansaliou has joined #ruby
it0a has joined #ruby
felltir has joined #ruby
felltir has quit [Remote host closed the connection]
Asher has joined #ruby
tvw has quit [Ping timeout: 245 seconds]
bMalum has joined #ruby
felltir has joined #ruby
emmesswhy has quit [Quit: This computer has gone to sleep]
luriv has quit [Read error: Connection reset by peer]
Sawbones has joined #ruby
valeriansaliou has quit [Quit: Be back later ...]
kiyote23 has joined #ruby
Flcn__ has quit [Quit: Be back later ...]
luriv has joined #ruby
tvw has joined #ruby
Musashi007 has quit [Quit: Musashi007]
valeriansaliou has joined #ruby
Musashi007 has joined #ruby
pedro_morgan has left #ruby ["Konversation terminated!"]
startupality has quit [Quit: startupality]
Sawbones has quit [Ping timeout: 245 seconds]
ixti has quit [Ping timeout: 265 seconds]
devoldmx has joined #ruby
kiyote23 has quit [Ping timeout: 256 seconds]
startupality has joined #ruby
Kricir_ has quit [Remote host closed the connection]
timonv_ has quit [Remote host closed the connection]
<sondr3>
okay, I'm back again, I have a class with a bunch of parameters and I'm wondering if it's possible to populate it from a JSON file? I have the code here in this gist: https://gist.github.com/sondr3/86f4c0c23703ca4e5898 but I haven't figured out how yet, you can see in the gist that I can fill it out manually but that'd be pretty cumbersome
<sondr3>
thanks guys, I'll look at it, appreciate it
Spami has quit [Read error: Connection reset by peer]
<leafybasil>
Indeed, but for a trivial script, it doesn't really matter
<[spoiler]>
leafybasil: everything matters! :D
axl_ has joined #ruby
<leafybasil>
I guess it would be a bad habit to get into
<bradland>
who says his script is trivial?
tvw has quit [Ping timeout: 250 seconds]
<leafybasil>
bradland: it was an assumption
<bradland>
i mean, i’ve used hashie plenty in my scripts, but i carefully consider it first
<leafybasil>
Agreed
<sondr3>
haha, I'm pretty new to programming and ruby and wanted to try to make a monopoly manager for fun with sinatra, challenging but fun, so it's nothing sophisticated
codecop has quit [Remote host closed the connection]
<leafybasil>
sondr3: no but I still shouldn't have assumed it was a single file script
<sondr3>
no worries
Azure has joined #ruby
carvantes has joined #ruby
<[spoiler]>
sondr3: you'd basically do something like `params.each {|k, v| instance_variable_set('@' << k.to_s, v) }`
lw has quit [Ping timeout: 244 seconds]
nisstyre_ has joined #ruby
nisstyre_ has quit [Changing host]
<sondr3>
awesome, thank you
<[spoiler]>
(I haven't tested it, so careful with it :P)
reset has quit [Quit: Leaving...]
<sondr3>
no worries, every other time I save something breaks, haha
axl_ has quit [Quit: axl_]
<[spoiler]>
not sure if you will need to use `self.instance_variable_set` instead of `instance_variable_set`; I don't think you should need to
reset has joined #ruby
ajacmac has quit [Quit: Going offline, see ya! (www.adiirc.com)]
_Andres has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
rbennacer has joined #ruby
Spami has joined #ruby
rbennacer has quit [Client Quit]
jefus__ has joined #ruby
ixti has joined #ruby
rbennacer has joined #ruby
rbennacer has quit [Client Quit]
zorak8 has joined #ruby
jefus_ has quit [Ping timeout: 240 seconds]
reset has quit [Quit: Leaving...]
dc_ has joined #ruby
<mr_george>
Is there a to run a simple local server and generate HTML/JS for basic user interaction? I'm looking for an alternative to a basic GUI.
iamninja has quit [Quit: ZZZzzz…]
Guest50935 is now known as marahin
marahin has quit [Changing host]
marahin has joined #ruby
<godd2>
mr_george rails ships with webrick which is a server. I don't know what sinatra offers, but you can look into that too. sinatra is much leaner than rails
<mr_george>
godd2, I was kind of hoping for a simple framework particularly to generate HTML and do some of the communication for me.
<mr_george>
I am familiar with sinatra and it is easy enough to build a server with it and write the HTML myself.
<godd2>
I'm not sure then what you mean by "generate html". can you give an example or elaborate?
<mr_george>
But this is just for an in-house tool, and I was hoping I could write just the basic UI code without setting up a server and writing the HTML for it.
tujv has joined #ruby
jschoolcraft has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
giuseppesolinas has quit [Quit: This computer has gone to sleep]
dfinninger has quit [Remote host closed the connection]
ixti has quit [Read error: Connection reset by peer]
Axy has quit [Read error: Connection reset by peer]
mgorbach has joined #ruby
C1V0 has quit [Ping timeout: 244 seconds]
basichash has quit [Read error: Connection reset by peer]
C1V0 has joined #ruby
<godd2>
I don't know of anything that will write html in the way you're asking. It would be difficult to know ahead of time what a given developer would want. Do mean something similar to wordpress templates?
<godd2>
becuase if so, you can always browse those and copy the source
_2_Keny has joined #ruby
_2_Keny has quit [Remote host closed the connection]
valeriansaliou has quit [Ping timeout: 256 seconds]
mengu__ has quit [Remote host closed the connection]
Takle has quit [Remote host closed the connection]
mengu has joined #ruby
mengu has joined #ruby
Azure has quit [Quit: My MBP went to sleep.]
Spami has quit [Ping timeout: 245 seconds]
jottr has joined #ruby
anaeem1_ has quit [Remote host closed the connection]
anaeem1 has joined #ruby
ndrei has quit [Ping timeout: 245 seconds]
Heskie has quit []
Heskie has joined #ruby
ta_ has quit [Ping timeout: 265 seconds]
tbloncar has quit [Quit: Leaving.]
tujv has quit [Quit: tujv]
mengu has quit [Ping timeout: 265 seconds]
Channel6 has quit [Remote host closed the connection]
anaeem1 has quit [Ping timeout: 240 seconds]
ch33s3c4k3 has joined #ruby
tujv has joined #ruby
ch33s3c4k3 has quit [Client Quit]
tujv has quit [Client Quit]
josephndenton has joined #ruby
tbloncar has joined #ruby
ta_ has joined #ruby
Photism has joined #ruby
tbloncar has quit [Client Quit]
tbloncar has joined #ruby
Spami has joined #ruby
Azure has joined #ruby
towski_ has quit [Remote host closed the connection]
ta_ has quit [Ping timeout: 265 seconds]
_Andres has joined #ruby
<[spoiler]>
i think he wants a file-server-over-http, unless I'm misunderstanding
<[spoiler]>
like a file manager, basically
Cust0sLim3n has quit [Read error: Connection timed out]
Cust0sLim3n has joined #ruby
<pontiki>
like: ruby -run -e httpd . -p 8888
<pontiki>
?
<[spoiler]>
that will serve the current directory only
<pontiki>
yes
<[spoiler]>
i think he wants to manage files, too
nicolastarzia has joined #ruby
_Andres has quit [Client Quit]
<pontiki>
what does "manage files" mean?
<[spoiler]>
as in CRUD operations on the files
<[spoiler]>
erm
giuseppesolinas has joined #ruby
<[spoiler]>
idk
soupson has quit [Ping timeout: 255 seconds]
<[spoiler]>
i think that's what hes after at least
<[spoiler]>
I could be wrong
tvw has joined #ruby
tbloncar has quit [Ping timeout: 244 seconds]
<shevy>
perhaps he wants a pr0nserver
nicolastarzia has quit [Ping timeout: 245 seconds]
<[spoiler]>
lol
cesarstafe has joined #ruby
Musashi007 has quit [Quit: Musashi007]
<pontiki>
mr_george: when you say "write just the basic UI code" are you looking for, say, a javascript console? something akin to irb that processing JS code?
ajacmac has joined #ruby
<Crazy_Atheist>
who has used commander(cli options/app 'maker') before
g0dc0mpl3x has joined #ruby
anaeem1 has joined #ruby
gregf has quit [Quit: WeeChat 1.0.1]
anaeem1 has quit [Remote host closed the connection]