Search found 896 matches

by stephentyrone
Sat Apr 23, 2011 1:58 am UTC
Forum: Religious Wars
Topic: Best language for n00bs
Replies: 261
Views: 107835

Re: Best language for n00bs

You can't take those details into account. Maybe a handful of people in the entire world can do so properly for a single CPU . Nobody can do so generally - it's just *far* too complex for our human minds. We don't have the correct kind of intelligence to do that. (That's why we *invented* computers...
by stephentyrone
Mon Apr 18, 2011 5:19 pm UTC
Forum: Individual XKCD Comic Threads
Topic: 0887: "Future Timeline"
Replies: 192
Views: 58322

Re: 0887: "Future Timeline"

In the year 3030, everybody wants to be a DJ.
by stephentyrone
Sun Mar 13, 2011 11:06 pm UTC
Forum: Religious Wars
Topic: manual versus paddle shifters
Replies: 17
Views: 5797

Re: manual versus paddle shifters

Paddle-shifters mated with a good transmission are inarguably technically superior (at least on small cars with reasonable steering ratios).

That said, I intend to drive a stick as long as it is practical to do so. It just feels more comfortable / old habits / etc.
by stephentyrone
Sun Mar 13, 2011 11:01 pm UTC
Forum: Religious Wars
Topic: Curly Brackets Go Where?
Replies: 94
Views: 19987

Re: Curly Brackets Go Where?

Just me, but if you're going to have the line '} else {' all on 1 line, then for consistency, wouldn't it make sense to have your procedure name stubs done the same one, e.g. Of course not. Functions aren't if/else blocks, and there's nothing inconsistent about applying different formatting to diff...
by stephentyrone
Thu Feb 24, 2011 11:43 pm UTC
Forum: Hardware
Topic: The King of Scientific Calculators
Replies: 10
Views: 4021

Re: The King of Scientific Calculators

mosc wrote:If you want to look like a real nerd, put an HP12c on your desk.


*Ahem* 15c or 16c. The 12c was the "financial" model, which nerds have no use for.
by stephentyrone
Wed Feb 02, 2011 7:51 pm UTC
Forum: Computer Science
Topic: Turing Completeness in weird places
Replies: 32
Views: 19968

Re: Turing Completeness in weird places

A video game running on (an approximation of) a turing-complete system is not an interesting or surprising place to find turing-completeness. You can't throw a rock at a computer without finding something turing-complete. Human heart tissue was a surprising place to find (possible) turing completene...
by stephentyrone
Sat Jan 29, 2011 3:39 pm UTC
Forum: Hardware
Topic: NOT Baking Eggs. (Incubator design-PWM question)
Replies: 9
Views: 4714

Re: NOT Baking Eggs. (Incubator design-PWM question)

I find my chickens make pretty good incubators. =)
by stephentyrone
Wed Jan 26, 2011 9:03 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 10016
Views: 2033311

Re: Coding: Fleeting Thoughts

Like _Axle_ said, this is much likely to be caused by local truncation error / non-conservation of your integrator then by floating-point precision issues. Any kind of systematic drift, especially, is almost certainly caused by non-conservation of the method, because floating-point arithmetic roundi...
by stephentyrone
Mon Jan 17, 2011 5:09 pm UTC
Forum: Religious Wars
Topic: HTML5 or Flash?
Replies: 182
Views: 30353

Re: Html5

If you bake a proprietary format into the web framework, whoever owns the patent for that format has an automatic monopoly on that content. Unlike WebM, h.264 is not a proprietary format. To be fair, Google seems to want to set up an open standard for WebM, but it hasn't happened yet, as far as I'm...
by stephentyrone
Mon Jan 17, 2011 9:20 am UTC
Forum: Religious Wars
Topic: HTML5 or Flash?
Replies: 182
Views: 30353

Re: Html5

I was going to leave this alone, especially now that it's moved to RW, but seriously, what the hell: Here's the thing. All right-thinking people want to avoid royalty-encumbered technologies from being baked into the web platform. h.264 is royalty-encumbered, thus all right thinking people want to a...
by stephentyrone
Fri Jan 14, 2011 5:29 pm UTC
Forum: Mathematics
Topic: Potato Chip Theorem- What's the real name?
Replies: 20
Views: 3232

