Search found 104 matches

by laranzu
Thu Nov 27, 2014 8:43 am UTC
Forum: Science
Topic: Smart Dinosaurs
Replies: 10
Views: 3259

Re: Smart Dinosaurs

It's hard to argue that intelligence provides much benefit in any era, not just the time of the dinosaurs. Humans are vastly outnumbered by rats, cockroaches, and starlings :-) Our brains demand a lot of blood flow and food energy to keep running. There's some evidence for dinosaurs with more than t...
by laranzu
Tue May 21, 2013 12:55 pm UTC
Forum: Gaming
Topic: Fleet Book Babylon 5 for Full Thrust
Replies: 0
Views: 2079

Fleet Book Babylon 5 for Full Thrust

(For those who've never heard of it, Full Thrust is a tabletop miniatures game for space combat.) Just over two years ago I decided that I'd put together Fleet Book Babylon 5 for Full Thrust. It took rather longer than I'd planned, for various reasons, but it's finally ready. http://members.ozemail....
by laranzu
Tue Jan 17, 2012 8:27 am UTC
Forum: Computer Science
Topic: Good book to learn about networking and internet
Replies: 1
Views: 1548

Re: Good book to learn about networking and internet

I dont have any knowledge about how internet works. Can anyone suggest me a detailed book that covers how internet works , how and website works, ping commands, tracert etc. Thanks in advance. TCP/IP Illustrated, Volume 1: The Protocols by W. Richard Stevens is the classic book about how the Intern...
by laranzu
Sun Aug 07, 2011 9:34 am UTC
Forum: Coding
Topic: GUI text input window for Python
Replies: 8
Views: 8194

Re: GUI text input window for Python

... Part of it's that I'm not really grasping the way TCL works... Anyway I feel like this really ought to be easy, and I'm missing something stupid. Any suggestions, links, snippets? I suggest not using Tkinter. As you've noticed, it's designed for how TCL works, not Python. My recommendation woul...
by laranzu
Sat Jun 25, 2011 9:52 am UTC
Forum: Coding
Topic: Quaternions and rotations
Replies: 7
Views: 6164

Re: Quaternions and rotations

So, I'm implementing skeletal animation in a game engine I'm building and a book I'm reading (More OpenGL Game Programming) suggests I use quaternions to rotate the vertices attached to a given bone. But I don't understand how a set of angles is transformed into a quaternion, how a vertex is then m...
by laranzu
Thu Apr 28, 2011 12:06 pm UTC
Forum: Coding
Topic: Help with OpenGL
Replies: 17
Views: 2243

Re: Help with OpenGL

I'm looking to learn OpenGL, but I'm having issues finding: - The files required. Thus far, I can't even figure out what they are . - Something explaining how to use it in C#: All the examples I've seen have been in C/C++. - A decent documentation collection. ~Watercleave The only book required is ...
by laranzu
Mon Apr 18, 2011 9:39 am UTC
Forum: Coding
Topic: Anyone here familiar with MIPS file I/O?
Replies: 1
Views: 1847

Re: Anyone here familiar with MIPS file I/O?

So we're doing a project where we have to compress an image (jpg, but we're probably going to use bmp depending on how MIPS handles images). We've got the algorithm in place, but we can't for the life of us figure out how to do file I/O in MIPS. There's the syscall libraries (specifically numbers 1...
by laranzu
Sat Mar 26, 2011 12:49 pm UTC
Forum: Coding
Topic: Graphics with Python help please
Replies: 3
Views: 1409

Re: Graphics with Python help please

Hi everyone. I recently got back into coding and I wound up coding the backend for an strategy RPG. Its written in Python 3 and working quite nicely, but currently all the "graphics" are in the terminal and I can't really progress any further without a proper way to represent whats going ...
by laranzu
Fri Feb 25, 2011 10:39 am UTC
Forum: Gaming
Topic: Full Thrust / Babylon 5 fleet designers?
Replies: 5
Views: 3052

Re: Full Thrust / Babylon 5 fleet designers?

What are you trying to do that isn't covered in The Babylon Project: Earthforce Sourcebook (which uses Full Thrust rules for it's ship combat) ? Or am I just misunderstanding how much that varies from standard Full Thrust, or how much that all varies from Cross Dimension rules. For Babylon 5 specif...
by laranzu
Thu Feb 24, 2011 11:17 am UTC
Forum: Gaming
Topic: Full Thrust / Babylon 5 fleet designers?
Replies: 5
Views: 3052

Re: Full Thrust / Babylon 5 fleet designers?

