collapse collapse

* Who's Online

  • Dot Guests: 192
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.

* Board Stats

  • stats Total Members: 88
  • stats Total Posts: 11164
  • stats Total Topics: 1700
  • stats Total Categories: 4
  • stats Total Boards: 76
  • stats Most Online: 1370

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Azrathud

Pages: [1] 2 3 4 5
1
General / Re: Do you compiler your own Linux Kernel?
« on: September 08, 2011, 05:31:58 pm »
After trying to build my own OS from scratch, I've come to realize that its actually pretty easy to write a OS. The hardest part was the damn boot loader which had to be written in ASM. Compiling your own nix would be a good way to skip all that.

I thought that creating all the drivers would be the hardest part. You know, with there needing to be a shite-tonne of them to make the OS compatible with people's computers.

Also, why does it need to be written in assembly?

2
General / Re: Do you compiler your own Linux Kernel?
« on: August 30, 2011, 09:00:40 am »
I've been planning to build LFS for sometime, Either in a virtualbox or once I get my hands on another computer. One thing I know: It'll be a learning experience.

3
General / Re: Creating A File That is Also A Filesystem
« on: August 30, 2011, 08:53:45 am »
...

Isn't 1000K equal to around 1MB?

Also, I think one needs the loop module loaded for this
Code: [Select]
modprobe loop
If it's available

Thanks for the tutorial. Although, I proudly place my porn folder in my home directory.

For a more heavy duty way of doing this, check out Truecrypt. If I recall correctly, it can create hidden, encrypted partitions and encrypted partitions with hidden encrypted partitions inside.

4
General Talk / Re: Here is a deal :P
« on: November 21, 2010, 01:19:02 pm »
... looks like I'm getting a new game.

5
General Talk / Re: Favorite Wallpapers
« on: October 30, 2010, 06:45:51 pm »
You could just use a thumbnail so people have to click on it... Or just leave it as a attachment and it expands when clicked on.. My background changes every 30 minutes and I have over 5,000 images. Here are some of my favorites. I'm too lazy to look for the tech only ones. Take some fantasy art and be happy. When clicking on each image, make sure to let it load. These images are HUGE and it takes around 1 minute to load each one for viewing. So be patient and just let it load after clicking on one.

(Attachment Link) (Attachment Link) (Attachment Link) (Attachment Link) (Attachment Link) (Attachment Link) (Attachment Link) (Attachment Link) (Attachment Link)
(Attachment Link) (Attachment Link) (Attachment Link) (Attachment Link) (Attachment Link) (Attachment Link)



[edited name=Celestialkey date=1288274869][/edited]

I said technology related ones are to be favored. I probably shouldn't have even said that.

Anyways, the thumbnails aren't always wroking for me when I click on them. Sometimes they expand and other times they don't.

How hard is it to implement spoilers? Really.

By the way, nice animal wallpapers.
They do work, its just that it takes time to download the pic and it won't show the bigger size until it has everything downloaded.
And seeing as how some of those images are over 3000x3000 resolution, it takes quite a while.
Ah. My bad.

But spoilers are still not out of the question, right?

6
General Talk / Re: Favorite Wallpapers
« on: October 28, 2010, 05:35:29 pm »
You could just use a thumbnail so people have to click on it... Or just leave it as a attachment and it expands when clicked on.. My background changes every 30 minutes and I have over 5,000 images. Here are some of my favorites. I'm too lazy to look for the tech only ones. Take some fantasy art and be happy. When clicking on each image, make sure to let it load. These images are HUGE and it takes around 1 minute to load each one for viewing. So be patient and just let it load after clicking on one.

(Attachment Link) (Attachment Link) (Attachment Link) (Attachment Link) (Attachment Link) (Attachment Link) (Attachment Link) (Attachment Link) (Attachment Link)
(Attachment Link) (Attachment Link) (Attachment Link) (Attachment Link) (Attachment Link) (Attachment Link)



[edited name=Celestialkey date=1288274869][/edited]

I said technology related ones are to be favored. I probably shouldn't have even said that.

Anyways, the thumbnails aren't always wroking for me when I click on them. Sometimes they expand and other times they don't.

How hard is it to implement spoilers? Really.

By the way, nice animal wallpapers.

7
General Talk / Favorite Wallpapers
« on: October 28, 2010, 02:36:29 am »
Post your favorite backgrounds here. Computer and techonogy oriented wallpapers are more favored.

