Search found 27 matches

by addiction
Thu Nov 09, 2017 9:59 pm UTC
Forum: Coding
Topic: Minimizing traffic on a server for a web app
Replies: 10
Views: 1065

Re: Minimizing traffic on a server for a web app

From the description of the problem, it sounds like a single sign-on system: pass a token in a querystring to the target website, then the website checks to make sure the token is in the database - if it is, they allow access, otherwise they deny access. It doesn't necessarily need the information ...
by addiction
Wed Nov 08, 2017 4:21 pm UTC
Forum: Coding
Topic: Minimizing traffic on a server for a web app
Replies: 10
Views: 1065

Re: Minimizing traffic on a server for a web app

Well really, I threw this out for the sake of example, but that's a good point about defensive coding. Either way, I need to do some detailed testing to ensure that what I built will work well. But this is straying into another tricky coding topic for me. I can easily build queries to perform the be...
by addiction
Wed Nov 08, 2017 3:43 pm UTC
Forum: Coding
Topic: Minimizing traffic on a server for a web app
Replies: 10
Views: 1065

Re: Minimizing traffic on a server for a web app

Thanks for the input everyone. It's something for me to research and discuss with the DBA team. I'll start with trying to maximize how much I can do with one connection. How fresh does your data need to be? Are we talking minute fresh or second fresh or "as fresh as I can get it"? A soluti...
by addiction
Mon Nov 06, 2017 9:24 pm UTC
Forum: Coding
Topic: Minimizing traffic on a server for a web app
Replies: 10
Views: 1065

Minimizing traffic on a server for a web app

Hello all. I'm currently in the works of drafting out a web app for my job. The user case for this tool would essentially be: "I have this ID value. I don't know what this value is because we have a bunch of different systems on a bunch of different servers. Where does this ID show up in and ho...
by addiction
Wed Mar 05, 2014 7:08 pm UTC
Forum: Hardware
Topic: Do I need new computer hardware?
Replies: 13
Views: 6148

Re: Do I need new computer hardware?

Update... my computer seems to be okay now. I think NVidia just had a software issue. I had to manually do it, but I was able to update the software with a new update, and I haven't had a blue screen since. So I guess this is fixed now. Thank you for your concern and help, everyone.
by addiction
Sun Jan 26, 2014 11:37 pm UTC
Forum: Hardware
Topic: Do I need new computer hardware?
Replies: 13
Views: 6148

Re: Do I need new computer hardware?

Just a PS:
Thanks for all of the help so far, everyone. Even if I don't have a definite answer, yet, this is still being very informative.
by addiction
Sun Jan 26, 2014 11:36 pm UTC
Forum: Hardware
Topic: Do I need new computer hardware?
Replies: 13
Views: 6148

Re: Do I need new computer hardware?

Update: Tried running memtest, and it appears that my ram is fine. I ran the whocrashed program. Not the best looking thing in the world, but I think I'm able to identify that I have a bad driver? Not sure, though. It mentioned something about the kernal, and said that this was likely the issue: nto...
by addiction
Mon Jan 06, 2014 4:02 am UTC
Forum: Hardware
Topic: Do I need new computer hardware?
Replies: 13
Views: 6148

Do I need new computer hardware?

So here's my main issue: For about the last 6 months or so, I've been getting blue screens like crazy. On average, I get them about 5 times a week. I run anti-virus/malware, CCleaner, and defragment software weekly, and judging by the result, I'm cleaning a clean PC. I've also kept up with all of my...
by addiction
Wed Jun 27, 2012 3:32 am UTC
Forum: Computer Science
Topic: IF/ELSE vs CASE in SQL Server 2008
Replies: 3
Views: 6973

IF/ELSE vs CASE in SQL Server 2008

So I was asked to come up with as many (good) differences as possible between an if/else statement and a case statement. So far, I've been able to find three: 1. With if statements, for each action caused by the condition, you have to create a separate query. Therefore case statements require less t...
by addiction
Sun Nov 13, 2011 4:38 am UTC
Forum: Coding
Topic: Python Factory
Replies: 3
Views: 1145

Python Factory

In a project I'm working on, my partners and I plan on incorporating the ability to add a python code file to our project so that they can change things up a bit. My partners asked that I find a python factory to do this. I've been searching online for a means of doing this, but I haven't been able ...
by addiction
Wed Sep 28, 2011 6:17 pm UTC
Forum: Coding
Topic: Advice with java
Replies: 5
Views: 1521

Advice with java

I'm currently working on a senior design project. A couple partners and I have decided to create a video game of sorts, using java. The game is meant to be a simulation. The user sets everything, says go, and they get to watch the game unfold. They're quick games. Spaces battles, to be precise, wher...
by addiction
Sat May 21, 2011 8:11 pm UTC
Forum: Hardware
Topic: hardware recommendations
Replies: 21
Views: 3742

Re: hardware recommendations

