Search found 221 matches

by kmatzen
Fri Aug 20, 2010 5:27 pm UTC
Forum: Coding
Topic: Game Engine Architecture Design
Replies: 11
Views: 9128

Re: Game Engine Architecture Design

I really wish game engine architecture was something that was taught in school, or at least at my school. I know that you shouldn't always need to be taught something in order to do it, but there are so many ways of doing it that I'd like some guidance as to what worked and what didn't work for othe...
by kmatzen
Thu Aug 19, 2010 3:56 pm UTC
Forum: Computer Science
Topic: Worth joining the Golden Key?
Replies: 5
Views: 3501

Re: Worth joining the Golden Key?

Golden Key is sort of garbage from my experience. After my first semester in college, pretty much everyone in my hallway received a letter. They can base admission off of a single semester of courses and for most, the entry level courses that they have to take in the first semester are pretty easy. ...
by kmatzen
Thu Aug 19, 2010 12:06 am UTC
Forum: Coding
Topic: An Introduction to Java? Hn.
Replies: 12
Views: 2006

Re: An Introduction to Java? Hn.

The problem with this stratergy, is with the current system I'd fail. I need my naming stratergy to be as close to the lecturers as humanly possible, because marks are assigned on it. Computer marking seems sensible for cheat detection, but for 100% of my grade in the assignment... This system woul...
by kmatzen
Wed Aug 18, 2010 9:20 pm UTC
Forum: Coding
Topic: An Introduction to Java? Hn.
Replies: 12
Views: 2006

Re: An Introduction to Java? Hn.

That is, until we were given an assignment with simulated annealing. Outputs had to match EXACTLY. This just made me laugh out loud, for real. When we read it, it made us rage out loud. In theory it would have worked, but in practice a tiny mistake on when you called rand made your program garbage.
by kmatzen
Wed Aug 18, 2010 8:44 pm UTC
Forum: Coding
Topic: An Introduction to Java? Hn.
Replies: 12
Views: 2006

Re: An Introduction to Java? Hn.

I absolutely hate autograders in certain contexts. The one CS class I spent the most time programming in was an intro to data structures and algorithms course. The material was not very hard at all. However, the GSIs didn't follow the spec when they coded up some of the solutions and so it was almos...
by kmatzen
Tue Aug 17, 2010 3:15 am UTC
Forum: Coding
Topic: C++ Casting
Replies: 13
Views: 3178

Re: C++ Casting

I'm sorry, I don't use boost often and I misunderstood the problem statement on boost::variant's site. I thought their intent was to provide a data structure that functioned like a union. Originally, I thought that meant that you must provide the implementation for representing your data with each s...
by kmatzen
Tue Aug 17, 2010 12:41 am UTC
Forum: Coding
Topic: C++ Casting
Replies: 13
Views: 3178

Re: C++ Casting

void* was one of the ways I was considering implementing a multitype map which maps a key with a non-changing type to data with changing types. You should look into boost::variant. It provides a safe, generic way to do exactly what you want. I don't think that is quite what he wanted if I understan...
by kmatzen
Mon Aug 16, 2010 9:28 pm UTC
Forum: Coding
Topic: MySQL ad Visual Studio?!
Replies: 4
Views: 933

Re: MySQL ad Visual Studio?!

I didn't know you could use C# for server side processing, can you use any compiled language like C++? That textmarks website is cool, bookmarking that one. I also forgot that you can use Managed C++. It is not supported out of the box like C# and VB.NET. Anything that uses the CLR should work as t...
by kmatzen
Mon Aug 16, 2010 7:50 pm UTC
Forum: Coding
Topic: MySQL ad Visual Studio?!
Replies: 4
Views: 933

Re: MySQL ad Visual Studio?!

If you are going to use the GUI tools to design a database, then there might be some difficulty getting the versions to work. If you just want to generate the database separately and connect to it, then all you need is the connection string and credentials to configure it. VB.NET and C# provide the ...
by kmatzen
Mon Aug 16, 2010 5:02 pm UTC
Forum: Computer Science
Topic: good undergrad colleges for compsci and math
Replies: 10
Views: 2225

Re: good undergrad colleges for compsci and math

Nobody ever bothers to notice us at UMass Amherst because of the Bostonians, but we're actually pretty damn good in CS, especially if you like AI. They can talk your fucking pants off about AI here. I like some of the papers coming out of the robotics and biology lab and vision lab. However, I did ...
by kmatzen
Wed Aug 11, 2010 3:23 pm UTC
Forum: Computer Science
Topic: human vs Robot
Replies: 41
Views: 7252

