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

projects and friends thread

Name: Anonymous 2014-05-19 20:17

Post what you're working on and chat and help out others.

I'm making my frst real compiler, one that actually outputs assembly rather than targetting another high level language. It's just going to be a simple scheme compiler. I started on it today, wrote a parser/read and tested it on its own source code.

What are you all making?

Name: Anonymous 2014-05-19 20:34

I'm designing a sublanguage for Symta, which would allow using markov model as a mean of defining a function. Should be useful in generating random maps for Warcraft 2, because you can train with already existing maps and it will produce high-quality maps, especially if you use some fractal-like models, where top-level markov analyzes high level features (like number of islands), while bottom layers various details, like the shape of these islands.

I know it will work, because I've some experience with map generation (https://github.com/saniv/wc2gen), and the rule-based expansion I used in my previous project could be parametrized with markov models.

Name: Anonymous 2014-05-19 20:38

>>2
Stupid right-wing russian.

Name: Anonymous 2014-05-19 20:41

>>3

What is wrong with Nazism?

Name: Anonymous 2014-05-19 20:44

>>2
OP here. Symta is really cool, was super impressed with your compiler thing and the graphics looks great.

Name: Anonymous 2014-05-19 21:31

I'm playing around with a program to implement the recent proposal of Lispweb. I ended up writing a simple specification in the back of an envelope. I haven't made much progress and I don't think this will ever be the real Lispweb.

Name: Anonymous 2014-05-19 21:42

I am trying to apply Hofstadter's analogy making cognitive model to simple tasks, to get practice at describing tasks generally in terms of the "Fluid Concept Architecture". (See http://people.cs.kuleuven.be/~joaquin.vanschoren/zsp/fluidconcepts/figure6.png )

>>2-sama
Is the map generation an iterative process? ie, does it make several passes, or just one pass, applying constraints each time? Any screenshots?

>>1-sama
That sounds technically impressive and involved. Is your project an exercise, or do you intend to use your scheme compiler generally? Are you going to implement all the syntax-rules stuff, or just define-macro?

Name: Anonymous 2014-05-19 21:44

>>7
Shut up jap, my name isn't Sam.

Name: Anonymous 2014-05-19 21:46

>>6
It might grow into it with somw collab, id love to get involved too - not sure whcih part i should focus on het though. Good stuff!

Name: Anonymous 2014-05-19 22:10

>>8

Epic meme in the works

Name: Anonymous 2014-05-19 23:56

>>7
Why is it that Hofstadter always ticks off my pop-sci-bullshit-o-meter?

Anyway, cool stuff.

Name: Anonymous 2014-05-20 0:45

>>7

I am trying to apply Hofstadter's analogy making cognitive model to simple tasks, to get practice at describing tasks generally in terms of the "Fluid Concept Architecture". (See http://people.cs.kuleuven.be/~joaquin.vanschoren/zsp/fluidconcepts/figure6.png )
would it have any practical applications?

Name: Anonymous 2014-05-20 1:26

>>8-kun, you are so moe!

>>11-hime, there is a demonstration of the fluid concepts architecture available here:

https://archive.org/details/JavaCopycat

>>12-hime, I find the output of the above program very compelling, so that is my main motivation for exploring the possibilities of this architecture, and getting practice representing things this way. Interestingly, people who have worked on projects related to this have gone a bit nuts:

http://www.foundalis.com/res/diss_research.html
http://www.foundalis.com/soc/why_no_more_Bongard.html

The original link for the program I posted was here:

http://www.itee.uq.edu.au/~scottb/_Copycat/
Linked from:
http://en.wikipedia.org/wiki/Copycat_%28software%29
http://web.cecs.pdx.edu/~mm/how-to-get-copycat.html

Internet archive version:
https://web.archive.org/web/20120722092500/http://itee.uq.edu.au/~scottb/_Copycat/

He has since baleeted everything and has disappeared from anything even vaguely computer or AI related. His Fluid Analogies Engine thesis is missing also. Wacky.

Name: Anonymous 2014-05-20 1:32

>>13
What the fuck? This guy made a Bong-tard problem solver, and now he thinks his AI is too dangerous? Are you sure he's not Mentishit?

Name: Anonymous 2014-05-20 1:36

>>13
Yes, Islamist suicide-bombers existed before I started writing this article.
Shalom, hymie!

Name: Anonymous 2014-05-20 15:44

Writing a script that accesses my FF bookmarks and mirrors specified bookmarked links.

Of course it is in Scheme, honey. I LIED

Name: Anonymous 2014-05-20 15:52

I talked to hofstader-san on the IRC, explained a bit about my compiler and then he was very nice and I wished him well with the project!

