Hi. One of my friends has contacted a company that is looking for good, linux network programmers in C, requiring a good background of the linux kernel and low-level network programming. The starting payment would be $70 per hour - I am still at college and honestly i don't know if that's a good salary for such a work as linux network engineer, so i am asking here if $70/h is good enough or not ?
Thanks.
I am a beginner in Android programming. I want to build a simple application with a main list view in the screen and two buttons at the bottom of the screen.
When more items are added to the list view, the list view should scroll without increasing the overall length of the list view.
Please forgive my programming knowledge. I know this is a simple thing, but I do not understand why result is always 0. Why decimal will be fine?
int a = 100;
int b = 200;
decimal c = (a / b) * 100;
Many thanks.
I've got a real interesting situation. I have an existing web app that runs on a number of desktops fine. On a few desktops I see the following behavior:
Upon clicking a link that opens up a new window (to another URL in the same domain) the IE window freezes and IE needs to be killed.
This happens on IE 6 & 7.
When using Fiddler I see NO traffic when clicking the link.
When using IE HttpAnalyzer I see a request register but no response.
If I change the MaxConnectionsPerServer registry setting to a higher value, e.g. 10 the problem goes away.
Looking at netstat I dont see any abnormal connections.
So I'm totally confused, the issue seems to be on the client side and seems to be related to IE not being able to make an additional socket connection to the server, but netstat doesn't show that.
Ideas?
When programming, I would like to split one large file(which contains main function) to many small files, so there is one common case: functions in small files can modify the var from main file, so i think extern is very useful!
for instance:
in main.c
extern int i = 100;
in small.c
extern int i;
fprintf(stdout, "var from main file: %d\n", i);
I just want to know is my understanding right?
For many questions, especially for C-related ones, the answer seems to be found in "the standard". However, where do we find that - online?
Googling can sometimes feel futile, again especially for the C standards, since they are drowned in the flood of discussions on programming forums ;)
To get this started, since these are the ones I am searching for right now, where are there good online resources for:
C89
C99
C++03
I'm wondering if you have one, or u know any developer/programmer online portofolio. I know many web developers have one (and in many cases very well designed), but not any C++ developer (for example). On the net there are only some good blogs about some programming language, but in many cases these are extremely poor from a design point of view and i'd say very "nerdy".
I have a UIWebView inside a normal UIViewController. The content of the UIWebView is programming/dynamically created in my program, and it could be very long (multiple table rows). Somehow, after loading, the page won't scroll more then one and half screen of content when swipe on the screen. Because of that I can only see the beginning few rows of data, but not the many others after them. Why is that?
I'm a blind student currently in a system admin/shell programming class. Although ssh works fine for executing commands like ls, pwd, etc editors do not work well with my screen reader and an ssh session. I was wondering if it is possible to mount a Linux folder over ssh so it appears as a windows drive? This way I could edit any files I needed to with accessible software and not have to constantly use SCP to send files back and fourth.
Hi,
Is there any way to change backlight turn off TIME using programming(Preferred c# or vb.net other c++ can be used too)? I guess, may be it is changed using registry info or API.
Manually, it is done by:
Setting Backlight (Battery Power and External Power)
Thank you
how powerful is Bluetooth programming on Android? is it possible to add new protocols and encryption techniques? or even change in the current protocols? does it support bluetooth 2.1+EDR?
What is the most painful programming mistake you have done and what lesson you have learn after?
I guess mine was making a release to production on the development code which was not tested yet.
The lesson-learned:
Delete any projects that can trigger a
release on the live application from
CCTray. I only add them when a release
to production is necessary since then.
And once I am done, I delete them from
my project lists.
I am looking to get into web application development. I am an undergrad CS major with experience in programming desktop apps, but with only basic knowledge regarding how web apps work. Any suggestions of where to start? Javascript, php, perl, ruby, python? Should I look into frameworks like django, seaside, ruby on rails, etc at first or wait until I am more experienced to use those?
I have never worked on ejb, when I started programming Spring was already arrived and all my projects have been with Spring only, recently I had one interview and they wanted knowledge of EJB3.0 and so I want to know how does EJB3.0 stack up with Spring Framework and why many projects now a day are with Spring Framework and not with EJB3.0, do not quote me here as I can be wrong
I would really appreciate if difference and benefits of using one over another could be explained from practical perspective.
Is there high-level language out there for describing algorithms, that's geared towards specification, rather than implementation?
The idea would be to have a machine-readable archive of standard algorithms, with machine-readable annotations on trade-offs, and variants.
I'm thinking of something like CycL / OpenCyC, but for algorithms and programming patterns.
hi everyone,
I need a help, I'm doing survey questionnaire on following topics
1- pair programming
2- measuring programmer productivity
3- software metrics
so what are questions should I ask ? please , could anyone help me ?
thanks in advance.
Hopefully this question is allowed over here. It does not really have to do with programming per se but with the costs associated with it.
My question is:
"How much does sending/receiving XMPP
messages cost".
I can find all the information about email etc. But I could not find information about costs sending/receiving XMPP messages.
I'm currently investigating what the runtime of different programming languages looks like behind the scenes. For a compiled language like C, people usually give the explanation of "Code is compiled to assembly which is assembled and linked into a binary executable. The executable is then loaded into memory and the CPU interprets it." My question is how does the CPU know where to look for the next instruction to execute? Is it a memory address stored in one of the registers?
I'm looking for a complete list of security guidelines for programming and deploying PHP web sites and applications on an Apache (Linux) server. Basically, a "security check list" to run through before finishing a project. I.e.,
Cross Site Scripting
Cross Site Request Forgery
Sanitize form data that goes into database
Disable register globals and error reporting in custom php.ini
Upload files below web root
...(the list goes on)
I did some searching on the internet and in this forum, but couldn't find a comprehensive, succinct, and complete list of guidelines.
Thanks in advance.
I'm reading this article about Comet http://en.wikipedia.org/wiki/Comet_(programming). It mentions that browser should support multipart/x-mixed-replace to make XmlHttpRequest Streaming possible.
Why this multipart/x-mixed-replace is necessary?
Without this header, HTTP response can still be chunked and sent piece by piece to browser, right?
Ever since I started programming this has been something I have been curious about. But seems too complicated for me to even attempt.
I'd love to see a solution.
1, 2, 3, 4, 5 // returns 6 (n + 1)
10, 20, 30, 40, 50 //returns 60 (n + 10)
10, 17, 31, 59, 115 //returns 227 ((n * 2) - 3)
Hey guys
I'm very new to the whole programming - so far I only have experience with building websites, database etc.
I currently have a website where users can share their online purchases.
I want to build a widget that other websites can integrate on their site. Users should be able to insert their purchases directly through this widget without having to come to my website.
Thats the idea but I have no idea how to go about it - can anyone point me in the right direction.
Thanks
I'm trying to do the following: listen on some port for loopback connections only, and then start listening on any IP address.
Here is the code:
TcpListener l1 = new TcpListener(new IPEndPoint(IPAddress.Loopback, 12345));
l1.Start();
Socket s = l1.AcceptSocket();
Console.ReadKey();
//s.Close();
l1.Stop();
TcpListener l2 = new TcpListener(new IPEndPoint(IPAddress.Any, 12345));
l2.Start();
l2.AcceptSocket();
Console.ReadKey();
The problem is that if a client connects while listening on the Loopback address (l1), then no other client can connect to the Loopback address when the second listener (l2) starts listening. why is that?
Another thing I noticed is that if I close all clients that connected to l1 (the remarked line), then l2 does accept loopback connections.
Any ideas?
I don't want to take the time to learn Obj-C. I've spent 7+ years doing web application programming. Shouldn't there be a way to use the WebView and just write the whole app in javascript, pulling the files right from the resources of the project?