Re: human vs Robot

xe3r wrote:
tuseroni wrote:sorry the topic seemed to silly to be serious


Why?


Why not?
by kmatzen
Tue Aug 10, 2010 5:18 pm UTC
Forum: Coding
Topic: MATLAB: Iteration to convergence
Replies: 8
Views: 9014

Re: MATLAB: Iteration to convergence

No, MATLAB doesn't really have a solve() command Sure it does. It's part of the symbolic manipulation toolbox. [x, y, z] = solve('x = c1 + y + z', 'y = c2 + 2*x + 3*x', 'z/x = 0.5') x = - (2*c1)/9 - (2*c2)/9 y = - (10*c1)/9 - c2/9 z = - c1/9 - c2/9 You're correct that it doesn't address the particu...
by kmatzen
Mon Aug 09, 2010 2:38 am UTC
Forum: Coding
Topic: Writing an algebra machine
Replies: 6
Views: 1409

Re: Writing an algebra machine

tias42 wrote:You must have had a pretty cool school. My school's CS program extended to image manipulation and making sure printers were plugged in.
Unless of course you just meant university.


Sorry, I did mean university.
by kmatzen
Sun Aug 08, 2010 2:16 pm UTC
Forum: Computer Science
Topic: What does computer science involve?
Replies: 5
Views: 4804

Re: What does computer science involve?

One common thing i did find is that most unis like to give you a large project towards the end that makes up a lot of the marks so if software engineering ain't your thing you may want to look else where. I had something like that at my school, but the design project wasn't weighted any differently...
by kmatzen
Sun Aug 08, 2010 2:01 pm UTC
Forum: Coding
Topic: Writing an algebra machine
Replies: 6
Views: 1409

Re: Writing an algebra machine

thoughtfully wrote:Python isn't bad, but this is a very natural problem for functional languages, and indeed, most computer algebra systems (all of the more sophisticated ones, I believe) are or were written in Lisp.


We had to write something like this in school and the language of choice was Lisp.
by kmatzen
Wed Aug 04, 2010 11:23 am UTC
Forum: Computer Science
Topic: Why were certain types of encryption illegal until recently?
Replies: 29
Views: 13810

Re: Why were certain types of encryption illegal until recen

sudo-illusionist wrote:The issue within the US for example relates to the bit size of the encryption key used to encrypt the data. It is illegal to encrypt data with a key size greater than 128 bits.


Where are you getting this? Cite your source. TLS functions with 1024 and 2048 bit keys.
by kmatzen
Tue Aug 03, 2010 11:05 pm UTC
Forum: Computer Science
Topic: Subset sum-like problem.
Replies: 4
Views: 1829

Re: Subset sum-like problem.

He said he wants to find all solutions.

I was confused at first as well.
by kmatzen
Tue Aug 03, 2010 9:36 pm UTC
Forum: Coding
Topic: Syntax Highlighting in Visual Studio
Replies: 4
Views: 2135

Re: Syntax Highlighting in Visual Studio

When I interned for Microsoft, my team used a plugin called Visual Assist X.
http://www.wholetomato.com/

It's not free, but it's good and does a lot more than just enhanced syntax highlighting. You can get an academic license for $49, but for what you want this may be too expensive.
by kmatzen
Tue Aug 03, 2010 7:29 pm UTC
Forum: Coding
Topic: coworker rants
Replies: 92
Views: 14621

Re: coworker rants

