http://www.vbulletin.com/docs/html/
Are they using a custom design or is that a script? If it's custom, is there something similar to it that I could use to document my software?
I'm implementing this kink of login: http://jaspan.com/improved_persistent_login_cookie_best_practice
In this design a new token issued to the user each new login.
So it tells me that I need to
Now I need to implement a session, for this login.
I'd like to implement session like stackoverflow, so people will can have session without login. but for a login there will be always a session.
Any ideas how?
Hello all,
I am currently in the process of designing an interface for .NET software that would be consumed by COM objects - specifically, VB6.
While I have found a number of pages by Microsoft detailing how to make an COM-interoperable interface, I am currently tripping over the use of Collections in design time: I would like to be able to use a standard VB6 "Collection object" in the .NET program - for example, specify an argument as being a VB6 collection - and thus minimize the time necessary for clients to consume the interface.
Thank you in advance.
This is possibly has a trivial solution, but I am at the end of my tether so I hope somebody can help out.
I use a JTable which has a custom renderer and a custom editor for a set of columns.
The renderer uses a JLabel component and the editor uses a JSpinner component.
Our users want to be able to enter values in a column, and then press TAB or ENTER to move to the next editable cell in the table.
If I understand correctly, this is the default behaviour for a JTable.
However, this doesn't seem to work correctly for me. Until the user clicks on the cell, only the JLabel is displayed.
The JSpinner (i.e. CellEditor) is only displayed when a user double clicks on the cell. So, it looks like the cell is going into "edit" mode only on MouseEvents, but not when it has focus.
How do I get the cell to go into edit mode as soon as it has focus?
The UI looks like:
Condition 1 (Checkbox)
and/or (Radio buttons)
Condtion 2 (Checkbox)
and/or (Radio buttons)
Condition 3 (Checkbox)
and/or (Radio buttons)
Condition 4 (Checkbox)
I would like to parse (at the server-side) the query constructed from the client (for possible combinations). Any design ideas?
PS: May be the UI can be designed better.
Posts appreciated.
Thanks
I have the following classes in my Model:
public abstract class Entity : IEntity
{
[ScaffoldColumn(false)]
public int Id { get; set; }
[Required,StringLength(500)]
public string Name { get; set; }
}
and
public class Model : SortableEntity
{
[Required]
public ModelType Type { get; set; }
[ListRequired]
public List<Producer> Producers { get; set; }
public List<PrintArea> PrintAreas { get; set; }
public List<Color> Colors { get; set; }
}
To display the "Model" class in the view I simply call Html.EditorFor(model=model), but the "Name" property of the base class is rendered last, which is not the desired behaviour.
Is it possible to influenece on the order of displayed fields somehow?
I am implementing a design where my layer would sit between client and server, and whatever objects i get from server, i would wrap it in a transparent proxy and give to the client, that way i can keep a track of what changed in the object, so when saving it back, i would only send changed information.
I looked at castle dynamic proxy, linfu, although they can generate a proxy type, but they cant take existing objects and wrap them instead.
Wondering if its possible to do with these frameworks, or if there any other frameworks that enable this...
In order to be able to compare two versions of a package, I need to able to choose which version of the package that I load. R's package system is set to by default to overwrite existing packages, so that you always have the latest version. How do I override this behaviour?
My thoughts so far are:
I could get the package sources, edit the descriptions to give different names and build, in effect, two different packages. I'd rather be able to work directly with the binaries though, as it is much less hassle.
I don't necessarily need to have both versions of the packages loaded at the same time (just installed somewhere at the same time). I could perhaps mess about with Sys.getenv('R_HOME') to change the place where R installs the packages, and then .libpaths() to change the place where R looks for them. This seems hacky though, so does anyone have any better ideas?
I've been pondering over this question for a long time already.
On the one hand, Interface Builder offers a really easy way to design the interface and wire the elements up with objects in code.
On the other hand, in larger projects, Interface Builder becomes a hassle to maintain.
Any suggestions would be greatly appreciated.
I don't know why it happens but my form for some reason does not post properly. I am very sure the form contains the required authentication token:
<form action="/account/complete_verify_email/4df78710-e27b-4527-bd2d-71cd2e9a1271" method="post"><div style="margin:0;padding:0"><input name="authenticity_token" type="hidden" value="341b07dfa682ed11a045e19956e2e3f5f499e8cb"></div>
<input id="password" name="password" type="password">
<input name="commit" type="submit" value="Continue">
</form>
Note the authenticity_token is there. What happened?
And YOU KNOW WHAT? Quitting Safari and restart again solved the issue... but I can't think of what kind of intermittent behaviour could cause such problem.
Hi, writing a article about development cloud computing applications, and
i dont know how a call cloud software, the title article is architeture and
design of (eg. On demand Application), how definition i can use??i am very confused about this definition wanna know the difference of this concepts:
Cloud Application,On demand application and SaaS application.
thx
I am building an ASP.NET MVC application that is AJAX-driven.
For some reason I need to add some DOM elements on the fly when clicking a submit button. This is accomplished with jQuery.append().
One element inserted is a textarea, whose the data must be parse before submitting to ensure that no cross-site scripting can be done.
We know that the Html.Encode() works great but must be declared outside a script tag. All I have done with jQuery is embedded within a script tag.
1) Is there a way to take advantage of the Html.Encode() within a script tag?
2) How can I accomplish this with jQuery?
At worst I can use HttpUtility.HtmlEncode(), which is called on the server-side.
Thanks for your help.
Roland
Given that it's valid to write
a = b = c = 2;
It would also be nice, rather than
bool allTwo = a == 2 && b == 2 && c == 2;
to instead write
bool allTwo = a == b == c == 2;
But I can't.
Is there a language-design reason for this?
I'm building an Android application where I want users to connect by their facebook details.
According to my design, when the application starts first time, I want to display a layout with LOGIN facebook button. After the user will perform login for the first time, I dont want to display this layout/activity again - when the application would be relanched, I want t display another (home) screen, and not the LOGIN one. How should I implement this functionality?
Thanks
Hello there, i've a PreferenceActivity which works perfectly the first time i launch it.
But if i close it ( with the back button ) and then i re open it ( through a menu click in the main activity ) then i get a black screen. There is no preferences at all..
I can't figure it out why it should not working.
It seems all the code is being called normally as the working one but no preferences are showing on the screen.
Did someone had the same behaviour ?
Read the EcmaScript specification, section 8.7 The Reference Specification Type:
The Reference type is used to explain the behaviour of such operators as delete, typeof, and the assignment operators. […] A Reference is a resolved name binding.
Function calls are permitted to return references. This possibility is admitted purely for the sake of host objects. No built-in ECMAScript function defined by this specification returns a reference and there is no provision for a user-defined function to return a reference.
Those last two sentences impressed me. With this, you could do things like coolHostFn() = value (valid syntax, btw). So my question is:
Are there any EcmaScript implementations that define host function objects which result in Reference values?
Hi,
I am trying to encrypt Configuration Information Using Protected Configuration in Visual Studio 2010.
I have the following info speicifed in the App.Config file:
<connectionStrings configProtectionProvider="TheProviderName">
<EncryptedData>
<CipherData>
<CipherValue>VALUE GOES HERE</CipherValue>
</CipherData>
</EncryptedData>
</connectionStrings>
<appSettings configProtectionProvider="TheProviderName">
<EncryptedData>
<CipherData>
<CipherValue>VALUE GOES HERE</CipherValue>
</CipherData>
</EncryptedData> </appSettings>
However, when I then go to the Settings area of the Projects Properties to view the settings in the Designer, I get prompted with the following error "An error occured while reading the App.config file. The file might be corrupted or contain invalid XML." I understand that my changes are causing the error, however, is there anyway I can bypass that the information is not read into at design view? (Of course the best way would be to make the tags be recognized by the designer, is there any way to do this?) I tried adding
<connectionStrings configProtectionProvider="TheProviderName" xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
to connectionStrings as well as to the appSettings, but with no luck, the intellisense is bypassed in the config file, but the designer still complains. I would be satisfied if the designer would not complain about this "error", which is not actually an error because Microsoft states here that it should work.
ASP.NET 2.0 provides a new feature, called protected configuration, that enables you to encrypt sensitive information in a configuration file. Although primarily designed for ASP.NET, protected configuration can also be used to encrypt configuration file sections in Windows applications. For a detailed description of the new protected configuration capabilities, see Encrypting Configuration Information Using Protected Configuration.
And yes, it does work to encrypt it and to decrypt it and use it, it is just very annoying and frustrating that the designer complains about it. Anyone who knows which xsd file that is used (if used) to verify the contents of the App.config file in the design view?
Any help appreciated.
I'm writing a shell for a project of mine, which by design parses commands that looks like this:
COMMAND_NAME ARG1="Long Value" ARG2=123 [email protected]
My problem is that Python's command line parsing libraries (getopt and optparse) forces me to use '-' or '--' in front of the arguments. This behavior doesn't match my requirements.
Any ideas how can this be solved? Any existing library for this?
How to make maintenance document for a website? I've created a site using XHTML ,CSS, jQuery etc. it's big site.
Now i have to write a maintenance document for a site for if any changes comes in future related to design, content and functionality then those things will be handled by someone else.
How and what should i keep in maintenance document.
Hello to everybody!
I've some trouble with a find() on a model on CakePhp.
I have three model relationed in this way:
Project(some_fields, item_id)
------belongsTo----- Item(some_fields, item_id)
------belongsTo----- User(some_fields campi, nickname)
I need to do a find() and retrieve all fields from project, a field from Item and the nickname field from User. This is my code:
$this->set('projects', $this->Project->find('all', array('recursive' => 2)));
but my output doesn't contains the user object.
I've tried with Containable behaviour but the output is the same. What is broken?
Many many Thanks
Peter
So as a developer I am seeking to improve not only my coding skills but my design and management skills. Because of this I'm starting to pay more attention to software engineering practices but i'm not sure where agile development fits into the picture. I can appreciate agility in projects but I wonder whether this conflicts with the traditional ways of software engineering practices and research.
I am interested in knowing if there are any server-side web application frameworks which integrate nicely with CouchDB? Does anyone have any experience in doing this? It seems like a dynamic language would be well-suited for playing with the JSON, but I am more interested in hearing about how it would fit in with the framework and the application's design.
Hi,
I hava a web app running on a local tomcat server.
When the user starts the app (via desktop shortcut) the server starts and the app is opened in a browser window.
But when the user just clicks on the close button to stop the application the server is still running in the background - that's annoying.
I tried to utilize the "unonload" and "onbeforeunload" events from javascript but unfortunately these events are also fired on some other requests in the app.
So I can't use them, except I do a lot of refactoring.
Does anyone have an idea for a possible solution?
Btw, what I find interesting is the behaviour of Visual Studio when debugging a web application. When I close the browser window Visual Studio also gets a trigger to stop debug mode. So it seems it somehow notices the close event of the browser window, which would be exactly what I need. But I don't know how they do it...
Cheers,
Helmut
Here's my situation:
My files are on a remote server (Linux).
When I want to edit a file at home on my Windows machine, my editor (PSPad) downloads a copy.
When I save the document, my editor uploads it to the server, overwriting the previous version.
Is there a version control system, preferably GUI driven, that can handle this situation?
Additional info:
I probably can't install elaborate software on the remote server, but can on my own computer.
Concurrent Versions System (CVS) is installed on the remote server.
Uploading/downloading goes through an FTP-to-SFTP bridge set up with Bitvise Tunnelier.
In the XKCD comic 195 a design for a map of the internet address space is suggested using a hilbert curve so that items from a similar IPs will be clustered together.
Given an IP address, how would I calculate the 2D coordinates (in the range zero to one) that this IP is located on such a map?