yoongkang has quit [Remote host closed the connection]
yoongkang has joined #ruby
freerobby has quit [Quit: Leaving.]
<starfox_sf>
I can ping both
ebbflowgo has joined #ruby
matugm has quit [Client Quit]
<jhass>
sounds like google is blocking connections on port 25 from your network then
freerobby has joined #ruby
<starfox_sf>
nice...
<jhass>
home broadband?
<starfox_sf>
yeah
<jhass>
thank the spammers and windows people not securing their shit then ;)
<starfox_sf>
I will make sure I send them a thank you card.
<jhass>
that's nice
<starfox_sf>
jhass: thanks btw
<jhass>
yw
metallicrwr_ has joined #ruby
dgutierrez1287 has quit [Ping timeout: 264 seconds]
commondream has joined #ruby
sandstrom has quit [Quit: My computer has gone to sleep.]
cats has quit [Ping timeout: 272 seconds]
havenn has quit [Ping timeout: 264 seconds]
arooni-mobile has quit [Ping timeout: 256 seconds]
al2o3-cr has quit [Ping timeout: 255 seconds]
ogpastaling has quit [Remote host closed the connection]
bruceleez has joined #ruby
djbkd_ has quit []
commondream has quit [Ping timeout: 265 seconds]
<bruceleez>
hello - has anyone gone through Chris Pine's how to learn Ruby book?
<jhass>
?anyone
<ruboto>
Just ask your question, if anyone has or can, they will respond.
<bruceleez>
well, I've created a program but kind of cheated by using a command that hasn't been mentioned in the book so far and I want to rectify this.
arescorpio has joined #ruby
<jhass>
I see no issue
bmurt has quit []
<jhass>
using the best tool you know is a good mindset
<lupine>
unless it means you never learn about another tool, of course
<bruceleez>
I have the following code "sorted_array = Array.new(array_size)" but the method "new" has not been mentioned.
dopie has quit [Quit: Leaving]
<lupine>
hmm, that's an odd one
<lupine>
you can just do []
GnuYawk has quit [Ping timeout: 256 seconds]
<lupine>
the value of pre-filling your array with nils is questionable
cats has joined #ruby
<jhass>
well, it does avoid the resizing if you know the target size you're going to fill up
<jhass>
but that's perhaps something to optimize if it proves to be a bottleneck
<bruceleez>
I'll share the code. I found the solution the other day but I'm returning to it to address this issue. What's the website to share code again?
<jhass>
?gist
<ruboto>
https://gist.github.com - Multiple files, syntax highlighting, even automatically with matching filenames, can be edited
simplyianm has quit [Remote host closed the connection]
<bruceleez>
I asked a question about sorting lists the other day and someone mentioned bubble sort. I'm wondering what is the most efficient way to sort?
vifino has joined #ruby
cytoskeletor has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<bruceleez>
that's a side question, but concerning the code, the issue is with line 11. The rest of the code is fine
<bruceleez>
at least i think it is ;/
francois_ has joined #ruby
<jhass>
you're overthinking this
bruno- has quit [Ping timeout: 244 seconds]
simplyianm has joined #ruby
<centrx>
what the heck
<bruceleez>
?
symm- has quit [Ping timeout: 244 seconds]
francois_ has quit [Ping timeout: 246 seconds]
rgb-one has quit [Read error: Connection reset by peer]
cytoskeletor has joined #ruby
<centrx>
bruceleez, Use Array#sort to sort?
kies has joined #ruby
ebbflowgo has quit [Quit: ebbflowgo]
ndrei has quit [Ping timeout: 252 seconds]
CustosLimen has quit [Ping timeout: 245 seconds]
Scroff has quit [Remote host closed the connection]
<bruceleez>
hi centrx - sorry i should have been clear. The aim of the program is to sort without using the sort method. if you enter any random words it will sort for you.
bmurt has joined #ruby
ReK2 has quit [Remote host closed the connection]
scripore has quit [Quit: This computer has gone to sleep]
bmurt has quit [Client Quit]
mdz_ has joined #ruby
al2o3-cr has joined #ruby
Guest10032 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
baweaver has quit [Remote host closed the connection]
robustus has quit [Ping timeout: 255 seconds]
failshell has joined #ruby
mdz_ has quit [Ping timeout: 264 seconds]
lordkryss has quit [Quit: Connection closed for inactivity]
robustus|Off has joined #ruby
robustus|Off is now known as robustus
micmus has quit [Ping timeout: 264 seconds]
mleung has quit [Quit: mleung]
mleung has joined #ruby
senayar has quit [Remote host closed the connection]
failshell has quit [Ping timeout: 252 seconds]
dopie has joined #ruby
AbinoamJr has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
krisquigley has joined #ruby
bruceleez has quit [Ping timeout: 272 seconds]
<lupine>
quicksort
<lupine>
whatever the question, quicksort is always the answer
<Ox0dea>
lupine: Which pivot is best pivot?
LJT has quit [Quit: Sleeping...]
krisquigley has quit [Ping timeout: 276 seconds]
LJT has joined #ruby
LJT has quit [Client Quit]
Azure has quit [Ping timeout: 264 seconds]
cytoskeletor has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Azure has joined #ruby
FernandoBasso has quit [Quit: WeeChat 1.2]
micmus has joined #ruby
ylla has joined #ruby
mcclurmc has quit [Remote host closed the connection]
Guest6 has joined #ruby
serivich has joined #ruby
bruno- has joined #ruby
<shevy>
I think I just accidentally found a loop in my program
mcclurmc has joined #ruby
<shevy>
I had two different files with the same method name
yoongkang has quit [Remote host closed the connection]
scripore has joined #ruby
bmurt has joined #ruby
JamesDH has joined #ruby
JamesDH has quit [Client Quit]
EllisTAA has quit [Quit: EllisTAA]
Pupeno has joined #ruby
Spami has joined #ruby
mcclurmc has quit [Remote host closed the connection]
Pupeno has quit [Remote host closed the connection]
maletor has joined #ruby
bruno- has quit [Ping timeout: 252 seconds]
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
towski_ has quit [Remote host closed the connection]
bkxd has joined #ruby
pontiki has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
simplyianm has quit [Remote host closed the connection]
<Ox0dea>
Non-alphanumeric Ruby is also a "thing".
simplyianm has joined #ruby
<jhass>
but it's not as ugly
<Ox0dea>
It's... pretty u
yfeldblum has quit [Ping timeout: 265 seconds]
<Ox0dea>
Whoops.
<jhass>
shit, I remember actually reading that blog post now
simplyianm has quit [Remote host closed the connection]
<Ox0dea>
Heh.
<Ox0dea>
The JS one, or Ruby?
duncannz has joined #ruby
<jhass>
the js one
mary5030 has joined #ruby
<Ox0dea>
A number of people have explored that territory; that was just the first search result.
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Ox0dea>
The JS approach is more interesting in that it's reaching into real objects and grabbing portions of their properties, but then the code is just brackets for days.
rubynewby has quit [Quit: Page closed]
<Ox0dea>
Doing it in Ruby just involves taking advantage of how many symbols have meaning in the syntax.
<Ox0dea>
Read: everything but '#'.
bmurt has quit []
balazs has joined #ruby
Yiota has joined #ruby
Lucky__ has joined #ruby
havenwood has joined #ruby
BlueProtoman has joined #ruby
RegulationD has joined #ruby
workmad3 has joined #ruby
<BlueProtoman>
Kernel::format isn't a security risk with arbitrary format strings in the same way printf is in C, is it?
yfeldblum has joined #ruby
lkba has quit [Read error: Connection reset by peer]
lkba_ has joined #ruby
nikhgupta has joined #ruby
<Ox0dea>
>> '%9999999d' % 1
<ruboto>
Ox0dea, I'm terribly sorry, I could not evaluate your code because of an error: OpenURI::HTTPError:500 Internal Server Error
<Ox0dea>
Sorry about that, ruboto.
RegulationD has quit [Ping timeout: 255 seconds]
ferr has joined #ruby
freerobby has quit [Quit: Leaving.]
workmad3 has quit [Ping timeout: 276 seconds]
ramfjord has quit [Read error: Connection reset by peer]
<Ox0dea>
BlueProtoman: That was essentially a call to Kernel::format, in case you didn't catch it.
nikhgupta has quit [Client Quit]
<BlueProtoman>
Ox0dea: I'm sorry, I don't follow.
ramfjord has joined #ruby
nikhgupta has joined #ruby
<Ox0dea>
BlueProtoman: Are you aware that ruboto evaluates messages prefixed with ">> " as Ruby code?
<BlueProtoman>
Ox0dea: Yes, that I figured out.
<Ox0dea>
Then the rest should be clear.
<BlueProtoman>
Ox0dea: Then I wouldn't have asked. Are you implying that Kernel::format is unsafe?
<Ox0dea>
Do *you* like it when your server shits itself?
pepelui has joined #ruby
<Ox0dea>
Neither does your server.
nikhgupta has quit [Client Quit]
jpfuentes2 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<BlueProtoman>
Ox0dea: Oh, that throws an ArgumentError, right?
ylla has quit [Ping timeout: 252 seconds]
hardlin3r has quit [Ping timeout: 250 seconds]
mrmargolis has quit [Remote host closed the connection]
Agoldfish has quit [Quit: G'Bye]
<BlueProtoman>
Ox0dea: I should clarify. Remember that format flag I was fussing about earlier? I finished it, and decided that if the user provides bad input, that's not my problem. If there'
<BlueProtoman>
If there's an exception, I just return the error message instead of the format string and get on with it.
jpfuentes2 has joined #ruby
<BlueProtoman>
(The site user doesn't provide the format string; the Jekyll user, i.e. the website designer, does)
jerius has joined #ruby
noethics has quit [Ping timeout: 246 seconds]
CloCkWeRX has quit [Quit: Leaving.]
jerius_ has joined #ruby
<Ox0dea>
BlueProtoman: You should be all right, then.
charliesome has joined #ruby
<Ox0dea>
Ruby does give you the power to muck about with its internal bookkeeping, but you've gotta really want to.
<BlueProtoman>
Ox0dea: Okay, just making sure. I wanna use this Liquid tag at work, and I wanna see if I can get it into the github-pages gem (I think a "format" tag would be really useful, and I'm not sure why there isn't one already).
<BlueProtoman>
*and I also wanna see if
jerius has quit [Ping timeout: 256 seconds]
nikhgupta has joined #ruby
<BlueProtoman>
(GitHub pages uses Jekyll, which is written in Ruby and can be extended with it; but they don't allow arbitrary plugins for security reasons, so I wanna try to get this approved)
justintv90 has joined #ruby
<pontiki>
a sprintf-like format filter for liquid? i'd be all for it
ferr has quit [Quit: WeeChat 1.2]
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nikhgupta has quit [Remote host closed the connection]
millerti has joined #ruby
<EllisTAA>
i’m trying to create a tiny search engine for a class project, and when i run this file it says uninitialized constant DatabaseBuilder::Url (NameError)
zenguy_pc has quit [Read error: Connection reset by peer]
<Ox0dea>
It's gotta be the nastiest parser in the mainstream programming world.
<nwmcsween>
should see how rubinious parses ruby
zenguy_pc has joined #ruby
<Ox0dea>
I suspect it's comparatively gorgeous.
commondream has joined #ruby
<nwmcsween>
has to be better thank yacc
<nwmcsween>
than
Spami has joined #ruby
bruno- has quit [Ping timeout: 265 seconds]
commondream has quit [Remote host closed the connection]
sophiapstefan has quit [Quit: sophiapstefan]
freerobby has quit [Quit: Leaving.]
mcclurmc has joined #ruby
francois_ has joined #ruby
<Ox0dea>
Is there any precedent for enabling a gem to update itself when appropriate?
yoongkang has quit [Remote host closed the connection]
yoongkang has joined #ruby
Cache_Money has quit [Quit: Cache_Money]
Cache_Money has joined #ruby
chouhoulis has joined #ruby
francois_ has quit [Ping timeout: 272 seconds]
mdz_ has joined #ruby
allcentury has joined #ruby
bosma has quit [Quit: Leaving]
Obfuscate has quit [Ping timeout: 265 seconds]
zotherstupidguy has joined #ruby
snockerton has joined #ruby
ScriptGeek has quit [Quit: Leaving.]
chouhoulis has quit [Ping timeout: 244 seconds]
allcentury has quit [Ping timeout: 265 seconds]
mdz_ has quit [Ping timeout: 252 seconds]
<snockerton>
if I have an array of like hashes, [{a: 1, b: 2, c: 3}, {a: 2, b: 3, c: 4}] how can I turn this into an array of hashes minus a couple k/v pairs?
<snockerton>
[{a: 1, b: 2}, {a: 2, b: 3}]
hotpancakes has quit []
sophiapstefan has joined #ruby
GnuYawk has joined #ruby
<Ox0dea>
snockerton: You haven't very clearly specified your selection predicate, but...
<Ox0dea>
There's also %w for "words", and both of their capitalized counterparts permit interpolation.
Spami has quit [Quit: This computer has gone to sleep]
failshell has quit [Ping timeout: 244 seconds]
Xiti has joined #ruby
CyborgCygnus has quit [Read error: Connection reset by peer]
<snockerton>
is the underscore to indicate an unused value in the select block?
skade has joined #ruby
bosma has joined #ruby
chinmay_dd has joined #ruby
<sophiapstefan>
Heya, I was here a couple days ago under my nickname, and haven't been available since, but- I'll paste it in- I'm trying to figure out how to make this figure go DOWN. I know I have to use an (x,y) type of coordinate system- but I'm basing this off of a template a book gave me, and I'm trying to make a game out of it, and I'm not experienced.
casadei has quit [Remote host closed the connection]
<Ox0dea>
More specifically, any underscore-prefixed parameter name can be duplicated.
<sophiapstefan>
Thank you all! This is incredibly helpful.
joaomdmoura has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<Ox0dea>
sophiapstefan: Did it work?
<sophiapstefan>
The code given in the github link prints out a great world- but it doesn't move. I don't think i'm doing that right. I'll try something
ledestin has joined #ruby
<Ox0dea>
sophiapstefan: Are you required to shell out to stty in order to get raw character input?
mc_fail has quit [Ping timeout: 246 seconds]
gianlucadv has joined #ruby
<Ox0dea>
Maybe your instructor doesn't know about and would appreciate being made aware of io/console. :)
<sophiapstefan>
Yes, unfortunately.
<Ox0dea>
Alas.
<sophiapstefan>
This is a very basic class- I think he just wants us to try and find a good way to get a solid x,y coordinate system in there. I hate the "here just try to figure it out for yourself before I teach you how to do it" problems. :((
scripore has quit [Quit: This computer has gone to sleep]
<sophiapstefan>
Ah! It works- there's a few bugs, but that's fine....
toretore has quit [Quit: Leaving]
<Ox0dea>
Famous last words.
<sophiapstefan>
Truly!!
<nwmcsween>
hmm can you express y combinator in ruby?
<nwmcsween>
ah nvm yes
<Ox0dea>
No.
lapide_viridi has joined #ruby
<Ox0dea>
Z combinator, yes.
chinmay_dd has quit [Remote host closed the connection]
<Ox0dea>
fac and fib are one more level of indirection "around" the Y combinator.
<Ox0dea>
The Y combinator, strictly speaking, only works in normal-order languages.
houhouli_ has quit [Remote host closed the connection]
chinmay_dd has joined #ruby
<Ox0dea>
Erm, applicative-order...
skade has quit [Read error: Connection reset by peer]
<Ox0dea>
Math is hard, let's go shopping.
skade has joined #ruby
<nwmcsween>
now I wonder how the c version works must make a fat call stack
pragmatism has joined #ruby
atomical has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<nwmcsween>
yep
A205B064 has quit [Ping timeout: 252 seconds]
<sophiapstefan>
I would write a whole class for the player's figure. It would store its own position and its own size. I would also have it provide one more method: getRowCharacters(y) that returns the ascii characters that are in the specified row. That way, in your print loop, you can check each position, before you print it, for whether the figure is present in that position. If it is, then you can print all the characters for that row, then
<sophiapstefan>
skip your loop forward a number of steps equal to the number of characters you just printed.
<sophiapstefan>
Problem is- I have no idea how to do ANY of this!
<sophiapstefan>
I know WHAT I have to do, just now how to do it.
chinmay_dd has quit [Remote host closed the connection]
<Ox0dea>
nwmcsween: I wasn't very clear back there, but did you catch the gist?
<Ox0dea>
Notice that fac and fib are both a lambda inside a lambda, rather than just a single lambda.
scripore has joined #ruby
<Ox0dea>
This is to overcome the limitations of applicative order.
<Ox0dea>
The lambda is evaluated too soon without the wrapper.
simplyianm has joined #ruby
<Ox0dea>
sophiapstefan: It seems you're being taught, or else learning, how to press certain characters on your keyboard rather than how to program in Ruby. :/
<Ox0dea>
*limitations of normal order
<Ox0dea>
Christ.
<Ox0dea>
Bedtime.
roolo has joined #ruby
<sophiapstefan>
I would agree! But i have no other choice until the fall.
<Ox0dea>
sophiapstefan: You don't appear to be illiterate. :P
michael_mbp has quit [Excess Flood]
<sophiapstefan>
Yeah. I just have to tough it out until I manage to figure out what he wants!
<sophiapstefan>
oh well.
balazs has joined #ruby
<baweaver>
Say hello to most programming classes :/
simplyianm has quit [Ping timeout: 244 seconds]
Eiam has quit [Remote host closed the connection]
Musashi007 has joined #ruby
<baweaver>
nwmcsween: To be fair it's more the theory behind it than anything
michael_mbp has joined #ruby
erts has joined #ruby
<Ox0dea>
baweaver: And here I was convinced that there were little Turing machines inside all the transistors.
balazs has quit [Ping timeout: 252 seconds]
bkxd has joined #ruby
commondream has joined #ruby
dcarmich has joined #ruby
aylla has quit [Ping timeout: 246 seconds]
erts has quit [Quit: erts]
ex0ns has quit [Read error: Connection reset by peer]
ex0ns has joined #ruby
erts has joined #ruby
erts has quit [Changing host]
erts has joined #ruby
erts_ has joined #ruby
erts_ has quit [Remote host closed the connection]
RegulationD has joined #ruby
workmad3 has joined #ruby
MVPhelp has joined #ruby
GnuYawk has joined #ruby
commondream has quit [Ping timeout: 256 seconds]
mcclurmc has quit [Remote host closed the connection]
yayfoxes has joined #ruby
meph has joined #ruby
Ox0dea has quit [Quit: WeeChat 1.3-dev]
workmad3 has quit [Ping timeout: 246 seconds]
RegulationD has quit [Ping timeout: 272 seconds]
skade has quit [Read error: No route to host]
skade has joined #ruby
aapole has joined #ruby
sophiapstefan has quit [Quit: sophiapstefan]
MVPhelp has quit [Remote host closed the connection]
MVPhelp has joined #ruby
moshee has quit [Ping timeout: 264 seconds]
yayfoxes has quit [Ping timeout: 272 seconds]
greenbagels_ has quit [Quit: Leaving]
allcentury has joined #ruby
greenbagels has joined #ruby
antgel has joined #ruby
allcentury has quit [Ping timeout: 256 seconds]
kraljev11 has joined #ruby
kraljev11 is now known as kraljev11_
yfeldblum has quit [Ping timeout: 265 seconds]
Akagi201 has joined #ruby
kraljev11 has joined #ruby
sophiapstefan has joined #ruby
sophiapstefan has left #ruby [#ruby]
_ht has joined #ruby
pepperbreath1 has left #ruby [#ruby]
bruno- has joined #ruby
kraljev11_ has quit [Ping timeout: 246 seconds]
bruno- has quit [Ping timeout: 244 seconds]
vdamewood has joined #ruby
swgillespie has joined #ruby
ta has quit [Remote host closed the connection]
j4cknewt has joined #ruby
niemc2 has joined #ruby
senayar has joined #ruby
skade has quit [Read error: Connection reset by peer]
j4cknewt has quit [Ping timeout: 256 seconds]
skade has joined #ruby
mleung has quit [Quit: mleung]
x77686d has joined #ruby
x77686d has quit [Client Quit]
ylla has joined #ruby
micmus has joined #ruby
ta has joined #ruby
speaking1ode has joined #ruby
n008f4g_ has joined #ruby
failshell has joined #ruby
ylla has quit [Remote host closed the connection]
Levko has quit [Quit: Page closed]
ylla has joined #ruby
hardlin3r has joined #ruby
acke has joined #ruby
yoongkang has quit [Remote host closed the connection]
Billias has quit [Read error: Connection reset by peer]
gluten_hell_ has quit [Read error: Connection reset by peer]
tkuchiki has joined #ruby
gluten_hell_ has joined #ruby
roshanavand has joined #ruby
tkuchiki has quit [Remote host closed the connection]
rubie has quit [Ping timeout: 265 seconds]
Billias has joined #ruby
riotjones has quit [Ping timeout: 272 seconds]
Ishiro has joined #ruby
mrsolo has quit [Quit: Connection closed for inactivity]
qwertme has joined #ruby
zotherstupidguy has quit [Quit: WeeChat 1.2]
aapole has quit [Ping timeout: 246 seconds]
workmad3 has joined #ruby
zotherstupidguy has joined #ruby
niemcu has joined #ruby
noethics has joined #ruby
CloCkWeRX has joined #ruby
CloCkWeRX has left #ruby [#ruby]
senayar has quit [Remote host closed the connection]
kraljev11 has joined #ruby
workmad3 has quit [Ping timeout: 250 seconds]
michael_mbp has quit [Excess Flood]
michael_mbp has joined #ruby
startupality has joined #ruby
spider-mario has joined #ruby
qwertme has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
startupality has quit [Client Quit]
RegulationD has joined #ruby
Jackneill has joined #ruby
chinmay_dd has joined #ruby
ebbflowgo has joined #ruby
RegulationD has quit [Ping timeout: 246 seconds]
allomov has quit [Remote host closed the connection]
konsolebox has joined #ruby
axsuul has quit [Ping timeout: 252 seconds]
edwinvdg_ has quit [Remote host closed the connection]
startupality has joined #ruby
edwinvdgraaf has joined #ruby
balazs has joined #ruby
skade has joined #ruby
platzhirsch has quit [Remote host closed the connection]
j4cknewt has joined #ruby
allomov has joined #ruby
balazs has quit [Ping timeout: 265 seconds]
bkxd has quit [Ping timeout: 244 seconds]
hakunin has quit [Remote host closed the connection]
dopie has quit [Quit: This computer has gone to sleep]
ebbflowgo has quit [Quit: ebbflowgo]
chinmay_dd has quit [Remote host closed the connection]
workmad3 has joined #ruby
dopie has joined #ruby
Narzew has joined #ruby
tomphp has joined #ruby
platzhirsch has joined #ruby
skade has quit [Read error: No route to host]
skade has joined #ruby
kies has quit [Ping timeout: 256 seconds]
workmad3 has quit [Ping timeout: 265 seconds]
timonv has joined #ruby
sarkyniin has joined #ruby
ta has joined #ruby
roshanavand has quit [Ping timeout: 276 seconds]
startupality has quit [Quit: startupality]
allcentury has joined #ruby
chinmay_dd has joined #ruby
DexterLB has quit [Read error: Connection reset by peer]
ta has quit [Ping timeout: 276 seconds]
DexterLB has joined #ruby
lapide_viridi has joined #ruby
dopie has quit [Quit: This computer has gone to sleep]
roshanavand has joined #ruby
arturmartins has quit [Ping timeout: 276 seconds]
apt-get_ has joined #ruby
arturmartins has joined #ruby
stamina has joined #ruby
vickleton has joined #ruby
pontiki has joined #ruby
sarkyniin has quit [Read error: Connection reset by peer]
<pontiki>
morning
<quazimodo>
hullo
yfeldblum has joined #ruby
<pontiki>
how're things?
skade has quit [Quit: Computer has gone to sleep.]
j4cknewt has quit [Remote host closed the connection]
MasterPiece has quit [Quit: Leaving]
skade has joined #ruby
roshanavand has quit [Remote host closed the connection]
failshell has joined #ruby
failshell has quit [Ping timeout: 240 seconds]
<apeiros>
moin pontiki
<pontiki>
hi apeiros
<apeiros>
everything's horrible. and you?
nihils has joined #ruby
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nichtdiebohne has quit [Ping timeout: 264 seconds]
nihils has quit [Read error: Connection reset by peer]
phutchins has joined #ruby
aapole has joined #ruby
serivich has joined #ruby
kirun has joined #ruby
<pontiki>
everything is awesome!!
<pontiki>
and all that denial-type bullshit
krisquigley has joined #ruby
pragmatism has quit [Ping timeout: 245 seconds]
workmad3 has joined #ruby
platzhirsch has left #ruby [#ruby]
allomov has quit [Remote host closed the connection]
sonOfRa has quit [Quit: Bye!]
sonOfRa has joined #ruby
Ishiro has quit [Quit: (null)]
krz has joined #ruby
lapide_viridi has quit [Quit: Leaving]
meph has quit [Quit: Leaving.]
yoongkang has quit [Remote host closed the connection]
dgutierrez1287 has joined #ruby
krisquigley has quit [Ping timeout: 272 seconds]
jpfuentes2 has joined #ruby
workmad3 has quit [Ping timeout: 255 seconds]
spider-mario has quit [Quit: No Ping reply in 180 seconds.]
jpfuentes2 has quit [Client Quit]
<apeiros>
pontiki: cool, cool
<apeiros>
is it at least getting better? :)
jpfuentes2 has joined #ruby
yoongkang has joined #ruby
<pontiki>
one bit of stress is out of my life, the product has shipped
<pontiki>
now it's just the lingering sense of doom
jpfuentes2 has quit [Client Quit]
konsolebox has quit [Remote host closed the connection]
<shevy>
:)
<shevy>
drama... dramatic... dramatiki!
mgorbach has quit [Ping timeout: 264 seconds]
skade has quit [Read error: No route to host]
jpfuentes2 has joined #ruby
<pontiki>
sorry
hedgecore has quit [Ping timeout: 276 seconds]
mgorbach has joined #ruby
The_Phoenix has quit [Quit: Leaving.]
<nickjj>
pontiki, post-ship is usually more stress unless you have a well tested deployment/alerting system setup
<pontiki>
we have had that, this isn't first release. i think this is version 5.x
<pontiki>
but it contains major new functionality that i wrote major bits of
nfk has joined #ruby
gluten_hell_ has quit [Quit: Computer has gone to sleep.]
<pontiki>
and the added fun that no one was actually assigned to this project; we all had full-time gigs that paid
sarkyniin has joined #ruby
unshadow has quit [Quit: leaving]
<pontiki>
idk, i shouldn't complain
mistnim has joined #ruby
<pontiki>
i love this company
<pontiki>
they're the best people i've worked with in probably two decades
jpfuentes2 has quit [Ping timeout: 265 seconds]
<apeiros>
pontiki: awesome @ product has shipped!
spider-mario has joined #ruby
<apeiros>
don't worry, the lingering doom will not be all that impactful
mistnim has quit [Remote host closed the connection]
k3asd` has quit [Ping timeout: 246 seconds]
<pontiki>
i didn't want to get this emotionally invested
<apeiros>
happens
<pontiki>
always
<apeiros>
:)
<apeiros>
means you're still part human and not yet fully transformed to a mouse ;-p
jcaho has quit [Read error: Connection reset by peer]
apt-get_ has quit [Ping timeout: 276 seconds]
<pontiki>
so many times i've worked at places and seen so many stupidities, especially in how management deals with people, that make me so angry
jcaho has joined #ruby
lkba_ has joined #ruby
<pontiki>
generally well under a year
millerti has joined #ruby
<pontiki>
smartest bloody group of people
lkba has quit [Ping timeout: 256 seconds]
sdothum has joined #ruby
ta has joined #ruby
<atmosx>
hello
dgutierrez1287 has quit [Remote host closed the connection]
dgutierrez1287 has joined #ruby
Soda has joined #ruby
Rickmasta has joined #ruby
j4cknewt has joined #ruby
charliesome has joined #ruby
<pontiki>
hello, atmosx
ta has quit [Ping timeout: 252 seconds]
dfockler has joined #ruby
workmad3 has joined #ruby
rubie has joined #ruby
Narzew has quit [Ping timeout: 240 seconds]
bruno- has quit [Ping timeout: 272 seconds]
<atmosx>
pontiki: I read you just shipped, cool.
ledestin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<pontiki>
ya, thanks
The_Phoenix has joined #ruby
<pontiki>
first push to prod was a soft release last monday. i was adding major pieces of functionality until after midnight tuesday (so wednesday)
<pontiki>
the app absolutely had to be done by the time the conference started on thursday
<atmosx>
ah, high pressure
dfockler has quit [Ping timeout: 265 seconds]
<pontiki>
indeed
<atmosx>
you had any all-nighters?
<pontiki>
i'm way too old for that
<atmosx>
=)
<pontiki>
but almost 20 hours on tuesday
<atmosx>
I see, rails app?
<pontiki>
yes
workmad3 has quit [Ping timeout: 245 seconds]
<pontiki>
just a stupid rails app, moving and displaying data
<atmosx>
and you didn't had any phonecalls about it the first 3 days it went live, so I guess you're fine.
<atmosx>
Displaying data for a DS system to pick it up?
<pontiki>
only 2
rubie has quit [Ping timeout: 265 seconds]
<pontiki>
no, this is just forms and stuff
<atmosx>
ah k
<pontiki>
i mean, there's some science in the formulae for brewing, but that's none of my stuff
<pontiki>
mine has been all the e-commerce stuff
<atmosx>
I see
bruno- has joined #ruby
maxshelley has joined #ruby
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<pontiki>
there's still a major major issue that i haven't figured out, but we've just side-stepped it in the app for now
charliesome has quit [Quit: zzz]
sarkyniin has quit [Ping timeout: 265 seconds]
zotherstupidguy has quit [Ping timeout: 240 seconds]
<pontiki>
and crikey there's some embarrassing stuff in there i never want anyone to see
charliesome has joined #ruby
A205B064 has joined #ruby
dgutierrez1287 has quit [Remote host closed the connection]
<jhass>
so everything as always
<pontiki>
indeed
<pontiki>
this is the post-partum blues
<atmosx>
hahahaha
chinmay_dd has quit [Remote host closed the connection]
<atmosx>
There few things that I hate more than (extremely) slow procedures where you have to *wait* until something appears on a black screen.
startupality has joined #ruby
zotherstupidguy has joined #ruby
* atmosx
is dumping an RPi image to an SD card
symm- has joined #ruby
<jhass>
pkill -1 dd ?
<atmosx>
jhass: no, no it's not an option.
scripore has quit [Quit: This computer has gone to sleep]
<atmosx>
I have to get this music-box setup and get over with.
<jhass>
also extremely slow? forgot to set a decent buffer size?
RegulationD has joined #ruby
<jhass>
SIGHUP (1) makes dd print the progress
<atmosx>
jhass: I'm using OSX's rdisk1 it goes as fast as it's physically possible.
<jhass>
heh
<atmosx>
it's prone to errors though
marr has joined #ruby
<atmosx>
apeiros: you do web-dev too, at work?
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<atmosx>
1369.229683 seconds ~ 22 minutes.
<atmosx>
a lifetime
yfeldblum has quit [Ping timeout: 265 seconds]
<jhass>
how big?
chris2 has quit [Ping timeout: 252 seconds]
<atmosx>
1,7G Volumio1.55PI.img
caseypatrickdris has joined #ruby
<jhass>
that's really slow
<jhass>
you'll need to buy better sd cards
<atmosx>
it's a class 10
RegulationD has quit [Ping timeout: 265 seconds]
<jhass>
then rdisk1 is crap
<jhass>
our your reader
<atmosx>
maybe it's the card reader, but even the embedded card reader on the MBA is just as slow.
kirun_ has joined #ruby
arup_r has joined #ruby
<atmosx>
do you have any numbers to back up your CLAIMS?
<atmosx>
lol
failshell has joined #ruby
mistnim has joined #ruby
<pontiki>
that does seem slow. mine get done in about 3 minutes
<pontiki>
and i thought that was an interminable wait
mistnim has quit [Remote host closed the connection]
<jhass>
class10 should make 10MB/s
<atmosx>
and USB2 should make around 400 MB/s
caseypat_ has joined #ruby
<jhass>
yeah, 3 minutes seems realistic for a class 10
<atmosx>
I don't know why it's so slow but it has always been.
vickleton has quit [Ping timeout: 264 seconds]
kirun_ has quit [Client Quit]
hardlin3r has quit [Ping timeout: 276 seconds]
qwertme has joined #ruby
WillAmes has joined #ruby
caseypatrickdris has quit [Read error: Connection reset by peer]
mistnim has joined #ruby
<jhass>
I mean 20 minutes, that's what, 1.5MB/s?
chris2 has joined #ruby
<jhass>
my broadband is faster than that
aapole has quit [Ping timeout: 240 seconds]
bronson has joined #ruby
failshell has quit [Ping timeout: 240 seconds]
<atmosx>
jhass: you're making me feel awful. My broadband reaches 700 kb/s max.
allomov has joined #ruby
<jhass>
:P
<atmosx>
..
k3asd` has joined #ruby
bruno- has quit [Read error: Connection reset by peer]
<jhass>
I do wonder if dd if=whatever of=/dev/whatever bs=5M or something like that is faster for you
bruno- has joined #ruby
<atmosx>
ah no
<atmosx>
tried that out
<jhass>
with bs=5M or similar?
mistnim has quit [Remote host closed the connection]
bruno- has quit [Read error: Connection reset by peer]
charliesome has quit [Quit: zzz]
yoongkang has quit [Remote host closed the connection]
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
lapide_viridi has joined #ruby
bronson has quit [Ping timeout: 255 seconds]
mistnim has joined #ruby
Rickmasta has joined #ruby
<atmosx>
I've treid with 1024K before didn't see any difference. Then I've read somewhere that with rdisk on OSX speed doesn't matter, it goes as fast as possible.
j4cknewt has quit [Remote host closed the connection]
<atmosx>
r stands for 'raw', but it's dangerous. If an error occurs it won't get reported
leslie has quit [Ping timeout: 264 seconds]
<atmosx>
I think the problem is the all-in-one SD card reader or my iMac is just too old.
bruno- has joined #ruby
endash has joined #ruby
mistnim has quit [Remote host closed the connection]
mistnim has joined #ruby
mdz_ has joined #ruby
leslie has joined #ruby
leslie has quit [Changing host]
leslie has joined #ruby
stamina has quit [Quit: WeeChat 1.2]
<shevy>
oh
<shevy>
Mac
<shevy>
now there is your problem
symm- has quit [Ping timeout: 276 seconds]
bruno- has quit [Read error: Connection reset by peer]
startupality has quit [Quit: startupality]
<atmosx>
lol
<atmosx>
linux is an accident waiting to "happen" :-P
mary5030 has joined #ruby
mistnim has quit [Remote host closed the connection]
<shevy>
you have to know how to work with its warts :)
bruno- has joined #ruby
<atmosx>
hehe true
codecop has joined #ruby
startupality has joined #ruby
bruno- has quit [Read error: Connection reset by peer]
mdz_ has quit [Ping timeout: 276 seconds]
<pontiki>
wow, i'm smelling cigar smoke from outside
<pontiki>
who smokes a cigar at 7 in the morning??
<shevy>
young people!
<shevy>
my neighbor smokes late night
<pontiki>
that's crazy talk
<shevy>
since it is hot here, I have my window open, and the smoke gets in :(
unshadow has joined #ruby
<atmosx>
pontiki: why are you awake at 7 am in the morning? Are you big on exercise or something?
<pontiki>
i woke up about 5 am and couldn't get back to sleep
* atmosx
the neighbours is at least 0.8 km away in all directions so...
<atmosx>
err neighbour*
<pontiki>
tho now i want to crawl back in bed, but i know my mom will start ringing for me any minute
<atmosx>
pontiki: well, at least it's Sunday.
bruno- has joined #ruby
<atmosx>
heh
skade has joined #ruby
<atmosx>
gonna grab somethin to eat, later all
mary5030 has quit [Remote host closed the connection]
bruno- has quit [Read error: Connection reset by peer]
k3asd` has quit [Ping timeout: 265 seconds]
chouhoulis has joined #ruby
<shevy>
Sundays are lazy days
edwinvdg_ has joined #ruby
bruno- has joined #ruby
<pontiki>
they should be
<pontiki>
but i still have to attend to my parents' needs
caseypat_ has quit [Ping timeout: 255 seconds]
bruno- has quit [Read error: Connection reset by peer]
edwinvdgraaf has quit [Ping timeout: 252 seconds]
codenihal has joined #ruby
<codenihal>
What are symbols? i just cant get my head around them
<codenihal>
?
chouhoulis has quit [Ping timeout: 255 seconds]
bruno- has joined #ruby
zotherstupidguy has quit [Ping timeout: 264 seconds]
<pontiki>
sorta like labels
bruno- has quit [Read error: Connection reset by peer]
bruno- has quit [Read error: Connection reset by peer]
AbinoamJr has joined #ruby
chris2 has joined #ruby
zenguy_pc has quit [Read error: Connection reset by peer]
dgutierrez1287 has joined #ruby
zenguy_pc has joined #ruby
wmoxam has quit [Quit: leaving]
wmoxam has joined #ruby
lkba has joined #ruby
lkba_ has quit [Read error: Connection reset by peer]
qwertme has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
AlphaAtom has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
allomov has quit [Remote host closed the connection]
charliesome has joined #ruby
<shevy>
lol
<shevy>
another one fell to Ox0dea's hammer
qwertme has joined #ruby
erts has quit [Ping timeout: 240 seconds]
bkxd has joined #ruby
scripore has joined #ruby
hexxx has joined #ruby
mrmargolis has joined #ruby
bin_005 has quit [Ping timeout: 265 seconds]
<pontiki>
i was almost banned from a channel for using that
krisquigley has joined #ruby
greenbagels has quit [Quit: Leaving]
lapide_viridi has quit [Quit: Leaving]
micmus has quit [Quit: Leaving]
krisquigley has quit [Ping timeout: 250 seconds]
ahmadsoe has joined #ruby
AlphaAtom has joined #ruby
bruno- has joined #ruby
ruurd has quit [Quit: Zzzzz z zz ...]
hector__ has joined #ruby
skade has quit [Read error: Connection reset by peer]
skade has joined #ruby
yoongkang has joined #ruby
hexxx has quit [Quit: hexxx]
ziprar has quit [Ping timeout: 244 seconds]
RegulationD has joined #ruby
codecop has quit [Remote host closed the connection]
psy_ has joined #ruby
ndrei has joined #ruby
railsraider has joined #ruby
sarkyniin has joined #ruby
dreatn has joined #ruby
atomical has joined #ruby
RegulationD has quit [Ping timeout: 246 seconds]
charliesome has quit [Quit: zzz]
chris2 has quit [Ping timeout: 265 seconds]
jume has joined #ruby
devdazed has joined #ruby
qwertme has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
zenguy_pc has quit [Read error: Connection reset by peer]
zenguy_pc has joined #ruby
senayar has joined #ruby
senayar has quit [Changing host]
senayar has joined #ruby
michael_mbp has quit [Excess Flood]
serivich has quit [Ping timeout: 240 seconds]
psy_ has quit [Ping timeout: 264 seconds]
qwertme has joined #ruby
michael_mbp has joined #ruby
j4cknewt has joined #ruby
chris2 has joined #ruby
devdazed has quit [Quit: Computer has gone to sleep.]
workmad3 has joined #ruby
allcentury has quit [Ping timeout: 246 seconds]
blackmesa has joined #ruby
skade has quit [Read error: No route to host]
skade has joined #ruby
mary5030 has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
workmad3 has quit [Ping timeout: 265 seconds]
maxshelley has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
lxsameer has quit [Quit: Leaving]
yqt has joined #ruby
ta has joined #ruby
weszlem has joined #ruby
scripore has joined #ruby
justintv90 has quit [Read error: Connection reset by peer]
<shevy>
does one of you know the behaviour
<shevy>
say, I have a gem called foobar
senayar has quit [Remote host closed the connection]
<shevy>
the latest version is 1.0.0
startupality has quit [Quit: startupality]
mary5030 has quit [Ping timeout: 256 seconds]
<shevy>
and I have it installed. if I then do "gem install foobar", will it download 1.0.0 again?
<shevy>
the message is sort of confusing
<shevy>
"Successfully installed kramdown-1.7.0"
arup_r has quit [Ping timeout: 265 seconds]
AbinoamJr has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<jalcine>
if it doesn't have the gem cached, afaik
<shevy>
I would have expected something like "Latest version kramdown-1.7.0 is already installed." or something like that
startupality has joined #ruby
havenwood has joined #ruby
<jalcine>
what version of Bundler are you using? When I attempt to install an already installed gem, it's just quiet for me
chouhoulis has joined #ruby
<jalcine>
on gem 2.4.5
<jalcine>
(not Bundler then, gem)
<shevy>
hmm I am on 2.4.8
<shevy>
but now that you mention it
<shevy>
I think I may have a gemrc file ...
<shevy>
oh yeah... I have an entry there :verbose: true
<shevy>
hmm no, it still writes that message
weszlem has quit [Ping timeout: 272 seconds]
ta has quit [Ping timeout: 252 seconds]
<shevy>
jalcine, does gem not yield to you the "Successfully installed" part message?
<jalcine>
nope
mdz_ has joined #ruby
<jalcine>
also with 'verbose: true' in my ~/.gemrc
kraljev11 has quit [Ping timeout: 255 seconds]
aapole has joined #ruby
howdoi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
veleno has joined #ruby
michael_mbp has quit [Excess Flood]
failshell has joined #ruby
chouhoulis has quit [Ping timeout: 264 seconds]
freerobby has joined #ruby
mdz_ has quit [Ping timeout: 245 seconds]
michael_mbp has joined #ruby
<borodin>
ok folks - I switched my app from development to production - it's serving pages but all the assets are missing (failed to,load resource - 404). Is there a checklist for "stuff you must do to switch to RAILS_ENV=production ?
veleno has quit [Client Quit]
failshell has quit [Ping timeout: 246 seconds]
aapole has quit [Ping timeout: 240 seconds]
blackmesa has quit [Quit: WeeChat 1.2]
<jalcine>
err things like running `rake assets:precompile` and `rake db:migrate` are two that should be on there
<jalcine>
in reverse order, bo
blackmesa has joined #ruby
k3asd` has joined #ruby
timonv has quit [Ping timeout: 240 seconds]
startupality has quit [Quit: startupality]
hardlin3r has joined #ruby
dionysus69 has joined #ruby
ndrei has quit [Ping timeout: 244 seconds]
ikbenhet has joined #ruby
n3vtelen has joined #ruby
blackmesa has quit [Read error: Connection reset by peer]
n3vtelen has left #ruby ["Leaving"]
blackmesa has joined #ruby
AbinoamJr has joined #ruby
Outlastsheep is now known as zz_Outlastsheep
michael_mbp has quit [Excess Flood]
darkf has quit [Quit: Leaving]
michael_mbp has joined #ruby
AbinoamJr has quit [Client Quit]
bkxd has quit [Ping timeout: 276 seconds]
blackmesa has quit [Ping timeout: 256 seconds]
<jhass>
?crosspost borodin
<ruboto>
borodin, Please do not crosspost without at least telling so and mentioning provided suggestions and their outcome in all channels. Experience shows that people don't do either, and not doing so is considered rude.
mcclurmc has joined #ruby
xcesariox has joined #ruby
enebo has joined #ruby
casadei has joined #ruby
cytoskeletor has joined #ruby
adac has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
trollstation has joined #ruby
<trollstation>
Ruby fucking sucks pythons dick
<jhass>
!mute trollstation
<jhass>
such creativity
chinmay_dd has joined #ruby
jume has left #ruby [#ruby]
mcclurmc has quit [Ping timeout: 246 seconds]
<borodin>
jhass sorry for the crosspost - I made a mistake
<borodin>
but thanks for your help
rindolf has joined #ruby
<havenwood>
g'mornin
<rindolf>
Hi all.
<rindolf>
havenwood: morning. Sup?
<borodin>
still doesn't work, however. I wonder if it's due to using docker for the web server
dreatn has quit [Quit: On the other hand, you have different fingers.]
NeverDie has joined #ruby
<jhass>
borodin: your reverse proxy is configured to serve them?
bkxd has joined #ruby
<borodin>
in dev I don't have any proxy
<jhass>
yes, that's normal
<havenwood>
rindolf: Hmm, maybe brunch. ;)
wildroman2 has quit [Ping timeout: 276 seconds]
<rindolf>
havenwood: om nom nom.
wildroman2 has joined #ruby
NeverDie has quit [Max SendQ exceeded]
trollstation has left #ruby [#ruby]
<jhass>
!unmute trollstation
blackmesa has joined #ruby
niemc2 has joined #ruby
NeverDie has joined #ruby
<borodin>
that guys has some recent pain he needs to free himself of
enebo has quit [Quit: enebo]
startupality has joined #ruby
ylla has quit [Ping timeout: 264 seconds]
niemcu has quit [Ping timeout: 240 seconds]
allcentury has joined #ruby
yardenbar has quit [Quit: Leaving]
blackmesa has quit [Ping timeout: 256 seconds]
<shevy>
lol
commondream has joined #ruby
wildroman2 has quit [Ping timeout: 272 seconds]
scripore has quit [Quit: This computer has gone to sleep]
unshadow has quit [Quit: leaving]
zotherstupidguy has quit [Quit: WeeChat 1.2]
rubie has joined #ruby
allcentury has quit [Ping timeout: 252 seconds]
ndrei has joined #ruby
adac has quit [Ping timeout: 276 seconds]
Rickmasta has joined #ruby
_whitelogger has joined #ruby
allcentury has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
DLSteve has joined #ruby
commondream has quit [Remote host closed the connection]
ruby-lang493 has joined #ruby
k3asd` has quit [Ping timeout: 264 seconds]
rubie has quit [Ping timeout: 265 seconds]
arturmartins has quit [Read error: Connection reset by peer]
arturmartins has joined #ruby
ndrei has quit [Ping timeout: 265 seconds]
weszlem has joined #ruby
davedev24_ has joined #ruby
wildroman2 has joined #ruby
ta has joined #ruby
davedev2_ has quit [Ping timeout: 265 seconds]
trollstation has joined #ruby
chinmay_dd has quit [Remote host closed the connection]
nhhagen has joined #ruby
<trollstation>
Jhass why you do that joker
S_Walker has joined #ruby
<jhass>
!mute trollstation
<jhass>
sorry for the noise
trollstation has left #ruby [#ruby]
<adaedra>
wait, how could he talk if he was muted
<jhass>
nah I unmuted after he left
<jhass>
thought no need to clutter up the list
<jhass>
thought wrong ;)
ruby-lang493 has quit [Ping timeout: 246 seconds]
<adaedra>
ah yes, here it is — scrolled too fast
weszlem has quit [Ping timeout: 264 seconds]
scripore has joined #ruby
mdz_ has joined #ruby
ta has quit [Ping timeout: 252 seconds]
ikbenhet has quit [Ping timeout: 276 seconds]
cytoskeletor has quit [Ping timeout: 276 seconds]
mary5030 has joined #ruby
banister has joined #ruby
banister has quit [Max SendQ exceeded]
mary5030 has quit [Remote host closed the connection]
rbennacer has joined #ruby
krisquigley has joined #ruby
mdz_ has quit [Ping timeout: 276 seconds]
<pontiki>
borodin: you have the assets volume mounted for your web server container?
rbennacer has quit [Remote host closed the connection]
<pontiki>
probably a stupid question, sorry
xcesariox has quit [Max SendQ exceeded]
<borodin>
the app with all the assets etc is in a volume, yes
<borodin>
typically this means when I make changes to the local filesystem, those changes appear in the webserver and in the browser
<shevy>
jhass perhaps he has more than just that account here
railsraider has quit [Ping timeout: 240 seconds]
railsraider_ has joined #ruby
<jhass>
maybe, I see no other client with the same host so we can't know
adac has joined #ruby
zotherstupidguy has quit [Ping timeout: 245 seconds]
zotherstupidguy has joined #ruby
krisquigley has quit [Ping timeout: 256 seconds]
pepelui has quit [Quit: Leaving.]
platosha__ has quit [Ping timeout: 256 seconds]
banister has joined #ruby
banister has quit [Max SendQ exceeded]
atomical has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ylla has joined #ruby
platosha has joined #ruby
fsvehla has joined #ruby
platosha has quit [Max SendQ exceeded]
platosha has joined #ruby
atomical has joined #ruby
rbennacer has joined #ruby
RegulationD has joined #ruby
iamninja has joined #ruby
sinkensabe has joined #ruby
hakunin has joined #ruby
RegulationD has quit [Ping timeout: 252 seconds]
ScriptGeek has joined #ruby
phutchins has quit [Ping timeout: 244 seconds]
`Nibble_ has quit [Quit: ...]
Guest6 has joined #ruby
k3asd` has joined #ruby
JDiPierro has joined #ruby
sinkensabe has quit [Remote host closed the connection]
niemc2 has quit [Ping timeout: 240 seconds]
ndrei has joined #ruby
endash has quit [Quit: endash]
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bkxd has quit [Ping timeout: 246 seconds]
mleung has joined #ruby
railsraider_ has quit [Quit: railsraider_]
startupality has quit [Quit: startupality]
allcentury has quit [Ping timeout: 256 seconds]
gluten_hell_ has joined #ruby
hakunin has quit [Remote host closed the connection]
JDiPierro has quit [Remote host closed the connection]
balazs has joined #ruby
trollstation has joined #ruby
dgutierrez1287 has quit [Remote host closed the connection]
mleung has quit [Quit: mleung]
mintux has joined #ruby
mintux has left #ruby [#ruby]
workmad3 has joined #ruby
Pisuke has joined #ruby
rubie has joined #ruby
MyMind has quit [Ping timeout: 265 seconds]
trollstation has left #ruby [#ruby]
bruno- has quit [Ping timeout: 264 seconds]
chinmay_dd has joined #ruby
phutchins has joined #ruby
balazs has quit [Remote host closed the connection]
bmurt has joined #ruby
balazs has joined #ruby
workmad3 has quit [Ping timeout: 276 seconds]
bzb has joined #ruby
bzb has quit [Read error: Connection reset by peer]
balazs has quit [Remote host closed the connection]
spider-mario has quit [Read error: Connection reset by peer]
<EllisTAA>
I’m trying to iterate over an array of urls and turn those urls into nokogiri objects using an each loop, but everytime it runs it raises an error ‘undefined method ‘join’ for #<String;-01293-01293”> does anyone know how i can iterate over a list of urls and turn them into nokogiri objects without getting this error?
<apeiros>
they're gone already jhass
<jhass>
hence I said anything
ilr has joined #ruby
<jhass>
ilr: wb
<apeiros>
?code EllisTAA
<ruboto>
EllisTAA, We can't help you without your code, please post it to https://gist.github.com
<EllisTAA>
ok 1 sec
chinmay_dd has quit [Remote host closed the connection]
jcoe has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<apeiros>
main is not a keyword in ruby, if that's what you mean
tomphp has joined #ruby
<Vendo>
apeiros: So what does it mean to say it will interpret my use of main as a regular variable or method name?
Spami has joined #ruby
<Vendo>
apeiros: I'm reading Eloquent Ruby parallel with The well grounded rubyist (1.9 version) and also have the pickaxe book 1.9&2.0. Is it ok to use those books?
<apeiros>
again, context.
allomov has joined #ruby
<Vendo>
A bit outdated
<apeiros>
yes
vdamewood has quit [Quit: Life beckons.]
<apeiros>
I don't have those books, so that context does not help
Scroff has quit [Ping timeout: 252 seconds]
<Vendo>
v
<Vendo>
main is a special term that the default self object uses to refer to itself. You can’trefer to it as main; Ruby will interpret your use of main as a regular variable or methodname.
<apeiros>
but I guess all it means is: main is not a keyword. it's a normal method- or lvar name
<apeiros>
gtg
wildroman2 has quit [Remote host closed the connection]
aapole has joined #ruby
yqt has joined #ruby
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tennis_ has joined #ruby
chouhoulis has joined #ruby
<Vendo>
It clearly says, "Ruby will interpret your use of main as a regular variable or methodname."
allomov has quit [Ping timeout: 255 seconds]
<jhass>
can you phrase a more specific question?
EllisTAA has quit [Quit: EllisTAA]
<jhass>
what's unclear to you?
<Vendo>
Interpret? I can do main = 1
<jhass>
yes
senayar has joined #ruby
chouhoulis has quit [Ping timeout: 272 seconds]
Scroff has joined #ruby
nhhagen has quit [Remote host closed the connection]
gubznf has joined #ruby
gubznf has left #ruby [#ruby]
aapole has quit [Ping timeout: 256 seconds]
joaomdmoura has joined #ruby
senayar has quit [Ping timeout: 252 seconds]
e1nh4nd3r has joined #ruby
Scroff has quit [Remote host closed the connection]
e1nh4nd3r has quit [Client Quit]
Scroff has joined #ruby
e1nh4nd3r has joined #ruby
Scroff has quit [Remote host closed the connection]
workmad3 has joined #ruby
DEA7TH has quit [Ping timeout: 255 seconds]
flughafen_ has joined #ruby
ikbenhet has joined #ruby
senayar has joined #ruby
Akagi201 has joined #ruby
qwertme has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
blackmesa has quit [Ping timeout: 252 seconds]
lessless has joined #ruby
Guest6 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
someword has joined #ruby
veleno has joined #ruby
workmad3 has quit [Ping timeout: 264 seconds]
<flughafen_>
shevy: ahoy
EllisTAA has joined #ruby
<flughafen_>
certainty: hi
senayar has quit [Ping timeout: 246 seconds]
Channel6 has joined #ruby
yqt has quit [Ping timeout: 264 seconds]
banister has joined #ruby
banister has quit [Max SendQ exceeded]
failshell has joined #ruby
atm0sphere_ has joined #ruby
bluOxigen has joined #ruby
bluOxigen has left #ruby [#ruby]
<atm0sphere_>
is there any ruboto devloper here?
erts_ has quit [Quit: erts_]
chinmay__ has joined #ruby
epistrephein has joined #ruby
erts has joined #ruby
Channel6 has quit [Client Quit]
<jhass>
atm0sphere_: sup?
veinofstars has joined #ruby
<atm0sphere_>
any idea where to get ruboto example app for devloping android app?
<jhass>
wat?
epistrephein has quit [Max SendQ exceeded]
<jhass>
you mean the code evaluation?
<atm0sphere_>
i know ruby and want to make android app
<jhass>
what does ruboto have to do with it?
<atm0sphere_>
i want tutorials
zenguy_pc has quit [Read error: Connection reset by peer]
lavros has quit [Ping timeout: 264 seconds]
chinmay_dd has quit [Ping timeout: 256 seconds]
mcclurmc has joined #ruby
epistrephein has joined #ruby
zenguy_pc has joined #ruby
baweaver has joined #ruby
lavros has joined #ruby
chinma___ has joined #ruby
chinma___ has quit [Remote host closed the connection]
<atm0sphere_>
jhass:??
<jhass>
exactly, ??
lkba has quit [Ping timeout: 252 seconds]
<jhass>
oh, lol
<jhass>
apeiros: ^ that's what you get from picking that name :P
Asher has quit [Quit: Leaving.]
<jhass>
atm0sphere_: ignore me^^
Asher has joined #ruby
failshell has quit [Ping timeout: 244 seconds]
<atm0sphere_>
one more question do i have trouble in installing ruboto on windows like rails??
<al2o3-cr>
oh my god i burst out laughing so hard then it's not even funny lol
<jhass>
?ruboto
<ruboto>
I'm the channel bot, linker of the rules, adept of the facts, wielder of the banhammer.
cytoskeletor has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
chinmay__ has quit [Ping timeout: 265 seconds]
<atm0sphere_>
ruboto why r u not on ruboto channel?
<EllisTAA>
hey yall. when i run be rake db:seed i get an error on line 33 when it tries to run seed_urls. the error is NameError: Undefined local variable or method ‘seed_urls’ for database builder class, does anyone know why https://gist.github.com/ellismarte/ff4da421a7f2fb2a1c9b#file-pp-rb-L33 my guess is there is something wrong with the end statement for the exceptions?
erts has quit [Quit: erts]
<al2o3-cr>
i'm in tears here
mcclurmc has quit [Ping timeout: 244 seconds]
gianlucadv has quit [Ping timeout: 264 seconds]
erts has joined #ruby
jume has joined #ruby
erts has quit [Remote host closed the connection]
<jhass>
EllisTAA: your indentation is still confusing...
<EllisTAA>
which part? haha
swgillespie has joined #ruby
Scroff has joined #ruby
<jhass>
that you unindented the method definitions
<atmosx>
EllisTAA: can you be more specific, line etc?
sdothum has quit [Ping timeout: 255 seconds]
sinkensabe has quit [Remote host closed the connection]
ta has quit [Ping timeout: 272 seconds]
x1337807x has quit [Client Quit]
diegoviola has joined #ruby
doertedev has joined #ruby
diegoviola has quit [Changing host]
diegoviola has joined #ruby
<EllisTAA>
jhass: omfg how does yours work and mine doesnt. thank you so much for taking the time to help me out, i’m going to go read over your code and try to learn something
timmac has joined #ruby
<jhass>
I kept it simple
<EllisTAA>
what do you mean
timmac has left #ruby [#ruby]
<jhass>
like not messing around with instance variables if there's zero need or extracting stuff that's a single line I'm repeating nowhere into a method
nikhgupta has quit [Remote host closed the connection]
towski_ has quit [Remote host closed the connection]
krz has quit [Ping timeout: 276 seconds]
<EllisTAA>
hmm ok cool im going to study this. thanks again
adac has quit [Ping timeout: 276 seconds]
mister_solo has joined #ruby
someword has quit [Quit: Leaving.]
blueOxigen has quit [Ping timeout: 264 seconds]
weaksauce has joined #ruby
sdothum has joined #ruby
axsuul has quit [Ping timeout: 246 seconds]
startupality has quit [Quit: startupality]
startupality has joined #ruby
<flughafen_>
is there something wrong with this statement? if line.include? 'Scenario' && ! line.include? '#'
_seanc_ has joined #ruby
jume has left #ruby [#ruby]
<jhass>
flughafen_: if you meant to do line.include?('Scenario' && !line.include?('#')), no ;P
<flughafen_>
jhass: i totally meant to do that
<flughafen_>
i was just testing you ;)
<jhass>
cool
<flughafen_>
of course you passed, since you're jhass
j4cknewt has quit [Remote host closed the connection]
<flughafen_>
i think i read in the styleguide that you should always use () with functions?
aryaching has joined #ruby
<jhass>
some say so, some say so
<jhass>
I tend to leave them off where I can
<jhass>
that's simply a case where you can't
lavros has quit [Ping timeout: 246 seconds]
bluOxigen has joined #ruby
<flughafen_>
ok, that syntax looks weird.
francois_ has joined #ruby
axsuul has joined #ruby
<jhass>
confused yet? line.include? 'Scenario' and !line.include? '#' would do what you intended
<adaedra>
> not able to get sample right the first time
adac has joined #ruby
blueOxigen has quit [Ping timeout: 240 seconds]
<adaedra>
come on jhass, you were better than that.
<flughafen_>
hey adaedra
<adaedra>
hey flughafen_
revath has quit [Ping timeout: 256 seconds]
<jhass>
fun part: not the first time I made that exact mistake, I should know yield wants parens there :/
lavros has quit [Ping timeout: 256 seconds]
bluOxigen has joined #ruby
m8 has joined #ruby
veleno has joined #ruby
serivichi has quit [Ping timeout: 272 seconds]
Guest6 has joined #ruby
<atmosx>
don't worry, we will forgive you
lavros has joined #ruby
veinofstars has quit [Ping timeout: 245 seconds]
<flughafen_>
is system() recommended for executing a console app? i want the output to show as it goes. but i don't want to the ruby code to exit like with exec()
mcclurmc has joined #ruby
nikhgupt` has joined #ruby
<jhass>
it always depends on your usecase, system sounds good for what you describe
<havenwood>
flughafen_: what's the command you're running? or just generally?
pontiki has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<atmosx>
EllisTAA: I'm trolling the guy goes kinda crazy over the idea of adding 'pluck' to ruby because it's used by AR.
Miphix has quit [Quit: Leaving]
chouhoulis has joined #ruby
Outlastsheep is now known as zz_Outlastsheep
Kricir has joined #ruby
crazydiamond has joined #ruby
psy_ has quit [Ping timeout: 252 seconds]
mdz_ has joined #ruby
someword has joined #ruby
iooner has joined #ruby
ta has joined #ruby
chouhoulis has quit [Ping timeout: 246 seconds]
axsuul has quit [Ping timeout: 265 seconds]
alem0lars___ has joined #ruby
pontiki has joined #ruby
micmus has quit [Ping timeout: 246 seconds]
jalopezsilva has joined #ruby
simplyianm has joined #ruby
jalopezsilva has quit [Client Quit]
mdz_ has quit [Ping timeout: 264 seconds]
EllisTAA has quit [Quit: EllisTAA]
Yiota has joined #ruby
veleno has joined #ruby
EllisTAA has joined #ruby
veleno has quit [Client Quit]
<EllisTAA>
so when i iterate over an array of nokogiri objects i get a join error at the end because it wants to turn them into a string … how can i get over this? i dont want to return the array …
Yiota has quit [Client Quit]
<jhass>
did you follow apeiros's link?
ayonkhan has joined #ruby
<EllisTAA>
yeah it said sinatra expects a string …
Yiota has joined #ruby
psy_ has joined #ruby
<jhass>
does each return a string?
<EllisTAA>
no it returns a stupid array
ayonkhan has quit [Client Quit]
<jhass>
there you go
JDiPierro has joined #ruby
ta has quit [Ping timeout: 276 seconds]
<EllisTAA>
so how do i get it to not return the array?
ayonkhan has joined #ruby
<jhass>
you can't
<EllisTAA>
god damnit
<jhass>
however you can have your block not return an array
<EllisTAA>
what do u mean
<jhass>
the last expression of a block is its return value
pontiki has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sinkensabe has joined #ruby
bmurt has joined #ruby
<EllisTAA>
ok … i’m iterating over nokogiri objects trying to print one of their atttributes … but it is returning an array of objects… …how can i get it to not return an array ..
sinkensabe has quit [Remote host closed the connection]
rbennacer has joined #ruby
<jhass>
all_h1s is a local variable, it's not shared with the view in sinatra
hyperjuice has joined #ruby
allcentury has quit [Ping timeout: 255 seconds]
<jhass>
#<NameError: undefined local variable or method `all_h1s' for #<Sinatra::Application:0x007f860b4acb88>>
niemc2 has joined #ruby
<EllisTAA>
omg that worked lol
<EllisTAA>
: \
<EllisTAA>
thank you
Scroff has joined #ruby
<EllisTAA>
however it didn’t return anything … is my form mesed up?
<EllisTAA>
nvm ill figure it out
ayonkhan has quit [Client Quit]
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Ox0dea has quit [Ping timeout: 252 seconds]
Cache_Money has quit [Quit: Cache_Money]
babykosh has joined #ruby
AbinoamJr has joined #ruby
symm- has joined #ruby
roa has joined #ruby
<roa>
.
dgutierrez1287 has joined #ruby
sarkyniin has quit [Ping timeout: 276 seconds]
avahey has joined #ruby
diegoviola has quit [Ping timeout: 245 seconds]
qwertme has joined #ruby
bluOxigen has quit [Read error: Connection reset by peer]
bluOxigen has joined #ruby
<jhass>
..
psy_ has quit [Ping timeout: 276 seconds]
EllisTAA has quit [Quit: EllisTAA]
hectortrope has joined #ruby
AbinoamJr has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
JDiPierro has quit [Remote host closed the connection]
bgmarx has joined #ruby
Ox0dea has joined #ruby
lavros has quit [Ping timeout: 255 seconds]
lavros has joined #ruby
diego1 has joined #ruby
diego1 has quit [Changing host]
diego1 has joined #ruby
diego1 is now known as diegoviola
<Ox0dea>
Anybody care to hazard a rough guess at how much space would be required to install all the gems?
bgmarx has quit [Ping timeout: 246 seconds]
ndrei has quit [Ping timeout: 265 seconds]
EllisTAA has joined #ruby
<jhass>
1.3 WonderBytes
horsecowdog has joined #ruby
ndrei has joined #ruby
hyperjuice has quit []
<EllisTAA>
i’m trying to query some stuff in sinatra, and when i write “@all_h1s = H1.where(‘content LIKE?’, ‘%#{params[:search]}%’).all params search is seen as a string instead of as a variable
AbinoamJr has joined #ruby
<shevy>
Ox0dea one gem would be, 50kb on average
<shevy>
so we have... less than 120.000 gems
enebo has quit [Quit: enebo]
<Ox0dea>
Fewer.
haxrbyte has joined #ruby
<Ox0dea>
Sorry, it was a Game of Thrones reference.
<Ox0dea>
I ran `gem install $(gem search | cut - ' ' -f 1)`, and now I'm waiting for something to happen.
senayar_ has joined #ruby
<jhass>
see you 2020
<Ox0dea>
That would be cut -d, of course.
<Ox0dea>
I think my shell's probably going to complain the lenght of the argument list.
<Ox0dea>
*length
<jhass>
mmh
<jhass>
I think the number was quite high
<jhass>
individual argument size is quite low though
<Ox0dea>
There are 66 (!) different delimiters you can use.
perturbation has quit [Quit: Leaving]
<Ox0dea>
He couldn't use () because he needs those characters in the actual string.
Pupeno_ has joined #ruby
acke has joined #ruby
allcentury has joined #ruby
<Ox0dea>
%[] and %{} are more common, but I've seen %|| now and then.
<al2o3-cr>
can even use whitespace
Guest6 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
startupality has joined #ruby
AndyBotwin has joined #ruby
<Ox0dea>
shevy: %() strings permit escape sequences, whereas %q() ones do not; since he's using the former, \n is just a literal newline here.
<shevy>
al2o3-cr the code I am looking at is this here:
<shevy>
if words.find {|x| /=/n.match(x) }
patrick_star has quit [Ping timeout: 276 seconds]
chouhoulis has quit [Ping timeout: 272 seconds]
<Ox0dea>
That n is a regular expression flag/modifier.
<al2o3-cr>
yeah, like i
Pupeno has quit [Ping timeout: 256 seconds]
<Ox0dea>
al2o3-cr: I made my .gem fetcher a shell one-liner, and I thought I might be able to just feed it to GNU parallel, but the jq utility seems to be blocking. :(
bin_005_f has quit [Remote host closed the connection]
<al2o3-cr>
:(
bin_005_f has joined #ruby
CloCkWeRX has joined #ruby
kobain has joined #ruby
acke has quit [Ping timeout: 265 seconds]
decoponyo has joined #ruby
<al2o3-cr>
shevy: /foo/n # that n means ASCII-8BIT encoding according to the docs
decoponio has quit [Ping timeout: 240 seconds]
otherj has quit [Quit: .]
chussenot has quit [Quit: chussenot]
<shevy>
ah
<shevy>
so I guess that must be a more recent change
<shevy>
since that was not necessary in ruby 1.8.x era right?
<centrx>
What year is it
<al2o3-cr>
that's from the 1.9.3 docs by the way
<Ox0dea>
centrx: Heh.
adac has quit [Ping timeout: 252 seconds]
rbennacer has quit []
<shevy>
yeah, looks as if a lot of code had to happen due to that transition
quazimodo has quit [Ping timeout: 252 seconds]
fsvehla has joined #ruby
avahey has quit [Quit: Connection closed for inactivity]
<Ox0dea>
Trunk's doc/regexp.rdoc says that "Regular expressions are assumed to use the source encoding", but this doesn't seem to be the case.
gluten_hell_ has quit [Quit: Computer has gone to sleep.]
<al2o3-cr>
need to reboot
al2o3-cr has quit [Quit: the quieter you become, the more you are able to hear]
MasterPiece has quit [Quit: Leaving]
djbkd_ has quit []
Xiti has quit [Quit: Xiti]
ta has joined #ruby
mfranzwa has quit [Quit: mfranzwa]
<skippy_77>
hey folks; I'm looking at a memory leak in google/protobuf, and it seems as though it may be related to a patch that was put into string.c as a part of 2.2.0-preview2. The behavior stops leaking memory in 2.3.0-dev. I'm curious if this is a core ruby issue, or if the google/protobuf lib is using rb_str_cat incorrectly. https://github.com/google/protobuf/issues/474
mfranzwa has joined #ruby
j_mcnally has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
commondream has quit [Ping timeout: 256 seconds]
axsuul has quit [Ping timeout: 265 seconds]
al2o3-cr has joined #ruby
bin_005_f has quit [Ping timeout: 240 seconds]
ta has quit [Ping timeout: 252 seconds]
mfranzwa has quit [Client Quit]
pengin has joined #ruby
gluten_hell_ has joined #ruby
qwertme has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dgutierrez1287 has quit [Remote host closed the connection]
<Ox0dea>
"Only enough file handles to run 252 jobs in parallel."
Pupeno_ has quit [Quit: Leaving...]
<Ox0dea>
How best to increase this paltry figure?
<bougyman>
what os?
<Ox0dea>
Arch.
krisquigley has joined #ruby
<Ox0dea>
I answered more specifically than Linux in case that would assist you in assisting me. :)
lkba has joined #ruby
volty has joined #ruby
<bougyman>
what's ulimit tell you?
<Ox0dea>
unlimited
niemc2 has quit [Ping timeout: 244 seconds]
<bougyman>
cat /proc/sys/fs/file-max
<Ox0dea>
That's the global maximum, not the maximum a single process is allowed to have open.
towski_ has quit [Remote host closed the connection]
<bougyman>
or cat /proc/sys/fs/file-nr
pengin has quit [Remote host closed the connection]
<bougyman>
and ulimit -Hn, ulimit -Sn ?
<bougyman>
I assume you've seen all this tuff.
<Ox0dea>
I have, and all the values are substantially higher than 252.
<bougyman>
well each of those processes has a few fds.
<bougyman>
is what i'm guessing
<bougyman>
I can't tell how many, of course.
<bougyman>
stdin and stdout and stderr are fds, afaik.
qwertme has joined #ruby
Guest6 has joined #ruby
krisquigley has quit [Ping timeout: 276 seconds]
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
platosha_ has quit [Ping timeout: 255 seconds]
gluten_hell_ has quit [Quit: Computer has gone to sleep.]
<Ox0dea>
Ah, that makes sense.
<Ox0dea>
I wonder if it's possible to tell parallel to repurpose the unused fds.
<Aeyrix>
sysctl -w fs.file-max=10000
<Ox0dea>
Aeyrix: Why, it's already at 197711?
* Aeyrix
greps logs for where you told me what the value is.
Rollabunna has joined #ruby
towski_ has joined #ruby
platosha has joined #ruby
Limix has joined #ruby
<Ox0dea>
I reckon bougyman figured it correctly. My soft limit is 1024, and 252 is suspiciously close to a quarter of that, so it seems the processes parallel spawns contribute their stdin, stdout, and stderr handles to the total.
yfeldblum has joined #ruby
<Ox0dea>
Regrettable, but it makes sense enough.
apoplexy has joined #ruby
<apoplexy>
hi what is better ruby or python, i need the answer immediately
<apoplexy>
anddd go
<Ox0dea>
Python.
willharrison-pho has quit [Quit: Connection closed for inactivity]
<Aeyrix>
Please hand in your computer driving license and cancel your internet service.
<apoplexy>
hahaha im just kidding :D
<Aeyrix>
:D
<Ox0dea>
apoplexy: Now that you've been given a definitive answer, don't you think you're in the wrong channel?
<Aeyrix>
I wasn't kidding about the license. That exists, weirdly enough.
<Aeyrix>
It's a European thing!
<centrx>
I have a Master's degree in Advanced Word Processing
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
heftig has quit [Read error: Connection reset by peer]
<Aeyrix>
Lmao
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
heftig_ has joined #ruby
pragmatism has joined #ruby
<Aeyrix>
Chicknar
bruno-_ has joined #ruby
Agoldfish378 has joined #ruby
<Ox0dea>
So great.
Guest6 has quit [Read error: Connection reset by peer]
blue_deref has quit [Quit: bbn]
jaequery has joined #ruby
<apoplexy>
Ox0dea: i always go with the underdog so you just got yourself a new teammate
jaequery has quit [Client Quit]
<apoplexy>
now, how do we make Ruby better than Python, im willing to work hard, whos got ideas
<Aeyrix>
Import system!.
failshell has joined #ruby
<Ox0dea>
Named unicode literals!
bruno- has quit [Ping timeout: 276 seconds]
<volty>
mabye ruby became web-centric. go with qtruby, for example(too few ppl use it). as fro the «better», ruby is already better
<volty>
(I meant too web-centric)
<Aeyrix>
What about Elixir
Agoldfish has quit [Ping timeout: 276 seconds]
aapole has quit [Ping timeout: 276 seconds]
<Aeyrix>
Or Crystal
<Aeyrix>
Or Haskell
<bougyman>
elixir gives you an erlang vm to manage your processes.
<bougyman>
if you like that, sure.
<Aeyrix>
Hah.
<bougyman>
I'm fine with a unix vm (or bare metal) managing my processes.
Dreamer3 has quit [Quit: Computer has gone to sleep.]
<volty>
the ruby lang is better, while the python community is more productive — more than it seems, taken into account the weirdness of that language, oo-monkey imitation comprised
ogpastaling has joined #ruby
<Aeyrix>
Ye.
<Aeyrix>
That's my opinion of it overall.
ogpastaling has quit [Remote host closed the connection]
ogpastaling has joined #ruby
failshell has quit [Ping timeout: 276 seconds]
centrx has quit [Quit: Shutting down, Please wait...]
<shevy>
python has the better docs
<volty>
by «more productive» I meant exactly that —- docs + interfacing with other langs + libs
serivich has joined #ruby
<volty>
maybe «more freedom» translates in «more play» — so they are less free, but more serious
havenwood has quit [Ping timeout: 272 seconds]
<shevy>
well, ruby is actually a pretty complex language
Channel6 has joined #ruby
<volty>
to understand this (cause) you should try haskell (e.g.) — they play, play, play, fancy constructs, but nothing worth in the end
ogpastaling has quit [Ping timeout: 272 seconds]
<shevy>
you have hash-arguments, normal arguments, keywords arguments, procs/lambda, and block arguments
<volty>
never mind, the answer lies in the typology of the users — python has still «academic» followers
<shevy>
volty php has got one focus right back then, which was the web
skade has quit [Quit: Computer has gone to sleep.]
<shevy>
there are lots of aging perl users in the scientific community
<shevy>
you'd have to give them compelling reasons to want to switch
towski_ has quit [Remote host closed the connection]
<shevy>
now they have perl 6 :>
<volty>
they (grand-perlers) are too old to change habits :)
<shevy>
yeah
<volty>
maybe splitting the ruby community could do well, in the end // could be after forking
<Ox0dea>
volty: Do you write code?
<volty>
now I need to embed ruby in qt application
<shevy>
splitting is a bad idea, you fragment and end up with less people who use a given language
<volty>
Ox0dea: something :)
serivich has quit [Ping timeout: 255 seconds]
<volty>
already wrote some extensions time ago, but now need a complete solution —- for migration purposes, as well as mixed development
k3asd` has quit [Ping timeout: 250 seconds]
<volty>
but do not know what to choose - manually, rice, something else? can advice (except after googling, of course)?
serivich has joined #ruby
<shevy>
whatever you do
<shevy>
provide working examples
attlasbot has joined #ruby
<volty>
what do you mean by «working examples» ?
blackmesa has quit [Ping timeout: 255 seconds]
tomphp has joined #ruby
dorei has joined #ruby
<volty>
I can continue with an (abstract) example if some of you have some experience with extensions & embedding // now I use qtruby, could use a qt c++ written class from with ruby (and in run-time located by qtruby library routine), now I just want to start from qt c++ side and call ruby. that's all
<Ox0dea>
You can call Ruby from C++ just fine.
<Ox0dea>
Ruby's C API is actually not terrible to work with.
<Ox0dea>
It's significantly more high-level than it might have been.
pwnz0r has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<volty>
yes, thx. I was reading Rice. So my question is: should I go my way, or should I go with Rice. Because having something ready is nice, but if it isn't complete (satisfying) it would be time (and nerves) losing.
nofxx has joined #ruby
ogpastaling has quit [Remote host closed the connection]
dseitz has joined #ruby
dgutierrez1287 has joined #ruby
GnuYawk has joined #ruby
Akagi201 has quit [Remote host closed the connection]
Akagi201 has joined #ruby
MatthewsFace has joined #ruby
Yiota has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
TheHodge has quit [Quit: Connection closed for inactivity]
<Aeyrix>
What are you doing?
Musashi007 has joined #ruby
<Aeyrix>
Project wise.
roolo has quit [Remote host closed the connection]
<volty>
various gui apps. one of which is my own editor. the last one being a chess interface - just for the sake of trying to freely mix qt c++ classes and qtruby classes
qwertme has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
fsvehla has quit [Quit: fsvehla]
pwnz0r has quit [Remote host closed the connection]
GnuYawk has quit [Ping timeout: 252 seconds]
AlphaAtom has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pwnz0r has joined #ruby
ixti has quit [Ping timeout: 276 seconds]
commondream has joined #ruby
<volty>
you can't just deploy an app on (only) qtruby because isn't (that) stable. I guess (from what I see) that PyQt is much more stable, but I don't like python
qwertme has joined #ruby
ta has joined #ruby
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
j4cknewt has joined #ruby
havenwood has joined #ruby
commondream has quit [Remote host closed the connection]
commondream has joined #ruby
Yiota has joined #ruby
<nofxx>
volty, played with electron? or you really like qt
workmad3 has joined #ruby
yfeldblum has quit [Ping timeout: 256 seconds]
pwnz0r has quit [Ping timeout: 276 seconds]
<volty>
nofxx: 1. I like qt 2. the first also because once you learn (it takes time) a lib you are bound to like it :) // but going to see what it is, thx
zotherstupidguy has quit [Ping timeout: 256 seconds]
zotherstupidguy has joined #ruby
chouhoulis has joined #ruby
ta has quit [Ping timeout: 276 seconds]
<volty>
I see only electron ide. I can't see any gui toolkit there
<volty>
s/see/find/
workmad3 has quit [Ping timeout: 252 seconds]
bkxd has joined #ruby
<volty>
found, sorry.
djbkd has quit [Quit: Leaving...]
Limix has quit [Quit: Limix]
gianlucadv has quit [Ping timeout: 264 seconds]
chouhoulis has quit [Ping timeout: 276 seconds]
blackmesa has joined #ruby
blackmesa has quit [Client Quit]
hyperjuice has joined #ruby
commondream has quit []
startupality has quit [Quit: startupality]
scripore has joined #ruby
cats has quit [Ping timeout: 265 seconds]
Akagi201 has quit [Remote host closed the connection]
rubie has quit [Remote host closed the connection]
allcentury has quit [Ping timeout: 256 seconds]
Limix has joined #ruby
RegulationD has joined #ruby
DLSteve has quit [Quit: Leaving]
RegulationD has quit [Ping timeout: 246 seconds]
cats has joined #ruby
ndrei has quit [Ping timeout: 245 seconds]
j_mcnally has joined #ruby
Yiota has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
CloCkWeRX1 has joined #ruby
<shevy>
volty with working example I mean code that opens up a GUI :)
CloCkWeRX has quit [Ping timeout: 264 seconds]
axsuul has joined #ruby
gluten_hell_ has joined #ruby
CloCkWeRX has joined #ruby
platzhirsch has left #ruby [#ruby]
CloCkWeRX1 has quit [Ping timeout: 255 seconds]
quazimodo has joined #ruby
jphenow has joined #ruby
gluten_hell_ has quit [Ping timeout: 276 seconds]
dseitz has quit [Remote host closed the connection]
dseitz has joined #ruby
sdothum has quit [Read error: Connection reset by peer]