sylario has quit [Quit: Connection closed for inactivity]
AJA4351 has joined #ruby
skryking has joined #ruby
esp32_prog has joined #ruby
AJA4350 has quit [Ping timeout: 252 seconds]
AJA4351 is now known as AJA4350
orbyt_ has joined #ruby
esp32_prog has quit [Ping timeout: 248 seconds]
jcalla has joined #ruby
haxx0r has joined #ruby
brandoncc has joined #ruby
fphilipe has joined #ruby
jcalla has quit [Ping timeout: 252 seconds]
fphilipe has quit [Ping timeout: 252 seconds]
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
al2o3-cr has quit [Ping timeout: 246 seconds]
al2o3-cr has joined #ruby
bambanxx has joined #ruby
bambanx has quit [Ping timeout: 248 seconds]
bambanxx has quit [Read error: Connection reset by peer]
weteamsteve has joined #ruby
weteamsteve2 has joined #ruby
bambanx has joined #ruby
weteamsteve1 has quit [Ping timeout: 250 seconds]
salerace has quit [Ping timeout: 246 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
weteamsteve has quit [Ping timeout: 250 seconds]
weteamsteve2 has quit [Ping timeout: 250 seconds]
Ai9zO5AP has quit [Quit: WeeChat 2.4]
brandoncc has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
graft has joined #ruby
graft has quit [Changing host]
graft has joined #ruby
brandoncc has joined #ruby
doodleb4 has quit [Read error: Connection reset by peer]
ixti has joined #ruby
brandoncc has quit [Client Quit]
doodlebug has joined #ruby
doodlebug has quit [Max SendQ exceeded]
jcalla has joined #ruby
apparition has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
Swyper has joined #ruby
roadt has joined #ruby
Swyper has quit [Remote host closed the connection]
orbyt_ has joined #ruby
Swyper has joined #ruby
graft has quit [Ping timeout: 252 seconds]
schne1der has quit [Ping timeout: 258 seconds]
garyserj has joined #ruby
doodlebug has joined #ruby
<garyserj>
is this a valid json? JSON.parse('{"a":"1","a":"2"}') (I ask because I notice that in irb when I do require 'json', and I enter that line, it shows only {"a"=>"2"}
weteamsteve has joined #ruby
bambanxx has joined #ruby
bambanx has quit [Ping timeout: 248 seconds]
<mozzarella>
garyserj: it probably is valid json, not 100% sure, but that's also the result to be expected
jeremycw has joined #ruby
nowhere_man has joined #ruby
jeremycw has quit [Ping timeout: 244 seconds]
xco has quit [Quit: xco]
bambanxx has quit [Read error: Connection reset by peer]
xco has joined #ruby
Swyper has quit [Remote host closed the connection]
<naltun>
I've been using Python at my new job for the last 3 months...
<naltun>
Been missing some Ruby action, although I've been using Go for a while now. And lots of shell scripting.
<ytti>
python and go make me unhappy, ruby and kotlin make me happy
<ytti>
but i do have to write some python to get money
<naltun>
I love Go. I first tried Kotlin years ago (2014/15?), and I loved the native compiler. But I've never used the JVM ecosystem and found getting into Kotlin a bit wonky. All the best to the project though
<naltun>
ytti: What do you not like about Go?
<ytti>
i've also never used java at all, but kotlin drove me to it
Swyper has joined #ruby
<ytti>
naltun, i think i'm partial to OO
<naltun>
Ahh, fair.
<ytti>
both ruby and kotlin have terrific design, and offer lot out of the box in terms of convenience and beauty (subjective) of code
<naltun>
I've a Rails question, but #rubyonrails seems a bit dead. Mind if I ask it here?
<ytti>
in python and go i feel like i constantly need to NIH simple things, and if NIH them, it's less thought design than what ruby and kotlin have out of the box
<naltun>
ytti: I love Go because it's native API is _vast_, but each package is _small_. I don't have to worry about remembering how to program in Go.
<ytti>
arbitrary example, 'partition'
<ytti>
i loooove object.method lambda style
<naltun>
NIH?
<ytti>
not-invented-here
<naltun>
ahh
<naltun>
I find that to be true of Python, but not so much of Go.
<ytti>
go is simple, in my opinion, to a fault
<naltun>
I should give Kotlin another go though, for kotlinc.
<ytti>
but then again, for me, something like rust or c++ is too complex
<ytti>
because my main responsiblity isn't programming, inveseting time to learn rust or c++ doesn't seem to pay dividends
<ytti>
kotlin hits sweet spot for me
<ytti>
honestly if you're gonna do kotlin, you're probably much happier in jvm world, because you'll have so much more libraries to use
<naltun>
Well, if you want a binary you can always use kotlinc. No need to just target the JVM
<ytti>
you could still compile the JAR to native binary with 'graalvm' native-compile
<naltun>
oh I didn't know that.
<ytti>
and get *coughcough* 20MB binary for small program :)
<naltun>
So TruffleRuby (which uses GraalVM) is compiled to native?
<ytti>
and as someone with 0 java background, kotlin communities seem very java focused
<naltun>
How many lines of code for that 20MB binary>
<ytti>
you get weird reception if you don't have java background
<ytti>
it was maybe 50lines, but it included ssh library
<ytti>
i'm not sure if graalvm can do any-to-native
<ytti>
i know it can do JAR to native, and it even worked
Swyper has quit [Ping timeout: 272 seconds]
<ytti>
most work for me learning kotlin, has nothing to do with kotlin, it's trying to understand the ecosystem, which is old news to java people
<naltun>
Hmmm. 20MB seems a bit large for a 50 LOC program, buut if you're including a ssh library, it's a bit alright. Actually, maybe you haven't even compiled with optimization
<ytti>
i definitely didn't give any optimization parameters
<ytti>
but just interesting point on how many ways you can skin the avocado in that world
<ytti>
that was my initial attraction to kotlin, i can target so many domains with single language
<ytti>
and then when i found similar beauty in kotlin as i've only found in ruby, i was sold
Xiti has quit [Quit: Xiti]
<naltun>
ytti: what's your job title?
<ytti>
dunno, some network monkey probably
<naltun>
:+1:
<naltun>
Is it okay to ask Rails Q's here? #rubyonrails is pretty dead
Xiti has joined #ruby
<ytti>
no objections here, havent written line of rails tho, so can't help
DTZUZO has quit [Ping timeout: 252 seconds]
roadt has quit [Quit: 离开]
<naltun>
I'm using Rails 5.2.2. I have two rails projects in 2 directories (`ls # => dir1/ dir2/`). In dir2, I migrate the db (`rake db:migrate`) and a migration file from `dir1` is applied to the schema.rb file for dir2.
<naltun>
Now... That sounds crazy to me lol and it definitely is. I've moved dir2 to another directory, git checkout'd all files, and yet the problem still occurs.
<naltun>
Question is: Why is rake db:migrate taking a migration file from one Rails project but applying it to another.
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
KeyJoo has joined #ruby
DTZUZO has joined #ruby
yqt has quit [Ping timeout: 248 seconds]
pwnd_nsfw has joined #ruby
nowhere_man has joined #ruby
nowhereman has quit [Ping timeout: 258 seconds]
naltun has quit [Quit: Page closed]
Kestrel-029 has quit [Ping timeout: 245 seconds]
pwnd_nsfw` has quit [Ping timeout: 258 seconds]
Nicmavr has joined #ruby
hiroaki has joined #ruby
KeyJoo has quit [Quit: KeyJoo]
esp32_prog has joined #ruby
dbugger has quit [Quit: Leaving]
rafadc has quit [Read error: Connection reset by peer]
reber has quit [Read error: Connection reset by peer]
leitz has joined #ruby
rafadc has joined #ruby
orbyt_ has joined #ruby
esp32_prog has quit [Ping timeout: 245 seconds]
yokel has quit [Ping timeout: 272 seconds]
hanmac has quit [Ping timeout: 245 seconds]
hanmac has joined #ruby
yokel has joined #ruby
Swyper has joined #ruby
jpaulo6ba has quit []
yokel has quit [Remote host closed the connection]
Swyper has quit [Ping timeout: 246 seconds]
ravenousmoose has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
codefriar has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]