<havenwood>
rapha: It's nice there are English docs now for most of the stdlib.
<havenwood>
There are still plenty of undocumented things, but it's getting better every release.
deepredsky has quit [Ping timeout: 272 seconds]
redlegion has joined #ruby
<Ryctolagus>
New to Ruby and had not stumbled across https://rubyreferences.github.io/ before. So glad I joined this Channel!! I know it was not directed in my direction, however thank you rapha.
<Ryctolagus>
havenwood:Thank you. U have worked through the entire Ruby course on CodeCademy. I must say so far I am really enjoying the language.
<havenwood>
Ryctolagus: It's great to be able to explore the stdlib through Pry as well. I'd suggest checking it out if you haven't yet. Here's a talk on REPL-driven development with Pry: https://youtu.be/D9j_Mf91M0I
cyclonis has joined #ruby
wildtrees has joined #ruby
cyclonis has quit [Excess Flood]
<havenwood>
?pry
<ruby[bot]>
Pry, the better IRB, provides easy object inspection `ls`, `history`, viewing docs `?`, viewing source `$`, syntax highlighting and other features (see `help` for more). Put `binding.pry` in your source code for easy debugging. Install Pry (https://pryrepl.org/): gem install pry pry-doc
<havenwood>
Ryctolagus: <3 Ruby
mostlybadfly has quit [Quit: Connection closed for inactivity]
<Ryctolagus>
havenwood: I had not head of pry I will look into it. Currently I have a hacked together Vim environment and was beginning to play with RSpec/guard-rspec. Pry may be another tool to add to the toolbox :)
fphilipe_ has quit [Ping timeout: 268 seconds]
ellcs has quit [Ping timeout: 268 seconds]
AJA4350 has quit [Remote host closed the connection]
wildtrees has quit [Remote host closed the connection]
andikr has quit [Remote host closed the connection]
Snowy has joined #ruby
cyclonis has joined #ruby
cyclonis has quit [Excess Flood]
wildtrees has joined #ruby
cyclonis has joined #ruby
cyclonis has quit [Excess Flood]
cyclonis has joined #ruby
cyclonis has quit [Excess Flood]
cyclonis has joined #ruby
<rapha>
Ryctolagus: with pleasure :D
<rapha>
havenwood: reference is one thing, and tutorials are another ... the Pickaxe was pretty awesome with respect to guiding one through the language features, do's and better-not-do's, etc.
AJA4350 has joined #ruby
<havenwood>
rapha: I don't have a copy, but I've browsed through it a few times at the book store. I saw an amazing examples book in Japan that I wish I'd bought, even though I can't read the comments.
Steap has left #ruby [#ruby]
schneider has joined #ruby
<rapha>
oh wow!
<rapha>
i mean, in japan, there's probably lots of stuff the non-japanese-speaking part of the community isn't even aware of
yalue_ has quit [Quit: Leaving]
Abhijit has joined #ruby
wildtrees has quit [Remote host closed the connection]
wildtrees has joined #ruby
TomyWork has quit [Ping timeout: 246 seconds]
wildtrees has quit [Client Quit]
ramfjord has joined #ruby
sandstrom has joined #ruby
code_zombie has joined #ruby
sylario has joined #ruby
kyrylo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
greengriminal has quit [Quit: This computer has gone to sleep]
DTZUZU has quit [Quit: WeeChat 2.2]
<Iambchop>
srandon111: the "download" url there is a data: url with the page data dynamically appended; to get the url would need to read the table data in which case you could write the file yourself. something like mechanize or webdriver, for example.
lucasb has quit [Quit: Connection closed for inactivity]
orbyt_ has quit [Read error: Connection reset by peer]
orbyt_ has joined #ruby
fphilipe_ has quit [Ping timeout: 246 seconds]
arup_r has quit []
ascarter has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
orbyt_ has joined #ruby
zacts has quit [Ping timeout: 250 seconds]
<srandon111>
ok Iambchop i don't understand why these guys haven't put everything in a single json
Cthulu201 has quit [Ping timeout: 268 seconds]
AJA4350 has joined #ruby
kapilp has quit [Quit: Connection closed for inactivity]
bitwinery has joined #ruby
kyrylo has joined #ruby
lesha has joined #ruby
troulouliou_div2 has joined #ruby
mark22k has joined #ruby
BH23 has joined #ruby
mark22k is now known as mark22kk
mark22kk is now known as mark22k
mark22k is now known as mark22kk
mark22kk is now known as mark22k
ElFerna has joined #ruby
ElFerna has quit [Read error: Connection reset by peer]
ElFerna has joined #ruby
plujon has joined #ruby
Swyper has quit [Remote host closed the connection]
phroa has quit [Ping timeout: 246 seconds]
<plujon>
I notice that `gem install jekyll -P HighSecurity` doesn't do much because jekyll is unsigned.
<plujon>
Are there any extant efforts to provide security for [popular] ruby gems?
phroa has joined #ruby
phroa is now known as Guest12860
Guest12860 has quit [Remote host closed the connection]
sandstrom has quit [Quit: My computer has gone to sleep.]
mark22k is now known as mark22kk
mark22kk is now known as mark22k
mark22k is now known as mark22kk
mark22kk is now known as mark22k
<leftylink>
I see that https://github.com/rubygems-trust hasn't updated their copyies of the respective repos in more than 6 years. perhaps that means the efforts (if still existing) moved elsewhere
<plujon>
"oh no! I typoed while installing rails and later discovered my machine has been rooted for a while"
<qbrd[m]>
I guess my first question is why are you manually installing gems in a production system.
apotheon has joined #ruby
CCDelivery has joined #ruby
<apotheon>
Is TCO still off by default in the reference implementation?
<plujon>
qbrd[m]: What do you mean by a "production system"?
_falsebay_ has joined #ruby
ur5us has joined #ruby
<qbrd[m]>
I mean, a system with real live data that sees real live workloads. Purely from an academic perspective, if you're developing and testing with mock data, then developing against the `rials` rootkit library really doesn't "matter", in that a bad actor is only getting fake data.
<qbrd[m]>
my point is, if your problem is "I typoed while installing rails and my machine has been rooted for 6mos" you probably have bigger process problems at hand.
yqt has quit [Ping timeout: 272 seconds]
<qbrd[m]>
that's not to say typo squatters aren't a problem
<havenwood>
apotheon: Yes, it's still off by default in favor of default trace instructions.
<havenwood>
apotheon: You can use RubyVM::InstructionSequence to compile portions of code with TCO, even if you don't enable it at compile time.
<plujon>
I can't tell if rials is really a rootkit;
<apotheon>
havenwood: Thanks for the help on that.
<havenwood>
apotheon: You're welcome.
<apotheon>
I had no idea there was a post-compile way to do that.
fphilipe_ has joined #ruby
kyrylo has joined #ruby
<havenwood>
plujon: Just as risky as running any arbitrary code.
<havenwood>
plujon: Don't run random, unreviewed code.
<plujon>
How do I know what code has been reviewed?
<havenwood>
You review it. :P
Intelo has joined #ruby
<plujon>
Seriously? Don't use a gem unless you've read its source?
<Intelo>
Hi,
<havenwood>
Intelo: hi
<Intelo>
Whats the best free IDE for Ruby? Intellij has free version? or eclipse?
<havenwood>
Intelo: RubyMine EAP (early release) is free afaik.
<havenwood>
Intelo: Editors like Atom and VS Code have nice integrations with Ruby.
<qbrd[m]>
+1 or VS Code.
<qbrd[m]>
as much as I hate to admit to likeing a Microsoft product... :)
<havenwood>
qbrd[m]: Atom is now too. hehe
<qbrd[m]>
it's a decent editor. and, with the "remote integration", working on VMs (which is where I do 90% of my dev work anyway) is a DREAM
<havenwood>
plujon: I do tend to read gem code. Nobody reads the code of the whole stack. It's a trust nightmare, but it's certainly not specific to Ruby.
<qbrd[m]>
haha havenwood good point. :D
<havenwood>
plujon: Occasionally you'll see someone try to sneak an exploit into an actually used package, and it's no fun when they do. More often than not it's someone getting credentials they shouldn't have.
mark22k has quit [Quit: Leaving]
<havenwood>
plujon: Luckily most folk who would want to be malicious hackers seem incapable of coding. There are certainly plenty of folk who could but have no interest in being malicious.
x86sk has quit [Quit: Connection closed for inactivity]
<havenwood>
That said, I'd love to see the TUF work for RubyGems be picked up and finished.
<plujon>
Granted, the problem is not specific to ruby. I'm not terribly familiar with how this is handled in other places. I know in some places electronic signatures tied to physical human beings is the main "assurance", and others where all code is reviewed.
<plujon>
havenwood: Interesting, thanks for the links.
drincruz_ has quit [Ping timeout: 272 seconds]
<qbrd[m]>
^ indeed.
<qbrd[m]>
hadn't heard of that before.
cyclonis has joined #ruby
cyclonis has quit [Excess Flood]
<plujon>
"Trust should not be granted forever. Trust should expire if it is not renewed." (Ah, so that's why armagadd-on occurred ...)
<miah>
openbsd has good code quality
cyclonis has joined #ruby
cyclonis has quit [Excess Flood]
Swyper has joined #ruby
<Intelo>
havenwood, qbrd[m] so RubyMine EAP and Atom are free? free for ever? VS code is microsoft so I should hate it.. Don't you recommend eclipse?
liKe2k1- has joined #ruby
iamdevnul_ has joined #ruby
Kilobyte22 has joined #ruby
n1v_ has joined #ruby
darthThorik_ has joined #ruby
siasmj_ has joined #ruby
kevinsjoberg_ has joined #ruby
Argorok_ has joined #ruby
<qbrd[m]>
IDK anything about RubyMine EAP. Atom is currently free and open source(?), VS Code is currently free and also open source. I don't think you should hate a product just because it's a microsoft product... though admittedly I do have a bias aganst them, I try to judge products on their merits alone...
manveru_ has joined #ruby
timeless_ has joined #ruby
<qbrd[m]>
I've never really liked eclipse, but if you're doing Java development, IntelliJ is the way to go.
towo_ has joined #ruby
cyclonis has joined #ruby
cyclonis has quit [Excess Flood]
Rush has joined #ruby
<qbrd[m]>
Lots of Java developers like Eclipse, so I'm sure it's a decent product.
<qbrd[m]>
I also haven't touched java in nearly a decade... ditto for eclipse... so I'm not sure I'm the person to be asking in all honesty.
<qbrd[m]>
I was about half kidding when I said "I hate to admit liking a Microsoft product" :P
ElFerna has quit [Quit: ElFerna]
<qbrd[m]>
* I've never really liked eclipse, but if you're doing Java development, I've heard IntelliJ is the way to go.
kyrylo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
creat_ has joined #ruby
jacksoow_ has joined #ruby
vqrs has joined #ruby
vqrs_ has quit [*.net *.split]
n1v has quit [*.net *.split]
timeless has quit [*.net *.split]
siasmj has quit [*.net *.split]
Argorok has quit [*.net *.split]
liKe2k1 has quit [*.net *.split]
Kilo`byte has quit [*.net *.split]
iamdevnul has quit [*.net *.split]
darthThorik has quit [*.net *.split]
kevinsjoberg has quit [*.net *.split]
manveru has quit [*.net *.split]
towo has quit [*.net *.split]
jacksoow has quit [*.net *.split]
ndrst has quit [*.net *.split]
creat has quit [*.net *.split]
Argorok_ is now known as Argorok
n1v_ is now known as n1v
siasmj_ is now known as siasmj
kevinsjoberg_ is now known as kevinsjoberg
iamdevnul_ is now known as iamdevnul
timeless_ is now known as timeless
darthThorik_ is now known as darthThorik
manveru_ is now known as manveru
cyclonis_ has joined #ruby
DTZUZU has quit [Quit: WeeChat 2.2]
greengriminal has quit [Read error: Connection reset by peer]
greengriminal has joined #ruby
ndrst has joined #ruby
greengriminal has quit [Client Quit]
ndrst is now known as Guest19252
houhoulis has joined #ruby
dbugger has quit [Quit: Leaving]
Intelo has quit [Ping timeout: 260 seconds]
greengriminal has joined #ruby
<apotheon>
After getting help with havenwood on TCO, I went on to abuse the crap out of a regex positive lookahead to get results unrelated to the purpose of a positive lookahead.
<apotheon>
I must be doing something wrong with my life to have a day like this.
kashike has joined #ruby
tdy has quit [Ping timeout: 245 seconds]
phroa has joined #ruby
x86sk has joined #ruby
Ryctolagus has quit [Read error: Connection reset by peer]
stryek has quit [Quit: Connection closed for inactivity]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
ramfjord_ has quit [Ping timeout: 244 seconds]
DTZUZU has joined #ruby
Swyper has quit [Remote host closed the connection]
jenrzzz_ has joined #ruby
ramfjord has joined #ruby
jenrzzz has quit [Ping timeout: 246 seconds]
involans has joined #ruby
schneider has quit [Ping timeout: 245 seconds]
cyclonis_ has quit [Read error: Connection reset by peer]
RiPuk_ has joined #ruby
RiPuk has quit [Read error: Connection reset by peer]