This question is inspired by several back-and-forths I've had recently about techniques that are or are not optimal for python programming. I may know other languages, but I am still learning in python. A wonderfully helpful comment was just recently posted by MikeD on a suboptimal answer of mine here that mentioned the operator module a...
I come across software developers using the term of creating Wrappers of other classes or APIs or even some codes, this is a term used by experienced Software Programmers
So any idea what do they mean by it;
e.g. a simple question; we got two types of array sorting techniques, lets create a wrapper for it
The above one is a very simpl...
I've made a pure PHP script that uses GD library to put text on an image, text entered from a HTML form.
The problem is that i can't give the user the possibility to position the text properly.
I've found this good example http://lolkot.ru/lolmixer/#1369, it allows users to play with the text very easily with the mouse !
How is this po...
To start with, I am well aware of the security/usability trade-off associated with captchas and do not need any explanation on that.
I know that reCAPTCHA is the state-of-the-art in captcha technology but we just do not want to use it for our site because of the difficulty faced by users to read distorted words. Our site is a study por...
I am new to .net. I created one website.I want to implement Zlib compression technique for compressing data in each every page, so that i can access open my website quickly.But i don't know where I have to write code for that and how to implement it. Can yo send me the sample application code or zip file.
...
Look at this example code, from a Telerik MVC grid:
<% Html.Telerik().Grid(Model.InstallerList)
.Name("InstallerGrid")
.DataKeys(key => key.Add(c => c.InstallerID))
.Columns(column =>
{
column.Template(action =>
{%>
<%= Html.ActionLink("Edit", "Edit", new{ id = action.InstallerID}) %> ...
I have been working at entering and sustaining periods of flow while working, and while researching the concept I came across this site which addressed the idea of sustaining flow in short bursts. The technique specifies that one sets a timer for 48 minutes in which they focus purely on their work, and when the timer runs out they spend ...
What are your techniques to using mobile with asp.net, I know how to detect mobile but I'm stumped trying to find a good way to show my pages on a mobile device.
I'm thinking of just doing a Multi-View and showing the mobile view when they are mobile, however that would not work with our masterpage unless I do same, I'd rather just have...
well we can have name anchors in our page like the following code
<!---Some HTML Code-->
<a href="#Mark_1">Mark 1</a>
<a href="#Mark_2">Mark 2</a>
<!---After some HTML Code-->
<a name="Mark_1">
<!---After some HTML Code-->
<a name="Mark_2">
by doing so we provide links that to scroll up and down a page and all but
I have seen seve...
table structure:
sysdurationtimeday , sysdurationtimehour, sysdurationtimeminute
1, 12,10
3, 23,10
0, 0,10
i have these 3 fields from database, after getting these 3 values, what is the technique that i can use do cast to which Java Object? (maybe Calendar.class, TimeStamp.class) ?
and use it to compared with record is spent less th...
Possible Duplicate:
What are the best programming and development related Blogs?
What are the best-quality hidden gem software development blogs that:
Don't swamp the reader with 50 posts a day,
but deliver more in the order of 3-5
per week
Have a high S/N ratio
in the sense that they educate with long-form and in-depth art...
What would be the best way to debug multi-process code (i.e. processes where parent process spawns multiple child daemon processes). So far I have been doing -
Make sure the program runs fine in single process mode.
After that turn on logging mechanism & try to figure out what might be going on in the logs etc...
Are there any bette...
I have few years of software development experience in classic vb, asp to ASP.net and vb.net. And at this moment exploring F# and MVC, Windows phone 7 in my spare time because my company is unlikely going to use this technologies in near future
it doesn't take long time to understand and become relatively knowledgeable in these new tec...
What online authentication services are available.
I know about
Live ID
OpenID
Are there any other major players.
I am particularity interested in authentication federation so that we can log in once and use on multiple sites (if this is even possible).
...
I friend of mine just posted on Buzz a question:
When you hit "Forgot your password" in most of the pages, they
will send you an email with a link
(most of the time it will expire after
sometime) to reset your pass. In most
cases that link includes something
like a UUID. Is there a name for this
technique? Making an expir...
I am building a tool-bar like umbrella system to link four different sites together and need to log in once from any of the sites but then allow access to all the other sites. There is also a lot of data I need to maintain between sessions. What would be the best approach for this? I have already wondered about just storing session in th...
Good evening everyone.
This is a story anyone developing web applications is surely aware of - You create a site, which is well coded and elegant in the browser of your choice - until you run it in a different browser, which a lot of the time required hacking and slashing to create a functioning site.
I wish to enquire the techniques u...
The app I am writing is suffering quite dramatically from a memory leak. Pretty much the entire object model is staying in memory when a user closes down a loaded project. The way I know this is because closing a project in my app barely effects the memory usage in the task manager and then opening a new project almost makes it double ...
This is not language specific. What are the best methods to limit how many times a person may submit a web form, not knowing any info about that person. Example: Voting for the all star game online, only allowed 1 per 24 hour cycle. Something where you don't have to "log in". My thoughts were:
Use Captcha to keep bots at bay
Drop a...
In case of things that are hard to test using traditional xUnit-style methods, such as various converters, XSLT, etc. I often employ technique based on output comparison. The test program produces some output when it's run for the first time. I make sure it's correct and save it for the later use. On the following runs the program compar...