SGASAU has quit [Remote host closed the connection]
SGASAU has joined #racket
SGASAU has quit [Ping timeout: 258 seconds]
SGASAU has joined #racket
jmiven has quit [Quit: bye]
jmiven has joined #racket
jmiven has quit [Client Quit]
jmiven has joined #racket
nebunez has quit [Read error: Connection reset by peer]
catonano_ has joined #racket
<srandon111>
guys what can i use for pcap packet capturing?
<srandon111>
is there a sort of bindings for libpcap?
<srandon111>
i have to do some network programming and i need to sniff packets
catonano has quit [Ping timeout: 256 seconds]
catonano_ is now known as catonano
SGASAU has quit [Remote host closed the connection]
SGASAU has joined #racket
efm has joined #racket
cpup has quit [Ping timeout: 250 seconds]
cpup has joined #racket
dddddd has quit [Ping timeout: 256 seconds]
rmnull has quit [Quit: WeeChat 2.8]
Lowl3v3l has left #racket [#racket]
rmnull has joined #racket
Fare has quit [Ping timeout: 258 seconds]
YuGiOhJCJ has joined #racket
pilne has quit [Quit: Life without danger is a waste of oxygen]
<friscosam>
srandon111: just checking pkgs it looks like you'll have to roll your own.
<friscosam>
curious though why tcpdump or wireshark wouldn't fit your needs?
<srandon111>
friscosam, because i am building a software which analyzes network traffic and builds a graph of the hosts
<srandon111>
i mean ok i could also lunch tcpdump but still i need the same capabilities of wireshark for packet dissectors... hence libpcap
<srandon111>
friscosam,
efm has quit [Quit: Konversation terminated!]
rmnull has quit [Ping timeout: 265 seconds]
_apg has quit [Ping timeout: 256 seconds]
endformationage has quit [Quit: WeeChat 2.6]
sauvin has joined #racket
narimiran has joined #racket
_whitelogger has joined #racket
orivej has joined #racket
aeth has quit [Read error: Connection reset by peer]
aeth has joined #racket
jellie has joined #racket
jellie has quit [Quit: WeeChat 2.8]
KDr22 has quit [Ping timeout: 264 seconds]
parsley936 has joined #racket
elephanter has joined #racket
KDr22 has joined #racket
SGASAU has quit [Remote host closed the connection]
SGASAU has joined #racket
elephanter has quit [Quit: Leaving]
SGASAU has quit [Remote host closed the connection]
SGASAU has joined #racket
Sgeo has quit [Read error: Connection reset by peer]
Sgeo has joined #racket
Intensity has quit [Ping timeout: 250 seconds]
nullcone has quit [Quit: Connection closed for inactivity]
iyzsong has joined #racket
SGASAU has quit [Remote host closed the connection]
SGASAU has joined #racket
SGASAU has quit [Ping timeout: 264 seconds]
SGASAU has joined #racket
dddddd has joined #racket
SGASAU has quit [Ping timeout: 240 seconds]
SGASAU has joined #racket
jellie has joined #racket
SGASAU has quit [Remote host closed the connection]
SGASAU has joined #racket
SGASAU has quit [Remote host closed the connection]
SGASAU has joined #racket
vraid has joined #racket
SGASAU has quit [Remote host closed the connection]
SGASAU has joined #racket
q3d has joined #racket
SGASAU has quit [Remote host closed the connection]
SGASAU has joined #racket
SGASAU has quit [Remote host closed the connection]
catonano has quit [Quit: catonano]
SGASAU has joined #racket
catonano has joined #racket
YuGiOhJCJ has quit [Quit: YuGiOhJCJ]
q3d has quit [Remote host closed the connection]
keep_learning has quit [Quit: This computer has gone to sleep]
catonano has quit [Quit: catonano]
pilne has joined #racket
jellie has quit [Ping timeout: 265 seconds]
jellie has joined #racket
SGASAU has quit [Remote host closed the connection]
SGASAU has joined #racket
jellie has quit [Ping timeout: 264 seconds]
jellie has joined #racket
catonano has joined #racket
jellie has quit [Ping timeout: 240 seconds]
jellie has joined #racket
jellie has quit [Ping timeout: 260 seconds]
jellie has joined #racket
jellie has quit [Ping timeout: 264 seconds]
jellie has joined #racket
fanta1 has joined #racket
nullman has quit [Ping timeout: 264 seconds]
nullman has joined #racket
jmiven has quit [Quit: bye]
jmiven has joined #racket
jellie has quit [Ping timeout: 258 seconds]
lockywolf has joined #racket
corpix has quit [Ping timeout: 240 seconds]
cantstanya has quit [Ping timeout: 240 seconds]
lockywolf has quit [Max SendQ exceeded]
lockywolf has joined #racket
lockywolf has quit [Max SendQ exceeded]
jellie has joined #racket
lockywolf has joined #racket
lockywolf has quit [Remote host closed the connection]
lockywolf has joined #racket
lockywolf has quit [Max SendQ exceeded]
lockywolf has joined #racket
lockywolf has quit [Remote host closed the connection]
lockywolf has joined #racket
jellie has quit [Ping timeout: 264 seconds]
jellie has joined #racket
lockywolf has quit [Max SendQ exceeded]
corpix has joined #racket
cantstanya has joined #racket
vraid has quit [Quit: Leaving]
SGASAU has quit [Remote host closed the connection]
jellie has quit [Ping timeout: 256 seconds]
fanta1 has quit [Quit: fanta1]
SGASAU has joined #racket
nebunez has joined #racket
<narimiran>
is there some built-in function which does `(- (char->integer d) 48)`, i.e. converts char digit to integer, e.g. `#\5` to `5`
<srandon111>
guys i am at the lecture about the henderson - escher example... (i think it's lecture 5), and i can't understand what the professor mean when he says that by building hiis data as a function (when talking about piictures) he has all the procedures for free and can create simply an embedded language... i didn't understand how implementing pictures as functions allows this... can somebody explain?
true-grue has joined #racket
SGASAU has quit [Read error: Connection reset by peer]
endformationage has joined #racket
SGASAU has joined #racket
juanfra has quit [Disconnected by services]
juanfra__ has joined #racket
efm has joined #racket
mzan has quit [Ping timeout: 256 seconds]
juanfra__ has quit [Quit: juanfra__]
juanfra has joined #racket
<jshap>
what's the reasoning behind underscores being "bad" in variable naming by convention?
<friscosam>
jshap: tradition most likely.
<jshap>
but I thought other lisp flavors allow it?
<friscosam>
Many (including Racket) do.
<friscosam>
Java allows lowercased with underscore class names, but you probably shouldn't do it because it is considered poor style
SGASAU has quit [Ping timeout: 264 seconds]
<friscosam>
In the ffi in Racket underscore is used to prefix type names as a convention.
<jshap>
yeah I know "allow" but racket explicitly calls it "bad"
SGASAU has joined #racket
<samth>
jshap: it's less nice than - which is allowed in Racket but not in most other languages
<samth>
thus that's the convention, and so _ is discouraged
<jshap>
"less nice" isn't really an explanation... why is it considered less nice? lol
SGASAU has quit [Ping timeout: 256 seconds]
mzan has joined #racket
sauvin has quit [Read error: Connection reset by peer]
SGASAU has joined #racket
<jshap>
like, scheme's docs list nothing about underscores being discouraged lol
mzan has quit [Client Quit]
<SGASAU>
Out of curiousity, do you know other languages not from Lisp and Forth family that allow this?
<SGASAU>
I think that this is more cultural thing.
<SGASAU>
In the older days when bytes used to be much shorter, dash/minus sign has to exist while such things like underscores were more of unneeded bells...
nullcone has joined #racket
<bremner>
most languages with infix arithmetic think x-y is three tokens
<SGASAU>
Hence the question. :)
<SGASAU>
It is possible to implement a language where whitespace between name and operator is mandatory. The question is whether anyone has done that outside Lisp and Forth derivatives.
SGASAU has quit [Remote host closed the connection]
SGASAU has joined #racket
mzan has joined #racket
<jshap>
again I dont see how racket allowing it equates to it being encouraged to use it
<SGASAU>
There're a lot of things allowed to do, whether in programming or in real life, being allowed doesn't entail that it is a good idea at all, let alone being encouraged.
<SGASAU>
My question is just a mere curiousity.
<SGASAU>
It is possible to implement a language where whitespace between name and operator is mandatory.
<SGASAU>
The question is whether anyone has done that outside Lisp and Forth derivatives.
<bremner>
well, I guess if you count languages used only by their creators, the answer is almost certainly yes
<SGASAU>
I thought that there will be such an answer. :D
<srandon111>
SGASAU, what's that thing about nazi you were talking about in the other channel ?
<SGASAU>
A language with more programmers than couple rooms in single company or insitution would be good example.
<SGASAU>
This is not appropriate place.
parsley936 has quit [Remote host closed the connection]
parsley936 has joined #racket
<jshap>
ok, so im using sqlite with a column defined as a REAL type, which I'm storing an exact value of 1/10 in. as per the spec it's converted to 0.1 and stored in the db, and when I get it back I get the inexact 0.1
<jshap>
is there a way to do the equiv of [read-decimal-as-inexact #f] for this?
<jshap>
er, whats the best way to coerce this value back into 1/10 exactly :(
<samth>
jshap: (inexact->exact 1/10)
<jshap>
gives you nasty fraction
selimcan-i_sani has joined #racket
selimcan-i_sani is now known as selimcan
<samth>
jshap: it's less nice because english (and other languages) use hyphens between words but not underscores
<samth>
in some sense, _ are used in other languages because - is not available
<samth>
jshap: if the db really has 0.1 as a float, then you're out of luck
true-grue has quit [Ping timeout: 256 seconds]
<jshap>
i can force it by parameterizing a (string->number (number->string x)) lol
<jshap>
doesn't _actually_ work though
<jshap>
the thing is the exact number is potentially made from a read-decimal-as-inexact so, idk i need to experiment
dustyweb has quit [Ping timeout: 256 seconds]
mzan has quit [Ping timeout: 240 seconds]
KDr22 has quit [Ping timeout: 240 seconds]
SGASAU has quit [Ping timeout: 260 seconds]
KDr22 has joined #racket
mzan has joined #racket
SGASAU has joined #racket
SGASAU has quit [Remote host closed the connection]
SGASAU has joined #racket
SGASAU has quit [Remote host closed the connection]
SGASAU has joined #racket
SGASAU has quit [Remote host closed the connection]
narimiran has quit [Ping timeout: 240 seconds]
SGASAU has joined #racket
keep_learning has joined #racket
rmnull has joined #racket
rmnull has quit [Client Quit]
keep_learning has quit [Quit: This computer has gone to sleep]
rmnull has joined #racket
<dzoe>
OK, so the fastest way of accessing memory on 64bit platform is to use unsafe-u16vector-set!
<dzoe>
Funny part is that it sort of makes sense.
<dzoe>
Turns out, that ptr-ref/set! is really slow because of argument processing and no JIT inlining, but bytes-ref/set! and u16vector-ref/set! (unsafe variants) just dereference a pointer.
<dzoe>
Bad thing is that unsafe-u32vector-ref/set! is not inlined and technically behaves like unsafe-yet-slow ptr-ref/set!
<dzoe>
I really hope I finish this project soon - given the performance-related discussions on racket-users ML :)
davidl has quit [Ping timeout: 256 seconds]
<dzoe>
Btw, does anyone here remember Denthor's (of Asphyxia) VGA Trainers?
<dzoe>
1994-1996 to put it in perspective.
rmnull has quit [Quit: WeeChat 2.8]
efm has quit [Ping timeout: 240 seconds]
efm has joined #racket
ohama has quit [Ping timeout: 265 seconds]
eMBee has quit [Ping timeout: 265 seconds]
eMBee has joined #racket
nullcone has quit [Quit: Connection closed for inactivity]
acarrico has quit [Ping timeout: 265 seconds]
ohama has joined #racket
acarrico has joined #racket
SGASAU has quit [Remote host closed the connection]
SGASAU has joined #racket
SGASAU has quit [Remote host closed the connection]
SGASAU has joined #racket
efm has quit [Ping timeout: 250 seconds]
TCZ has joined #racket
TCZ has quit [Quit: Leaving]
rmnull has joined #racket
SGASAU has quit [Remote host closed the connection]