Hello,
How do I compress/decompress a string in VB.NET ?
I am trying to send long string through the Network and need them to be as small as possible before sending.
Thanks
I'm setting up a centrally hosted Mercurial repository. I would like to be able to define only a small set of users that are able to access that repository (maybe 3 or 4) - what do I need to write in the .hg/hgrc file that in order to make it work like this?
thanks, P
Hi,
I created a small WPF desktop application. I am thinking about how to make my application internationalized. Is there any Language Class to research (.NET 3.5 based)?
I want to load the my application language from windows region/language configuration automatically.
OR. some method to switch language from my application menu list.( no additional language package installation, assume the windowns system language packages support Chinese/English/Japanese/Korea already).
We have switched to JBoss 6 to make it possible to use a wider range of Java EE technologies. We chose JBoss because of its small memory footprint compared to other application servers, so we have no other choice.
Do you know any developer tools that can be integrated with JBoss AS 6?
Thanks in advance
Jonathan Frank
I am using mmap call to read from a very big file using simple pointer arithmetic in C++. The problem is that when I read small chunks of data (in the order of KBs) multiple times, each read take the same amount of time as the previous one. How can I know if the disk is being accessed to fulfill my request or whether the request is being fulfilled from main memory (page cache) in calls after the first one.
Hi guys,
Did anyone ever managed to connect to remote webcam through flex application?
I know there is media.Camera object but I only managed to connect it locally,
must be small thing that i missing...
Thanks,
Royee
im quite lost here and not really expert about javascript. I want to change the content when user click with "Thanks for vote" automatically without need to refresh the page.
Here is my html:
{% if poll.privacy == "own" and request.user.get_profile.parliment != poll.location %}
You do not have permission to vote this.
{% else %}
{% if has_vote %}
{% if poll.rating_option == '1to5' %}
<div class="rate">
<div id="poll-rate-{{ poll.pk }}"></div>
</div>
{% else %}
Thanks for your vote.
{% endif %}
{% else %}
{% if poll.rating_option == 'yes_no' %}
<a href="javascript:void(0)" class="rate btn btn-xs btn-success mr5 vote-positive" rel="{% url 'vote_vote' poll.pk 1 %}" alt="{{ poll.pk }}">Yes</a>
<a href="javascript:void(0)" class="rate btn btn-xs btn-danger vote-negative" rel="{% url 'vote_vote' poll.pk 0 %}" alt="{{ poll.pk }}">No</a>
{% elif poll.rating_option == 'like_dislike' %}
<a href="javascript:void(0)" class="rate btn btn-xs btn-success mr5 vote-positive" rel="{% url 'vote_vote' poll.pk 1 %}" alt="{{ poll.pk }}">Like</a>
<a href="javascript:void(0)" class="rate btn btn-xs btn-danger vote-negative" rel="{% url 'vote_vote' poll.pk 0 %}" alt="{{ poll.pk }}">Dislike</a>
{% elif poll.rating_option == '1to5' %}
<div class="rate">
<div id="poll-rate-{{ poll.pk }}"></div>
</div>
{% endif %}
{% endif %}
{% endif %}
and here is my javascript:
function bindVoteHandler() {
$('a.vote-positive, a.vote-negative').click(function(event) {
event.preventDefault();
var link = $(this).attr('rel');
var poll_pk = $(this).attr('alt');
var selected_div = $(this).parent('div');
selected_div.html('<img src="{{ STATIC_URL }}img/loading_small.gif" />');
$.ajax(link).done(function( data ) {
var result_div = $('div#vote-result-'+poll_pk);
result_div.html(data);
result_div.removeClass('vote-result-grey-out');
selected_div.html('<small>Thanks for your vote.</small>');
});
});
};
did anyone know what is the problem why i need to refresh my page after Like/Vote/rate to make it become (Thanks For your vote) ?
please someone know help or share link with me.
Below is the image:
before click Like:
after click Like:
then when refreshed the word just displayed, it supposed automatically display when click Like.
Thank you in advance..
Does anyone have any suggestions for a good cross platform input library?
I'd like to get:
* at least keyboard and mouse input
* on at least the big three operating systems
* Small/fast
* C or C++
* permissive licensing gpl2/mit/free/etc.
So far I've seen:
* OIS (used in Ogre) http://sourceforge.net/projects/wgois/
* SDL (used everywhere it seems, might be a clue) http://www.libsdl.org/index.php
* Allegro http://www.talula.demon.co.uk/allegro/readme.html
Has any one used any of these, or know of something else that might be good?
Thanks
In the next few weeks I'll be taking my site from the localhost (WAMP) and puting it on a new server. This will be the first site, on my first server, so basically...i'm a noob!
This must be an important moment for any independent web developer / small business so i'd love to hear about some experiences, mistakes and system default security holes that one should fix straight away...
I'm using php, mysql, cpanel and WHM, and looking for tips like "Turn off error reporting in PHP"
I need to import yahoo,Live and AOL contacts list. I have already done gmail(their website has the whole hting explained properly). but cannot find much help for live, yahoo and aol for vb.net. Any help will be appreciated. some small source code or where to download API's.
Thanks
There are times that I automagically create small shell scripts from Python, and I want to make sure that the filename arguments do not contain non-escaped special characters. I've rolled my own solution, that I will provide as an answer, but I am almost certain I've seen such a function lost somewhere in the standard library. By “lost” I mean I didn't find it in an obvious module like shlex, cmd or subprocess.
Do you know of such a function in the stdlib?
Hi,
I'm currently adding a PDF viewer in a Delphi program using TAcroPDF. My problem is, the touch screens that need to show the PDF are rather small, so I wanted to add bigger buttons for scrolling.
I thought I could use the function ScrollBy(DeltaX, DeltaY), but the function scrolls the component within it's container in stead of scrolling the document itself.
Is there some way to scroll the PDF document?
I have a small network in which there are 2 electronic devices and one desktop connected using a switch. Through the desktop with Ethereal/wireshark installed on it, can I sniff the packets that are being communicated between the 2 electronic devices?
I cannot install ethereal or wireshark on either of the electronic devices, but need to monitor the traffic between the 2 devices from my desktop, which is connected via the same switch.
What is the simplest possible C function for starting the R interpreter, passing in a small expression (eg, 2+2), and getting out the result? I'm trying to compile with MingW on Windows.
Seriously. On a 22" monitor, it only covers maybe a quarter of the screen. I need some ammo to axe down this rule.
Edit: I'm not saying that there shouldn't be a limit; I'm just saying, 80 characters is very small.
I'm thinking about getting a small touchscreen to work with the Windows Phone 7 emulator... but will the developers tools support multi-touch from a touchscreen? I've only seen it with single mouse clicks so far...
I know this is a strange question but the idea is simple: I prefer C# syntax rather than C++:
-Setters and getters directly inside a property
-interfaces
-foreach statement
-possibility to declare an implicit cast operator
other small things...
What I really don't know is if is possible to import a c++ dll (expecially std libraries) in C# if I don't use any namespace (even System)
The idea is just to write a program using everything that you will normally use in C++ (nothing from CLR so), even printf for example
Thanks for any answer
I want to write a small bit of data from my app to the iphone so I can load it when the app next starts. I am going to write the data using NSCoding, but I don't know what I should be specifying as a path. I understand I would write the data to the application sandbox, just not sure how to specify that.
gary
I'm going to be writing a small app based on the .NET SerialPort class.
Is there a generic dialog available for setting the port settings, ala baud rate, data bits, stop bit, parity bit, flow control, etc? I didn't see one in the MSDN documentation, but I would think that one exists, since that stuff doesn't change.
I understand there are a number of small applications built on MVC. Is there an enterprise application sample that is standardized and uses best practices?
Hi all,
I'm currently looking at developing a small client that has the ability to read text to speech in a variety of languages. Mainly targeting English & Japanese.
So my question is, does anyone know of a library that is capable of reading English and Japanese to speech?
My target development language initially, is c#
Thanks for your time.
I had an image in image in my iPhone application. The text in the image is not readable as it is very small. How can I zoom it at run time?
Anyone please help..
I am the manager of a small team of software engineers. One member of this team write very insecure code. I have tried showing him documentation like the OWASP Top 10, but he just doesn't get it. I can't knowingly put vulnerable code into production. So what do I do with this programmer?
How to convert an large image and embed it into postscript?
I used to convert the bitmap into HEX codes and render with colorimage. It works for small icons but I hit a /limitcheck error in ghostscript when I try to embed little larger images.
It seem there is a memory limit for bitmap in ghostscript.
I am looking a solution which can run without 3rd party/pre-processing other then ghostscript itself.
I am currently writing a small graphical performance test benchmark for JavaFX.
Thus, I need to get the current FPS at which the JavaFX scene is being refreshed.
So far, I haven't found a solution how to accomplish this.
Does anyone know if there is some kind of event that I could use in order to get the FPS?