How do you display AJAX paginated data using Zend_Framework?
Are there any good examples using paginationControl(), ajaxLink() and ajaxContext() helpers?
Would you share your implementation?
What is a regular expression for strings of 0 and 1 with an even number of zeros and an even number of ones?
I have something like (1*01*01*)*(0*10*10*)*.
Does it look good?
I'm trying to implement Florian's object permissions system from his article on Django Advent, but I'm running into an issue trying to limit the queryset returned to only items the user has permission to edit/view. Florian mentions it in his section on wrapping the admin, but skips over it. I can't see a good way to filter the queryset. Am I missing something?
Hello,
I've got a Problem with ArrayList. I need it to store a result. Because I want to start with element n I tryed to give the ArrayList a capacity with ensureCapacity(n+1) to use set(n,x) but I get an IndexOutOfBoundsException.
I tryed to store n add(x) before the use of set and this works.
So I'd like to know why it doesn't work on my way and how to solve this because put n times a add(x) isn't a good style ;-)
Best regards,
Sebastian
I am new to OpenGL.
Wondering if there is any good Scenegraph API/framework for OpenGL.
At the moment I am using glut with a custom node based solution: I am setting children and siblings for each node the calling a traverse function.
I'd like a more flexible solution when it comes to managing dynamic elements in the scene.
Does anyone have an algorithm for drawing an arrow in the middle of a given line. I have searched for google but haven't found any good implementation.
P.S. I really don't mind the language, but it would be great if it was Java, since it is the language I am using for this.
Thanks in advance.
Hi,
can any of you recommend a good ajax gridview for asp.net?
I have looked at telriks, but 1000$ is a bit too expansive for my taste. I don't need a whole lot of features, but rather it to be fast.
Hi
Is there any time it would not be a good idea to call web services async? My data layer is a REST-based interface and I thinking of adopting an async-only approach to all the CRUD in the system. Is there anything I should know?
I have heard perl is a good language at doing regex but i am a bit confused at the characters that requires escaping
I tested the code on http://regexlib.com/RETester.aspx and got the result I want
//home/dev/abc/code/hello/world.cpp#1
//home/dev/((.*?)/[^/]+).*#
Match $1 $2
//home/dev/abc/code/hello/world.cpp# abc/code abc
However, I am not quite sure how do i translate this to perl code
I tried,
\/\/home\/dev\/\(\(\.\*\?\)\/\[\^\/\]\+\)\.\*\#
and
\/\/home\/dev\/((.*?)\/[^\/]+).*\#
and both failed
Don't you think the escaping makes the regex very unreadable? Am i using something wrong?
I'm building a widget, and I've been using iframes to present content within it. At some point, I might start serving third party HTML and JS, so I thought iframes would be a good idea.
It does make the widget javascript a little more complicated, and I'm concerned that this might not be the best implementation.
Do you have any advice? It would be a huge help to hear what other people think about iframes.
Is there a good physical address to GeoLocation conversion database in the UK? I am trying to use this to build a globrix style search box http://www.globrix.com/ for a web application. Any pointers will be nice. I have been searching for hours. I have found several that convert UK Postcodes into Geolocation. But I need the addresses listed as on Globrix.
HI All
I am creating a log file for our website which will log every log-in by all the users to our orders area. I wish to know if you think its good to enter this log info in just one single file or should this be split up once the log file hits a certain size? My concern is that this file will get rather large over time, but im not certain of the size limit of a text file?
thank you
I just find this video about productivity for programmers by peepcode and I'm thinking to download and see it. Besides that, I have to tell you that I prefer to read a book and take notices about it, rather than seeing a video.
So, my question is: can you recommend me a good book about productivity for programmers with tips, advices, best practice, et?
ps: I'm new into this work field(because I'm still a student).
Hi SO,
I have a WinForm that I want to minimize when the "x" in the top right corner is clicked.
To accomplish this, I have:
private void Form_FormClosing(object sender, FormClosingEventArgs e)
{
e.Cancel = true;
WindowState = FormWindowState.Minimized;
}
That's all well and good, but now I have a context menu that has the option to close the WinForm, but because of the code above, it simply minimizes the window.
How can I get everything to work the way I want it to?
Hi,
Not exactly sure where this one should go, but I'm sure someone on SO knows a good Visual SourceSafe 2005 trainer based in the Sydney, Australia area who'd be happy to do a course at my company. Can anyone recommend someone? Or failing that, is there somewhere better I should be searching for this?
Thanks in advance
c# newbie here.
seems like this user gave me a very good solution for my problem:
http://stackoverflow.com/questions/3034197/serialport-error/3034243#3034243
but i have no clue how to code up what he suggested. can you please help?
Hello...
When I browse internet,basic HTML gets loaded on my computer.
For eg.- for orkut or facebook login,only the text box appears,and when inputs are provided,and redirection is done,it says "error on page".
Even on google search,basic HTML gets loaded on my computer..
I tried installing new Internet version i.e., IE8,but the same problem.
Kildly provide a good solution to this problem.
Hello everyone,
I am new to RESTful web services in WCF, but not new to WCF. I want to develop some simple RESTful web services in WCF which manually be accessed from browser. Any good samples or documents to recommend? I am using C#.
thanks in advance,
George
Hi Good Guys,
I need your help. Please help me as I am a newbie using VB.NET.
I have been asked to transfer DATAREADER rows into Crystal Report DATASET1.XSD
Here are the coding
Private Sub BtnTransfer()
dim strsql as string = "Select OrderID, OrderDate from ORDERS"
dim DS as new dataset1 '<---crysal report dataset1.xsd
dim DR as SqlDataReader
dim RW as DataRow = DS.Tables(0).NewRow
sqlconn = new sqlconnection(ConnString)
sqlcmd = new sqlCommand(strSql, sqlconn)
sqlcmd.Connection.open()
DR = sqlcmd.ExecuteReader(CommandBehaviour.CloseConnection)
Do while DR.READ
RW("OrderID") = DR("OrderID")
RW("OrderDate") = DR(OrderDate")
DS.Tables(0).Rows.ADD(RW)
Loop
End sub
What HelpDesk tool do you recommend?
I'm working on a small service company.
They need to have a good tool for resolving custumer issues. I've been using Kayako Suite and we are not very satisfied.
Any recommendation?
Thanks.
Pablo.
I just wonder - if I need to deploy an assembly into the GAC, what is the "official" way of doing it?
Currently we either manually drag/drop into the c:\windows\assembly folder or we use gacutil.exe. The first way is obviously not the good one (it's manual process after all), and gacutil is part of the SDK and not available per default on production servers.
Are there any Microsoft deployment Guidelines?
I got $2 change instead of $3 today and that got me thinking about short for some reason. What can do (these days ;-p) with a variable of the short primitive type (16 bits signed)? Any good reason to keep them around?
Hello everyone,
Which one is the structure that provides best performance results? Trie, Suffix Tree or Suffix Array? There are other equivalent structures?
What are good Java implementations of these structures?
Thanks for your answers.
Best Regards,
ukrania
Is there a good tool that can convert the XML output of FxCop into something that can be put into a Word document? I'd prefer not to write an XML-FO XSLT transform, maybe someone did something like that already.
I would like to know the easiest way to format a string as accounting style. I know how to format as currency using {0:c} but there are some differences in accounting style, for example, all the dollar signs will line up as well as all the decimal points, and negatives are expressed in parenthesis rather than with a "-" minus sign. You can find a good example of the way i would like it in excel if you format the cells as "accounting" with 2 decimal places.
thanks in advance,
russ