Shaychu Forums
Click the "Register" button or go here: http://www.shaychu.com/register to become a member! There will be a Chatbox for all registered users at the bottom of the forum home page and the portal. The ads go away when you log in!
I. Now. Have. 1337. Posts Offshaychusmall
Shaychu Forums
Click the "Register" button or go here: http://www.shaychu.com/register to become a member! There will be a Chatbox for all registered users at the bottom of the forum home page and the portal. The ads go away when you log in!
I. Now. Have. 1337. Posts Offshaychusmall

I. Now. Have. 1337. Posts

Page 1 of 2 1, 2  Next

View previous topic View next topic Go down

I. Now. Have. 1337. Posts Empty I. Now. Have. 1337. Posts

Post by Administrator Mon May 17, 2010 9:25 pm

1337 I. Now. Have. 1337. Posts 991234I. Now. Have. 1337. Posts 175917 I. Now. Have. 1337. Posts 360472 I. Now. Have. 1337. Posts 703175 I. Now. Have. 1337. Posts 89973 I. Now. Have. 1337. Posts 455329


Last edited by SKYxShaymin on Tue May 18, 2010 3:16 pm; edited 3 times in total
Administrator
Administrator
God Mode

Post Count : 1592
Age : 29
Shaycoins : 7923
Registration date : 2008-11-30

http://www.shaychu.com

Back to top Go down

I. Now. Have. 1337. Posts Empty Re: I. Now. Have. 1337. Posts

Post by Kureseria Mon May 17, 2010 10:12 pm

Hawt. Screenshots pl0x?
Kureseria
Kureseria

Post Count : 111
Age : 33
Shaycoins : 5894
Registration date : 2008-12-08

http://www.friendcodes.com/forums/members/58530/shii.html

Back to top Go down

I. Now. Have. 1337. Posts Empty Re: I. Now. Have. 1337. Posts

Post by Cirrus Mon May 17, 2010 10:46 pm

Hahaaaaaaaaaaaaa!!!!! Now onto my 1337 r4nt.

IPs

An IP is a very important thing to the Internet. It uniquely identifies computers, and allows a LAN to communicate with it. There are 4 main classes of IP addresses, which are determined by the first octet of the IP address. Class A IPs consist of one network, and 3 hosts, a class B consists of 2 networks and 2 hosts, and class C IPs consist of 3 networks, and one host. There's a class E that is only used in certain countries like China, and is the basis of IPv5, which isn't populated yet.

A network address is calculated by finding the lowest address in the address block. With a 35-bit prefix, however, the last 7 bits are host, and are always set to 0.

Finding a broadcast address is done by simply changing the host portion of an IP to all 0s. This is useful to determine what range of IPs can be associated to any one network.

CIDR notation can be used in pair with an IP to give it a specific host name. CIDR notation is constructed from two strings; the IP address, and the prefix size which is the number of leading 1 bits (true) of the routing prefix, and determines the IP's subnet mask.

An IP of 34.229.192.4 /27 would mean its subnet would have to be 255.255.255.224. This is because the first 3 bits in a bit graph are 'turned on', aka given a value of 1.

1 1 1 0 0 0 0 0
_ _ _ _ _ _ _ _
128 64 32 16 8 4 2 1

By adding 128, 64 and 32, we get 224, which is the last octet of the subnet mask. 255 is used because by turning on all 8 bits in each of the first 3 octets, we get a result of 24. But because CIDR calls for 27, we must add only the first 3 bits to make the subnet mask.

No device on the same network can have the same IP address, or there will be trouble.



Sorting in computer programming

When sorting in any programming language, there are a few initial steps that must be taken.

Code:

limit = max
switch = 1
DO WHILE switch
    switch = 0
    FOR I = 1 TO (limit - 1)
        IF name$(I) > name$(I + 1) THEN
            SWAP lastname$(I), lastname$(I + 1)
            SWAP firstname$(I), firstname$(I + 1)
            SWAP class(I), class(I + 1)
            SWAP grade$(I), grade$(I + 1)
            switch = 1
            last = I
        END IF
    NEXT I

First, we must set an overall limit for the sort, otherwise, it will not know when to stop searching for data. In this example, the variable 'max' is calculated by using it as an accumulator during the initial creating of an array of the data that is to be sorted. The variable 'switch' ensures that the sort only happens once. By setting switch to 1, and setting ti to 0 immediately after the DO expression is declared, it ensures that the sort only works once. The For I = 1 to (limit - 1), we effectively do a 50-50 cut every time we search for data inside the array to sort to find a record in the array that should be sorted next. The If statement looks at the array named name$, and the array element number that is previously assigned to it from the FOR statement. If it belongs higher in the sorted list than the array element before it, the 2 elements are swapped in location. A second set to the switch variable is added to the IF statement, telling the machine that the sort isn't done yet. The only time the IF statement will not be true will be when it finds 2 array elements that are the same in content, which means that the machine has already checked both elements. This means the sort is finished.