Oh, man... You have a disaster in the making, there. He actually *wants* to control real things in perl? I was forced to, once, and I still shudder at the thought. (Well, to be honest, I was the one who forced me to. But let's pretend that did not happen.) And the only thing I can think of that he ...
by addiction
Wed May 18, 2011 8:02 pm UTC
Forum: Hardware
Topic: hardware recommendations
Replies: 21
Views: 3742

Re: hardware recommendations

Okay. So I've talked with an ME professor here at the university. I appreciate the help, everyone, I really do, but it appears that the project is going to be DRASTICALLY changed. I do, however, want to keep this topic up, though. For two reasons: 1. I do wish to actually build this thing in the fut...
by addiction
Mon Apr 04, 2011 7:38 pm UTC
Forum: Hardware
Topic: hardware recommendations
Replies: 21
Views: 3742

Re: hardware recommendations

Quick update: We have a backup plan. If all else fails, it appears we're going to try and do a turret simulation, if the instructor approves. All of the fun of shooting a turret and all of the problems associated with it, but with none of the fun of firing actual ammunition or being allowed to carry...
by addiction
Mon Apr 04, 2011 7:21 pm UTC
Forum: Hardware
Topic: hardware recommendations
Replies: 21
Views: 3742

Re: hardware recommendations

Why would you want to do such a hardware intensive project anyway? There's so much ridiculously cool stuff in CS that you could do, like computer vision or machine learning. To be honest, this project wasn't my idea in the first place. Rather, one of my partners came up with it, and none of us had ...
by addiction
Wed Mar 09, 2011 5:41 pm UTC
Forum: Hardware
Topic: hardware recommendations
Replies: 21
Views: 3742

hardware recommendations

This year, a couple friends and I are in our senior design course at our University. For our project, we've determined that we want to build a turret. The turret is to be designed where it can be operated from... some terminal. Most likely a computer from inside a building. The turret will be equipp...
by addiction
Wed Mar 10, 2010 4:25 pm UTC
Forum: Coding
Topic: A space VS an endl. In C++
Replies: 6
Views: 1037

Re: A space VS an endl. In C++

Here's the thing: cin captures input that's delimited by whitespace, by default. That is, if you type "He likes cheese" and hit enter, then cin >> input will only extract the first word ("He"). The next time you call cin >> input, the next word is extracted ("likes") a...
by addiction
Tue Mar 09, 2010 12:17 am UTC
Forum: Coding
Topic: A space VS an endl. In C++
Replies: 6
Views: 1037

A space VS an endl. In C++

So I was in my lab, and we were playing with stacks and queues and stuff like that, and I finished and started to play with my code, mostly because my assignment seemed a bit ugly. The assignment was that we were to take in a string and print it out in reverse by a function and a problem I found was...
by addiction
Mon Mar 01, 2010 11:53 pm UTC
Forum: Coding
Topic: Why is it... Thread [goto discussion]
Replies: 19
Views: 3034

Re: Why is it... Thread

A decent argument for goto... except either way, I still have no idea how to even call a goto statement and use it... really, I'd like to use it, but at the moment, since it's so taboo in my classes, it'd be more for kicks. But kicking fun... soooo... can someone give me a crash course in using it? ...
by addiction
Mon Mar 01, 2010 11:41 pm UTC
Forum: Coding
Topic: Pausing a program
Replies: 23
Views: 2534

Re: Pausing a program

YES! It works! HOOZAH!

*excited for having a new way to do things. XD*

I do have one question, though. This version of the pause makes it to where the user HAS to hit enter for it to move on. Why is that? Why can't I hit any key or whatever. What specifies that ENTER must be hit?
by addiction
Mon Mar 01, 2010 11:04 pm UTC
Forum: Coding
Topic: Why is it... Thread [goto discussion]
Replies: 19
Views: 3034

Re: Why is it... Thread

Goto should be used sparingly; it can be easily abused like pointers or other things. Nested looping is one of the few legitimate uses of 'goto', and why it exists (think of it as a more general labeled-break). Though a better solution is to put the loops in a separate function and use 'return'. Oh...
by addiction
Mon Mar 01, 2010 5:21 pm UTC
Forum: Coding
Topic: Why is it... Thread [goto discussion]
Replies: 19
Views: 3034

Why is it... Thread [goto discussion]

Why is it that Go To statements in coding are so taboo? My professor mentioned it last semester when he was teaching us Assembly... and then showed us part of the coding that was essentially a Go To statement. XD Because he's awesome like that. But heck... I don't even know how to do a go to stateme...
by addiction
Mon Mar 01, 2010 5:17 pm UTC
Forum: Coding
Topic: Pausing a program
Replies: 23
Views: 2534

Re: Pausing a program

It's also a huge security hole that a lot of anti-malware software doesn't like. I use this function, as a part of a set of functions I find myself constantly using for homework assignments: void Pause(std::string message = "\nPress ENTER to continue... ") { std::cout << message; std::cin...
by addiction
Wed Feb 24, 2010 5:10 pm UTC
Forum: Coding
Topic: Pausing a program
Replies: 23
Views: 2534

Pausing a program

Well for one, everyone is free to ask their own questions of possible ways to code something in here... as for my particular interest at the moment... I am currently in a C++ programming class, and the thought of ASCII art came up in my mind, and the fact that seeing "Press any key to continue....
by addiction
Sat Jan 02, 2010 2:30 am UTC
Forum: Computer Science
Topic: Discrete Structures
Replies: 12
Views: 2835

Re: Discrete Structures

Hoozah! The discrete structure notes that my professor taught from.

http://www.cs.uwyo.edu/~jlc/courses/2300/book.pdf

There MAY be a few tiny typos in it, but he taught a little differently from it anyway. These were more like your typical textbook version of class.
by addiction
Wed Dec 02, 2009 8:05 pm UTC
Forum: Computer Science
Topic: Discrete Structures
Replies: 12
Views: 2835

Re: Discrete Structures

Yeah... I've used ifs and loops. As far as them not not working, it's usually a case of me forgetting a semicolon or something. Annoying little stuff like that... but I think I see what you're saying... As far as what we've done, short of giving you the 150 page online notes (which I can give you if...
by addiction
Wed Dec 02, 2009 6:30 pm UTC
Forum: Computer Science
Topic: Discrete Structures
Replies: 12
Views: 2835

Discrete Structures

So... for the past semester, I've been taking a class called discrete structures. In case those of you who have taken this class have taken it by another name, by my understanding, it's essentially math based logic in computer science. Blah... all of that stuff. Here's my problem... I'm not entirely...

Go to advanced search