havenwood changed the topic of #ruby to: Rules: https://ruby-community.com | Ruby 3.2.0, 3.1.3, 3.0.5, 2.7.7: https://www.ruby-lang.org | Paste 4+ lines to: https://gist.github.com | Books: https://t.ly/9ua4 | Logs: https://libera.irclog.whitequark.org/ruby/
teclator has quit [Ping timeout: 260 seconds]
Guest61 has joined #ruby
Guest61 has quit [Client Quit]
moldorcoder7 has quit [Ping timeout: 268 seconds]
caedmon has joined #ruby
willow has joined #ruby
willow has joined #ruby
lucartc has quit [Remote host closed the connection]
razetime has joined #ruby
caedmon has quit [Quit: caedmon]
Al2O3 has quit [Ping timeout: 256 seconds]
plantman2 has joined #ruby
crax23 has quit [Quit: I am more peaced off than a dragon trying to blow out candles]
plantman2 has quit [Ping timeout: 260 seconds]
bennylava has joined #ruby
rubidium has joined #ruby
<bennylava> Hello everyone
rubidium has quit [Remote host closed the connection]
rubidium has joined #ruby
gr33n7007h has quit [Ping timeout: 260 seconds]
caedmon has joined #ruby
apteryx has quit [Quit: apteryx]
razetime has quit [Ping timeout: 272 seconds]
willow has left #ruby [#ruby]
bennylava has quit []
gr33n7007h has joined #ruby
Linux_Kerio has joined #ruby
joto has quit [Remote host closed the connection]
joto has joined #ruby
cartdrige has joined #ruby
plantman2 has joined #ruby
plantman2 has quit [Ping timeout: 260 seconds]
razetime has joined #ruby
rvalue has quit [Read error: Connection reset by peer]
rvalue has joined #ruby
jmcgnh has quit [Ping timeout: 260 seconds]
jmcgnh has joined #ruby
caedmon has quit [Ping timeout: 272 seconds]
ur5us has quit [Ping timeout: 256 seconds]
razetime has quit [Quit: See You Space Cowboy]
cartdrige has quit [Ping timeout: 268 seconds]
plantman2 has joined #ruby
cartdrige has joined #ruby
Al2O3 has joined #ruby
plantman2 has quit [Ping timeout: 260 seconds]
jhass has quit [Ping timeout: 246 seconds]
cartdrige has quit [Read error: Connection reset by peer]
rubidium has quit [Remote host closed the connection]
otisolsen70 has joined #ruby
jhass has joined #ruby
niv has quit [Quit: Powered by LunarBNC: https://LunarBNC.net]
bougyman has quit [Ping timeout: 260 seconds]
bougyman has joined #ruby
niv has joined #ruby
ur5us has joined #ruby
sam113101 has quit [Quit: WeeChat 3.6]
ur5us has quit [Ping timeout: 256 seconds]
teclator has joined #ruby
cartdrige has joined #ruby
gr33n7007h has quit [Quit: WeeChat 3.8]
Sankalp has quit [Ping timeout: 260 seconds]
Sankalp has joined #ruby
ur5us has joined #ruby
sam113101 has joined #ruby
gr33n7007h has joined #ruby
tomtmym has joined #ruby
tomtmym has quit [Changing host]
tomtmym has joined #ruby
gr33n7007h has quit [Quit: WeeChat 3.8]
razetime has joined #ruby
gr33n7007h has joined #ruby
dionysus69 has joined #ruby
Mo has joined #ruby
jvalleroy has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
jvalleroy has joined #ruby
razetime has quit [Remote host closed the connection]
Sankalp has quit [Quit: ZNC 1.7.2+deb3 - https://znc.in]
<Mo> Hi, I'm absolute new to Ruby and Gems, I'm following https://docs.zammad.org/en/latest/install/source.html The section "Install Gems for Zammad" fails for me:
<Mo> bundle config set without "test development mysql"; bundle install
<Mo> Installing sassc-rails 2.1.2 Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
<Mo> Complete output: https://dpaste.com/HVHWBJG84
<sam113101> Mo: which OS are you using?
<Mo> sam113101: OpenSuse TW.
<leftylink> interesting, it seems to want postgres installed
<sam113101> ^
<Mo> leftylink: Ok, then I know. I have no Postgres installed because different from the HowTo I plan to use MariaDB
<Mo> So I skipped the step: "zypper install postgresql postgresql-server postgresql-contrib" Doing that now.
<Mo> sam113101 leftylink: I have postgres installed now and started. Still the same error.
Sankalp has joined #ruby
<leftylink> oh I would have expected it to be one of the devel packages, but it's possible opensuse doesn't split into devel and... whatever the opposite of devel is
<Mo> I don't understand. Which devel package is required? Different postgresql required?
<Mo> postgresql Version 15-2.1 is installed by OpenSuse TW.
<leftylink> well it'd be whatever package has the file mentioend in the https://dpaste.com/HVHWBJG84 that you pasted
<leftylink> perhaps it would be called postgresql-devel, but I don't know the conventions opensuse would use
<Mo> What is the name of the missing file?
<Mo> "Can't find the 'libpq-fe.h header" <- ?
Guest87 has joined #ruby
Guest87 has quit [Client Quit]
otisolsen70_ has joined #ruby
otisolsen70 has quit [Ping timeout: 272 seconds]
mages has quit []
___nick___ has joined #ruby
ur5us has quit [Ping timeout: 256 seconds]
moldorcoder7 has joined #ruby
otisolsen70_ has quit [Read error: Connection reset by peer]
Sankalp has quit [Quit: ZNC 1.7.2+deb3 - https://znc.in]
Shell has joined #ruby
Sankalp has joined #ruby
Sankalp has quit [Quit: ZNC 1.7.2+deb3 - https://znc.in]
Sankalp has joined #ruby
gr33n7007h has quit [Quit: WeeChat 3.8]
gr33n7007h has joined #ruby
leah2 has quit [Ping timeout: 260 seconds]
perrierjouet has quit [Quit: WeeChat 3.8]
perrierjouet has joined #ruby
leah2 has joined #ruby
FullMetalStacker has joined #ruby
Momentum has joined #ruby
<Momentum> anyone noticed some buggy behavior with solargraph?
<Momentum> like documentation doesn't load for all code items
<Momentum> competition also only works sometimes
hightower2 has quit [Ping timeout: 256 seconds]
FullMetalStacker has quit [Ping timeout: 252 seconds]
FullMetalStacker has joined #ruby
cartdrige has quit [Quit: I am more peaced off than a dragon trying to blow out candles]
hightower2 has joined #ruby
cartdrige has joined #ruby
m_antis has quit [Quit: ZNC - https://znc.in]
m_antis has joined #ruby
teclator has quit [Ping timeout: 256 seconds]
FullMetalStacker has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
teclator has joined #ruby
skandal has quit [Remote host closed the connection]
caedmon has joined #ruby
caedmon has quit [Ping timeout: 260 seconds]
razetime has joined #ruby
mooff has joined #ruby
caedmon has joined #ruby
cek has joined #ruby
caedmon has quit [Client Quit]
caedmon has joined #ruby
___nick___ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
___nick___ has joined #ruby
caedmon has quit [Read error: Connection reset by peer]
___nick___ has quit [Client Quit]
caedmon has joined #ruby
___nick___ has joined #ruby
cartdrige has quit [Ping timeout: 264 seconds]
dionysus69 has quit [Ping timeout: 256 seconds]
caedmon has quit [Ping timeout: 256 seconds]
caedmon has joined #ruby
cartdrige has joined #ruby
razetime has quit [Quit: See You Space Cowboy]
caedmon has quit [Ping timeout: 252 seconds]
caedmon has joined #ruby
teclator has quit [Ping timeout: 256 seconds]
TomyWork has joined #ruby
leonthemisfit has joined #ruby
FullMetalStacker has joined #ruby
FullMetalStacker has quit [Client Quit]
cek has quit [Quit: Connection closed for inactivity]
Mo has quit [Ping timeout: 256 seconds]
caedmon has quit [Ping timeout: 260 seconds]
Starfoxxes has quit [Ping timeout: 260 seconds]
_ht has joined #ruby
Starfoxxes has joined #ruby
ultralan has joined #ruby
ultralan has quit [Remote host closed the connection]
Laplace has quit [Quit: Connection closed for inactivity]
ur5us has joined #ruby
brw has quit [Read error: Connection reset by peer]
cek has joined #ruby
teclator has joined #ruby
TomyWork has quit [Remote host closed the connection]
plantman2 has joined #ruby
___nick___ has quit [Ping timeout: 268 seconds]
hightower3 has joined #ruby
hightower2 has quit [Ping timeout: 252 seconds]
plantman2 has quit [Ping timeout: 256 seconds]
dviola has quit [Ping timeout: 260 seconds]
_ht has quit [Quit: _ht]
John_Ivan has quit [Read error: Connection reset by peer]
teclator has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<rapha> anyone care to golf me down? c='(QBQKJ eK)RU'.downcase.chars;t=c.tally;p c.map{|i|t[i]==1?'(':')'}.join
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby
<leah2> c.upcase.chars?
<leah2> erm .map
<leah2> and _1
<leah2> and *''
<weaksauce> you can shave two off
<weaksauce> at least with ?(
<weaksauce> and ?)
kubie has joined #ruby
kubie has quit [Quit: Client closed]
teclator has joined #ruby
ruby[bot] has quit [Remote host closed the connection]
ruby[bot] has joined #ruby
Linux_Kerio has quit [Ping timeout: 268 seconds]
<rapha> that's 4 less, c='(QBQKJ eK)RU'.upcase.chars;t=c.tally;p c.map{|i|t[i]==1??(:?)}.join
<rapha> but i didn't understand *''
<rapha> and what's shorter than .map?
<rapha> 2 less, c='(QBQKJ eK)RU'.upcase.chars;t=c.tally;p c.map{t[_1]==1??(:?)}.join
<weaksauce> why are you doing this?
<rapha> friend's learning how to code and asked me to solve that puzzle for her in python
<rapha> then i wanted to do it in ruby and it was like, a third the size
<rapha> then i turned it into a oneliner and it became fun
<rapha> this seems to happen roughly thrice a year
<weaksauce> ah hah
<rapha> not fun to you?
<weaksauce> well i can infer the outputs but had no clue why
<rapha> me neither :D
<weaksauce> just a contrived thing then
<leah2> t=(c='(QBQKJ eK)RU '.chars).tally;p c.map{t[_1]<2??(:?)}*''
<rapha> like, how did the person who created the puzzle even come up with the idea
<rapha> woah!
<weaksauce> yeah
<leah2> is it chess related?
<rapha> that's a cool use of one-line methods leah2!
<leah2> heh
<leah2> hm i lost the upcase
<rapha> re chess i have no clue but the function in her initial attempt was called duplicate_encode()
<rapha> perhaps we should add an uppercase E or so to the input, so that losing the upcase would actually invalidate the output
<weaksauce> i like the *''
<rapha> i still don't understand the *''
<rapha> is that the splat operator?
<weaksauce> do an array ["a","b"] * "hahah"
<weaksauce> it's multiplication
<rapha> sick!
<leah2> c='(QBQKJ eK)RU '.upcase;p c.chars.map{c.count(_1)==1??(:?)}*''
<rapha> it kind-of implicitly calls .chars on 'hahah' ... why does it do that?
<weaksauce> what do you mean?
<weaksauce> should be "ahahahbhahah"
<rapha> became "ahahahb" for me
<weaksauce> oh wait yeah
<rapha> ooh
<weaksauce> i guess it's a joins shorthand
<rapha> hmm
<rapha> why not abhahah
<rapha> oops. simple actually.
<rapha> leah2 golfed it down 5 more, now it's at 63
<rapha> and no tally needed
teclator has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
tomtmym has quit [Quit: Gone.]
ur5us has quit [Ping timeout: 260 seconds]
John_Ivan has joined #ruby