Search found 147 matches

by naschilling
Sun Oct 09, 2011 11:52 am UTC
Forum: Computer Science
Topic: Comp Sci Recommended Reading
Replies: 11
Views: 3811

Re: Comp Sci Recommended Reading

I'll agree that Kleinberg's "Algorithm Design" is a good book. I had a worthless professor for my algorithms class and that book is the reason I was able to pass. EvanD knows who I'm talking about.... I also really liked Stevens series on Network Programming, Volume 1 (ISBN: 9780134900124)...
by naschilling
Sun Oct 02, 2011 1:38 pm UTC
Forum: The Help Desk
Topic: Broken Audio on a new Motherboard
Replies: 4
Views: 1747

Re: Broken Audio on a new Motherboard

Most motherboards have front audio connectors. If the connector is incompatible or connected incorrectly, it makes front and back audio jacks performs much how you describe. Shut down the computer, disconnect the front audio connector, and try just using the rear ports.
by naschilling
Sat Oct 01, 2011 1:23 pm UTC
Forum: Computer Science
Topic: Algorithm Complexity Reduction
Replies: 12
Views: 3120

Re: Algorithm Complexity Reduction

Every day, a randomly determined flight path is generated for each player. At any time, the player may travel from any one planet to any other. It is possible to ignore your flight path and travel to a destination that you choose, but the cost is 2x more. In order to know if the base flight path is ...
by naschilling
Tue Sep 27, 2011 10:33 pm UTC
Forum: Computer Science
Topic: Algorithm Complexity Reduction
Replies: 12
Views: 3120

Re: Algorithm Complexity Reduction

The problem with the sort idea is that not all products cost the same order of magnitude. The most profitable item may go from $90,000 -> $110,000 on one route and may be $6 -> $7,000 on another. Just for the purpose of discussion, I actually built this as a Google Doc Spreadsheet . The problem come...
by naschilling
Tue Sep 27, 2011 5:57 pm UTC
Forum: Computer Science
Topic: Algorithm Complexity Reduction
Replies: 12
Views: 3120

Re: Algorithm Complexity Reduction

My apologies if my OP was unclear. I suspected there may not be any better mechanism because the output is N^2 values, but I considered that there might have been a mechanism using vectors that wasn't apparent to me. It's always nice to get extra eyes on the problem.
by naschilling
Mon Sep 26, 2011 7:58 pm UTC
Forum: Coding
Topic: Creating a GUI for subversion server
Replies: 5
Views: 1611

Re: Creating a GUI for subversion server

You seem to have the fundamentals there. The only change I would make it to properly utilize the Mac OS X folder structure. Specifically, place the folder for the root server directory in /Library/SNVRoot or /Library/Application Support/SNVRoot. I would recommend reviewing the Cocoa documentation ab...
by naschilling
Mon Sep 26, 2011 7:50 pm UTC
Forum: Computer Science
Topic: Algorithm Complexity Reduction
Replies: 12
Views: 3120

Algorithm Complexity Reduction

I built a simple script to perform some search/optimization for me, and I'm wondering there is a way to reduce it's runtime and complexity significantly. Here's the problem. There are P products {p0, p1, p2, p3,... p(P-1)}. There are N planets {n0, n1, n2, n3, ... n(N-1)}. The cost of each product, ...
by naschilling
Sun Sep 25, 2011 3:49 pm UTC
Forum: The Help Desk
Topic: broke my pc, may be an idiot
Replies: 4
Views: 1449

Re: broke my pc, may be an idiot

I am so pleased to hear someone take responsibility for possibly messing up their own computer. So many people try to get out of the blame that it sickens me. Thanks for taking responsibility for the momentary lapses in judgement that we all experience. Can you identify the socket type? It is likely...
by naschilling
Thu Sep 22, 2011 9:34 pm UTC
Forum: Coding
Topic: Localization in Visual Studio 2010
Replies: 5
Views: 2448

Re: Localization in VS 2010

I read the title of this post a dozen times before I understood it. I kept reading it as "Localization in Versus 2010," not "Localization in Visual Studio 2010." I will admit, I've all but stopped using Visual Studio. It's ironic that I think Microsoft has some of the best ideas ...
by naschilling
Thu Sep 22, 2011 9:21 pm UTC
Forum: Coding
Topic: WINDOWS: Let's say I have a *bunch* of files in one folder
Replies: 20
Views: 3274

Re: WINDOWS: Let's say I have a *bunch* of files in one fold

