Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
50% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
1 Commented Post
~40.7K People Reached
Favorite Tags
Member Avatar for shean1488

Hi everybody. My question is. I made an html template that I will extend in every other html pages. And this template have some variables. So my question is how to assign a function to this base template. Let me be more clear and give you an example: base.html ... …

Member Avatar for ScottieF
0
266
Member Avatar for shean1488

Hi everybody, Explain me please what I'm doing wrong. So I'm trying to create a database and store data, that I get from django forms. Everything looks fine, and when I manually check database it shows that it recieved a new row, however my browser gives me this message and …

Member Avatar for TrustyTony
0
4K
Member Avatar for shean1488

Hi everybody, I'm trying to do a simple login for a web site, and everything looks fine except one thing, when I enter a name and a password for a superuser I got "403 Forbidden" error. here is my login.html: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> …

0
98
Member Avatar for shean1488

Hi everybody, Can you please help me to fix this error: For exit press 'q' Please enter name :Jack London For exit press 'q' Please enter name :C.S. Lewis For exit press 'q' Please enter name :q Traceback (most recent call last): File "/home/serg/python/First/start/Q1.py", line 28, in <module> print row[0], …

Member Avatar for TrustyTony
0
256
Member Avatar for shean1488

Hi everybody, I just start learning python, and beacuse of that I don't really know all usefull packages and methods, that this language has. But I would like to know how would you write this program, or how would you change it (or may be some part of it) to …

Member Avatar for shean1488
0
129
Member Avatar for shean1488

Hi everybody, I want to know your opinion about what language to start learning. My goal is to create different web applications, sorry can not be more specific at that time. I'm trying to find a language that will be easy to connect to a database, that will be supported …

0
59
Member Avatar for shean1488

Hi everybody, I'm just wondering what is the more eficient and compact way to write statements like this if(site.next(1) == null) { return false; } if(site.next(2) == null) { return false; } if(site.next(3) == null) { return false; }

Member Avatar for shean1488
0
90
Member Avatar for shean1488

