I know that when creating a DLL and declaring items as "Shared" (Static in C#) that they are instantiated when first called, and then that object reference lives on as the single reference.
So declaring a shared string property once set can be called again to retreive the same value. And that thread safety is then a Major concern withi...
When reusing code (for example, a Util library you created), do you add its project to your solution or use a compiled/published DLL from the Util library?
...
Can someone suggest a good UI framework for WinForms development? What I'm looking for is something that is fairly mature (=bug-free), renders well and quickly, and does not bloat my program with 10Mb assemblies.
...
While reading this interview with Bjarne Stroustrup on education. He had this to say:
I’m not sure how much of the problem is Java itself and how much is the emphasis on using libraries, though. The trouble is that Java has in many places been used to dumb down the curriculum while at the same time increasing the apparent level of de...
I've recently bumped into something called IOCP on the windows platform, to be more precise: Input/Output Control Ports. This seems to be the most efficient way to code your server software when it needs to hold thousands of users concurrently.
(Correct me if I'm wrong, but thread-per-socket, polling, and asynchronous callbacks (thread o...
F# has a bunch of standard sequence operators I have come to know and love from my experience with Mathematica. F# is getting lots of my attention now, and when it is in general release, I intend to use it frequently.
Right now, since F# isn't yet in general release, I can't really use it in production code. LINQ implements some of th...
Can someone point me to a public domain (or MIT- or BSD-license) library for decompressing .Z files in ANSI C?
Thanks!
...
Hi,
I'd like to write my own script in C# to test my own dictionary of too-many-to-do-it-manually words against whois database of world wide web domains.
Is there any free library / script that would allow my application to test the words against free domains and get the results quite quick?
There are Internet applications like whoix...
Hi folks!
I'm currently searching for a Java networking library. What I want to do is sending XML, JSON or other serialized messages from a client to another client and/or client to server.
My first attempt was to create an POJO for each message, plus a MessageWriter for sending and a MessageReader for receiving it. Plus socket and err...
Hello!
I am trying to get PhysX working using Ubuntu.
First, I downloaded the SDK here:
http://developer.download.nvidia.com/PhysX/2.8.1/PhysX_2.8.1_SDK_CoreLinux_deb.tar.gz
Next, I extracted the files and installed each package with:
dpkg -i filename.deb
This gives me the following files located in /usr/lib/PhysX/v2.8.1:
li...
I am wondering where and when fluent interfaces are a good idea, so I am looking for examples. So far I have found only 3 useful cases, e.g. Ruby's collections, like
unique_words = File.read("words.txt").downcase.split.sort.uniq.length
and Fest (Java) for unit testing:
assertThat(yoda).isInstanceOf(Jedi.class)
.isEqualTo(foundJed...
Hi all,
We have a PDF that is generated as A5 landscape pages.
With that, we need to do a PDF with A4 portrait page format, by putting 2 pages of the source PDF on top of each other on each page of the result PDF.
Do you know a good library that could do that kind of PDF manipulations ? This should happen server side from an ASP.NET w...
Is there available REST api library for haskell?
I need it primary for google gdata client, but will probably use it for other purposes too.
I know there is HTTP library, but I need something more high level, which supports things like json encoding/decoding, etc...
...
How can I "hide" parts of a class so that whoever is using the libary does not have to include headers for all the types used in my class. Ie take the MainWindow class below, ho can I have it so when compiled in a static/dynamic libary, whoever is useing the libary does NOT have to include windows.h, ie HWND, CRITICAL_SECTION, LRESULT, e...
I am looking for an open source library in Java for parsing and building sql like expressions.
for example to evaluate validity of expressions like:
"(a = x or y ) and (b != z)"
in addition I want to have an API for building or extending expressions.
something like:
Expression exp = new Expression();
exp.addCondition("a",{"x","y"...
Hi,
Can I find out where do you search for code libraries on the web? Any specific websites or search engines to recommend?
...
Hello
I am looking for a C/C++ library to convert HTML (Actually XHTML + CSS) documents to PDF.
It is for commercial use and source would be nice but not essential.
Anybody have any recommendations or experience doing this?
UPDATE: To clarify, I am targeting the Windows platform only. I am developing with Borland C++ Builder 2006, bu...
Currently our Java application uses the values held within a tab delimited *.cfg file. We need to change this application so that it now uses an XML file.
What is the best/simplest library to use in order to read in values from this file?
...
I have a PHP file which I have used mod rewrite to make a .jpg extension. I want to grab an image from a url
example: http://msn.com/lol.gif
take the data and then display it in my .jpg with jpeg headers, so as far as the user is concerned it is a normal image. Is this possible and if so can anyone give me some pointers?
...
When designing the public API of a generic library, how much of the low-level stuff that's used internally should be exposed? On the one hand, users should not depend too heavily on implementation details, and too many low-level functions/classes might clutter the API. Therefore, the knee-jerk response might be "none". On the other ha...