Re: Potato Chip Theorem- What's the real name?

gmalivuk wrote:And one of the early suppositions in this very thread was that we're talking about smooth shapes, which a cube isn't.


Though I think it probably extends to "continuous and smooth except on a subset of measure zero" (or something similar) shapes, which a cube is.
by stephentyrone
Wed Jan 12, 2011 1:35 am UTC
Forum: Religious Wars
Topic: HTML5 or Flash?
Replies: 182
Views: 30353

Re: Html5

Xanthir wrote:Chrome will be dropping support for H.264! <3 my employer. This move is a great salvo in the codec war.


So when will Chrome be dropping support for flash?
by stephentyrone
Tue Jan 11, 2011 6:35 am UTC
Forum: Hardware
Topic: Minor iPod case question!
Replies: 4
Views: 1090

Re: Minor iPod case question!

Probably not. the 4th gen touch is quite different in shape from both the iPhone4 and the 3G (well, the shape is similar to the 3G, but much thinner).
by stephentyrone
Tue Jan 11, 2011 6:10 am UTC
Forum: Hardware
Topic: My lapto's keyboard just broke
Replies: 6
Views: 1425

Re: My lapto's keyboard just broke

Laptops are like ziplock containers. They may seem like Tupperware at first and you may expect them to last but after some use, they'll fall apart and reveal themselves as the semi-disposable overpriced pieces of garbage they are. Y'know, I've been using various laptops as my primary machine (all d...
by stephentyrone
Tue Jan 11, 2011 6:05 am UTC
Forum: Hardware
Topic: Powerful Smartphones?
Replies: 5
Views: 1387

Re: Powerful Smartphones?

The fastest Cortex A8 in MHz is definitively faster than any other A8-based SoC at integer code. No, the fastest Cortex A8 is the one that has the best software running on it. =) Integer code is what matters for mobile phone code, FP operations are not relevant and just indicate whether they turned...
by stephentyrone
Tue Jan 11, 2011 5:48 am UTC
Forum: Mathematics
Topic: Computers for Grad school
Replies: 10
Views: 2289

Re: Computers for Grad school

If you have a mac and you like it, keep it. It'll run everything that is actually relevant to life as a math grad student (LaTeX, mostly, but other stuff too). As an aside, I don't know of any interesting mathematical software on windows; everything of interest (to me, at least) either runs on *nix ...
by stephentyrone
Thu Jan 06, 2011 7:40 pm UTC
Forum: Mathematics
Topic: Difference between applied math & math (undergrad)
Replies: 15
Views: 2036

Re: Difference between applied math & math (undergrad)

According to these threads, concepts such as Aleph notation, ordering, Axiom of Choice, Continuum Hypothesis, Cardinal Numbers, Harmonic Analysis, Lebesgue measure, Torus bundles, Lambek calculus, etc. are apparently foundational principles required to understand any college-level math, and yet I'v...
by stephentyrone
Tue Jan 04, 2011 7:27 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 10016
Views: 2033311

Re: Coding: Fleeting Thoughts

Doesn't happen for me when I try this: Do you run 32-bit or 64-bit PHP? The comments say it only happens on 32-bit systems, and some clicks away I bumped into a page saying it is because the FP calculations are done with different precisions on different architectures. It's whatever came with Mac O...
by stephentyrone
Thu Dec 30, 2010 5:20 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 10016
Views: 2033311

Re: Coding: Fleeting Thoughts

On my system, it consistently outputs the following characters: 0x8d 0x7c 0x0a 0x15 0x00 It's going to print whatever happens to be on that part of the stack when main is called. I would expect it to either be zero, or noise leftover from some process setup in start( ) or similar, depending on the ...
by stephentyrone
Thu Dec 30, 2010 3:07 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 10016
Views: 2033311

Re: Coding: Fleeting Thoughts