I don't know, it seems like it's technically possible for the second drive to fail while it's mirroring itself to the third drive. You probably want to get all the drives from different manufacturers for optimal paranoia. If the drives have different specs, the array can get out of sync easily. I s...
by naschilling
Thu Sep 22, 2011 2:28 am UTC
Forum: Coding
Topic: WINDOWS: Let's say I have a *bunch* of files in one folder
Replies: 20
Views: 3274

Re: WINDOWS: Let's say I have a *bunch* of files in one fold

When I was young, we did a backup of our 200 MB hard drive onto 3.5" disks and we required 36 of them (thank goodness for compression) and many hours (25 Mhz SX 486 processor to a floppy). Back in around 1994, I read an article titled, "CD-ROM: A Flash in the Pan." (Or very similar. I...
by naschilling
Wed Sep 21, 2011 11:20 pm UTC
Forum: Coding
Topic: WINDOWS: Let's say I have a *bunch* of files in one folder
Replies: 20
Views: 3274

Re: WINDOWS: Let's say I have a *bunch* of files in one fold

I'm going to just throw this out here. Maybe you already see the problem, but I'll say it anyways: 500 GB of data will produce 100 DVDs of data. This is not a terribly effective solution for your backup needs. Have you considered an external hard drive or a device like a Time Capsule?
by naschilling
Fri Sep 16, 2011 2:49 pm UTC
Forum: The Help Desk
Topic: SUse drivers for an old card, plus general Linux fails
Replies: 4
Views: 1323

Re: SUse drivers for an old card, plus general Linux fails

I'd suggest switching Ubuntu for most beginners. I do not use SUSE, and I am in no way, saying it is a bad distro. I suggest Ubuntu only because it has a larger user base, which leads to more information being available to help resolve issues. Despite my recommendation that beginners start with Ubun...
by naschilling
Tue Sep 13, 2011 1:18 pm UTC
Forum: Mathematics
Topic: Calculus derivative help
Replies: 4
Views: 1507

Re: Calculus derivative help

The slop of a line the derivative. So the function for the curve would be dy/dx = 8x - 6x 2 . The slope of the line at x=a would be 8a - 6a 2 . *** Edit *** As I think about your post, I suspect you aren't actually doing true derivatives yet. Is that true? Do you know how to do basic derivatives? d(...
by naschilling
Mon Sep 12, 2011 1:39 pm UTC
Forum: The Help Desk
Topic: Looking for free private git hosting
Replies: 3
Views: 1353

Re: Looking for free private git hosting

Have you considered the option of just hosting your own? Even a virtual machine would be adequate.
by naschilling
Mon Sep 12, 2011 1:37 pm UTC
Forum: Coding
Topic: Returning a value from an Ajax call to HTML
Replies: 33
Views: 5367

Re: Returning a value from an Ajax call to HTML

This is what I tried to point out in my post on Friday. In your call to $.ajax, you need to pass an Object as data, not a simple value. Then you retrieve them in PHP using the Object's keys.
by naschilling
Mon Sep 12, 2011 5:30 am UTC
Forum: The Help Desk
Topic: Monitor is getting no signal from HP server
Replies: 4
Views: 2494

Re: Monitor is getting no signal from HP server

There are frequently multiple batteries in servers to ensure that if one dies or is removed the values are not lost. I would suggest actually researching how to reset the BIOS with a jumper on that system.
by naschilling
Sat Sep 10, 2011 11:41 pm UTC
Forum: Religious Wars
Topic: How do you pronounce it?
Replies: 264
Views: 142749

jQuery live() pronunciation

So I got into a discussion a few days ago on the pronunciation of the jQuery call `live()`. I said live (short i), the opposite of die. This pronunciation felt most accurate because the call to undo this action is `die()`. My opponent declared it as live (long i), as similar to active. He argued tha...
by naschilling
Sat Sep 10, 2011 11:32 pm UTC
Forum: The Help Desk
Topic: Monitor is getting no signal from HP server
Replies: 4
Views: 2494

Re: Monitor is getting no signal from HP server

I had a similar problem a while back on an HP MicroServer. The server was running and working, evident from the ability to SSH into it. However when I connected a monitor to the integrated video adapter, the monitor got no signal. I spent a good while troubleshooting, but I didn't get anywhere. I ha...
by naschilling
Sat Sep 10, 2011 10:08 pm UTC
Forum: Hardware
Topic: Help me get my calculator WiFi!
Replies: 8
Views: 5024

