Jump to content

The <off topic> thread


Recommended Posts

Well, at least they're back on again now...

--

In other news: I am writing my own code. No, I'm typing javascript myself, but I am developing my own language including a parser, which is in PHP.

Don't believe me?

http://86.91.64.66/wbs/

It has a readme file, and a link to download the ZIP with version 0.2b. I really need people to test it for bugs, to develop it further. I don't expect it to go anywhere, but it's always kinda neat to do this kinda stuff.

I also need tips on the intuitiveness. Is this easy to figure out? Better yet: Would you use it?

Link to comment
Share on other sites

Well it seems someone pluged the server back in. I guess forumer has people working on vents too in there building and unpluging servers and network gear to power there power tool.

In other news, I have upgraded to 64-bit and been playing with things. I made a canvas 20,000 x 15,000 the other day and then used clouds and fiilled it 3 times with out any problems.

Try doing that on 32-bit :roll:.

Link to comment
Share on other sites

Stephan, I remember in compilers class during my bachelors program, I wrote a Pascal compiler... in Pascal. :D

The input was pascal, the output was ASM code that you had to then use TASM to assemble to an EXE.

The syntax was limited (but had a fairly decent math component). And, it worked.

I learned a great deal about tokenizers, recursive decent parsers, and language syntax definitions.

Click to play:
j.pngs.pngd.pnga.pngp.png
Download: BoltBait's Plugin Pack | CodeLab | and how about a Computer Dominos Game

Link to comment
Share on other sites

Why is the internet enslaved by LOL Cats?
Because they're funny and cute, 2 things that people just don't get enough of at school/work.
it is just dumb.
Of course it's dumb. That's the point.
It is easy to understand and that is a big problem.
Being easy to understand is a problem?
LOLCODE is an actual, compilable language. Pyrochild has experimented with it, as I recall...

Yup. Pretty useless. When I played with it, there wasn't even a way in any of the implementations to create a blank window. It was strictly console-based, and very limited even in its abilities there.

But the purpose of LOLCODE is not to be a high-performance language (C++), a powerful, robust, portable, business-oriented language (Java), or even an easy-to-understand language (BASIC). The point of LOLCODE is to serve as a quick laugh to people, especially programmers, in much the same way LOLCATS are, and also as coding-exercises. Sure, nobody will ever use this language for any practical purpose, but it's still fun just to see if you can make a compiler for it... Stephen summed up this second point a few posts down:

I am developing my own language including a parser, which is in PHP.

I don't expect it to go anywhere, but it's always kinda neat to do this kinda stuff.

xZYt6wl.png

ambigram signature by Kemaru

[i write plugins and stuff]

If you like a post, upvote it!

Link to comment
Share on other sites

Have you guys noticed an increase of spam lately? :|

No extraordinary amounts for such a popular forum... Nice quote in your signature, by the way.

--

As the people who have studied the parser might have noticed, the code just slowly searches for characters and excludes everything I don't need for the HTML tags... It's kind of brute.

~write {text:"To infinity, and beyond!":tag(strong)} ;

But at least the source .smh is readable. I need a better name...

Link to comment
Share on other sites

*TASERs T_Lh*

No smoking! :P

Stephen:

I'm of course interested in checking out the code, but I'm having difficulty connecting to the server. It is a limited bandwidth/simultaneous connection style server?

Sounds interesting, anyway. ;)

I am not a mechanism, I am part of the resistance;

I am an organism, an animal, a creature, I am a beast.

~ Becoming the Archetype

Link to comment
Share on other sites

Unfortunately, you can't get at the header, but you can still put script blocks in the body areas. So, ya' kinda have to do it sloppy-like, but you can do it. The only bad thing is you have to do the same thing on every page, since you can't add it to the header...

When you're editing your page, there's a little button down in the lower right that says "Edit HTML". Click inside the links section, then click that button. It'll bring up a box in the page with the code for the menu in it. It should look something like: (I took this from my GooglePage)

>CMD around the web:

</pre>
<ul>
CMD Sketchpad
Furon Technolografik

CMD on deviantART

CMD on MySpace

In order to get your drop-downs to work, you have to add a script tag at the top with a function to toggle a block element, you need to add the block element into the

of your choice, and you need to add a mouse event call to the link to open the block.

First thing, the script. Here's a quick one I whipped together. Nothing fancy, just a show/hide script with trigger-anchor blurring. (You know how you get that outline around some links in Firefox when you click on 'em? This'll take care of that).