Hi everybody, I'm trying to figure out how much memory was used for merge sort algorithm. I believe it is just one or two expressions, but can't come up with them by my own. public void mergeSort (T[] data, int min, int max) { T[] temp; int index1, left, right; …

Member Avatar for shean1488
0
320
Member Avatar for shean1488

Hi everyboy, I have a question how to add not boolean expression to the conditional loop, Imagine some situation where I have : while(some expression && another expression) { .... } So lets say I want to calculate how many times "another expression" was evaluated. I wish I would stick …

Member Avatar for shean1488
0
189
Member Avatar for shean1488

Hi everybody Please help me to configure Tomcat server. I was trying to do a lot of things also search a lot in internet for similar problems but can not find an answer. So I installed Tomcat and I belive it is running correctly: root@serg-PORTEGE-Z835:~/Downloads/apache-tomcat-6.0.35/bin# sh version.sh Using CATALINA_BASE: /home/serg/Downloads/apache-tomcat-6.0.35 …

0
83
Member Avatar for shean1488

Hi everybody, When I tryed to compile a C program, compiler gave me error, that I haven't see before. Please tell me what does it mean? and what are the possible reasons, this error occure. blade71(20)% gcc lineholder.c -o lineholder Undefined first referenced symbol in file main /tools/gcc/bin/../lib/gcc/sparc-sun-solaris2.8/3.4.2/crt1.o ld: fatal: …

Member Avatar for shean1488
0
263
Member Avatar for shean1488

Hi everybody! Help me please to figure out the comand that I need to use to find a file and open it at same time for example: root@serg-PORTEGE-Z835:~# locate bash_profile /usr/share/doc/adduser/examples/adduser.local.conf.examples/skel/dot.bash_profile and lets say I want to open this file, but I don't want to use cd and go all …

Member Avatar for rubberman
0
112
Member Avatar for shean1488

Help me please to find the problem in my code: Here is the error that I'm getting: serg@serg-PORTEGE-Z835:~/c$ gcc string_finder.c -o string_finder string_finder.c:4:5: error: conflicting types for ‘getline’ /usr/include/stdio.h:671:20: note: previous declaration of ‘getline’ was here string_finder.c:22:5: error: conflicting types for ‘getline’ /usr/include/stdio.h:671:20: note: previous declaration of ‘getline’ was here …

Member Avatar for tubby123
0
268
Member Avatar for shean1488

Hi everybody! I made an applet, and was trying to put it in web page. When I run my applet by itself it works fine, but when I'm trying to run it thrue the web page it doesn't work at all. I mean I have just grey box (like a …

Member Avatar for shean1488
0
96
Member Avatar for shean1488

Hi everybody, Tryed to make this program: Simple browser: you type the URL at the top and then get a new window with this web page. But my output is just JFrame(Even color did not get changed) help me please to find the problem. [CODE]import java.awt.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; …

Member Avatar for 117
0
197
Member Avatar for shean1488

Hi everybody. I'm trying to display web page that located in my computer or just (google web page). But everytime I'mgetting nullpointer exception. Please help me to figure out the problem. here is the absolute path that I'm using: [CODE]serg@serg-PORTEGE-Z835:~$ find $PWD -type f -name test1.html /home/serg/Projects/java/GUI/src/its/TestData/test1.html [/CODE] But the …

Member Avatar for NormR1
0
156
Member Avatar for gerchi152

I'm getting this error variable might not have been initialized on ch2 and ch3: [CODE]import javax.swing.JOptionPane; public class calculatorJava { public static void main(String[] args) { String ch, ch2, ch3, add1, add2, sub1, sub2, mul1, mul2, div1, div2, choice1, exp; int chans, chans2, chans3, addo1, addo2, subO1, subO2, mulo1, mulo2, …

Member Avatar for Ezzaral
0
314
Member Avatar for shean1488

Hi everybody, I just start lerning C I'v heard a lot about pointers but not really sure were to put them. (or may be I'm wrong may be I just made some mistake) pls take a quic look. [CODE]/* This program will delete all simbols * from s1 that s2 …

Member Avatar for zeroliken
0
69
Member Avatar for shean1488

Hi everybody. I'm trying to split a string such that every array element would have characters between open and close prentesis. mmm let me just show: myString = "(2*((3-2)+(5-3)))" So my array should have values like that: myArray[0] = 2*((3-2)+(5-3)); myArray[1] = (3-2)+(5-3); myArray[2] = (3-2); myArray[3] = (5-3); I …

Member Avatar for J_A_L
0
20K
Member Avatar for shean1488

Hi everybody. I have a question: My code produces only 1's. Does it show that processor can only do one task at a time or it is just simply becouse I made something wrong? [CODE]import java.lang.Thread; public class SleepThread implements Runnable{ public final int sleepTime = 1000; public String str …

Member Avatar for stultuske
0
137
Member Avatar for shean1488

Hi everybody, In my little programm, that prompts user to choose txt file, and then displays how many each particular token in the file. I have a little issue with organising the ouput. I think I do something wrong with String.Format, can you please help me: I attached my ouput. …

Member Avatar for Philippe.Lahaie
0
131
Member Avatar for shean1488

Hi everybody I have a little question. I am using JFileChooser to open file and then process it.But the thing is its only works for txt file. What are the other ways to open all ither text files. Plus if would be really helpful if you would tell me how …

Member Avatar for shean1488
0
288
Member Avatar for shean1488

Hi everybody! Help me plz to figure out obe little thing. so imagine little window with 4 buttons and a JLable. I want to ask how to add JLable to the panel and not give it a Grid Layout. I mean that I want my JLable be under 4 buttons. …

Member Avatar for shean1488
1
122
Member Avatar for shean1488

Hey guys, I'm new in Linux/Unix and just whant to figure out one simple thing: So lets say I wrote my c program in vi in Linux, and whant it to be on the unix server. When I'm trying to just copy and paste text from vi. It apperas in …

Member Avatar for JeoSaurus
0
247
Member Avatar for shean1488

Hi everybody, I want to have some kind of a cursor in my program. My goal is: everytime when I write a getName() method I want it to return a next value. But the thing is I don't want to delete any elements befour. So please help me to give …

0
52
Member Avatar for shean1488

Hi everybody, I just want to know how to use gdb if I want to see the value of my variable, that I get from a file. To make it clear I will give an example: lets say I have a file 'str.txt' and a program that counts the word …

0
73
Member Avatar for shean1488

Hi guys I have part of the code that looks something like this: [CODE] if(c1=='a') myStack.push(c1); else if(c1=='b') myStack.push(c1); else if(c1=='c') myStack.push(c1);[/CODE] I just want to ask is there any way to rewrite this code, to make it more compact something like [CODE]if(c1==('(a'||'b'||'c') // I know this doesn't work [/CODE] …

Member Avatar for shean1488
0
132
Member Avatar for shean1488

Hi everybody, I wasnt sure were to post this message, and I post it here. So I'm a CS major student, and I do have a pretty good knowledge of java, far away from college. Just what to ask people who works in the software industry about their job. I …

Member Avatar for shean1488
0
206
Member Avatar for AbdullahJava

guys please i need help what method do i need to use for the alphabetical order Is it indexOf if yes how can i use it Problem 2: Alphabetize Three Words Program Name: Alphabetize.java Write a program to take three words as input then output those three words in alphabetical …

Member Avatar for NormR1
0
2K
Member Avatar for shean1488

Hi everybody Help me please to figure out what's wrong with my code When I try to compile it it gives me an error ClassNotFoundException I have never had such an error befoure, so I don't know what to do.... [CODE]import java.util.LinkedList; import java.util.List; import java.util.ListIterator; public class Example { …

Member Avatar for thines01
0
222