00:18
teclator has quit [Ping timeout: 260 seconds]
00:21
Guest61 has joined #ruby
00:22
Guest61 has quit [Client Quit]
00:32
moldorcoder7 has quit [Ping timeout: 268 seconds]
01:21
caedmon has joined #ruby
01:35
willow has joined #ruby
01:35
willow has joined #ruby
01:39
lucartc has quit [Remote host closed the connection]
01:48
razetime has joined #ruby
01:50
caedmon has quit [Quit: caedmon]
01:53
Al2O3 has quit [Ping timeout: 256 seconds]
02:04
plantman2 has joined #ruby
02:09
crax23 has quit [Quit: I am more peaced off than a dragon trying to blow out candles]
02:22
plantman2 has quit [Ping timeout: 260 seconds]
02:33
bennylava has joined #ruby
02:35
rubidium has joined #ruby
02:41
<
bennylava >
Hello everyone
02:44
rubidium has quit [Remote host closed the connection]
02:45
rubidium has joined #ruby
02:49
gr33n7007h has quit [Ping timeout: 260 seconds]
02:56
caedmon has joined #ruby
03:12
apteryx has quit [Quit: apteryx]
03:41
razetime has quit [Ping timeout: 272 seconds]
03:48
willow has left #ruby [#ruby]
03:51
bennylava has quit []
03:54
gr33n7007h has joined #ruby
03:59
Linux_Kerio has joined #ruby
04:14
joto has quit [Remote host closed the connection]
04:14
joto has joined #ruby
04:21
cartdrige has joined #ruby
04:23
plantman2 has joined #ruby
04:29
plantman2 has quit [Ping timeout: 260 seconds]
04:34
razetime has joined #ruby
04:48
rvalue has quit [Read error: Connection reset by peer]
04:48
rvalue has joined #ruby
04:53
jmcgnh has quit [Ping timeout: 260 seconds]
04:59
jmcgnh has joined #ruby
05:13
caedmon has quit [Ping timeout: 272 seconds]
05:15
ur5us has quit [Ping timeout: 256 seconds]
05:19
razetime has quit [Quit: See You Space Cowboy]
05:32
cartdrige has quit [Ping timeout: 268 seconds]
05:35
plantman2 has joined #ruby
05:38
cartdrige has joined #ruby
05:38
Al2O3 has joined #ruby
05:46
plantman2 has quit [Ping timeout: 260 seconds]
05:46
jhass has quit [Ping timeout: 246 seconds]
05:50
cartdrige has quit [Read error: Connection reset by peer]
05:50
rubidium has quit [Remote host closed the connection]
05:50
otisolsen70 has joined #ruby
05:52
jhass has joined #ruby
06:18
bougyman has quit [Ping timeout: 260 seconds]
06:19
bougyman has joined #ruby
06:22
niv has joined #ruby
06:31
ur5us has joined #ruby
06:57
sam113101 has quit [Quit: WeeChat 3.6]
07:13
ur5us has quit [Ping timeout: 256 seconds]
07:18
teclator has joined #ruby
07:34
cartdrige has joined #ruby
07:42
gr33n7007h has quit [Quit: WeeChat 3.8]
07:47
Sankalp has quit [Ping timeout: 260 seconds]
07:50
Sankalp has joined #ruby
07:51
ur5us has joined #ruby
07:59
sam113101 has joined #ruby
08:01
gr33n7007h has joined #ruby
08:10
tomtmym has joined #ruby
08:10
tomtmym has quit [Changing host]
08:10
tomtmym has joined #ruby
08:14
gr33n7007h has quit [Quit: WeeChat 3.8]
08:21
razetime has joined #ruby
08:25
gr33n7007h has joined #ruby
08:38
dionysus69 has joined #ruby
08:58
Mo has joined #ruby
09:02
jvalleroy has joined #ruby
09:09
razetime has quit [Remote host closed the connection]
09:16
<
Mo >
bundle config set without "test development mysql"; bundle install
09:17
<
Mo >
Installing sassc-rails 2.1.2 Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
09:22
<
sam113101 >
Mo: which OS are you using?
09:22
<
Mo >
sam113101: OpenSuse TW.
09:22
<
leftylink >
interesting, it seems to want postgres installed
09:23
<
Mo >
leftylink: Ok, then I know. I have no Postgres installed because different from the HowTo I plan to use MariaDB
09:26
<
Mo >
So I skipped the step: "zypper install postgresql postgresql-server postgresql-contrib" Doing that now.
09:29
<
Mo >
sam113101 leftylink: I have postgres installed now and started. Still the same error.
09:29
Sankalp has joined #ruby
09:29
<
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
09:30
<
Mo >
I don't understand. Which devel package is required? Different postgresql required?
09:31
<
Mo >
postgresql Version 15-2.1 is installed by OpenSuse TW.
09:32
<
leftylink >
perhaps it would be called postgresql-devel, but I don't know the conventions opensuse would use
09:32
<
Mo >
What is the name of the missing file?
09:32
<
Mo >
"Can't find the 'libpq-fe.h header" <- ?
09:34
Guest87 has joined #ruby
09:37
Guest87 has quit [Client Quit]
09:40
otisolsen70_ has joined #ruby
09:43
otisolsen70 has quit [Ping timeout: 272 seconds]
09:59
___nick___ has joined #ruby
10:07
ur5us has quit [Ping timeout: 256 seconds]
10:30
moldorcoder7 has joined #ruby
10:38
otisolsen70_ has quit [Read error: Connection reset by peer]
11:25
Shell has joined #ruby
11:28
Sankalp has joined #ruby
11:35
Sankalp has joined #ruby
11:38
gr33n7007h has quit [Quit: WeeChat 3.8]
11:42
gr33n7007h has joined #ruby
12:13
leah2 has quit [Ping timeout: 260 seconds]
12:13
perrierjouet has quit [Quit: WeeChat 3.8]
12:14
perrierjouet has joined #ruby
12:19
leah2 has joined #ruby
12:27
FullMetalStacker has joined #ruby
13:00
Momentum has joined #ruby
13:01
<
Momentum >
anyone noticed some buggy behavior with solargraph?
13:03
<
Momentum >
like documentation doesn't load for all code items
13:03
<
Momentum >
competition also only works sometimes
13:17
hightower2 has quit [Ping timeout: 256 seconds]
13:46
FullMetalStacker has quit [Ping timeout: 252 seconds]
13:46
FullMetalStacker has joined #ruby
14:14
cartdrige has quit [Quit: I am more peaced off than a dragon trying to blow out candles]
14:15
hightower2 has joined #ruby
14:17
cartdrige has joined #ruby
14:24
m_antis has joined #ruby
14:26
teclator has quit [Ping timeout: 256 seconds]
14:58
teclator has joined #ruby
14:59
skandal has quit [Remote host closed the connection]
15:12
caedmon has joined #ruby
15:26
caedmon has quit [Ping timeout: 260 seconds]
15:44
razetime has joined #ruby
15:49
mooff has joined #ruby
15:53
caedmon has joined #ruby
15:55
cek has joined #ruby
15:56
caedmon has quit [Client Quit]
15:56
caedmon has joined #ruby
15:59
___nick___ has joined #ruby
15:59
caedmon has quit [Read error: Connection reset by peer]
15:59
___nick___ has quit [Client Quit]
15:59
caedmon has joined #ruby
16:01
___nick___ has joined #ruby
16:06
cartdrige has quit [Ping timeout: 264 seconds]
16:07
dionysus69 has quit [Ping timeout: 256 seconds]
16:12
caedmon has quit [Ping timeout: 256 seconds]
16:28
caedmon has joined #ruby
16:39
cartdrige has joined #ruby
16:57
razetime has quit [Quit: See You Space Cowboy]
17:01
caedmon has quit [Ping timeout: 252 seconds]
17:03
caedmon has joined #ruby
17:30
teclator has quit [Ping timeout: 256 seconds]
17:33
TomyWork has joined #ruby
18:14
leonthemisfit has joined #ruby
18:21
FullMetalStacker has joined #ruby
18:22
FullMetalStacker has quit [Client Quit]
18:24
cek has quit [Quit: Connection closed for inactivity]
19:04
Mo has quit [Ping timeout: 256 seconds]
19:08
caedmon has quit [Ping timeout: 260 seconds]
19:36
Starfoxxes has quit [Ping timeout: 260 seconds]
19:44
_ht has joined #ruby
19:49
Starfoxxes has joined #ruby
19:58
ultralan has joined #ruby
19:58
ultralan has quit [Remote host closed the connection]
20:10
Laplace has quit [Quit: Connection closed for inactivity]
20:18
ur5us has joined #ruby
20:35
brw has quit [Read error: Connection reset by peer]
20:42
cek has joined #ruby
20:45
teclator has joined #ruby
20:52
TomyWork has quit [Remote host closed the connection]
21:02
plantman2 has joined #ruby
21:04
___nick___ has quit [Ping timeout: 268 seconds]
21:21
hightower3 has joined #ruby
21:23
hightower2 has quit [Ping timeout: 252 seconds]
21:26
plantman2 has quit [Ping timeout: 256 seconds]
21:31
dviola has quit [Ping timeout: 260 seconds]
21:33
_ht has quit [Quit: _ht]
21:48
John_Ivan has quit [Read error: Connection reset by peer]
21:58
<
rapha >
anyone care to golf me down? c='(QBQKJ eK)RU'.downcase.chars;t=c.tally;p c.map{|i|t[i]==1?'(':')'}.join
22:13
ur5us has quit [Remote host closed the connection]
22:14
ur5us has joined #ruby
22:18
<
leah2 >
c.upcase.chars?
22:30
<
weaksauce >
you can shave two off
22:30
<
weaksauce >
at least with ?(
22:37
kubie has joined #ruby
22:47
kubie has quit [Quit: Client closed]
22:53
teclator has joined #ruby
23:00
ruby[bot] has quit [Remote host closed the connection]
23:00
ruby[bot] has joined #ruby
23:13
Linux_Kerio has quit [Ping timeout: 268 seconds]
23:13
<
rapha >
that's 4 less, c='(QBQKJ eK)RU'.upcase.chars;t=c.tally;p c.map{|i|t[i]==1??(:?)}.join
23:13
<
rapha >
but i didn't understand *''
23:13
<
rapha >
and what's shorter than .map?
23:14
<
rapha >
2 less, c='(QBQKJ eK)RU'.upcase.chars;t=c.tally;p c.map{t[_1]==1??(:?)}.join
23:17
<
weaksauce >
why are you doing this?
23:18
<
rapha >
friend's learning how to code and asked me to solve that puzzle for her in python
23:18
<
rapha >
then i wanted to do it in ruby and it was like, a third the size
23:19
<
rapha >
then i turned it into a oneliner and it became fun
23:19
<
rapha >
this seems to happen roughly thrice a year
23:20
<
rapha >
not fun to you?
23:20
<
weaksauce >
well i can infer the outputs but had no clue why
23:21
<
rapha >
me neither :D
23:21
<
weaksauce >
just a contrived thing then
23:21
<
leah2 >
t=(c='(QBQKJ eK)RU '.chars).tally;p c.map{t[_1]<2??(:?)}*''
23:21
<
rapha >
like, how did the person who created the puzzle even come up with the idea
23:21
<
leah2 >
is it chess related?
23:21
<
rapha >
that's a cool use of one-line methods leah2!
23:22
<
leah2 >
hm i lost the upcase
23:22
<
rapha >
re chess i have no clue but the function in her initial attempt was called duplicate_encode()
23:23
<
rapha >
perhaps we should add an uppercase E or so to the input, so that losing the upcase would actually invalidate the output
23:23
<
weaksauce >
i like the *''
23:23
<
rapha >
i still don't understand the *''
23:24
<
rapha >
is that the splat operator?
23:24
<
weaksauce >
do an array ["a","b"] * "hahah"
23:24
<
weaksauce >
it's multiplication
23:25
<
leah2 >
c='(QBQKJ eK)RU '.upcase;p c.chars.map{c.count(_1)==1??(:?)}*''
23:25
<
rapha >
it kind-of implicitly calls .chars on 'hahah' ... why does it do that?
23:26
<
weaksauce >
what do you mean?
23:26
<
weaksauce >
should be "ahahahbhahah"
23:26
<
rapha >
became "ahahahb" for me
23:26
<
weaksauce >
oh wait yeah
23:26
<
weaksauce >
i guess it's a joins shorthand
23:27
<
rapha >
why not abhahah
23:28
<
rapha >
oops. simple actually.
23:29
<
rapha >
leah2 golfed it down 5 more, now it's at 63
23:29
<
rapha >
and no tally needed
23:55
tomtmym has quit [Quit: Gone.]
23:59
ur5us has quit [Ping timeout: 260 seconds]
23:59
John_Ivan has joined #ruby