szkl has joined #racket
capfredf has joined #racket
capfredf has quit [Ping timeout: 240 seconds]
capfredf has joined #racket
capfredf has quit [Ping timeout: 240 seconds]
capfredf has joined #racket
capfredf has quit [Ping timeout: 272 seconds]
countvajhula has quit [Ping timeout: 240 seconds]
monkey_ has quit [Read error: Connection reset by peer]
capfredf has joined #racket
jao has quit [Remote host closed the connection]
mon_aaraj has quit [Ping timeout: 240 seconds]
jao has joined #racket
mon_aaraj has joined #racket
countvajhula has joined #racket
countvajhula has quit [Ping timeout: 240 seconds]
capfredf has quit [Remote host closed the connection]
countvajhula has joined #racket
countvajhula has quit [Remote host closed the connection]
countvajhula has joined #racket
countvajhula has quit [Remote host closed the connection]
countvajhula has joined #racket
countvajhula has quit [Remote host closed the connection]
countvajhula has joined #racket
monkey_ has joined #racket
countvajhula has quit [Remote host closed the connection]
countvajhula has joined #racket
countvajhula has quit [Remote host closed the connection]
countvajhula has joined #racket
countvajhula has quit [Remote host closed the connection]
countvajhula has joined #racket
countvaj` has joined #racket
countvaj` has quit [Remote host closed the connection]
countvaj` has joined #racket
countvajhula has quit [Ping timeout: 256 seconds]
mon_aaraj has quit [Ping timeout: 260 seconds]
mon_aaraj has joined #racket
monkey_ has quit [Remote host closed the connection]
monkey_ has joined #racket
monkey_ has quit [Remote host closed the connection]
monkey_ has joined #racket
jao has quit [Ping timeout: 272 seconds]
monkey_ has quit [Read error: Connection reset by peer]
monkey_ has joined #racket
s-liao has joined #racket
countvaj` has quit [Ping timeout: 240 seconds]
s-liao has quit [Quit: Client closed]
countvaj` has joined #racket
badkins has joined #racket
badkins has quit [Ping timeout: 240 seconds]
capfredf has joined #racket
capfredf has quit [Ping timeout: 256 seconds]
skapata has quit [Read error: Connection reset by peer]
monkey_ has quit [Ping timeout: 260 seconds]
szkl has quit [Quit: Connection closed for inactivity]
countvaj` has quit [Ping timeout: 240 seconds]
countvaj` has joined #racket
countvaj` has quit [Ping timeout: 240 seconds]
ifs[m] has quit [Quit: You have been kicked for being idle]
gproto23 has joined #racket
tonyg has quit [Quit: The Lounge - https://thelounge.chat]
tonyg has joined #racket
tonyg has quit [Quit: The Lounge - https://thelounge.chat]
tonyg has joined #racket
tonyg has quit [Client Quit]
tonyg has joined #racket
tonyg has quit [Client Quit]
tonyg has joined #racket
tonyg has quit [Quit: The Lounge - https://thelounge.chat]
tonyg has joined #racket
Everything has joined #racket
mon_aaraj has quit [Ping timeout: 252 seconds]
capfredf has joined #racket
mon_aaraj has joined #racket
capfredf has quit [Ping timeout: 240 seconds]
Avichi has joined #racket
badkins has joined #racket
badkins has quit [Ping timeout: 260 seconds]
countvaj` has joined #racket
countvaj` has quit [Ping timeout: 252 seconds]
_________ has quit [Ping timeout: 256 seconds]
Avichi has quit [Ping timeout: 256 seconds]
_________ has joined #racket
badkins has joined #racket
badkins has quit [Ping timeout: 240 seconds]
badkins has joined #racket
badkins has quit [Ping timeout: 260 seconds]
gproto23 has quit [Remote host closed the connection]
countvaj` has joined #racket
countvaj` has quit [Ping timeout: 240 seconds]
badkins has joined #racket
TCZ has joined #racket
badkins has quit [Ping timeout: 240 seconds]
Everything has quit [Quit: leaving]
s-liao has joined #racket
capfredf has joined #racket
s-liao has quit [Quit: Client closed]
capfredf has quit [Ping timeout: 256 seconds]
TCZ is now known as patus
patus is now known as nic_nie_znacze
nic_nie_znacze is now known as wszystko_znacze
msiism has joined #racket
badkins has joined #racket
wszystko_znacze is now known as TCZ
<msiism> What would could I use to check whether an input string is numeric?
<msiism> Oh, I get it.
badkins has quit [Ping timeout: 260 seconds]
<msiism> (number? (string->number s)) seems a bit weird, though.
<msiism> I mean, I don't actually want to convert at this point.
<msiism> All I need to know there is whether the characters in the string are within ASCII bytes 48 to 57, actually.
<msiism> Using and and or seems to be a way to solve this.
<msiism> Okay, that totally doesn't solve the problem, actually.
s-liao has joined #racket
s-liao has quit [Client Quit]
s-liao has joined #racket
TCZ has quit [Quit: Leaving]
s-liao has quit [Ping timeout: 256 seconds]
countvaj` has joined #racket
countvaj` has quit [Ping timeout: 240 seconds]
notzmv has quit [Ping timeout: 240 seconds]
monkey_ has joined #racket
s-liao has joined #racket
s-liao has quit [Client Quit]
<jA_cOp> msiism: turns out, checking if a string is a valid number is largely the same operation as converting it to a number. That's why there's usually no special "is-a-number" function in language standard libraries. Sometimes there's a good reason to have one; like if the string->number conversion function throws an exception on error, which can be relatively performance heavy in some languages
mon_aaraj has quit [Ping timeout: 256 seconds]
<jA_cOp> apparently string->number returns #f when given non-number input, so that doesn't seem to be an issue for Racket
mon_aaraj has joined #racket
<msiism> I see. Now, I wonder if I could do with running string->number only once.
<msiism> Okay, using a variable to store the conversion result help with that.
badkins has joined #racket
tonyg3 has joined #racket
<jA_cOp> mhm. Just use `define` and then compare with `#f` using `if`, `when`, `unless`, `match` etc.
<msiism> Right, that's what I'm doing now.
tonyg has quit [Ping timeout: 252 seconds]
tonyg3 is now known as tonyg
badkins has quit [Ping timeout: 240 seconds]
tonyg has quit [Quit: Ping timeout (120 seconds)]
tonyg has joined #racket
countvaj` has joined #racket
countvaj` has quit [Ping timeout: 260 seconds]
mon_aaraj has quit [Ping timeout: 272 seconds]
mon_aaraj has joined #racket
countvaj` has joined #racket
badkins has joined #racket
countvaj` has quit [Ping timeout: 260 seconds]
badkins has quit [Ping timeout: 240 seconds]
notzmv has joined #racket
capfredf has joined #racket
capfredf has quit [Ping timeout: 260 seconds]
xgqt has quit [Read error: Connection reset by peer]
xgqt has joined #racket
kengruven has joined #racket
<msiism> So, now I'm trying to read an entire file and then create maybe a list of strings from its lines.
<msiism> Unfortunately, I don't seem to be getting much out of that file:
<msiism> Not using the reader the right way, I guess.
badkins has joined #racket
badkins has quit [Ping timeout: 260 seconds]
badkins has joined #racket
skapata has joined #racket
skapata has quit [Changing host]
skapata has joined #racket
wwalker-znc has quit [Quit: ZNC 1.8.2 - https://znc.in]
wwalker has quit [Remote host closed the connection]
monkey_ has quit [Ping timeout: 260 seconds]
countvaj` has joined #racket
capfredf has joined #racket
countvaj` has quit [Ping timeout: 240 seconds]
capfredf has quit [Ping timeout: 272 seconds]
badkins has quit [Remote host closed the connection]
countvaj` has joined #racket
badkins has joined #racket
tarod16 has joined #racket
<tarod16> Hi :D
<tarod16> I'm new at this
<tarod16> Well, I'm a noob in lisp like languages or dialects
badkins has quit [Remote host closed the connection]
badkins has joined #racket
<tarod16> I'm excited with Racket, seems like a simple and powerful language for almost whatever
badkins has quit [Remote host closed the connection]
tarod16 has quit [Remote host closed the connection]
tarod16 has joined #racket
tarod16 has quit [Client Quit]
tarod16 has joined #racket
tarod16 has quit [Client Quit]
tarod16 has joined #racket
tarod16 has quit [Client Quit]
tarod16 has joined #racket
monkey_ has joined #racket
tarod16 has quit [Read error: Connection reset by peer]
jao has joined #racket
tarod16 has joined #racket
<dzoe> msiism: look at port->lines
<dzoe> msiism: read is for sexprs, not lines
<msiism> dzoe: Will do. Thanks.
<msiism> tarod16: What else have you programmed in so far?
simendsjo has joined #racket
<tarod16> msiism: C, C++, C#, Python, JavaScript and a little of Rust
<tarod16> I touch other few languages, but not so deep
<msiism> I see.
<msiism> I don't know any of those. I don't really know any half-way sane programming language, actually. :)
<tarod16> Hahaha
<tarod16> I hope to not become crazy with lisp haha
<msiism> I'm actually learning Racket to change what I just said above.
ur5us has joined #racket
<tarod16> Oh, cool, I'm learning Racket because always I think that Lisp (dialects) is interesting to get a new point of view of programming (or fp in general)
<tarod16> I want to use it in a toy project that I have in mind (a web server that responses with a image of a parchis game board with a particular state)
simendsjo has quit [Ping timeout: 256 seconds]
<tarod16> Yep, a random project hahaha
<msiism> I mainly need to do string mangling and database stuff, and maybe a few nice GUIs.
<tarod16> Cool
ur5us has quit [Ping timeout: 240 seconds]
countvaj` has quit [Ping timeout: 260 seconds]
capfredf has joined #racket
monkey_ has quit [Remote host closed the connection]
ur5us has joined #racket
capfredf has quit [Read error: Connection reset by peer]
capfredf has joined #racket
capfredf has quit [Ping timeout: 256 seconds]
AkechiShiro has joined #racket
rgherdt_ has joined #racket
rgherdt has quit [Ping timeout: 256 seconds]
msiism has quit [Quit: Konversation vaporized.]
rgherdt_ has quit [Remote host closed the connection]
ur5us has quit [Ping timeout: 240 seconds]
capfredf has joined #racket
capfredf has quit [Ping timeout: 240 seconds]
lowak has joined #racket
<jA_cOp> tarod16: Apart from the first-class support for functional programming, Racket might do pretty well with that project, with the out-of-the-box support for CSP when doing concurrent programming! It's something that you usually only get with other languages when using third-party languages and specially tagged functions (like Rust/Python "async")