I am using TextMate on a Ruby on Rails project and wonder if you can put the mouse on link_to, and then press a key and it will show the definition of link_to, or does this for any other helper functions?
Or, click open a box and type in a function name and it will show you the definition?
Hi, for a certain project, I need some way to parse XML and get data from it. So I wonder, which one of built-in parsers is the fastest?
Also, it would be nice of the parser could accept a XML string as input - I have my own implementation of thread-safe working with files and I don't want some nasty non-thread-safe libraries to make my efforts useless.
I'm using this code:
s = line.match( /ABCD(\d{4})/ ).values_at( 1 )[0]
To extract numbers from strings like:
ABCD1234
ABCD1235
ABCD1236
etc.
It works, but I wonder what other alternative I have to to this in Ruby?
I wonder whether there's a way to program a resource DLL for Windows Clusters in Delphi. I want to write a program that observes cluster state changes.
Judging from the MSDN API reference, all relevant functions are located in the ClusAPI.h and ResAPI.h headers, but unfortunately it seems as if they haven't been ported yet and HeaderConv seems to fail on them.
Does anyone has experience in doing such a thing?
Please take a look at previous question:
http://stackoverflow.com/questions/2892343/c-and-c-library
After implementing a wrapper class library in C++/CLI as suggested before, I wonder now how to use C++ pre-compiled header file in C#.....?
PS: I did not find a dll file -or something simillar- to import to C# as I have expected...
Any hints?
For me, I usually make a global class with all members static. All other classes will inherit from this global class.
I wonder if this is a good practice?
Anybody got any suggestions?
I has a table as shown in this figure:
The latex code for the table is:
\begin{table}
\begin{tabular}{ | c | c | }
\hline
\includegraphics[scale=0.45]{../0_1.eps} & 1.10 2.20 3.30 4.40 \\
\hline
\end{tabular}
\end{table}
I would like to make the four numbers appear in different line inside the second cell, in order to reduce its width. I wonder how to do it?
Thanks and regards!
I have a server and a client written in C. I try to load a shared library in the server and then pass library function pointers to the client. This way I can change the library without have to compile the client.
Because of every process has its own separate memory space, I wonder if it is possible to load a shared library on a shared memory, pass the function pointers and map the shared memory on the client and then make the client execute the code of the library loaded by the server.
I wonder if some of you would like the idea to collect in this place features/improvements we would like to see most in visual studio, vote for them and then send them (these with the most votes) to VS Team. Maybe some of them would make their way into another release of VS.
Looking forward to see what you're thinking about it.
Hi everyone,
I'm doing a kind of research on the topic "Domain Driven Design". My question is what tools (or maybe environments) do you use, that support this paradigm?
I know that I can google it, but I wonder which of them actually work and are useful, since I have no experience with neither of them. I'm interesting mainly in the .NET Framework, but any other opinions are also welcome!
Thanks !
hi,
just wonder how those air ticket booking website redirect the user to the airline booking website and then fill up(i suppose doing POST) the required information so that the users will land on the booking page with origin/destination/date selected?
Is the technique used is to open up new browser window and do a ajax POST from there?
Thanks.
I wonder why this is not integrated by default. I'd like to have an item in Windows Explorer's file context menu of a VS solution file to build it.
Is there a tool for this? Or do I have to create this myself?
Hi, I am using the following MS SQL statement to insert records and return the unique auto-inc ID value all in one shot. Wonder if there is a simpler/faster/better way to do it?
SET NOCOUNT ON;
DECLARE @res table (ID bigint);
INSERT INTO [Titles] ([Name],[Timestamp],[Title])
OUTPUT INSERTED.ID INTO @res
VALUES ('Name','23 aug 2010','this is a title');
SELECT [ID] FROM @res;
i wonder if there is gui tools for creating a graphical map for the relationship between models/objects (doctrine) or tables (mysql)?
it would be better than draw it manually.
i´ve already have the models/objects and tables created.
Hi,
I wonder about dynamically changing of class name in .NET application. For example WindowsForms10.SysTreeView32.app.0.19fd5c7. The last string "19fd5c7" would change, but I don't know what makes it changing. Is it the version, the GUI modification, environment, OS or what?
Thanks.
ive got an object that looks like this with print_r():
SimpleDOM Object ( [0] => continent )
i wonder how i could get the continent as a string?
i have tried gettype($object[0]);
it still says its an object.
i just want to get the string "continent".
Hello,
I've been using Spring with Java and I've seen that there is a version called Spring.NET. I wonder if there is any significant difference between them (apart from that one is for Java and the other is for .NET). Is it just a "language translation" of the framework or are they different project with just a similar purpose?
Thanks.
I wonder how to set next month with showing only mondays active:
i tried to do smth like that but it wont work
function onlyMondaysNextMonth(date){
var day = date.getDay();
var mDate = date.getMonth() + 1;
return {
minDate: mDate,
}
return [(day == 1),''];
}
Thank you.
i've got macbook pro and wonder if i should use 64 or 32 bits ubuntu server?
and then i've got a vps not hosted by med. how do i know what version to choose?
how do you check how many bits your cpu i working with?
can i use 64 on 32 and vice versa?
I've found in the fairly awesome book titled "USB in a NutShell" that interrupt transfers provide reliable delivery (via error detection and automatic retry).
But I wonder, does that guarantee that transfers will not be swapped in order someday? As far as the bus is serial, my guess is that yes, reordering should never occur. But I'm not really much into this, so having doubts.
Could somebody clarify?
I'm trying to learn about how does Java access smart cards, due to a project analysis. I wonder if there is any kind of virtual smart card which I could use to make some tests with Java?
By the way, I've read about Java Card, and looks like it is used to run Java in cards, not to smart card data access, right?
How do you solve the dependencies of packages within your functions? I add require(package) into the function, but I wonder if there's a preferred way of accomplishing this task.
I wonder if its possible to load jQuery within a opera user javascript, so that i can use jQuery functionality in the opera user javascript even on pages that is not currently using jQuery.
There is an ongoing argument on the web right now about the "openness" of the iPhone OS and Adobe Flash platforms. Adobe's argument is that anyone can build a Flash application without having to worry about being allowed to distribute it.
This made me wonder… is it possible to build and distribute an AIR application without giving any money to Adobe (without violating any licenses, of course)? Are any of these tools free? Are any open-source?