How does Trie and B+ tree compare for indexing lexicographically sorted strings [on the order some billions]?
It should support range queries as well.
From perf. as well as implementation complexity point of view.
I have a PCRE regex that looks like this
s/(<input.+?)alt(=".+?".*?>)/$1title$2/
Can anybody help me with making that work on sed?
Eventually can anybody point me to some guide/blog post/whatever that explains differences between sed regex and pcre?
The default panTo only pans to the edge of the screen.
I like setCenter but would like to pan to that point. Any ideas welcome
map.setCenter(mymarker.getPoint());
GEvent.trigger(mymarker,"click"); //open the info window
Hi there,
I need to make a program that writes some data to an excel spreadsheet. Something basic along the lines of First name, last name, phone number, e-mail per row with each category in its own column.
I don't even know where to start. If someone could tell me which assemblies to reference and maybe point me to a website or a book that covers writing/reading data from an excel spreadsheet via a c# program that would be great.
Many thanks.
I have a click once application here that needs to be started offline exclusively sometimes.
Reason is that it needs to be started VERY early during boot, at a point when there is no network connection yet, also it must not wait for any network connectivity.
I know, this requirement seems strange, but it has legacy reasons.
What do you think?
I'm looking for an image url helper for sinatra that allows me to do something similar to staticmatic's, where I can shortcut to a relative path like so...
=img "me.jpg"
Can anybody point me in the direction to where this might be online, or where I could learn how to write one, or provide an example of one they have already written
Many thanks
I want to deploy a small Camping app using lighttpd & fastcgi, but I can't find a simple description of how to do it.
Can someone point me to some example or how-to?
Hi,
how to convert a floating point 10 byte Hex string (Extended datatype in Delphi) to a C# datatype?
For example:
00 00 00 00 00 00 00 80 ff 3f is at Delphi 1
I would like to develop a MS paint like app for the iPhone. Could you guys point me to some sample or tutorials on this topic? I'm new to Objective C and Xcode. Thanks
Hello!
I am wondering how does SVG work in IE with Google Docs Drawings?
Is it flash?
Could you please point me to the library they use to add SVG support to IE?
Thanks!
Hi
I need to do periodical background task fetching data from a weather site.
How in rails can I fetch json from a remote url and store it on the server? Also, there doesn't seem to be any point in storing this in a db so how in rails can I store a variable available to all users?
There's always a need to make method names as concise as possible but without getting too long and waffly.
At what point is a method name far too long to possibly be justified?
I want to create a link like the following:
http://www.myurl.com/?IDHERE
What i want to be able to do is be able to goto the above link, and then pull whats after the ? (in this case IDHERE) and be able to use that information to perform a MySQL lookup and return a page.
Can anyone point me into the right direction? please know this is using PHP not ASP
I writing a Struts 2 application. The main operation I'm trying now is to read from the action call a List and display it in the form of a table in the JSP.
I've searched the net and check out a lot of examples, but in vain.
Can someone point out to a good working example?
Hi All,
I am calling a controller method to convert a video file. This process
is called using background_fu job. When the function tries to create a
new folder in rails root it gives error i.e. Permission denied. The
function performs well if not called in background job process.
Can any one point out what can be the trouble.
Thanks in advance,
Anubhaw
I am writing a help page with sections - What I want to do is allow navigation to a particular section (depending on what page they clicked help from) rather always landing at the top of the page.
My web app is written in ASP.NET, Can anyone point me in the direction of how to set this up?
Thanks!
hi, i've created a php pagination system, but i want to hide the _GET variable in the address bar.
atm mine looks like this http://address.com/images.php?page=1
but i've seen a few site that have http://address.com/images/1/.
just wondering how they go about this? can anyone point me in the right direction, cheers
I'd like a timer class that allows me to call:
.start() .getElapsedTime() .stop() .reset()
Does Java have such a class, or do I need to use my own (which I've already written).
From a best-practice point of view, I should use the Java class libraries classes if they exist, but I'm not sure whether this one does.
Can anyone give me a link to the javadoc for this class, if it exists?
Is it faster to do the following:
if ($var != 'test1' && $var != 'test2' && $var != 'test3' && $var != 'test4') { ... }
Or:
if (!in_array($var, array('test1', 'test2', 'test3', 'test4') { ... }
Is there a number of values at which point it's faster to do one or the other?
(In this case, the array used in the second option doesn't alreay exist.)
Hello, I have implemented a routing protocol on an Android 1.6 mobile that uses wireless (ad-hoc) network in order to exchange messages. Now I would like to evaluate it under an energy consumption point of view, the base would be to try to calculate the energy wasted to transmit a single packet, do anybody has any idea how to do that? Software/hardware solutions are welcome! Thanx :)
How do I drop selected tables in Rails? I want to drop all tables from a database with a given prefix. PHPMyAdmin would be very useful at this point.
Thanks
Hello
I've been searching for a while for a good example of localizing an C# ASP.NET MVC 2 application but storing the data in the database instead of .RESX files. Unfortunately I've had no luck finding a good example and was hoping someone else may know and could point me in the right direction?
Many thanks for any help/advice/articles
In my application I need to keep track of a list of objects that are being displayed. Right now I have an NSArray with all of the NSManagedObjects. Would I be better off to store the ObjectIDs and then only request the object when I need it?
I am mainly concerned about memory at this point.