Next, add the drop-down block into the

that contains the anchor you want to trigger the drop-down. Give it an id of something specific, and set it to style="display:none;" to hide it initially. So:

CMD Sketchpad
Furon Technolografik

becomes:

>
My Sites
</pre>
<ul>
CMD Sketchpad
Furon Technolografik

</ul>

Now add a call to the Javascript function to the top-level anchor and change the href to "javascript:void(0);" to nullify the click. Alternately, if you want to provide greater accessibility, you could build a separate page with the links in the submenu on it, link to that page in the href, then return false from the function to cancel, but this is the easier route for now.

The function I have up there is built to take the id you gave to the drop-down block as the first variable, and the literal "this" as the second variable, which passes the initiating element to the function. This is what allows me to blur the link and remove the outline once it's been clicked.

>
My Sites
</pre>
<ul>
CMD Sketchpad
Furon Technolografik

</ul>

And there you go! That should take care of the drop-down thing. I also added in a CSS bit to give the drop-down a special image to indicate there was more underneath it (the image had to be hosted off-site, but it works I guess). The final code is below (formatted, the text box won't keep the formatting on Google, but it's more readable this way). You can see it in action here.

>



CMD around the web:

</pre>
<ul>

My Sites

CMD Sketchpad
Furon Technolografik



CMD on deviantART

CMD on MySpace

I am not a mechanism, I am part of the resistance;

I am an organism, an animal, a creature, I am a beast.

~ Becoming the Archetype

Link to comment
Share on other sites

Well, at least I had something entertaining to do whilst the forums were down, reformatting my PC. Unfortunately, I had a virus but luckily my computer was stable enough to backup everything and pretty much everything is fine. However, despite saying that, I lost some giveaway software I got from GOTD but oh, well.

In other news, a fully functional BETA (consider it BETA 2) version of Vystal 2008 is coming out on the 31st August. :mrgreen:

Link to comment
Share on other sites

Stephan:

I'm of course interested in checking out the code, but I'm having difficulty connecting to the server. It is a limited bandwidth/simultaneous connection style server?

Sounds interesting, anyway. ;)

That could be true. I'm hosting it on my home computer, which was off :P The server is on from approx 12:30 to 2:30 GMT+1, but I got up earlier today.

http://86.91.64.66/wbs

Link to comment
Share on other sites

webdev.png

TOTALLY true, if you're a web developer.

 

The Doctor: There was a goblin, or a trickster, or a warrior... A nameless, terrible thing, soaked in the blood of a billion galaxies. The most feared being in all the cosmos. And nothing could stop it, or hold it, or reason with it. One day it would just drop out of the sky and tear down your world.
Amy: But how did it end up in there?
The Doctor: You know fairy tales. A good wizard tricked it.
River Song: I hate good wizards in fairy tales; they always turn out to be him.

Link to comment
Share on other sites

I caught this a few pages back, so I'm replying to it now. One page later I gave up trying to catch up with it all.

Does this mean I can call tHS, expired and Myrddin hippos now?
You can, yes, but if you feel this stern, dull sensation at the base of your skull, don't be too concerned of the fact that the Banhammer has just struck you.

Any other name is perfectly fine.

I thought M16 was Britains spy agency, not M15.

MI6 is the name of James Bonds agency, and MI7 was the secret agency of Johnny English. They are parodies on MI5. [Emphasis added]

Really, both are parodies? I'm sure the employees of MI6 would be most disappointed about this.

Very simply, MI5 works mostly for internal affairs, and MI6 for both internal and (mostly) external affairs. Both exist, both are real, both protect to a certain degree our glorious nation's rather large gluteal region.

At one point, MI7 existed also.

-----

Harken to my last words on the subject, as they're pretty much repeated here also: I'm still having a fantastic time at the dig. Six more days left before I have to return to the mundane existence I once lived.

Link to comment
Share on other sites

I caught this a few pages back, so I'm replying to it now. One page later I gave up trying to catch up with it all.
Does this mean I can call tHS, expired and Myrddin hippos now?
You can, yes, but if you feel this stern, dull sensation at the base of your skull, don't be too concerned of the fact that the Banhammer has just struck you.

Any other name is perfectly fine.

Okay...how about "a large, semi-aquatic, mostly plant-eating mammal with short legs"?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...