For some reason my xampp server is buffering the output of my php. I want it to spit it out as it goes. Anyone any ideas which settings I need to change to achieve this?
Thanks
Hi.
I currently got this script, which compresses byte arrays.
But I need it rewritten, so it can compress triple byte arrays [,,]
Thanks!
public static byte[] Compress(byte[] buffer)
{
MemoryStream ms = new MemoryStream();
GZipStream zip = new GZipStream(ms, CompressionMode.Compress, true);
zip.Write(buffer, 0, buffer.Length);
zip.Close();…
Hi
I'm implementing a wiki style site and want to highlight changes made to articles between successive versions. Using htmldiff to highlight changes works great, except it is rather cpu intensive. I'm using the awesome vestal_versions plugin for versioning.
So how best to handle this? I considered having an on_create callback on version…
I have a dilemma. I've used DI (read: factory) to provide core components for a homebrew ORM.
The container provides database connections, DAO's,Mappers and their resultant Domain Objects on request.
Here's a basic outline of the Mappers and Domain Object classes
class Mapper{
public function __constructor($DAO){
…
I am making a website with some screenshots of an iPhone app I made and was wondering if there was some kind of slideshow thing for HTML. I want it to have the iPhone frame and the slideshow with the screenshots in the middle of it. I would prefer it to be written in something other than flash.
Thanks in advance!
I am trying to diagnose repeated lock wait timeouts from my ASP.NET app to MySQL 5.1. I'm using MySQL Connector/NET 6.2.3.
I don't see anything MySQL-related in Perfmon's Performance Object dropdown list.
What else can I do to try to diagnose these issues?
I'm looking for a way to play flash videos in the background, without controls (yes legitimate reason), and a js api to start/stop the videos easily, like:
video1.stop();
or
$("div.all-videos").start();
Basically, I'm looking for http://www.happyworm.com/jquery/jplayer/ for video.
Soundmanager is basically what I need on…
I am looking to implement a client side RDFa based formatting for a web application. This would be similar to Mark Birbeck's ubiquity-rdfa project.
Mark's project looks fantastic but it has at least two drawbacks:
It is slow. Adding RDFa formatting to a simple page causes a noticeable delay in page loading.
It is complex. …
I work at a company with hundreds of people writing software for essentially the same product. The quality of the software has to be high because so many people depend on it (not least the developers themselves). Because of this every major issue has resulted in a new check - either automated or manual.
As a result the…
I've created an XML file using the .Save() method of an ADODB recordset in the following manner.
dim res
dim objXML: Set objXML = Server.CreateObject("MSXML2.DOMDocument")
'This returns an ADODB recordset
set res = ExecuteReader("SELECT * from some_table)
With res
Call .Save(objXML, 1)
Call…
Hello
I've seen BalusC's page on passing values to a validator but that is using inputText components. I'm using rich:inplaceInput components and it doesn't seem to work. Can someone tell me if it is possible, and if it is how to do simply?
Thanks
I'm looking for something like the following:
previous_invoices = Invoice.objects.filter(is_open=False).order_by('-created').group_by('user')
(group_by() doesn't exist)
This would find the most recently closed invoice for each user. This aggregation API seems to let you do stuff like this for counts and sums, but I…
What if I want to do something with my formset other than immediately saving it?
How can I do this?
for form in vehicles_formset.forms:
listing.id = None
listing.vehicle_year = form.cleaned_data['year']
listing.vehicle_make = form.cleaned_data['make']
…
Hey all,
I am trying to use the date command in Terminal on multiple Mac OS X machines that are synced via NTP to synchronize some code in a program. Essentially I am running a program...
MyProgram with arguments[date]
I can get date to give me the seconds since the Unix epoch with the %M specifier.
When…
We cannot seem to process some group messages with QuickFix.
I am trying to set up a connection with the ICE exchange using QuickFix (C++). I have created a custom data dictionary to handle ICE's non-standard messages. The first message to handle is a SecurityDefinition. The message contains about 13000…
Hi.. I am new to serialization and I cannot for the life of me figure out how to fix this exception I am getting...
I have an object that has the following structure
[XmlRoot("MaxCut2")]
public class MaxCut2File : IFile
{
public MaxCut2File()
{
MyJob = new Job();
Job.Reference =…
We currently own our own servers, and rent a rack in a datacentre.
Looking at the pricing, scalabilty and SLAs for Azure SQL, I am thinking that it might be viable to only use Azure SQL but continue to use our existing applications on our own servers in a datacentres.
This will enable us to not…
I have a complex build system involving many ant scripts, some targets of which invoke the javac task.
These ant scripts do not provide for a way to request a debug build from javac, i.e. neither debug nor debuglevel parameters of the javac task are specified.
Is it still possible to instruct…
I'm experiencing a bizarre problem with sockets between a Java Knopflerfish client bundle and a PHP (CLI, not web) server.
The client/server pair work fine when both are located on the localhost, and all data is transmitted successfully. However, when the Java client exists on a different…
Recently I installed a certificate on the website I'm working on. I've made as much of the site as possible work with HTTP, but after you log in, it has to remain in HTTPS to prevent session hi-jacking, doesn't it?
Unfortunately, this causes some problems with Google Maps; I get warnings…
I'm trying to execute a PL/SQL function in EclipseLink which uses Oracle Specific types(eg. Boolean).
I've tried using PLSQLStoredProcedureCall which complains that I'm not executing a procedure and I have tried using StoredFunctionCall but that returns
PLS-00382: expression is of wrong…