Tag : Workaround

Title User Language Tags Description Date
File Share Messenger 1.0 Stephen Chappell python

File I/O has many potential uses, and in the case of network file shares, messaging can be conducted by creating files in a directory and scanning for new files to find new messages. In the case where there are restrictions within a network that prevent opening server sockets or creating and using client sockets, the technique in this recipe may be used with file shares instead. The program is simple and was written in about fifty minutes, so there are a great deal of enhancements that could be made to the recipe and its capabilities. Hopefully, this will provide inspiration for other program writers.

If you have any comments or wish to down-vote this recipe, please provide your insight as to what could be improved upon and how you would go about fixing any problems that you might find.

April 6, 2011
File Share Messenger 2.5 Stephen Chappell python

After writing the limited program shown in recipe 577637, the following program was written with a better yet incompatible I/O system designed not to fill up a file share with many, separate files. This program had five revisions as outlined within the source code. To access settings within this program, use the "F2" key. Documentation may be accessed via the "F1" key (with future plans cut).

If anyone wishes to comment or vote this recipe down, please provide your insight into the fault(s) of the program and provide a suggestion as to what solution you would implement to fix the problems.

April 6, 2011
FSM 2.5 Reader Stephen Chappell python

For those who would want to search the message logs produced by recipe 577638, this program provides a command-line solution to searching messages according to their authors. If this program is placed in the message directory, the program may be executed on the command-line with the author's name as an argument. If and when the program is executed without an argument, usage information is shown on the screen before exiting. If an author was not found, the author's name is printed stating that nothing could be found. If a matching file was found, all timestamps and messages will be displayed that could be decoded correctly.

If there are any recommendation for this recipe or if anyone wishes to down-vote this recipe, please provide corrective criticism showing the the program's faults and give suggestions on how you would fix any problems that it might have.

April 6, 2011
IE6 & IE7 Table float override vagrantradio CSS

Any table with an attribute of align="left" also applies float:left in older versions of IE, this fixes it.

May 21, 2010
safari double cellspacings when is used. localhorst CSS

this is a lazy fix for a problem I came across. safari doubles the border spacing to divide table cells when using tbody ( I cant use borders+collapse, because of rounded tablecells :( )

May 6, 2009
Workaround for "broken" IDisposable implementation for WCF clients for use with generated proxies. Kevin McFarlane C# The technique here is to provide an override for IDisposable.Dispose() that ensures Abort() is called. We then place this in a partial class implementation that can be used alongside a generated or hand-crafted client proxy. October 23, 2008
Workaround for "broken" IDisposable implementation for WCF clients Kevin McFarlane C# Workaround for "broken" IDisposable implementation for WCF clients. Dispose() calls Close() which can throw an exception. So we need to ensure that Abort() is called. October 22, 2008
BUG NOT FIXED - Workaround to Missing User Control Toolbox Issue Mike Eaton VB.NET Adding a UserControl project to a Solution folder does NOT automatically add the control to the Designer Toolbox. This DOES NOT FIX the bug... unfortunately once the project is closed, the toolbox entry is reset. February 14, 2008
Multiple Forms & InputPanel ObjectDisposedException workaround Virgilio Esteves C# Prevents the ObjectDisposedException from happening when using multiple forms with SIP (Soft Input Panel) support and closing at least one of them and then trying to use the SIP again. December 26, 2007
Workaround for inability to dynamically set WebBrowser.DocumentText Andrew Ransom C# Allows you to dynamically set the HTML for a .NET 2.0 WebBrowser control, bypassing the DocumentText "bug". October 25, 2007
Set IE Hover State noah JavaScript

assigns/removes the class 'over' to elements on hover since IE does not attach :hover to any element but A

June 11, 2007
VideoEvent.COMPLETE workaround - AS3 DilutedImage AS3 In need of a FLVPlayback component "COMPLETE" detection that worked despite improper meta data embedded by the Flash Video Encoder, I devised this snippet. NOTE: THIS ONLY WORKS WITHOUT A VIDEO CONTROLLER, AS IT LISTENS FOR THE "stopped" VIDEO STATE. June 10, 2007
CTreeCtrl WM_CONTEXTMENU workaround Greg Ellis C++ Handle NM_RCLICK to get the WM_CONTEXTMENU to work as expected with a CTreeCtrl class. Without this workaround the WM_CONTEXTMENU never fires when it is supposed to. April 2, 2007
Workaround for missed SIGINT in multithreaded programs Allen Downey python

Multithreaded Python programs often ignore the SIGINT generated by a Keyboard Interrupt, especially if the thread that gets the signal is waiting or sleeping. This module provides a workaround by forking a child process that executes the rest of the program while the parent process waits for signals and kills the child process.

May 24, 2006