So Mr. 1337, I'm assuming you knew all of this. And the DO WHILE switch instead of DO WHILE switch = 1, we both know why I did that. Very Happy
Cirrus
Cirrus

Post Count : 1152
Age : 32
Shaycoins : 6857
Registration date : 2008-12-06

http://pokerealm.com

Back to top Go down

I. Now. Have. 1337. Posts Empty Re: I. Now. Have. 1337. Posts

Post by South Mon May 17, 2010 10:50 pm

Good luck with that.
South
South

Post Count : 177
Age : 29
Shaycoins : 5790
Registration date : 2009-01-25

Back to top Go down

I. Now. Have. 1337. Posts Empty Re: I. Now. Have. 1337. Posts

Post by 7 Tue May 18, 2010 5:19 am

Cirrus wrote:[...]
Sorting in computer programming

When sorting in any programming language, there are a few initial steps that must be taken.

Code:

limit = max
switch = 1
DO WHILE switch
    switch = 0
    FOR I = 1 TO (limit - 1)
        IF name$(I) > name$(I + 1) THEN
            SWAP lastname$(I), lastname$(I + 1)
            SWAP firstname$(I), firstname$(I + 1)
            SWAP class(I), class(I + 1)
            SWAP grade$(I), grade$(I + 1)
            switch = 1
            last = I
        END IF
    NEXT I
only noobs use basic
go to c
not c++, not objective-c
just c

i'd rewrite the code here but i'm too busy tinkering with my new linux box

Cirrus wrote:First, we must set an overall limit for the sort, otherwise, it will not know when to stop searching for data. In this example, the variable 'max' is calculated by using it as an accumulator during the initial creating of an array of the data that is to be sorted.

the variable name is limit, not max
unless you omitted the declaration of max, which shouldn't happen
you know why

it might also be a basic thing, idk, never bothered with it

Cirrus wrote:The variable 'switch' ensures that the sort only happens once. By setting switch to 1, and setting it to 0 immediately after the DO expression is declared, it ensures that the sort only works once.

thanks for explaining yourself twice

Cirrus wrote:The For I = 1 to (limit - 1), we effectively do a 50-50 cut every time we search for data inside the array to sort to find a record in the array that should be sorted next. The If statement looks at the array named name$, and the array element number that is previously assigned to it from the FOR statement. If it belongs higher in the sorted list than the array element before it, the 2 elements are swapped in location. A second set to the switch variable is added to the IF statement, telling the machine that the sort isn't done yet. The only time the IF statement will not be true will be when it finds 2 array elements that are the same in content, which means that the machine has already checked both elements. This means the sort is finished.

tl;dr: common sense, read the damn code
7
7
The Imaginative Warden
The Imaginative Warden

Post Count : 2470
Age : 30
Shaycoins : 9227
Registration date : 2008-12-24

http://variant.pokerealm.com/

Back to top Go down

I. Now. Have. 1337. Posts Empty Re: I. Now. Have. 1337. Posts

Post by Bambii Tue May 18, 2010 11:56 am

omfg.... NERD ALERT! I couldnt understand a single word you guys both said *twitches*
Bambii
Bambii

Post Count : 377
Age : 25
Shaycoins : 5523
Registration date : 2010-05-10

Back to top Go down

I. Now. Have. 1337. Posts Empty Re: I. Now. Have. 1337. Posts

Post by Cirrus Tue May 18, 2010 1:03 pm

Bambii wrote:omfg.... NERD ALERT! I couldnt understand a single word you guys both said *twitches*

The word you're looking for is g33k alert, not nerd alert. Nerds are geeks who have no 1337, simply the appearance of a geek.

Varry, I use C++, but haven't learned enough about it yet to make a sort. >.>
I'll be learning C# soon, making C++ past news to me. Have fun with your soon-to-be updated language.

Also, it doesn't matter whether it's limit or max for the very first part cuz they're set equal to each other before the sort even starts.
Cirrus
Cirrus

Post Count : 1152
Age : 32
Shaycoins : 6857
Registration date : 2008-12-06

http://pokerealm.com

Back to top Go down

I. Now. Have. 1337. Posts Empty Re: I. Now. Have. 1337. Posts

Post by 7 Tue May 18, 2010 1:49 pm

c# is microsoft, c++ is unix
they're also quite different

also i didn't say c++, i said c; c's syntax is different

although i like that beginning thing, in c you have to declare them before doing anything at all
7
7
The Imaginative Warden
The Imaginative Warden

Post Count : 2470
Age : 30
Shaycoins : 9227
Registration date : 2008-12-24

http://variant.pokerealm.com/

Back to top Go down

