Your Ad Here

Subscribe
 Post #1961
 8th November 2009
Dennab
September 2009
265 Posts
I'm currently making my Cyclone Operating System to be run inside Gmod. I already planned out the architecture of the OS, of the PC, of the CPU, now I'm going on with top-down construction of C sources, and then I will define the low-level functions as a sequence of machine codes.

Then I will try make my own or re-target an existing C compiler, compile it, and test it in Gmod!

In before "lol Gmod inside Gmod".
why don't you do something more useful and make it not run inside gmod?
 Post #1962
 8th November 2009
Dennab
September 2009
265 Posts
 Post #1963
 8th November 2009
Gold Member
nullsquared's Avatar
November 2007
4,353 Posts
 Post #1964
 8th November 2009 Last edited by Nikita; 8th November 2009 at 10:39PM..
Gold Member
Nikita's Avatar
April 2005
3,133 Posts
you're like a year late, black phoenix already did that
Too bad he abandoned his WireOS. The OS of the day is now AlcyoneOS made by Fyzik. It has alot of programs, like a super advanced calculator, notepad and video recorder. Though it has no GUI.
And Ima make one big contribution

As a side note, I AM working on something usefull...

I'm making a radio! And that's how I learn electronics, circuits and wiring, and even physics.
One problem though, I need to find some way of tuning the LC circuit, cause nobody sells magnetic cores around here.

Oh wait... It's a programming forum, isn't it?
 Post #1965
 8th November 2009
-[ Fizzadar ]-'s Avatar
March 2009
2,211 Posts
Quite enjoying using Coda, though, actually.
Coda is fucking awesome, I love it and exclusively use it for all web dev I do :P
 Post #1966
 8th November 2009
Gold Member
jA_cOp's Avatar
May 2006
5,573 Posts
I've started to associate my posts and avatar with the :sigh: emote myself
 Post #1967
 8th November 2009
Gold Member
aero1444's Avatar
May 2007
4,012 Posts
I'm attempting to learn C#. I'm only on really basic stuff at the moment, but can someone check these for me? I was trying to make examples of what I learnt.

Code:
//Output "Hello World" in the console.

using System;

class HelloWorld
{
	static void Main()
	{
		Console.WriteLine("Hello World");
		Console.ReadLine();
	}
}

//Output "Hello, (name)!" when the program is run via command prompt and a name is entered.

using System;

class CommandLineInput
{
	static void Main(string[] args)
	{
		Console.WriteLine("Hello, {0}!", args[0]);
		Console.ReadLine();
	}
}

//Prompt the user for input then output their input in the format "Hello, <input>! You are awesome!"

using System;

class InteractiveName
{
	static void Main()
	{
		Console.Write("What is your name?: ");
		Console.Write("Hello, {0}! ", Console.ReadLine());
		Console.WriteLine("You are awesome!");
		Console.ReadLine();
	}
}
Also, my notes if you want them: Lesson_1_Basics.txt (WARNING, quite long)

Sorry if you're all not interested because it's incredibly basic C# but I just need someone to validate them. Thanks if you take the time to check it.
 Post #1968
 8th November 2009
voodooattack's Avatar
October 2009
497 Posts
Just downloaded the UDK last night, I'm being agonized by the buggy editor (yeah, it crashed thrice in the last few hours, one of which happened as the "Save" dialog appeared ); although I think I'll beat the steep learning curve soon™.
I'm trying to see if it meets the requirements of my next project, a Stranded II/Clonk rage hybrid that I've been itching to make for years.

I coded a D3D renderer for GWEN. There's nothing impressive to show because it looks exactly the same as the Botch renderer and the GDI+ renderer. But maybe that IS the cool thing.

http://img694.imageshack.us/img694/3319/direct3dsample200911082.png
This, thread needs more of this; I accidentally my whole keyboard reading the renderer's code.