I could do some artwork purely on a hobby front. Not got the time for write ups or stats though... I have a couple of artists who've already volunteered, thanks. Hmmm...if you can persuade another game (doesn't have to be an XKCD denizen) to design the ships, I'll print your artwork as well :-) Tha...
by laranzu
Sat Feb 19, 2011 11:34 pm UTC
Forum: Gaming
Topic: Full Thrust / Babylon 5 fleet designers?
Replies: 5
Views: 3052

Full Thrust / Babylon 5 fleet designers?

I'm looking for contributors for a Babylon 5 fleet book for Full Thrust, a tabletop space combat miniatures game. The final book will be a free PDF download. I'm not getting paid for this, and neither will you. What do I want you to do? At minimum, design some Babylon 5 ships for use with Full Thrus...
by laranzu
Wed Jan 12, 2011 8:46 am UTC
Forum: Science
Topic: Lungs of ornithischian dinos, saurischian dinos, pterosaurs
Replies: 3
Views: 1629

Re: Lungs of ornithischian dinos, saurischian dinos, pterosa

I've tried doing some light research on this, but haven't come to any good answers. Any palaeo-folk have any ideas about what was going on back then? For pterosaurs, it appears we just don't know. David Unwin, the author of the most up to date book, "The Pterosaurs From Deep Time" from 20...
by laranzu
Fri Oct 08, 2010 11:46 pm UTC
Forum: Computer Science
Topic: CUDA Vs Open CL for Colloidal Dispersion Simulation.
Replies: 12
Views: 4224

Re: CUDA Vs Open CL for Colloidal Dispersion Simulation.

