miskatonic has quit [Quit: ERC (IRC client for Emacs 24.5.1)]
skryking has quit [Ping timeout: 245 seconds]
nowhereman has quit [Ping timeout: 246 seconds]
nowhereman has joined #ruby
skryking has joined #ruby
banisterfiend has quit [Ping timeout: 252 seconds]
eblip has quit [Quit: WeeChat 2.3]
Mia has joined #ruby
Mia has joined #ruby
Mia has quit [Changing host]
Mia has quit [Read error: Connection reset by peer]
Mia has joined #ruby
Mia has quit [Changing host]
Mia has joined #ruby
Nosrep has joined #ruby
Nosrep has left #ruby [#ruby]
Ai9zO5AP has quit [Quit: WeeChat 2.4]
AJA4350 has quit [Quit: AJA4350]
Tempesta has quit [Remote host closed the connection]
brool has joined #ruby
duderonomy has joined #ruby
carbone5 has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<carbone5>
Hello! What fo type of software do you use to save your code snippets to reuse in other projects ?
mroutis has quit [Ping timeout: 252 seconds]
Tempesta has joined #ruby
orbyt_ has joined #ruby
nowhereman has quit [Ping timeout: 255 seconds]
carbone5 has quit [Quit: carbone5]
carbone5 has joined #ruby
<KrzaQ>
I'm using the sequel gem and I have a bit of a problem: I want to create a table from a schema of another table I'd dumped, but I don't see a way to do this programmatically. Is rewriting the create_table methods manually the only option?
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
apg has quit [Quit: Leaving]
dsmythe has quit [Remote host closed the connection]
tdy has joined #ruby
dsmythe has joined #ruby
Fusl has quit [Remote host closed the connection]
Fusl has joined #ruby
orbyt_ has joined #ruby
_whitelogger has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gix- has quit [Ping timeout: 244 seconds]
carbone5 has quit [Quit: carbone5]
brool has quit [Ping timeout: 252 seconds]
carbone5 has joined #ruby
carbone5 has quit [Client Quit]
carbone5 has joined #ruby
braincrash has quit [Quit: bye bye]
braincrash has joined #ruby
dsmythe_ has joined #ruby
carbone5 has quit [Quit: carbone5]
Nicmavr has joined #ruby
Kestrel-029 has quit [Ping timeout: 245 seconds]
jenrzzz has joined #ruby
dsmythe has quit [Ping timeout: 255 seconds]
jenrzzz has quit [Ping timeout: 245 seconds]
_whitelogger has joined #ruby
teclator has joined #ruby
teclator_ has joined #ruby
zacstewart has joined #ruby
zacstewart has quit [Client Quit]
Swyper has quit [Remote host closed the connection]
Swyper has joined #ruby
Swyper has quit [Remote host closed the connection]
Swyper has joined #ruby
cd has joined #ruby
bambanx has joined #ruby
sylario has quit [Quit: Connection closed for inactivity]
apparition has joined #ruby
SeepingN has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
teclator_ has quit [Ping timeout: 268 seconds]
teclator has quit [Ping timeout: 268 seconds]
_whitelogger has joined #ruby
<jettrevolver>
carbone5: leptop or i open a folder in my ide's sidebar with files including snipperz XD
ricekrispie has joined #ruby
ricekrispie2 has quit [Ping timeout: 258 seconds]
laaron has joined #ruby
dsmythe_ has quit [Remote host closed the connection]
dsmythe has joined #ruby
houhoulis has quit [Remote host closed the connection]
Swyper has quit [Remote host closed the connection]
Nicmavr has quit [Ping timeout: 245 seconds]
Kestrel-029 has joined #ruby
apparition has quit [Quit: Bye]
dsmythe has quit [Remote host closed the connection]
Swyper has joined #ruby
Swyper has quit [Remote host closed the connection]
bjpenn has joined #ruby
dsmythe has joined #ruby
kapilp has joined #ruby
banisterfiend has joined #ruby
banisterfiend has quit [Read error: Connection reset by peer]
kyrylo has joined #ruby
dsmythe has quit [Remote host closed the connection]
dsmythe has joined #ruby
bjpenn has quit [Ping timeout: 258 seconds]
dsmythe_ has joined #ruby
apparition has joined #ruby
dsmythe has quit [Ping timeout: 258 seconds]
bjpenn has joined #ruby
bambanx has quit [Quit: Leaving]
leimh has joined #ruby
sameerynho has joined #ruby
leman has quit [Ping timeout: 252 seconds]
nowhereman has joined #ruby
ravenousmoose has joined #ruby
tdy has quit [Ping timeout: 246 seconds]
DTZUZO has joined #ruby
reber has joined #ruby
reber__ has joined #ruby
reber__ has quit [Remote host closed the connection]
Ai9zO5AP has joined #ruby
kyrylo has quit [Read error: No route to host]
kyrylo has joined #ruby
nowhereman has quit [Ping timeout: 252 seconds]
reber has quit [Remote host closed the connection]
kapilp has quit [Quit: Connection closed for inactivity]
kyrylo has quit [Read error: Connection reset by peer]
kyrylo has joined #ruby
ricekrispie2 has joined #ruby
ricekrispie has quit [Ping timeout: 258 seconds]
dsmythe_ has quit [Read error: Connection reset by peer]
dsmythe has joined #ruby
esp32_prog has joined #ruby
kapilp has joined #ruby
esp32_prog has quit [Ping timeout: 246 seconds]
rafadc has joined #ruby
Dbugger has joined #ruby
al2o3-cr has quit [Quit: If the universe is a machine where the future is uniquely determined by its present state, it would not be possible to calculate what the future will be.]
dellavg_ has joined #ruby
al2o3-cr has joined #ruby
DTZUZO has quit [Ping timeout: 268 seconds]
conta has joined #ruby
kyrylo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
fphilipe has joined #ruby
priodev has quit [Ping timeout: 245 seconds]
priodev has joined #ruby
yqt has joined #ruby
al2o3-cr has quit [Quit: If the universe is a machine where the future is uniquely determined by its present state, it would not be possible to calculate what the future will be.]
al2o3-cr has joined #ruby
ravenousmoose has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
fphilipe has quit [Ping timeout: 252 seconds]
doodlebug has joined #ruby
al2o3-cr has quit [Quit: If the universe is a machine where the future is uniquely determined by its present state, it would not be possible to calculate what the future will be.]
gix has joined #ruby
bjpenn has quit [Ping timeout: 268 seconds]
al2o3-cr has joined #ruby
ellcs has joined #ruby
Ai9zO5AP has quit [Ping timeout: 268 seconds]
ellcs has quit [Ping timeout: 264 seconds]
tdy has joined #ruby
Mia has quit [Read error: Connection reset by peer]
AJA4350 has joined #ruby
bjpenn has joined #ruby
bjpenn has quit [Changing host]
bjpenn has joined #ruby
tdy has quit [Ping timeout: 244 seconds]
haxx0r has quit [Ping timeout: 246 seconds]
troydm has quit [Quit: What is Hope? That all of your wishes and all of your dreams come true? To turn back time because things were not supposed to happen like that (C) Rau Le Creuset]
dviola has joined #ruby
bjpenn has quit [Quit: leaving]
DTZUZO has joined #ruby
laaron has quit [Remote host closed the connection]
fphilipe has joined #ruby
dar123 has joined #ruby
tf2ftw has joined #ruby
fphilipe has quit [Ping timeout: 248 seconds]
<IGnorAND>
When assigning an int we use _ to make the integer readable. If I have money in cents, would it make sense to write 10K as 10_000_00 or do I need to write it as 1_000_000?
<lupine>
you can put them anywhere you want, syntactically
<lupine>
1_0_00_000 perhaps
<ytti>
three zeroes or i'll call HR
<ytti>
also be sure you have appropriate class to deal with money
<ytti>
money is special and using native types is not the right solution
esp32_prog has joined #ruby
<lupine>
particularly, consider fractional cents
<lupine>
as superman proved, you will have to handle them from time to time
xco has joined #ruby
Fusl has quit [Remote host closed the connection]
Fusl has joined #ruby
conta has quit [Quit: conta]
queip has quit [Excess Flood]
hiroaki has joined #ruby
Ai9zO5AP has joined #ruby
dellavg_ has quit [Ping timeout: 258 seconds]
queip has joined #ruby
Ai9zO5AP has quit [Client Quit]
Ai9zO5AP has joined #ruby
Ai9zO5AP has quit [Client Quit]
Ai9zO5AP has joined #ruby
hays has joined #ruby
Swyper has joined #ruby
al2o3-cr has quit [Quit: If the universe is a machine where the future is uniquely determined by its present state, it would not be possible to calculate what the future will be.]
sagax has quit [Quit: Konversation terminated!]
sagax has joined #ruby
al2o3-cr has joined #ruby
obzidian has joined #ruby
Swyper has quit [Remote host closed the connection]
Swyper has joined #ruby
queip has quit [Ping timeout: 246 seconds]
esp32_prog has quit [Ping timeout: 252 seconds]
laaron has joined #ruby
obzidian has left #ruby [#ruby]
AJA4350 has quit [Remote host closed the connection]
<loveyouthreethou>
okay, I think I understand. I am telling ruby that in self.something, it definitely comes from my class and not local to the scope that it's currently in.
<phaul>
yes loveyouthreethou
<loveyouthreethou>
wonderful. thanks for your help!
<sonivi>
havenwood: actually i was trying to fetch the data from that url
<sonivi>
as a input i only have url
<sonivi>
without that cookie i cannot get the data from that url
zacts has joined #ruby
<sonivi>
unable to find a way to get and set the cookie
loveyouthreethou has quit [Quit: Page closed]
rippa has joined #ruby
conta has joined #ruby
tf2ftw has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
tf2ftw has joined #ruby
Kestrel-029 has quit [Ping timeout: 245 seconds]
Nicmavr has joined #ruby
sonivi has quit [Ping timeout: 245 seconds]
zacts has quit [Quit: WeeChat 2.4]
cosmouser has quit [Ping timeout: 246 seconds]
tdy has joined #ruby
doodlebug has quit [Ping timeout: 255 seconds]
weird_error has quit [Quit: weird_error]
tf2ftw_ has joined #ruby
rafadc has quit [Ping timeout: 245 seconds]
rafadc has joined #ruby
fphilipe has joined #ruby
fphilipe has quit [Ping timeout: 258 seconds]
weird_error has joined #ruby
laaron has quit [Remote host closed the connection]
laaron has joined #ruby
JoeA2552 has joined #ruby
weird_error has quit [Quit: weird_error]
nowhereman has joined #ruby
agent_white has joined #ruby
nowhereman has quit [Ping timeout: 255 seconds]
GodFather_ has joined #ruby
GodFather has joined #ruby
Fernando-Basso has quit [Remote host closed the connection]
carbone5 has joined #ruby
weird_error has joined #ruby
Swyper has quit [Remote host closed the connection]
Swyper has joined #ruby
s2013 has joined #ruby
<s2013>
https://paste.ubuntu.com/p/5m6mgjt2hh/ i am getting an error "gems/json-2.1.0/lib/json/common.rb:156:in `parse': 765: unexpected token at '' (JSON::ParserError)"
<s2013>
not sure what im doing wrong
Swyper has quit [Ping timeout: 245 seconds]
Swyper has joined #ruby
Fischmiep has joined #ruby
carbone5 has quit [Quit: carbone5]
Swyper has quit [Remote host closed the connection]
Swyper has joined #ruby
Fischmiep has quit [Quit: WeeChat 2.3]
Fischmiep has joined #ruby
<jhass>
uhm, can you show the full backtrace? your code doesn't seem to parse any json
Fischmiep has quit [Client Quit]
nahra has quit [Remote host closed the connection]
Fischmiep has joined #ruby
nahra has joined #ruby
<IGnorAND>
How do I write a method to accept 2 parameters although I will only use 1 parameter in that method
ravenousmoose has joined #ruby
clemens3 has joined #ruby
<jhass>
def foo(a, b); do_stuff_with_a_only; end
Fischmiep has quit [Quit: WeeChat 2.4]
Fischmiep has joined #ruby
orbyt_ has joined #ruby
Fischmiep has quit [Client Quit]
GodFather__ has joined #ruby
GodFather__ has quit [Client Quit]
GodFather_ has quit [Quit: Ex-Chat]
Swyper has quit [Remote host closed the connection]
fphilipe has joined #ruby
GodFather has quit [Remote host closed the connection]
Swyper has joined #ruby
GodFather has joined #ruby
dviola has joined #ruby
Swyper has quit [Remote host closed the connection]
ravenousmoose has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Swyper has joined #ruby
fphilipe has quit [Ping timeout: 252 seconds]
_serenity has joined #ruby
tf2ftw has quit [Quit: This computer has gone to sleep]
jgpawletko has joined #ruby
jgpawletko has quit [Client Quit]
<jettrevolver>
IGnorAND: like leaving a default value in case you don't specify the parameter?
cd has quit [Quit: cd]
Swyper has quit [Remote host closed the connection]
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
_serenity has quit [Read error: Connection reset by peer]
Nicmavr has quit [Ping timeout: 245 seconds]
tf2ftw_ has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
cow[moo] has quit [Ping timeout: 258 seconds]
Nicmavr has joined #ruby
<IGnorAND>
jettrevolver: nah, I get a warning from rubocopy that I'm not using the parameter eventhough I ask for it
<havenwood>
IGnorAND: Use an underscore as a placeholder.
<IGnorAND>
jhass: yeah, but rubocop doesn't like that :)