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 - AngelFish

Pages: 1 ... 35 36 [37] 38 39 ... 215
541
Miscellaneous / Re: Too many things
« on: August 09, 2011, 04:20:01 pm »
All of the programming options sound pretty good, although I can't really imagine a whole lot of direct use for Assembly in the vast majority of games. However, games programming brings together a lot of separate programming disciplines, so I'd suggest taking a lot of time to read about algorithms to solve problems; Sorting algorithms, Linked lists, Complexity theory, the Marching Cubes algorithm, etc... Knowing how other people have solved these problems before is pretty important.

542
Humour and Jokes / Re: Save IE6!
« on: August 09, 2011, 04:14:09 am »
In case anyone's curious, IE was the product of a team of developers undergoing testing for the "Ballmer peak." The testing, of course, failed miserably and what should have been equivalent to Firefox 4 was actually... as bad as IE.


543
Computer Programming / Re: LLVM IR vs. GCC IR?
« on: August 08, 2011, 10:58:52 pm »
GCC is such a PITA because the compiler is a mess.

However, portability wise, GCC is better. It supports more platforms and it runs on more platforms. However, LLVM is a lot newer than GCC and it has a more advanced architecture, allowing for better optimizations and faster compilation.

For control over the output source, I'd guess that they're both probably about equal in expressive power. LLVM is likely easier to express ASM in, though.

PS: If you're trying to make a compiler as I suspect you are, may I instead recommend something like YACC or ANTLR?

544
Computer Programming / Re: permissions DENIED!
« on: August 08, 2011, 04:51:23 pm »
* Qwerty.55 was double Ninja'd
* Qwerty.55 uses !quote 100

545
Computer Programming / Re: permissions DENIED!
« on: August 08, 2011, 04:48:55 pm »
It looks like you're trying to access something improperly. First of all, you should check that your types are all in order. Also, make sure that you have something in the clipboard beforehand to test it with. Some systems respond differently when the clipboard is empty.

EDIT: Graphmastur is right.

546
Grammer / Re: Grammer
« on: August 08, 2011, 04:31:43 pm »
The USB hardware is pretty complicated and partially undocumented. I'd recommend looking at the relevant WikiTI page for a general idea.

547
Math and Science / Re: Sorting Algorithms
« on: August 08, 2011, 02:37:28 am »
If you don't need a faster algorithm use that. However, looking at the wikipedia page turns up division by a floating point number, which is likely to be slow.

548
Math and Science / Re: Sorting Algorithms
« on: August 08, 2011, 02:30:24 am »
Flashsort would probably be a pretty good choice if you have a lot of sprites (>80).

http://www.neubert.net/Flacodes/FLACodes.html#Sprung3

Use Quicksort otherwise.

549
Math and Science / Re: Sorting Algorithms
« on: August 08, 2011, 02:26:07 am »
What type of data is being sorted? What order do the data need to be sorted in? How much memory is available? Will the data be fairly well ordered or generally random? What language is this in? Is speed more important than memory usage?

Without that information, I'd say use Quicksort or Flashsort if the data set is expected to fit their best/average case scenarios.

550
ASM / Re: 68k 64-bit multiplication
« on: August 07, 2011, 10:15:04 pm »
Unary is one type of Base 1 system. However, there are other types involving symbol collision which are currently in dispute on IRC :P

551
ASM / Re: 68k 64-bit multiplication
« on: August 07, 2011, 09:13:12 pm »
Base 0 isn't defined, but base 1 is by 0↦0↺ ∀ {ai+ 110∈ ℝ}

552
ASM / Re: 68k 64-bit multiplication
« on: August 07, 2011, 03:54:58 pm »
With a calculator handy :P

The basic fact you end up using is that any number x can be represented in base z as ∑aizi

553
Math and Science / Re: Interval arithmetic questions
« on: August 07, 2011, 03:40:12 pm »
It depends on what you're asking. If you're asking how to add the null set to an interval, it's undefined. If you're asking how to add an interval equivalent to ]a,a[, then the answer is that the interval remains unchanged.

554
ASM / Re: 68k 64-bit multiplication
« on: August 07, 2011, 05:52:58 am »
Um, fractions aren't defined for INTEGER data types, which are all the Windows calculator deals with in programmer mode.
That was basically the point of my gripe: that it supports only integers in Programmer mode. It would be nice if it supported fractions in hexadecimal, octal, and binary. (Hexadecimal/octal/binary are not integer types; they are bases).

For example, if I want to see what 2.375 is in binary, I use the standard Gnome calculator (gcalctool) and switch to binary. 2.375 decimal is 10.011 in binary, 2.6 in hexadecimal, or 2.3 in octal. It's really handy for calculating fixed-point values, for example (which is a common task in some areas of PROGRAMMING), but the Windows calculator can't do this basic task.

I know that hexadecimal and the rest are bases. I've worked in some pretty crazy bases before (base -5i, anyone?) :P

All I was saying was that the Windows calculator only handles one data type in that particular mode and the operations you'd like aren't defined for that data type. Calculator is like Notepad. It works, but it doesn't have a lot of nice features. I'm frankly surprised they even put Integer data types in there. Personally, I never need more than integer types, but a cursory glance at Google shows some calculators you can use.

555
Miscellaneous / Re: IRC over Telnet
« on: August 07, 2011, 12:18:20 am »
I can't keep a connection up for longer than one exchange.

Also, your sig spoilers aren't very spoilerish in raw html :P

Pages: 1 ... 35 36 [37] 38 39 ... 215