Re: Help me get my calculator WiFi!

I'd have to find it again, but I read that the TI-84 Silver that has the USB support only works with Flash devices. A few forum posts said that they had attempted to use a USB hub and it didn't work. Regardless, let's ignore the USB stack for a minute. The 4-pin interface that you mention the device...
by naschilling
Sat Sep 10, 2011 9:52 pm UTC
Forum: Computer Science
Topic: What If... (P?NP Related)
Replies: 12
Views: 4006

Re: What If... (P?NP Related)

Using it for private gain would be much more beneficial. I'm pretty confident that it has already been solved.
by naschilling
Sat Sep 10, 2011 9:50 pm UTC
Forum: Coding
Topic: C Preprocessor Macros
Replies: 16
Views: 8696

Re: C Preprocessor Macros

There are plenty of other ways to write the DBG_MSG macro that I list above. Writing it as an inline function is an option, but I prefer it as a macro. I absolutely acknowledge that it can, and does, behave poorly in some situations, as EvenED pointed out above, but writing if/else blocks, without b...
by naschilling
Sat Sep 10, 2011 9:26 pm UTC
Forum: Coding
Topic: Help with a project
Replies: 8
Views: 2430

Re: Help with a project

Iterative deepening is probably the best way to solve it. It seems like a useful heuristic function would be nearly impossible to write, so A-star search is out.

I'm tempted to write up a the program now just to test various search methods out, but I don't really have the time to waste right now.
by naschilling
Fri Sep 09, 2011 5:07 pm UTC
Forum: Hardware
Topic: Help me get my calculator WiFi!
Replies: 8
Views: 5024

Re: Help me get my calculator WiFi!

You don't even have a full USB stack on a TI-84. You have a weird bastardization built for flash drives only. I doubt a hub would even work. It still would be interesting to test though. Even if you had the ability to code what needs to be done and the calculator could handle it, you're looking at Y...
by naschilling
Fri Sep 09, 2011 5:04 pm UTC
Forum: Coding
Topic: Returning a value from an Ajax call to HTML
Replies: 33
Views: 5367

Re: Returning a value from an Ajax call to HTML

Your problem is the format of your `datas` object. For a reference, see here . /* Uses this */ var datas = {id: $(this).attr('id')}; /* In place of */ var datas = $(this).attr('id'); /* And then use this */ $data = = $_POST['id']; /* Instead of */ $data = json_encode($_POST['data']); `json_encode` i...
by naschilling
Fri Sep 09, 2011 1:31 pm UTC
Forum: Coding
Topic: C Preprocessor Macros
Replies: 16
Views: 8696

C Preprocessor Macros

In this thread , EvenED and I both mention the evils of C Preprocessor Macros. Although we know they are evil, everyone still uses them once in a while. What are your most commonly used macros? Mine is Debug Printing: #define DBG_LVL DBG_NONE //Can be changed to any level #define DBG_NONE (0)...
by naschilling
Fri Sep 09, 2011 3:25 am UTC
Forum: Hardware
Topic: Help me get my calculator WiFi!
Replies: 8
Views: 5024

Re: Help me get my calculator WiFi!

The idea of Linux on a TI Calculator got me thinking and I did some searches. The crappy screen aside, the processor is 15 Mhz, there is only 128k RAM, and under 2 MB storage (or less). I know DD-WRT has versions that only need 2 MB of storage, but they still use several megabytes of RAM. I think yo...
by naschilling
Fri Sep 09, 2011 3:11 am UTC
Forum: Hardware
Topic: Help me get my calculator WiFi!
Replies: 8
Views: 5024

Re: Help me get my calculator WiFi!

This is a really cool idea, but the amount of work it would need to make it work is ludicrous. The power issue is a simple matter of using a powered USB hub. The real problem comes from the WiFi driver. We still don't have working drivers for Linux for many WiFi cards. After that, if you're a really...
by naschilling
Fri Sep 09, 2011 3:01 am UTC
Forum: Computer Science
Topic: Portable and safe applications?
Replies: 12
Views: 2795

Re: Portable and safe applications?

The part that really bothers me about this whole conversation is that Browsers and OS are fundamentally different, yet their roles have become increasingly similar. They both are now involved in sandboxing, permissions, virtualization, and 3D graphics. How did WebOS fail?
by naschilling
Fri Sep 09, 2011 2:41 am UTC
Forum: Coding
Topic: Help with a project
Replies: 8
Views: 2430