.text .globl    main main:     pushl   %ebp // establish a frame     movl    %esp,  %ebp     andl    $-16,  %esp // align the stack     subl    $32,  %esp // allocate stack space for the string     nop .L2:     movl 28(%esp), %eax // pointer to stack space that would hold the string if it were ther...
by stephentyrone
Mon Dec 27, 2010 5:18 am UTC
Forum: Religious Wars
Topic: Is Java is a bad language for beginners?
Replies: 234
Views: 134424

Re: Is Java is a bad language for beginners?

Performance analysis is still important, but is losing importance with every new chip that comes out. No. Ten thousand times no. Performance analysis is always and will always be important (ok, for the foreseeable future). Even if there's no perceptible difference in user-level application performa...
by stephentyrone
Mon Nov 15, 2010 5:36 pm UTC
Forum: Coding
Topic: [Unnecessarily-] Compact coding tricks
Replies: 112
Views: 17558

Re: [Unnecessarily-] Compact coding tricks

The following are actually somewhat readable, assuming you know what &, |, and % mean. if (x & y < 0){  printf ("Both x and y are negative.\n");}if (x | y < 0){  printf ("Either x or y is negative.\n");}  Comparison has higher precedence than bitwise operators. You need parentheses.
by stephentyrone
Thu Oct 07, 2010 6:39 am UTC
Forum: Mathematics
Topic: interesting integral proof i just can't solve...
Replies: 5
Views: 1244

Re: interesting integral proof i just can't solve...

At least when n is even, this looks like a prime candidate for contour integration. The integral around a semicircle in the upper half-plane is the integral along the real line plus the integral along the circular arc, which tends to zero as the radius gets large. The residues at the poles are easi...
by stephentyrone
Tue Oct 05, 2010 4:12 am UTC
Forum: Hardware
Topic: Mac Book pro 15.5 i5
Replies: 37
Views: 3298

Re: Mac Book pro 15.5 i5

Of course, Macs don't have USB 3.0, so it looks like they are using their exclusive format to hike up prices. This despite the fact that USB 3.0 has what, five times the speed? More with super? I assume by "exclusive format", you mean IEEE-1394 , which is a standard bus specification. USB...
by stephentyrone
Thu Sep 30, 2010 9:22 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 10016
Views: 2033311

Re: Coding: Fleeting Thoughts

tckthomas wrote:
squareroot wrote:Because downloading a new one off the internet is so excruciatingly painful?

Yes, because I have a Mac. Wonderful, isn't it?

There are multiple compilers for OS X that can be downloaded off the internet. Apple's gcc tools, llvm/clang, mainline gcc, and icc, to name just a few.
by stephentyrone
Wed Sep 22, 2010 7:53 pm UTC
Forum: Mathematics
Topic: Wanted: Simple, rational orthogonal matrix
Replies: 11
Views: 2630

Re: Wanted: Simple, rational orthogonal matrix

You may also find this paper ("The generation of all rational orthogonal matrices") useful: http://www.jstor.org/pss/2323943
by stephentyrone
Wed Sep 22, 2010 5:14 am UTC
Forum: Coding
Topic: LOLCODES: Great Language or Greatest Language?
Replies: 13
Views: 3430

Re: LOLCODES: Great Language or Greatest Language?

unlambda is the greatest. LOLCODES is a distant first runner-up.
by stephentyrone
Tue Sep 21, 2010 4:31 pm UTC
Forum: Coding
Topic: Which assembler?
Replies: 6
Views: 1351

Re: Which assembler?

@stephentyrone: do I understand correctly that you wouldn't really recommend Intel syntax over AT&T syntax, unlike most other sources that I consulted? Chocolate or strawberry. My experience is that it doesn't matter; just pick one and learn it. The Intel documentation uses Intel syntax, so you...
by stephentyrone
Tue Sep 21, 2010 4:33 am UTC
Forum: Coding
Topic: Which assembler?
Replies: 6
Views: 1351

Re: Which assembler?

Note that if you installed the developer tools, you already have the gcc assembler (and NASM). You can invoke the gcc assembler on the command line with "as", or you can have assembler-with-the-c-preprocessor (often useful) via "gcc someFile.s". You can also write assembly in an ...
by stephentyrone
Tue Sep 14, 2010 10:24 pm UTC
Forum: Hardware
Topic: Questions about SSDs
Replies: 31
Views: 4260

