howto

how does this site do the hover effects?

hi there. Please look at http://shaiya.aeriagames.com/ and tell me how they do their hover effects on the logo as it is not javascript and works in all browsers ...

C how to use the function uname

Hi all, I should write a function to get some information about the system (the most important information is the the architecture). I found the function uname which can be used including sys/utsname.h. Well, though I googled and I read the documentation, I couldn't find any example of the function and I don't understand how to use uname...

First Struts2 application with AOP

Hi, i want to make an web app based on appfuse-basic-struts maven archetype. My goal is to add AOP with the simplest way, I never used AOP before, so could someone help me with this? Any tutorial - how to add and use it? Any good AOP solution ? (AspectJ/Spring AOP) Any advice on how to write it? ...

How does iCal / WebDev Calendar works?

I tried to post in Apple Developer Forum but I got no luck for 6 days... I hope I get more here :) I'm about to create a convert tool from a CRM application to ical format, witch works fine (I generate the correct code and is well imported, but I need more...), I wanted to know how does iCal App in the Mobile works. How, after the f...

List of free How To tutorials

I would like to conduct a list of How To tutorials here for everybody's use. For example: How to program a web server? How to create a class diagram in UML? etc. ...

How does Forth implement the dictionary? (controversy)

I am studying Forth for a personal project I have on my mind. It looks to be a really cool and simple language to implement in a small virtual machine. I am especially impressed by the possibilities of the use of vocabularies on it. On the other hand, I think the way the dictionary works is overly complex for a language that is overall ...

How to code sharing between Android and iOS

Hi everyone, I'm moving away from strict Android development and wanting to create iPhone applications. My understanding is that I can code the backend of iOS applications in C/C++ and also that I can use the NDK to include C/C++ code in Android apps. My question however is how? I've googled quite a bit and I can't find any clear and co...

How is checksum used for error detection

Hello, This is going probably be a general question regarding checksum used for error detection. I got a lab assignment where we are going to recreate a protocol similar to how RDT2.0 works. And I'm stuck in how to use checksum to detect errors. The functions are there already what I need is to implement the functionality. What I don't...

How to create smart controls for a variety of related objects

Hello, Suppose I have the following model (generic example): Person (base class) Student (derived) Teacher (derived) Secretary (derived) There are some common fields, such as first name, last name, phone nr., but several fields unique to each derived type (Student, Teacher, Secretary). I would like to be able to display each type o...

flood a div inside another div and set opacity

Say I have a html object tree as follows: <div> <p>Text 1</p> <p>Text 2</p> <div></div> </div> I want the css to flood the inner div inside of the outer one. However I want the text etc to appear intact. My idea is I can set a bg color and opacity to the inner div and not affect the text. How do I do this? EDIT: just to e...

how to get the information about the music track playing in the IPhone?

I want to get the information about the music track playing in the IPhone. And my application is a seperate one which is running on the IPhone do I able to get that information? ...

.net micro framework + arm howto

How do i install the .net micro framework on an arm board? ...

Android Development: File Browser For Reading/Saving Files

Does anyone know any good tutorials for this please? Or could anyone run me through some basic code for making this? Please & thank you, Alex. ...

Problem with prolog code

Predicates is_a(X,Y) X is a doctor/handyman drives(X,Y) X drives Y We are given that a doctor drives a sportscar and a handyman drives a 4WD is_a(john,doctor). is_a(david,handyman). Now i want the code decide what kind of car john/david are driving. I tried doing: drives(X,sportscar) :- is_a(X,doctor). drives(Y,4WD) :- is_a...

Android Development: How Can I Add Syntax Highlighting Features

Hello, I want to add syntax highlighting to my application. I'll be using syntax highlighting with PHP, HTML, CSS, XML and JavaScript. How can I do this? I have a TextChanger set up on my EditText, which I want to use so that the syntax highlighting process occurs when the EditText gets changed. I'm new to Android development and only...

How to Record ScreenCast in C# ?

hi , i am looking for a good way to record a screenCast using c# , i think i should record many screenShots (24 /sec) and save them but i dont know if this is the best solution and i dont know how to do that. so i need to know what is the best way to do that and how to implement it . ...

List of best "how-do-they-do-it" sites

Often when people learn a new technology/tool, they come across instances of it being used in a way that isn't readily understandable to them. For example, for a beginner who just learned HTML/JavaScript/CSS, seeing some sites have funky UI's and effects will look complex and intimidating - because hand-coding such effects is something t...

How do I setpassword to compressed zip files in Python

I get this error when I try to set a password to a zip file. Below is the code/error I get. Please give me an example of the correct way to do it. This is just the password part of the script... the entire script is to long to post. Code: password = "dog" password = zipfile.setpassword(pwd) Error received when hitting the password...

Updating Child's Attribute of a XElement (or a Cloned XElement)

Hello...I have an XML as follows. <AFConfig> <Geographies> <Geography id="Place1" description="NicePlace"> <MetaData> <Services> <Service> ... ... </Service> </Services> </MetaData> <Systems> <DefaultSystem systemName="SYSONE" server=http"//192.168.0.0" /> </Systems> </Geography> <Geogr...

What technology was drop box built with?

Does anyone know what the drop box client was built with (I see Python there but I don’t see any sources). And what servers did they use? ...