jankasi has quit [Remote host closed the connection]
jankasi has joined #ruby
grenierm has joined #ruby
grenierm has quit [Quit: Client closed]
johnhamelink has quit [Server closed connection]
johnhamelink has joined #ruby
mange has quit [Remote host closed the connection]
lirion has quit [Quit: ヾ(ʘ‿ʘ)]
lirion has joined #ruby
tronexte has quit [Ping timeout: 276 seconds]
user71 has joined #ruby
tronexte has joined #ruby
<nakilon>
deepseek is crazy; if you google how to rich text fill a cell in xlsx you'll see that one gem can rich text but can't edit existing xlsx while another gem can edit files but can't rich text
<nakilon>
and somehow deepseek found that both gems use something same under the hood and if you just copypaste the instance_variables, it will work
<nakilon>
I can't tell if it somehow made it up and it surprisingly worked, or it's somewhere in forums and chats, and google just sucks in leading the way
<nakilon>
the idea of "raw copypasting" though was made by me, deepseek failed to reach it, but I won't be able to code the solution while he did
MsInput has joined #ruby
<nakilon>
though maybe the trick wasn't in that there is anything common between the gems under the hood, but copying attributes -- I would not come up with idea to try it
ih8u2 has joined #ruby
ih8u has quit [Ping timeout: 276 seconds]
ih8u2 is now known as ih8u
mweckbecker has quit [Ping timeout: 260 seconds]
mweckbecker has joined #ruby
matta has quit [Server closed connection]
matta has joined #ruby
The_Camel_ has joined #ruby
PuercoPop has quit [Server closed connection]
PuercoPop has joined #ruby
infinityfye has quit [Ping timeout: 255 seconds]
infinityfye has joined #ruby
dionysus69 has quit [Quit: dionysus69]
jankasi has quit [Ping timeout: 248 seconds]
<nakilon>
I hate that constants are at the same time the 'constants' i.e. throw the warnings, and pollute the scope
<nakilon>
I would be fine if 'const' was just a keyword
<nakilon>
and merge the '.freeze' functionality into it
<nakilon>
if we've introduced the 'return' operator globally that means return from the script then it means we should think about the script as a function? no way, it does not work like that, the constants are polluting the main scope
<nakilon>
making you unable to convert the single file script into reusable method in a simple way -- you have to rename all the identifiers to lowercase
avsej has quit [Ping timeout: 260 seconds]
avsej has joined #ruby
avsej has quit [Changing host]
avsej has joined #ruby
<havenwood>
nakilon: The convention is to introduce a single module or class and only define constants within it.
<havenwood>
nakilon: Altneratively, you can change #load's second `wrap = false` default to `true` to get an anonymous module that will protect your global namespace.
infinityfye has quit [Read error: Connection reset by peer]
user71 has quit [Quit: Leaving]
joast has quit [Quit: Leaving.]
Guest6 has joined #ruby
Guest6 has quit [Client Quit]
<o0x1eef>
Congrats isene
<o0x1eef>
Is that good for something like bookmarks?
<o0x1eef>
That's the first thought that came to mind. My bookmarks have become so complex with deep nesting that it's hard to be productive with them anymore. But a list I could manage in plain text and then somehow import into my browser would probably be a good reset.
<isene>
Hmm... should work just fine. It's a dinky use of a HyperList, but cool enough :)
<isene>
Then you can export your bookmarks as a graph :-P
<o0x1eef>
Just need a browser extension to be able to export it to a hyperlist in the first place :)
ruby[bot] has quit [Remote host closed the connection]
ruby[bot] has joined #ruby
avsej has quit [Quit: avsej]
rvalue has quit [Remote host closed the connection]
cappy has joined #ruby
rvalue has joined #ruby
rvalue- has joined #ruby
rvalue has quit [Read error: Connection reset by peer]