I. Now. Have. 1337. Posts Empty Re: I. Now. Have. 1337. Posts

Post by Administrator Tue May 18, 2010 3:16 pm

lol wut?
Administrator
Administrator
God Mode

Post Count : 1592
Age : 29
Shaycoins : 7923
Registration date : 2008-11-30

http://www.shaychu.com

Back to top Go down

I. Now. Have. 1337. Posts Empty Re: I. Now. Have. 1337. Posts

Post by HanoHano Tue May 18, 2010 3:49 pm

Bambii wrote:omfg.... NERD ALERT! I couldnt understand a single word you guys both said *twitches*

Not our fault you're not 1337.
HanoHano
HanoHano

Post Count : 1912
Age : 26
Shaycoins : 8002
Registration date : 2008-12-29

Back to top Go down

I. Now. Have. 1337. Posts Empty Re: I. Now. Have. 1337. Posts

Post by Dragonartist713 Tue May 18, 2010 4:15 pm

indeed
Dragonartist713
Dragonartist713
The Intelligent Warden
The Intelligent Warden

Post Count : 2526
Age : 34
Shaycoins : 8843
Registration date : 2009-01-05

http://darklair.forumotion.com

Back to top Go down

I. Now. Have. 1337. Posts Empty Re: I. Now. Have. 1337. Posts

Post by Bambii Tue May 18, 2010 7:55 pm

IDC about how many posts... but seriously... wtf r u guys saying? I think ur like some robots giving us all a glimpce into the future o.o
Bambii
Bambii

Post Count : 377
Age : 25
Shaycoins : 5523
Registration date : 2010-05-10

Back to top Go down

I. Now. Have. 1337. Posts Empty Re: I. Now. Have. 1337. Posts

Post by ♥Qu4ckers♥ Tue May 18, 2010 8:17 pm

7 wrote:
Cirrus wrote:[...]
Sorting in computer programming

When sorting in any programming language, there are a few initial steps that must be taken.

Code:

limit = max
switch = 1
DO WHILE switch
    switch = 0
    FOR I = 1 TO (limit - 1)
        IF name$(I) > name$(I + 1) THEN
            SWAP lastname$(I), lastname$(I + 1)
            SWAP firstname$(I), firstname$(I + 1)
            SWAP class(I), class(I + 1)
            SWAP grade$(I), grade$(I + 1)
            switch = 1
            last = I
        END IF
    NEXT I
only noobs use basic
go to c
not c++, not objective-c
just c

i'd rewrite the code here but i'm too busy tinkering with my new linux box

Cirrus wrote:First, we must set an overall limit for the sort, otherwise, it will not know when to stop searching for data. In this example, the variable 'max' is calculated by using it as an accumulator during the initial creating of an array of the data that is to be sorted.

the variable name is limit, not max
unless you omitted the declaration of max, which shouldn't happen
you know why

it might also be a basic thing, idk, never bothered with it

Cirrus wrote:The variable 'switch' ensures that the sort only happens once. By setting switch to 1, and setting it to 0 immediately after the DO expression is declared, it ensures that the sort only works once.

thanks for explaining yourself twice

Cirrus wrote:The For I = 1 to (limit - 1), we effectively do a 50-50 cut every time we search for data inside the array to sort to find a record in the array that should be sorted next. The If statement looks at the array named name$, and the array element number that is previously assigned to it from the FOR statement. If it belongs higher in the sorted list than the array element before it, the 2 elements are swapped in location. A second set to the switch variable is added to the IF statement, telling the machine that the sort isn't done yet. The only time the IF statement will not be true will be when it finds 2 array elements that are the same in content, which means that the machine has already checked both elements. This means the sort is finished.

tl;dr: common sense, read the damn code

I. Now. Have. 1337. Posts 2Q== you guys are so cool
♥Qu4ckers♥
♥Qu4ckers♥

Post Count : 664
Age : 27
Shaycoins : 6445
Registration date : 2009-01-25

Back to top Go down

I. Now. Have. 1337. Posts Empty Re: I. Now. Have. 1337. Posts

Post by Bambii Tue May 18, 2010 9:01 pm

you guys are nuts. @_@
Bambii
Bambii

Post Count : 377
Age : 25
Shaycoins : 5523
Registration date : 2010-05-10

Back to top Go down

I. Now. Have. 1337. Posts Empty Re: I. Now. Have. 1337. Posts

Post by 7 Tue May 18, 2010 9:02 pm

it reads like a book to me, so i don't see the problem
7
7
The Imaginative Warden
The Imaginative Warden

Post Count : 2470
Age : 30
Shaycoins : 9227
Registration date : 2008-12-24

http://variant.pokerealm.com/

Back to top Go down

I. Now. Have. 1337. Posts Empty Re: I. Now. Have. 1337. Posts

