rivalomega has quit [Remote host closed the connection]
uplime has joined #ruby
<nyov>
sadly I don't have this issue either with python or perl. it's only ruby - well sequel- not understanding the 'postgresql://?service=test' query URI
<nyov>
phaul: thanks for the help
<phaul>
yeah, sequel seems to assume that the connect() gets the connection info.
alem0lars has quit [Remote host closed the connection]
Snowy has quit [Remote host closed the connection]
Snowy has joined #ruby
dellavg_ has joined #ruby
za1b1tsu has joined #ruby
Snowy has quit [Ping timeout: 260 seconds]
za1b1tsu has quit [Ping timeout: 260 seconds]
reber__ has quit [Remote host closed the connection]
reber__ has joined #ruby
<cthulchu>
I need some help, but without sending the code
tdy has quit [Ping timeout: 276 seconds]
<cthulchu>
nah, it's ridiculous
<cthulchu>
should ask someone in the office who uses Ruby
elcontrastador has joined #ruby
za1b1tsu has joined #ruby
whysthatso has quit [Ping timeout: 250 seconds]
<cthulchu>
so in order to get all files that match the requirement, I use something like: Dir[File.expand_path("~/.Genymobile/Genymotion/deployed/#{device_name}/logcat*.txt")
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<cthulchu>
see how I can use * there?
<cthulchu>
that * means .* effectively
<cthulchu>
I would prefer having a normal regex syntax available there
<cthulchu>
but what else do I have except the * there?
<al2o3-cr>
cthulchu: if you use pry, install pry-doc. it now enables you to see C source code.
akaiiro has quit [Ping timeout: 252 seconds]
<Eiam>
or that
cyberRodent has quit [Ping timeout: 245 seconds]
<baweaver>
C what you can see in the C
<Eiam>
fail
<Eiam>
baweaver: C what you can C in the C
<Eiam>
=)
<baweaver>
C3?
bmurt has joined #ruby
<baweaver>
Eh, it'd be more bang for our buck if we made it C4
<cthulchu>
byebug extends pry, doesn't it?
<cthulchu>
I use the former
<al2o3-cr>
:)
akem has joined #ruby
za1b1tsu has joined #ruby
cyberRodent has joined #ruby
za1b1tsu has quit [Ping timeout: 252 seconds]
apeiros_ has joined #ruby
phenom has quit [Ping timeout: 245 seconds]
<cthulchu>
oh!
<cthulchu>
my wife told me a cool thing about Python a few days ago
<cthulchu>
she said that in Python they have some solition called notebook something and it allows them to rewrite one piece of code and rerun the whole thing without rerunning the context
<cthulchu>
so if your script parses a huge xml and you just need to fix certain function, you can kinda freeze the context and make it run only one piece of code against the context
<cthulchu>
very much like byebug, but byebug lets you do that in console
<cthulchu>
and this thing lets you change the source code and then rerun everything without really rerunning the unchanged part
<cthulchu>
it's not like I need it, but it sounds cool
phenom has joined #ruby
orbyt_ has joined #ruby
akaiiro has joined #ruby
Rapture has joined #ruby
<miah>
byebug is stand alone, pry-byebug extends pry =)
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Rapture has quit [Ping timeout: 276 seconds]
GodFather has quit [Read error: Connection reset by peer]
GodFather has joined #ruby
GodFather has quit [Read error: Connection reset by peer]
akaiiro has quit [Remote host closed the connection]
Rapture has joined #ruby
GodFather has joined #ruby
za1b1tsu has joined #ruby
bmurt has joined #ruby
kurko__ has joined #ruby
kurko_ has quit [Ping timeout: 245 seconds]
za1b1tsu has quit [Ping timeout: 244 seconds]
armyriad has quit [Read error: Connection reset by peer]
armyriad has joined #ruby
akaiiro has joined #ruby
jobewan has joined #ruby
GodFather has quit [Ping timeout: 268 seconds]
urbanmonk has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<zenspider>
rawr
kurko__ has quit [Ping timeout: 250 seconds]
samort7 has joined #ruby
<Eiam>
cthulchu: iPython iirc
<Eiam>
a bit like mathematica notebooks
hahuang6- is now known as hahuang65
themsay has joined #ruby
GodFather has joined #ruby
dellavg_ has quit [Ping timeout: 268 seconds]
hays_ has joined #ruby
<hays_>
anyone here on a mac and ever ran into this with rbenv? configure: error: cannot run C compiled programs.
Snowy has joined #ruby
<Eiam>
I use ruby on macOS daily with rbenv, never seen
<Eiam>
what are you calling?
<hays_>
rbenv install 2.5.1
<hays_>
that's running ./configure or something
<hays_>
and I get that error. its as if commandline tools are corrupted or something
<Eiam>
xcode-select --install
<Eiam>
then try again
<hays_>
xcode-select: error: command line tools are already installed, use "Software Update" to install updates
<hays_>
im going to remove it manually...
<Eiam>
can you launch xcode?
<hays_>
I don't have xcode installed
<hays_>
do I need it? I guess I assumed I just needed the commandline tools?
<Eiam>
sometimes things don't finder the headers in the right place with just the CLTools
<Eiam>
laying down the actual full xcode can resolve some of those path issues
<Eiam>
thats more of a homebrew thing than an rbenv thing though
<hays_>
let me try that.
mn3m has joined #ruby
reber__ has quit [Read error: Connection reset by peer]
kurko_ has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
jobewan has quit [Quit: jobewan]
za1b1tsu has joined #ruby
Dbugger has joined #ruby
za1b1tsu has quit [Ping timeout: 245 seconds]
knight33 has joined #ruby
goldbox has joined #ruby
desperek has quit [Quit: xoxo]
s2013 has joined #ruby
mn3m has quit [Quit: mn3m]
goldbox has quit [Client Quit]
goldbox has joined #ruby
mn3m has joined #ruby
mn3m has quit [Remote host closed the connection]
patr0clus has joined #ruby
Snowy has quit [Remote host closed the connection]
wildermind has quit [Quit: Connection closed for inactivity]
Snowy has joined #ruby
Dbugger has quit [Remote host closed the connection]
za1b1tsu has joined #ruby
blackmesa has quit [Ping timeout: 250 seconds]
za1b1tsu has quit [Ping timeout: 252 seconds]
hays_ has quit [Ping timeout: 268 seconds]
Snowy has quit [Remote host closed the connection]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
whysthatso has quit [Quit: whysthatso]
Snowy has joined #ruby
nadir has joined #ruby
ldnunes has quit [Quit: Leaving]
Snowy has quit [Ping timeout: 245 seconds]
bmurt has joined #ruby
blackmesa has joined #ruby
blackmesa has quit [Ping timeout: 260 seconds]
blackmesa has joined #ruby
krawchyk has quit [Quit: krawchyk]
kurko_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
freemo has joined #ruby
<freemo>
Hello again everyone, I'm back with a new ruby problem I can't crack
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<freemo>
I'm usin ncurses with ruby over telnet (thanks to ncurses-ruby). I know it is using ncursesw on the backend since the borders of windows are correctly showing using box drawing characters, but if i try to print anything using addstr or printw then the unicode doesnt render properly (one sec ill screenshot)
Azure has quit [Remote host closed the connection]
<freemo>
I have a feeling im on my own for this one :(
Azure has joined #ruby
Nicmavr has quit [Read error: Connection reset by peer]
Nicmavr has joined #ruby
<bhaak>
you're wrong that line drawing characters mean that it properly shows unicode
mikecmpbll has joined #ruby
sameerynho has quit [Ping timeout: 268 seconds]
<bhaak>
they've been part of terminal character sets every since that's also why they got into unicode in the first place (when the rule of having previous usage was a hard one and not like now where we have the emoji disease)
SanguineAnomaly has quit [Ping timeout: 252 seconds]
<bhaak>
I'm not sure what setting your terminal is missing. stty -a shows what the current settings are and unfortunately, there is a shitton of them.
<bhaak>
the most obvious candidate would be istrip, clear high (8th) bit of input characters. but that's just a random guess
SanguineAnomaly has joined #ruby
<freemo>
bhaak: well i know at first the box drawing characters werent working in ncurses. It wasnt until after i went to the ncursesw as a back end that those worked
shay has joined #ruby
<freemo>
bhaak: also the characters im printing are also the box drawing characters
<freemo>
bhaak: so your point is moot because the point is ncurses is drawing the same character as a border successfully that it is failing to print when i use addstr or printw
<shay>
my god the XCode.xip file is uncompressing still after like 2 hours
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<bhaak>
freemo: in that case I would catch the network traffic and look what it is transferring.
<bhaak>
or maybe there is even a debug setting to dump it before it gets sent off
<freemo>
bhaak: i had the same problem when it wasnt over telnet
<freemo>
bhaak: so its most likely something specific to ncurses im thinking
<bhaak>
I'm a bit surprised that ncurses (without w) shouldn't have been able to draw them. you can easily check if your terminal supports the old way of drawing line characters. that's even independent of the character set: ruby -e 'puts "\e(0 j k l m n o p q r s t u v w x \e(B"'
shay has quit [Ping timeout: 260 seconds]
<bhaak>
if it's also locally, then maybe your terminal is not properly set up? the TERM variable not corresponding to your terminal. although then you would like have problems with any ncurses program
<freemo>
bhaak: well as i said the berders themselves work fine it only gives issue when using addstr
<freemo>
bhaak: also if i just use puts it works fine too
shay has joined #ruby
<freemo>
bhaak: in C this issue can arrize if the wrong locale is set it seems though not sure how to set that in ruby
shay is now known as hays_
RougeR has joined #ruby
daemonwrangler has quit [Ping timeout: 244 seconds]
knight33 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
fluxAeon has joined #ruby
daemonwrangler has joined #ruby
s2013 has joined #ruby
knight33 has joined #ruby
knight33 has quit [Client Quit]
<Radar>
It's not like the coding tests last week :P
<Radar>
Whoops
<Radar>
Wrong channel
* Radar
is not here
<freemo>
bhaak: no ideas then?
za1b1tsu has joined #ruby
<bhaak>
nope. as I said, the output looks like some broken terminal settings but then the other, working borders don't make sense
za1b1tsu has quit [Ping timeout: 246 seconds]
marmotini_ has quit [Ping timeout: 252 seconds]
eckhardt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
eckhardt has joined #ruby
s3nd1v0g1us has quit [Read error: Connection reset by peer]
code_zombie has quit [Quit: Leaving]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
_whitelogger has joined #ruby
kurko_ has joined #ruby
d^sh has quit [Ping timeout: 268 seconds]
d^sh has joined #ruby
<al2o3-cr>
freemo: have you tried changing locale and seeing if addstr works?
uplime has quit [Quit: WeeChat 2.2]
rkoller has joined #ruby
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mikecmpbll has quit [Quit: inabit. zz.]
orbyt_ has joined #ruby
xfbs has quit [Quit: afk]
eckhardt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hays_ has quit [Ping timeout: 272 seconds]
ivanskie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rubydoc has quit [Remote host closed the connection]
rubydoc has joined #ruby
phaul has quit [Ping timeout: 252 seconds]
kurko_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]