I have a new candidate for "worst name of the year". private void validateDeleteRequest(Request request, Connection conn) throws Exception { log.finest("validateDeleteRequest"); if (request.hasValidBillerAccountNumber()) { log.finest("RequestId " + request.getRequestId...
by kmatzen
Tue Aug 03, 2010 4:11 am UTC
Forum: Computer Science
Topic: Any search engines that check search term proximity?
Replies: 9
Views: 1701

Re: Any search engines that check search term proximity?

I'd honestly be ok with waiting significantly longer periods of time for search results to be returned if that's all there is to it since in the long run it would save me incredible amounts of time. Unless the complexity with current algorithms translates to that taking until the heat death of the ...
by kmatzen
Mon Aug 02, 2010 9:35 pm UTC
Forum: Computer Science
Topic: Any search engines that check search term proximity?
Replies: 9
Views: 1701

Re: Any search engines that check search term proximity?

Failing that, how difficult would it be to search for a string that includes wild card words in the middle? What I mean by this is searching for "quick * fox" would return results with "quick brown fox" or "quick red fox" along with results that had any other word in p...
by kmatzen
Sat Jul 31, 2010 8:56 pm UTC
Forum: Computer Science
Topic: Why were certain types of encryption illegal until recently?
Replies: 29
Views: 13810

Re: Why were certain types of encryption illegal until recen

Xanthir wrote:Of course, the cat's long out of that bag. You might find this report I wrote on the history of cryptography as munitions to be an interesting read.


Don't you have to cite particular revisions of a Wikipedia article? Otherwise, how does someone know which to reference?
by kmatzen
Sat Jul 31, 2010 7:47 pm UTC
Forum: Computer Science
Topic: Can you train a neural network to recognize prime numbers?
Replies: 35
Views: 17539

Re: Can you train a neural network to recognize prime number

Well, part of what I'm saying is that a brain has more elements than just neurons. So I don't think it's really a neural network. It certainly contains one, and that neural network is very important to its functioning, but it's not the only important thing there. I don't think you can properly unde...
by kmatzen
Sat Jul 31, 2010 5:48 pm UTC
Forum: Computer Science
Topic: Why were certain types of encryption illegal until recently?
Replies: 29
Views: 13810

Re: Why were certain types of encryption illegal until recen

I don't know what country you are in, but if we are talking about the US, I wasn't aware that it was illegal in recent history. I know that it's illegal to export strong encryption from the US to another nation. In other countries, encryption is not necessarily legal or it might be regulated if it i...
by kmatzen
Sat Jul 31, 2010 4:54 pm UTC
Forum: Computer Science
Topic: Can you train a neural network to recognize prime numbers?
Replies: 35
Views: 17539

Re: Can you train a neural network to recognize prime number

A brain isn't really a neural network at all. Neurons don't really work like the simulated neurons in neural networks, and besides, the brain has all sorts of auxiliary elements like different kinds of neurotransmitters, neural growth and death, time delays, analog IO devices, and resource shortage...
by kmatzen
Sat Jul 31, 2010 4:52 pm UTC
Forum: Computer Science
Topic: What does computer science involve?
Replies: 5
Views: 4804

Re: What does computer science involve?

At my previous school computer science's core encompassed: Software Intelligent Systems Theory Hardware VLSI At my current school, the core fields are: Theory Artificial Intelligence Systems Programming Languages Scientific Computation and Applications So the idea of what CS is will vary from place ...
by kmatzen
Sat Jul 31, 2010 4:24 pm UTC
Forum: News & Articles
Topic: Richard Stalman does an AMA
Replies: 58
Views: 9563

Re: Richard Stalman does an AMA

That's not even the point I'm trying to address here. You originally stated: Anyone that sells software is being unethical? Yeah, UmmHmmm. Money makes software advance. Yes, you can sell the first copy of the software, but then what? We don't seem to be on two completely separate pages since your mo...
by kmatzen
Sat Jul 31, 2010 2:01 am UTC
Forum: News & Articles
Topic: Richard Stalman does an AMA
Replies: 58
Views: 9563

Re: Richard Stalman does an AMA

He really isn't fine if you sell your software. The GPL simply does not allow it. I really don't understand where you are getting this. GNU.org under the URL he mentions in the article starts out with: Many people believe that the spirit of the GNU Project is that you should not charge money for di...
by kmatzen
Fri Jul 30, 2010 8:21 pm UTC
Forum: News & Articles
Topic: Richard Stalman does an AMA
Replies: 58
Views: 9563

Re: Richard Stalman does an AMA

Anyone that sells software is being unethical? Yeah, UmmHmmm. Money makes software advance. No, this is the notion he is trying to discourage. He doesn't care about gratis. He cares about libre. He's fine if you sell your software. He's not fine if you make it proprietary. The comment you pointed o...
by kmatzen
Fri Jul 30, 2010 2:38 am UTC
Forum: Computer Science
Topic: Can you train a neural network to recognize prime numbers?
Replies: 35
Views: 17539

Re: Can you train a neural network to recognize prime number

Couldn't you build a NAND gate with just a perceptron since the NAND is linearly separable? I don't know how you would build the infinite tape with finite NAND gates, but you could build a finite memory and control unit.
by kmatzen
Fri Jul 30, 2010 2:31 am UTC
Forum: Computer Science
Topic: Could a human teacher enjoy teaching a neural network?
Replies: 20
Views: 5578

Re: Could a human teacher enjoy teaching a neural network?

I hope you realize that neural nets like Lieutenant Commander Data's brain don't really act like real neural nets. Your questions seem to indicate that you think this is what neural nets do.
by kmatzen
Thu Jul 29, 2010 5:00 pm UTC
Forum: Coding
Topic: Phone screening for programmers
Replies: 18
Views: 2628

Re: Phone screening for programmers

Steax wrote:What if you take a tip from the forums, and ask:
- Favorite coworker rant


I hope you don't mean complain about a coworker to the interviewer. That's a quick way to make the interviewer think you are a whiner.

WarDaft wrote:Not every algorithm is a tool


Then why are you using it?
by kmatzen
Tue Jul 27, 2010 9:54 pm UTC
Forum: Computer Science
Topic: Bachelor of Arts in Computer Science
Replies: 12
Views: 6424

Re: Bachelor of Arts in Computer Science

I suppose you are right about the double major. Mine were just so close together in topic that I don't think it really matters.
by kmatzen
Tue Jul 27, 2010 5:17 pm UTC
Forum: Computer Science
Topic: Bachelor of Arts in Computer Science
Replies: 12
Views: 6424

Re: Bachelor of Arts in Computer Science

Because they spent a year abroad, and would have had a hard time fitting in the specific courses required for the Sc.B. degree, some of which were only taught every other year. Ew, sounds tough if the dept. doesn't offer multiple sections of all required courses each semester. Because they were tak...
by kmatzen
Mon Jul 26, 2010 11:43 pm UTC
Forum: Computer Science
Topic: Bachelor of Arts in Computer Science
Replies: 12
Views: 6424

Re: Bachelor of Arts in Computer Science

I just know that there is more negative stigma associated with the BA. It makes a difference with an HR person who really doesn't know what goes into the degree. Our school had a choice between a BS in computer science or a BSE in computer science engineering. Both majors do quite well career-wise. ...
by kmatzen
Mon Jul 26, 2010 7:13 pm UTC
Forum: Computer Science
Topic: Brain–computer interfaces
Replies: 19
Views: 3309

Re: Brain–computer interfaces

Does anyone know much about what's being done (and where) in academia for BCI research? I've seen a few papers from Penn State. I've thought about this as a possible area of research in the future but it's been hard to find what CS programs (I would be coming at this from a CS side more than a neur...
by kmatzen
Mon Jul 26, 2010 4:26 am UTC
Forum: Computer Science
Topic: Brain–computer interfaces
Replies: 19
Views: 3309

Re: Brain–computer interfaces

i would volunteer for such a surgery... http://www.braingate2.org/clinicalTrials.asp Clinical trials are being conducted. You must live within 2 hours of Boston and have limited to no ability to use both your hands due to cervical spinal cord injury, brainstem stroke, muscular dystrophy, or amyotro...
by kmatzen
Sun Jul 25, 2010 9:20 pm UTC
Forum: Computer Science
Topic: Brain–computer interfaces
Replies: 19
Views: 3309

Re: Brain–computer interfaces

For awhile now I've hoped that this sort of technology would progress to the point where we can have a more capable class of prosthetic devices. However, the surgery for this technology is invasive and even if the technology does get there, I doubt the insurance companies would be willing to spring ...
by kmatzen
Sun Jul 25, 2010 5:37 am UTC
Forum: Computer Science
Topic: Can you train a neural network to recognize prime numbers?
Replies: 35
Views: 17539

Re: Can you train a neural network to recognize prime number

If the primes follow a pattern and someone just happens to train a neural network with enough hidden nodes in order to define the classification boundary, I suppose it would work. However, we don't know if that classification exists and even if it did, we would have to prove what the boundary is in ...
by kmatzen
Mon Jul 19, 2010 4:14 am UTC
Forum: Coding
Topic: bind() errors (sys/socket.h)
Replies: 2
Views: 710

Re: bind() errors (sys/socket.h)

You probably wouldn't know this unless you knew a bit more about the TCP connection life cycle. What is happening is that your connection is still in the time-wait stage. Here's an article that I can find at the moment that describes what this means. http://www.tcpipguide.com/free/t_TCPConnectionTer...

Go to advanced search