>>16
pretty neat, I love the feeling after creating something useful for myself like that. Need to do it more often

Name: Anonymous 2014-05-20 16:52

I'm making a C program to synchronize lists of files and create batch files to synchronize the actual files.

It compiles, but it's failing in the funniest ways.

Name: Anonymous 2014-05-20 18:29

>>16
Go back to fucking reddit with your fucking reddit maymays.

Name: Anonymous 2014-05-20 19:15

>>19
Get back to le gee

Name: Anonymous 2014-05-20 19:49

>>14

I'm sure his program is just a vaporware. At least menti was honest enough to publish the source, so we all could see it doesn't work.

Name: Anonymous 2014-05-20 19:51

Name: Anonymous 2014-05-20 20:00

>>22
Either it's invalid or a fix point, MD5 is no longer secure after all.

Name: Anonymous 2014-05-20 21:13

>>22,23
When you upload to archive.org, it automatically creates those md5 files. They aren't part of what was uploaded. The relevant files are only copycatFiles.zip and Tutorial.zip.

Name: Anonymous 2014-05-20 21:37

>>17
It was good to talk to you too, scheme compiler-san!

Name: Anonymous 2014-05-21 0:58

I'm always working on like 10 different things at the same time, because I have a hard time using things made by anyone else. Since I use C, most of the time I can write everything I need from scratch, and that's what ends up happening.

I was writing an command line application for Omegle, and I wrote my own http library for it (surprisingly simple, the hardest part was handling chunk encoding), but Omegle implements the chat with JSON, so I had to write a JSON parser, and then I realized I needed something curses-like, but I hate curses and it wasn't sufficient for what I wanted, so I wrote my own curses library using XTerm Control Sequences, and then because of that I also need to write my own input library using termios and ioctl for the framebuffer...

A project that could have taken a few days is taking ages because short of writing the OS and compiler itself I'm writing everything from zero.

Name: Anonymous 2014-05-21 0:59

>>26
I wrote my own curses library using XTerm Control Sequences, and then because of that I also need to write my own input library using termios and ioctl for the framebuffer...
I really, really want to see this.

Name: Anonymous 2014-05-21 1:09

>>27
I'm not really done with it yet, but here's some alternatives I found when I first started trying to figure out how it worked:

https://code.google.com/p/termbox/ -- Ncurses alternative that isn't a bloated pile of shit

http://www.leonerd.org.uk/code/libtermkey/ -- Good library for terminal input, detects a lot more and works more reliably for me on uxterm than ncurses ever did

http://asm.sourceforge.net/articles/rawkb.html -- An article on how to use raw input mode for the Linux framebuffer, it's in ASM but it can be converted into C since it just uses syscalls. The hardest part about this is that not every keyboard has the consistent scancodes, and this also ignores higher level keyboard configuration, such as regional keyboard layout settings (you're basically reading straight from the keyboard driver).

Name: Anonymous 2014-05-21 2:13

>>28
>using loonix

Name: Anonymous 2014-05-21 2:58

>>29
That's not appropriate. Please demonstrate that you are an intelligent being next time.

Name: Anonymous 2014-05-21 9:09

>>29
using loonix >using winders

Name: Anonymous 2014-05-22 13:56

I have been reading about register coloring and wrote a program (in go) that generates random graphs for testing algorithms out. I will probably try out the Welsh–Powell algorithm or Brelaz. It looks like this might be useful too http://en.wikipedia.org/wiki/Sethi–Ullman_algorithm I'm just not sure how function calls inside arithmetic expressions come into play yet.

Name: Anonymous 2014-05-22 14:10

>>30

<intelligent beins in /frog/

Name: parasitic worm 2014-05-22 19:51

>>33
I'm intelligent and I'm currently in a frog.

Name: Anonymous 2014-05-24 9:35

>>1-sam here,
I've been stuck for a few days on register allocation by graph coloring. Finally figured out how to compile arbitrary expressions with only one register! Wrote up a prototype in haskal and tested it a bunch - it works perfectly. It's really fun

the idea is this, to compile X+Y into register r (where X and Y might be complex expressions too) you compile X into memory location [X] and then compile Y into register r, add r, [x]. To compile it into a memory location you just do a mov after.

This generates lots of local variables of course, I can minimize the number of locals by graph coloring but I'd like to maximize use of registers too - haven't figured that part out...

Name: Anonymous 2014-05-24 10:15

I'm making my Emacs config work on Windows, mastering logic programming and writing devops scripts for some start-up.

Name: Anonymous 2014-05-24 10:26

>>36
`````devops''''

excuse me sir, I think you are in the wrong place

Name: Anonymous 2014-05-24 23:32

>>37

Nope. This is what it has come to.

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