Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Code as Data

Name: Anonymous 2012-08-30 7:02

0E 1F

Name: Anonymous 2012-08-30 7:30

Data Execution Prevention, I choose you!

Name: Cudder !MhMRSATORI!fR8duoqGZdD/iE5 2012-08-30 8:32

You know you've been working with this stuff for a good while when you can disassemble those bytes in 7 different architectures at one glance.

push cs | pop ds
ld c, 1fh
asl $??1f
inc r6 | dec r7
lbi $1f
cli | brclr ???
ldn re | inc rf

Name: Anonymous 2012-08-30 14:46

>>3
Yeah I've just started dealing with a fair bit of x86 machine code and it's interesting stuff. Fucking dense though, wow.

Do you prefer to work with ARM over x86? I'm thinking of going into that next, unless you know of some other interesting architecture that's worth checking out (MIPS, 68K?)

Name: Cudder !MhMRSATORI!fR8duoqGZdD/iE5 2012-08-31 4:19

>>4
No. ARM is not interesting, it's as bland as the other RISCs. 68K is sort of half-half, has some RISC-ness to it (like backwards endianness) but also CISC-like.

The interesting stuff is in embedded applications and mainframes.

Name: Anonymous 2012-08-31 5:18

Codd as Dijkstra

Name: Anonymous 2012-08-31 10:52

蔷㕀⠶膔آ悖刖䝀蜴犑扒䘩㕥覕ɦ栃҉灇蕑ٙ刲ጥ镗脠㤦冖艤rᙅ禁㤰䖃ᡒ䙓鎖閘栦⥳㥒朇ᔱ营ᡶ膔Ŕ厘咀ᕶ㘄䘡摦䉸䈧梉葩袑㉔ܨጤ䄲ⅆ᥁䆁䞂܂㎖⥢嘩☄䌘撉鈄㈀鈔昧ᕢ獲䔓ኙ∴؁蝅፵焤怕挀ᝒ⁆愙阅蔲䐄㌐掇怹ゐ㍁蔣镶蝑搱礥悈搰∷脇灗〠䤡耇攔陕⍗楄匩䔠䈘㤂ሂ萧䔩璗鐂唤甸ኄㄒ琣嘂႖蚉䥢敐ㄦ䙅䜧袔救頤ڈ㡢鑆頄㠔㠀Đᖕ䀰⅂霠遖猐慤螂瑧嘒搲饴㑀薑ᐢष‵✡舢刦ѷ衤⎑㡗瘨㊈扔㉑㙠癦蜑ᅦ頷酧ሓ⊗肆熐卷晵咗䁁杄䍧䠐钓ၔ㆔塰朆瘁ⅶ䑦䜄⅗ᄅلᐅ琙䂃⤠煲褙覉霃桡啱む牓袁ᦅ皕煔܂㞅⡰ढ瘆儈စع㞆顣琁祣瞇蜀̧唰舑䥥℗❗≢㑄鞂恉奥ᔦᤑᖄ酡捧呸杦堡搕⎇∵钇鞉ڈ瑢╆衸葢螖㍧㚔卥ࡉ䁅⍳䅩☰Ƅ褉蘨鄩瘧‱䊅恆蜄ᑨ膖IJጤᐖ⥁蜉吖須畧䎗荤䠄厓劑昖嘅坥摆电

Name: Anonymous 2012-08-31 14:43

eval(json.parse('{fn_name: "function () {console.log('niggar')"}'))[fn_name]

CAN YOUR LANGUAGE DO THAT? NO

Name: Anonymous 2012-08-31 15:04

>>8
(eval (cdr (assoc 'fn (read-from-string "((fn . (lambda () (write-string \"niggar
\"))))"))))

Name: Anonymous 2012-08-31 18:48

>>8
that's extremely elegant

Name: Anonymous 2012-08-31 21:31

>>8
javascript eval
Enjoy your toolbar.

Name: Anonymous 2012-08-31 21:41

>>4
Fuck you CISCfags

Name: Anonymous 2012-08-31 21:42

>>8
JSON doesn't support functions ಠ_ಠ

Name: Anonymous 2012-08-31 23:18

>>12
die cisc scum

Name: Anonymous 2012-09-01 4:22

>>13

it supports strings and has no way to tell if a string contains a function

the proper way to do it is like this

a= {}
a.anus=function(c){console.log(c)}.toString()
a=JSON.stringify(a)

//send string down wire

b=JSON.parse(a)
anus = new Function(b.anus)
anus(5)


this is the power of server side javascript. you don't have to implement some inflexible RPC or some stateless API. Compose functions and send them to the client as needed.

This blurring of code and runtime was what made lisp so great. This forgotten freedom rains down into our hearts, giving life to withered dreams. The deep longing in your hearts for a new world shall be fuffilled. JavaScript unites us all. Through the lambda, we are complete.

Name: Anonymous 2012-09-01 16:23

eval will be removed by future versions of the JavaScript language.

Name: Anonymous 2012-09-01 20:42

>>8
>>> import json
>>> from __future__ import print_function
>>> eval(json.loads("""{"fn_name": "lambda: print('niggar')"}""")['fn_name'])()
niggar

Name: Anonymous 2012-09-02 2:00

>>8

loadstring[[return {fn_name=function() print "json is for ``faggots''" end}]]().fn_name()

Don't change these.
Name: Email:
Entire Thread Thread List