Also, spoilers would be nice(I'm talking to you, Celestialkey) and a better way to look at them is by zooming out (ctrl -)

I made this from two other images and added some text


Firefox


Dwarven Justice at its finest


Pirate Everything


Video Games


I would if I could..


Charles Darwin






[edited name=Azrathud date=1288251561][/edited]

8
Updates / Re: Issues with the server
« on: October 27, 2010, 02:24:13 pm »
Wow. How much RAM do you get for $400?

9
Technology / Re: I...LOVE...Japan!
« on: October 23, 2010, 12:47:13 am »
I thought it was amazing. It really shows how far technology has come and how much farther it(hopefully) can go.

Also, I wonder how much heat that humanoid robot generates.

10
Suggestions / Re: What do you want to learn about?
« on: October 20, 2010, 10:06:40 am »
Writing good object-oriented code.
Explain a bit more please.

I would like a tutorial on going through the steps for designing and implementing a program with object-oriented code. Maybe I should RTFM more, but I tend to write object-oriented code that doesn't model well as real world objects and or or doesn't work well when I try to have classes interact with each other for the the first time and I have to rewrite a chunk of my code. Both I think come from partly the shortsightedness in design.

Also, I think this could possibly be incorporated with what mager1794 wants.

Edit: Added quotes.

11
Suggestions / Re: What do you want to learn about?
« on: October 19, 2010, 10:00:51 am »
Writing good object-oriented code.

12
Beta Releases / Re: Flipbook!
« on: August 31, 2010, 11:01:16 pm »
Ah, it's not mine. Siobkerry programmed it. Back on the old forums before we were hosted by Nathan, we had more members and a more active user base. Most of the members got lost in the transfer process. Siobkerry is one of them. Anyhow, how did he do it? The CPP file is there to look at. I just came across it again while looking through the archives.

I'm talking about the process Siobkerry took to create the source code.

13
Beta Releases / Re: Flipbook!
« on: August 31, 2010, 09:06:52 pm »
Nice.

I'm guessing he pasted the ASCII art into the .cpp file and then did some ninja regex or find/replace to insert the cout, left shifts, quotations, and semi-colins. Else maybe He typed each quotation painstakingly by hand.

How'd you do it, Cel?

14
Suggestions / Re: Website Layout
« on: August 23, 2010, 09:47:56 am »
You could make a greasemokney script for celestialcoding that edits the site's coloring scheme with javascript with DOM, upload it to userscripts.org, and then make a thread about it here for other people to use it as an alternative.

15
Software support / Re: Symbol problems (Japanese katakana)
« on: July 30, 2010, 09:20:58 am »
Try this:Select the character encoding he uses as unicode for his browser. For firefox: view > Character Encoding > unicode

16
Humor / Re: CSI mistake :D
« on: July 26, 2010, 06:06:13 am »
... and the vb programmer saves the day. Hehe.
with a VB GUI who knew it could trace ips?
Yep. He dun back traced it.

17
Humor / Re: CSI mistake :D
« on: July 25, 2010, 07:29:57 pm »
... and the vb programmer saves the day. Hehe.

18
C++ / Re: Timing your application
« on: July 15, 2010, 02:20:05 am »
Oh wow. Thanks for the information. I was thinking a clock tick was from a time measurement device.

While I was looking at other functions int the <ctime> library, I noticed there was a time() function and wrote up an example on how to use it as a timer.

Code: C++
  1. #include <iostream>
  2. #include <ctime>
  3.  
  4. void pause(int seconds);
  5.  
  6. int main()
  7. {
  8.     time_t startTime = time(0);
  9.     pause(5);
  10.  
  11.     time_t elapsedTime = time(0) - startTime;
  12.     std::cout << elapsedTime << " seconds have passed";
  13.  
  14.     return 0;
  15. }
  16.  
  17. void pause(int seconds)
  18. {
  19.     time_t timeGone = (time_t)seconds + time(0);
  20.  
  21.     while(timeGone >= time(0))
  22.         /* Do nothing. */;
  23. }
  24.  

The return time confirms that it works. The output I received was: 6 seconds have passed. The return time was ~5.5 seconds.
Also, I bet you have used the time() function while generating pseudo-random numbers. ;)

19
C++ / Re: Timing your application
« on: July 13, 2010, 03:17:27 pm »
You could also use the clock() function in the standard c++ library <ctime> and subtract the original from the new like Celestialkey said. This would help avoid all those icky platform dependent libraries and functions.

20
Challenges / Re: Jumping
« on: July 12, 2010, 02:19:10 pm »
Looks better then mine.

Better than your example? Haha. Is it any good?

21
General Talk / Re: New job
« on: July 11, 2010, 10:23:23 pm »
Congratulations. What does a job as an "IT Solutions Associate" entail?

22
Challenges / Re: Jumping
« on: July 11, 2010, 08:06:06 pm »
Here's my crack at it: (executable attached too)

