The Go language creators write:
Go doesn't provide assertions. (...) Programmers use them as a crutch to
avoid thinking about proper error
handling and reporting.
What is your opinion about this?
Hello Evryone.
I am new to this type of programming..i just want some help...regarding what to do when u need to extract the data from the serial port..and how to check that tha data is available in the serial port..so that no data loss is there....
I am not sure what language or how to do this, but I am looking to have a word on a page, and when clicked, it will reveal more underneath. If it is clicked again, that stuff will hide away again? Any ideas?
I have some projects in a solution that are running on .net 3.5 SP1 (and can never ever be updated to 4.0 as they are SharePoint projects).
When I try to create a new Visual C# Test Project in VS2010 Premium, I have to choose .net 4.0 which is apparently intended.
Now I don't care about what my Unit Test project is (don't have to care about VS2008 users), but I do care if I can safely test 3.5 Projects in it due to the different CLRs and slight C# language differences?
Hi there guys! I'm starting out learning some ASP.Net programming and I'm going to be making a little community website for my friends and myself.
I'm trying to pick up some good habits along the way.
I was thinking of having a usercontrol and have that 'loginBox' shows the appropriate textboxes and login button, but also show his username when he is logged in.
Do you think I should handle this as a user control or am I missing something as an ASP.Net newbie?
A friend of mine, who studies game development at an university, is currently learning programming in OpenCL. What would be a simple project that teaches the most important aspects of OpenCL and can be finished within about 50 - 100 hours?
Hi
I'm doing programming with ASP.NET . I have no idea how to use JavaScript in ASP.NET Server Side controls ( Totally uncomfortable with it ) . Do you mind introduce me some resource for folks like my type , please ?
Hi all
I am developing windows mobile application using with .NET CF 2.0
I want to disabling the End Call 'Key'. when my application running,
This functionality should happen by programming using C#
Can any one Know please help me.
Thanks in advance.
vimal..
The .NET framework makes it easy to get information about various locales; the Win32 C++ APIs are a bit harder to figure out.
Is there an equivalent function in Win32 to get the two-letter ISO language name given an integer locale ID?
In C# I'd do:
System.Globalization.CultureInfo ci = new System.Globalization.CultureInfo(1034);
string iso = ci.TwoLetterISOLanguageName;
// iso == "es" now.
Hello,
I'm new to PHP programming and I wanted to know that is it possible to handle PHP events as we do in ASP.NET
I mean I've got a img and I want to perform some task on click event of this img.
I know how to do it in ASP.NET but please help me in context of PHP
Thanks,
GURU
i have a string of the format SUCCESS,12:34:56:78:90, i want to separate these two values that are separated by commas into two different strings. how do i do that in gcc using c language.
I'm not sure how important it is having a large reputation number, but then I'm also worried someone hacked into my account or something, since I don't see how else it would be possible to loose 500 points in a single day ( hopefully this non-programming related post won't cause another 500 drop :) ). Any idea why this happened?
thanx
hello i am trying to sort a textual file using c programminglanguage,
in order to sort the file i am using a unique key,
i need to be able to jump from line to line in order to sort the file , the problem is that i do not know if there is a command in c which let me jump from the first line to lets say the
20 line for example
the only solution which i know for it is to use each time fscanf with a loop
but this solution is not very effective
thanks in advance for your time.
hi, i am siva this is frist time taken the python programminglanguage i have a small problem please help me the question is **Write two functions, called countSubStringMatch and countSubStringMatchRecursive that take two arguments, a key string and a target string. These functions iteratively and recursively count the number of instances of the key in the target string. You should complete definitions for
def countSubStringMatch(target,key):
and
def countSubStringMatchRecursive (target, key):
**
Hi,
Is it possible to do Aspect Oriented Programming in Delphi? I would be interested in native support as well as third party solutions.
I don't have a specific problem I want to solve with AOP, but am simply interested in studying AOP.
Thanks, Miel Bronneberg.
Hello people,
I have three images,and , they are not square or rectangular in shape. They are just like face of anyone.
So,basically, my images are in the size 196x196 or anything like that, but complete square or rectangle with the face in the middle and transperant background in the rest of the portion.
Now, I want to remove the transperant background too and just keep the faces.
Don't know if this is possible and mind you, this isn't a programming question.
I'm looking for a web application to manage tasks (not necessary programming-oriented) for a small team. It must be easy to setup and maintain. It must offer file upload and mail users in case of a change. There is hundred of solutions available but most are too complex for what we want or are not "stable" (not updated since a long time, not very well programmed). i was wondering if stack overflow's folks have some recommendations...
Hello All,
I m not able to change the locale of django -admin when i switch to different locale from browser.But if i mention in my settings.py the language code then it is working but browser locale doesnot have any impact on it
#setting.py
LANGUAGES = (
('ar', gettext_noop('Arabic')),
('ja', gettext_noop('japanese')),
('bg', gettext_noop('Bulgarian')),
LANGUAGE_CODE = ''#
LANGUAGE_COOKIE_NAME = 'django_language'
LOCALE_PATHS = ()
hello I'm new to PHP programming and I migrated from ASP .net to PHP..
I have a div just like below
<div id="mydiv"></div>
what I wanted to do is just to change the text and html content(like some name or any data in it) in it.
What I imagine is just like
mydiv=innertext="some value";
Thanks,
GURU
Whats a good Shopping Cart possibly free i know there oscommerce, xcart etc but whats a good one? and fairly easily to implement maintain and edit possibly merge with in my sites current theme.
If you mean technology as in web language which I hope you do than it's php. other then that i have no clue what you mean apache/mysql? amd? lol
Hello!
As I know, this windows is MFC windows. How can I work with this windows (set text, get text, scroll and so on) using COM technology and any script language, for example VBS?
Hi all,
I want to know the current state(SUSPENDED/READY/RUNNING/WAITING state ) of a thread which has been created by CreateThread() api.
How can I find it out?
My developement environment is Visual studio 2008 Expresss edition
also language is C/C++
/renjith g
I need to programatically encrypt a directory of files, like in a .zip or whatever. Preferably password protected obviously.
How can I accomplish this, and WHAT IS the BEST encryption way to do it, if applicable?
Programminglanguage doesn't matter. I am dictioned in all syntax.
i read this statement from a book i read
The Document Object Model or DOM is really not a part of JavaScript but a separate entity existing outside it. Although you can use JavaScript to manipulate DOM objects, other scripting languages may equally well access them too.
what is the best way to avoid conflict between javascript and other client-siede scripting language when we have to deal with XMLHTTPRequest object