havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com | Ruby 2.7.1, 2.6.6, 2.5.8: https://www.ruby-lang.org | Paste 4+ lines of text to https://dpaste.de/ and select Ruby as the language | Rails questions? Ask in #RubyOnRails | Books: https://goo.gl/wpGhoQ | Logs: https://irclog.whitequark.org/ruby | Can't talk? Register/identify with Nickserv first!
drincruz has quit [Ping timeout: 264 seconds]
drincruz has joined #ruby
imode has joined #ruby
chalkmonster has joined #ruby
drincruz has quit [Ping timeout: 256 seconds]
nicholaslyang has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ur5us has quit [Ping timeout: 256 seconds]
nicholaslyang has joined #ruby
gr33n7007h has joined #ruby
al2o3-cr has quit [Ping timeout: 256 seconds]
nicholaslyang has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ur5us has joined #ruby
<havenwood> dorian: Nope, unrelated.
<havenwood> dorian: The @@foo class variables are one of the parts of the language Matz regrets adding, iir. It's usually not a good idea to create them and one seldom uses them.
<havenwood> dorian: Global and class variables are to be used, but not defined. :P
<havenwood> And seldom used.
<havenwood> dorian: @foo instance variables are pervasive and important.
<havenwood> dorian: Don't spend much time on @@ unless it's to understand legacy code.
<havenwood> dorian: It's a reasonable question, but class variables aren't related to instance variables like that.
cliluw has quit [Ping timeout: 246 seconds]
jetchisel has quit [Ping timeout: 260 seconds]
nicholaslyang has joined #ruby
nicholaslyang has quit [Client Quit]
nicholaslyang has joined #ruby
BSaboia has joined #ruby
ldepandis has joined #ruby
imode has quit [Ping timeout: 260 seconds]
imode has joined #ruby
PimarSimil has joined #ruby
imode has quit [Ping timeout: 272 seconds]
gix has quit [Ping timeout: 246 seconds]
imode has joined #ruby
venmx has quit [Ping timeout: 240 seconds]
nicholaslyang has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nicholaslyang has joined #ruby
nicholaslyang has quit [Client Quit]
chris__ has joined #ruby
chris__ has quit [Ping timeout: 240 seconds]
ChmEarl has quit [Quit: Leaving]
drincruz has joined #ruby
meinside has joined #ruby
drincruz has quit [Ping timeout: 256 seconds]
Dirak has joined #ruby
BSaboia has quit [Quit: This computer has gone to sleep]
DaRock has joined #ruby
s2013 has quit [Quit: Textual IRC Client: www.textualapp.com]
dviola has quit [Ping timeout: 256 seconds]
ScottFrancis has joined #ruby
ScottFrancis has quit [Client Quit]
ScottFrancis_ has joined #ruby
ScottFrancis_ has quit [Remote host closed the connection]
ScottFrancis has joined #ruby
davispuh has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
BSaboia has joined #ruby
dviola has joined #ruby
dviola has left #ruby [#ruby]
dviola has joined #ruby
nicholaslyang has joined #ruby
BSaboia has quit [Quit: This computer has gone to sleep]
PimarSimil has quit [Remote host closed the connection]
polishdub has joined #ruby
lektrik has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
phenom has joined #ruby
phenom_ has quit [Ping timeout: 264 seconds]
_whitelogger has joined #ruby
donofrio has quit [Remote host closed the connection]
ScottFrancis has quit [Ping timeout: 260 seconds]
Archenoth has joined #ruby
epistrephein has joined #ruby
polishdub has quit [Quit: leaving]
cliluw has joined #ruby
ur5us has quit [Ping timeout: 256 seconds]
dviola has quit [Quit: WeeChat 2.8]
ldepandis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
epistrephein has quit [Quit: Textual IRC Client: www.textualapp.com]
chalkmonster has quit [Quit: WeeChat 2.8]
nicholaslyang has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ldepandis has joined #ruby
chris__ has joined #ruby
conta has joined #ruby
chris__ has quit [Ping timeout: 264 seconds]
Mikaela has quit [Ping timeout: 246 seconds]
<xco> is there a way to "hack" Time.now so it returns any other date/time other than the current time/date?
pwl has joined #ruby
_whitelogger has joined #ruby
rafadc has quit [Read error: Connection reset by peer]
rafadc has joined #ruby
imode has quit [Ping timeout: 260 seconds]
ujjain has joined #ruby
ujjain has joined #ruby
ujjain has quit [Changing host]
<havenwood> xco: There are gems that adjust time within a block elegantly, or you can always redefine Time:::now.
bradfordli has joined #ruby
<xco> thank you :)
alexherbo2 has joined #ruby
schne1der has joined #ruby
nicholaslyang has joined #ruby
nicholaslyang has quit [Client Quit]
gitter1234 has quit [Quit: Connection closed for inactivity]
<bradfordli> hello
xco has quit [Quit: Textual IRC Client: www.textualapp.com]
xco has joined #ruby
nicholaslyang has joined #ruby
romanlevin3 has quit [Ping timeout: 246 seconds]
bradfordli has quit [Remote host closed the connection]
alexherbo2 has quit [Quit: The Lounge - https://thelounge.chat]
Garb0 has joined #ruby
venmx has joined #ruby
robotmay has quit [Ping timeout: 260 seconds]
conta has quit [Quit: conta]
robotmay has joined #ruby
teclator has quit [Remote host closed the connection]
teclator has joined #ruby
Garb0 has quit [Ping timeout: 256 seconds]
gr33n7007h is now known as al2o3-cr
lektrik has quit [Ping timeout: 246 seconds]
jacksop has joined #ruby
vondruch has joined #ruby
nicholaslyang has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
GodFather has quit [Ping timeout: 256 seconds]
neheist has joined #ruby
ur5us has joined #ruby
zapata has quit [Read error: Connection reset by peer]
zapata has joined #ruby
bradfordli has joined #ruby
sarna has joined #ruby
dminuoso has joined #ruby
<dminuoso> Hiya. extconf is being weird.
romanlevin3 has joined #ruby
<dminuoso> I have the following bundler config for build.ruby-oci8: Set for the current user (/home/dminuoso/.bundle/config): "--with-instant-client-dir=/nix/store/x9djqdr5gd3kxglc49s8vd1kdj72vh2h-oracle-instantclient-19.3.0.0.0 --with-instant-client-include=/nix/store/13z38bvrcj2i8m1qy3d3z0ldbxrb8hrx-oracle-instantclient-19.3.0.0.0-dev
<dminuoso> --with-instant-client-lib=/nix/store/cyjjnng1ql1mqws3s1yv43x4vcq2msq7-oracle-instantclient-19.3.0.0.0-lib"
<dminuoso> Now, dir_config('instant-client') in ruby-oci8 gives me ["/nix/store/13z38bvrcj2i8m1qy3d3z0ldbxrb8hrx-oracle-instantclient-19.3.0.0.0-dev:/nix/store/13z38bvrcj2i8m1qy3d3z0ldbxrb8hrx-oracle-instantclient-19.3.0.0.0-dev:/nix/store/x9djqdr5gd3kxglc49s8vd1kdj72vh2h-oracle-instantclient-19.3.0.0.0/include",
<dminuoso> "/nix/store/cyjjnng1ql1mqws3s1yv43x4vcq2msq7-oracle-instantclient-19.3.0.0.0-lib:/nix/store/cyjjnng1ql1mqws3s1yv43x4vcq2msq7-oracle-instantclient-19.3.0.0.0-lib:/nix/store/x9djqdr5gd3kxglc49s8vd1kdj72vh2h-oracle-instantclient-19.3.0.0.0/lib"]
<dminuoso> What the heck is going on here? why is dir_config giving me this array here?
<dminuoso> Or rather, why is dir_config constructing an ld path of multiple things separated by a colon?
<dminuoso> Is it supposed to do that? Lack of documentation is mildly annoying.
gray_-_wolf has joined #ruby
bsdband41 has quit [Ping timeout: 246 seconds]
Dirak has quit [Ping timeout: 264 seconds]
neheist has quit [Read error: Connection reset by peer]
neheist has joined #ruby
miskatonic has joined #ruby
Mikaela has joined #ruby
jenrzzz has joined #ruby
conta has joined #ruby
hiroaki_ has joined #ruby
hiroaki has quit [Read error: Connection reset by peer]
darkstardev13 has quit [Ping timeout: 264 seconds]
darkstardev13 has joined #ruby
ur5us has quit [Ping timeout: 256 seconds]
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
bradfordli has quit []
Emmanuel_ChanelW has joined #ruby
cliluw has quit [Ping timeout: 246 seconds]
lektrik has joined #ruby
jacksop has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 256 seconds]
cd has quit [Quit: cd]
MrCrackPot has joined #ruby
jacksop has joined #ruby
donofrio has joined #ruby
<dorian> havenwood: so i understand `class << self` as enabling writing class methods without always writing `def self.whatever`
<dorian> havenwood: so if i see `class << self; def hurr; @durr = 'value'; end; end`
<dorian> where does `@durr` live?
<jhass> dorian: in something called the singleton class of the class object pointed to by self. So first you need to understand that in Ruby, classes are not super special, they're just objects too! So doing class Foo; end; is essentially the same as doing Foo = Class.new do; end;. The next piece is that every object has a so called singleton class. That's a class unique to that object and implicitly
<jhass> inserted below its actual class. So x = "foo"; x.singleton_class returns a class that's unique to x and inherits string. And classes being just objects themselves have such a singleton class too! when you do class << object, you're opening that singleton class. So that's where @durr lives
deargod has joined #ruby
<deargod> Kiora
<dorian> okay so what's the difference between a singleton and a class
<deargod> Dear GOD/GODS and/or anyone else who can HELP ME (e.g. MEMBERS OF SUPER-INTELLIGENT ALIEN CIVILIZATIONS): The next time I wake up, please change my physical form to that of FINN MCMILLAN of SOUTH NEW BRIGHTON at 8 YEARS OLD and keep it that way FOREVER. I am so sick of this chubby Asian man body! Thank you! - CHAUL JHIN KIM (a.k.a. A DESPERATE
<deargod> SOUL)
deargod has left #ruby [#ruby]
<leftylink> &>> class A; class << self; puts "am I the singleton class of A? #{self == A.singleton_class}" end end
<rubydoc> # => am I the singleton class of A? true... check link for more (https://carc.in/#/r/99rj)
<leftylink> hooray
<jhass> dorian: "singleton class", not singleton is another, broader concept in programming :) The only major difference is that a singleton class will only ever have on instance, where a class usually has many
<jhass> the second major difference is that Ruby defines the singleton class implicitly for you, a class always needs to be defined explicitly by you
<dorian> i mean, a class variable @@whatever versus an instance variable @whatever in a singleton class
<jhass> ah!
<jhass> class variables have the weird property in ruby that they're shared with any children classes
<jhass> which is often unexpected and leading to subtle bugs
<dorian> like i'm trying to modify some code that does the class << self thing
<dorian> it references @some_variable in that singleton class construct
<dorian> i just want to make sure i don't screw it up
<jhass> just don't use a @@class_var ever then :P
<dorian> yeah that's fine
jenrzzz has joined #ruby
<jhass> I haven't really seen valid usecases for htem
<dorian> i mean i'm not opinionated about it
<dorian> just trying to understand what i'm looking at
<dorian> okay so @@variable is not the same as class << self; @variable; end
<dorian> i saw that much
<dorian> even though methods defined in that context are the same as class methods?
<dorian> or should i understand those differently too
<leftylink> you know what
<leftylink> I actually can't figure what you're supposed to do with class << self; @var end
<leftylink> &>> class A; @a = 5; class << self; @b = 6; attr_reader :a, :b end end; [A.a, A.b]
<rubydoc> # => [5, nil] (https://carc.in/#/r/99ro)
<leftylink> ah, I see now...
<leftylink> class A; @a = 5; class << self; @b = 6; attr_reader :a, :b end end; [A.a, A.singleton_class.b]
<leftylink> &>> class A; @a = 5; class << self; @b = 6; attr_reader :a, :b end end; [A.a, A.singleton_class.b]
<rubydoc> stderr: -e:4:in `<main>': undefined method `b' for #<Class:A> (NoMethodError)... check link for more (https://carc.in/#/r/99rp)
<leftylink> eh what'd I do
<leftylink> oh yeah
<leftylink> you gotta
<leftylink> &>> class A; @a = 5; class << self; @b = 6; attr_reader :a; class << self; attr_reader :b end end end; [A.a, A.singleton_class.b]
<rubydoc> # => [5, 6] (https://carc.in/#/r/99rq)
jacksop has quit [Remote host closed the connection]
<leftylink> you gotta have the attr reader in the right place
<leftylink> of course of course
<leftylink> well uh that makes sense
<leftylink> so I guess I learned that today
<leftylink> thanks
jacksop has joined #ruby
<jhass> dorian: while there's something called class variables, there actually technically isn't something called class methods. def some_object.foo; end; and class << some_object; def foo; end; end; are entirely equivalent and do the exact same thing
<jhass> you just rarely see somebody doing hello = "my_string"; def hello.something_just_on_this_instance_of_string; end;
Garb0 has joined #ruby
<jhass> (or class << hello; def something_just_on_this_instance_of_string; end; end; again, same thing happening in both variants)
<jhass> so likewise, class Foo; def self.bar; end; end;, class Foo; def Foo.bar; end; end;, class Foo; end; class << Foo; def bar; end; end; and class Foo; class << self; def bar; end; end; are all entirely equivalent
<jhass> because inside class Foo; self == Foo;
<dorian> yeah
<dorian> okay
<phaul> &? objectmodel, dorian
<rubydoc> dorian: This lecture by Dave Thomas is about the Ruby object model, and singleton classes. https://www.youtube.com/watch?v=X2sgQ38UDVY
<dorian> thanks
<dorian> oh christ an hour, maybe later
<dorian> lol
ignorand has joined #ruby
<ignorand> I am building a string with values from a JSON file. However some values include '. Is .gsub("'", "\\\\'") the only way to solve this?
jenrzzz has quit [Ping timeout: 265 seconds]
chalkmonster has joined #ruby
jacksop has quit []
conta has quit [Remote host closed the connection]
Nerium has joined #ruby
jenrzzz has joined #ruby
<sarna> ignorand: I don't get it, ruby strings can be double quoted as well, ie "some 'string'" is a valid string
<sarna> no escaping needed
burningserenity has joined #ruby
Nerium has left #ruby ["Textual IRC Client: www.textualapp.com"]
Nerium has joined #ruby
<ignorand> sarna: foo = "L' Hermitage" bar = "INSERT INTO mytable ('column1', 'column2') VALUES ('value1','#{foo}')"
<Nerium> Is there any Hash#dig method that throws an error if the key doesn't exist?
<ignorand> sarna: bar = "INSERT INTO mytable ('column1', 'column2') VALUES ('value1',E'#{foo.gsub("'", "\\\\'")}')" is what I'm currently doing
<sarna> ignorand: oh, then it's an SQL command, not just a string :)
gitter1234 has joined #ruby
<sarna> I don't know how to escape these in SQL, sorry
<sarna> I know you shouldn't build SQL commands like that though, you can get an injection pretty easily
<ignorand> sarna: E'L\' Hermitage' works. Was just wondering if the gsub was the best method to achieve it
<ignorand> @sarna I'm reading in a dump. This is not meant to be getting input from the outside world
<ignorand> just reads
<sarna> ignorand: oh, alrighty then
<sarna> I've found something like this, but it's from Rails https://stackoverflow.com/a/8179894
<sarna> so I guess gsub would be the best, without pulling any deps
<ignorand> sarna: thanks for the help
<ignorand> gsub it is
<sarna> o7
<ignorand> took me a while to understand what that meant :)
<ignorand> Military salute?
kinduff has joined #ruby
<sarna> well, or a regular one :)
<ignorand> now to look for a way to do a for each with all files ending with json in ruby 2.5.5
<sarna> glob?
<jhass> Nerium: only in Crystal :D If it's just one level deep, Array#fetch/Hash#fetch
<Nerium> jhass It's at least one level :/
<jhass> I meman you could always chain fetches
<Nerium> I added this locally `args.reduce(self) { |acc, arg| acc.fetch(arg) }`
<Nerium> Was hoping for an existing method, but this does also work ツ
<jhass> ignorand: btw if you can by any means, don't inerpolate SQL, use parameter binding (how exactly depends on your DB, DB client, possibly ORM)
<jhass> it's just much safer, easier and saner
fercell has joined #ruby
<ignorand> jhass: I'm going to ask google to translate what you just said :P
<jhass> ignorand: don't do "INSERT ... VALUES (#{foo})", do .exec("INSERT ... VALUES ($1)", foo). Pseudo code, how that looks exactly depends on your DB, DB client and possibly ORM if any
burningserenity has quit [Ping timeout: 256 seconds]
Xeago_ has joined #ruby
lazarus1 has joined #ruby
Xeago has quit [Read error: Connection reset by peer]
Xeago_ is now known as Xeago
Nerium has quit [Quit: Textual IRC Client: www.textualapp.com]
<ignorand> jhass: I'm doing a Dir.glob("*.json") { |file| parsed = JSON.parse(open(file)) So there is no $1
jenrzzz has quit [Ping timeout: 246 seconds]
<ignorand> jhass: nevermind, I think I understand what you mean
<ignorand> conn.prepare(‘stmnt’, 'INSERT INTO my_table (col1, col2) VALUES ($1, $2)')
<ignorand> conn.exec_prepared('stmnt', [#{foo}, #{bar}])
burningserenity has joined #ruby
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
dminuoso has left #ruby ["WeeChat 2.7.1"]
<jhass> ignorand: exactly :)
<jhass> I mean, no #{} but yeah
vondruch has quit [Ping timeout: 240 seconds]
<ignorand> jhass: sorry, [foo, bar] :)
<ignorand> jhass: well, I'm kinda trying to clean up the database as well
<jhass> plus if you insert many of the same items, which I guess you do importing some json, if you prepare outside the loop and just execute the prepared statement in the loop it'll be much faster too
<ignorand> jhass: the loop is already running for an hour now. I'm @ 1939. so only 90 years to go :)
jenrzzz has joined #ruby
<jhass> heh
<jhass> another thing that can help a lot is wrapping the entire loop into a transaction
<jhass> some db clients also support batch insert, so preparing one insert statement and running a single execute with many values per column
<ignorand> jhass: pg gem supports it
<ignorand> Gonna try and do this for my second batch while the first batch runs
conta has joined #ruby
Emmanuel_ChanelW has quit [Quit: Leaving]
fercell has quit [Quit: WeeChat 2.8]
fercell has joined #ruby
vondruch has joined #ruby
jenrzzz has quit [Ping timeout: 246 seconds]
rubydoc has quit [Ping timeout: 246 seconds]
phaul has quit [Ping timeout: 260 seconds]
NL3limin4t0r has joined #ruby
birkbeggar has joined #ruby
schne1der has quit [Ping timeout: 260 seconds]
sarna has quit [Quit: Connection closed]
phaul has joined #ruby
birkbeggar has left #ruby [#ruby]
rubydoc has joined #ruby
schne1der has joined #ruby
BSaboia has joined #ruby
birkbeggar has joined #ruby
orbyt_ has joined #ruby
BSaboia has quit [Quit: This computer has gone to sleep]
BSaboia has joined #ruby
jenrzzz has joined #ruby
BSaboia has quit [Client Quit]
arahael3 has joined #ruby
BSaboia has joined #ruby
arahael2 has quit [Ping timeout: 260 seconds]
ldepandis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
DaRock has quit [Ping timeout: 260 seconds]
BSaboia has quit [Quit: This computer has gone to sleep]
Garb0 has quit [Quit: I'm out.]
ldepandis has joined #ruby
jenrzzz has quit [Ping timeout: 256 seconds]
davispuh has joined #ruby
segy has quit [Read error: Connection reset by peer]
segy has joined #ruby
_aeris_ has quit [Ping timeout: 240 seconds]
_aeris_ has joined #ruby
fercell has quit [Ping timeout: 258 seconds]
birkbeggar has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Dirak has joined #ruby
conta has quit [Quit: conta]
rippa has joined #ruby
lektrik has quit [Quit: Leaving]
alfiemax has joined #ruby
neheist has quit [Read error: Connection reset by peer]
burningserenity has quit [Ping timeout: 256 seconds]
jenrzzz has joined #ruby
leitz has joined #ruby
alfiemax has quit [Remote host closed the connection]
devjangra has joined #ruby
impermanence has joined #ruby
neheist has joined #ruby
miskatonic has quit [Quit: ERC (IRC client for Emacs 24.5.1)]
chris__ has joined #ruby
devjangra has quit [Ping timeout: 245 seconds]
devjangra has joined #ruby
<devjangra> Hello guys,
SeepingN has joined #ruby
<adam12> devjangra: Hello!
plutes has quit [Ping timeout: 272 seconds]
* havenwood demands to know what follows the comma
<devjangra> i am trying to install ruby 2.2.10 in latest mac, with openssl 1.0.2t. ( I know this is old version ) but need this for project, I am not able to configure the ruby from source code, as it is always missing the openssl path Command tried :- ./configure --prefix="$HOME/.rubies/ruby-2.2.10" --with-opt-dir="$(brew --prefix readline):$(brew
<devjangra> --prefix libyaml):$(brew --prefix gdbm):$(brew --prefix libffi)" --with-openssl-dir="/usr/local/opt/openssl"
wroathe has joined #ruby
wroathe has left #ruby [#ruby]
<havenwood> devjangra: You can one-liner that, fwiw.
<havenwood> --with-opt-dir="$(brew --prefix openssl):$(brew --prefix readline):$(brew --prefix libyaml):$(brew --prefix gdbm):$(brew --prefix libffi)"
<havenwood> devjangra: Oh, you already were.
<havenwood> devjangra: With a Ruby that old, it's typically easier in a VM that matches the ancient date.
<havenwood> devjangra: Patches aren't backported to keep old Rubies working with modern libraries.
<devjangra> havenwood Yeah, but only openssl path is missing from source ccpflags
Rudd0 has quit [Read error: Connection reset by peer]
<havenwood> devjangra: OpenSSL tends to be a breaking point.
jenrzzz has quit [Ping timeout: 260 seconds]
<devjangra> havenwood I understand the point, but is there a way to make this work, as i already have the 1.0.2 openssl installed at specific path. Need a way to include that while configuring ruby
<havenwood> devjangra: --with-opt-dir="/path/to/dir:..."
<devjangra> But while doing make, the error Ignore OpenSSL broken by Apple.Please use another openssl. (e.g. using `configure --with-openssl-dir=/path/to/openssl')Failed to configure openssl. It will not be installed.
<devjangra> havenwood
burningserenity has joined #ruby
plutes has joined #ruby
<havenwood> devjangra: And /usr/local/opt/openssl exists as expected?
<havenwood> devjangra: I don't see a reason for it to not work.
<devjangra> havenwood Yeah, openssl is present
<havenwood> devjangra: I'd just spin up a bit dated VM from around 2014.
devjangra has quit [Remote host closed the connection]
<havenwood> devjangra: On this machine, for example, no problem with: --with-openssl-dir=/usr/local/opt/openssl@1.1
ScottFrancis has joined #ruby
devjangra has joined #ruby
<devjangra> havenwood Going with VM will be optimal but would like to install the 2.2.10
gitter1234 has quit [Quit: Connection closed for inactivity]
ScottFrancis has quit [Ping timeout: 260 seconds]
kinduff has quit [Read error: Connection reset by peer]
Rudd0 has joined #ruby
kinduff has joined #ruby
ldepandis has quit [Read error: Connection reset by peer]
impermanence has quit [Quit: Connection closed]
jenrzzz has joined #ruby
schne1der has quit [Ping timeout: 246 seconds]
poro has joined #ruby
poro has quit [Client Quit]
Eiam has joined #ruby
dostoyevsky has quit [Quit: leaving]
dostoyevsky has joined #ruby
poro has joined #ruby
poro has left #ruby [#ruby]
alfiemax has joined #ruby
chris__ has quit [Remote host closed the connection]
jenrzzz_ has joined #ruby
ScottFrancis has joined #ruby
SeepingN has quit [Ping timeout: 246 seconds]
jenrzzz has quit [Ping timeout: 264 seconds]
ScottFrancis has quit [Ping timeout: 260 seconds]
SeepingN has joined #ruby
meinside has quit [Quit: Connection closed for inactivity]
gitter1234 has joined #ruby
pwl has quit [Ping timeout: 265 seconds]
alfiemax has quit [Remote host closed the connection]
ScottFrancis has joined #ruby
neheist has quit [Read error: Connection reset by peer]
alfiemax has joined #ruby
neheist has joined #ruby
SeepingN has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
SeepingN has joined #ruby
neheist has quit [Read error: Connection reset by peer]
imode has joined #ruby
Privato has joined #ruby
nicholaslyang has joined #ruby
Privato has quit [Client Quit]
dhollinger has quit [Ping timeout: 260 seconds]
NL3limin4t0r has quit [Quit: WeeChat 1.9.1]
dhollinger has joined #ruby
neheist2 has joined #ruby
jenrzzz_ has quit [Ping timeout: 246 seconds]
neheist2 has quit [Remote host closed the connection]
jenrzzz has joined #ruby
alfiemax has quit [Remote host closed the connection]
ChmEarl has joined #ruby
cliluw has joined #ruby
nicholaslyang has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alfiemax has joined #ruby
birkbeggar has joined #ruby
alfiemax has quit [Ping timeout: 246 seconds]
BSaboia has joined #ruby
greengriminal has joined #ruby
ScottFrancis has quit [Remote host closed the connection]
BSaboia has quit [Client Quit]
ScottFrancis has joined #ruby
neheist2 has joined #ruby
ellcs has joined #ruby
ScottFrancis has quit [Ping timeout: 260 seconds]
birkbeggar has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
birkbeggar has joined #ruby
BSaboia has joined #ruby
impermanence has joined #ruby
impermanence has quit [Client Quit]
howdoi has joined #ruby
stryek has joined #ruby
ScottFrancis has joined #ruby
birkbeggar has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
birkbeggar has joined #ruby
birkbeggar has quit [Client Quit]
schne1der has joined #ruby
rafadc has quit [Read error: Connection reset by peer]
conta has joined #ruby
rafadc has joined #ruby
birkbeggar has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
impermanence has joined #ruby
devjangra has quit [Ping timeout: 245 seconds]
ScottFrancis has quit [Ping timeout: 256 seconds]
birkbeggar has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
lightstalker has quit [Ping timeout: 265 seconds]
greengriminal has quit [Quit: Leaving]
lightstalker has joined #ruby
BSaboia has quit [Quit: This computer has gone to sleep]
nicholaslyang has joined #ruby
nicholaslyang has quit [Client Quit]
nicholaslyang has joined #ruby
nicholaslyang has quit [Client Quit]
nicholaslyang has joined #ruby
nicholaslyang has quit [Client Quit]
ellcs has quit [Ping timeout: 260 seconds]
<leitz> A question for those who are "in" on the hiring process. Is it worth X years of experience for an applicant to have their own open source projects, compared to someone who has more "years in the field" but does not have their own projects?
SeepingN has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
SeepingN has joined #ruby
nicholaslyang has joined #ruby
ErhardtMundt has joined #ruby
gr33n7007h has joined #ruby
nicholaslyang has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
al2o3-cr has quit [Ping timeout: 256 seconds]
gr33n7007h is now known as al2o3-cr
<apotheon> leitz: "it depends"
<apotheon> (I'm not really "in" on the hiring process, but I've seen enough of it to know it's all broken.)
SeepingN has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<leitz> apotheon, yeah, when I've been involved, we guessed as best we could. I'm trying to gear up for my next tranistion, and see if I can keep moving forward as a programmer.
nicholaslyang has joined #ruby
nicholaslyang has quit [Client Quit]
<CommunistWolf> leitz: when I'm making hiring decisions I try to disregard what candidates have done in the past, and focus on measures of how the candidate performed in the application process. but it's quite rare
<CommunistWolf> in general, there isn't a quantitative way of comparing different types of history
<leitz> CommunistWolf, understood, and thanks. It's a wonky process. Just trying to raise my odds. :)
conta has quit [Quit: conta]
<CommunistWolf> your best bet is to heavily personalise for the position and people you're directing your application to, and the role itself. your CV/resume probably won't get read by a human, but your covering letter might, so I'd focus on that
<apotheon> There's too much focus on the quantitative in most hiring processes, anyway.
<CommunistWolf> if you can find out who wil be evaluating you and do some research on them before you even send in the application, that'll bump your odds significantly
<apotheon> Quantitative measures are only useful to the degree they serve the qualitative, and most quantitative factors in hiring lose their qualitative value quickly.
greengriminal has joined #ruby
<apotheon> Research is only really warranted if you're dead set on getting a specific job, or very specific type of job with few open positions.
<apotheon> Otherwise, just spray-and-pray (aka "use the dandelion strategy").
<leitz> My concern is representing my skill honestly, and still getting a decent pay scale. I moved laterally from a related career, there are lots of things I don't know (OO Analysis and Design, Algorithms spring to mind).
<apotheon> leitz: That's a very big concern, and I sympathize. It's much more difficult to get a job by being honest, and most people don't even value that level of honesty.
<apotheon> Across most industries, the hiring processes are largely (and perhaps accidentally) optimized for helping dishonest people get ahead.
<leitz> apotheon, yeah. I won't argue that. Still, I'm too honest to even try to be shady. I stutter more, my face turns red, and I can't make eye contact. :)
<apotheon> I could probably lie my ass off with a straight face, but I don't. I hate the very idea of it.
<apotheon> I'm so preoccupied with not saying untrue things that I think my statements are typically littered with qualifiers and hedging.
<apotheon> Note "probably", "not saying untrue things", "I think", "typically", and so on.
greengriminal has quit [Quit: Leaving]
BSaboia has joined #ruby
BSaboia has quit [Client Quit]
greypack has joined #ruby
drincruz has joined #ruby
nicholaslyang has joined #ruby
SeepingN has joined #ruby
nicholaslyang has quit [Client Quit]
gix has joined #ruby
vondruch has quit [Ping timeout: 240 seconds]
cd has joined #ruby
nicholaslyang has joined #ruby
alfiemax has joined #ruby
burningserenity has quit [Remote host closed the connection]
ignorand has quit [Remote host closed the connection]
ellcs has joined #ruby
alfiemax has quit [Ping timeout: 260 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
SeepingN has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<leitz> CommunistWolf, my brain was distracted. Can you describe, at a high level, some of the things you do in an interview to judger performance?
orbyt_ has joined #ruby
jetchisel has joined #ruby
troulouliou_div2 has quit [Quit: Leaving]
kinduff has quit [Read error: Connection reset by peer]
kinduff has joined #ruby
imode has quit [Ping timeout: 256 seconds]
SeepingN has joined #ruby
chris___ has joined #ruby
jenrzzz has joined #ruby
chris___ has quit [Ping timeout: 256 seconds]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
jenrzzz has quit [Ping timeout: 246 seconds]
houhoulis has joined #ruby
snickers has joined #ruby
quazimodo has quit [Ping timeout: 258 seconds]
impermanence has quit [Ping timeout: 264 seconds]
ur5us has joined #ruby
<havenwood> leitz: There isn't a single right way. Folk do tend to hire others like themselves.
<havenwood> leitz: They want whatever they've done.
<havenwood> (Not speaking for CommunistWolf, obvs, just generally.)
<Dirak> @leitz all that matters is your leetcode rank https://leetcode.com/contest/globalranking
<Dirak> maybe it's changed because of the virus, but anyone who has a pulse should be able to land interviews. As long as you kill the technical interview you'll pretty much always get the offer
schne1der has quit [Ping timeout: 260 seconds]
<leitz> Dirak, that's part of my challenge; I haven't done a lot of technical interview things. And I'm a very slow...errr...methodical, coder.
<leitz> I come from a Linux background, though, so some places might look at me as a resource that can be trained.
<Dirak> dont worry you don't need interpersonal skills to pass interviews. Just be able to code really well
<leitz> Yeah, I can do interpersonal better than code; spent time in Toastmasters. :)
<Dirak> and I code I mean be able to crush any leetcode problem
<Dirak> by*
siery has quit [Ping timeout: 265 seconds]
jenrzzz has joined #ruby
quazimodo has joined #ruby
* leitz goes to look at the LeetCode problems.
<leitz> Nice. Something to push my skills up with.
ScottFrancis has joined #ruby
<leitz> Sort of like code wars, but it looks like a newer/less implemented thing.
gr33n7007h has joined #ruby
al2o3-cr has quit [Disconnected by services]
gr33n7007h is now known as al2o3-ct
al2o3-ct is now known as al2o3-cr
cliluw has quit [Ping timeout: 265 seconds]
cliluw has joined #ruby
cliluw has quit [Read error: Connection reset by peer]
cliluw has joined #ruby
houhoulis has quit [Remote host closed the connection]
Technodrome has joined #ruby
cliluw has quit [Ping timeout: 256 seconds]
howdoi has quit [Quit: Connection closed for inactivity]
ScottFrancis has quit [Ping timeout: 260 seconds]
howdoi has joined #ruby
<leitz> Okay, I like the leetcode stuff. Will start off with the easy and make it a daily habit.
alfiemax has joined #ruby
alfiemax has quit [Ping timeout: 256 seconds]
<leitz> havenwood, that's encouraging. I'm doing stuff I love to do, and I tell new coders that picking a language they enjoy and a problem set they want to tackle will help them become better coders than those who look for the perfect language and the best paying job.
ScottFrancis has joined #ruby
ellcs has quit [Ping timeout: 260 seconds]
<leitz> havenwood, my advice to new coders will get them past the first big hurdle. Now I'm trying to figure out how to get past the next one. :)
TCZ has joined #ruby
Rudd0 has quit [Read error: Connection reset by peer]
ScottFrancis has quit [Read error: Connection reset by peer]
ScottFrancis has joined #ruby
<al2o3-cr> check this prick out https://www.youtube.com/watch?v=Xvnignc5FQE
gix has quit [Read error: Connection reset by peer]
<al2o3-cr> clueless from youtube!
Garb0 has joined #ruby
Garb0 has quit [Max SendQ exceeded]
Garb0 has joined #ruby
ScottFrancis has quit [Quit: Leaving]
gix has joined #ruby
Eiam has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
Rudd0 has joined #ruby
snickers has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
TCZ has quit [Quit: Leaving]
Rakko has joined #ruby
quazimodo has quit [Ping timeout: 258 seconds]
<deimos_> start with armasm and work your way up. ;)
Garb0 has quit [Remote host closed the connection]
Garb0 has joined #ruby
Garb0 has quit [Remote host closed the connection]
imode has joined #ruby
cloaked1 has joined #ruby
SeepingN has quit [Quit: The system is going down for reboot NOW!]
cloaked1 has joined #ruby
cloaked1 has quit [Changing host]
miskatonic has joined #ruby
jenrzzz has quit [Ping timeout: 246 seconds]
venmx has quit [Ping timeout: 240 seconds]
Garb0 has joined #ruby
Garb0 has quit [Max SendQ exceeded]
drincruz has quit [Ping timeout: 258 seconds]
cliluw has joined #ruby
<leitz> Hmm...he's focused on beginners. Though he did say he'd not build his career on C/C++. There are lots of C-based languages. Like Ruby.
<leitz> Python seems to be beating R for data. As much as I like Ruby, the job market seems smaller than JS based stuff.
cliluw has quit [Remote host closed the connection]
<leitz> Humorously, the next linked video says to learn Java, at #5 of 5.
lazarus1 has quit [Quit: Leaving]
jenrzzz has joined #ruby
DaRock has joined #ruby
quazimodo has joined #ruby
miskatonic has quit [Quit: ERC (IRC client for Emacs 24.5.1)]
Rakko has quit [Quit: Leaving]
BSaboia has joined #ruby
BSaboia has quit [Quit: This computer has gone to sleep]
leitz has quit [Quit: Leaving]
arahael3 is now known as Arahael
alfiemax has joined #ruby