Code: C++
  1. #include <iostream>
  2. #include <ctime>
  3.  
  4. #define MAX_HEIGHT 10
  5. #define INITAL_VELOCITY 1
  6.  
  7.  
  8. /// Global Functions
  9.  
  10. void jump();
  11. float getElapsedTime(); // Returns time in seconds.
  12. void pause(int seconds);
  13.  
  14. int main()
  15. {
  16.     /// Define vars.
  17.     char askJump;
  18.  
  19.     do
  20.     {
  21.     std::cout << "Enter j to jump or q to quit: ";
  22.     std::cin >> askJump;
  23.  
  24.     if(askJump == 'q')
  25.         return 0;
  26.     else if(askJump == 'j')
  27.         jump(); /// Jump algorithm.
  28.     }
  29.     while(true);
  30.  
  31.     std::cout << "0";
  32.     return 0;
  33. }
  34.  
  35. void jump()
  36. {
  37.     enum JumpState
  38.     {
  39.         RISE = 1,
  40.         FALL
  41.     };
  42.  
  43.     /// Define vars for jumping algorithm.
  44.     bool done = false;     // Checks if loop is done.
  45.     float velocity = INITAL_VELOCITY;
  46.     float height = 0;
  47.     JumpState jumpState = RISE;
  48.  
  49.  
  50.  
  51.  
  52.     while(!done)
  53.     {
  54.         if (height < 0)
  55.         {
  56.             std::cout << 0 << "\n";
  57.             break; /// Exit loop.
  58.         }
  59.         else
  60.             std::cout << (int)height << "\n";
  61.  
  62.  
  63.  
  64.         switch(jumpState)
  65.         {
  66.             case(RISE):
  67.                 if(height >= MAX_HEIGHT)
  68.                 {
  69.                     velocity = 0;
  70.                     jumpState = FALL; // Change state.
  71.                 }
  72.                 else
  73.                 {
  74.                     velocity = velocity * 0.8 + 1; // Rise algorithm
  75.                     break;
  76.                 }
  77.  
  78.               /* Fall through. If this wasn't here, then The jump would stall at 10 for an extra 'turn'.
  79.           */case(FALL):
  80.  
  81.                 velocity = -1.9 +  velocity * 0.9; // Fall algorithm.
  82.                 break;
  83.         }
  84.  
  85.         height += velocity; // Add velocity to height (time = 1) so I don't need to count for it.
  86.         pause(0.1); // Allows people to actually see the algorithm in action
  87.     }
  88. }
  89.  
  90. float getElapsedTime()
  91. {
  92.     return (clock() / 1000); // Returns time in seconds.
  93. }
  94.  
  95. void pause(int seconds)
  96. {
  97.     float timeGone = seconds + getElapsedTime();    // Inital time with the amount the user wants to wait for.
  98.  
  99.     while(timeGone >= getElapsedTime())
  100.         /* Do nothing. */;
  101. }
  102.  

23
Challenges / Re: Jumping
« on: July 09, 2010, 04:17:45 am »
Your example was realistic jumping?

24
Beta Releases / Re: Doomstar Alpha release
« on: June 18, 2010, 02:29:16 pm »
Quote from: kat
Keypress works for me on my W7 with MSVS 2010 Studio Beta and Windows XP w/ sp3. Try to restart the game and press the keys.
It works after reopening the game, but I was saying that these controls stopped working for an unknown reason.


Quote from: kat
That was for me mostly on debugging purposed. They are 2D and I made it so you have to move one down a ways to see the coordinates completely. It is temp and is only there for my sanity.
Oh I see now. I didn't realize they were 2D because of sans commas and any one set of coordinates encompasses three boxes. Hehe.

Will you add coordinates in the form of the [letter] [number] format of the board later?


Quote from: kat
I use GetAsyncKeyState in conjunction with a delay timer. Meaning it will affect the game at any point in time, minimized or not. It is not a glitch, just a easy way of registering keys without using the Win32 API too heavily.
I've never seen anyone defy the almighty scope before!

25
Beta Releases / Re: Doomstar Alpha release
« on: June 18, 2010, 01:59:58 pm »
Suggestions:
The coordinates don't seem to make much sense, and they are all pushed together. Making the font-size smaller could help. The coordinates are also 1d(?) or just don't make any sense.

Bugs:
You can move right, then down, and left, then down.

Now the game doesn't respond to shift, space, or alt. I don't know what caused this.

Wtf?:
The game responds to key presses outside it's scope.

26
C++ / Re: How to take down a site?
« on: June 17, 2010, 08:15:41 pm »
milw0rm shows as a viral site for me.

I wouldn't be surprised. It is, after all, a site directed towards malware and exploits.

27
General Talk / Re: What is your typing speed?
« on: June 17, 2010, 07:08:38 pm »
All of you type so fast.. What's your secret? Practice, right? I started touch typing the latter part of last year.

Actually, I think I type faster when the words are random like this.

28
General Talk / What is your typing speed?
« on: June 13, 2010, 11:00:00 pm »
http://speedtest.10-fast-fingers.com/
How fast are you?

My typing speed is:



29
Humor / Re: Few days ago
« on: June 09, 2010, 09:55:00 pm »
I'm glad I have great cooling. This baby has been on for about a month.

30
General Talk / Re: Microwaving ramen
« on: June 06, 2010, 12:07:00 am »
I used to do this when I was younger... I'm smarter now.
Microwave ramen in the Styrofoam containers?
Yes.

Pages: [1] 2 3 4 5

Donate


* Search


* Recent Posts

I miss the chatbox by Shishka
[August 27, 2019, 11:52:39 pm]


Image Comparison by Shishka
[May 15, 2017, 01:18:02 pm]


Re: srchub - free source code hosting by Nathan
[December 14, 2015, 11:37:02 pm]


Re: srchub - free source code hosting by Celestialkey
[November 27, 2015, 08:51:42 am]


Updates by Nathan
[October 30, 2015, 08:27:36 pm]