This forum is in archive mode. You will not be able to post new content.

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

Pages: [1] 2
1
Web Oriented Coding / Simple Javascript Help
« on: February 07, 2015, 02:47:28 PM »
I am not sure what I am doing wrong. I have a simple HTML file that points to a javascript function.

HTML
--------------------
Code: [Select]
<!DOCTYPE html>
<html>
<head>
<title>Javascript Test</title>
<script type="text/javascript" src="Test.js"></script>
</head>


<body>
<input type="text" name="txtFirstName" id="txtFirstName" placeholder="First Name" />
<br />
<br />
<input type="text" name="txtLastName" id="txtLastName" placeholder="Last Name" />
<br />
<br />
<button onclick="CombineName();">Click Me</button>
</body>
</html>


JS file is: Test.js
--------------------------
Code: [Select]
function CombineName()
{

var FirstName = document.getElementByld("txtFirstName").innerText;
var LastName = document.getElementByld('txtLastName')/innerText;
CombineName5 = txtFirstName + txtLastName;
alert(CombineName5);

}

------------------------------------

I cannot get my browser to show me an alert. Any thoughts as to why?

I took the liberty of adding /code/ tags to your post - Phage

2
C - C++ / Re: C++ Help!
« on: May 05, 2013, 04:57:58 AM »
Thank you Deque and Muhammad, I finally got this working with your assistance.

3
C - C++ / Re: C++ Help!
« on: May 03, 2013, 02:10:29 PM »
Adding that fixes the planar refraction loop. The other options continue to loop for some reason. I know it has to be something simple, but it is not as obvious as I wish it was :(.

4
C - C++ / Re: C++ Help!
« on: May 03, 2013, 05:12:17 AM »
Thank you Muhammad,

I moved the "}" down.


I am still getting loops with the code (index of 1, and index of prime).


Loop shows:

Do you wish to analyze another optical system? Enter '1' for 'yes' or '2' for 'no': This is a program that will perform matrix computations to output a system matrix, provided enough inputs are given. How many elements does this system have? Note that a thick lens counts as three elements: 0x7ffff961cb40

http://pastebin.com/VUBEgUPz

5
C - C++ / Re: C++ Help!
« on: May 03, 2013, 04:57:40 AM »
At the end I cin a new decision though?

6
C - C++ / Re: C++ Help!
« on: May 03, 2013, 04:47:52 AM »

It is supposed to be able to solve any geometrical optics system using matrix algebra. But now, it just wants to infinitely loop itself.


When I compile it, all I get is:


This is a program that will perform matrix computations to output a system matrix, provided enough inputs are given. How many elements does this system have? Note that a thick lens counts as three elements: This is a program that will perform matrix computations to output a system matrix, provided enough inputs are given.


Thank you for your help

7
C - C++ / C++ Help!
« on: May 03, 2013, 02:17:36 AM »
Well I am in a pickle. I really need to figure this out by tomorrow, but I cannot for the life of my figure out why this is looping. I am no expert by far, more of a networking guy. Any help would be greatly appreciated.


http://pastebin.com/RQGjCgTd

8
Hacking and Security / Re: password manager
« on: April 12, 2013, 04:28:03 AM »
KeePass. Open source, has tons of plugins. I have a DB stored at work that I keep all the backup-local usernames/passwords in. It's great.

9
Found it on the Webs / Re: RIP Aaron Swartz
« on: January 15, 2013, 04:53:31 AM »
http://lessig.tumblr.com/post/40347463044/prosecutor-as-bully


His Harvard friend thought the government was quite a dick on this one.

10
General discussion / Re: DNS errors
« on: November 23, 2012, 01:19:03 AM »
I wonder if you would have been able to ping 8.8.8.8? That would tell you if it was just a DNS issue or a bigger issue. Of course if replacing the modem solved the issue it then that just leaves more questions! Is it a SOHO router? Or was it a router/modem that the ISP provides?

11
Science / Re: GOD??
« on: November 08, 2012, 07:03:03 PM »
Exactly... if one can explain everything... EVERYTHING... would there still be the need for a god?

 
 The question in itself is nonsensical. If everything can be explained, even the things science cannot touch right now (the metaphysical stuff) then either A. God is part of the explanation, or B. We live in a pure materialistic world where we can explain everything without the need for a deity. The answer is predicated on the explaination, and the explaination is predicated on the answer, we have neither, therefore it's just circle reasoning with no good answer.

12
Science / Re: GOD??
« on: November 08, 2012, 02:22:13 PM »
Eclipses, Thunder, Storms, even rain is caused by .. GOD..?  RiGht guys?  :P   :P

Humans have been using "God" to describe naturalistic events they don't understand for a long time. This doesn't discredit a "God" existing. It simply shows us a little bit more about the underlining nature in humans, we are scared of the unknown, we wish to understand, etc. Believing in a deity doesn't stop ones strive to understand the unknown, the best we can do is create models to describe what we see, then see if a better model comes out that better describes the observation of the physical world, that's the beautiy of science - all about correction :).


