logo
down
shadow

Recently Posts

Maximum packet size for a TCP connection
Maximum packet size for a TCP connection
I wish this helpful for you The absolute limitation on TCP packet size is 64K (65535 bytes), but in practicality this is far larger than the size of any packet you will see, because the lower layers (e.g. ethernet) have lower packet sizes.The MTU (Ma
» networking
Date : November 27 2020, 07:01 PM , By : Tim.R
CSS DIV not expanding when more text is added
CSS DIV not expanding when more text is added
it helps some times Use min-height instead of height.Except for IE 6: It has a bug, so that it interprets height like min-height.
» html
Date : November 27 2020, 07:01 PM , By : TheSPOUser
Calling stored procedure from another stored procedure and returning result as new columns
Calling stored procedure from another stored procedure and returning result as new columns
will be helpful for those in need How to call stored procedure from another stored procedure and return the result as first one's column? , Ouput parameter for one value:
» sql
Date : November 27 2020, 07:01 PM , By : LMP
How to convert DOS/Windows newline (CRLF) to Unix newline (LF) in a Bash script?
How to convert DOS/Windows newline (CRLF) to Unix newline (LF) in a Bash script?
Hope this helps You can use tr to convert from DOS to Unix; however, you can only do this safely if CR appears in your file only as the first byte of a CRLF byte pair. This is usually the case. You then use:
» linux
Date : November 27 2020, 07:01 PM , By : user3863877
$_SERVER['HTTP_X_REQUESTED_WITH'] seemingly not available on PHP 5.1.6
$_SERVER['HTTP_X_REQUESTED_WITH'] seemingly not available on PHP 5.1.6
Any of those help Since php is installed as an apache module you can use apache_request_headers() for debugging purposes.Does the header show up in debuglog.txt when you add
» php
Date : November 27 2020, 07:01 PM , By : user3863878
WPF change ItemsPanel and ItemTemplate in code behind
WPF change ItemsPanel and ItemTemplate in code behind
I think the issue was by ths following , Your obvious problem is that you are using Resources[] instead of FindResource(). In general, Resources[] will only work if your resource is in the this.Resources dictionary, and not elsewhere.This is how I wo
» wpf
Date : November 27 2020, 07:01 PM , By : Amo
What Java/Scala or .NET web frameworks support modify source code and instantly run workflow e.i. without long rebiuld/r
What Java/Scala or .NET web frameworks support modify source code and instantly run workflow e.i. without long rebiuld/r
Hope that helps Great question! In the java world:In all java frameworks, the JVM hotswap functionality allows your debugger to make some changes in place, however you are somewhat limited - e.g.: you cannot change class hierarchies, add methods, etc
» chash
Date : November 27 2020, 07:01 PM , By : Mouette
how to generate primary key values while inserting data into table through pl/sql stored procedure
how to generate primary key values while inserting data into table through pl/sql stored procedure
this one helps. You can generate primary key values as a surrogate key using an Oracle SEQUENCE. You can create a constraint on a column that uses TRANSLATE to check that no numeric digits exist in newly inserted/updated data.Some example code, suita
» sql
Date : November 27 2020, 07:01 PM , By : Hitesh Jaisinghani
Getting a list of all children of a given commit
Getting a list of all children of a given commit
I think the issue was by ths following , well, "--branches" or "--all" will include all branch tips, and then "--not A" will exclude A and all its ancestry. However, "--branches --not A" will include branches that don't include A, which I think is no
» git
Date : November 27 2020, 07:01 PM , By : user3863889
Javascript compiled or not? Check inside
Javascript compiled or not? Check inside
Any of those help It's merely obfuscated. _0x89f8 is a normal variable, "\x69\x6E\x6E\x65\x72\x48\x54\x4D\x4C" is a normal string (except with all characters written in hexadecimal: \x69 is i and so on; it says "innerHTML").
» javascript
Date : November 27 2020, 07:01 PM , By : user124425
Pushing mail from postfix to iPhone
Pushing mail from postfix to iPhone
fixed the issue. Will look into that further Z-Push is an open source project that implements ActiveSync in PHP. I've played with it works, it's not the greatest solution. BTW, I think you are confused about the part of the system that does the push,
» iphone
Date : November 27 2020, 07:01 PM , By : madala.venkat
Cannot Open Shared Object cygmpfr-1.dll
Cannot Open Shared Object cygmpfr-1.dll
it should still fix some issue I'm testing CeGCC, that is a gcc built to cross-compile applications to Windows CE devices. As everyone do to test compilers, I've done a Hello World program: , Install libmpfr1 package in cygwin.Surranó
» c
Date : November 27 2020, 07:01 PM , By : Stefan Drachsler
Fastest Strategy for Drawing Flash Particles
Fastest Strategy for Drawing Flash Particles
wish help you to fix your issue Depending on the application, it might be easier without using multiple particle instances and by working with bitmap objects instead.
» flash
Date : November 27 2020, 07:01 PM , By : Aldrin Clitar
DataObjects.NET: a good (flawless, documented, support) ORM?
DataObjects.NET: a good (flawless, documented, support) ORM?
To fix this issue I used DataObjects.Net v4. It supports VS 2010 and .Net 4.0 and it is really good ORM. It's easy to use and it constructs the database automatically so you do not design the database and reverse engineer it to classes like some othe
» chash
Date : November 27 2020, 07:01 PM , By : user3863901
ALTER TABLE my_table ADD @column INT
ALTER TABLE my_table ADD @column INT
wish of those help This is possible using dynamic sql to build your DDL and using the EXEC command to execute the string.
» sql-server
Date : November 27 2020, 07:01 PM , By : user3863902
Is there a way to copy all the data in a mysql database to another? (phpmyadmin)
Is there a way to copy all the data in a mysql database to another? (phpmyadmin)
Hope that helps In phpMyAdmin, just export a dump (using the export) tab and re-import it on the other server using the sql tab. Make sure you compare the results, I have had phpMyAdmin screw up the import more than once.
» mysql
Date : November 27 2020, 07:01 PM , By : zeinab
How would be data stored at database in case of social networking site?
How would be data stored at database in case of social networking site?
I wish this helpful for you This would seem like a MANY-TO-MANY Situation.Something like, where UserRelations.UserID and UserRelations.UserRelatedID should be foreign keys to Users
» database
Date : November 27 2020, 07:01 PM , By : Iglo619
C compiler producing lightweight executeables
C compiler producing lightweight executeables
may help you . 99.9% a programs performance depends on the code you write and the language you choose. you can safely ignore the performance of the the compiler.Stick to MSVC...and dont waste time :)
» c
Date : November 27 2020, 07:01 PM , By : Lydia-bianka Laberge
Which is the best php opensource e-commerce for handle 5 million prducts import daily?
Which is the best php opensource e-commerce for handle 5 million prducts import daily?
it should still fix some issue I don't have a definite answer for you since I find myself in a similar situation, but don't use Magento.It's even expensive when it's free. It's slow and bloat, when customized, upgrades are next to impossible. The API
» php
Date : November 27 2020, 07:01 PM , By : marsye109
dynamic memory for 2D char array
dynamic memory for 2D char array
like below fixes the issue I have declared an array char **arr; How to initialize the memory for the 2D char array. , One way is to do the following:
» c
Date : November 27 2020, 07:01 PM , By : Askard
After form validation, how do you redirect to a new url w/ PHP
After form validation, how do you redirect to a new url w/ PHP
I hope this helps . You have to send an HTTP Location header ; this can be done, in PHP, with code such as this example :
» php
Date : November 26 2020, 07:01 PM , By : Paul
Where do I put all these function-like #defines, in C?
Where do I put all these function-like #defines, in C?
this will help I'm working with an embedded system, and I'm ending up with a ton of HW-interfacing define macros. I want to put all of these into a separate file (for OOP-ness), but I don't know the best way to include that. Do I just put them all in
» c
Date : November 26 2020, 07:01 PM , By : DrP6464
Using socket API on IPhone
Using socket API on IPhone
With these it helps Take a look at CoreFoundation's CFSocket. You can integrate it easily into your app's run loop, so there's no messing around with threads. This free book excerpt shows you how to use it.CFSocket is a wrapper around a bsd socket, a
» iphone
Date : November 26 2020, 07:01 PM , By : Elise Georis
servlet connection to DB
servlet connection to DB
it fixes the issue Initially, after reading books on the subject, I firmly believed that the algorithm for working with a database from a servlet is as follows: create a connection -> connect to the database -> form a request -> send the request to t
» java
Date : November 26 2020, 07:01 PM , By : MiBetaSigma
ASP.NET MVC: calling a controller method from view
ASP.NET MVC: calling a controller method from view
Does that help If you know the number of the current page, could you not just render links where the page value = current page plus/minus 1 for the previous and next links? You don't really need the view to ask the controller what the next/previous p
» asp.net-mvc
Date : November 26 2020, 07:01 PM , By : user3856442
Invoke web-services in JSF
Invoke web-services in JSF
To fix this issue The way you access web services from your code (managed beans perhaps?) does not depend on JSF. CXF and Metro are both implementations of JAX-WS, using which you can implement web-service client code.
» java
Date : November 26 2020, 07:01 PM , By : Vash Zelpher
Managing many objects at once
Managing many objects at once
I wish did fix the issue. How to keep track of the objects depends very much on what you want to do with them. Do you need to quickly access some particle known by index? Then use a vector. Are your particles somehow mapped by names? Then you can use
» cpp
Date : November 26 2020, 07:01 PM , By : user3857262
json with Autocomplete?
json with Autocomplete?
To fix the issue you can do Check out the jQuery UI Autocomplete plugin
» jquery
Date : November 26 2020, 07:01 PM , By : Aradhya
SCORM lib for php
SCORM lib for php
seems to work fine The first thing you need to determine is whether your site would be considered a learning management system or a piece of content. The SCORM implementation varies considerably based of what you are trying to develop. Check out http
» php
Date : November 26 2020, 07:01 PM , By : Sasha Sascha Luehrs
NSString (hex) to bytes
NSString (hex) to bytes
wish help you to fix your issue Fastest NSString category implementation that I could think of (cocktail of some examples):
» objective-c
Date : November 26 2020, 07:01 PM , By : Eli Zarka
GUI for linux c
GUI for linux c
wish helps you If you want to develop GUI applications for Linux with pure C you can use GTK+. IF C++ is an option you also have Qt.
» c
Date : November 26 2020, 07:01 PM , By : Julesw01
Jquery table sorter-
Jquery table sorter-
I wish this help you Give the one table an ID, change your jQuery selector from 'table' to 'theID'. It helps if you post your code.
» jquery
Date : November 26 2020, 07:01 PM , By : Ted
When Running android app I get ADB error
When Running android app I get ADB error
I wish this help you I solve this problem by remove the IPV6 localhost address from my hosts file and by restarting Eclipse.
» android
Date : November 26 2020, 07:01 PM , By : travis
How to get jQuery to work with Prototype
How to get jQuery to work with Prototype
fixed the issue. Will look into that further you should use jQuery.noConflict(); and after this all calls to jquery should be done only using the jQuery() instead of $()
» jquery
Date : November 26 2020, 07:01 PM , By : user3859404
How use Django with Tornado web server?
How use Django with Tornado web server?
Hope that helps it's very simple ( especially with django 1.4) . 1 - just build your django project( and apps ) and make sure it works fine.
» ajax
Date : November 26 2020, 07:01 PM , By : Sumit
how to set cache for css/js file
how to set cache for css/js file
Any of those help If you are using Apache, I would start here. http://www.askapache.com/htaccess/htaccess.html http://www.askapache.com/htaccess/speed-up-your-site-with-caching-and-cache-control.htmlcaching-with-mod_expires
» css
Date : November 26 2020, 07:01 PM , By : user3859857
Multiplayer game
Multiplayer game
hop of those help? It is quite difficult to "reach your friend over the internet", whatever the framework.Reaching someone's PC requires knowing the IP address of the destination PC. If the PC is behind a router, the PC most likely has a private IP a
» chash
Date : November 26 2020, 07:01 PM , By : user3859980
How to reference a .dll from a .jar file
How to reference a .dll from a .jar file
I wish did fix the issue. java.library.path solution isn't always good: there are many situations where you can't change JVM parameters. Better solutions:1) already mentioned: put DLL in the same directory as JAR, unfortunately it makes usage of such
» java
Date : November 26 2020, 07:01 PM , By : user3860335
Control VLC from Python in Windows
Control VLC from Python in Windows
Does that help Yes, you can control it via telnet (with telnetlib). There are also libvlc bindings, but I'm not sure you can use that to control an existing VLC instance.
» python
Date : November 26 2020, 07:01 PM , By : user3861339
Reading an XML File with .NET
Reading an XML File with .NET
should help you out LINQ to XML is a great place to start. Consider the following code to parse your XML.
» chash
Date : November 26 2020, 07:01 PM , By : Rohit Kr Gupta
Curl redirect,, not working?
Curl redirect,, not working?
wish of those help I'm using the following code:
» php
Date : November 26 2020, 07:01 PM , By : rdratl
Excel VBA to Update SQL Table
Excel VBA to Update SQL Table
hop of those help? Instead of AddNew to open a new record, use Find to locate an existing one. Like:
» sql
Date : November 26 2020, 07:01 PM , By : user3861629
Converting mercurial repository to svn repository
Converting mercurial repository to svn repository
With these it helps Consider using hgsubversion which lets you work on a svn repo from within mercurial, which it sounds like is your real goal.Alternately you can use the 'convert' command inside mercurial to do the convert:
» svn
Date : November 26 2020, 07:01 PM , By : Nirone Rome
How to save a png image to camera roll?
How to save a png image to camera roll?
around this issue I'd like to save screenshots from my game to camera roll. Right now I'm using UIImageWriteToSavedPhotosAlbum which saves the image in jpg format with way too much ugly jpg artifacts. Is there a way to save an UIImage in png format t
» iphone
Date : November 26 2020, 07:01 PM , By : redwert
getting date from JQueryUI Datepicker
getting date from JQueryUI Datepicker
this will help See the jQuery UI docs. In code:
» jquery
Date : November 26 2020, 07:01 PM , By : Andrius
Connect two client sockets
Connect two client sockets
seems to work fine First of all, don't call an accepted client (server-side) its socket a Client Socket. That is very confusing.
» java
Date : November 26 2020, 07:01 PM , By : jsw2015
How to build a programmer's wiki
How to build a programmer's wiki
I wish this help you We're using TWiki for internal dev stuff, and I don't particularly like it. I'd rather use MediaWiki, as that's what Wikipedia uses, and more people are familiar with it.
» development
Date : November 26 2020, 07:01 PM , By : willhipschman
Why does this code read all ' ' for the anything after the 4th character?
Why does this code read all ' ' for the anything after the 4th character?
hop of those help? This is because the %s is trying to print out a string. It detects the end of the string by finding the null character (byte value of 0). So, it's probably not printing out a space at all, but rather printing out nothing, or an emp
» c
Date : November 26 2020, 07:01 PM , By : mpud
Sharing a COM port over TCP
Sharing a COM port over TCP
wish help you to fix your issue Why write at such a low-level (sockets)? Why not use WCF as the communication between the clients and the server and present a cleaner, strongly-typed interface instead of raw access to the GPS device?Devices like this
» chash
Date : November 26 2020, 07:01 PM , By : user3862705
Switching xib's in iPhone SDK?
Switching xib's in iPhone SDK?
fixed the issue. Will look into that further Based on what you've written, you're probably a lot better off using a UINavigationController for this. It's specifically designed to be able to push new controllers in and manage notifications when these
» iphone
Date : November 26 2020, 07:01 PM , By : user3862910
How do you automate building notes NTF files from lotus script files (lss) file?
How do you automate building notes NTF files from lotus script files (lss) file?
Does that help There is no real concept of a build process in Notes. All the artifacts are in the nsf file and to change them you need to go in with Domino Designer and modify / create them. You never have a bunch of source files outside of the nsf t
» development
Date : November 26 2020, 07:01 PM , By : user3863258
upload streaming to WCF IIS 7 hosted service not working
upload streaming to WCF IIS 7 hosted service not working
like below fixes the issue Recently, we had the same issue. When you host your service under IIS, no matter if you enable streaming or not, your service will buffer the entire message prior to sending it. The reason for this, is that it appears as th
» wcf
Date : November 26 2020, 07:01 PM , By : Prajwal Hkvadhul
What providers give out a 'cloud' platform?
What providers give out a 'cloud' platform?
This might help you Cloud computing is not just about virtual machines. It is about hardware-based services (involving computing, network and storage capacities), where: Services are provided on-demand; customers can pay for them as they go, without
» amazon-ec2
Date : November 26 2020, 07:01 PM , By : user3863260
Water jugs heuristic function for A*
Water jugs heuristic function for A*
wish helps you There are two general methods how to design an admissible heuristic. Both work by solving a simpler problem. The heuristic value is then the distance to the goal in the simpler problem.1. Relaxation
» algorithm
Date : November 26 2020, 07:01 PM , By : Futch
How to determine user DN after authentication against an Active Directory?
How to determine user DN after authentication against an Active Directory?
hop of those help? To my knowledge you will have to do an LDAP Search for the user and get the distinguishedName property from AD. See below:
» chash
Date : November 26 2020, 07:01 PM , By : user3863266
how to tell if a photo was taken in landscape or portrait? JPEG .NET metadata orientation
how to tell if a photo was taken in landscape or portrait? JPEG .NET metadata orientation
it helps some times Yes, there's an EXIF tag that can store the orientation. Tag number 274, values are documented here. Sample code to read the tags from the JPEG data is available here.
» .net
Date : November 26 2020, 07:01 PM , By : Claire Chi
What is the _REENTRANT flag?
What is the _REENTRANT flag?
should help you out Defining _REENTRANT causes the compiler to use thread safe (i.e. re-entrant) versions of several functions in the C library.You can search your header files to see what happens when it's defined.
» cpp
Date : November 26 2020, 07:01 PM , By : chandu
How to merge/crosslink Javadoc?
How to merge/crosslink Javadoc?
With these it helps Try using the '-linkoffline' or '-link' options described here http://java.sun.com/j2se/1.3/docs/tooldocs/solaris/javadoc.htmllinkoffline
» development
Date : November 26 2020, 07:01 PM , By : user3863272
Passing lines as args to a script
Passing lines as args to a script
I hope this helps . How do I pass each line from a text file as an argument to a script I have written? So each line is then in itself a single arg to the script each time.
» linux
Date : November 26 2020, 07:01 PM , By : Akash Sinha
regex question: independent position of words
regex question: independent position of words
like below fixes the issue You can use positive lookaheads. For example,
» regex
Date : November 26 2020, 07:01 PM , By : Iulian932

shadow
Privacy Policy - Terms - Contact Us © 35dp-dentalpractice.co.uk