Closed Thread Icon

Preserved Topic: Working on something new, Znippets? (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=18273" title="Pages that link to Preserved Topic: Working on something new, Znippets? (Page 1 of 1)" rel="nofollow" >Preserved Topic: Working on something new, Znippets? <span class="small">(Page 1 of 1)</span>\

 
DocOzone
Maniac (V) Lord Mad Scientist
Sovereign of all the lands Ozone and just beyond that little green line over there...

From: Stockholm, Sweden
Insane since: Mar 1994

posted posted 08-21-2001 15:53

http://ozonicLabs.com/Znippets/

It all started with a conversation I had with Malin, half-joking around, telling her about back when I started programming in high school. I said something like "When I was a kid we had to write all our programs out on *paper*, and we had to run 'em in our heads, see? We didn't even *have* computers, argh... kids." Well, it was true! I remember having to sign up for an hour in the "computer lab", two beat-up old typewriter-style terminals, with big spools of paper. 120 baud modem built into the side of the terminal, with an acoustic coupler. 1" paper puch tape for making copies of your work. You had to have everything written out and ready to go, you didn't have time to patiently de-bug a script, it had to be *ready*.

So! Where was I going with this? I remembered my old books with lines of code written by hand, and charts opposite where I charted my variables step by step. It was actually a good way to program, you kept everything clear in your head. Since it was a pain to write it all out, you tended to write once and then re-use that function, with little or no duplication of code. So I bought myself a ruled notebook and started writing out what all of my base scripts should have in them. The first one ready is the "Zparam", with all of the basic screen and browser values read and ready. Page scroll and height/width are updated every [x] milliseconds.It's 6k+, and once I whittle it down it'll be only maybe 4k, and I'm going to use it *everywhere*, in all of my scripts! (that need it, heh)

The next bit is Zobjects, which will be fun (and useful for my next project!) Here I want to make a single, simple series of scripts to quickly get to and modify draggable objects. Sure, it's been done, but not by me! I'm going to see how small and light I can make them, and then give them away at the new site (I just registered, hah!) http://www.Znippets.com/ !!!

It's nice to be working again.

Your pal, -doc-

InI
Paranoid (IV) Mad Scientist

From: Somewhere over the rainbow
Insane since: Mar 2001

posted posted 08-21-2001 16:51

The poster has demanded we remove all his contributions, less he takes legal action.
We have done so.
Now Tyberius Prime expects him to start complaining that we removed his 'free speech' since this message will replace all of his posts, past and future.
Don't follow his example - seek real life help first.

mr.maX
Maniac (V) Mad Scientist

From: Belgrade, Serbia
Insane since: Sep 2000

posted posted 08-21-2001 18:20

Doc, regarding library file size, you'll like this:



bitdamaged
Maniac (V) Mad Scientist

From: 100101010011 <-- right about here
Insane since: Mar 2000

posted posted 08-21-2001 18:47

I've wanted to write my own API from scratch for a while. It's a great timesaver. yea there are tons out there but They always seem much more than I need.

This reminds me of an interview with Steve Wozniak I saw on PBS over the weekend. In it he was recalling the early says of Apple where he would write some code and had the time to go back and rewrite it and rewrite it and .... Until he had the most optimal code possible. With one of the original disk drives he thought he had done something wrong because his code what about 30 lines where others were 300 but it was just craftmanship.



:[ Computers let you make more mistakes faster than any other invention in human history, with the possible exceptions of handguns and tequila. ]:

Pugzly
Paranoid (IV) Inmate

From: 127.0.0.1
Insane since: Apr 2000

posted posted 08-21-2001 19:25

I know what you mean, bitdamaged. I've gone back and looked at some of my code and really cleaned it up. It's made for much better programming. I also tend to re-use code a lot from site to site. Little "scriptlets", so to speak.

There was talk at Gurus Network of starting a little snippets area for stuff that doesn't need a tutorial or quick tip.......

Doc - that's cool and all, but that repeating background....ugh. No offense.

Dark
Neurotic (0) Inmate
Newly admitted
posted posted 08-22-2001 06:28

Hey Doc what is going on with ozoniclabs.com?, couple of months ago I checked it out. Checked it again just now, nothing works but the template system.

_________________
Fall into the Dark



bitdamaged
Maniac (V) Mad Scientist

From: 100101010011 <-- right about here
Insane since: Mar 2000

posted posted 08-22-2001 06:33

BTW I was just wondering this yesterday. what exactly does "prototype" mean?

makeAnything.prototype.setNumID = function(which) {this.id = which;}



:[ Computers let you make more mistakes faster than any other invention in human history, with the possible exceptions of handguns and tequila. ]:

DocOzone
Maniac (V) Lord Mad Scientist
Sovereign of all the lands Ozone and just beyond that little green line over there...

From: Stockholm, Sweden
Insane since: Mar 1994

posted posted 08-22-2001 22:23

I picked that one up from Java, and it seemed to work the same here in Javascript. Whenevr I create an object with values in the makeAnything() function, I can then access the prototyper functions to get stuff out of 'em. Bad explanation, but if I say...

foobar = new makeAnything('foo',999);

I can then get the value by appending the last bit after prototype, like...

tempVar = foobar.getZvalue();

Max or Slime can explain this better, I don't really understand everything I do, I just do it. (Hah!) Serious, I'd like to hear this question answered myself, so I don't sound so stupid next time I gotta explain it.

Your pal, -doc-

DocOzone
Maniac (V) Lord Mad Scientist
Sovereign of all the lands Ozone and just beyond that little green line over there...

From: Stockholm, Sweden
Insane since: Mar 1994

posted posted 08-22-2001 22:25

Oh! Oh oh oh!!! I forgot why I'm here! Which do you like better...
http://www.Znippets.com/
http://www.Zniplets.com/

I got both of them, mirroring the same information right now. Who said all the good domain names are gone? The "Z..." acronyms are wide open! (Especially the "Zn..." acronyms! =)

Your pal, -doc-

mr.maX
Maniac (V) Mad Scientist

From: Belgrade, Serbia
Insane since: Sep 2000

posted posted 08-22-2001 23:34

Bitdamaged, I've taken this explanation of "prototype" from Netscape's Core JavaScript guide: http://www.max.co.yu/ozone/prototype.html

Doc, I vote for Znippets...



[This message has been edited by mr.maX (edited 08-22-2001).]

DocOzone
Maniac (V) Lord Mad Scientist
Sovereign of all the lands Ozone and just beyond that little green line over there...

From: Stockholm, Sweden
Insane since: Mar 1994

posted posted 08-23-2001 01:44

I'm torn on the whole naming thing. The first time I tried to tell someone about 'znippets', I mistyped it with an 'L' in there! I was like "Shit! Zniplets!" Last thing you want is an easily mis-spelled name. Still, I'll have both domains mirroring each other.

The prototype thing is more than a bit awesome in potential. I think I may re-write my stuff again to take advantage of that example from the netscape site, why not create spaces for all of my basic information in the Array.prototype right off the bat? Would that impact my performance if I defined a whole bunch of unneccessary spaces on each array?

Your pal, -doc-

Dracusis
Maniac (V) Inmate

From: Brisbane, Australia
Insane since: Apr 2001

posted posted 08-23-2001 03:04

Wow, that's neat Doc.

I like Znippets better too. Although having the Domain name www.Znippets.com and the page title Zniplets is a tad confusing.

BTW. What's OzonicLabs? I've seen various things on this domain from time to time but I still don't know what you (or other people) actualy do there, or what it's for? Or is this some kind of Mad Scientist thing that I shouldnt be talking about.

Bugimus
Maniac (V) Mad Scientist

From: New California
Insane since: Mar 2000

posted posted 08-23-2001 08:04

Of course the idea of these Znippets is a good one.

I like the Znippets name better than Zniplets.

I think the background on the page is sweet.

I also understand what you mean when you said there are APIs out there but not written by yourself. Some of us just have that personality type that thrives on digging our teeth into a project and doing it "our way". I can spend months re-inventing the wheel and *loving* every minute of it!

DocOzone
Maniac (V) Lord Mad Scientist
Sovereign of all the lands Ozone and just beyond that little green line over there...

From: Stockholm, Sweden
Insane since: Mar 1994

posted posted 08-23-2001 13:57

Heh, it looks like Znippets.com is the unanimous choice. I was thinking zniplets may because of dealing with something called "scriptlets" lately, maybe with a dash of "applets". =) ANYways, I'll probably keep the other domain and just point it here, who knows what the future could bring? The logo is still barely even started yet, and will change. (This site is not "officially" public yet, not even close!)

