instruction_seed stringlengths 1 35.8k | _source stringclasses 1
value |
|---|---|
When a user adds a new comment (divCommentHtml) to a list of comments (divComments), I would like to highlight it for a few seconds and fade it away. How can you do this with jquery? This doesn't seem to work:
$('#divComments').prepend($divCommentHtml).effect("highlight", {}, 2000);
Thanks!
| stackexchange/codereview |
i dont want to click the button. instead, i just want to run the click event code. how would i do this?
| stackexchange/codereview |
What are the advantages of binary search trees over hash tables?
Hash tables can look up any element in Theta(1) time and it is just as easy to add an element....but I'm not sure of the advantages going the other way around.
| stackexchange/codereview |
I would like some guidance on how to split a string into N number of separate strings based on a arithmetical operation; for example string.length()/300.
I am aware of ways to do it with delimiters such as
testString.split(",");
but how does one uses greedy/reluctant/possessive quantifiers with the split method?
Up... | stackexchange/codereview |
i want to create application in windows. i need to use databases which would be preferable best for pyqt application
like
sqlalchemy
mysql
etc.
| stackexchange/codereview |
Im new to php and im trying to develo a loggin system, but i cant understand one thing.
For Example:
I hava a object "validator", that do some field checks. In that object i have an array where i save the errors. Like "The password you choose is not valid". Now i want to show this error to the user, the way i do it is... | stackexchange/codereview |
I am trying to deploy a simple windows desktop app using a SQL Server database.sdf file. I have followed the steps in this walkthrough about 10 times and I still am having problems. http://msdn.microsoft.com/en-us/library/bb546200.aspx
In my app.config file my connection string is this:
<add name="VendorTracker_2._0.Pr... | stackexchange/codereview |
I use the binaryFormatter to serialize objects for sending. But as for the ADO.NET dataset, what is the best practice? I noticed that binary formatter is override by xmlformatter in case of dataset? how to reduce the size & increase the serialization speed?
| stackexchange/codereview |
I have seen a number of examples of using an ActivityGroup to embed multiple Activites in a single view. In each of these cases, the Activities being loaded are internal to the current application. In addition, they all appear to take over the entire view.
I would like to start an external Activity using an Intent for... | stackexchange/codereview |
Are there any references to the Active Directory attributes that Outlook uses when viewing the properties of a contact within Outlook (i.e. when you search the global address book and right click > properties)? In particular, the 'Manager' and 'Direct reports' boxes under the Organisation tab. Interested in this for sy... | stackexchange/codereview |
I understand that in MEF 2 preview 2 the ExportFactory has now been moved to the desktop. Does this mean that you can now use it in MVC?
If so does anyone know of an example as I would like to dynamically create parts in a Lazy way.
Thanks
| stackexchange/codereview |
My divs do not center properly in IE, it works fine in Firefox.
I've tried following this site: http://flumpcakes.co.uk/css/center-div-ie but the container div appears in the right hand side in IE.
<div id="topbar">
<div id="previous"> « {block:PreviousPage} {/block:PreviousPage} </div>
<div id="next"> {block:... | stackexchange/codereview |
Why can't I trust rsync to be minimally as fast as cp? (I'm ignoring negligible differences for overhead.)
It seems to me like rsync is fairly slow on files with no content difference, but a changed timestamp.
If I make a file: cp -a testfile-100M destfile
And then I rsync them, I get what you would expect:
$ rsync -... | stackexchange/codereview |
I feel like this question has a really easy answer and I'm just overlooking it. I need to get a pointer to a piece of XML. I can get a pointer to the parent node and everything works but trying to get a pointer to a node that has no children just returns the value of that node.
Here's an example:
<body>
<parentNode>
... | stackexchange/codereview |
I'm trying to find the ComplexType that's mapped to my FunctionImport from my MetadataWorkspace.
The related xml is there in the CSSpace of the edmx, but I can't figure out how to get it out.
I can go for the EdmFunction itself from the SSpace, but that doesn't tell me the ComplexType that it's mapped to, does it? I ca... | stackexchange/codereview |
Reading this Perl: extract rows from 1 to n (Windows) I didn't understand the flip-flop-operator/readline-counter part.
perl -nE 'say $c if $c=1..3' my_file
1
2
3E0
Could someone explain me more detailed where this output comes from?
| stackexchange/codereview |
I know the question is subjective, but since the OpenID libraries page lists a number of libraries, I thought some attempts might be made to nominate one or two that are best, in terms of:
project activity
quality (few bugs, easy API, properly implementing the protocol)
documentation
I'd appreciate an answer from any... | stackexchange/codereview |
That's the only thing I can think of. The thing is sentient.
I have a struct as follows:
struct NumPair
{
wchar_t *pFirst, *pSecond;
int count;
with ctor, copy assignment and construction as
NumPair( wchar_t *pfirst, wchar_t *psecond, int count = 0)
NumPair( const NumPair& np )
NumPair& operator=( const NumPai... | stackexchange/codereview |
What is the difference between the two pieces of pseudo-code?
// Multiplying a matrix by the difference between each frame
float difference = current - previous; // Time since previous frame
float angle = difference / 500;
matrix rotation;
rotation.RotateX(angle);
rotation.RotateY(angle);
worldMatrix *= rotation; // No... | stackexchange/codereview |
I have a textview in my XML layout file, but when I try to change its text value with code programatically (dynamically, depending on which button the user clicks) then the text of the textview doesn't change.
This is the code that I tried:
TextView userText = (TextView) findViewById(R.id.User);
userText.setText(bundl... | stackexchange/codereview |
WebSockets? I just recently ran across websockets and have heard some good things about it but have found html5 is not really readily available at this time so would it be worth it to change over to writing a browser based MMO into websockets and getting the gamers to upgrade/download what they need or use comet and if... | stackexchange/codereview |
I have a button which is sending a get request over XHR to a specific action in a rails server.
This action calls a function I defined in the model "Category". This function does something like x=Category.subcategories, and in the next line something like x.map(&:id), or x.each {|x| y << x.id}. (Category has_many :subc... | stackexchange/codereview |
Do I need to get the debian package "php5-mongo" if I've already successfully installed mongoDB using PECL? What's the difference?
(and should this question be migrated?)
| stackexchange/codereview |
I am writing listView1.Items[1].Selected = true;
but it does not highlight that item....what is wrong?
I also changed the HideSelection property to False, so now at least I can see some Gray highlight color, but where is the blue color? when I click with Mouse, it is blue, but when I set it with code as posted above ,... | stackexchange/codereview |
Let's say I have a bunch of small targets in different programming languages (C++, Java, Python, etc), with inter programming language dependencies (Java project depends on a C++, Python depends on C++). How can one build/compile them?
I tried scons and more recently gyp. I don't remember what issues I had with scons. ... | stackexchange/codereview |
Hypothetically, could java be used to write a website instead of, say, asp.net. or php?
| stackexchange/codereview |
I have a need to develop a vertical navigation menu using a jQuery library that will give it treeview capabilities. The trick I'm running into problems with is that the menu needs to be multiline (ie word-wrap: normal on each anchor) and have horizontal lines running through it. Every method that I have tried makes eit... | stackexchange/codereview |
Is there a way for Java applet to detect on which monitor it is currently displayed, in case of multi-monitor setup? Basically I need to know the screen resolution of the monitor which shows my java applet.
Any ideas?
| stackexchange/codereview |
I found some answers of how you can move the cell text to the right, BUT HOW can I move the section's text to the right?
| stackexchange/codereview |
I need to know if I'm doing the things in a wrong way.
I have the following project structure (a pretty standard one):
then I've configured javah as external tool like this:
When I run the external tool on OSManager4Windows.java I was expecting to find it_univpm_quickbackup_utils_OSManager4Windows.h in bin/it/univpm/... | stackexchange/codereview |
What is the cause of this error:Exception during processing: java.lang.UnsatisfiedLinkError?
| stackexchange/codereview |
I have a simple facebook application with 2 pages - MasterPage.master and Default.aspx (I use ASP .NET). But when I try to run it on Facebook, it returns 500 http code (Invalid API key).
I have checked API key (and Application Secret, too). They are right.
May be, I use them wrong? In my code, The MasterPage.master in... | stackexchange/codereview |
I want to develop a library for Android. In what form can I ship it? jar, apk or something else? How should I do it so that other developers can use my library in their application?
| stackexchange/codereview |
static int i=0;
where will be the variable i allocated? Is it in BSS or initialized data segment?
where will be variables of storage class 'extern' and 'register' are stored?
I possible please provide code Snippet to crosscheck the above
| stackexchange/codereview |
im using LINQ to Entities with dotConnect for Oracle and i get an OUTER APPLY is not supported exception with this very simple LINQ query:
from intervenant in Intervenants
select new
{
intervenant.Code,
intervenant.Nom,
Municipalite = intervenant.Adresses.Any() ? intervenant.Adresses.FirstOrDefault().Munici... | stackexchange/codereview |
It looks like SaveAs has gone away in Office 2010 in favor of SaveAs2. What is going on here? Are there any important differences between the two? My fix has been to check for SaveAs2 first, and then fall back to SaveAs. Is this reasonable?
| stackexchange/codereview |
recently I came to study clustering in data-mining and I've studied sequential clustering and hierarchical clustering and k-means.
I also read about a statement that distinguishes k-means from the other two clustering technique,saying k-means is not very good at dealing with nominal attributes,but the text didn't expla... | stackexchange/codereview |
We're migrating our existing PHP site to ASP.NET MVC. Rather than rebuild everything at once we'd like to be able to include some of our existing PHP applications inside of our new MVC project.
I've used the Windows Platform Installer to setup PHP support for IIS. I've tested this by putting a PHP file inside of the in... | stackexchange/codereview |
I want to retrieve information regarding specific IIS 7 website using the PowerShell Get-Website cmdlet. Unfortunately, Get-Website returns information for all websites regardless of the -Name parameter I pass in. It appears that the -Name parameter is ignored.
For instance, if I use:
Import-Module WebAdministration
... | stackexchange/codereview |
I was not able to come up with a better title for this post, so if anybody does not find it appropriate , please go ahead and edit it.
I am using flask as my python framework, and normally I render templates doing somnething like the below:-
@app.route('/home')
def userhome():
data=go get user details from the data... | stackexchange/codereview |
How to configure WCF client to work with third party WS service hosted on the server that doesn't return content-type in the reply?
Problem is that such WCF client configured to use basicHttpBinding throw an exception: "content-type is required"...
Should I use custom bindings or refuse WCF?
P.S. .NET 3.5
P.P.S
Messa... | stackexchange/codereview |
I have a crystal report which was working fine on my local machine but when I moved it to my server it's giving me a "Incorrect Log on parameters".
Code is below. It's called from a .net application
Dim CR As New ReportDocument
Dim str As String = Application.StartupPath
If PrintDialog1.ShowDialog() <> Windows.... | stackexchange/codereview |
I have two different databases where I need to connect and update the tables dynamically.
But it looks like I cannot keep two sessions related information in configuration file.
Is there any way to handle this ?
| stackexchange/codereview |
The manpage of the qsort(3) library routine gives an example of sorting the words given as arguments on the command-line. The comparison function reads as follows:
static int
cmpstringp(const void *p1, const void *p2)
{
/* The actual arguments to this function are "pointers to
poi... | stackexchange/codereview |
Short of overriding ViewData.TemplateInfo.HtmlFieldPrefix with an empty string, is there a way to keep the prefix from coming through on a nested set of strongly-typed EditorFor or DisplayFor helper calls?
Here's the ugly markup/code I have working so far:
<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserCont... | stackexchange/codereview |
What i am trying to understand how to do is lets say we have an interactive application ( game, similation etc. ). Now instead of using a image loaded from memory to texture the sides of a cube, how do i instead use the rendered content taken from that direction and instead use it as a texture.
So imagine a camera bein... | stackexchange/codereview |
My team maintains/develops several custom .NET and Java applications. Most of these applications need to send occasional operational notifications (usually as email routed through our company's Exchange server) but each application has its own implementation. It seems to make that it would make more sense to have a ser... | stackexchange/codereview |
I'm looking for the way to get crash logs data on the iPhone OS.
I found getting the logs this way:
1) Sync your iPhone
2) Browse to the following folders. Note that DEVICE_NAME will be the name if your iPhone as shown in iTunes.
Mac OS X : /Library/Logs/CrashReporter/MobileDevice//
Windows XP: C:\Documents and Setting... | stackexchange/codereview |
im fairly sure i can use the PIVOT function to solve my issue, but i just can't figure it out. Any assistance would be greatly appreciated.
So i have a table that looks like
create table Answer (
id int,
question_id int,
user_id int,
answer varchar(1025))
and i would like to write a query that returns a result set in... | stackexchange/codereview |
In iOS 4, I've got a page loaded in a UIWebView with a javascript audio player. I did not create this player, it is owned by a third party, so I can't tinker with it. When I click the play button, I see an NSLog printout like the following:
setting movie path: http://data.myaudio.com/thefile.mp3
My question is, what... | stackexchange/codereview |
I'm learning network programming basics, and there is a question I don't know how to answer in my assignment.
How is 'urllib library' different from 'socket library' in Python?
How can I explain it clearly?
| stackexchange/codereview |
If I have a project that was written for iphone and a project written for ipad. Is there a recommended way to combine them into a universal app?
My understanding is that you would take the existing app (iphone project) and convert it to a universal app then rename the classes to class_iphone, class_ipad etc.
The proces... | stackexchange/codereview |
I have an array with strings with international characters.
When I save this in the database I loose the backslashes? Why?
$descr_arr = array("héééllo","world");
$js_encoded = json_encode($descr_arr);
print $js_encoded; // "[\"h\u00e9\u00e9\u00e9llo\",\"world\"]"
$sql_query = "UPDATE test_table SET description = '$js_... | stackexchange/codereview |
I'm developing an "automatic message" add-in for Office Communicator 2007, but I need to know how to identify if another user opens the IM Window (not me, but another user).
I have the following event:
private void communicator_OnIMWindowCreated(object pIMWindow)
{
if ((chk_Enabled.Checked))
... | stackexchange/codereview |
I got bunch of 2s and 3s that i have to multiply together. Now i want to generate every unique combination of these numbers such that when these combination are multiplied does not exceed 10.
For example, I have something like this.
2*2*2*2*3*3*3
I can have following valid combination from above.
4*4*9*3
8*6*9
4*2*6... | stackexchange/codereview |
The interface:
IRepository<T> {}
and the implementation:
Repository<T> : IRepository<T> {}
Constructor:
public HomeController(IRepository<T> repository)
{
...
}
I'm using Unity container with custom controller factory.
For route /customers constructor should be using
Repository<Customer>
for route /products
Rep... | stackexchange/codereview |
I'm trying to do something i've done numerous times. I can't figure out why this isn't working. No matter how i write the jQuery code, it doesn't work. menuitems[i].action() just does NOT work. Below is Example 1 in which this example, no matter what item is clicked it returns the last item's action (in this example it... | stackexchange/codereview |
It was dictated to me taht my routine has to have a return value and it needs to be returned.
i.e :
int mySuperThread(void)
I start the thread and it does what it needs to do. The question being asked is how to continually restart the thread again and again and again to do its job while still being able to return an ... | stackexchange/codereview |
I'm getting this error that says that my package is name doesn't reflect the location of my file. What do I need to do to fix this? I've googled, changed the name of my file, added classpaths. Please provide detailed instructions. I'm having trouble with this.
Code:
package CMA10{
//Classes and stuff in here
}
Err... | stackexchange/codereview |
I received a JSON file but don't know how to read it. Is there a converter where I can produce a nice CSV file so it can be loaded into MS Excel? I don't understand JSON, so it would be awesome if someone wrote a script or link me to one that would do the job.
I found something close at http://json.bloople.net but, unf... | stackexchange/codereview |
I have code that automatically disbles fault information from flowing to clients when a RELEASE build of our product in installed. I am wondering whether there is a clever way that we can also disable MEX metadata from being available in our RELEASE build. Here is what I've done to automatically disable fault informa... | stackexchange/codereview |
I want to modify .Net IL code of an existing class on the fly. Is that possible somehow? I found some references to the .Net Profiling API, but according to the documentation it does not support self modifying applications. The main purpose would be to replace getters and setters of some properties. Any hint would be v... | stackexchange/codereview |
I define passwords to servers via properties I define in my ~/.m2/settings.xml (could be anywhere, though, including pom.xml) for my deployment plugin. I'd like to use the same properties for my integration tests. Is there a way to do so?
If not, is there a convenient way to share properties between Maven and TestNG?
I... | stackexchange/codereview |
Using jQuery, I'm trying to append the content of the WordPress editor with a snippet of html text.
The editor content is contained in a textarea element with id='content'
My Code is:
snippet = 'This is the snippet';
jQuery('#content').html(snippet);
But nothing happens to the code inside the content editor. What am I... | stackexchange/codereview |
Can you please help us to extract word from a sentence like:
He's led U.S. efforts for government-centered management ever since, resulting in the missions to the area.
How can we have:
He's
led
U.S.
efforts
for
government-centered
management
ever
since
resulting
in
the
missions
to
the
area
Thank you... | stackexchange/codereview |
InputString: "I am unwell" "We need to go to the doctor" "How long will it take?".
OutputString: I am unwell We need to go to the doctor How long will it take?
The string needs to cleaned of all occurrences of the char " . I can think of the following approacg
Use, strchr() function finding first occurrence of "
M... | stackexchange/codereview |
I have issues getting my ArrayList to add properly. When I print the ArrayList after the for loop has finished, the ArrayList is the correct length, but every element is the same (the last Coordinate that was created).
Can someone fix (and explain) the code below?
public class test {
private static ArrayList<Coordina... | stackexchange/codereview |
Ok so I have a table for notes in my database and a table for users in my database. Lets say notes table looks like this:
NoteId NoteTitle NoteAuth
--------------------------------
1 TempTitle 254
2 TempTitle2 871
and Users table looks like:
UserId UserName
-------------------
254 Bob
8... | stackexchange/codereview |
I am trying to write a script that will set a special price on a product with a start and an end date. When I run my script it does successfully set the special price, but the start and end date do not populate in the admin panel.
The code I am running is as follows:
$product = Mage::getModel('catalog/product')->load(1... | stackexchange/codereview |
This is my code. I'm trying to find an alternative to using innerHTML at the end.
function randomBanners()
{
var allBanners=new Array();
allBanners[0]="< src='' />";
allBanners[1]="< src='' />";
allBanners[2]="< src='' />";
allBanners[3]="< src='' />";
var l =allBanners.length;
var r=Math.random();
var t=l * ... | stackexchange/codereview |
I am loading 640x480 Bitmaps into a picture box one after the other. When I do that my UI gets blocked. For example, if I was typing something in a text box which is on the same form where my picture box is, I would not be able to see the key that pressed right away, because the bitmap loading makes the UI very slow ..... | stackexchange/codereview |
I have a text box whose Text property has a TwoWay MultiBinding with UpdateSourceTrigger set to PropertyChanged. The first Binding is to a dependency property (Value) which has a PropertyChangedCallBack function that rounds the value to one decimal place.
The purpose of the text box is to perform the rounding as the us... | stackexchange/codereview |
I am used to just save the favicon.ico in the public_html folder for adding the favicon.
The problema I have now is that I want to display the in all the files of a certain subdirectory, ( example.com/example "onwards" ) just putting it there, doesnt seem to do the job.
I know I could go document by document and add:
<... | stackexchange/codereview |
I have a mySQL table like this:
Folders
[id] [name] [parent_id]
1 fruits 0
2 orange 1
3 lemon 2
4 steak 0
Projects
[id] [name] [parent_id] [hours]
1 project1 1 3
2 project2 2 4
3 project3 3 6
4 project4 4 7
Basically projects ... | stackexchange/codereview |
I have a function which loads a class or file. It works something like this.
function load ( $type, $path, $file ) {
...
switch($type) {
case 'file':
....
include $path . '/' . $file;
break;
}
}
It works perfectly for classes. It also works well for files containing functions / html. However,... | stackexchange/codereview |
This is working properly (from initial testing).
Since method chaining is my preferred format, I've tried to figure out what the method chaining equivalent is, but with no luck. Any ideas?
var data = (from p in db.Persons
from c in db.Companies
where c.CompanyName == companyName && p.CompanyId... | stackexchange/codereview |
I know interfaces cannot define constructors. What is the best practice to force all classes implementing an interface, to receive their dependencies in a uniform contract. I know ints possible to inject dependencies into objects via properties, but passing them via constructors makes more sense to me. How to DI then ?... | stackexchange/codereview |
I have a problem with libpq on windows. Connecting to a db and running a "select * from some_table;" is very slow.
The table has only 1800 rows, 7 columns. No blobs etc.
The query is taking around 3500ms, in linux it takes around 800ms. (About 500ms is network time, the server is on the opposite side of the world fr... | stackexchange/codereview |
I am writing a program to solve postfix problems. I am not needing help with the algorithm as I already know it. But I have stumbled across a problem with the replace all function
In this program we are given operators that should be defined; I stored the definitions in a map. E means this problem is an evaluation and ... | stackexchange/codereview |
I know how to keep track of the checkbox in a datarow, but I got no idea on keep tracking the checkbox state in the header rows.
For example, assume my gridview have 3 pages, after I check the checkbox in the header rows in 1st page, I click on 2nd or 3rd pages, and click back to my 1st page, my checkbox status in 1st... | stackexchange/codereview |
On Chromium 7.0.517.44 (64615) Ubuntu 10.10, I seem to be unable to change the type attribute of a <button> element:
> blah = document.createElement("button")
<button></button>
> blah.type
"submit"
> blah.type = "button"
"button"
> blah.type
"submit"
Help?
On Firefox 3.6.12 and Opera 10.63, it works fine:
>... | stackexchange/codereview |
Ok so I am writing a game that has a shop. The shop is where i am having problems because each item in the shop has several stats and then 2 buttons and an edit text for buying/selling.
The layout for the shop has 3 tabs with 26 items in each tab and that totals to: 130 ImageViews, 364 TextViews, 52 Buttons, and 26 Ed... | stackexchange/codereview |
Platform: Windows XP/Sun Java 6
It works when I disable DNS caching in the java.security file:
networkaddress.cache.ttl = 0
But when I tried to pass this param from an applet, it doesn't seem to work:
<applet id="MiaApplet"
.....
<property name="networkaddress.cache.ttl" value="0"/>
</applet>
Same issue w... | stackexchange/codereview |
most of the good companies prefer java as programming language for s/w development than .net. why?
| stackexchange/codereview |
I have a navigation based application where I place my custom views in the navigation view.
First, I wanna know how to get the "navigation view"'s frame so that I can place my custom view on it properly.
Also, I sometimes hide navigation bar and want to make sure I get the frame info correctly. (not with [[UIScreen mai... | stackexchange/codereview |
I'm running into a problem getting my WCF service to work with other clients.
The ServiceContract looks like this:
[ServiceContract]
public interface IMyService
{
[OperationContract]
[WebInvoke(Method = "POST", BodyStyle = WebMessageBodyStyle.Bare,
ResponseFormat = WebMessageFormat.Xml, RequestFormat = WebMess... | stackexchange/codereview |
Someone is making a simple soundboard for me but when I try it on the emulator, it loads very slow(10+ seconds), and every sound that is longer than maybe 4 seconds gets cut off. The person mentioned that he is using SoundPool. Anyone know what is wrong and what might fix it?
| stackexchange/codereview |
I want to dynamically call the method of a custom class much like the below javascript. Except, the javascript below only calls a function that exists in my code. I want to call (dynamically) the function of a class. So I would remove window{value](target, event, self); and use something else that would call the method... | stackexchange/codereview |
I am working on a small application that is meant to call some (really diverse) functions which are sadly out of my control and designed in such a way that I have no clue when the proper user action is done. In particular some of these spawn a thread to do their work in, which ends up dying at some point in the future.... | stackexchange/codereview |
I have a sort of a one level tree structure as:
Where p are parent nodes, c are child nodes and b are hypothetical branches.
I want to find all combinations of branches under the constraint that only one parent can branch to only one child node, and two branches can not share parent and/or child.
E.g. if combo is the ... | stackexchange/codereview |
In Wpf 4.0 you can turn off Text antialiasing for a Frameworkelement and all its children by putting this e.g. in the main window:
TextOptions.SetTextFormattingMode(this, TextFormattingMode.Display);
TextOptions.SetTextRenderingMode(this, TextRenderingMode.Aliased);
This works fine for TextBlocks etc. but it does not... | stackexchange/codereview |
I have a menu very similar to the menu here on StackOverflow. The problem is that my menu looks right in every browser I've tested it on EXCEPT for my iPhone.
Here is a screenshot of the iPhone
Now obviously the "Add Event" button is supposed to be the same size as the rest.
Here's my Markup
<div id="menucont... | stackexchange/codereview |
I have an unusual problem (this is linked to Browser displays � instead of ´)
I had mismatched character encoding settings on my server (UTF-8) and application (ISO-8859-1), so a third person tasked with entering Spanish translations, entered the words properly at his end, but they weren't saved correctly in the databa... | stackexchange/codereview |
I'm wondering why there is no Detach method on the DbContext object like there is for ObjectContext. I can only assume this omission was intentional, but I have a hard time figuring out why. I need to be able to detach and re-attach entities (for putting in the cache in an ASP.NET project, for example). However, sin... | stackexchange/codereview |
I want to load (asynchroon) a background image by means of jquery. I don't want it to stretch or resize on reload. Just position it on the bottom right of the body. Maybe nice to load and fade it in.
Anyone familiar with that?
| stackexchange/codereview |
I'm, let's say, new to jquery. I've stumbled across a quite interesting problem.
I`ve page with text ( text and images ) and button for next. Clicking the button has to make 2 things first go to next element and call loadNext. No problem so far, but the loadNext procces some info from the next element. It must be execu... | stackexchange/codereview |
I am trying to insert a QWebView into my QMainWindow in Qt Creator. However, I can't find it:
It is supposed to be in there in this group, but it's not.
I am using Qt Creator 2.01 on Ubuntu 10.10 64-bit.
| stackexchange/codereview |
I am new to programming in Java and Android. I got admob to work at the most basic level, and whenever the device is at the landscape orientation, admob tends to popup and occupy a huge potion of the screen.
What is the best way to detect the orientation and hide the ads from displaying if it is in horizontal orientati... | stackexchange/codereview |
I have a UITableViewCell with a method like this.
-(void) setupStore:(StoreModel *) store {
self.title.text = store.title; // crash here when scrolling
}
So that method is called from within a UIViewController class that contains the UITableView.
Something like this
- (UITableViewCell *)tableView:(UITableView *)ta... | stackexchange/codereview |
I was wondering if there is an equivalent in SQL Server 2008 to Oracle's DBMS_METADATA.GET_DDL Function? You can pass this function a table name and it will return the ddl for that table so that you can use it to build a script for a schema.
I know I can go into SSMS and use that, but I would prefer to have a t-sql scr... | stackexchange/codereview |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.