[If you read the article I linked to, it talks all about how CUDA is going to support x86 computing in the next release. In fact, that's the whole point of the article to begin with. Here's the link again: http://arstechnica.com/business/news/2010/09/nvidia-ports-its-cuda-gpu-programming-architectu...
by laranzu
Fri Oct 08, 2010 11:19 am UTC
Forum: Computer Science
Topic: CUDA Vs Open CL for Colloidal Dispersion Simulation.
Replies: 12
Views: 4224

Re: CUDA Vs Open CL for Colloidal Dispersion Simulation.

In case anyone else interested in this thread did not click the Ars link, this quote is a pretty big takeaway: "The open alternative to CUDA is, of course, OpenCL, and of the three major GPU vendors (including Intel), NVIDIA has far and away the most robust OpenCL support right now." So e...
by laranzu
Fri Oct 08, 2010 11:08 am UTC
Forum: Coding
Topic: Help me with sockets.... please?
Replies: 6
Views: 1032

Re: Help me with sockets.... please?

So, I'm trying to figure out sockets. GAH, HEADACHE. I've managed to send Datagrams from one port on my computer to another, by setting up a DatagramSocket (this is Java) and then sending and receiving DatagramPackets. :D I was trying how it works when I want to communicate with another computer on...
by laranzu
Fri Sep 03, 2010 11:39 am UTC
Forum: Coding
Topic: C++ function argument stack
Replies: 6
Views: 1787

Re: C++ function argument stack

Hi all, nice to meet you, It's my 1st question in coding, where can i found the description of the stack when passing argument to a function in C++ : void f(int *arg) { int *stack=(int *)&arg; ... what are the stack-n,..stack, stack+1 pointing to ? Is there the return address somewhere ? The an...
by laranzu
Fri Aug 06, 2010 11:26 am UTC
Forum: Coding
Topic: Language 'Types'
Replies: 9
Views: 2234

Re: Language 'Types'

There's been something I've been wondering about for a while now, and was hoping you guys could help me. Now, we have languages like assembly or C/C++ which are compiled languages. Then we have languages like python, perl, and ruby that are interpreted languages. I was wondering, however, what is t...
by laranzu
Fri Jun 25, 2010 12:16 pm UTC
Forum: Coding
Topic: Computed includes in C
Replies: 26
Views: 2833

Re: Computed includes in C

When I try to compile this with gcc, I get this output. test.c:7:1: error: pasting "/" and "foo" does not give a valid preprocessing token test.c:8:1: error: pasting "/" and "bar" does not give a valid preprocessing token Any ideas as to what's going wrong an...
by laranzu
Thu Jun 10, 2010 10:58 am UTC
Forum: Computer Science
Topic: Question about video streaming
Replies: 6
Views: 1282

Re: Question about video streaming

For my own curiosity, could someone with more networking knowledge give some information on multicast for something like this would work? My (very limited) understanding is that you should be able to stream to an arbitrary (or at least, very very large) number of people using minimal upstream bandw...
by laranzu
Mon Apr 19, 2010 9:30 am UTC
Forum: Computer Science
Topic: Networks: Connectionless and Connection Oriented
Replies: 11
Views: 4231

Re: Networks: Connectionless and Connection Oriented

Is there any significance to calling it "connection oriented" and "connectionless"? I keep picturing a "connection" for TCP and no connection for IP but that just starts confusing me. The analogy used in many networking textbooks is phone calls and letters. A phone cal...
by laranzu
Sun Apr 11, 2010 6:03 am UTC
Forum: Coding
Topic: Linked List Implementation in C: Type Issues
Replies: 19
Views: 2807

Re: Linked List Implementation in C: Type Issues

But if ptr = ptr->list.next, then aren't you trying to pass the value of a list_head* into a my_list*? Curses, you're right. My bad. Make that ptr = (my_list *)(ptr->list.next); which, if you're not yet familiar with C casting, tells the compiler to shut up because I say it's OK to assign this type...
by laranzu
Sat Apr 10, 2010 11:30 pm UTC
Forum: Coding
Topic: Linked List Implementation in C: Type Issues
Replies: 19
Views: 2807

Re: Linked List Implementation in C: Type Issues

Okay. The linux kernel linked list has a struct containing the data and another struct inside the first one holding the pointers to the same type of struct as the second: struct my_list{ struct list_head list; //linux kernel list implementation// int data; }; struct list_head { //Declared in list.h...
by laranzu
Sat Apr 10, 2010 12:55 pm UTC
Forum: Computer Science
Topic: Eliminating heap fragmentation in high-level languages
Replies: 8
Views: 3990

Re: Eliminating heap fragmentation in high-level languages

so you end up always paying the overhead of the double indirection. You could always use the locks to claim ownership over a pointer. Lock it to say "I'm using this right now", during which time you can use the raw pointer value. This is required if you ever want to expose such data to no...
by laranzu
Fri Apr 09, 2010 6:20 am UTC
Forum: Coding
Topic: Out-of-order colour blending
Replies: 15
Views: 1614

Re: Out-of-order colour blending

Drat. I thought I had a solution to the "blended polygons must be Z-sorted" problem of 3D rendering. Unless there exists an order-agnostic blending method that would work there? (i.e. the result is about what people expect, not something that's mathematically correct but looks odd, if tha...
by laranzu
Fri Apr 09, 2010 2:04 am UTC
Forum: Computer Science
Topic: Eliminating heap fragmentation in high-level languages
Replies: 8
Views: 3990

Re: Eliminating heap fragmentation in high-level languages

If your pointers are really just opaque identifiers though, then it seems to me you can eliminate this problem with a small speed tradeoff. Instead of using an object's memory address as its identifier, keep the memory addresses in an array and use the array index as the identifier. This is somethi...
by laranzu
Fri Apr 09, 2010 1:49 am UTC
Forum: Coding
Topic: Linked List Implementation in C: Type Issues
Replies: 19
Views: 2807

Re: Linked List Implementation in C: Type Issues

I've written a skeleton for a linked list node struct, but I've been having trouble with data types. How do you make sure that you can cover the data types you need without creating a different node struct for each type? The standard way in C is to store the two link pointers as the first members o...
by laranzu
Wed Mar 31, 2010 8:06 am UTC
Forum: Movies and TV Shows
Topic: Pixar Vs. Dreamworks
Replies: 11
Views: 3938

Re: Pixar Vs. Dreamworks

So the question is this, "Is How to train your dragon" a fluke? Or perhaps a new trend for dreamworks? Do you think there will ever be a day where dreamworks dethrones pixar in terms of consistant quality? j My impression is that DreamWorks have an "A" team, who produce movies l...
by laranzu
Sat Mar 27, 2010 11:02 am UTC
Forum: Coding
Topic: 2D OpenGL Performance Help
Replies: 5
Views: 1212

Re: 2D OpenGL Performance Help

Is the back to front drawing of items sensible? or would it better to use the depth buffer and draw the items in a way which groups them more to reduce state changes and perhaps allow large vertex arrays to be used to issue instructions for many items at once? Or perhaps something completely differ...
by laranzu
Wed Jan 27, 2010 12:17 pm UTC
Forum: Movies and TV Shows
Topic: Blake's 7
Replies: 2
Views: 710

Re: Blake's 7

I recently started watching Blake's 7, which was created by Terry Nation in 1978 for the BBC. There are four seasons, and Sky have bought the rights and are currently producing a remake. I just want to know what other people think of it. I thought Blake's 7 had an interesting story line and charact...
by laranzu
Wed Jan 27, 2010 12:06 pm UTC
Forum: Computer Science
Topic: Mutex/Semaphores on Instruction/Hardware level
Replies: 3
Views: 1733

Re: Mutex/Semaphores on Instruction/Hardware level

In threads, how do mutexes work on the hardware level? I'm having a hard time finding documentation on this. Look for either of "Operating Systems: Design and Implementation" or "Modern Operating Systems" by Andrew Tanenbaum. He's a very good writer and goes into detail about ho...
by laranzu
Thu Jan 21, 2010 4:58 pm UTC
Forum: Computer Science
Topic: What is the role of OSI model
Replies: 2
Views: 1485

Re: What is the role of OSI model

I want to ask about OSI Model. What is its role in the modern lan and wan technology. Let me know if it is still being used as one of my friend complained that it is of no use in modern communication technology. Is it right? The OSI Model of understanding network protocols as a layered structure is...
by laranzu
Thu Jan 21, 2010 4:54 pm UTC
Forum: Coding
Topic: Is there any real-world use for Objective C?
Replies: 18
Views: 2288

Re: Is there any real-world use for Objective C?

I only know C, C++, and Objective C. And C++ I've barely touched, I really just don't like it for some reason. I much prefer Java. It really doesnt help that my university uses Java for everything, so I never have a reason nor the time to use much else. Objective-C is very much the preferred langua...
by laranzu
Wed Jan 06, 2010 4:52 pm UTC
Forum: Coding
Topic: Why are HDLs so extremely different from everything!?
Replies: 13
Views: 1603

Re: Why are HDLs so extremely different from everything!?

I have checked out a ton of different HDLs and why does every single one of them require a lot of code to do 1 thing, and why is their syntax so radically different from everything that exists for regular programming? Munch examples... Now, pretend your an application programmer knowing only a lang...
by laranzu
Wed Jan 06, 2010 4:38 pm UTC
Forum: Gaming
Topic: Virtual Reality gaming?
Replies: 5
Views: 920

Re: Virtual Reality gaming?

It will be possible one in the next few decades, but won't be considered safe enough or be cheap enough to use for games for even longer. Yeah, safe and cheap are essential for a gaming device. There have been rumours floating around the virtual reality community since the 1990s that Sony designed ...
by laranzu
Tue Dec 08, 2009 12:42 am UTC
Forum: Coding
Topic: Any idea why this bit of Objective-C isn't working?
Replies: 2
Views: 542

Re: Any idea why this bit of Objective-C isn't working?

Something that bites me regularly with Objective-C: are you sure that notifications is not nil? If it's been set to nil, the addObject: message gets quietly ignored at runtime.

Could you provide a bit more detail about where notifications is declared and allocated?
by laranzu
Wed Oct 07, 2009 3:04 am UTC
Forum: Your art and links
Topic: Red-cyan stereogram strangeness
Replies: 5
Views: 2129

Re: Red-cyan stereogram strangeness

Let's consider just the left red eye (the right cyan eye is the same, just with the colours swapped). When you look at a black pixel, you'll see black, and when you look at a red pixel you'll see red. But when you look at a white pixel you'll see red, and when you look at a cyan pixel you'll see bl...
by laranzu
Tue Oct 06, 2009 10:00 pm UTC
Forum: Your art and links
Topic: Red-cyan stereogram strangeness
Replies: 5
Views: 2129

Re: Red-cyan stereogram strangeness

Looks like Image 1 has red on the left, and Image 3 has cyan on the left, maybe that's why they're reversed. That's the effect: I had to do that to make the stereo work properly with the black background. I'm really interested in the cause: why does red have to be on the left over a white backgroun...
by laranzu
Tue Oct 06, 2009 4:12 pm UTC
Forum: Your art and links
Topic: Red-cyan stereogram strangeness
Replies: 5
Views: 2129

Red-cyan stereogram strangeness

OK, I learned how to create red-cyan stereograms in Photoshop, and started messing around. And found something seriously strange. If you dig up a pair of cellophane glasses and point your browser at http://laranzu.deviantart.com/gallery/#_browse/scraps you'll see two versions of essentially the same...
by laranzu
Tue Sep 08, 2009 5:37 am UTC
Forum: Coding
Topic: C and C++ compiler for windows
Replies: 15
Views: 1386

Re: C and C++ compiler for windows

I've been trying to get my roommate's laptop set up so I can do homework for my C and C++ classes. It runs Windows so there are many different versions out there and I've so far installed visual c++ (ridiculously complicated) cygwin and gcc (compiled programs won't run in windows environment, kind ...
by laranzu
Tue Sep 08, 2009 5:30 am UTC
Forum: Coding
Topic: Delay between client and server [SOLVED]
Replies: 4
Views: 768

Re: Delay between client and server

I am writing a remote desktop program that only transmits the mouse and keyboard input over a LAN network. The client is receiving and transmitting the input with a delay of only 16ms (60fps). The server on the other hand is only receiving batches of packets. All of the information is still being r...

Go to advanced search