I have a folder with more than 2000 files and I need to index their file names on a database(MySQL) using Java, but how could I do this?
PS: The MySQL connection part I already know.
Hello everybody
I'd like to know if and how I can access api calls inside the kernel. I need them to preform several integrity checks on a program of mine running in user mode. But I don't know how I can access the api's and funcions required to do so.
Does anybody know how to obtain the process id of my user mode proces? and how to access all it's memory to preform the check?
Thanks in advance
ps:
My I'm on a windows xp machine
Is it possible to compute the number of different elements in an array in linear time and constant space? Let us say it's an array of long integers, and you can not allocate an array of length sizeof(long).
P.S. Not homework, just curious. I've got a book that sort of implies that it is possible.
Hi I am writing a web app (mainly iphone targeted) where the user has to enter their dob as part of the log in, I need this to be <input type = 'password'however I also want to enable the numeric section of the keyboard. I would usually change the type attr to 'number' however as this needs to be hidden I wondered if there was another way to activate the numeric pad
Cheers!
(ps I do not want to use any frameworks such as jquery on this)
Hello there,
I have an iMac with ATI Radeon 2600HD which supports Fragment_shader_arb. But whenever I use that function, it crashes the program. Ironically, it works on a windows installation in the same machine without any problems. I'm running OS X 10.6.2;
Can anyone please help me out!
P.S. Vertex shaders work fine without any problem.
Thank you!
hi all
My wife is working in flash and she wants to load a swf inside another swf. I found a few links, tried to do as explained, but when I load the page the embedded swf is bigger than it was supposed to be and is not aligned well...
PS:
I managed to resize the embeded swf, as you can see
This is the test page and here are the links that I found 1: Embed Swf In Swf 2: what is the script to play swf within an swf
I read that hash tables in haskell are crippled ( citation: http://flyingfrogblog.blogspot.com/2009/04/more-on-haskells-hash-table-problems.html ) and since i like haskell it worried me.
Since the blog-post one year has passed and im curious,
The hash table problem in haskell was "fixed" in the traditional compilers? (like ghc)
ps: I love stack overflow, im a long time visitor but only today i decided to try to post a question.
What features do you want to see in Visual Studio that are not included out of the box? I'd like to be able to:
Add projects and references by dragging to the Solution Explorer.
Collapse to project definitions in the Solution Explorer.
Although the second can be achieved with a macro.
PS: R# is does not count as a feature!
Hi everybody,
I develop a simple file manager inside an ASP.NET Web site (not web application).
I notice that every time I rename or delete a folder, the site gets recompiled - i.e. the very next web request after delete or rename operation takes considerably much time to execute.
It's only true for folders, not for files.
Why does this occur?
P.S. I use WebDev server (Cassini), haven't tested in on IIS yet.
Hey,
I'm a freelance web developer. I'm borred of my hometown, so I want to hit the road. Do you know any shared hacker houses in Europe? Do you have any ideas what is the best way to look for a shared flat? France, Spain, Holland, Italy... I'm interested in virtually any country :)
P.S. I speak English and Lithuanian only, so it's hard to look up shared flat in local languages...
Hi,
I'm using Amazon cloud and I've performance issue since the HDD is not located on my machine.
My database is small (~500MB) and I can afford to keep it all in my RAM.
I do not want to keep queries in my RAM, i need all the tables there.
How can i do it?
Thanks,
Koby
P.S.
I'm using ubuntu server...
Hi,
I want to extract some kind of bmp/rgb data from jpeg files.
I had a look at libjpeg, but there seemed not to be any good documentation available.
So my questions are:
Where is documentation on libjpeg?
Can you suggest other c-based jpeg-decompression libraries?
thanks in regard
ps: I am using GNU/Linux, and c/c++
A python program opens a new process of the C++ program and is reading the processes stdout.
No problem so far.
But is it possible to have multiple streams like this for communication? I can get two if I misuse stderr too, but not more. Easy way to hack this would be using temporary files. Is there something more elegant that does not need a detour to the filesystem?
PS: *nix specific solutions are welcome too
Hello all,
I have next situation. I need to choise source control system for my project. This scs must provide the API to my .net application to get information about check-in-s for specified user and date period and about changes which was done in this check-in-s (the number of added and updated lines).
What source control system provides this functionality?
P.S. I can't use the TFS, it's a limitation
HTTPService has a property resultFormat which can be set to any of the following: array e4x flashvars object text xml
I looked at the documentation to understand the difference, but still couldn't understand when to use each. I'm looking for the lightest weight of all of them.
P.S. I'm consuming output from my own server, so can change the output format as needed to make it compatible with each.
I installed ghostscript and updated the appropriate path variables ... however, I'm getting an error when I try to execute this command:
C:\PROGRA~1\gs\gs8.64\lib>pdf2ps mydocument.pdf mydocument.ps
Access is denied.
Unable to open command line file _.at
Is this the right command? did I miss some configuration or path setting? Otherwise, is there a sane method of doing this conversion?
Thanks!
In .NET you can achieve something like this:
Color yellowColor = Color.FromName("yellow");
Is there a way of doing this in Java without having to resort to reflection?
PS: I am not asking for alternative ways of storing/loading colors. I just want to know wherever it is possible to do this or not.
Hello!
I have a local phpMyAdmin (installed via apt-get) adn I'm tired of entering login and password every time I try to open it. Database contains no sensitive info, just test tables, and is visible only from 127.0.0.1
I want phpMyAdmin already be logged in as root user with password 1234 (for example) when I open it. How do I do that?
P.S. Saving password in a browser is not what I want.
I have a scanned image of a book page and i need to crop this scan for leaving only page area. I tried to use AForge to detect page borders, but it doesn't work because the space which i need to crop may consist of little "light" areas (due to scanner quality) and edge detector detects borders there. That's why this is bad idea as for me.
Could you recommend something?
P.S. Please don't tell me to use non-free libraries.
The subject line says it all. I'd also like to do this using pipes.
I figured that I could use Get-ChildItem, Measure-Object and Where-Object, but Measure-Object doesn't like dates.
Should I have a script block which loops through each item returned from Get-ChildItem and does a comparison to see if it's the most recent? I thought that there should be a handy PS cmdlet for that.
The UI looks like:
I am looking for an elegant logic or any library to parse the query for all possible combinations of the above.
PS: May be the UI can be designed better.
Posts appreciated.
Thanks
I am using scilab to do some simple simulation. The outcome will a number of plot and graph. What is the easiest way to capture these outputs and publish them into a pdf or ps file?
Hopefully it is simple to do that I can include the boilerplate code into my scilab script itself?
Hi,
Is it possible to do an 'exact full text search' with CONTAINS. I have removed all noise words etc. but the dbms still seems to manipulate the 'exact word' (e.g. 'j-blade - blade'). Can I disable this?
Thanks.
Christian
PS: I would like to avoid like because it is too slow and with exact I mean that the text contains the exact word.