Post by Bambii Tue May 18, 2010 9:04 pm

o.o wth... I didnt get what the first thing that said was... o.o
I'm not even sure waht the differance is between a colon and semi-colon... and I don't really care. o.o
Bambii
Bambii

Post Count : 377
Age : 25
Shaycoins : 5523
Registration date : 2010-05-10

Back to top Go down

I. Now. Have. 1337. Posts Empty Re: I. Now. Have. 1337. Posts

Post by Mercury Wed May 19, 2010 1:14 am

Only like 800 more posts to go for meh.
nearly there now ^_^
Mercury
Mercury

Post Count : 856
Age : 28
Shaycoins : 6597
Registration date : 2008-12-01

http://sites.google.com/site/mercuryshuttle/Home

Back to top Go down

I. Now. Have. 1337. Posts Empty Re: I. Now. Have. 1337. Posts

Post by Bambii Wed May 19, 2010 3:29 am

how long have u been here? how long has this SITE been here?! wow.... I feel like a n00b. o.o
Bambii
Bambii

Post Count : 377
Age : 25
Shaycoins : 5523
Registration date : 2010-05-10

Back to top Go down

I. Now. Have. 1337. Posts Empty Re: I. Now. Have. 1337. Posts

Post by Dragonartist713 Wed May 19, 2010 11:39 am

Bambii wrote:how long have u been here? how long has this SITE been here?! wow.... I feel like a n00b. o.o

the site was made in Nov '08. you can look at the profile of any member to see their join date, i believe.

and as far as Cirrus and 7's geekness, they do that once in a while ;p its part of what keeps the forums colorful and interesting
Dragonartist713
Dragonartist713
The Intelligent Warden
The Intelligent Warden

Post Count : 2526
Age : 34
Shaycoins : 8843
Registration date : 2009-01-05

http://darklair.forumotion.com

Back to top Go down

I. Now. Have. 1337. Posts Empty Re: I. Now. Have. 1337. Posts

Post by Bambii Wed May 19, 2010 12:55 pm

crap... I hate nov 08'! long story.... REALLY long story... Dont...... ask......
Bambii
Bambii

Post Count : 377
Age : 25
Shaycoins : 5523
Registration date : 2010-05-10

Back to top Go down

I. Now. Have. 1337. Posts Empty Re: I. Now. Have. 1337. Posts

Post by Mercury Wed May 19, 2010 2:34 pm

I was the fourth member of the site. But then I lost the link, and forgot about the site for about half a year. Then I came back.
Mercury
Mercury

Post Count : 856
Age : 28
Shaycoins : 6597
Registration date : 2008-12-01

http://sites.google.com/site/mercuryshuttle/Home

Back to top Go down

I. Now. Have. 1337. Posts Empty Re: I. Now. Have. 1337. Posts

Post by 7 Wed May 19, 2010 2:56 pm

Bambii wrote:crap... I hate nov 08'! long story.... REALLY long story... Dont...... ask......
asking




colon: :
semicolon: ;
lern2spot differences
7
7
The Imaginative Warden
The Imaginative Warden

Post Count : 2470
Age : 30
Shaycoins : 9227
Registration date : 2008-12-24

http://variant.pokerealm.com/

Back to top Go down

I. Now. Have. 1337. Posts Empty Re: I. Now. Have. 1337. Posts

Post by Administrator Wed May 19, 2010 4:15 pm

As a matter of fact, I was actually technically truly really honestly genuinely literally, in fact, the second member, indeed.
Administrator
Administrator
God Mode

Post Count : 1592
Age : 29
Shaycoins : 7923
Registration date : 2008-11-30

http://www.shaychu.com

Back to top Go down

I. Now. Have. 1337. Posts Empty Re: I. Now. Have. 1337. Posts

Post by Cirrus Wed May 19, 2010 4:16 pm

Dare we ask Bambii what an ampersand or asterisk is? :twisted:
Cirrus
Cirrus

Post Count : 1152
Age : 32
Shaycoins : 6857
Registration date : 2008-12-06

http://pokerealm.com

Back to top Go down

I. Now. Have. 1337. Posts Empty Re: I. Now. Have. 1337. Posts

Post by HanoHano Wed May 19, 2010 5:01 pm

Cirrus wrote:Dare we ask Bambii what an ampersand or asterisk is? :twisted:

Lawl.
HanoHano
HanoHano

Post Count : 1912
Age : 26
Shaycoins : 8002
Registration date : 2008-12-29

Back to top Go down

I. Now. Have. 1337. Posts Empty Re: I. Now. Have. 1337. Posts

Post by Sponsored content


Sponsored content


Back to top Go down

Page 1 of 2 1, 2  Next

View previous topic View next topic Back to top

- Similar topics

Permissions in this forum:
You cannot reply to topics in this forum