Drac, the ozonicLabs is planned to be my main portal into the "OZONE Network", heh. I've got maybe a dozen active domain names, and all should turn into projects worthy of being showcased somewhere. I thought it would be neat to start offering entry from there into the OZONE, but also as a lead-off point for everything else. In my dreams, I'll one day open physical labs, with servers and teminals and a coffee shop and lessons and parties and a good home for people starting out in the biz, or looking to break into it. (The biz, not the lab! =) For now, it just exists as this little thing I built, and I've allowed a few folks access rights to certain parts of it to store their stuff.

Your pal, -doc-

bitdamaged
Maniac (V) Mad Scientist

From: 100101010011 <-- right about here
Insane since: Mar 2000

posted posted 08-23-2001 19:17

Ahh I get it. Thanks Max.



:[ Computers let you make more mistakes faster than any other invention in human history, with the possible exceptions of handguns and tequila. ]:

WarMage
Maniac (V) Mad Scientist

From: Rochester, New York, USA
Insane since: May 2000

posted posted 08-24-2001 00:36

Will we have to move to swedden to enjoy the coffee shop? Franchising is an option? else... I guess Swedden here I come.

DocOzone
Maniac (V) Lord Mad Scientist
Sovereign of all the lands Ozone and just beyond that little green line over there...

From: Stockholm, Sweden
Insane since: Mar 1994

posted posted 08-24-2001 01:35

Actually, I have this perfect old warehouse/castle/school building all picked out, on Lake St., near the old Best Buy outlet. If not that, another small castle/thing in the middle of a parking lot near the convention center, why haven't they torn that place down yet? Must be expensive. Both these places are in Minneapolis BTW, I have this feeling that after many years I will return there, who can tell? I expect there will probably be some kind of living arrangements for visiting gurus and such, where else would they stay? So, the "where" of the place shouldn't really matter. (But... it should be a moderately cool place anyway, heh. =)

Your pal, -doc-

WarMage
Maniac (V) Mad Scientist

From: Rochester, New York, USA
Insane since: May 2000

posted posted 08-24-2001 14:07

Sounds good!

Hope you can make it happen!

« BackwardsOnwards »

Show Forum Drop Down Menu