This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
scavenger@versus:~/Public/wolfgang/components/schedules$ python test.py | |
Schedule 3074110572: | |
0 Ma 10:00 - 10:20 | |
2 Wo 17:00 - 17:20 | |
2 Wo 17:20 - 17:40 | |
2 Wo 17:40 - 18:00 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[SocketError]: Invalid argument | |
[backtrace] | |
/tmp/ooch/ooch[0x804a349] | |
/tmp/ooch/ooch[0x804a6ad] | |
/tmp/ooch/ooch[0x804a625] | |
/tmp/ooch/ooch[0x804a70d] | |
/tmp/ooch/ooch[0x8059e9d] | |
/tmp/ooch/ooch[0x805a046] | |
/tmp/ooch/ooch[0x804a187] | |
/tmp/ooch/ooch[0x804a1cf] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import net/ServerSocket | |
socket := ServerSocket new("0.0.0.0", 8000, true) | |
while(true) { | |
conn := socket accept() | |
conn out write("<html><body>Hello, from the ooc socket world!</body></html>") | |
conn close() | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
f := 44.0 | |
f += 0.0000000044 | |
f -= 0.0000000044 | |
"This should print 44:" println() | |
"%.40f" format(f) println() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
With 2 | |
bar[1]: 53 | |
bar[2]: 24 | |
With 2 | |
bar[1]: 43 | |
bar[2]: 78 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Animal: | |
- name: String | |
- age: Int | |
- isPet: Bool | |
- owner: Ref(Human) | |
Human: | |
- name: String | |
- age: Int | |
- parent: Ref(Human) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import structs/[ArrayList,HashBag] | |
Route: cover { | |
path: String | |
vars: HashBag<String, Cell> | |
} | |
Handler: class { | |
actions: ArrayList<String> | |
routes: ArrayList<Route> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import structs/[ArrayList,HashBag] | |
Route: class { | |
path: String | |
vars := HashBag<String, Cell> new() | |
} | |
Handler: class { | |
actions: ArrayList<String> | |
routes: ArrayList<Route> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Segfault caught. | |
[backtrace] | |
./bt() [0x8049eba] | |
[0xb7785400] | |
./bt() [0x804a098] | |
./bt() [0x804a0be] | |
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe6) [0xb75f0bd6] | |
./bt() [0x8049cb1] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Connecting to inproc://pipe | |
Socket made (client) | |
Got | |
Got Hello! | |
Got Hello! | |
Got Hello! | |
Got Hello! | |
Got Hello! | |
Got Hello! | |
Got Hello! |