13
Science / Re: GOD??
« on: November 08, 2012, 03:11:43 AM »
I grew up in a bible belt town, had been going to church before I could even comprehend the words being preached.

Believed till I was in college, then I turned agnostic believing there was no good reason for my belief, that I wanted nothing to do with these fundamental hypocriticals who bashed gays and women getting pregnant before they were married but forgot to look themselves in the mirror and compare their lives to the standard they judged others by.


After a couple years of trying to bury my faith, I realized that I could not. For me God is love, he is the very essence of love and even though I found myself trying not to believe because of these people who I despised, my problem was I wasn't doing one of the greatest commandments that I believe in, and that was loving them even if every part of me wanted nothing to do with them.


I believe God transcends time being omnipresent and omnipotent, something that I know my mind cannot fully understand. If I had to speculate I would believe God to be a four-dimensional being which would be God like to us. It would appear all around us and yet we could only see its protrusions into our reality as 3 dimensional projections. We could not grasp such a thing. The being could manipulate time as we manipulate 3 dimensional things.


So to me, when someone says well who created God? That question to me doesn't make sense. Creation is in the scope of time, and if a being was outside of time, it isn't subject to time.


Science is a great thing, we learn more and more about the naturalistic world everyday. The aesthetics of this earth and universe do make me drawn to spirituality yes, but it's not why I believe. I was reading a C.S Lewis book (Mere Christianity) not too long ago and he put it in words that I could have not done.

"Creatures are not born with desires unless satisfaction for those desires exists. A baby feels hunger: well, there is such a thing as food. A duckling wants to swim: well, there is such a thing as water. Men feel sexual desire: well, there is such a thing as sex. If I find in myself a desire which no experience in this world can satisfy, the most probable explanation is that I was made for another world. If none of my earthly pleasures satisfy it, that does not prove that the universe is a fraud. Probably earthly pleasures were never meant to satisfy it, but only to arouse it, to suggest the real thing. If that is so, I must take care, on the one hand, never to despise, or to be unthankful for, these earthly blessings, and on the other, never to mistake them for the something else of which they are only a kind of copy, or echo, or mirage. I must keep alive in myself the desire for my true country, which I shall not find till after death; I must never let it get snowed under or turned aside; I must make it the main object of life to press on to that country and to help others to do the same.”

My belief is not something anyone could put under a microscope, nor would I expect it to be. I have desires that I have never been able to satisfy with this world. My earnest search for God is the one thing that satisfy this hunger, for me that's what I plan on striving for till my pawn is knocked off the chess board.

14
General discussion / Re: Certs! Your ticket past HR
« on: October 02, 2012, 04:17:59 AM »
 I think it really depends on what YOU want to do. If you like the application side of things better, go microsoft, MCSE is very respected, although I believe it has been replaced by something else. Microsoft also offers a programming certification route, C# is in high demand where I am at.
 
 I went for my AAS, planned on going for my BA in computer science. I went ahead and got my A+ and Network +, while I was working on my AAS. Figured it would help me in the future. I started getting real interested on the networking side of things, going into a comm closet and seeing tons of networking equipment all wired together (not having any idea how it worked at the time), feeling the cool air from the massive AC units keeping everything cool, I knew as soon as I saw it, that I wanted to be a network guy. Thus the end of my college career, and the start of my job career.
 
 So I got my CCENT, CCNA, CCNA:Security, and my CCNP . I landed a network administration job after I got my CCNA. Now that I've got my CCNP I am on my way to earning the position of a network engineer. I work in a network of pretty much only cisco gear. I am also managing ISA/TMG firewalls, but those are a Microsoft application.
 
 I see a lot of employers looking for Juniper experience as well. They are kind of shadowing Cisco in their certification tracks. I have thought about jumping over and getting an associate certification from them just to widen my employment opportunities.
 
 I am very passionate about networking. If you want to get your foot in the door on that side of infrastructure go for the CCNA. The CCENT is a good start, but I don't see many employers wanting it, I mainly see CCNA. Once you have that, find what you like best, (Routing/Switching, Voice, Security, Wireless, Design), and go down that path.

15
Anonymity and Privacy / Re: 802.11 nickname
« on: May 26, 2012, 07:11:57 AM »
Ha, Many universities are locked down pretty tight. I once had a friend almost get kicked out for running wireshark on their laptop. I suspect they had an IDS/IPS that saw all the name resolutions he was sending out (always a good idea to turn off resolution in wireshark or anything else in that manner).

The college I attended had their network pretty wide open. You could easily use cain and abel to do some APR spoofing and record tons of voip calls, fun times.

Pages: [1] 2


Want to be here? Contact Ande, Factionwars or Kulverstukas on the forum or at IRC.