havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com | Ruby 2.5.1, 2.4.4, 2.3.7, 2.6.0-preview2: https://www.ruby-lang.org | Paste 4+ lines of text to https://gist.github.com | Rails questions? Ask in #RubyOnRails | Books: https://goo.gl/wpGhoQ | Logs: https://irclog.whitequark.org/ruby
Guest82829 has joined #ruby
reber has quit [Remote host closed the connection]
zwliew has joined #ruby
Guest82829 has quit [Ping timeout: 260 seconds]
apeiros has quit [Ping timeout: 240 seconds]
cschneid has quit [Ping timeout: 264 seconds]
codymj has quit [Quit: Leaving]
Guest82829 has joined #ruby
cschneid has joined #ruby
Guest82829 has quit [Ping timeout: 268 seconds]
karapety_ has quit [Remote host closed the connection]
Guest82829 has joined #ruby
cschneid has quit [Ping timeout: 245 seconds]
workmad3 has joined #ruby
phenom has quit [Ping timeout: 255 seconds]
zachk has quit [Quit: Leaving]
Guest82829 has quit [Ping timeout: 248 seconds]
chouhoulis has joined #ruby
white_lilies has joined #ruby
workmad3 has quit [Ping timeout: 264 seconds]
chouhoulis has quit [Remote host closed the connection]
Guest82829 has joined #ruby
cschneid has joined #ruby
white_lilies has quit [Ping timeout: 256 seconds]
wontruefree has joined #ruby
Guest82829 has quit [Ping timeout: 264 seconds]
cschneid has quit [Ping timeout: 260 seconds]
amar has quit [Remote host closed the connection]
amar has joined #ruby
Guest82829 has joined #ruby
Guest82829 has quit [Ping timeout: 260 seconds]
cschneid has joined #ruby
Guest82829 has joined #ruby
Guest82829 has quit [Ping timeout: 265 seconds]
jamesaxl has quit [Quit: WeeChat 2.1]
cschneid has quit [Ping timeout: 265 seconds]
yokel has quit [Ping timeout: 264 seconds]
Guest82829 has joined #ruby
cschneid has joined #ruby
Guest82829 has quit [Ping timeout: 248 seconds]
yokel has joined #ruby
cschneid has quit [Ping timeout: 248 seconds]
bmurt has joined #ruby
ciscam has quit [Ping timeout: 264 seconds]
Guest82829 has joined #ruby
ciscam has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
karapetyan has joined #ruby
Guest82829 has quit [Ping timeout: 260 seconds]
jottr_ has joined #ruby
gizmore|2 has joined #ruby
gizmore has quit [Ping timeout: 264 seconds]
Guest82829 has joined #ruby
karapetyan has quit [Ping timeout: 264 seconds]
roamingdog has quit [Remote host closed the connection]
p4p0l0 has joined #ruby
apparition has joined #ruby
Guest82829 has quit [Ping timeout: 240 seconds]
amar has quit [Remote host closed the connection]
d^sh has quit [Ping timeout: 264 seconds]
roamingdog has joined #ruby
d^sh has joined #ruby
roamingdog has quit [Remote host closed the connection]
perniciouscaffei has joined #ruby
Azure has quit [Ping timeout: 240 seconds]
Guest82829 has joined #ruby
Azure has joined #ruby
Guest82829 has quit [Ping timeout: 264 seconds]
Guest82829 has joined #ruby
tdy has joined #ruby
Guest82829 has quit [Ping timeout: 276 seconds]
Guest82829 has joined #ruby
jottr_ has quit [Ping timeout: 245 seconds]
Guest82829 has quit [Ping timeout: 276 seconds]
nowhereman_ has joined #ruby
nvh^ has quit [Ping timeout: 265 seconds]
Guest82829 has joined #ruby
konsolebox has quit [Ping timeout: 240 seconds]
stnly has joined #ruby
konsolebox has joined #ruby
Guest82829 has quit [Ping timeout: 240 seconds]
Guest82829 has joined #ruby
white_lilies has joined #ruby
_whitelogger has joined #ruby
_whitelogger has joined #ruby
AJA4350 has quit [Quit: AJA4350]
_whitelogger has joined #ruby
_whitelogger has joined #ruby
cschneid has joined #ruby
Guest82829 has joined #ruby
cschneid has quit [Ping timeout: 268 seconds]
Guest82829 has quit [Ping timeout: 264 seconds]
cschneid has joined #ruby
Guest82829 has joined #ruby
starseed0000 has quit [Ping timeout: 245 seconds]
cadillac_ has joined #ruby
orbyt_ has joined #ruby
ciscam has quit [Ping timeout: 240 seconds]
Guest82829 has quit [Ping timeout: 264 seconds]
ciscam has joined #ruby
cadillac_ has quit [Ping timeout: 240 seconds]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
braincrash has quit [Quit: bye bye]
Guest82829 has joined #ruby
braincrash has joined #ruby
ethicalhacker has quit [Ping timeout: 265 seconds]
cadillac_ has joined #ruby
Guest82829 has quit [Ping timeout: 260 seconds]
Guest82829 has joined #ruby
kapil___ has joined #ruby
Guest82829 has quit [Ping timeout: 265 seconds]
starseed0000 has joined #ruby
Guest82829 has joined #ruby
apparition has quit [Quit: Bye]
justfarts has joined #ruby
white_lilies has quit [Ping timeout: 264 seconds]
zwliew has quit [Quit: Connection closed for inactivity]
roamingdog has quit [Remote host closed the connection]
Guest82829 has quit [Ping timeout: 248 seconds]
Guest73854 has quit [Read error: Connection reset by peer]
Nicmavr has joined #ruby
Nicmavr is now known as Guest56848
Guest82829 has joined #ruby
icarus has quit [Ping timeout: 245 seconds]
Guest82829 has quit [Ping timeout: 256 seconds]
justfarts has quit []
segy has quit [Quit: ZNC - http://znc.in]
beanish has joined #ruby
Guest82829 has joined #ruby
beanish has quit [Client Quit]
beanish has joined #ruby
cschneid has quit [Ping timeout: 245 seconds]
Guest82829 has quit [Ping timeout: 260 seconds]
segy has joined #ruby
RougeR has quit [Ping timeout: 264 seconds]
Guest82829 has joined #ruby
Guest82829 has quit [Ping timeout: 260 seconds]
beanish has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
donofrio has quit [Remote host closed the connection]
beanish has joined #ruby
`7hr34t_hvntr has joined #ruby
<`7hr34t_hvntr> hello
Guest82829 has joined #ruby
<`7hr34t_hvntr> how would i have ruby do an exec call if im on linux using sh
<`7hr34t_hvntr> ruby -e /bin/sh OR ruby exec foo
<`7hr34t_hvntr> couldnt find the syntax
Guest82829 has quit [Ping timeout: 256 seconds]
<elomatreb> `7hr34t_hvntr: Do you mean an actual exec (i.e. replacing the process) or do you want a subprocess?
Guest82829 has joined #ruby
amar has joined #ruby
ciscam has quit [Ping timeout: 264 seconds]
ciscam has joined #ruby
karapetyan has joined #ruby
Guest82829 has quit [Ping timeout: 264 seconds]
amar has quit [Ping timeout: 264 seconds]
workmad3 has joined #ruby
karapetyan has quit [Ping timeout: 260 seconds]
Guest82829 has joined #ruby
workmad3 has quit [Ping timeout: 240 seconds]
Guest82829 has quit [Ping timeout: 240 seconds]
p4p0l0 has quit [Remote host closed the connection]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Guest82829 has joined #ruby
Guest82829 has quit [Ping timeout: 255 seconds]
beanish has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Guest82829 has joined #ruby
Guest82829 has quit [Ping timeout: 240 seconds]
wontruefree has quit [Quit: bye]
Guest82829 has joined #ruby
`7hr34t_hvntr has quit [Ping timeout: 268 seconds]
Guest82829 has quit [Ping timeout: 240 seconds]
orbyt_ has joined #ruby
rivalomega has quit [Remote host closed the connection]
Guest82829 has joined #ruby
apparition has joined #ruby
JamJam_kid has joined #ruby
Guest82829 has quit [Ping timeout: 260 seconds]
icarus has joined #ruby
Guest82829 has joined #ruby
Guest82829 has quit [Ping timeout: 264 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
starseed0000 has quit [Ping timeout: 265 seconds]
Guest82829 has joined #ruby
tty has quit [Quit: tty]
Guest82829 has quit [Ping timeout: 248 seconds]
Guest82829 has joined #ruby
Guest82829 has quit [Ping timeout: 268 seconds]
cschneid has joined #ruby
Guest82829 has joined #ruby
Guest82829 has quit [Ping timeout: 264 seconds]
_whitelogger has joined #ruby
Guest82829 has joined #ruby
Guest82829 has quit [Ping timeout: 264 seconds]
cschneid has quit [Ping timeout: 264 seconds]
Guest82829 has joined #ruby
cschneid has joined #ruby
Guest82829 has quit [Ping timeout: 256 seconds]
chongtxtx has quit [Ping timeout: 256 seconds]
chongtxtx has joined #ruby
mike11 has joined #ruby
Guest82829 has joined #ruby
ldepandis has joined #ruby
cschneid has quit [Ping timeout: 260 seconds]
karapetyan has joined #ruby
Guest82829 has quit [Ping timeout: 245 seconds]
zwliew has joined #ruby
karapetyan has quit [Ping timeout: 268 seconds]
Guest82829 has joined #ruby
dj1300 has joined #ruby
roamingdog has joined #ruby
Yxhuvud has quit [Read error: Connection reset by peer]
Yxhuvud has joined #ruby
Guest82829 has quit [Ping timeout: 245 seconds]
dviola has quit [Quit: WeeChat 2.1]
roamingdog has quit [Remote host closed the connection]
Guest82829 has joined #ruby
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
Guest82829 has quit [Ping timeout: 255 seconds]
cschneid has joined #ruby
EvilJStoker has quit [Ping timeout: 255 seconds]
EvilJStoker has joined #ruby
cschneid has quit [Ping timeout: 240 seconds]
Guest82829 has joined #ruby
apparition has quit [Quit: Bye]
Guest82829 has quit [Ping timeout: 260 seconds]
Guest82829 has joined #ruby
alem0lars has quit [Quit: Leaving]
rivalomega has joined #ruby
Guest82829 has quit [Ping timeout: 260 seconds]
reber has joined #ruby
rivalomega has quit [Ping timeout: 265 seconds]
Guest82829 has joined #ruby
Guest82829 has quit [Ping timeout: 276 seconds]
Guest82829 has joined #ruby
karapetyan has joined #ruby
cschneid has joined #ruby
Guest82829 has quit [Ping timeout: 276 seconds]
karapetyan has quit [Ping timeout: 276 seconds]
cschneid has quit [Ping timeout: 256 seconds]
Guest82829 has joined #ruby
dionysus69 has joined #ruby
Guest82829 has quit [Ping timeout: 264 seconds]
nvh^ has joined #ruby
mike11 has quit [Quit: Leaving.]
nvh^ has quit [Client Quit]
hph^ has joined #ruby
amar has joined #ruby
Guest82829 has joined #ruby
roamingdog has joined #ruby
solocshaw has joined #ruby
Guest82829 has quit [Ping timeout: 260 seconds]
apeiros has joined #ruby
roamingdog has quit [Ping timeout: 240 seconds]
Guest82829 has joined #ruby
Guest82829 has quit [Ping timeout: 256 seconds]
Guest82829 has joined #ruby
claudiuinberlin has joined #ruby
`7hr34t_hvntr has joined #ruby
Guest82829 has quit [Ping timeout: 256 seconds]
ldepandis has quit [Ping timeout: 248 seconds]
Guest82829 has joined #ruby
Guest82829 has quit [Ping timeout: 245 seconds]
schleppel has joined #ruby
p4p0l0 has joined #ruby
Guest82829 has joined #ruby
workmad3 has joined #ruby
Guest82829 has quit [Ping timeout: 240 seconds]
biberu has joined #ruby
workmad3 has quit [Ping timeout: 240 seconds]
JamJam_kid has quit [Ping timeout: 264 seconds]
<zenspider> I love it when people ask a question with zero intent of clarifying anything or even wanting an answer... *sigh*
Guest82829 has joined #ruby
zwliew has quit [Quit: Connection closed for inactivity]
Guest82829 has quit [Ping timeout: 248 seconds]
cschneid has joined #ruby
biberu has quit []
cschneid has quit [Ping timeout: 265 seconds]
Guest82829 has joined #ruby
\void has quit [Quit: So long, and thanks for all the fish.]
biberu has joined #ruby
p4p0l0 has quit [Remote host closed the connection]
Guest82829 has quit [Ping timeout: 256 seconds]
clemens3 has joined #ruby
Guest82829 has joined #ruby
Guest82829 has quit [Ping timeout: 256 seconds]
apparition has joined #ruby
Guest82829 has joined #ruby
amar has quit [Remote host closed the connection]
amar has joined #ruby
amar has quit [Remote host closed the connection]
amar has joined #ruby
amar has quit [Remote host closed the connection]
amar has joined #ruby
Guest82829 has quit [Ping timeout: 240 seconds]
Guest82829 has joined #ruby
gigetoo has quit [Ping timeout: 260 seconds]
karapetyan has joined #ruby
Guest82829 has quit [Ping timeout: 260 seconds]
conta has joined #ruby
Guest82829 has joined #ruby
karapetyan has quit [Remote host closed the connection]
Guest82829 has quit [Ping timeout: 265 seconds]
gigetoo has joined #ruby
Guest82829 has joined #ruby
ur5us has joined #ruby
amelliaa has joined #ruby
Guest82829 has quit [Ping timeout: 245 seconds]
p4p0l0 has joined #ruby
Guest82829 has joined #ruby
Guest82829 has quit [Ping timeout: 245 seconds]
dionysus69 has quit [Ping timeout: 240 seconds]
Guest82829 has joined #ruby
karapetyan has joined #ruby
<eising> So, I have a super-weird issue with Bundler. One of my gems apparently has a dependency, which I've included in my Gemfile. But keeps throwing Bundler::GemNotFound even though I can see the actual gem being installed
Guest82829 has quit [Ping timeout: 276 seconds]
`7hr34t_hvntr has quit [Ping timeout: 245 seconds]
<eising> nevermind. It resolved itself. How weird...
Guest82829 has joined #ruby
conta has quit [Quit: conta]
ciscam has quit [Ping timeout: 260 seconds]
Guest82829 has quit [Ping timeout: 276 seconds]
ciscam has joined #ruby
Guest82829 has joined #ruby
Guest82829 has quit [Ping timeout: 276 seconds]
Guest82829 has joined #ruby
workmad3 has joined #ruby
Guest82829 has quit [Ping timeout: 264 seconds]
workmad3 has quit [Ping timeout: 256 seconds]
conta has joined #ruby
hobbes has joined #ruby
Guest82829 has joined #ruby
hobbes has quit [Client Quit]
Guest82829 has quit [Ping timeout: 260 seconds]
nowhereman_ has quit [Ping timeout: 245 seconds]
p0p0pr37 has quit [Ping timeout: 264 seconds]
jnollette has quit [Ping timeout: 250 seconds]
Guest82829 has joined #ruby
dreamthese has quit [Remote host closed the connection]
dreamthese has joined #ruby
za1b1tsu has joined #ruby
jnollette has joined #ruby
Guest82829 has quit [Ping timeout: 248 seconds]
jamesaxl has joined #ruby
p4p0l0 has quit [Remote host closed the connection]
Guest82829 has joined #ruby
beefjoe has joined #ruby
Guest82829 has quit [Ping timeout: 245 seconds]
ciscam has quit [Ping timeout: 240 seconds]
weird_error has joined #ruby
ciscam has joined #ruby
jnollette has quit [Remote host closed the connection]
jnollette has joined #ruby
rivalomega has joined #ruby
Guest82829 has joined #ruby
chongtxtx has quit [Ping timeout: 245 seconds]
rivalomega has quit [Ping timeout: 255 seconds]
Guest82829 has quit [Ping timeout: 264 seconds]
chongtxtx has joined #ruby
Guest82829 has joined #ruby
Guest82829 has quit [Ping timeout: 256 seconds]
Guest82829 has joined #ruby
Guest82829 has quit [Ping timeout: 264 seconds]
Zaab1t has joined #ruby
BaroMeter has joined #ruby
BaroMeter has quit [Client Quit]
Guest82829 has joined #ruby
psychicist__ has joined #ruby
amelliaa has quit [Quit: -]
ciscam has quit [Ping timeout: 255 seconds]
Guest82829 has quit [Ping timeout: 264 seconds]
ciscam has joined #ruby
Cthulu201 has quit [Ping timeout: 240 seconds]
Guest82829 has joined #ruby
RougeR has joined #ruby
nowhereman_ has joined #ruby
shinnya has joined #ruby
Guest82829 has quit [Ping timeout: 255 seconds]
maiz has joined #ruby
FernandoBasso has joined #ruby
Guest82829 has joined #ruby
Cthulu201 has joined #ruby
weird_error has quit [Quit: weird_error]
Guest82829 has quit [Ping timeout: 248 seconds]
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby
Guest82829 has joined #ruby
ur5us has quit [Ping timeout: 264 seconds]
<FernandoBasso> When would I use <<-LARACROFT ...\nLARACROFT sort of comment/docstring in ruby? Couldn't find some in my local installed stuff to get a feeling.
karapetyan has quit [Remote host closed the connection]
p4p0l0 has joined #ruby
nowhereman_ has quit [Ping timeout: 245 seconds]
Guest82829 has quit [Ping timeout: 256 seconds]
Guest82829 has joined #ruby
karapetyan has joined #ruby
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
AJA4350 has joined #ruby
Guest82829 has quit [Ping timeout: 240 seconds]
p4p0l0 has quit [Remote host closed the connection]
matheusoliveira has joined #ruby
<matheusoliveira> Good morning
workmad3 has joined #ruby
Guest82829 has joined #ruby
<apeiros> FernandoBasso: that's neither a comment nor a docstring. that's an actual string.
<apeiros> and you'd use it whenever they're more convenient than the alternatives.
<FernandoBasso> Not even a heredoc or herestring?
<apeiros> it is called heredoc, yes
<FernandoBasso> All right, thanks.
beefjoe has quit [Ping timeout: 245 seconds]
karapetyan has quit [Remote host closed the connection]
workmad3 has quit [Ping timeout: 240 seconds]
karapetyan has joined #ruby
Guest82829 has quit [Ping timeout: 264 seconds]
ciscam has quit [Ping timeout: 240 seconds]
Guest82829 has joined #ruby
ciscam has joined #ruby
jottr_ has joined #ruby
Guest82829 has quit [Ping timeout: 268 seconds]
bmurt has joined #ruby
fmcgeough has joined #ruby
Guest82829 has joined #ruby
codymj has joined #ruby
* FernandoBasso is finally installing pry
elementaru_ is now known as elementaru
<FernandoBasso> "It is currently not as powerful as tools like SLIME for lisp, but that is the general direction Pry is heading." <-- That is a great goal!
<matheusoliveira> Yes, it is.
RougeR has quit [Ping timeout: 256 seconds]
Guest82829 has quit [Ping timeout: 256 seconds]
<FernandoBasso> I believe it has, or will have good integration with emacs and vim then.
* FernandoBasso reading
Guest82829 has joined #ruby
dionysus69 has joined #ruby
Guest82829 has quit [Ping timeout: 240 seconds]
jottr_ has quit [Ping timeout: 265 seconds]
Guest82829 has joined #ruby
DLSteve has joined #ruby
Guest82829 has quit [Ping timeout: 268 seconds]
roamingdog has joined #ruby
ciscam has quit [Ping timeout: 264 seconds]
ciscam has joined #ruby
Guest82829 has joined #ruby
roamingdog has quit [Ping timeout: 260 seconds]
beefjoe has joined #ruby
Guest82829 has quit [Ping timeout: 245 seconds]
Guest82829 has joined #ruby
Guest82829 has quit [Ping timeout: 256 seconds]
jottr_ has joined #ruby
Guest82829 has joined #ruby
Guest82829 has quit [Ping timeout: 276 seconds]
cyberg has joined #ruby
t0xik has quit [Quit: Connection closed for inactivity]
GodFather has quit [Ping timeout: 256 seconds]
Guest82829 has joined #ruby
Dbugger has joined #ruby
jottr_ has quit [Ping timeout: 276 seconds]
apparition has quit [Quit: Bye]
Guest82829 has quit [Ping timeout: 268 seconds]
RougeR has joined #ruby
karapetyan has quit [Remote host closed the connection]
Guest82829 has joined #ruby
InfinityFye has joined #ruby
InfinityFye has left #ruby [#ruby]
Guest82829 has quit [Ping timeout: 268 seconds]
konsolebox has quit [Ping timeout: 256 seconds]
maiz has quit [Quit: WeeChat 2.0.1]
konsolebox has joined #ruby
maiz has joined #ruby
Guest82829 has joined #ruby
soniya29 has joined #ruby
face has quit [Ping timeout: 248 seconds]
soniya29 has quit [Remote host closed the connection]
fmcgeough has quit [Quit: fmcgeough]
Guest56848 has quit [Quit: ZNC 1.7.0 - https://znc.in]
Guest82829 has quit [Ping timeout: 256 seconds]
jasmith has quit [Quit: Leaving]
Nicmavr has joined #ruby
Nicmavr is now known as Guest98316
matheusoliveira has quit [Quit: matheusoliveira]
cschneid has joined #ruby
maiz has quit [Quit: WeeChat 2.0.1]
Guest82829 has joined #ruby
za1b1tsu has quit [Ping timeout: 240 seconds]
quobo has joined #ruby
rf` has joined #ruby
Guest82829 has quit [Ping timeout: 268 seconds]
workmad3 has joined #ruby
envex has quit [Ping timeout: 264 seconds]
envex has joined #ruby
rf` has quit [Ping timeout: 240 seconds]
cschneid has quit [Ping timeout: 256 seconds]
Guest82829 has joined #ruby
maiz has joined #ruby
workmad3 has quit [Ping timeout: 268 seconds]
dionysus69 has quit [Ping timeout: 245 seconds]
Guest82829 has quit [Ping timeout: 260 seconds]
Guest82829 has joined #ruby
Guest82829 has quit [Ping timeout: 240 seconds]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Dbugger has quit [Remote host closed the connection]
Guest82829 has joined #ruby
za1b1tsu has joined #ruby
za1b1tsu has quit [Ping timeout: 245 seconds]
Guest82829 has quit [Ping timeout: 256 seconds]
karapetyan has joined #ruby
cschneid has joined #ruby
conta has quit [Quit: conta]
Guest82829 has joined #ruby
karapetyan has quit [Ping timeout: 256 seconds]
codymj has quit [Read error: Connection reset by peer]
codymj has joined #ruby
cadillac_ has quit [Ping timeout: 260 seconds]
Guest82829 has quit [Ping timeout: 276 seconds]
rivalomega has joined #ruby
cschneid has quit [Ping timeout: 260 seconds]
cadillac_ has joined #ruby
gheegh has joined #ruby
Guest82829 has joined #ruby
rivalomega has quit [Ping timeout: 240 seconds]
chouhoulis has joined #ruby
weird_error has joined #ruby
<gheegh> theoretical question.. I have a list of about 200K records that I need to access.. it takes about 500 MB to store the entire file (in JSON format). I'm considering breaking it into a number of smaller files, zipped, (like 65k files).. and then retrieve each file from the disk and get teh record in question.. is this a terrible idea.. if it's in a gem?
<gheegh> the goal is to reduce the IO of storing all this in a file.. if i have to laod the entire file each time, tha'ts a lot of IO
Guest82829 has quit [Ping timeout: 256 seconds]
<gheegh> anyone have thoughts?
<havenwood> gheegh: Say more about what you're accessing them for? How are they used?
<gheegh> so, this is basically a cache..
<havenwood> gheegh: Are you familiar with DBM?
<havenwood> &ri YAML::DBM
<havenwood> gheegh: Does it need to be stored as JSON?
<gheegh> i'm working on a research project that is realted to Twitter usernames.. i'm retrieiving mentions in a stream... and processing the user account.. the "cache" is the verified users.. about 200K that are likley to be hit.. i'd like to hit this cache isntead of retrieving their account from teh API
<gheegh> no, itdoesn't need to be stored as json
<gheegh> i'm working in hashes
beanish has joined #ruby
<gheegh> if the cache lookup fails, then i'll look up the account
<havenwood> gheegh: Keys are Strings? What are the values?
<gheegh> key are strings yes
<gheegh> values are strings and integers
<gheegh> and nils
<havenwood> gheegh: I'd recommend YDBM, linked above.
<gheegh> how is it for space?
<gheegh> part of the thing I want to do is compress it.. so it doesn't take up so much space on disk
<havenwood> gheegh: It comes from a day when space was at a premium.
<gheegh> its 42 MB compressed, about 500MB uncompressed
Guest82829 has joined #ruby
<havenwood> gheegh: mmm
<havenwood> gheegh: is it disk or memory you're worried about?
<gheegh> memory really.. but IO as well
<gheegh> as it can gate performance loading a 500MB file each time I look up things from disk..
<havenwood> gheegh: The advantage of a DB like DBM is you don't have to deserialize all the values at once, just the ones you're using.
<gheegh> which happens sevearl times per second
<havenwood> gheegh: Try DBM :-)
<gheegh> but i have to load it into memorY?
<gheegh> I thought files were essentailly atomic unless there is some sort of cursor
<gheegh> loaded or not
<gheegh> ?
<havenwood> gheegh: With DBM, each value is independently serialized.
<gheegh> ok
<havenwood> gheegh: You only deserialize those you fetch.
Zaab1t has quit [Quit: Zaab1t]
weird_error has quit [Quit: weird_error]
<gheegh> OK
<gheegh> i'll play with it.. thanks
dj1300 has quit [Ping timeout: 260 seconds]
<havenwood> Ruby also ships with SDBM and GDBM. Lots of DBMs.
Guest82829 has quit [Ping timeout: 264 seconds]
<apeiros> gheegh: alternative question - why not store it in something like sqlite?
<gheegh> the thought was to limit IO
<havenwood> gheegh: SDBM would be smaller disk size. Serializing to Msgpack would be faster and smaller too.
<gheegh> and break it into a lot of smaller files
<apeiros> that's something databases do
<havenwood> gheegh: Sqlite is fantastic for reads.
<apeiros> after all, IO is a major source of performance. so there have been quite a couple of people spending quite some time to work on reducing IO with databases.
<gheegh> yeah
<gheegh> I'll try all o the options
<apeiros> and unless you always have to process all data, something like sqlite can help a ton in reducing IO.
<gheegh> i really just want to retrieve 1 record at a shot
<gheegh> and have the minimal amount of IO and memory used
<gheegh> and disk to a lesser extent
<apeiros> yeah. as said, that's something DBs traditionally try to excel at.
<gheegh> ok.. i'll try them
<gheegh> thanks guys
<apeiros> of course, the way you process the data will too have a great influence.
Guest82829 has joined #ruby
<havenwood> sdbm and sqlite would be interesting ones
<gheegh> ok.. that's great
<gheegh> thanks
<gheegh> super helpful
<havenwood> daybreak has some good benchmarks: https://propublica.github.io/daybreak/
<havenwood> gheegh: I'd guess YDBM and Sequel would be about on par. SDBM with Msgpack seems legit to me. ;-)
<havenwood> Sqlite, I mean*
<gheegh> yeah
<gheegh> i'll write up something like that gist.. and see what happens
<havenwood> LevelDB is fast: https://github.com/google/leveldb
<havenwood> But DBM already ships with Ruby ¯\_(ツ)_/¯
maiz has quit [Quit: WeeChat 2.0.1]
Guest82829 has quit [Ping timeout: 260 seconds]
<gheegh> essentailly, I'll be checking the database into the repo.. so the problem with DBM is it's machine dependent.
<gheegh> this will be running (eventually) on a couple dozen machines
<havenwood> gheegh: Actually LevelDB is probably ideal for you. It automatically compresses data with Snappy.
<havenwood> gheegh: With the requirements you've laid out, LevelDB is appealing.
<havenwood> Very high speed compression.
<havenwood> Not super tiny, but fast.
<gheegh> yeah i'll try taht one first..
<havenwood> gheegh: Sqlite won't be as small on disk, or as fast, but it's more widely used.
<gheegh> yeah
beanish has quit [Ping timeout: 265 seconds]
beanish has joined #ruby
donofrio has joined #ruby
beanish has quit [Client Quit]
Guest82829 has joined #ruby
maiz has joined #ruby
desperek has joined #ruby
cschneid has joined #ruby
<gheegh> leveldb's bindings for ruby are pretty non-functioanl on Ruby 2.5.1 on a mac
<gheegh> FYI
conta has joined #ruby
Guest82829 has quit [Ping timeout: 245 seconds]
daughertyh90 has joined #ruby
konsolebox has quit [Ping timeout: 256 seconds]
RougeR has quit [Ping timeout: 268 seconds]
<havenwood> gheegh: you might have better luck with: https://github.com/minad/lmdb
konsolebox has joined #ruby
Guest82829 has joined #ruby
<havenwood> gheegh: Im curious how simple a modern LevelDB wrapper with Fiddle would be.
<gheegh> yeah, don't have time to work on that.. :-)
cschneid has quit [Ping timeout: 245 seconds]
<havenwood> gheegh: Sqlite ftw?
<gheegh> that's what I"m working on now
<gheegh> to test
* apeiros really wants to write a DB in rust (nothing great, or even good - just as an exercise to learn rust)
<gheegh> I would love to be thinking in those terms.. too much going on right now.. i'm elbow deep in todos.. :-)
p4p0l0 has joined #ruby
tty has joined #ruby
<apeiros> same
<apeiros> and yet I watch an anime. well… it's sunday I guess.
Guest82829 has quit [Ping timeout: 260 seconds]
p4p0l0 has quit [Remote host closed the connection]
<gheegh> i will say sqlite is loading a lot slower.. :-)
daughertyh90 is now known as __holden__
Guest82829 has joined #ruby
karapetyan has joined #ruby
shinnya has quit [Ping timeout: 265 seconds]
Guest82829 has quit [Ping timeout: 265 seconds]
white_lilies has joined #ruby
<gheegh> FYI.. sqlite expanded the file from 490 MB to about 600 MB
<apeiros> that's to be expected. and probably more if you add indices.
Guest82829 has joined #ruby
claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
maiz has quit [Ping timeout: 256 seconds]
cschneid has joined #ruby
Guest82829 has quit [Ping timeout: 240 seconds]
<gheegh> wrapping with moneta, and using a compressions transformer
roamingdog has joined #ruby
maiz has joined #ruby
jottr_ has joined #ruby
DLSteve has quit [Quit: All rise, the honorable DLSteve has left the channel.]
Guest82829 has joined #ruby
starseed0000 has joined #ruby
workmad3 has joined #ruby
<gheegh> compressing the file reduces it to 239 MB
Guest82829 has quit [Ping timeout: 256 seconds]
<gheegh> still too big to store on Github
white_lilies has quit [Ping timeout: 276 seconds]
cschneid has quit [Ping timeout: 240 seconds]
hph^ has quit [Ping timeout: 240 seconds]
workmad3 has quit [Ping timeout: 255 seconds]
Guest82829 has joined #ruby
cschneid has joined #ruby
beanish has joined #ruby
Guest82829 has quit [Ping timeout: 264 seconds]
za1b1tsu has joined #ruby
Guest82829 has joined #ruby
maiz has quit [Ping timeout: 276 seconds]
za1b1tsu has quit [Ping timeout: 248 seconds]
vrih has joined #ruby
vrih has quit [Client Quit]
Guest82829 has quit [Ping timeout: 256 seconds]
jottr_ has quit [Ping timeout: 240 seconds]
cschneid has quit [Ping timeout: 240 seconds]
Guest82829 has joined #ruby
Guest82829 has quit [Ping timeout: 248 seconds]
cschneid has joined #ruby
claudiuinberlin has joined #ruby
Guest82829 has joined #ruby
conta has quit [Quit: conta]
orbyt_ has joined #ruby
jottr_ has joined #ruby
Guest82829 has quit [Ping timeout: 240 seconds]
cschneid has quit [Ping timeout: 265 seconds]
quobo has quit [Quit: Connection closed for inactivity]
Guest82829 has joined #ruby
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
Guest82829 has quit [Ping timeout: 268 seconds]
Guest82829 has joined #ruby
ciscam has quit [Ping timeout: 256 seconds]
JamJam_kid has joined #ruby
ciscam has joined #ruby
Guest82829 has quit [Ping timeout: 260 seconds]
beanish has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nowhereman_ has joined #ruby
houhoulis has joined #ruby
Guest82829 has joined #ruby
`7hr34t_hvntr has joined #ruby
rivalomega has joined #ruby
Guest82829 has quit [Ping timeout: 240 seconds]
rivalomega has quit [Ping timeout: 245 seconds]
cschneid has joined #ruby
jottr_ has quit [Ping timeout: 264 seconds]
chongtxtx has quit [Ping timeout: 256 seconds]
Guest82829 has joined #ruby
cschneid has quit [Ping timeout: 240 seconds]
Guest82829 has quit [Ping timeout: 264 seconds]
agent_white has joined #ruby
jottr_ has joined #ruby
cschneid has joined #ruby
Guest82829 has joined #ruby
Guest82829 has quit [Ping timeout: 268 seconds]
solocshaw has quit [Ping timeout: 248 seconds]
fmcgeough has joined #ruby
Guest82829 has joined #ruby
solocshaw has joined #ruby
Guest82829 has quit [Ping timeout: 255 seconds]
cschneid has quit [Read error: Connection timed out]
white_lilies has joined #ruby
cschneid has joined #ruby
Guest82829 has joined #ruby
houhoulis has quit [Remote host closed the connection]
maiz has joined #ruby
Guest82829 has quit [Ping timeout: 240 seconds]
jottr_ has quit [Ping timeout: 264 seconds]
wontruefree has joined #ruby
dinfuehr has quit [Ping timeout: 265 seconds]
chouhoulis has quit [Remote host closed the connection]
Guest82829 has joined #ruby
chouhoulis has joined #ruby
za1b1tsu has joined #ruby
dinfuehr has joined #ruby
workmad3 has joined #ruby
cschneid has quit [Ping timeout: 240 seconds]
maiz has quit [Ping timeout: 264 seconds]
Guest82829 has quit [Ping timeout: 240 seconds]
fmcgeough has quit [Quit: fmcgeough]
chouhoulis has quit [Ping timeout: 240 seconds]
za1b1tsu has quit [Ping timeout: 240 seconds]
workmad3 has quit [Ping timeout: 260 seconds]
cschneid has joined #ruby
agent_white has quit [Ping timeout: 268 seconds]
maiz has joined #ruby
Guest82829 has joined #ruby
agent_white has joined #ruby
cschneid has quit [Ping timeout: 245 seconds]
cschneid has joined #ruby
maiz has quit [Quit: WeeChat 2.0.1]
Guest82829 has quit [Ping timeout: 260 seconds]
FernandoBasso has quit [Quit: Leaving]
cschneid has quit [Ping timeout: 256 seconds]
jottr_ has joined #ruby
Guest82829 has joined #ruby
karapetyan has quit [Remote host closed the connection]
Junaos has quit [Quit: ZNC - http://znc.in]
Guest82829 has quit [Ping timeout: 264 seconds]
cschneid has joined #ruby
Junaos has joined #ruby
Guest82829 has joined #ruby
reber has quit [Remote host closed the connection]
Guest82829 has quit [Ping timeout: 240 seconds]
Guest82829 has joined #ruby
dviola has joined #ruby
Guest82829 has quit [Ping timeout: 264 seconds]
icarus has quit [Ping timeout: 264 seconds]
venmx has quit [Ping timeout: 264 seconds]
Guest82829 has joined #ruby
herbmillerjr has quit [Excess Flood]
herbmillerjr has joined #ruby
jottr_ has quit [Ping timeout: 264 seconds]
Guest82829 has quit [Ping timeout: 240 seconds]
TinkerT has quit [Read error: Connection reset by peer]
fmcgeough has joined #ruby
TinkerT has joined #ruby
cadillac_ has quit [Ping timeout: 256 seconds]
wontruefree has quit [Ping timeout: 264 seconds]
Guest82829 has joined #ruby
cadillac_ has joined #ruby
ur5us has joined #ruby
za1b1tsu has joined #ruby
Guest82829 has quit [Ping timeout: 240 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
planigan has quit [Quit: leaving]
planigan has joined #ruby
ur5us has quit [Ping timeout: 265 seconds]
cadillac_ has quit [Ping timeout: 264 seconds]
Guest82829 has joined #ruby
zapata has quit [Read error: Connection reset by peer]
houhoulis has joined #ruby
zapata has joined #ruby
cadillac_ has joined #ruby
jready has joined #ruby
Guest82829 has quit [Ping timeout: 265 seconds]
ciscam has quit [Ping timeout: 248 seconds]
Guest82829 has joined #ruby
karapetyan has joined #ruby
ciscam has joined #ruby
Guest82829 has quit [Ping timeout: 240 seconds]
orbyt_ has joined #ruby
karapetyan has quit [Ping timeout: 256 seconds]
dminuoso has joined #ruby
sysvalve has joined #ruby
Guest82829 has joined #ruby
<dminuoso> Let's say I want to do this kind of transformation: [1,2,3,4] -> [nil, nil, "error blah blah blah", nil]
beefjoe has quit [Remote host closed the connection]
<dminuoso> So I have some `def process(item); ... end;`
<dminuoso> Which might either fail producing some string, or produce nil if everything was successful
<dminuoso> The main annoyance I have is a unified error interface that is not insultingly verbose.
<dminuoso> I could go and do some: def process(item); begin ... if bad; return "blah blah blah"; end; rescue; return $!.msg; end; end
<dminuoso> But this is not really concise..
<apeiros> shouldn't that be return, instead of return "blah blah"?
Guest82829 has quit [Ping timeout: 245 seconds]
<apeiros> def has implicit begin/end btw., you can skip that.
<elomatreb> You could use an inline rescue to shorten it?
za1b1tsu has quit [Ping timeout: 265 seconds]
Guest82829 has joined #ruby
fmcgeough has quit [Quit: fmcgeough]
Guest82829 has quit [Ping timeout: 260 seconds]
hph^ has joined #ruby
Guest82829 has joined #ruby
roamingdog has joined #ruby
Azure has quit [Read error: Connection reset by peer]
Azure has joined #ruby
Guest82829 has quit [Ping timeout: 256 seconds]
Azure has quit [Read error: Connection reset by peer]
roamingdog has quit [Ping timeout: 256 seconds]
Azure has joined #ruby
alem0lars has joined #ruby
workmad3 has joined #ruby
Guest82829 has joined #ruby
schleppel has quit [Quit: Konversation terminated!]
workmad3 has quit [Ping timeout: 240 seconds]
BloopMon1 has quit [Read error: Connection reset by peer]
BloopMonster has quit [Read error: Connection reset by peer]
BloopMonsterOMG has joined #ruby
BloopMonster has joined #ruby
Guest82829 has quit [Ping timeout: 268 seconds]
alem0lars has quit [Quit: Leaving]
alem0lars has joined #ruby
ur5us has joined #ruby
alem0lars has quit [Client Quit]
alem0lars has joined #ruby
Guest82829 has joined #ruby
Guest82829 has quit [Ping timeout: 256 seconds]
Guest82829 has joined #ruby
Guest82829 has quit [Ping timeout: 256 seconds]
claudiuinberlin has quit [Quit: Textual IRC Client: www.textualapp.com]
Guest82829 has joined #ruby
\void has joined #ruby
jasmith has joined #ruby
Guest82829 has quit [Ping timeout: 256 seconds]
jready has quit [Remote host closed the connection]
jready has joined #ruby
Guest82829 has joined #ruby
jready has quit [Ping timeout: 265 seconds]
t0xik has joined #ruby
shaman42_ has quit [Ping timeout: 240 seconds]
shaman42 has joined #ruby
Guest82829 has quit [Ping timeout: 260 seconds]
alem0lars has quit [Ping timeout: 256 seconds]
sysvalve has quit [Quit: Leaving]
Azure has quit [Ping timeout: 256 seconds]
Azure|dc has joined #ruby
Guest82829 has joined #ruby
shaman42 has quit [Ping timeout: 265 seconds]
zapata has quit [Read error: Connection reset by peer]
mike11 has joined #ruby
karapetyan has joined #ruby
zapata has joined #ruby
Guest82829 has quit [Ping timeout: 240 seconds]
shaman42 has joined #ruby
weird_error has joined #ruby
Guest82829 has joined #ruby
Guest82829 has quit [Ping timeout: 240 seconds]
rivalomega has joined #ruby
mike11 has quit [Quit: Leaving.]
Guest82829 has joined #ruby
rivalomega has quit [Ping timeout: 264 seconds]
KramerC has quit [Remote host closed the connection]
agent_white has quit [Quit: brb]
agent_white has joined #ruby
Guest82829 has quit [Ping timeout: 248 seconds]
lele has quit [Ping timeout: 256 seconds]
biberu has quit []
Guest82829 has joined #ruby
lele has joined #ruby
amar has quit [Remote host closed the connection]
Guest82829 has quit [Ping timeout: 265 seconds]
psychicist__ has quit [Quit: Lost terminal]
codymj has quit [Quit: Leaving]
cschneid has quit [Remote host closed the connection]
p4p0l0 has joined #ruby
Guest82829 has joined #ruby
desperek has quit [Quit: xoxo]
amar has joined #ruby
weird_error has quit [Quit: weird_error]
Guest82829 has quit [Ping timeout: 256 seconds]
BTRE has quit [Quit: Leaving]
Guest82829 has joined #ruby
`7hr34t_hvntr has quit [Ping timeout: 245 seconds]
Guest82829 has quit [Ping timeout: 264 seconds]
houhoulis has quit []
Guest82829 has joined #ruby
BTRE has joined #ruby
Guest82829 has quit [Ping timeout: 256 seconds]
weird_error has joined #ruby
workmad3 has joined #ruby
Guest82829 has joined #ruby
`7hr34t_hvntr has joined #ruby
workmad3 has quit [Ping timeout: 256 seconds]
weird_error has quit [Quit: weird_error]
SolarAquarion has quit [Ping timeout: 265 seconds]
roamingdog has joined #ruby
Guest82829 has quit [Ping timeout: 260 seconds]
roamingdog has quit [Ping timeout: 240 seconds]
rivalomega has joined #ruby
Guest82829 has joined #ruby
SolarAquarion has joined #ruby
Guest82829 has quit [Ping timeout: 245 seconds]
houhoulis has joined #ruby
Guest82829 has joined #ruby
icarus has joined #ruby
Guest82829 has quit [Ping timeout: 260 seconds]
ciscam has quit [Ping timeout: 240 seconds]
ciscam has joined #ruby
Guest82829 has joined #ruby
Guest82829 has quit [Ping timeout: 240 seconds]
cschneid has joined #ruby
`7hr34t_hvntr has quit [Ping timeout: 260 seconds]
karapetyan has quit [Remote host closed the connection]
weaksauce has quit [Quit: Textual IRC Client: www.textualapp.com]
Guest82829 has joined #ruby
RougeR has joined #ruby
RougeR has joined #ruby
RougeR has quit [Changing host]
Guest82829 has quit [Ping timeout: 256 seconds]
perniciouscaffei has quit [Ping timeout: 264 seconds]
duderonomy has quit [Quit: Textual IRC Client: www.textualapp.com]
Guest82829 has joined #ruby
p4p0l0 has quit [Remote host closed the connection]
spencer has joined #ruby
ogres has joined #ruby
Guest82829 has quit [Ping timeout: 256 seconds]
Guest82829 has joined #ruby
weaksauce has joined #ruby
`7hr34t_hvntr has joined #ruby
Guest82829 has quit [Ping timeout: 256 seconds]
clemens3 has quit [Ping timeout: 256 seconds]
Guest82829 has joined #ruby
amar has quit [Remote host closed the connection]
amar has joined #ruby
amar has quit [Ping timeout: 260 seconds]
Guest82829 has quit [Ping timeout: 264 seconds]
sameerynho has quit [Ping timeout: 256 seconds]
Guest82829 has joined #ruby
cschneid has quit [Remote host closed the connection]
cagomez has joined #ruby
Guest82829 has quit [Ping timeout: 264 seconds]