Puffball has quit [Read error: Connection reset by peer]
Puffball has joined #ruby
AKPWD has quit [Quit: じゃね。]
noobineer has quit [Ping timeout: 244 seconds]
Guest84006 has joined #ruby
augcesar has quit [Quit: Connection closed for inactivity]
AKPWD has joined #ruby
Guest84006 has quit [Ping timeout: 260 seconds]
Guest18491 has quit [Read error: Connection reset by peer]
Puffball has quit [Read error: Connection reset by peer]
Nicmavr has joined #ruby
Nicmavr is now known as Guest96351
Guest84006 has joined #ruby
Puffball has joined #ruby
salasrod has quit []
Guest84006 has quit [Ping timeout: 240 seconds]
dinfuehr has quit [Ping timeout: 240 seconds]
dinfuehr has joined #ruby
graphene has quit [Remote host closed the connection]
graphene has joined #ruby
Guest84006 has joined #ruby
Tempesta has joined #ruby
Fridtjof has quit [Ping timeout: 256 seconds]
alfiemax has joined #ruby
pr0ton has quit [Remote host closed the connection]
Guest84006 has quit [Ping timeout: 240 seconds]
Fridtjof has joined #ruby
DarthGandalf has quit [Ping timeout: 240 seconds]
alex`` has quit [Ping timeout: 240 seconds]
alfiemax has quit [Ping timeout: 240 seconds]
DarthGandalf has joined #ruby
Guest84006 has joined #ruby
white_lilies has joined #ruby
eb0t has quit [Quit: WeeChat 2.0.1]
bmurt has joined #ruby
Guest84006 has quit [Ping timeout: 264 seconds]
knight33 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mynameisdebian has joined #ruby
Guest84006 has joined #ruby
arfy has joined #ruby
<arfy>
hi all... I'm having a bit of trouble finding an answer for ruby 2.5.1, I want to install ruby using the ruby installer in windows, but noted it doesn't come with any ri documentation for core ruby. is there a way to install this?
jhack has quit [Quit: Leaving]
jhack_ is now known as jhack
Guest84006 has quit [Ping timeout: 244 seconds]
eckhardt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bmurt has joined #ruby
graphene has quit [Remote host closed the connection]
graphene has joined #ruby
Guest84006 has joined #ruby
Guest84006 has quit [Ping timeout: 240 seconds]
<arahael>
thats an old ruby, isnt it?
<arfy>
arahael: the ruby installer? no, it's 2.5.1
graphene has quit [Remote host closed the connection]
jhack has quit [Quit: jhack]
graphene has joined #ruby
Guest84006 has joined #ruby
akkiguru_ has joined #ruby
subroot has joined #ruby
tvw has quit [Ping timeout: 256 seconds]
<arahael>
Ah, indeed. Well, why not grab the docs, then?
pharma_joe has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
akkiguru_ has quit [Ping timeout: 240 seconds]
pharma_joe has joined #ruby
<havenwood>
mikhael_k33hl: When you say you can't see them in Linux, what are you trying?
Guest84006 has joined #ruby
apeiros_ has quit [Remote host closed the connection]
<havenwood>
mikhael_k33hl: You can only see env vars in the process they were created or a child process. A parent process can't get env vars from its child.
<havenwood>
mikhael_k33hl: If you haven't already, take a look at exactly what the wrapper does: cat /usr/local/rvm/gems/ruby-1.9.3-p547/wrappers/ruby
<mikhael_k33hl>
havenwood: like `export -p` to see environment variables
<mikhael_k33hl>
havenwood: isn't exporting making the variables an environment variables for linux itself?
<mikhael_k33hl>
havenwood: Oh I see now, the variables were exported in the ruby environment
Guest84006 has quit [Ping timeout: 244 seconds]
<havenwood>
mikhael_k33hl: Exporting means child processes will inherit the variable. There's no way to have the child assign a variable on the parent.
<havenwood>
mikhael_k33hl: Env vars only go downstream.
<mikhael_k33hl>
havenwood: I see. I'm still a little bit confused about it though as I've been used to export environment variables in linux just running the export command, hehe
<havenwood>
mikhael_k33hl: If you check in the Ruby process, you'll see the env vars are all there. If you exec or fork from the Ruby process you'll still see them.
<havenwood>
The grandchildren process can still see them.
<havenwood>
And the great grandchildren.
<mikhael_k33hl>
the exports were run under the /bin/sh context though
<havenwood>
mikhael_k33hl: The context isn't /bin/sh, it's this specific process.
Inline has quit [Quit: Leaving]
<havenwood>
mikhael_k33hl: Many sh processes can have totally different env vars.
<havenwood>
mikhael_k33hl: Children inherit env vars, but they're not global.
<mikhael_k33hl>
Okay, so how do you create a env var for linux?
Guest84006 has joined #ruby
<havenwood>
mikhael_k33hl: export FOO=1
havenwood has quit [Excess Flood]
TvL2386 has quit [Ping timeout: 248 seconds]
arfy8820 has joined #ruby
havenwood has joined #ruby
havenwood has joined #ruby
havenwood has quit [Changing host]
<mikhael_k33hl>
and you will see it when you run `printenv` right? Though I'm slowly getting it. So the wrapper/ruby has exec ruby "$@" which I've read pertaing to backtraces, is that correct?
banisterfiend has joined #ruby
<mikhael_k33hl>
Or is there another use for that that I'm now aware of?
<mikhael_k33hl>
Cause what I'm looking for perhaps is how those exports were sent to the ruby environments? cause they are used in a rails application
<havenwood>
mikhael_k33hl: well, this `file` shim you've shown sets a few env vars, then execs a child process that's an RVM wrapper that adds a few more env vars and runs Ruby with the arguments to the file
<havenwood>
mikhael_k33hl: you took a look at the contents of the wrapper?
Guest84006 has quit [Ping timeout: 244 seconds]
<havenwood>
(it's just a few env vars then it runs ruby)
za1b1tsu has joined #ruby
biberu has joined #ruby
<mikhael_k33hl>
havenwood: yep, I did it has the lines source "/usr/local/rvm/gems/ruby-1.9.3-p547/environment" ; exec ruby "$@"
paradisaeidae has quit [Quit: ChatZilla 0.9.93 [Firefox 56.0.2/20171024165158]]
paradisaeidae_ has quit [Quit: ChatZilla 0.9.93 [Firefox 56.0.2/20171024165158]]
<mikhael_k33hl>
I guess that' what redirecting the exports eh?
<mikhael_k33hl>
havenwood: I did, and it should the lines with the exported variables
arfy8820 has left #ruby [#ruby]
aupadhye has joined #ruby
smrtrnx has joined #ruby
<smrtrnx>
hello everyone
<havenwood>
smrtrnx: hi
<smrtrnx>
I am new to ruby. Using git i tried to install bootstrap using gem but it seems that I cannot locate or don't know how to install the gem file that I have downloaded
<smrtrnx>
can anyone please guide me on what to do?
<smrtrnx>
Hello @havenwood
<havenwood>
smrtrnx: You're using the bootstrap gem in a Ruby app?
<havenwood>
mikhael_k33hl: Basically the file shim and RVM wrappers do the same thing, set some env vars then pass the args on to Ruby.
<smrtrnx>
i tried installing it using git like "gem bootstrap" command
reber has joined #ruby
Guest84006 has joined #ruby
<havenwood>
smrtrnx: Are you wanting to use this gem in an app? Does the app have a Gemfile?
<havenwood>
smrtrnx: When you say "using git", do you mean you put it in your Gemfile and ran?: bundle
<mikhael_k33hl>
havenwood: I see, will look more into it, thanks man
<havenwood>
mikhael_k33hl: no prob
TvL2386 has joined #ruby
<havenwood>
smrtrnx: Happy to help, but we need context. Just sanity checking that you have an app, it has a Gemfile, you've bundled and are having trouble requiring the gem?
<havenwood>
smrtrnx: Rails or Hanami?
<smrtrnx>
basically i have succesfully downloaded the bootstrap gem file but i don't really know how to do the bundle install
<smrtrnx>
ruby rails i guess havenwood
<smrtrnx>
i installed ruby on my machine
<havenwood>
smrtrnx: If you don't have a Rails or Hanami app, you shouldn't be using this gem.
<havenwood>
smrtrnx: Ruby is the programming language. Rails is a popular web framework library in Ruby.
<havenwood>
?rails
<ruby[bot]>
Please join #RubyOnRails for Rails questions. You need to be identified with NickServ, see /msg NickServ HELP
rippa has joined #ruby
<havenwood>
smrtrnx: I wonder if you really have a Rails app? It seems like you'd know if you did.
Guest84006 has quit [Ping timeout: 260 seconds]
<havenwood>
What are you trying to use Bootstrap for?
<smrtrnx>
i was supposed to create a wordpress theme using bootstrap sass
<havenwood>
smrtrnx: If you just want to install the bootstrap gem, outside an app, for whatever reason: gem install bootstrap
<smrtrnx>
should it download the latest version of bootstrap using gem install bootstrap?
<havenwood>
smrtrnx: bootstrap-sass is an entirely different gem
<havenwood>
smrtrnx: Wordpress is a PHP library. I don't get where a gem comes into play at all.
<smrtrnx>
using this command gem 'bootstrap', '~> 4.1.1' but i am stuck installing using the bundle install
<havenwood>
smrtrnx: Do you have a Gemfile?
<havenwood>
smrtrnx: What kinda Wordpress app is this that it's Ruby?!?
<havenwood>
smrtrnx: This doesn't add up.
<smrtrnx>
basically using some sort of this command gem 'bootstrap', '~> 4.1.1' will download the gem file
<smrtrnx>
allow me to clarify things up
<havenwood>
smrtrnx: What in the world are you doing with that line? Where are you puttin git?
raynold has quit []
<havenwood>
If you don't have a Ruby app, you're barking up the wrong tree.
Guest84006 has joined #ruby
<smrtrnx>
I was just only trying to download this bootstrap version 4.1.1 on my git cmd
<havenwood>
smrtrnx: So there's Bootstrap. Then there are various Bootstrap-related gems. These are the latter.
<smrtrnx>
i was just wondering how to extract the gem file that I have downloaded
<havenwood>
smrtrnx: Why are you using a gem???
<havenwood>
smrtrnx: If you have a Ruby project, you haven't mentioned it. You seem to be using Wordpress and somehow got on a Ruby gem rather than the Bootstrap library you're searching for.
<smrtrnx>
hhmmm i don't really have a clue I was trying to figure out how it works to download bootstrap on git cmd
<havenwood>
smrtrnx: Since you don't have a Ruby app, or anything Ruby-related here, stay away from Ruby gems.
quobo has quit [Quit: Connection closed for inactivity]
<havenwood>
smrtrnx: A Rails gem isn't relevant to what you're doing any more than a Rust Cargo package or whatever else. If it says gem, it's not what you're looking for. Stop messing with Ruby gems.
Guest84006 has quit [Ping timeout: 240 seconds]
<havenwood>
smrtrnx: Though do come back and learn Ruby!
<havenwood>
We'd be happy to show you how to use gems or create your own.
akkiguru_ has joined #ruby
<smrtrnx>
thanks havenwood. I guess I am starting to learn ruby by now
<smrtrnx>
but i couldn't extract gem files
<smrtrnx>
should it be extracted anyway?
<havenwood>
smrtrnx: Are you trolling?
<havenwood>
smrtrnx: Wordpress doesn't use gems. Gems are Ruby packages. Wordpress is not Ruby. Gems have nothing at all to do with what you're doing. Nothing.
<havenwood>
smrtrnx: These gems are packaging bootstrap specifically for Ruby apps. You don't have a Ruby app so they're not what you're looking for.
Guest84006 has joined #ruby
smrtrnx has quit [Remote host closed the connection]
<havenwood>
smrtrnx: Try that ^ repo above. It seems you're trying to find a nice Wordpress theme with Bootstrap support. I don't know how you got on Ruby gems, but abort. This is not what you're looking for.
<havenwood>
¯\_(ツ)_/¯
Guest84006 has quit [Ping timeout: 268 seconds]
schleppel has joined #ruby
Guest84006 has joined #ruby
Guest84006 has quit [Ping timeout: 240 seconds]
banisterfiend has quit [Ping timeout: 244 seconds]
kryptoz has quit [Remote host closed the connection]
pharma_joe has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kryptoz has joined #ruby
pharma_joe has joined #ruby
Guest84006 has joined #ruby
eb0t has quit [Quit: WeeChat 2.0.1]
dellavg has joined #ruby
eblip has quit [Quit: WeeChat 2.0.1]
kryptoz has quit [Remote host closed the connection]
konsolebox has quit [Ping timeout: 240 seconds]
Guest84006 has quit [Ping timeout: 256 seconds]
kryptoz has joined #ruby
konsolebox has joined #ruby
pharma_joe has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Eiam has quit [Ping timeout: 276 seconds]
Guest84006 has joined #ruby
aufi has joined #ruby
nowhere_man has quit [Ping timeout: 256 seconds]
kryptoz has quit [Remote host closed the connection]
nowhere_man has joined #ruby
Guest84006 has quit [Ping timeout: 265 seconds]
kryptoz has joined #ruby
Guest84006 has joined #ruby
Guest84006 has quit [Ping timeout: 260 seconds]
amar has joined #ruby
Guest84006 has joined #ruby
yohji has joined #ruby
amar has quit [Ping timeout: 240 seconds]
conta has joined #ruby
agent_white has quit [Quit: leaving]
Guest84006 has quit [Ping timeout: 260 seconds]
amar has joined #ruby
dionysus69 has joined #ruby
TomyWork has joined #ruby
alem0lars has joined #ruby
clemens3 has joined #ruby
mynameisdebian has quit [Remote host closed the connection]
beefjoe has joined #ruby
Guest84006 has joined #ruby
akkiguru_ has quit [Ping timeout: 244 seconds]
akkiguru_ has joined #ruby
smrtrnx has joined #ruby
<smrtrnx>
sorry @havenwood
<smrtrnx>
i was disconnected
<havenwood>
smrtrnx: no prob
Guest84006 has quit [Ping timeout: 260 seconds]
<havenwood>
smrtrnx: Try the noahbass/sass-wordpress-bootstrap repo I linked above. It seems you're trying to find a nice Wordpress theme with Bootstrap support (not a Ruby gem).
<smrtrnx>
I am not trolling anyway just trying to look for some help with regards to my query
<smrtrnx>
thanks for this i'll check it out
Guest84006 has joined #ruby
Guest84006 has quit [Ping timeout: 240 seconds]
teclator has quit [Read error: Connection reset by peer]
shinnya has quit [Ping timeout: 244 seconds]
teclator has joined #ruby
quobo has joined #ruby
SeepingN has quit [Quit: The system is going down for reboot NOW!]
Guest84006 has joined #ruby
gregf_ has quit [Ping timeout: 252 seconds]
salasrod has quit [Ping timeout: 244 seconds]
Guest84006 has quit [Ping timeout: 244 seconds]
mikecmpbll has joined #ruby
mikecmpbll has quit [Client Quit]
Burgestrand has joined #ruby
mynameisdebian has joined #ruby
jmcgnh has quit [Read error: Connection reset by peer]
Guest84006 has joined #ruby
andikr has joined #ruby
Beams has joined #ruby
jmcgnh has joined #ruby
chkhanch has joined #ruby
mynameisdebian has quit [Ping timeout: 276 seconds]
mikecmpbll has joined #ruby
Guest84006 has quit [Ping timeout: 265 seconds]
reber has quit [Remote host closed the connection]
baweaver is now known as baweaver_away
Beams has quit [Quit: .]
Guest84006 has joined #ruby
amar_ has joined #ruby
tildes has joined #ruby
amar has quit [Ping timeout: 268 seconds]
Guest84006 has quit [Ping timeout: 264 seconds]
VladGh_ has joined #ruby
VladGh has quit [Ping timeout: 268 seconds]
Beams has joined #ruby
Guest84006 has joined #ruby
smrtrnx has quit [Remote host closed the connection]
Guest84006 has quit [Ping timeout: 240 seconds]
mtkd has joined #ruby
arne has joined #ruby
<arne>
HELLO
arne is now known as Bish
Guest84006 has joined #ruby
ams__ has joined #ruby
guille-moe has joined #ruby
akkiguru_ has quit [Ping timeout: 240 seconds]
ak_ has joined #ruby
Beams has quit [Quit: .]
Technato1 has joined #ruby
Beams has joined #ruby
khan_ has joined #ruby
chkhanch has quit [Ping timeout: 244 seconds]
akkiguru_ has joined #ruby
Tempesta has quit [Remote host closed the connection]
foxxx0_ has quit [Quit: foxxx0_]
mynameisdebian has joined #ruby
eb0t has joined #ruby
mynameisdebian has quit [Ping timeout: 265 seconds]
<Bish>
im guessing that's not doable, without breaking ruby
wojnar has joined #ruby
beefjoe has quit [Remote host closed the connection]
clemens3 has quit [Remote host closed the connection]
Technato1 has quit [Quit: leaving]
dhollin3 has joined #ruby
dhollinger has quit [Ping timeout: 244 seconds]
khan_ has quit [Ping timeout: 264 seconds]
InfinityFye has joined #ruby
wojnar has quit [Remote host closed the connection]
pen has quit []
mynameisdebian has joined #ruby
venmx has joined #ruby
ur5us has joined #ruby
tvw has joined #ruby
mikhael_k33hl has quit [Quit: Page closed]
mynameisdebian has quit [Ping timeout: 276 seconds]
Beams has quit [Quit: .]
teclator has quit [Remote host closed the connection]
^mtkd has joined #ruby
mtkd has quit [Ping timeout: 240 seconds]
tildes has quit [Remote host closed the connection]
Beams has joined #ruby
samosaphile has joined #ruby
graphene has quit [Remote host closed the connection]
graphene has joined #ruby
GodFather has quit [Ping timeout: 260 seconds]
graphene has quit [Remote host closed the connection]
graphene has joined #ruby
pwnd_nsfw` has joined #ruby
UncleCid__ has quit [Ping timeout: 264 seconds]
Beams has quit [Quit: .]
<ohcibi>
when `bundle install --path foo` in a new directory with just a Gemfile in it, bundler will persist the path setting in .bundle/config in that directory. I was doing the same thing in a ruby:2.5 docker container (i.e. executing `bundle install --path foo` inside the container with just the Gemfile and Gemfile.lock in it) but the config is missing... i'm running as root inside the container but the config is not persisted. also /root/.bundle contains only the
<ohcibi>
cache.. why is the config not persisted?
<ohcibi>
the readme even tells that --path is not persisted and one must do so by using bundle config but why is the config persisted on my local machine thern?
apeiros_ has joined #ruby
amar_ has quit [Remote host closed the connection]
amar_ has joined #ruby
amar_ has quit [Read error: Connection reset by peer]
samosaphile has quit [Ping timeout: 252 seconds]
Beams has joined #ruby
mynameisdebian has joined #ruby
mynameisdebian has quit [Ping timeout: 276 seconds]
samosaphile has joined #ruby
InfinityFye has left #ruby ["Leaving"]
\void has quit [Quit: So long, and thanks for all the fish.]
_aeris_ has quit [Remote host closed the connection]
kryptoz has quit [Remote host closed the connection]
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby
amar_ has joined #ruby
khan_ has joined #ruby
ur5us has quit [Ping timeout: 268 seconds]
Beams has quit [Quit: .]
amar__ has joined #ruby
Beams has joined #ruby
amar_ has quit [Ping timeout: 268 seconds]
Some-body_ has joined #ruby
DarthGandalf has quit [Ping timeout: 264 seconds]
Some-body_ is now known as DarthGandalf
akkiguru_ has quit [Ping timeout: 268 seconds]
aufi_ has joined #ruby
aufi has quit [Ping timeout: 240 seconds]
mynameisdebian has joined #ruby
mynameisdebian has quit [Ping timeout: 276 seconds]
ltp has quit [Quit: leaving]
ltp has joined #ruby
khan_ has quit [Ping timeout: 240 seconds]
alex`` has quit [Ping timeout: 240 seconds]
mzo has joined #ruby
banisterfiend has joined #ruby
clemens3 has joined #ruby
maufart__ has joined #ruby
amelliaa has joined #ruby
aufi_ has quit [Ping timeout: 264 seconds]
mynameisdebian has joined #ruby
samosaphile has joined #ruby
khan_ has joined #ruby
teclator_ has joined #ruby
aufi_ has joined #ruby
jottr has joined #ruby
teclator_ is now known as teclator
maufart__ has quit [Ping timeout: 240 seconds]
mynameisdebian has quit [Ping timeout: 276 seconds]
amelliaa has quit [Quit: -]
noobineer has joined #ruby
jottr has quit [Ping timeout: 240 seconds]
shinnya has joined #ruby
donofrio has joined #ruby
jrafanie has joined #ruby
Beams has quit [Quit: .]
alex`` has joined #ruby
bkxd has joined #ruby
Beams has joined #ruby
guille-moe has quit [Ping timeout: 260 seconds]
nowhere_man has quit [Ping timeout: 256 seconds]
bkxd has quit [Ping timeout: 240 seconds]
jrafanie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
noobineer has quit [Ping timeout: 276 seconds]
ldnunes has joined #ruby
Beams has quit [Quit: .]
maufart__ has joined #ruby
apparition has joined #ruby
aufi_ has quit [Ping timeout: 264 seconds]
Beams has joined #ruby
venmx has quit [Ping timeout: 240 seconds]
jottr has joined #ruby
dbugger_ has joined #ruby
alem0lars has quit [Ping timeout: 240 seconds]
Dbugger has quit [Ping timeout: 265 seconds]
jottr has quit [Ping timeout: 240 seconds]
augcesar has joined #ruby
herbmillerjr has joined #ruby
griffindy has joined #ruby
venmx has joined #ruby
megamos has joined #ruby
ferr has joined #ruby
desperek has joined #ruby
mynameisdebian has joined #ruby
samosaphile has quit [Ping timeout: 252 seconds]
mynameisdebian has quit [Ping timeout: 276 seconds]
jraavis has joined #ruby
ferr has quit [Quit: WeeChat 2.1]
rwb has quit [Ping timeout: 244 seconds]
megamos has quit [Ping timeout: 240 seconds]
ferr has joined #ruby
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
megamos has joined #ruby
banisterfiend has joined #ruby
ak_ has quit [Ping timeout: 240 seconds]
Asher has quit [Ping timeout: 240 seconds]
AJA4350 has joined #ruby
ldnunes has quit [Quit: Leaving]
amar_ has joined #ruby
amar__ has quit [Ping timeout: 244 seconds]
khan_ has quit [Remote host closed the connection]
Beams has quit [Quit: .]
Beams has joined #ruby
mtkd has joined #ruby
GodFather has joined #ruby
^mtkd has quit [Ping timeout: 240 seconds]
shinnya has quit [Ping timeout: 240 seconds]
synthroid has joined #ruby
chkhanch has joined #ruby
megamosaren has joined #ruby
megamos has quit [Quit: Leaving]
ldnunes has joined #ruby
ldnunes has quit [Remote host closed the connection]
ldnunes has joined #ruby
suukim has joined #ruby
bak1an has joined #ruby
motstgo has joined #ruby
Asher has joined #ruby
howdoi has quit [Quit: Connection closed for inactivity]
motstgo_ has quit [Ping timeout: 256 seconds]
ak_ has joined #ruby
rwb has joined #ruby
Asher has quit [Ping timeout: 244 seconds]
kent\n has quit [Ping timeout: 260 seconds]
herbmillerjr has quit [Quit: Konversation terminated!]
<tbuehlmann>
I'm dealing with a CSV file I want to read and the first line is "sep=;\n", which doesn't really play nice with headers: true. is there something in ruby's CSV library to use that first line for col_sep and kind of ignoring it for headers?
ak_ has quit [Ping timeout: 240 seconds]
ak_ has joined #ruby
<Bish>
haha, you poor fool, trying to parse csv!
<Bish>
tbuehlmann: give liberal_parsing:true a shot?
za1b1tsu has quit [Ping timeout: 244 seconds]
<Bish>
i forgot what exactly it does
mynameisdebian has joined #ruby
<Bish>
oh wait what, your first line dfines the col seperator? no you will enver get CSV to do that
<Bish>
why not do it yourself?
<tbuehlmann>
I'm on it :\
<tbuehlmann>
seems this is something coming from excel
clemens3 has quit [Remote host closed the connection]
<ineb>
apeiros: how would Kernel#Bar(a,b,c…) look like? tmp = Class.new(Object) {}; const_set("MyClass", tmp)?
<ineb>
MyModule.const_set i guess?
<apeiros>
you shouldn't const_set
^mtkd has quit [Ping timeout: 268 seconds]
<apeiros>
but the other part looks about right, yes. Class.new is the way. and then you do whatever to parametrize the created class.
jraavis has joined #ruby
<ineb>
cool
za1b1tsu has joined #ruby
vermaneerajin[m] has joined #ruby
<ineb>
apeiros: can you link me this pattern somewhere? who is _why btw? ^^
ianmalcolm has quit [Ping timeout: 240 seconds]
<apeiros>
_why was quite famous a while back. sadly quit the community. camping.rb was his project where you can see this pattern.
khomesh24 has joined #ruby
ghoti has quit [Ping timeout: 244 seconds]
<ineb>
i see. thank you
tdy has joined #ruby
dviola has joined #ruby
TvL2386 has quit [Ping timeout: 256 seconds]
mgraf has joined #ruby
ghoti has joined #ruby
megamosaren has quit [Ping timeout: 264 seconds]
amar__ has joined #ruby
kryptoz has quit [Remote host closed the connection]
howdoi has joined #ruby
amar_ has quit [Ping timeout: 240 seconds]
banisterfiend has joined #ruby
chkhanch has joined #ruby
kryptoz has joined #ruby
amar_ has joined #ruby
andikr has quit [Remote host closed the connection]
jcarl43 has joined #ruby
alfiemax has quit [Remote host closed the connection]
mikecmpb_ has quit [Quit: inabit. zz.]
DTZUZO has joined #ruby
za1b1tsu has quit [Quit: WeeChat 2.1]
clemens3 has quit [Ping timeout: 240 seconds]
mgraf has quit [Ping timeout: 244 seconds]
amar__ has quit [Ping timeout: 244 seconds]
yohji has quit [Remote host closed the connection]
sticaz has quit [Ping timeout: 260 seconds]
kryptoz has quit [Remote host closed the connection]
TvL2386 has joined #ruby
noobineer has joined #ruby
codymj has joined #ruby
eb0t has quit [Quit: WeeChat 2.0.1]
<ineb>
apeiros: interesting story around _why. looks like he disappeared and deleted all his repo one day. i always wonder why people do this.
mgraf has joined #ruby
sticaz has joined #ruby
<ineb>
i understand it when hackers remove their stuff once they receive a friendly legal note adressed at their real names ;)
<ineb>
but OSS contributors? well. we will never know i guess
<ineb>
maybe due to a nuisance of imperfection and the wish to start with a clean slate
<ineb>
new game+ or something like that
<WA9ACE>
Just speculating but, they could have died. Not everyone is Jim. My wife and a friend have dead man switch access to my password manager to start shutting off accounts in my case
mgraf has quit [Ping timeout: 264 seconds]
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jraavis has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
eb0t has joined #ruby
jraavis has joined #ruby
amar_ has quit [Remote host closed the connection]
<ineb>
oh, yes ofc. not everyone is just text in the internet.
sticaz has quit [Ping timeout: 240 seconds]
jraavis has quit [Client Quit]
chouhoulis has quit [Remote host closed the connection]
anisha has quit [Quit: This computer has gone to sleep]
<apeiros>
WA9ACE: as far as I know _why is not dead. somebody close to him in RL said as much. but it's still only hearsay.
RougeR has quit [Ping timeout: 240 seconds]
<raggi>
Ah camping
graphene has quit [Remote host closed the connection]
<raggi>
It's been a long long time now
* raggi
reminiscing about redhanded
<apeiros>
oy, raggi
<apeiros>
what're you up to?
graphene has joined #ruby
mgraf has joined #ruby
<raggi>
I haven't read code from a flashing gif in too many years
<raggi>
I'm working on Fuchsia
eckhardt_ has joined #ruby
maufart__ has quit [Remote host closed the connection]
<apeiros>
I only know the color
<apeiros>
google fuchsia, OS?
<raggi>
Yeah
<apeiros>
you get paid to work on that? bastard! 😂
* apeiros
is envious
knight33 has joined #ruby
jaequery has joined #ruby
<raggi>
It's fun, also a lot of work :-)
hinbody has joined #ruby
<raggi>
I built mruby for it, and it works
hinbody has left #ruby [#ruby]
GodFather has joined #ruby
<apeiros>
👍🏻
<raggi>
Not using it for anything atm, but was considering using it for some repl stuff for introspection / exploration tools
<raggi>
What are you up to these days?
<apeiros>
not much. trying to clean up remaining tasks until jan '19
<apeiros>
feb-april I took 3 months of unpaid vacation to follow through on some projects of mine
<raggi>
Nice
<apeiros>
yeah, though I still think I should have been more greedy and asked for 6 months :-/
Azure has quit [Ping timeout: 240 seconds]
ak has joined #ruby
jraavis has joined #ruby
jottr has joined #ruby
jraavis has quit [Client Quit]
<raggi>
Yeah I hear that
jraavis has joined #ruby
<raggi>
Working on an OS basically doubled my to-do list instantly, but I at least can get a bunch done by teams now
<apeiros>
while I'm not sure I'll have enough time for it, I want to also learn some rust during that time. aim is to write a smallish database server from scratch.
<raggi>
Rust is pretty interesting, but also hard work in some areas
<apeiros>
first one was in perl for the first website I built around '99
<mgraf>
neat
chouhoulis has joined #ruby
<raggi>
mgraf: did you read that article?
jottr has quit [Ping timeout: 240 seconds]
Rapture has quit [Ping timeout: 240 seconds]
<raggi>
It's a story about how and why they did, and how it is fine
<mgraf>
it describes the OneNote _team_ deciding to build a solution
<mgraf>
maybe I'm under estimating your resources; but it seems silly to write a database and implement it in something that people are going to use
<apeiros>
IMO if you're serious about understanding something, you have to implement it yourself.
<apeiros>
it doesn't mean that you have to use your self built thing
noobineer has quit [Ping timeout: 264 seconds]
<mgraf>
I agree, as an exercise. I wouldn't implement my own database in an OS though
<apeiros>
implement as in use? not sure I understand that last sentence :)
<mgraf>
Sorry, english is my third language
GodFather has joined #ruby
<apeiros>
depending on how you count, it's my 4th :D
nowhere_man has joined #ruby
jraavis has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
<apeiros>
(though I'm far better in it than in my 3rd)
Mike11 has quit [Ping timeout: 260 seconds]
<mgraf>
I wouldn't feel comfortable having users (consumers?) use / rely on a database I wrote by myself
<mgraf>
Мы говорим то же самое?
<apeiros>
given that I feel comfortable to have users/customers use other software I wrote myself, why'd that be different with a DB?
<apeiros>
(it's not what I intend to do with this, though - it's intended to be a learning project)
<mistergibson>
I wrote a db system - it wasn't so bad
jraavis has joined #ruby
<mgraf>
Show me your unit testing :)
za1b1tsu has joined #ruby
<raggi>
I once accidentally wrote a DB for a trading platform, in ruby no less
jraavis has quit [Client Quit]
<raggi>
Accidentally because I wrote the ruby version as an experiment to get a rough minimum baseline for latency and write throughput while we were evaluating other storage solutions
<raggi>
And for various reasons it was about an order of magnitude faster at the primary taks
<raggi>
So, fast forward a few months and it had a journal and read repair and a few other such bits
<apeiros>
nice
mgraf has quit [Ping timeout: 240 seconds]
armyriad has quit [Quit: Leaving]
nfk has joined #ruby
alem0lars has joined #ruby
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alem0lars has left #ruby ["Leaving"]
chkhanch has quit [Quit: Leaving]
alem0lars has joined #ruby
chkhanch has joined #ruby
sameerynho has joined #ruby
jaequery has joined #ruby
mtkd has quit []
sticaz has joined #ruby
Puffball has quit [Quit: Puffball]
mtkd has joined #ruby
kryptoz has joined #ruby
mynameisdebian has quit [Remote host closed the connection]
kryptoz has quit [Remote host closed the connection]
<ruby[bot]>
al2o3-cr: # => /tmp/execpad-062b8a760887/source-062b8a760887:3: syntax error, unexpected keyword_rescue, expecting ...check link for more (https://eval.in/1035186)