Re: Help with a project

I like having you guys around. You keep me honest. Otherwise, I could easily see myself deliberately lying to beginners just for the fun of it. When I posted my original replay, I sat dreading the response because I knew there are several of those items that are more controversial than others. I'm g...
by naschilling
Thu Sep 08, 2011 5:53 pm UTC
Forum: Coding
Topic: Help with a project
Replies: 8
Views: 2430

Re: Help with a project

Fair warning: What I'm going to say will probably hurt your feelings, but it will make you a better programmer. You should work to improve the clarity and layout of your code. Code is written once and read hundreds of times. Code that looks like it should work, generally does. If you think you're sa...
by naschilling
Wed Sep 07, 2011 1:07 am UTC
Forum: Coding
Topic: Node.js
Replies: 8
Views: 4375

Re: Node.js

The longer I think about it, the better it sounds. I'm paralleling it to the cloud-based services where the processing is handled separate from file storage or database interaction. Once that abstraction is made, I can more easily see how each request takes a minimal amount of processor time. It sti...
by naschilling
Tue Sep 06, 2011 9:48 pm UTC
Forum: Coding
Topic: Node.js
Replies: 8
Views: 4375

Node.js

I've been a long time user of Apache (since 1.3) and I have in depth knowledge of the modular design and processing mechanisms. However, lately I've been hearing more about less traditional servers, such as Node.js. It's JavaScript based and uses the Chrome V8 engine, which is no surprise, which giv...
by naschilling
Tue Sep 06, 2011 12:20 pm UTC
Forum: The Help Desk
Topic: Wifi Issues, Please Help!
Replies: 2
Views: 1255

Re: Wifi Issues, Please Help!

When I searched for the router name, all the results were in an Asian character set (I can't tell the difference between Chinese, Japanese, or Korean). This gave me the idea that perhaps this router is not from the US, and therefor does not adhere to US FCC channel restrictions. In the US, there are...
by naschilling
Wed Aug 31, 2011 10:26 pm UTC
Forum: Computer Science
Topic: Can a universe-sized computer crack an SMS-sized password?
Replies: 37
Views: 12090

Re: Can a universe-sized computer crack an SMS-sized passwor

I have to admit, this is one of the best questions, albiet most random, questions I've ever heard. According to Tom's Hardware using a single modern computer with a few beefy graphics card, they can check around 1,000,000 (10^6) passwords per second. For a moment, let's try to crack that 160-charact...
by naschilling
Wed Aug 31, 2011 9:58 pm UTC
Forum: Hardware
Topic: Multiple analog audio ports
Replies: 4
Views: 1700

Re: Multiple analog audio ports

Nearly all motherboards have connectors for front audio connectors. Many, if not most, of those will automatically disable the rear connector when the front one is in use. For more details, RTFM.
by naschilling
Wed Aug 31, 2011 9:53 pm UTC
Forum: Coding
Topic: Open ended Project
Replies: 11
Views: 2432

Re: Open ended Project

You should read this thread.
by naschilling
Mon Aug 29, 2011 3:41 am UTC
Forum: The Help Desk
Topic: Suddenly 200KB/s?
Replies: 6
Views: 1878

Re: Suddenly 200KB/s?

If you have a feature-packed router firmware, like DD-WRT, you could check your uplink a bit more to find the bottle neck. Unfortunately, I suspect the previous post is correct that you are now simply sharing with everyone else in your dorm/school. When everyone is moved in to the dorms and classes ...
by naschilling
Mon Aug 29, 2011 3:37 am UTC
Forum: The Help Desk
Topic: Mysterious lag spikes, probably PPStream-Induced
Replies: 5
Views: 2488

Re: Mysterious lag spikes, probably PPStream-Induced

Over-buffering can increase latency, but not to that extent. At 3.0 Mbps, to increase latency by 2,000 ms, you'd need to add 6 MB to the buffer. Probably not happening. With a generic router, I'd recommend installing DD-WRT firmware and then enabling QoS to shape and prioritize traffic. Unfortunatel...
by naschilling
Sun Aug 28, 2011 8:22 pm UTC
Forum: Hardware
Topic: MacBook Air
Replies: 4
Views: 2105

MacBook Air

My 15" MacBook Pro is aging and I've decided it is a good time to upgrade. My current model is MacBookPro5,4 Mid 2009 model . In terms of performance and storage, it still can do everything that I need it to do. There are only two problems: I need a bigger screen and I need it to be more portab...

Go to advanced search