<jnoon>
does anyone have a solid understanding of ruby on windows? i have a solid understanding of it on osx and linux, but hardly know anything about windows in general. but now i need to, unfortunately. im trying to understand stuff related to native extensions. ill just ask and if anyone knows, great!…
marz_d`ghostman has joined #ruby
elphe has quit [Ping timeout: 250 seconds]
<jnoon>
my current understanding is basically rubyinstaller is the way people use ruby on windows. this is based on using mingw as the compiler. so if you build a native extension with say c++ code, that c++ code must also be compiled by mingw in order to work in ruby and link to other libraries. msvc for ruby is pretty much a non-starter and even if you can get it to work, you would be fighting most other gems that might not. is that
<jnoon>
correct?
mangold has joined #ruby
claudiuinberlin has joined #ruby
clemens3 has joined #ruby
elphe has joined #ruby
im0nde has joined #ruby
im0nde has quit [Client Quit]
im0nde has joined #ruby
lomex has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
vondruch has joined #ruby
vqrs has quit [Ping timeout: 276 seconds]
Burgestrand has joined #ruby
theRealMattM has quit []
elphe has quit [Ping timeout: 240 seconds]
vqrs has joined #ruby
im0nde has left #ruby [#ruby]
mangold has quit [Quit: This computer has gone to sleep]
bhaak has quit [Ping timeout: 246 seconds]
jamied has joined #ruby
supergeek has joined #ruby
mikecmpbll has quit [Quit: inabit. zz.]
jottr has joined #ruby
cnsvc has quit [Ping timeout: 256 seconds]
jottr has quit [Ping timeout: 268 seconds]
elphe has joined #ruby
akem has joined #ruby
lomex has joined #ruby
mikecmpbll has joined #ruby
elphe has quit [Ping timeout: 268 seconds]
jottr has joined #ruby
elomatreb_ has joined #ruby
x0f_ has joined #ruby
jottr has quit [Ping timeout: 240 seconds]
mnem has joined #ruby
_phaul has joined #ruby
lypsis_ has joined #ruby
ablackack has joined #ruby
Ca1us has joined #ruby
universal has joined #ruby
timmow_ has joined #ruby
phaul has quit [*.net *.split]
Fire-Dragon-DoL has quit [*.net *.split]
lypsis has quit [*.net *.split]
lunarkitty7 has quit [*.net *.split]
universa1 has quit [*.net *.split]
jnix has quit [*.net *.split]
Furai has quit [*.net *.split]
Tristan-Speccy has quit [*.net *.split]
omninonsense has quit [*.net *.split]
TheMoonMaster_ has quit [*.net *.split]
x0f has quit [*.net *.split]
ablackack_ has quit [*.net *.split]
elomatreb has quit [*.net *.split]
klaas has quit [*.net *.split]
mnemon has quit [*.net *.split]
timmow has quit [*.net *.split]
|aaron has quit [*.net *.split]
stalactit has quit [*.net *.split]
Caius has quit [*.net *.split]
lipoqil has quit [*.net *.split]
rann has quit [*.net *.split]
sparr has quit [*.net *.split]
Fire-Dragon-DoL has joined #ruby
TheMoonMaster has joined #ruby
[spoiler] has joined #ruby
irdr has quit [Remote host closed the connection]
irdr has joined #ruby
mangold has joined #ruby
cnsvc has joined #ruby
lunarkitty7 has joined #ruby
Furai has joined #ruby
lomex has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
lomex has joined #ruby
lomex has quit [Client Quit]
sameerynho has joined #ruby
sameerynho is now known as Guest34409
wildermind has joined #ruby
gregf_ has joined #ruby
roshanavand has joined #ruby
clemens3 has quit [Ping timeout: 250 seconds]
mangold has quit [Quit: This computer has gone to sleep]
clemens3 has joined #ruby
LinuxKnight has quit [Remote host closed the connection]
LinuxKnight has joined #ruby
dhollinger has quit [Ping timeout: 252 seconds]
keden has joined #ruby
roshanavand has quit [Remote host closed the connection]
roshanavand has joined #ruby
nicolasb has joined #ruby
Guest34409 is now known as sameerynho
sameerynho is now known as Guest21835
jottr has joined #ruby
dhollinger has joined #ruby
elphe has joined #ruby
cnsvc has quit [Ping timeout: 256 seconds]
conta has quit [Ping timeout: 240 seconds]
roshanavand has quit [Remote host closed the connection]
roshanavand has joined #ruby
kristofferR has joined #ruby
elphe has quit [Ping timeout: 244 seconds]
mangold has joined #ruby
johnny56 has joined #ruby
conta has joined #ruby
conta has quit [Ping timeout: 240 seconds]
klaas has joined #ruby
graphene has quit [Remote host closed the connection]
graphene has joined #ruby
conta has joined #ruby
kapil____ has quit [Quit: Connection closed for inactivity]
cnsvc has joined #ruby
ldnunes has joined #ruby
fredmorcos has joined #ruby
zapata has quit [Quit: WeeChat 2.3]
fredmorcos has quit [Remote host closed the connection]
hiroaki has quit [Ping timeout: 245 seconds]
kapil____ has joined #ruby
jamied has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
blackmesa has joined #ruby
cnsvc has quit [Ping timeout: 256 seconds]
mangold has quit [Quit: This computer has gone to sleep]
Snowy has quit [Remote host closed the connection]
Snowy has joined #ruby
chouhoulis has joined #ruby
<Radar>
How would I make a Ruby program pause, and then continue after _any_ key press? That's including modifier keys, like Cmd, Shift, etc.
Snowy has quit [Ping timeout: 246 seconds]
<Radar>
I can make Ruby do it for every regular key
hiroaki has quit [Ping timeout: 272 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mostlybadfly has quit [Quit: Connection closed for inactivity]
Snowy has joined #ruby
orbyt_ has joined #ruby
Snowy has quit [Remote host closed the connection]
Snowy has joined #ruby
dbz has joined #ruby
nchambers has joined #ruby
elphe has quit [Ping timeout: 250 seconds]
alan_w has joined #ruby
Snowy has quit [Ping timeout: 268 seconds]
dbz_ has quit [Ping timeout: 250 seconds]
lupine has quit [Remote host closed the connection]
GodFather has quit [Ping timeout: 250 seconds]
aspiers has quit [Ping timeout: 252 seconds]
aspiers has joined #ruby
lupine has joined #ruby
eclm has joined #ruby
alan_w has quit [Ping timeout: 268 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
orbyt_ has joined #ruby
elphe has joined #ruby
kapil____ has quit [Quit: Connection closed for inactivity]
phaul has joined #ruby
elphe has quit [Ping timeout: 246 seconds]
GodFather has joined #ruby
safetypin has quit [Ping timeout: 250 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Aqo has quit [Quit: ChatZilla 0.9.92-rdmsoft [XULRunner 35.0.1/20150122214805]]
jaddison has quit [Quit: jaddison]
mikecmpbll has quit [Quit: inabit. zz.]
Inline has quit [Ping timeout: 264 seconds]
Inline has joined #ruby
orbyt_ has joined #ruby
Inline has quit [Read error: Connection reset by peer]
Inline has joined #ruby
agent_white has joined #ruby
elphe has joined #ruby
polishdub has quit [Quit: leaving]
jottr has quit [Ping timeout: 244 seconds]
chussenot has quit [Quit: chussenot]
<zenspider>
Radar: a plain ruby script? not sure if that's possible.
<zenspider>
Radar: I _believe_ you could do it with something like my graphics gem... using SDL's key scanning
<Radar>
zenspider: yeah, a plain Ruby script. I don't think it's possible either. I'll just take my chances that whoever's going to press "any key" doesn't try pressing one of the modifiers.
<zenspider>
just say "any letter" :P
<Radar>
hahaha :) That'll give away my trick.
<Radar>
I'm writing a Ruby script as a part of trick that makes it seem like a "random" algorithm always determines a selected playing card. Trying to work out the flow of the trick at the moment.
Eiam has quit [Read error: Connection reset by peer]
elphe has quit [Ping timeout: 246 seconds]
<eam>
Radar: cannot be done through a terminal, but you can do it with any native windowing gem
crankhar1er has quit [Ping timeout: 246 seconds]
<Radar>
eam: has to be a terminal for this trick to be seamless (I think)
<Radar>
I think I'll make it just so it's me typing instead of a different person
<zenspider>
oh. maybe the curses library can do it?
<eam>
you can probably create a windowing context from a program that looks like a terminal app
<eam>
it'd need to be run in a local terminal of course
<eam>
zenspider: I'm pretty sure there's simply no data passed along the tty when those keys are pressed
<eam>
^C sends one byte
<zenspider>
looks like it. it has #get_key_modifiers
<eam>
zenspider: you sent me on a goose chase because I was sure it's impossible. Turns out that method only works if you're linking PDCurses (not ncurses, etc) and the way PDCurses does it is .... create a native windowing context
<eam>
I think PDCurses only supports that method on windows
<eam>
oh maybe not, they use sdl to set it on some platforms :)
<eam>
so for sure, can't extract it from the terminal -- but if you're a terminal program and happen to know you can access the windowing context you can create one invisibly and interact with the keyboard directly
peirama has quit [Quit: ERC (IRC client for Emacs 26.1)]
jottr has joined #ruby
jaddison has joined #ruby
chussenot has joined #ruby
chouhoulis has quit [Remote host closed the connection]
alicef has quit [Ping timeout: 246 seconds]
jottr has quit [Ping timeout: 246 seconds]
eclm has quit [Read error: Connection reset by peer]
beefjoe has joined #ruby
blackmesa has quit [Ping timeout: 250 seconds]
beefjoe has quit [Client Quit]
ur5us has joined #ruby
ur5us has quit [Read error: Connection reset by peer]