Re: Questions about SSDs

Yeah, for the vast majority of people, MB/sec/$ is a completely meaningless number. More likely you fall into one of three groups: a) There's a minimum acceptable threshold for MB/sec; you want the cheapest solution that gets you there (or choose among the drives that get you there according to some...
by stephentyrone
Tue Sep 14, 2010 10:17 pm UTC
Forum: Computer Science
Topic: HAKMEM question
Replies: 4
Views: 1926

Re: HAKMEM question

Yeah, zero is the only fixed point that's round-trippable. Sorry.
by stephentyrone
Fri Sep 10, 2010 8:31 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 10016
Views: 2033311

Re: Coding: Fleeting Thoughts

Berengal wrote:What datastructure do pirates use the most?

Arrays.


Actually, they prefer hash tables. Common misconception.
by stephentyrone
Tue Sep 07, 2010 5:37 pm UTC
Forum: Hardware
Topic: i7-620M vs i5-540M vs i5-520M
Replies: 3
Views: 3715

Re: i7-620M vs i5-540M vs i5-520M

Anandtech did a writeup on this a while back: http://www.anandtech.com/show/3659/appl ... e-to-get/3
by stephentyrone
Thu Sep 02, 2010 2:55 pm UTC
Forum: Coding
Topic: The "IT DOESN'T WORK!" thread
Replies: 1963
Views: 571968

Re: The "IT DOESN'T WORK!" thread

TheChewanater wrote:What extra = sign? I'm pretty sure this is what it was meant to be:

Code: Select all

for (int i = cnt - 1; i >= 0; i--)


Should have used the goesto operator. Never miss an opportunity to lead an innocent mind astray. It also has the virtue of working with unsigned types.

Code: Select all

for (int i = cnt; i --> 0;)
by stephentyrone
Wed Sep 01, 2010 3:25 pm UTC
Forum: Coding
Topic: Unbounded integers
Replies: 9
Views: 3499

Re: Unbounded integers

Another algorithm I was thinking of was Long multiplication which then led me to the Schönhage–Strassen algorithm which looks very interesting but difficult to implement. Start with Karatsuba multiplication before you dive into the FFT-based methods. It's almost as easy to implement as long multipl...
by stephentyrone
Tue Aug 31, 2010 7:40 pm UTC
Forum: Religious Wars
Topic: Mac vs PC
Replies: 162
Views: 49797

Re: Mac vs PC

Unless things have changed with the newest OS-X (leopard?) bigtiff is not supported natively. Its only a 6 year old standard... Snow Leopard is the current OS X; Leopard is almost three years old. Bigtiff is still spottily supported on all platforms, last I checked (Wikipedia agrees). It's also wor...
by stephentyrone
Tue Aug 31, 2010 3:31 pm UTC
Forum: Religious Wars
Topic: Mac vs PC
Replies: 162
Views: 49797

Re: Mac vs PC

For example, byte order in mac-formatted tiffs is reversed relative to IBM-formatted tiffs. Both byte orderings are defined in the TIFF encoding. A correct, complete TIFF implementation (as comes with OS X) will open or save either ordering. You have a broken implementation somewhere that only know...
by stephentyrone
Mon Aug 30, 2010 5:30 pm UTC
Forum: Coding
Topic: The "IT DOESN'T WORK!" thread
Replies: 1963
Views: 571968

Re: The "IT DOESN'T WORK!" thread

Post more of your code. Ideally the simplest complete program that reproduces the problem.
by stephentyrone
Mon Aug 30, 2010 5:25 pm UTC
Forum: Religious Wars
Topic: Desktop or Laptop?
Replies: 31
Views: 7108

Re: Desktop or Laptop?

Laptop, because price isn't really an issue. I'm a professional, and willing to pay for the best tools for my job (as is my employer). They generate much more money then they cost. I have a 17" laptop, which I connect to 24" IPS panels at work/home. For traveling, I have a 13" slim-an...

Go to advanced search