Arabic looks good (that's my mother tongue, by the way), I wonder if you plan on allowing right-to-left layouts though.. I've never seen a hardware-accelerated GUI library supporting right-to-left layouts perfectly (hell, even professional native GUI libs mess that up), and none render the Arabic script flawlessly for the matter, great work so far; I'd love to write an OpenGL renderer for that.. (we really need something like this working with SFML)

Also, @all the crap defiling the last few pages; don't post your shit in public if you can't take criticism for your potentially stupid mistakes, or if you can't handle advice on how to fix them; most people that post here (including me) do it for unbiased peer-reviews, those are a good way to put yourself back on the right track; If we just post our crap and leave it at that, this thread would turn into another crappy desktop screenshot thread with no content.
 Post #1969
 8th November 2009 Last edited by jA_cOp; 8th November 2009 at 11:30PM..
Gold Member
jA_cOp's Avatar
May 2006
5,573 Posts
Why didn't you just test them?

They all do what your comments assume; except it's kind of counter-intuitive to add "Console.ReadLine();" after programs that are meant to be run from the command line.

I'm trying to see if it meets the requirements of my next project, a Stranded II/Clonk rage hybrid that I've been itching to make for years.
Those are great games, sounds like a good project!

Also, @all the crap defiling the last few pages; don't post your shit in public if you can't take criticism for your potentially stupid mistakes, or if you can't handle advice on how to fix them; most people that post here (including me) do it for unbiased peer-reviews, those are a good way to put yourself back on the right track; If we just post our crap and leave it at that, this thread would turn into another crappy desktop screenshot thread with no content.
Is that advice? It's common sense that you shouldn't just throw out your two cents without it being asked for!
 Post #1970
 8th November 2009 Last edited by aero1444; 8th November 2009 at 11:39PM..
Gold Member
aero1444's Avatar
May 2007
4,012 Posts
Why didn't you just test them?

They all do what your comments assume; except it's kind of counter-intuitive to add "Console.ReadLine();" after programs that are meant to be run from the command line.
Does the Console.ReadLine(); function not need to be used when running from command line? I was using it to make sure the window stays open so you can read the output rather than the window closing as soon as you press enter.

Also, that is the reason I posted this - to check that there was nothing stupid/unnecessary, such as the Console.ReadLine(); thing. Compilers don't tell you that things aren't necessary, they just tell you any errors you make.
 Post #1971
 8th November 2009 Last edited by jA_cOp; 8th November 2009 at 11:40PM..
Gold Member
jA_cOp's Avatar
May 2006
5,573 Posts
Does the Console.ReadLine(); function not need to be used when running from command line? I was using it to make sure the window stays open so you can read the output rather than the window closing as soon as you press enter.
When running the program from the command line the output will be clearly visible after the program has finished and returned control to your input terminal.

Using "Console.ReadLine();" to halt termination is for making the output visible when the program is run from a windowing system, for example when the executable is double-clicked in Windows Explorer. You cannot pass command line arguments using this method of launching the application, so the "Console.ReadLine();" method only remains as a nuisance when the program is called from the command line, as intended.
 Post #1972
 8th November 2009
bean_xp's Avatar
June 2006
253 Posts
As an alternative you could stick a break point on the last line of your program, assuming you're running through a debugger.
 Post #1973
 8th November 2009
ShaRose's Avatar
April 2007
1,801 Posts
As an alternative you could stick a break point on the last line of your program, assuming you're running through a debugger.
Console.ReadKey();
 Post #1974
 9th November 2009
voodooattack's Avatar
October 2009
497 Posts
Those are great games, sounds like a good project!
Thanks, I was offered some help with content creation, and that's the only reason I'm considering this seriously, I certainly lack in the department of artistic innovation.

Is that advice? It's common sense that you shouldn't just throw out your two cents without it being asked for!
Oh no, not that argument again
When I look upon the last few pages of this thread, the kind of logic I see coming from some posts reminds me of this:

http://i35.tinypic.com/w1tuuq.jpg
"Don't you dare give me advice on how to design my bike!"
Oh well, let's let it die.
 Post #1975
 9th November 2009
Gold Member
nullsquared's Avatar
November 2007
4,353 Posts
When I look upon the last few pages of this thread, the kind of logic I see coming from some posts reminds me of this:

Except that kid is clearly crying for advice.

I, on the other hand, am not:
 Post #1976
 9th November 2009
Gold Member
gparent's Avatar
January 2005
5,703 Posts
Except that kid is clearly crying for advice.

I, on the other hand, am not:
-snip-
If you had square wheels (weird reflections) I'd give you advice whether you were crying for it or not. Pretty much proving the point that many posters have implied in this thread.
 Post #1977
 9th November 2009
efeX's Avatar
April 2009
2,205 Posts
Except that kid is clearly crying for advice.

I, on the other hand, am not:
more like

 Post #1978
 9th November 2009
Gold Member
nullsquared's Avatar
November 2007
4,353 Posts
If you had square wheels (weird reflections) I'd give you advice whether you were crying for it or not. Pretty much proving the point that many posters have implied in this thread.
Yes, you would. Except you'd say "why are you using a square wheel, a round wheel would be better."

While the dolt would say "I think there is something quite wrong with your wheel, it doesn't seem to be round enough, and round wheels [paragraph of explaining why round wheels are good]"
 Post #1979
 9th November 2009
Gold Member
ZomBuster's Avatar
June 2006
9,250 Posts
I learned Java so I don't have to make video's of my experiments but instead you can play them right in your browser!
clickie
 Post #1980
 9th November 2009
Gold Member
nullsquared's Avatar
November 2007
4,353 Posts
I learned Java so I don't have to make video's of my experiments but instead you can play them right in your browser!
clickie
Cool :D I hate Java with a passion, but I'm forced to use it for school :(
 Post #1982
 9th November 2009
Gold Member
Larikang's Avatar
November 2005
3,136 Posts
I learned Java so I don't have to make video's of my experiments but instead you can play them right in your browser!
clickie
 Post #1983
 9th November 2009
voodooattack's Avatar
October 2009
497 Posts
Except that kid is clearly crying for advice.
I, on the other hand, am not
I think you may have got it wrong™, and on that occasion:
http://i37.tinypic.com/34t9v2o.jpg
I think that describes the situation better.
 Post #1984
 9th November 2009
Dennab
September 2009
265 Posts
more like

agóp shirinique
 Post #1985
 9th November 2009
efeX's Avatar
April 2009
2,205 Posts
um what
 Post #1986
 9th November 2009
compwhiziitothemax's Avatar
May 2009
1,750 Posts
What the shit
 Post #1987
 9th November 2009 Last edited by Cathbadh; 9th November 2009 at 01:44AM..
Gold Member
Dennab
March 2006
6,702 Posts
Yep. People whine and moan if they think you are calling them stupid. Apparently the way I make my posts sounds extremely condescending to everyone else. This is just what goes on in my mind. I recount exhaustive reasoning and math. Do I need to start putting abstracts on my posts?
 Post #1988
 9th November 2009
Gold Member
andersonmat's Avatar
May 2008
2,708 Posts
Jesus Christ. This thread has turned into bitch and moan central.

I came here to look at some cool stuff and the only people that are actually representing the thread title are garry and Hexxeh. I can't really be disappointed--with a forum filled with 14 year-old children, it's bound to happen.
 Post #1989
 9th November 2009
Dennab
September 2009
265 Posts
Agop "nullsquared" Shirinian
 Post #1990
 9th November 2009
Lerlth's Avatar
November 2009
302 Posts
I've made myself a little app to stream radio.
How did you get it to stay in the corner? I've been trying to do that for one of my apps but it will not stay...
 Post #1991
 9th November 2009
Gold Member
nullsquared's Avatar
November 2007
4,353 Posts
I think you may have got it wrong™, and on that occasion:
http://i37.tinypic.com/34t9v2o.jpg
I think that describes the situation better.
That's actually pretty good
 Post #1992
 9th November 2009
efeX's Avatar
April 2009
2,205 Posts
Jesus Christ. This thread has turned into bitch and moan central.

I came here to look at some cool stuff and the only people that are actually representing the thread title are garry and Hexxeh. I can't really be disappointed--with a forum filled with 14 year-old children, it's bound to happen.
oh kiss ass some more, garry has posted once every like 10 pages, if that. and it's not just garry and Hexxeh, are you blind?

Edited:

I think you may have got it wrong™, and on that occasion:
http://i37.tinypic.com/34t9v2o.jpg
I think that describes the situation better.
ahahaha. nice
 Post #1993
 9th November 2009
Gold Member
gparent's Avatar
January 2005
5,703 Posts
Yep. People whine and moan if they think you are calling them stupid. Apparently the way I make my posts sounds extremely condescending to everyone else. This is just what goes on in my mind. I recount exhaustive reasoning and math. Do I need to start putting abstracts on my posts?
If you can't formulate your thoughts properly without going into insane detail about everything you got taught at school, you have a problem too you know. I don't randomly describe the mundane details of Cisco IOS when I talk about networking.
 Post #1994
 9th November 2009
Gold Member
Ortzinator's Avatar
May 2005
7,234 Posts
To be a bit more helpful, this happens when you drag your cursor past the top of the screen.
 Post #1995
 9th November 2009
Gold Member
ryandaniels's Avatar
December 2006
8,058 Posts
Hey zombuster, it seems that your sand stacks instead of piling up.

You see, in real life, sand isn't perfectly square or perfectly aligned, and this causes it to topple down to the lowest point. Of course, if you followed that rule completely, you would end up with a material more akin to water than sand, and that's why you have to account for fluidity. Fluidity is how prone the particle is to falling to a lower point given certain condition. Any particle would fall down if stacked directly on top of another with none to the sides, but imagine if it was on a plane; if it was highly fluid, it would slide off the edge, if not, then it would remain stationary. Of course in real life the particles are forced to the edge by other particles pushing it away, but in you simulation that isn't directly possible in some circumstances so you will have you have particles slide around randomly across planes at speeds proportional to their fluidity.

Which brings me to interactions between different particles, such as sand and water-
 Post #1996
 9th November 2009
compwhiziitothemax's Avatar
May 2009
1,750 Posts
Last post
 Post #1997
 9th November 2009
Chandler's Avatar
February 2006
1,030 Posts
Still pissed that you stopped working on the belt game Ryan >:(
 Post #1998
 9th November 2009
Internet Detective (HBIED certified)
leach139's Avatar
August 2007
4,172 Posts
To be a bit more helpful, this happens when you drag your cursor past the top of the screen.
To reiterate: Please don't drag your cursor past the top of your screen.
THE DEMONS LURK THERE
Reply

All times are GMT. The time now is 07:12AM.

Facepunch Studios 2010 - Server 'MARGE'