Geffte/gold_standard_stackoverflow
02
1text,label
2"Vineet, what you are trying to do is a terrible idea! If you ever find yourself having to engineer something as fundamental as that, take a step back and work out what else does it! I don't really believe in the whole spoon fed SO thing, but what mtwebster says is on the right track!",negative
3"'Course I do, corrected.",positive
4"Excellent, happy to help! If you don't mind, can you accept my answer?",positive
5@DrabJay: excellent suggestion! Code changed. :-),positive
6Any decent browser should protect against malicious code in images so I don't think you'll have to worry. If you're truly concerned you can use a combination of getimagesize() and see about using a ClamAV extension/program to scan files for malicious code. Nothing is perfect though.,neutral
7"@talnicolas I'm using it a few dozen times in my class. It's heavy to write, not easy to read and very painful to debug. I'm sorry, I didn't think the question was that subjective, maybe someone should move it to PROGRAMMERS!?",negative
8I didn't select an answer because even though two of them helped neither of them is complete.,neutral
9I swear - I don't put pseudo code I get told off for having bad variable names and things that don't match... I put pseudocode and I still get grief!,negative
10I have attached below,neutral
11This is for Tomcat 5.5,neutral
12"Paraphrasing Cypher, ""StateOf.Confusion is bliss"", so... Do all `MapCollection Items` have the same state? If so then have a single `ItemStatus` that every `Item` references. [`Application.Properties`](http://msdn.microsoft.com/en-us/library/system.windows.application.properties%28v=vs.110%29.aspx) may be a way to globally communicate visualness.",neutral
13Excellent! Thank you for your perseverence :),positive
14"When I refactor the following line: using Resharper's ""Use Object Initializer"", I get the following: I really hate this type of formatting because with longer object names and variables it just gets out of control. How can I get Resharper to do the following?",negative
15"Wow, I've just had a look at the Corona SDK. It looks excellent! A really intuitive way to build apps. Thanks for the tip!",positive
16A few but they all seem proprietary.,neutral
17"that's what I thought, that's why I'm surprised",neutral
18"To push it to Heroku, you'll have to add it to your repo. Why don't you want to commit it? It's recommended to commit Gemfile.lock in your repo (unless you're developing a gem): When developing an app, check in your Gemfile.lock, since you will use the bundler tool across all machines, and the precision enforced by bundler is extremely desirable for applications.",negative
19I want them to resize based on the length of the data they're showing.,neutral
20@Thorbjørn Ravn Andersen that's really great!,positive
21"I'm not sure if this is a case here but if you are really worried about the gc in this case and you'd like to better control behavior of your derived maps and thus their influence on the performance of the gc in my opinion you should take a look at the usage of different kind of references (strong, weak, soft, phantom) in java.Also remember that pre-optimization is a root of all evil especially in programming.",neutral
22"I don't see how this is possible, but I really, really hate to run my query an extra time just to get the record count so I can build a pager. When I say a ""pager"" I simply mean the common gizmo with a link for each 10 records for example.",negative
23"Is it possible (or desirable?!) to set up to behave more like ? For example, instead of writing why can't I just write Similarly, instead of why not just",negative
24Have added an answer,neutral
25"Yes, but it's tricky, since datetime parsing in SQL is a pain in the neck.",negative
26"@njahnke: to me, it does not matter what they advise if they do not provide alternatives. I have been a happy user of qthttp thus far without worries, but yes, it is just a quick workaround as written.",negative
27"@MaximilianBöther I'm sorry to hear that... Maybe you can get in touch with the developers of BaronReplays and ask them to help you out? If not, I'm afraid I cannot help you much more! Regards, Rodit",negative
28This question would now be more appropriate on SuperUser.,neutral
29"After looking at the answers below, I am very sad that this is an example of backwards progress for SSRS.",negative
30"I installed Delphi 2009 Update 4 yesterday (very painful process ) Now, How can I make sure if it is properly updated? What is the build number shown in the IDE about box?",negative
31"I'm very sorry about my horrible English! only for this example I use radio button, I'm considering using textbox too",negative
32"I assume you're using Ken Reitz's excellent requests library to do the HTTP requests (if not, you really should be!)Most likely, the problem is that requests doesn't add a 'Content-type' header to multi-part uploads, and packmgr doesn't read multi-part bodies with no 'Content-type' header. So, while a normal 'requests' POST of a multipart-encoded file would go something like this: you instead have to use the longer form, setting an explicit content-type: Note that one side-effect of doing it this way is that it cannot stream the file - the entire package ZIP file will be read into memory.",neutral
33"Not for me, but I can suggest some possibilities :It may cause problem while editing--> This can be solved by using some comments--> And then this will cause the code messier Some code may crash and your code success will go away from you |.|--> No solution - unless you know more about the code! Code upgrade problem-- If external code has upgrade you may have problem to know which is that code--> Again use comments--> And again messier So these are some that I can think about!EDIT---Some cons:You can make it more convenient to edit--> You can edit more than one code at onceYou can edit some code that you wan't able to edit (external resource before)--> Modifying is more convenient.You can make it load faster--> 1 file with 1000 KB is faster than 1000 files with 1 KB each.It is safer--> You don't need to worry about external resource being deleted!!These are my suggestions. Try to think more about it!",negative
34"I have just finish that site, but there is a silly bug that remain... if you check tu horizontal position of the WHOLE page there is a slight shift... nothing to cry about but WHY here is the 2 pages any idea, the horizontal css is: i dont like my page to do the cha-cha-cha !",negative
35"Didn't notice the horrid inline jQuery, remove it! Then open the browser console (F12) and check for errors.",negative
36So to do this I would keep a list of axes and when I delete the contents of one I would swap it out with a full one. I think the example below solved the problem (or at least gives an idea of how to solve it): The extremely ugly for loop construct is really just a placeholder to give an example of how the axes can be swapped.,neutral
37@Asad Actually do not need. I appended one letter at the end of each vowel and con table. @user3520307 My great pleasure to see my code be helpful!,positive
38"Lastly, I don't see any styling data. Does your project have some CSS defined somewhere?",negative
39"I'm trying to do this in a makefile and it fails horribly: do you know why? I guess it has to do with escaping, but what and where?",negative
40"Here's a secret. In the chrome dev tools, do a cpu profile run. After you have stopped capturing, at the bottom of the screen is a down triangle next to ""Heavy (Bottom Up)"". Click the triangle and select ""Flame Chart"". Once you are in Flame Chart mode, you can zoom and pan to see the digest cycles, how long they take, and exactly what functions are being called. The Flame Chart is so incredibly useful for tracking down page load issues, ng-repeat performance problems, digest cycle problems! I really don't know how I was able to debug and profile before the Flame Chart. Here is an example:",positive
41"And what do those ""lines upon lines of errors"" say? (Sheesh! Getting information out of you is about as painful as pulling out teeth!!)",negative
42"The function signature for pthread_create requires a function that returns . Also, returned from should be treated opaquely. Both of these changes are reflected below and compile on my machine: UPDATE: There are some other issues with your program as well. For example, it's very likely that main will exit before your thread runs. You should join on your thread if you want to make sure it exits first. Using raw pthreads is a great way to learn about threads but can be very very painful compared to some of the pre-existing frameworks out there - try boost::thread or std::thread if you want to just get up and running with as little hassle as possible.",neutral
43Excellent! Thanks for the info.,positive
44"this is for facial recognition, and auto submitting username and passwords in your browser, if you are in front of your PC. nothing malicious bout that ?!?",negative
45Do you have jQuery loaded correctly?,neutral
46@augustss: with `ImpredicativeTypes` you can make monadic binds polymorphic as well (though it requires a heck lot of extremely ugly type annotations).,negative
47"Here is an excellent article that might help: CodinghorrorGenerally I would say: Put restrictive chmod rules salt, salt, salt !",positive
48"OK, so what do you want me to do about that? Hint: how about *telling us* what your problem is?",negative
49"Here is my PHP code.. ..I'm extremely crappy with my JavaScript code, could someone help me convert this? I basically want to convert a variable such as ""marine-heavy"" to ""Marine (heavy)"".",negative
50"No, the output is not the same; one is a Unicode value, the other an undecoded bytes value.For ASCII, that looks the same, but when you load any web page that uses characters outside the ASCII characterset, the difference will be much clearer.Take UTF-8 encoded data, for example: That's a simple U+2013 EN DASH character. The bytes representation shows the 3 bytes UTF-8 uses to encode the codepoint.You really want to read up on Unicode vs. encoded data here, I recommend:The Absolute Minimum Every Software Developer Absolutely, Positively Must Know About Unicode and Character Sets (No Excuses!) by Joel SpolskyThe Python Unicode HOWTOPragmatic Unicode by Ned Batchelder",neutral
51"Wow, great! thanks, I didn't know this one existed.",positive
52"Suppose I have this interface And this class Is there a way, or is there a tool that can let me automatically put in the comments of each member in a base class or interface? Because I hate re-writing the same comments for each derived sub-class!",negative
53"I asked before about pixel-pushing, and have now managed to get far enough to get noise to show up on the screen. Here's how I init: Here's how I render each frame: Problem is this is awfully awfully slow, around 5fps. I think my path to publish the buffer must be wrong. Is it even possible to do full-screen pixel-based graphics that I could update at 30fps, without using the 3D chip?",negative
54"Paradise, if you submit that as a separate response I'll make you the winner!",positive
55"Now when I load it to the device, an image won't show up. This is all kinds of horrible!",negative
56It's very painful to add multiple tickets to Trac or to have it as your own todo list. That causes people to use their own task management tools so tasks are then spread all around. Is there any plugin or macro that would quicken the process of adding a ticket?,negative
57I recently moved from a Mac + Textmate back to Visual Studio. The one thing I absolutely loved about textmate was it's find/search feature. It made navigating solution files so easy. Is there an equivalent shortcut/addon for Visual Studio?,positive
58Excellent! Look forward to hearing from you.,positive
59"Wow, great many thanks! File was Data!",positive
60"Okay, I see your confusion and edited my response with some sample code/an appropriate link to wikipedia. You are confusing the entropy of the model's probability distribution with the cross entropy (or likelihood) of the predictions it makes on real data. Consider a model that assigns probability 1 to some event and probability 0 to everything else. It has 0 entropy, but makes absolutely terrible predictions on any testing distribution that isn't a purely non-random sequence, assigning 0 probability to events that actually happen.",neutral
61Was afraid someone would say that...! Is there any hack I could put in place?,negative
62"Excellent questions! This particular project will need DS, WAYF, etc.",positive
63I need from document object or from a DOM element (i.e. a DIV) to know which is its window object. In Firefox I can do: but obviously in that AWFUL browser that statement not work!!!,negative
64I would agree except they are related and I really hated the idea of writing 4 separate questions since they seemed to close.,negative
65"Too slow and I prefer to operate in the same mode as my users. Also, I just really hate switching to debug. And its a waste of diskspace.",negative
66That's really bad. GWT looks extremely ugly with IE8 default!,negative
67Excellent point! :),positive
68"change the following to: to Added in the select, also ensure that DATABASE_TABLE has the column _id.A cursor adapter will always need an column!Hope that helps.!",positive
69"@IgnacioOcampo, I gave up after a while I am afraid :(",negative
70"When you try it, you get the error: This comes from (line 3023 on my sources, but varies by version), in . The comment there explains that: This routine is to be called by statements that must not run inside a transaction block, typically because they have non-rollback-able side effects or do internal commits.For it's called from in under the case for , but unfortunately there isn't any informative comment that says why specifically isn't safe to run in a transaction.Looking at the sources, I can see that for one thing it forces a checkpoint.Overall, though, I don't see anything that really screams out ""we can't do this transactionally"". It's more ""we haven't implemented the functionality to do this transactionally"".",neutral
71"@user2717118: Excellent! Please consider [accepting this answer](http://meta.stackexchange.com/questions/5234/how-does-accepting-an-answer-work), then :-)",positive
72"@KubaOber, I was in the process of revising the answer, but see you've already answered it.",neutral
73"Let's imagine something like this: Later I can do something like this: Is there any way I can set the limit when using the named query, and not when defining it? I'd would really love to do something like: or Thx in advance! :-)",positive
74This can probably be done using JavaScript.,neutral
75"If I understand your question correctly, the exception is because variable is not found inside the function. I'd suggest learning scoping rules in Python or read this excellent to-the-point chapter on the topic (or search for this topic on the Web!).The other thing I'd recommend is not to handle all exceptions as you've shown in your snippet. Here's why.The fixed code could look something like this:",neutral
76You'll need to create or call a refresh function from the same place as the alert() in the .get() call. That function is a success post-back.,neutral
77I ran through the li:last-child selector earlier,neutral
78"As I comment your question, there are of problems inside your code so better will be to use some ready function/class for it :) just search for it ..How ever I can give you easy way to display what you want..Replace your FOR loop with that code and it will be fine :) But really !!! 1st - MYSQL_ functions are deprecated use mysqli or PDO instead.. 2nd - ESCAPE all variables in your queries.. 3rd - Think for using more flexible methods of work (function/objects ..)",positive
79You can download a local copy of jQuery or use a CDN. This link has details: http://jquery.com/download/,neutral
80I think it speaks volumes about IE that the keyCodes for the arrow keys form an angry sad face: %&'( (works better in the comment text entry font),neutral
81"I'm using Apache's implementation, namely http://ws.apache.org/xmlrpc/",neutral
82"Okay, a before <example> And a desired after <example> I know, horrific (don't ask!) See how the slash in the key indicates children, and how the order is nested accordingly? And items without orders are simply shifted to the bottom. But also how multiple 'same level' items with the same order are merely sorted by key?",negative
83"I need the page to include the sitemap because I'm saving context from each of the three previous pages. That way the user can click the previous page in the sitemap, and it will load the data I stored (i.e. load the data from their previous search).",neutral
84"I'm working with a console application (C#) at the moment. What it does is pulls files from a database and stores them in their relevant folders on the C drive on a local machine. At the moment, every time I run the console app, it pulls ALL the files from the database. What I would like to be able to do, is each time I run it, It only pulls the files that were submitted since I last ran the console application. Currently, this is the linq statement that pulls the files from the database. Ideally I'd like something like the following where the date and time of the last run of the application is stored somewhere: I'm unsure on how to go about achieving this. If anyone had any advice on it I'd be very greatful :)",positive
85Great work in finding that bug report ticket! I was able to see the issue in the [fiddle](http://jsfiddle.net/5SCnJ/) that they provided. Notice also that the bug has been fixed! All you need to do is use a jQuery-ui >= version 1.10.3. I forked their fiddle and tried it with 1.10.3 and the issue goes away. Check it out [here](http://jsfiddle.net/mcoomey/JPC4J/1/). @user3496151: The fix that I demonstrated in the previous,positive
86"There is another way... As the WPF application is coded with the .NET framework, it is compiled to MSIL (Microsoft Intermediate Language). This means you can use a decompiler such as ILSpy to decompile and view the code of BaronReplays. This will give you some idea of how BaronReplays works so you can implement the same ideas into your own code project...Hope this helped!Rodit",positive
87"Would you happen to have another column in your table where you can group them as ""1 2 3 4"" , ""1 2 3 4"", etc?It would look something like this:1st column | second columnA | 1B | 1C | 1D | 1A | 2B | 2C | 2D | 2If you order it by 2nd column, it will return 1 1 1 1 2 2 2 2. But since you have another column, you can do order by 1st column, 2nd column, and it will be 1 2 1 2 1 2 1 2.This ia ofcourse assuming that you have a field like 1st column. But given that you're looking at having them order like 1 2 3 4 1 2 3 4, there must be something in your other fields that can help you achieved that Hope this helps!",positive
88You would need to create a counter integer variable that can keep track of the line index for you. Hope it helps!,positive
89"Yes, this is question.",neutral
90"Everytime I execute my app in debug mode, the execution breaks inside some class file of an external library that I'm using. Even though it's a NullPointerException, for some reason I can hit resume and continue the execution. In case you're curious, I've put the stacktrace below. My problem though is that I simply want to stop that. It's extremely annoying and happens every now and then during the execution. But I can't find any setting anywhere which will prevent breaking inside class files. How do I avoid this?",negative
91"Then you've got major problems! Let me meditate on it; it is extremely unpleasant, whatever. Are you on Linux or some other Unix-like platform?",negative
92works excellent!! thanks a lot guys!!!,positive
93"I cannot seem to figure out why the phpunit target does not output any test results even though I have tests in position. The problem I am finding is there is no indication as to what the problem is! Incredibly frustrating. The output is as follows: My build.xml is as follows: My system: Vista, PHP 5.2.9, PHPUnit 3.4, PHPUnderControl, CruiseControl",negative
94excellent alternative!,positive
95I don't have any control over the dataset I recieve. The only thing I know is that it contains everything.,negative
96Reinnstalled Xcode4 - same thing. Awful!,negative
97"Is your test case exhibiting this behavior in jsfiddle? I have tried it in Firefox, Chrome and Safari and do not see the shrinking you're talking about, although Chrome and Safari force a left-margin indent while dragging. (???) 

",neutral
98"I want to programatically detect if my site is within the Facebook iFrame app so I can display certain features specifically for Facebook. Otherwise if someone goes site without Facebook. Preferably an FBML, C# or JS solution would be great :) Thx!",positive
99You're very welcome ! It would be nice though if you upvoted and accepted the answer. This way other users could refer to it if they pass to the same trouble you had =P,positive
100"@SamDeHaan, you are correct! transposed them as i was writing.",positive
101Is this valid ? what I'm really worried about is can you specify type and also use def at the same time?,negative
102I'm afraid you cannot fetch that!The Graph API don't provide any API to do so.,negative
103"I store ranges in MySQL DB, but a lot of queries to MySQL for getting provider name - it's terrible :(",negative
104"Make a canvas path glow by applying a series of overlapping shadows with increasing blurA Demo: http://jsfiddle.net/m1erickson/Z3Lx2/You can change the styling of the glow by varying the number of overlays and the blur size.Example code for a glow effect: To get the outline path of your phone image, you can use the ""marching ants"" algorithm.This algorithm will create a path that outlines an image. In your case you would define the image as all pixels that are not transparent.Here's a very good implementation of ""marching ants"" that is used in the excellent d3 library:https://github.com/d3/d3-plugins/blob/master/geom/contour/contour.jsIt's used like this:DrawImage your phone on the canvas. Get the pixel color array from the canvas using ctx.getImageData Define a function that checks the pixel array for non-transparent pixels at any x,y on the canvas. Call the contour function: Here's an example result:the glow is automatically generated using overlapping shadowsthe outline path of the phone is calculated using the marching ants algorithm",neutral
105"It would be a good practice to have a separate button that will disable method since it is very easy to get confused when using your program if the code for disabling and enabling this method is all written in one method named so I suggest you separate them to make the program's design more precise.Next thing you can do is to execute a , whic you are going to mark as . After having done this you can use .Here's how: Be warned that it's sometimes dangerous to throw exceptions as it creates some other bugs, but this option won't hurt much if you're just trying to disable a function. By the way, this will really not remove the method as it will just replace it, it's now up to you to choose which method will receive this. Hope this was helpful!",positive
106"I want to duplicate a very large table, but I do not want to copy it row by row. Is there a way to duplicate it? For example, you can TRUNCATE w/o deleting row/row, so i was wondering if there is something similar for copying entire tables UPDATE: row by row insert is very painful (because of 120M rows). Anyway to avoid that?",negative
107"Yeah, I know, I just can't figure out where the 'private' is coming from. It's very frustrating!",negative
108Excellent! PHP really is an impressive language.,positive
109"If you only need the count (like you express in your original question), you could do: Hope it helps!",positive
110"There are two issues with your regex pattern: Firstly, you forgot to add the ^ at the beginning. this is why only the last characters were checked, or to say: you did not check the entire input. Secondly, your cyrill check did not seem to be correct. Still, I am not used to cyrillic letters and I should be careful before I judge ;) hope it helps!",positive
111"Cool, that was going to be my next suggestion! Good luck :)",positive
112no answer yet.... sad =(,negative
113Someone is scared to tell the reason of -1 !,negative
114You can use this Hope this helps!,positive
115yeaa im just not sure how i would be able to store a user input string into the array. I've looked around online and tried out some of their code. So im not sure. I really hate mips. :(,negative
116"
I'm not very good at vb6, and I would do that from the aspx page by adding to the SqlDataSource an Update Command like `UPDATE [table] SET [date_debut_session] = @date_debut_session WHERE [id] = @id` and asp:parameters. define 'here': in the aspx or in the codebehind? 'cause I've tried and it works in the aspx but I haven't tried in the codebehind. have you tried [this](http://stackoverflow.com/questions/4223938/how-to-apply-particular-format-of-date-by-using-eval)?",neutral
117that's great :),positive
118"Some of your code seemed redundant, so I removed some. Such as defining and then duplicating it into so I just defined once. I got rid of , , and since you can just as easily enter the value directly.Then I got rid of the whole get the latest file in the log folder, and just added the content to the log file defined earlier. I changed the log entries so they were done by tabs so the entry type, date, and the actual entry all line up nicely when you view the log file.Lastly I changed the whole If>ElseIf>ElseIf thing into a Switch, because Switch is awesome and totally underused! Oh yeah, I got rid of because it's pointless to define a variable and then just echo it. What you could do is in the section have it write-host the error and call the log function again, so people are forced to enter a valid entry.",neutral
119"Indeed your question is an easy one, so I answer your question with some additional points that I think help you more than the answer itself:First, this is the code: Notes: Please1 - don't a simple problem a real hard one! if it's a hw you can convince the tutor about defining the string delimited with something like "","" (if he/she insists) or whatever, and if this is a real project convince the customer, you don't want to torture yourself! 2 - you said you want to split the string into a 4 x 4 matrix, what if you want a 5x5 matrix? So take advantage of constants, and the same for the delimiter Hope these help.",positive
120@Pekka - what's the emoticon for being terribly embarrassed!,negative
121"[fiddle](http://jsfiddle.net/mcoomey/JPC4J/1/) was not related to the table layout of auto versus fixed. The fiddle shows that it works for both. If you are still seeing a problem while using the newer version of jQuery-ui, then it must be another issue with your code.",neutral
122I have implemented this in my Visual Studio addon Visual Installer as IntelliSense Member Completion.If you type variable followed by a period (.) a list of all possible members of this class is presented in a list from which you can choose:Second option is to move cursor over any class to view it's members:See details here: http://www.unsigned-softworks.sk/visual-installer/features.html#member-completionP.S. sorry for this self promo - TLama is very angry for promoting 3rd party software in Inno questions but there is no support for this in official Inno Setup editor and many people ask for this.,negative
123"How do you train Neural Network for pattern recognition? For example a face recognition in a picture how would you define the output neurons? (eg. how to detect where is the face exactly, rather than just saying that there is a face in camera). Also, how about detecting multiple faces and different size of faces? If anyone could give me a pointer it would be really great Cheers!",positive
124"Yeah, it's definitely annoying!",negative
125I am learning ML. Can some one please help me out with basic input/output functions in ML?? I just want to read input from console and store it in a variable and use it in my ML program. Please help. If you can point me towards some example for this also it would be super great!!! Thank you.,positive
126"the question just came to me from a different team. The question was ""how to query the users in the exchange server's particular User group"". Its said that the Exchange server user group is not linked to an Ad group. The examples i could get are all for querying based on AD group. I heard there are two ways either through SQL or through DirectoryServices. Either solution is fine, but through DirectoryServices will be super awesome! Thanks again!",positive
127What will you be doing with the images? Displaying them in the browser?,neutral
128"@PeterGrantBue: I'm happy that my solution suits your needs. :-) Please, accept my answer if it really helped you out. Good luck with your game! ;-)",positive
129It is really painfull to get all code form TFS whenever you make a build using NANT. Is there any settings in ccnet.config which will only take the files which are changed form last time which can speed up the process.,negative
130"I'm not for sure how the ControlCollection of ASP.Net works, so maybe someone can shed some light on this for me. I recently discovered the magic that is extension methods and Linq. Well, I was very sad to find that this isn't valid syntax However from what I can tell, does implement the interface which provides such methods, so what gives? Why doesn't that just work? I have found a decent work around for this issue at least:",negative
131"@Bober02 if u are in this industry sooner or later you will ""meet"" Martin Thompson's excellent blog, I'm glad to introduce you to it. :) http://mechanical-sympathy.blogspot.com/2011/07/memory-barriersfences.html Happy reading!",positive
132I am using WinForms.,neutral
133Not to worry I've SOLVED it!,positive
134"we definitely have differing views on what is the ""easier"" method achieve this functionality, and dealing with threads is not easier for me",negative
135"I'm trying to make a link inside the fancybox single image title. I want it to redirect me to another fancybox window (witch is inline)... I have a script that makes the whole single image a link, but this targets my document title instead of the anchor title... I really hope someone will have a solution or a better idea on how to do it!! :) Thank you thank you thank yooou! :) btw: I have almost never worked with scripts.. In depth anyways...",positive
136"Is there a shorthand for a new line character in Scala? In Java (on Windows) I usually just use ""\n"", but that doesn't seem to work in Scala - specifically outputs in Eclipse, (sic) from the command line, and from the REPL (GREAT SUCCESS!) works, but is there anything shorter?",positive
137"I have a long scrolling page, and want to test if an element is 100px from the top, then apply a class elsewhere (until the next element in line is 100px from the top) If I could just get the basic statement I would be ecstatic, anything extra would be a bonus!",positive
138@Gabriele No worries! Glad to have helped :),positive
139Excellent point! Thanks!! I did mean just the left side though.. (I should have specified that). Was glad to learn your insight though..,positive
140"You can do as followed:When your app is not started/ running and you start from an notification, onCreate gets called. When your app is running (background or foreground), and you start a new intent from an notification this method gets called: (if you are using singleTop) To detect whether your app is running back- or foreground, you can simply set a boolean in onPause/onResume: Hope it helps!",positive
141"I just caught that, Firefox doesn't preform spell checking on the title field for some reason.",negative
142"is in so u need not to worry!Internally the data is always stored as TEXT, so even if you create table with , SQLite is going to follow the rules of data type",positive
143Is it possible to prevent a user from editing the title of a node on the node edit screen? One of the things I really detest about Drupal is the rigidity of the title & body field in each node.,negative
144"I'm curious, shouldn't the other question be marked as a duplicate of this one? This question is two years older and has a higher rated answer.",negative
145"I'm trying to output the following from within a liquid template: Obviously, Liquid sees this as a variable named and tries to do substitution. I'm trying to find out how I can output the actual braces. So far, I've found one method that works, but it's incredibly ugly: Yeah, told you it was gross. Here are other things I've tried: Any advice here?",negative
146"Assets are bundled with your APK and they are read only. You cannot delete them in your app.If you're really worried about storage usage, consider alternative database distribution mechanisms such as downloading it over the network.",neutral
147exactly why i'm asking because thats what i fear!,negative
148<3 <3 <3 ! ! ! :),positive
149I need to perform the same hash server side. All this code that I am digging through seems to have been run through some compression tool. Devastating.,negative
150Just that they make you list the type twice. i.e. List list = new ArrayList(),neutral
151"I'm looking for as automatic way as possible. Surronding every query with a StopWatch would work, but it's a lot of work.",negative
152"You need to make the following changes to your code: However keep in mind that this is extremely vulnerable to SQL injection, and you should also swap MySQL for PDO/MySQLi immediately if you plan to use this code on a live website.",neutral
153"I just noticed also that you're calling **sortable** on the reportTableBody class, but that class does not exist in the fiddle code.",neutral
154I really hate people who downvote for no reason. Just tell me what your problem is in a comment after you downvote. God!,negative
155I have but instead of bothering them I'd like to do it myself. I really enjoy trying new things and so far figuring all of this out has been very fun!,positive
156"Excellent advice, thanks!",positive
157"You are processing the newline character as if it is legitimate input. You should either read the entire line (including the newline, perhaps using a ) and then process the first character of the line or simply add a test to skip newlines in your loop logic.P.S. Converting case by adding or subtracting 32 is a really awful approach. It won't work with anything but a-z and A-Z (in the English alphabet). It won't work for most characters outside the Basic Latin block and shouldn't be used at all for characters that have no alternate case (such as newline). You should be using and instead.",negative
158"Is there a way to pattern match in F# so that it will check to see if both elements in a two element tuples are equal. I'm incredibly new to F#, and also new to the whole concept of Pattern Matching in general. I was thinking something along the lines of... But I guess that would be too easy hah. Any suggestions? Or is there even a way to do that? Thanks for your help, you guys are incredibly helpful!",positive
159Unless you are able to demonstrate the problem with displayed code then I'm afraid there's not much more I can do to help you out.,negative
160Nope. It comes right up.,neutral
161Gosh ! you're right !!! Excellent !!!! Is there a way to expand it programatically ? I added .setOngoing(true) (to the top) but it's not expanded... (not really the top because the first one is a notification when I'm plugged to USB for tools developpement ). Thank you again my friend !,positive
162@Colin Pickard: That's really sad :'( :'( :'(,negative
163The first line sets the file name variables and sets the field separator to comma. The second line sets the output field separator to comma too. The third line prints lines with 3 fields to the new file; the fourth line prints lines with other than 3 fields to the error file.Note that your code would be excruciatingly slow on big files because it executes two processes per line. This code has only one process operating on the whole file which will be really important if the input grow to thousand or millions or more lines.,neutral
164Excellent! Thanks.,positive
165"Nice! I love the video software! lol. Had to download it. Anyway, I fixed the Open Modal, I didn't fix teh fixed modal. I'll get back to you in a minute",positive
166"Sorry, I was just trying to help and obviously misread the question. No need to get angry!",negative
167Great! Good to hear it. Can you please accept my answer? :),positive
168Moderate > 300 - 500 nodes at once,neutral
169You are right. See my update! Make a suggestion pls and I'll catch your thoughts ;),positive
170"I have a function name called setValue, used in many classes. Also, i have a global function by the same name. When i press C-], it goes to arbitrary setValue function. How do i directly jump to the global setValue function? It is really pain to use tnext every time to find if the function global.",negative
171"Also, your fiddle example seems to be cut from a much bigger project with a lot of superfluous code hanging around. I think if you are able to duplicate the issue in fiddle then you should pare down the code to eliminate some of that and make it easier to troubleshoot.",neutral
172I just followed your excellent recommendation --- thanks! :-),positive
173That's depressing :/ Are you sure I can't get a collection of all controls on the page with a particular class and give them a single data source?,negative
174"I have a table that is referenced by a ton of other tables via foreign keys. I am trying to delete a Document record, and according to my execution plan, SQL Server is doing a clustered index scan on every one of the referencing tables. This is very painful. I thought having a FK automatically made an index on the FK fields? Or am I wrong? Do I really have to go around my database putting an explicit index on every single FK field?",negative
175jQuery abuse! Use CSS: HTML: FiddleThis should be much faster then jQuery (as with everything CSS).,neutral
176that's the hope :),positive
177@AlexK. excellent thought. Edited.,positive
178Did it work? If it did you can also accept the answer by clicking the check mark beside it. It is a nice step to take =P,neutral
179"This works excellent, thank you very much! (Trim('0'||mycolumns))",positive
180Don't have access to any other versions here I'm afraid :(,negative
181"I was wondering whether anyone knows of any tools available that perform the task of analyzing one or more CSS files, determining the similarity between the various rules within the files and presenting the user with options for the merging and reduction of rulesets. I ask this because a project I am working on has reached the point where it has so much CSS that Internet Explorer (Still the bottom line I'm afraid) chokes on the CSS after page load, causing a 3-5 second lock-up in interactivity until the choke is processed. In case you're wondering: Yes, I am sure it is the CSS causing this issue.",neutral
182"That's right, I have no plans to replace the existing system, sidecar is an excellent analogy.",neutral
183No problem. I see you got your answer above. Did that satisfy your question or is there anything else?,neutral
184"Added bounty to see if I can get a full answer (ideally: the code snippet that, when added above, answers the question).",neutral
185That's excellent! Please post it as an answer so I can accept it.,positive
186"What you can do here is hide the button that pushes the view that only instructors can see, if the user is logged in is of type student.In the view that has the button that pushes the view that only instructors can use do this:In the .h file create a property for the button that pushes the view like so: In the .m file:In the viewWillAppear method of the view do the following check: This way, when the view loads, the button that pushes the instructor view will only be accessible to the users of type ""Instructor"".Hope it helps!",positive
187To be honest I don't even know where to start. I guess the solution might entail using a zillion IIf statements. I'm fairly new to this I'm afraid!,negative
188"I second trying to put the whole path instead. For relative paths, if you're doing compiling and running in command line/terminal, you need to have that studentrecords.txt in the same directory of your code files.If you're using an IDE, you need to put your studentrecords.txt under the src/ folder. This is assuming you're not in maven project setup; otherwise it should be put under /src/main/java/resources/ .Hope this helps!",positive
189You can use Mercurial on Google code now. I never tried git before but I'm loving Mercurial.,positive
190"whenever i drag-n-drop a stored procedure onto my Context canvas, the parameters/arguments for the stored procedure are all nullable. Why is this? Is it because of how i've declared my parameters inside the stored procudure itself? Besides manually creating my stored procedure methods in the Context partial class (or drag-n-drop onto canvas, cut from autogen'd code, move to partial class, then remove nullables types) .. is there any way to fix this? It's really frustrating :(",negative
191"It's HORRIBLE! No, seriously, I don't like it.",negative
192worried about IE compatibility!!,negative
193"The problem is that you never run the method, so the field stays at zero. It's a really terrible idea to give a field and a method the same name.",negative
194Excellent! Cheers dude,positive
195"Arrrghhh, how I hate those people who downvote answers without leaving a comment as for why the downvote...",negative
196"Dude, you scare me! At least make an effort in PROVIDING CODE!",negative
197"When I refactor the following line: using Resharper's ""Use Object Initializer"", I get the following: I really hate this type of formatting because with longer object names and variables it just gets out of control. How can I get Resharper to do the following?",negative
198"james, the stack trace under that is just my function name. Nothing more. very frustrating :(",negative
199"Turns out to be a pretty small tweak, you were almost there! You have to re-set the option prior to the if you want to have the new selection box, visually change: Which then successfully redraws the box upon a single click as like it does within the below Fiddle, which listens to the dimensions which are set within the object:Demo Fiddle: http://jsfiddle.net/Pg39A/",neutral
200I should add that the element thing throws an error when it can't find something. Do you normally use try/except for all find_element commands? * oh so very sad * :(,negative
201looks like you have changed your needs. that's disgusting,negative
202This is a professional project in academia and I need to use Java for it - bc of my own limitations I'm afraid!,negative
203"No communications. Just trying to get one to run the other, passing it a few params. They are both installed to the same directory under Program Files and access files under app data.",neutral
204"So, the following hack seems to work, but it's really incredibly ugly IMO, as it relies on you controlling the line-height and using absolute positioning. Worse, it requires you to know how many lines there are in your text, which depends on the width of the div and the font-size, and probably requires JS to compute.Anyway, after all the above disclaimers, here's the hack: Use two divs with the same text, one on top of the other. One justified, one centered. Then clip the justified one.HTML CSS Fiddle.Of course, the above code is hard-coded for the specific width. Again, you'll probably need JS in order to compute the number of lines in the div. I'm pretty sure that until this gets implemented in Webkit you probably won't find an elegant solution for your problem.",negative
205anybody have an idea on this one?,neutral
206"Per:https://support.google.com/googleplay/android-developer/answer/3131213?hl=enYou need to be registered as a member of a Google + or Google Group that is designated for Beta or Alpha testing by the Developer. If you are not registered, you will only be able to download the production app from Google Play, NOT the Beta or Alpha version of the app from Google Play. Having the ""link"" won't be sufficient, you need to opt-in to the beta or alpha via Google + or Google Group. Please note that even if you properly opt-in via Google + or Google Groups as defined by the developer, you will need to wait several hours (perhaps 2-8 hours) for your status to propagate via Google Play. So, perhaps you need to wait 2-8 hours even if your Beta/Alpha status is proper?Hope this helps!",positive
207"This is a slightly tricky question. I am using NSDateFormatter on the iPhone but I wanted to only show a standard date without the years component. But retain the users locale formatting for their date. I could easily override the formatting using But now the date is in my in en-nz format eg 12:01PM Wednesday July 7. So I have totally killed the locale for any other users around the world. I would like to say. Give me the correct localized date for this users region but omit the years component. Since the date is being displayed as string, I am tempted to just fromat the date and then remove the year component by just cutting this out of the string.",neutral
208"I'm building a little script that changes content and css live on the page based upon the values of various input fields. I'm able to change the content ""live"" absolutely fine as you'll see here: I'm not able to get this working with the css method using the same principles though: Thanks!",positive
209It would be super great! if you can help me with iframe and cookies stuff... data.message contains URL,positive
210"HXT, a library which is used for parsing XML, is a very good example for the usage of arrows (have a look how often the word occurs in the module names of this package!). You shall have a look on the great tutorial: http://adit.io/posts/2012-04-14-working_with_HTML_in_haskell.htmlBut it is also good to have the arrow concept for functions. For example the following code just works, because is an instance of the arrow class (The operator is defined in Control.Arrow).Thanks to the arrow syntax you have also a great tool to write complex computations in Haskell (it works as well for functions, monads and XML filters in HXT).",neutral
211"I need to transform this : into this : I tried to use wrapAll with jquery, something like that : Any suggestions would be really appreciated :) Thank you very much !",positive
212Thanks for the feedback! It was a pleasure!,positive
213That would be great! @Heinz: contact established :-),positive
214I was afraid of that!,negative
215All assets should be placed in the folder You can access the assets using the method or the Laravel HTML helper methods and . i.e to include Javascript file: Hope this helps!,positive
216"I know that, that's why I wrote unsupported (exclamation mark). It was just meant as an aside and isn't central to the question.",neutral
217"Wow! Yeah, I did'nt know that! Great new feature.",positive
218"I'm not knowledgeable in the whole ""server-side"" idea. Right now, I just want to start learning how to send data from a windows mobile phone application to a server. I'm pretty good at C# and making apps. I just need to learn how to send data from and to a server/mobile application. I am using Silverlight (The latest one) as the API for my windows phone app. At the moment, a ""hello world"" sort of program would be awesome. Any help is is extremely appreciated! Subby~",positive
219No I did not. The question is - which files..,neutral
220"Sorry, I wasn't clear. You would need to add that as a BOOL property on your class. It originally sounded as if you had a single place that handled the notifications and displayed the errors.",negative
221"What matters is that your code is readable. If you're worried, add a comment -- that's what they're for! Having said that, maybe you should StopIteration when there are no more players.",neutral
222"My suggestion is to keep track of whether or not you're showing an error at that choke point. If you have lots of places that are doing it, you'd need to synchronize them somehow, e.g. delegate to a singleton object that is responsible for displaying the UI, or use a mutex or something.",neutral
223I have created a new project using core data then copied all of the app delegate code for core-data that i need over into my current projects app delegate.. my appdelegate.m looks like this now. My questions are as follows Is the URLForResource in this part of the code ment to reflect the name of my xcdatamodeld that I have created? With the URLByAppendingPathComponent: do i have to create a sqlite database called Code.sqlite or is this made automatically for me by the core-data code? what is the purpose of this method exactly? any help or tips would be really awesome!,positive
224"No buddy, You can't simply upgrade ZF1 to ZF2. In case you need you move to ZF2 be sure that ZF2 is not just an upper version of ZF1 but the whole Architecture is also changed.So, If you really need to move then 1. Firstly you will need to remove ZF1 library completely.2. Install ZF2 package.3. Now make changes in your code to work accordingly with ZF2 as most of the things will stop working once to move to ZF2.However, I would suggest don't migrate to ZF2 just for the sake of upgrading, migrate only if you dont have any other choice. As this is a very painful task.have a good luck.",neutral
225"@ThiagoLovizzaro no worries, you have to start somewhere ;) good luck in the future!",positive
226"Also, your query is completely vulnerable to SQL injection. If you don't know what that is, look it up.",neutral
227should be \'s you can tell my preferred environment....,neutral
228very kind :) Paul S. approach is a good one as it acts like a polyfill.,positive
229@prototypical - Absolutely. I was never to solve this xTo-1 issue and ended up creating mirror images for my sprites. I praised the genius who created keyboard shortcuts that day!,positive
230"Per https://developer.apple.com/library/ios/documentation/LanguagesUtilities/Conceptual/iTunesConnect_Guide/Chapters/ChangingAppStatus.html#//apple_ref/doc/uid/TP40011225-CH30-SW1The ""pending an Apple Release"" means: Apple is holding your app version until the corresponding Apple iOS or OS version is released to the public. If you think an app should be released on existing iOS or OS versions, review the deployment target set in your app binary. If you rebuild your app binary with a different deployment target, reject the binary for this version and submit the new version.Sounds like you need to review the deployment target and if you change it, reject the binary and re-submit. If you need help with rejecting the binary, please let me know.Hope this helps!",positive
231Just use the appropiate font and enclose your string with an asterix.,neutral
232I'm having trouble setting the default character set of my JVM . (and was a bit afraid of messing it up!),negative
233"Its Ajax, I dunno anything about it. And looking at the link which you have given seems very scary to understand and implement.",negative
234"@Gary it is indeed strange enough that `Files` does not have a recursive deletion method... That sounds like an obvious thing to have. But it probably isn't. How to deal with errors, for instance…",negative
235"@GMasucci, I'm not saying that all singletons are evil, I'm saying that they are considered such and for a reason. I myself use them sometimes, but I often find that I would be better of without them. I'm not going to start a flame war about singletons here, but if there is a doubt (otherwise, why ask a question?)... Maybe there's enough of a reason not to use them?",neutral
236"The most correct/idiomatic solution (if you cannot avoid having a collection to begin with) is to use an : Putting the into a lambda isn't going to make anything any easier. In fact, it'll only create more work.Of course if you really hate using an you can avoid it, not that it'll really help you much: You could emulate the more functional style concept with a method that invokes an action if the object isn't , not that this is really any easier than a check when dealing with actions instead of functions:",neutral
237"Oh, bummer, I think i got i right now?",negative
238"I think JSON is in incorrect format. Try this:Change the in your OperationContract to Try adding following when request is made: If still it doesn't work, then try Overriding method in your class. Now make an object of and call method and here you can see your required JSON format. After you get required JSON format, then try sending JSON in that format.Hope this will help! Thanks",positive
239"@Gary there is another point: when using the `rm` command, it is not it which performs glob expansion but the shell!",neutral
240Try: This should make it open as a pop-up (unless default browser setting are different)Although it's not recommended to use pop ups anymore because most users find it extremely annoying.Hope this helped.,positive
241"Apparently, the Gmail app do not let me download the attachment... this is really unfortunate :( Gmail works with !!!",negative
242"Great to hear! Good luck implementing. If you have any questions, feel free to ask :)",positive
243anyone got a clue on this?,neutral
244"Most of the times when Iphone program crash, compiler show stack with full of no's, but these no's don't make any sense to me. Very rarely it point out where the problem might be and mostly there are these useless no's. How you can make sure that when your program crashes while development/testing, it shows at what place this cause this crash?",negative
245numpy is awesome :P,positive
246You can just see all the W3C Examples and you'll be fine! Delete a Cookie with JavaScript Deleting a cookie is very simple. Just set the expires parameter to a passed date:,neutral
247"Ok this is really annoying, can't find a solution that works !",negative
248yeah it working fine :) Thanks !!,positive
249"@levi excellent answer!! you save my day!!! I forgot that req and res handle only one connection, so I dont try to call res.end(). Thank you very much!",positive
250"There was a great answer to the first half of this on http://security.stackexchange.com/a/19710 , the second half god a good answer from the manpage, as posted by rmcfrazier: http://www.php.net/manual/en/function.uniqid.phpquote combinatorics:""There are devastating collision attacks on MD5. (...) In contrast, SHA1 appears to be much more secure. While there are some known attacks on SHA1, they are much less serious than the attacks on MD5. For this reason, SHA1 is a much better choice than MD5 in many settings."" - MD5""Warning: This function does not create random nor unpredictable strings. This function must not be used for security purposes. Use a cryptographically secure random function/generator and cryptographically secure hash functions to create unpredictable secure IDs."" - uniqid",neutral
251"timeout basically, it pops out a download window but never advance, after a couuple of minutes it timeouts saying: ""Internet Explorer Cannot Download FileName from WebServer""",neutral
252"I have a script in which I need to process a file using ajax. Everything in the script works, except I can not get the right variable. I have tried everything and I currently have this in its place I was wondering if anyone could tell me how to successfully set whatever is in this field As a variable in the ajax script that I have. All help is extremely appreciated, thanks for the help!",positive
253"Update: I've tried the Sun VM 1.5, 1.6 and JRockit VM 1.5 to make sure this network behaviour wasn't VM-specific.",neutral
254"I'm really glad it worked! Btw, the best way to show appreciation on Stack Overflow if someone helps to solve your problem is to upvote their answer and mark it as solved :)",positive
255"I have a javascript document.write function that returns a textarea value to a field like so: Now, I need the output of what is returned from the document.write part to be in BBCode output, so if the value fetched from the document.write function is [b]hello[/b], it returns ""hello"" not [b]hello[/b]. Any help would be extremely appreciated!",positive
256@wst It doesn't even have the decency to return the same map? That is really terrible.,negative
257"@Almo @trojanfoe yes it was a horrible syntax error, sorry guy's!",negative
258"Few things to make this work :Your classname FILE should start with a capital letter, Your config array must be defined as $config = array() (and not $var or any other name), Your config file must be lowercase.The config file is passed through the constructor, so class ($config=array()), you can then access and store the config variables on an instance variable. hope it helps: config file : good luck :)",positive
259Edited my post. Hope it helps; and feel free to keep asking questions!,positive
260"Is search and replace the only way to rename as asp control in the code behind file? I find this extremely annoying, but it is the only way I can find. Scenario: I'll find a variable that needs renaming (Usually to meet naming convention) I'll rename the variable in the aspx/ascx file. I'll have to go in the code behind files and search and replace. I get annoyed Are there any better ways - preferably that would not touch a similarly named variable in another scope in the project. I'm on VS2008 with resharper -- does VS2010 address this perhaps?",negative
261"At a guess, you're probably defining your objects in VB as just s, something like this: If so, you're forcing VB to go through the automation interface (IDispatch). Basically, it doesn't know what type you're going to assign to until run-time, so it has to invoke methods on that object via IDispatch::Invoke. To do that, it looks up all the information it needs for an invocation from the object itself at run time.By contrast, your C++ code is probably early-bound, which means offsets into the COM object's vtable are compiled directly into your code. In that case, when/if you change the code so those offsets aren't valid any more, the code will fail horribly.",neutral
262"Yes, removing the xp theming is a possible solution, but this is a customer application and the rest of the app uses xp themed buttons.",neutral
263Hibernate.initialize(),neutral
264"I am looking to have an embedded youtube video with several images below it that correspond to different youtube videos. I want to set it up so that when an image is clicked on, the video above changes to whichever video corresponds with the clicked image. An implementation of this can be seen here: I am trying to implement this into a wordpress site and I really only have skill in HTML and CSS. I would very greatly appreciate if someone could help me with the code for this!",positive
265"I've done some easy .hover(function() statement in jQuery. When i hover over a text i simply want a #div.fadeIn, and on non-hover fadeOut. It works. But it's just if i spam the text-trigger with hover and un-hoverring really quickly and then stop the animation begin to give a blinking effect. It just kind of loops, really annoying!",negative
266damn..thats what i was afraid of!!,negative
267"First: I like your approach of being concentrated on a clean and proper state handling of your application.Excellent! But, as you said: Android can kill activities and manage their lifecycle for itself. The OS may release memory allocated for your activity as soon as possible requiring you to allocate it again. This means your fragment may or may not get destroyed. As you can see in your stack trace, FragmentActivity.onCreate is called.This obviously inddicates your existing resources created within the context of the old activity are not access - able anymore. The only context that is guaranted to exist through your application lifecycle is the application context. For all other resources you should be aware and handle properly that created resources may be invalid at the time you are trying to access them.",positive
268"You could try this one (not optimal, I am afraid):",negative
269Why all the down votes?,negative
270"I'm working on a Data Warehouse which, in the end, will require me to create reports based on business hours. Currently, my time dimension is granular to the hour. I'm wondering if I should be modifying my Time dimension to include a bit field for ""business hour"" or should I be creating some sort of calculated measure for it on the analysis end? Any examples would be super magnificent?",neutral
271Are you referring to the D version?,neutral
272I was planning to use it with TFS.,neutral
273Never knew about VS macros. It's awesome!!! Just what I need in a couple scenarios. Thanks a lot,positive
274"Wow, you guys reply quickly! I'm having a hard time following up here :)",positive
275You have to created a new model for hold referral code. below are given model syntax. add These lines in your last lines your models.py Above mention line will create your user profile at the time of creating user.Hope this work for you!!!,positive
276"I just use following code right now. The table is MyISAM 90MB. terms has FULLTEXT INDEX and it is varchar(255). There are 1,000,000 rows on the table. I wonder if there is any solution which is more resource usage friendly than fulltext search on MySQL? Especially in terms of memory. By saying solution, I refer to any solution such as other types of databases, table structures etc. and if the solution would be adaptable to a standart VPS or hosting in general, it would be extremely super duper perfect! Thanks for your time!",positive
277"I am aware of question, but not to sure how to map it to my current situation. (Rebase is scary, undoing rebase is double scary!) I started out with several different feature branches of my master: I wanted to merge them all together and check they worked before merging back onto the top of master, so I did a: Then Which leaves me with Then I corrected some bits that didn't compile properly, and got the whole feature set to an acceptable state: My problem is that my colleagues tell me that we're not ready for FeatureA. Is there any way for me to keep all my work, but also revert to a situation where I can just rebase FeatureC on to Feature B?",negative
278"Also if someone could please let me know if my question is hard to understand, I will re-state. This is incredibly frustrating...suddenly my Stylus files are not compiling at all, and I have not changed any code.",negative
279"I've been reading about MVC design for a while now and it seems officially the View calls objects and methods in the Model, builds and outputs a view. I think this is mainly wrong. The Controller should act and retrieve/update objects inside the Model, select an appropriate View and pass the information to it so it may display. Only crude and rudiementary PHP variables/simple if statements should appear inside the View. If the View gets the information it needs to display from the Model, surely there will be a lot of PHP inside the View -- completely violating the point of seperating presentation logic.",negative
280that's great too! awesome. thank you!,positive
281Link works fine!,positive
282"If you are on 11g you are in Luck :-) you can Use SELECT FOR UPDATE SKIP LOCKED in the Cursor - then you are guaranteed that two threads will never get the same row on a fetch!The RIGHT WAY to do this in Oracle would be Advanced Queueing - since this will solve ALL YOUR PROBLEMS, provides synchronization und parallel execution and other benefits...Before Oracle 11 and without Advanced Queuing (if you really want to code it yourself...) You can do it like this:(The bits marked with autonomous transaction have to be called in a separate method as an autonomous transaction. If the Update returns 0 Rows it can either be because the table is empty, or because two threads accessed the same row. - So we need a separate ending condition counting available rows.",positive
283Here is the new link: http://jsfiddle.net/qor1r0a4/2/,neutral
284"I'm afraid not, I ended up just removing some of the deeper folders to work around the issue - not ideal!",negative
285Official guide says: Tomcat deployment is trivial and requires copying the WAR file into the TOMCAT_HOME/webapps folder and restarting the container. But this is really painful :-( Does there any way to deploy app without restarting Tomcat ?,negative
286"I've added to my answer to show a ""code once and still be scalable"" way of defining your font sizes. Good luck with your project!",positive
287"found a solution, would still love to see alternatives!",positive
288WOW people THANK YOU SO MUCH FOR YOUR ANSWERS!!!! (bow),positive
289"Wow! Actually, that's nearly what @MarkSeemann wrote, but in code :) Hope that helps.",positive
290"I've updated the fiddle. I had to use classes to get it to work, so its not 100% perfect imo.",negative
291"In my mental model of authentication, a user should be distinct from the way they log in. So for example, a User could have an associated EmailLogin (with an email/password), or they could have many (or none). Similarly they could have 0..* associated OpenIDLogin credentials. Are there any existing authentication libraries for Rails which use this method? Alternatively, is this a really terrible idea?",neutral
292I used multiple requests - batches of 10. I don't want to anger the Api!,negative
293"A generic ""Sum"" method would be a simple example. T Sum(IEnumerable sequence)",neutral
294I stumbled upon this site and really loved the way they have done the navigation on the left hand site. I noticed that site is using jquery but didnt see any plugins. Any ideas on how to go about doing this?,positive
295its a very weird behaviour!,neutral
296Why am i using over 80% CPU when just hovering some links? As you can see in the video i uploaded: the CPU goes to >80% CPU when i move my mouse over the links. My style for the items are as follows Why?,negative
297"I just wrote this function, so there are no versions to speak of... I'm afraid I'm not very faimiliar with mapping!",negative
298"I'm a novice programmer who is attempting assembly for the first time. Sorry in advance if this is an incredibly lame question. I have a character stored in the EAX register, but I need to move it to my DL register. When I try: mov dl, eax I get an error C2443: operand size conflict. I know that the eax register is 32 bit while the dl is 8 bit... am I on to something?? How do I go about solving this.",negative
299updated the answer. This might help you! Great! then you might want to edit the java program and have the permission specified while the folder is created did you try chmod with 777 permission via terminal or php?,positive
300"jQuery version 1.2.6. The site is ASP.NET MVC, but that should be irrelevant.",neutral
301"Oh. That's really sad. So It would be only plane menu options with white background., is it?",negative
302"I have no clue if this approach would be feasible or not, but then there are two things you could try:1.Create a singleton class where you and the arraylist. The class might look like this: To access the list you could write: is the name of the getter method and before getting it set it. Else you might get .Also a receiver might start before the list is filled. So always check for null before you use it.2.The other option is you store the list in a cache object like Check for even in this case in the broadcast receiver before using it.Hope that helps!",positive
303You need to or if you target Windows Phone 8.1.And port you code to DirectX 11 the call is . It will be painful! You will still use this feature level.,negative
304"The problem here is that you already stringified the response as JSON before passing that into another data structure (now as a string) in order to return that as JSON. So you are basically doing a double encode and the ""string"" gets encoded.So just pass in the data once: So on a small collection like this: Yo get a result like this: If you are really worried about the order of those two keys then you can use the bson ""dumps"" to go to a string then decode with the standard json decoder in order to get a native dict with the Mongo objects deserialized, then further put into your ordered dict.But really your client should not care about the order of the keys and just expect those root elements.",neutral
305"The plan of making a mum/dad accessible UpgradeYourBrowser page was growing for me the last few days, but now caffeine and this bug just filled me with angry rage (the green kind)",negative
306"The problem is in 'third integer' variable, missing the underscore. see my code: http://jsfiddle.net/Magicianred/3k5tS/Enjoy your code!Simone",neutral
307"I am having my site hosted in Bluehost server. I have been working with the Allvideos Plugin to have the video inside article content. When i try to upload my video my filename.flv in the folder/images/stories/videos/ , i am getting the error as Business Agility_VS.flv: unknown Bytes: 0% Complete FAILED! :Unknown error or disk quota exceeded. What may be the problem in this?? Even i have increased the size of the destination folder. But still i am getting this error. Why i am getting the Unknown Bytes error.",negative
308"You have at wrong place, that must be in element, so You should try like : Referred from Here Hope it will help you!",positive
309"I really hate Jquery, your code looks as if you are looking forward to publishing your project finalized with Jquery..Anyhow.. if your looking to replace the jquery selector $("""") with a function you should know that the function requires that it returns a DOM element. otherwise an error will be flagged and java script with abort.",negative
310"Awesome!!! I changed to include the ""/"" at beginning and it worked!! was that why it was not matching the app.yaml handlers ?",positive
311No I just need to perform an action whenever a button in that column is clicked.,neutral
312That really stinks! I was afraid of that...,negative
313I know that there is a Item.RoleAssignments.Remove command but I have not found a way to list out all the current assigned groups so I could loop through and remove them. Hope this helps you guys!,positive
314"Oops! Yeah, that was just radio functionality heh. It turns out this isn't as straightforward as I thought. Give me a few minutes and I think I can fix it.",positive
315In Rails the ids are assigned by the database using a sequence or autoincrement integer field type.,neutral
316Great! I Will take a look later. Cheers.,positive
317"I have just read and I really loved to the question. Naturally, an interesting question popped in my head... How to add my own events (of my own applications) in the Control Panel -> Sounds and Audio Devices -> Sounds -> Program Events? And another related question, that I suppose should be answered here as well is... How do I play those sounds specified in the Control Panel, when the event in my application occurs?",positive
318Then I can suggest you to use go through advanced search form php tutorial or use the WP plugins.,neutral
319"Ah man, my changes did not save. JSFiddle was lagging terribly for me so I'm not suprised -- sorry!",negative
320"that's sad:-( I don't need it for debugging, I need it for other purpose.",negative
321"I have an old friend who is a mathematician. He has his own math to compress his formulas, which are incredibly beautiful. He works in a program called Mathematica, which transforms the formulas for 3D-shapes. I wonder if it is possible to obtain these figures using Canvas and JavaScript? See attached formula and figure. I know little of this myself. But I would be delighted if some one could show me an example.",positive
322I running an exe from a .NET app and trying to redirect standard out to a streamreader. The problem is that when I do myprocess.exe >> out.txt out.txt is close to 14mb. When I do the command line version it is very fast but when I run the process from my csharp app it is excruciatingly slow because I believe the default streamreader flushes every 4096 bytes. Is there a way to change the default stream reader for the Process object?,neutral
323"SORRY! had some syntax issue, i fixed it and it works now...what should i do with the question?",negative
324"The function is extremely annoying because it uses a prototype or something insane like that. You'd have to do an ampersand-call to override the prototype: .However, you are trying to transpose the matrix, not to it (which would produce a continuous list like We could use an iterator in conjunction with : which works, but this is severely overthinking the problem. Let's just swap indices:",negative
325"What is the problem? Create additional page and add it to WP, insert code there, and make an output page whatever you want. If you know PHP it will take you 15 min.",positive
326"I would just use an @import command at the top of my CSS file, then you can simply add a new font by adding a pipeline to the end of the font and type the name of any other fonts you want. To use them, simply use the CSS font-family style command: HTML Hope this helped!",positive
327"Hope it works, if you can upvote my answer I'd really appreciate it! :)",positive
328"I found an excellent tutorial on how to create site columns and content types - here : (THANKS AGAIN ROB!) Does anyone know of a written or video tutorial that will explain how to create a list and list instance in MOSS 2007. I use WSP Builder, and the build in templates from Microsoft aren't compatible (or up to the task). Preferably a method that focuses on the CAML (xml) , and explains in detail the theory, and demonstrates how it is done. Thank you.",positive
329"Thanks all , that was really interesting :)",positive
330"Sure play around it, WP is easy it will just take a bit of time to get used to the structure .",positive
331Then you should be more specified in asking the question. You confused me..,negative
332"Added bounty to see if I can get a full answer (ideally: the code snippet that, when added above, answers the question).",neutral
333Please take a look at WP Codex: http://codex.wordpress.org/Page_Templates,neutral
334i get it! i guess you are right,positive
335"I can point what you should do then: 1. create script.php and clean all input variables from search page. 2. connect to the database and make a select statement "".. WHERE grad = '$grad' .. 3. protect your form from mysql injection.",neutral
336That is great news!,positive
337"You are very welcome! Learn programming, it's a lot of fun!",positive
338I added an example of how to use the wrapText function. Good luck with your project!,positive
339"(I'm assuming you don't have a DMR.)There is no easy/clean way to do this in Cognos. In your query, you'll have to build a calculation for each year in your output. So, something like this for 2013: And basically the same for 2014.Cut the Trans piece out of your crossab. Then you'll nest those two calcs under your years. To get rid of all the zeroes or nulls, select the two columns. From the menu, select , , .Finally, you will drop a calc in next to your Years in the crosstab (not under them). The expression will be (or whatever you end up naming your calcs). Format it as a percent, and you should be good to go.Told you it was a pain!",neutral
340"Great article 0xced, thanks!",positive
341"Sorry -- Current output is raw HTML as far as I know. I'll double check that, though. Warren -- I suppose that is what I'll have to do. Looks quite scary, though!",negative
342"If you read the FB.init documentation, there are some parameters that can be used while defining . One of the parameter is which- Determines whether XFBML tags used by social plugins are parsed, and therefore whether the plugins are rendered or not. Defaults to false.You said that in case of pure javascript the like plugin worked that's beacause you must have set to . To get your jquery code to work simply define this paramter to true which is false by default- and it shall work. Good luck!",positive
343No worries and good luck with it! ;),positive
344"Enumerating all partitions of a set is . Now, all permutations of all partitions of a set will be , although the example is a bit artificial. Now, to come up with a useful algorithm it's a totally different story. I am not aware of any such algorithm, and in any case its scaling will be absolutely awful.",negative
345"A couple of issues with your code that may be causing the problem is as follows:Do not EVER escape binary data prior to insertionInserting binary data from an upload into the database is a huge no-no. This can inadvertently lead to some very malicious attacks on your server that extend beyond simple SQL injection.That being said, it is not know what the field type is that you are trying to store into, nor how large the image file is. Storing a 2GB upload as a field in a database is probably not a wise idea, but if you wanted to store large images, it is recommended to stream the data into a BLOB field.For smaller files, you can them safely into fields or if allocated enough space.",neutral
346"SVG transform on text attribute works excellent! This snippet, for example, will increase your text by 2x at Y-axis.",positive
347Excellent! This is exactly what I needed. Thanks!,positive
348Have added a modern solution as of May 2014 in answers below.,neutral
349Have you tried removing 'preload' attribute? (Afraid I can't be much help otherwise!),negative
350"A smarter, entirely C++-way of doing what you want is using . Especially helps you to accomplish what you want. Please see the excellent about how to use it!",neutral
351"Ok, I find the reason: device won't answer to simple user (and doesn't matter what permissions did you ask in program manifest). You can directly speak to device only if you are root (or from kernel mode). That means you cannot use devices directly from general applications. Very sad :(",negative
352What about Signed zero. -0.0 vs Unsigned zero 0.0,neutral
353"The TIFF file can store various image types: Bilevel (B/W) Grayscale Palette-color RGB full-color The storing of actual image data is done differently for each image type. The is not the scariest I have seen, but it is definitely not trivial!",neutral
354"Excellent tips, thanks! Additionally you can try Clarity",positive
355Try altering the request to include .,neutral
356I am unable keep selection after locking model of grid. My code is as below.,neutral
357Excellent! Works exactly like I wanted. Thanks.,positive
358"Hi I'm using the chrome inspector (F12) to try and analyze the z-index of a twitter bootstrap popover, and finding it extremely frustrating... Is there a way to freeze the popover (while shown) so that I can assess and modify the associated CSS? Placing a fixed 'hover' on the associated link does not cause the popover to appear.",negative
359@VitoshKa Excellent! Wish I could give you another up vote for th update,positive
360"I am working with Eclipse (Indigo) to develop C projects. When I create a new C project in a new workspace, by default the ""Autosave before build"" option is not set. This is extremely frustrating, as autosave is usually the default behavior in other IDE's I worked on. I change some code, build and nothing seems to go as expected - until I remember that the option is not set... Is there a way to make Eclipse open a new workspace with this option set?",negative
361Great time saver and hidden gem. Excellent!,positive
362I have hit this too. No solution as yet. This is very worrying though!,negative
363TRUNCATE_ONLY option on log backup is discontinued in SQL 2008.,neutral
364"Guy's I am at my wit's end. I've got a VPS that I'm mucking around on, so nothing is important, but nginx is being a complete pain. I've deleted all of the content inside and restarted. Visting the ip of the server simply results in a page with one word on it: I just don't get it. Is this normal nginx behaviour? I've deleted the entire conf file and restarted, so why is this happening?",negative
365You can register any serializable type with the clipboard provider:,neutral
366Shoulld be:,neutral
367"Firstly, that's not how works. You have to specify constants for each , and those constants will be compared to the expression in parentheses (in your case, ). That is how works, period. Secondly, switch is not faster than several s And thirdly, you shouldn't really worry about miniscule performance optimizations when you're dealing with javascript.",neutral
368"Compare these two methods: Aside from the method signatures (bar can declare instead of ), is there any practical difference between the two methods? To be clear: I'm aware that this is a horrible approach to exception handling, and should not be done!",negative
369Excellent article! Very useful :),positive
370You are just too quick...you scooped my answer,neutral
371This is one of the shortcomings of DGV that I absolutely hate and why I almost always bind to an IEnumerable of an anonymous type.,negative
372Your are really violating the idea of TDD if your code if doing something different for the Test. Why do you only need to change it inside the test?,negative
373FEAR!!!!!!!!!!!,negative
374How to get button Clicked for single time or Long press on it clicked event?,neutral
375"I've re-read my comment, and it says what I meant it to say.",neutral
376@Oded thank you this tool is very great!,positive
377"A simple Google search would suffice for this question. All are excellent resources (and the top three Google links!). Essentially, there's a new API which allows JS to request fullscreen access. That's about it.",neutral
378put your path and your shadow in a set. apply your animation to the set and it'll affect both. a really terrible example where I move both at once.,negative
379"Yep I've been testing some stuff recently under Safari 5.1.5 (WinXP) recently and when you have elements with tabindex=""0"", all the elements EXCEPT links ( with ""href"" defined) are focusable. By all elements, I mean s, s etc. It's absolutely amazing for me from the accessibility point of view!",positive
380Still printed but had that dreaded extra page! -_-,negative
381I started to be thrilled only to find out that the example is ascii art!,positive
382"Here is the good example of getting twitter-like UI for ipad app. , its really awesome!!!!! It provides : cascade views orientation support bouncing effect",positive
383"Excellent answer, thanks! Wish I could give you more points.",positive
384"I have developed a cumulative sum function as defined below in the Haskell library Repa. However, I have run into an issue when combining this function with the transpose operation. All 3 of the following operations take well under a second: However, if I write: performance degrades horrendously. While each individual operation in isolation takes well under a second on a 1920x1080 image, when combined they now take 30+ seconds... Any ideas on what could be causing this? My gut tells me it has something to do with delayed arrays, not forcing at the right time, etc... But I do not have enough experience to track this down quite yet.",negative
385"@Mario I disagree, while the answer is outrageously awful, it's still an answer.",negative
386No worries Stephen!,positive
387"The following program prints 0, not std::string::npos as I expected. Why?",neutral
388"If I have a setup project in a VS 2010 solution and I add/remove another project, or unload/reload another project any setup projects in the solution are expanded in the solution explorer. It only does this for setup projects and it is extremely annoying. Is there any way to disable this behaviour?",negative
389sounds like desirable behaviour to me! How do you make it do that again?!?,positive
390"I appreciate your warm welcome, I never seen such a warm regard here for trying to be helpful, it was a really pleasant introduction and I want to thank you for taking your time to write - at last the end of the questions reads ""If anyone has any ideas I would be extremely grateful!""",positive
391Excellent point! Thanks!! I did mean just the left side though.. (I should have specified that). Was glad to learn your insight though..,positive
392"This is really great question - well organised and explained, nicely done!",positive
393Thanks. That was a really great pointer!,positive
394"Excellent, this works perfectly! Thank you :)",positive
395"Excellent, Thanks!",positive
396@MikeChristensen that's horrible :| and weird!!,negative
397I would not go the gdi route... Have you considered using wpf?,neutral
398Can you give us some more code?,neutral
399Is it possible to pass 3 parameters into a selenium command via IDE? e.g.,neutral
400Can't find any manual about changing width of taglist element size. Taglist element is wider than icons I had set. It looks really awful =( Screenshot:,negative
401"My guess is that you would have to extend the classes for DataTip, to check for NULL hitData objects, to kill/stop the drawing of the display. I do not think there is a way to do that normally in FLEX. You would have to customize and override the hitData class unfortunately. What a pain!!",negative
402excellent solution is in subclass UITextView add lines It's work!,positive
403Use to insert data from another table,neutral
404"Ahhh! I just made num_rows work (even though I don't need it, as you pointed out) because of your indirect help! Thanks you sweetheart!",positive
405Including an external jsp page as an innerHtml from a javascript function,neutral
406"By the way, I agree with Henrik P. Hessel. This is a very horrible piece of code.",negative
407"Maybe you can post the relevant code snippet? Regards, tamberg",neutral
408I'm getting a 404 when I try to check that link... do you need to edit the html?,neutral
409"I had a memory crash on UIGraphicsGetImageFromCurrentImageContext() ... if you're creating and releasing a lot of them, you should wrap them in a fresh AutoReleasePool for each iteration. Even allowing the NSRunLoop to tick WAS NOT ENOUGH for Apple/iOS to do housekeeping on garbage lying around from this. e.g.",negative
410Stu Nicholls's site has a lot of examples of how to do this without javascript. It's a really excellent resource.,positive
411"i am currently having some difficulties trying converting a Unicode character string (DT_WSTR) into an INT this is what i have (Note most writings are in German, but i think someone who has worked with SSIS will unterstand anyways) Data Type selected: A four-byte, unsigned integer.but all it does is fail terribly",negative
412yes it does it in IE8 as well. Very annoying !,negative
413"I m really excited to know that html 5 has in build support for audio and video playback( I know its old news but I just woke up ! :P) . What is even more exciting is that it can play local audio/video files in matters of some click. I had a look at this , could not find any offline video player. my question is why is that people are not developing an offline media player which could just be loaded form a website ? are there some issues ? Thanks",positive
414There's an excellent series of posts on execution plans and how to read and interpret them - and a totally free e-book on the topic as well! - on the excellent Simple-Talk site. Check them out - well worth the time!,positive
415"Yes, you need two view controllers. Check out lesson 7 from Stanfords CS193P iPhone Application Programming course. It is available online. Both slides and the lecture through iTunes U. I really enjoyed watching the course!",positive
416"Out of all that pseudocode, the only thing that really worries me is ""extracts code samples from file"". Reading files from a directory is trivial, saving a file is trivial. Regardless of the test framework I'd spend most of my time focusing on the parsing bit. For direct testing, I'd embed the snippets directly into the test case: Ah, I see another change I subtly made while writing the test: my ExamplesToCode.parse() returns an Array (or other iterable container), so that it can be tested apart from the iteration itself.",negative
417no worries! it happens all the time.,positive
418"Excellent, thank you!",positive
419as you can see folks hate spending time giving details on bad advice!,negative
420"We can do this quite neatly using numpy, without having to worry about the channels at all! output: input:",neutral
421Answer coming late. But anyway ... here goes: If it's indeed PIC S9(9) COMP and not COMP-3 then it's not a 'sinister' COBOL packed field but a simple 4 byte integer!,neutral
422A simple width would do: And the css:,neutral
423sounds scary !!,negative
424"I ended up using , which met all my needs and is (IMO) very excellent.",positive
425Back in the day I had to solve this with a panel where the text box is a component inside and had DockPadding set to 3 or 4 pixels. I'd then style that panel to a single pixel. I always found this really annoying!,negative
426"the two are not mutually exclusive, archmage.",negative
427"That was ""I totally agree... """,neutral
428+1 for code sample,neutral
429Wow great answer and very quick!. Explained everything.,positive
430"Excellent, injekt!!! Loved the way you answered.",positive
431Absolutely. Don't be afraid to just try stuff out!,positive
432@sll: Not True... See my Edit,neutral
433That's what I thought...but I'm terrible with C. Absolutely terrible.,negative
434That's really sad...,negative
435There is a particularly efficient algorithm using de Bruijn sequences described on Sean Eron Anderson's excellent page: It works in 13 operations without branching!,positive
436If I delete this question will it increase my reputation? 5 down votes it really sad.,negative
437Pragmatic approach: See other answers for excellent backgrounders!,neutral
438"Loving Susy, so far! Now I'd like this initial layout... ... to turn into this layout on a smaller screen: Is this possible using Susy? Furthermore, I'd want the AC-column to function as a single entity when they're in the same column, since I'd like to give them sticky behavior.",positive
439"hi, it needs to be server side, no javascript",neutral
440Take a look at DateTime.ParseExact to turn the string into a date and then use them as regular DateTime ranges. The regex will be awful if possible!!,negative
441this is a bisection root method,neutral
442Are there any reference guides or tutorials for writing a MIPS assembler?,neutral
443"Too many `""`. You need: ``",neutral
444The question is tagged winforms,neutral
445"I was too pithy. I should have said, ""The Loudness Wars Killed Music.""",neutral
446How can I increase Java heap size for Carrot2 Document Clustering Workbench?,neutral
447Shameeeee on me!!!,negative
448I need from document object or from a DOM element (i.e. a DIV) to know which is its window object. In Firefox I can do: but obviously in that AWFUL browser that statement not work!!!,negative
449"Don't rely on Lucene to strip them, do it yourself.",neutral
450Why the following code (1) does not give me the following output (2) (1) (2),neutral
451How can i extract data from a 2d array.. e and b are indexes of the array,neutral
452I have a fairly large codebase with several directories and files and I would like to check out a view or have a view as of a given date (Septermber 12th). I am manually checking file histories and doing and this is extremely painful. I wonder if there is a way to do a checkout and load everything as of a particular day at once?,negative
453You might want to look into JAXB. If you have a defined XML schema it will automatically create java classes that will easily allow you to 'marshal' (move data from java -> XML) and much much more. It's incredibly useful!,positive
454Using a Inside the delegate for the TextField.TextChanged put this:,neutral
455No worries! IE11 does a poor job of emulating other browser versions.,positive
456"Well I'm kind of new with magento, and at work they ask me to do a group of products that they will be put in discount, so I created a category sales where I can link the products and put them in sale, so this is working perfectly, but the ask me to put dates in the products so the web master can put dates where the products will be shown between dates, so now I have no idea how to do this. I really hope you guys can help me thanks so much!",positive
457I've discovered that my Python code is a lot flatter than my C++ code. Don't know why.,negative
458"After I changed my windows regional setting from my native language to USA, the problem has gone. Do not forget to restart Visual Studio. really annoying problem !",negative
459Are the schemas identical other than datatype?,neutral
460my pleasure :) :),positive
461"Related: Doug Lea put this up last week, pretty awesome!",positive
462Just do it:,neutral
463Felix Geisendörfer from Debuggable has some really excellent examples of how to utilize Set::extract to get multiple values from various nested data structures,neutral
464Do need this for existing documents or generated on fly ones?,neutral
465You can try the (very) comprehensive jeff's OR go with this simple workaround: And then declare the attribute as an integer: This worked very fine for me! =D,positive
466You can use with an existing profile:,neutral
467"I've been having a spam problem on my site, where people sign up and act extremely abusive to other users of my site. I can easy IP ban them, except they always come back under a different IP address through a proxy or TOR. So I was curious if there are any php classes or functions that can look up the IP and determine if its a genuine user, or someone behind a proxy, in which case it would muzzle their accounts upon registration.",neutral
468could you show the part of code where the order gets changed?,neutral
469"In my graph each node has a name and graph is actually a tree, so there exists a . Here's the query I currently use to get the path: An actual query is somewhat heavier, but the behavior is the same. So, having a path I will get . I don't mind trimming the last , but I'm really worried about the order of the nodes iterator returned by . So, my question is mainly targeting neo4j team - are there any guarantees as to the order? Would it be better is I just returned and then manually extracted each property? I'm using Cypher with an embedded neo4j distribution, so that won't be a problem.",negative
470This would introduce scaling artifacts and might look extremely ugly.,negative
471It's impossible to receive unicast UDP packets in Silverlight (rage!!!).,negative
472"Not that I recommend this, but totally abusing LINQ the following would work:",neutral
473"yeah, compiled, but output is so horrible !!!",negative
474Does anyone know how to enable locking on a TreePanel column in ExtJS 4.1.1?,neutral
475"Is there any simple way to test that an installation of report viewer redistributable 2008 is working properly? I've been tasked with making sure this piece of software is functioning correctly, but given no further instructions. How would I go about testing this? .NET tools aren't what I've normally used, so I'm at a complete loss here!",negative
476"Working on providing source code now, and no. Infact Chrome seems to suffer the least!",neutral
477"And sometimes, if the system is hanging, keyboard might be the only way..",neutral
478"Is it possible to get a visitor flow associated with a given ga:transactionId through the Google Analytics API? There's limited availability in ga:landingPagePath, ga:secondPagePath, ga:exitPagePath and ga:pageDepth but a more complete path would be desirable Thanks!",neutral
479I agree with this. For *non-essential services* increasing timeouts is incredibly frustrating.,negative
480"There's an error here: $r3 only has one result column (which you haven't given a name). Are you sure you are using the correct variable because there's no way that your code should work as you have posted it. Also your variable naming is really awful. Use meaningful names instead of , , etc...",negative
481Can you point to the part of the HTTP caching spec that says this?,neutral
482Is there any reason you can't give the list a specified width?,neutral
483"OK, then, no solution that going DB mysql... so sad ! :-( i will close the question !",negative
484"@Aggieboy that's really sad, and I have to hand-code stuff .",negative
485"The 0x1A byte is a terrible, painful [source of agony](http://stackoverflow.com/questions/12483711/serialdata-eof-circumstances).",negative
486This does seem to be the answer. Absolutely terrible API design.,negative
487What's a 'LinkControl'? I'm aware of LinkButton and HyperLink.,neutral
488"""in the second instance run the designer, and the breakpoint will fire""...does not fire...",negative
489That is awful advice! I don't mean to be overtly mean but I lolled.,negative
490"So, which solution did you go for in the end?",neutral
491"Oh, absolutely horrible practice. But still the answer he was looking for.",negative
492"The link works for me. That is a pretty awesome testing class! Thanks Andrew. I think I am going to convert and use that in my Silverlight project. Thanks for the tip about Caliburn, Josh G. I'll have a look at that too! :)",positive
493"Effective, but what a pain! You'd think there'd be an easier way.",negative
494"C++ isn't dying, but most of its strengths only shine in niche markets.",neutral
495"Putting data in the ID is a terrible, terrible idea.",negative
496Absolutely: Jersey is The Thing to use for JSON-based/aware web services.,neutral
497This only works if the compiler switch AssignableConsts is turned on,neutral
498AutoHyperlinks (https://bitbucket.org/sholt/autohyperlinks2/overview) is a pretty excellent library for this purpose.,positive
499Excellent! Exactly what I needed :),positive
500@david-b why do you said not to let the db concat the strings?,neutral
501I solved this need by using . I am able to route calls from Edge to my local machine. Absolutely love ngork! :-),positive
502do you have access to Visual Studio Team Edition for Testers?,neutral
503@Andremoniy this is an excellent idea! But what if this is legacy code?,positive
504Horray for Android!,positive
505"avoid the auto method, to apply by hand is such painful :(",negative
506This is should be the selected answer,neutral
507Comments should be not since we don't want this code to be shown to the user,neutral
508You must be a sad sad person...,negative
509Excellent tool! Thanks for making it available.,positive
510worked for me too..,neutral
511"Somewhat new to OOP (i.e. C programmer converting to C++) and cannot figure out why my data members in my backpack class are empty. I make pass an array of potions to my backpack, yet the data members are saying mType = """" (i.e. nothing). I have never felt this lost in a program before. Starting to hate OOP (i.e. kidding...but this extremely frustrating). main.cpp potion.cpp backpack.cpp",negative
512Excellent ! You just gave me a lesson :),positive
513Have you tried logging the uninstall to see what is happening?,neutral
514"I am not sure if it does, I will check into that. That may be the solution I need.",neutral
515"If string object allocations worry you, then you should precompile the regular expression!",neutral
516"Tools -> Options -> Projects & Solutions -> Build and Run ""On Run, when projects are out of date:"" Select ""Always Build"" That's it, had it myself, extremely annoying.",negative
517"I got to this question via the Almighty Google. To complement on what Andrew said above, for those of you on OSX you might want to take a peek at /Applications/MacVim.app/Contents/Resources/vim/runtime/indent/html.vim and the modifications necessary should become evident. I can't believe I spent so much time suffering from poorly indented <li>s!",negative
518"excellent, thanks to both of you!",positive
519"No, n % 7 + 1 actually returns n + 1 unless n == 7 in which case it returns 1.",neutral
520You're missing a . on your class selectors: should be and should be,neutral
521"Excellent hint! I was using scrollTo(0,0) and it was doing nothing",positive
522Excellent answer to a very general question ! :-),positive
523To stop it:,neutral
524"From my experiences so far, I've concluded that the HTML5 Manifest scheme was really terribly designed. My site serves a manifest file when a user is logged in. Unfortunately, when they log out, they can still access the cached protected materials. Can anyone think of a way to fix this?",negative
525how to add SelectedIndexChanged event for DropDownList in SharePoint2010?,neutral
526Tried it again - it worked. God I hate reporting services!,negative
527Someone is scared to tell the reason of -1 !,negative
528"Well, you are really brave! Implementing a Linq provider all be yourself...",positive
529The answer was devastatingly simple in this case. For some reason windows uses localhost as opposed to 0.0.0.0. So although it says standing watch at 0.0.0.0:4567 it is actually standing watch at localhost:4567 . You should be able to navigate to this page and see your middleman build.,neutral
530"Although, using this outside testing is a horrible, horrible idea...",negative
531I would checkout . It has great reviews on Amazon and the Head First book series are really terrific and engaging.,positive
532http://msdn.microsoft.com/en-us/library/ms678505(VS.85).aspx,neutral
533"i have a botton which is for changing the background image with jquery, as the following code shows it works very fine! but i want to fade in the newbg-image... is it possible to add a jquery fade method to it. Any help would be very appreciated. Thanks Ted",positive
534You mean I can use LINQ as the data provider for my whole app?,neutral
535I see the outcome: A's do work whats the things you are expecting ?,neutral
536"Can I fix the width and the height of jQueryMobile dialog? Currently, the size of width is 100% which is really awful in iPad.",negative
537Why does serialization require a serial version UID in implemented class?,neutral
538"I have this regex And i really need it in a vba version for words .find method (don't need the matching-groups), here is what i have so far But i cant get the last part to work, here I'm talking about I really hope someone can help me, as regex in this case is not an option (Although i know i can use regex in VBA!) Cheers",positive
539Url points to a tesco advert,neutral
540If you want to search give Red Gate's excellent tool a try (its free!) but it's only for SQL Server though.,positive
541"Maybe someone knows how to disable content assist only on 'else' keyword when working with PHP source editor in Aptana? As I really, really hate it with this keyword, because after newest release it's really messing with my workflow as after entering 'else' and pressing enter it replaces it with: and sometimes it decides to get rid of indents completely. Mind you I don't want to disable content assist completely, I just want to disable it for 'else' keyword.",negative
542"If you really worry about the performance, divide the page content into separate section and run the search process parallel !!!",neutral
543Check out Bruce Dunwiddie's excellent class. It provides really excellent information in the exception messages when you have this kind of mapping issue.,positive
544"I have just started using Vim in a terminal (PuTTY or MinTTY), after always using gVim. However, when using syntax highlighting, rather than the actual text colour changing appropriately, its background is changed to whatever colour -- and it looks horrible! I've set my terminal to use 256 colours and downloaded a 256 colour colour scheme. I checked that the and settings are as I expect, but I still get this problem... Is this a Vim or a terminal configuration issue?",negative
545You should really check out this plugin: I have been using it for about 10 sites and it's really great! Since the latest update it's posible to export your custom fields to a PHP file which you can include your functions.php,positive
546"oh ok...I forgot php considered empty strings as FALSe, though it was just 0 and null",neutral
547it really does crash my vm,neutral
548Use . Example shown in this question:,neutral
549have edited my answer to include the bitdepth,neutral
550"Excellent, I'm glad that worked for you!",positive
551"+1. I do this in several querying libs, especially the ones that flow through to web services.",neutral
552What is your current function?,neutral
553Which language and/or regex engine is it for?,neutral
554"Yup because I am doing a search, unless you know another way.",neutral
555"Well, I was using the setControlValueToUpperCase() method too soon it seems. So changing my keydown first if statement to fixed my issue. Horray Me!!",positive
556For example: How would I go about summing the cost of items? (so I'd get 60),neutral
557"I am developing a web page which embedded a ""Google maps"" view. In this web page, the user must specify several positions on the maps At this time, I am able to spread the balloons on the map displayed when the user click on a button to be dragged, but according to the zoom it can be very painful to zoom in and out to drag the balloon to a place. I would like to know if it could be possible to have a panel with all balloons to drag/drop on the map? My current development : My target :",negative
558Talking about feelings.. I really hate the asp.net CalendarExtender..,negative
559+1 excellent!..,positive
560Excellent! Exactly what I was looking for. Thanks.,positive
561Is there a convenient way to check if a directory is empty using MSBuild?,neutral
562There is a free ebook that microsoft released about windows phone developement. Its extremely useful and It could probably answer this and many other questions you might have! you can download the book from this website:,positive
563"you actually can use HTML5 tech to apply on that beside, you can use a gem 'client-side validation' the github is here I suggest you use the gem...pretty awesome :D",positive
564What's the expected vs resulting behaviour? More info needed.,neutral
565You can define an External. and a little more on the how-to side...,neutral
566DELETE command doesn't work with JOIN,neutral
567Horribly inefficient! It re-encodes the image each time. Try this instead.,negative
568"You have to be excruciatingly careful when there are spaces in the path names. In the context, you probably need: You don't need quotes around the variable this time.",neutral
569"I am using 'simpLESS' program to compile my .less files into .css files on the fly. It is really great! However, after using it only for couple of days, 'simpLESS' stopped copiling the .less into .css files. I have tried to reinstall, redownload and then reinstall, tried other directories, other .less files, tried recompiling manuall - but nothing works. Has anyone experienced this? Thanks!",positive
570"Oh, this was was a pain! I probably lost 2 hours on this. Here is the solution: CMake uses short 'C' applications to test/try things. If the CMakeLists.txt states that C++ is used for the project, without also listing C, then some of those shorts tests incorrectly fail, and cmake then thinks those things aren't found. The solution was to change the first line of CMakeLists from this: ...to include C as a language: Then delete , recreate it, and everything then works:",negative
571"In your code, strip out the stop words. You'll have to maintain your own list.",neutral
572Im afraid you cant do that!!!,neutral
573"I would've answered StackOverflow, but it's not open-source :)",neutral
574We are now 2 years after migrating to TFS. Just upgraded to 2013. The team absolutely love it and can't even think about the old svn days!,positive
575Welcome :) :) :),positive
576"I am building the Android OS on Mac OSX (Lion), and Eclipse as an IDE. I am trying to understand certain parts of the OS however this requires performing many searches throughout the project. These searches take 5 or 10 minutes on Eclipse, and the way they are presented is also extremely annoying. Also, I need a separate editor to open up the native files found in the OS, since if they are opened in Eclipse there is no color coding of the C++ syntax. I feel that Eclipse is really slowing me down - can anyone suggest a better IDE for browsing the Android OS (preferably free)?",negative
577"I recently worked on a product that was targeted to .NET 3.5. Out of hundreds of beta testers, I can probably count on one hand the number that already had .NET 3.5. The rest had to sit through the absolutely painful .NET 3.5 install from microsoft (~30 minutes, and most of the time the progress bar stays near 0 so people think it is broken).",negative
578What are you trying to generate specifically?,neutral
579+1 for makeself. I totally loved that. :),positive
580Test code: How do I remove the whitespaces before storing it into the array?,neutral
581"I wish I'd have found this question yesterday, as it has been causing me grief for hours! Surely this is a bug with the emulator?",negative
582"Thank you @Ward! We're loving how easy it is to create the GUI with Breeze! If can just work out this part, we will have a great solution!",positive
583"Yeah I agree, I use igoogle to read all the news at one place, check my gmail, gcalender, etc.",neutral
584Thanks so much for the excellent answers! All answers worked beautifully.,positive
585Wow! It is really great answer! So helpful! Thank you very much!,positive
586"+1, @this is better than the accepted answer",neutral
587FYI: I happen to be on Tomcat 5.5.17,neutral
588It seems they are two names for the same idea– is there any difference?,neutral
589Don't rely too much on cplusplus.com,neutral
590"The search bots don't care about hash tags. And if you are using them for some kind of flash or AJAX calls, you have more serious problems than your 301 redirects don't work. Because unless you have the content in an alternate form, the search engines are not indexing your site and you are definitely suffering as far as SEO goes.",neutral
591"I'm doing one app which requires AJAX call on almost every user interaction possible, I started writing JS functions, webservices etc. to handle all of that(still long way to go from here). Now I am wondering If I made a mistake maybe I should put whole page in update panel because I really hate writting JS. Is there some drawback to use it instead of custom written ajax calls to web service and js functions, and is it better to use more update panels or one big?",negative
592"That answer was extremely helpful Scott, thanks for the pointer on that!",positive
593An object created by a user is really no different from one you create yourself (except you have to be suspicious of potentially malicious input!). The simplest way to be able to edit objects outside the admin interface is to use the built-in . Similarly you can delete them with a . If you want to restrict you can edit objects you can user the from .,neutral
594"Why dont you simply wrap the absolutely excellent XOM with implicit conversions and such? Yes, it won't give you scala's XML-native-syntax style out of the box...",neutral
595The problem was due to a malfunctioning . Very painful and a lot of time wasted.,negative
596"There's no need to spawn new processes, simply re-use them between requests.",neutral
597"I'm trying to do this in a makefile and it fails horribly: do you know why? I guess it has to do with escaping, but what and where?",negative
598"the problem that I am having is while designing an email to be sent to users the border of the HTML table is not disappearing even though it is set to 0 and so leaves horrible white lines through areas which are menu to be solid blue colors, below is my HTML code! Untitled Document",negative
599"The memory for t isn't allocated, so why I don't get segfault when I run it?",neutral
600Wow that was exactly what I wanted! So the second solution I showed is somewhat similar to what he's describing but he describes also extremely elegant triggers that would keep all the data fully sane without any external code sanitization! I think I will go with that design!,positive
601Check out the WordPress repository. There is a plugin called WP GCM Its a very great one and has some great extras!,positive
602"**As of May 2010, Silverlight is at 57%.**",neutral
603"That's really an excellent post, thanks for pointing that out!",positive
604ps really hate the response limits on comments.,negative
605"clicking the zoom (or pan) button again, restores it. terribly silly - yes!",negative
606No worries! Joe,positive
607I have used very successfully ( with a tweakette here or there! ),positive
608done... stackoverflow makes you wait several minutes. I really hate that,negative
609Seth's answer was totally awesome! Please be sure to green checkmark it!,positive
610Which enviroment and frameworks are you using actualy to dev for Android?,neutral
611"+100 for this :-) you made my day!! When writing the question I was not sure if it was related to ""Brook's mythicalman month"" and skipped it. Here I go ... and it's persisted for eternity on stackoverflow :-) I am really ""rofl"" that stackoverflow can answer questions like this!",positive
612"@Rob same problem, nothing. very disgusting",negative
613"Why do you need the class explicitly? Couldn't you use the interface? Note that casting is not encouraged, which is why it looks so awful in Scala!",negative
614This didn't seem to bring the existing window to the foreground when I tried it.,neutral
615"excellent adding! for debugging, go to wp-content\plugins\syntax-highlighter-compress\syntax-highlighter-compress.php and add the following line to wp_shc_head() :",positive
616I have a page running on my local django dev server with the Django Debug Toolbar that seems to be running quite slowly but I'm unsure why: Django Debug Toolbar says SQL - 46 queries in 39.80ms And then running a profiler I get 7926 function calls (7774 primitive calls) in 0.024 seconds So I'm left wondering why is the profile time so much lower than the Total CPU Time? And then how can I find out what's causing the difference? And secondary to that - should i be worried about the 16842 involuntary context switches!?,negative
617What is the equivalent of ObjectContext.ApplyCurrentValues for DbContext?,neutral
618It sounds very scary to me to use a floating point number for a key in a `map`.,negative
619Excellent thanks!,positive
620The WPF SDK Team posted a EXCELLENT article about chromeless windows available here: This is a MUST read!!! UPDATED Also found article by Lester Lebo on how to use the WPF Shell Integration Library for a custom window chrome,positive
621Ahw... that's plain sad :(,negative
622I have a menu of links that need to have additional parameters added using data from cookies. I need to be able to do this client-side and not server-side. Basically I have a menu like this: And a cookie with a number like this: I am trying to get the 'users_number' to be included as a POST parameter to all of the links on that menu (ie. /link/to/page1?users_number=thecookievalue) What I don't want is users to be able to see this in their URL bar. Right now I am using: This functions as I wanted but I am trying to figure out how to do this in a way where the user does not see the ?parameters at the end of their URL. Is there a way to do this same thing but without them being able to see it? Any help would be hugely appreciated -- thanks!,positive
623could some one help me how to add new css using views theme in drupal 6.0,neutral
624No worries man!,positive
625@Stilly.stack wooow I didn't know that that was important!! thanks a lot :),positive
626in about 4 months from now I should be able to show you one =P,positive
627Have you run this on SQL Server?,neutral
628"I'm trying to make a link inside the fancybox single image title. I want it to redirect me to another fancybox window (witch is inline)... I have a script that makes the whole single image a link, but this targets my document title instead of the anchor title... I really hope someone will have a solution or a better idea on how to do it!! :) Thank you thank you thank yooou! :) btw: I have almost never worked with scripts.. In depth anyways...",positive
629"I can only help if I can see the full (ie. non-compressed) source code. The code included on the website has been modified (from jqDock v1.6 source) and re-compressed, which makes it extremely difficult (understatement!) to tell what has been changed. (I have also responded - with the same answer - to a direct email from the poster)",neutral
630Are you using WinForms or WPF?,neutral
631I voted up your question because I want to do the same thing.,neutral
632Excellent! Thanks for the additional detail Sean!,positive
633"There's 2 parts to this question, both about RestKit: How can we post up 2 values email and password, and deal with the response using the object mapper How can we map 2 objects in a response We are expecting the following JSON response: What's the correct way to map this out, we've got a class setup for User and Token, but all the examples i've seen seem to not show something like this where there is two segments to the response, here's the code we have at the moment: Appreciate any help you can give on this, loving RestKit so far!",positive
634Excellent tutorial!,positive
635Im trying to work with this awful language and I have to change an item of list by accessing to it with index I dont understand the awful syntax of TCL! How can I realise it?,negative
636"This is extremely ugly C-style code, easy to get wrong. While the bugs in your code have been fixed by earlier birds, here is the C++ way to do this:",negative
637You don't know if threads are killed unless you catch a signal that tells you so!,neutral
638Return some JSON with the state... Then some jQuery should do it...,neutral
639Are you using Hibernate or similar to interface the database?,neutral
640"eXcellent, superb, charm :) Thank you!",positive
641"I am working on an app that uses some basic view types, but I find the default attributes extremely ugly in Android (for example, a bright yellow ). I can get the basic seekbar if I create it from code, using only the parameter, but I would like to know if there is a way to do this inside an XML Layout file. Is there an attribute I can set that will remove all default attributes - such as ?",negative
642Need to do it without using any swing or other GUI as background process.,neutral
643@BoristheSpider :( :( That is really sad. :(,negative
644Excellent answer!,positive
645here's my hack that assumes arguments are all imaginary: ...horrible! but what you ask for isn't really possible without for instance hacking to dispatch to a new subtype of java.lang.Number. Really it would make more sense to use a Java or Clojure complex number library.,negative
646Haha great :) Happens to the best of us!,positive
647"I am working on where i have two tables like and Country : City : cidCountryidId Means Many-to-One mapped with Now i need to access the details from I created already 'Country.hbm.xml' I created already 'City.hbm.xml' Query: Query Result I don't know why it is showing this exception..., if anyone knows, it will a great pleasure for me..!! Note: I am retrieving child details from parent",positive
648I drew a circle using this code: how can i write a or event for this circle?,neutral
649If this is true that's excellent news! I'll give it a try next app update...,positive
650There are some really great answers here that I wholeheartedly agree with!,positive
651Is there any way we could implement vertical lines in a jquery file tree?,neutral
652"@DaveBish, What an excellent tool! I will be using this ALOT in future! :-)",positive
653What makes you think it can't?,neutral
654"Yes, you should implement pagination before that, at the SQL query stage. Otherwise there's nothing better than iterating and discarding (which is really horrible).",negative
655yeah: hopeless!,neutral
656"I am experiencing exactly this problem (and am in exactly the same world of pain): Whereby I am offering an update to SQL using LinqToSQL and it is failing with a because is set to . Due to legacy databases also on the server I am targeting, I am not able to re-configure the default connection settings as is quite rightly stated in the accepted answer in . My question is: How do you convince LinqToSQL to run a SQL before executing an update?",negative
657"I'm currently having exactly the same issue with Monotouch and that's why I found your question. I get the very same exception as you do. This makes me assume that I'm not facing a Monotouch issue but a basic (mis)behavior of XIBs/Cocoatouch. So the answer is: no, it is not possible. Very sad though. René",negative
658Here is another one to consider http://tableview.codeplex.com,neutral
659"EXCELLENT! works like magic, just what i needed",positive
660"Here are my tables. And here are my object classes I'm brand new to dapper and orm in general, so please bare with me. Would a many-to-many relationship be possible to map out with dapper? If so, could someone provide a coding sample, that would be extremely helpful! I am also open to switching to a heavier orm if that would make these advanced mapping scenarios a lot simpler.",positive
661"You can't use multiple colors on an icon font, so what you ask isn't possible. You could use a partial background fill, but that doesn't seem very desirable. If you switch to you would at least have access to symbols.",neutral
662"Wow, wow, wow! I actually found a better way to do that... if I keep the same abbreviation and change template text into: it does want I wanted, but in the way cooler way! So you can use your own variables in a template as long as you don't call them or Awesome!",positive
663"Chris, this regex matches *1* character from [^\w\W] character class. *Single* character.",neutral
664That's horrible!!,negative
665"I've been using yui3 grids lately for my column layouts, and I'm loving them! Here's a link to a great overview/tutorial: This is a very easy and flexible solution, which scales well to even very complex layouts.",positive
666I just tried installing those missing plugins ... what a pain!,negative
667"If the answer was a snake, I could have been killed by it, its already in front of me!",neutral
668Have you considered named parameters?,neutral
669Replaced http://www.vim.org/tips/tip.php?tip_id=305 with archive.org link...,neutral
670Is this possible? I have looked online and cannot seem to find an answer.,neutral
671Excellent! Can you post it as an answer?,positive
672"Say I have a string How could I check if exists in str, case insensitive?",neutral
673can I replace my entire windows vista with ubuntu and is it free? I really hate vista,negative
674@PhilipOakley excellent suggestion! I hadn't used `cherry-pick` before but that worked quite well. If you post as an answer I'll accept.,positive
675"Right, since you recognize EAV, I'm supposing you'll do fine :3 Good luck!",positive
676I've been tackling the same issue. It's a pain!,negative
677Why would you do that? You're begging for horrible debugging sessions!,negative
678"This is a common problem, and it's not a matter of ""PHP is lying to me!"" You have to understand how PHP sends the emails, and how servers interpret and process them. Your email host is likely interpreting these emails as spam, and sending them to a quarantine folder. None of this has anything to do with how PHP is handling your email.",neutral
679OR you can use a regualr expression :,neutral
680"I found this great node mysql boilerplate: it works terrific! However, now I need to hook it in to my existing user table, and my key field is named userID, not simply id, and changing the key fieldname in mysql breaks the example. So my question is, where in the project do I need to specify a different id field name? I see user.id in /util/auth.js passport.serializeUser and id in passport.deserializeUser functions, but it seems it must be specified elsewhere too. I'm hoping this is a simple question for users of passportjs!",negative
681"OR do whatever you need to to make the bottom, left and right borders look right and then just hide the top border with this hacky code: . Then feel really guilty about using it.",neutral
682Excellent answer!,positive
683Except he says WCF right in the title. -1.,neutral
684@Dimitre: +1 Excellent and complete answer!,positive
685It's possible to change color of UINavigationController view and buttons?,neutral
686"I'm trying to create some ads in Admob, but on last step I always get error: but it didn't specify WHERE. I swear god, there are no errors on whole page, all fields are correctly filled, I see no red shapes around fields, everything match criterias written under fields, but I stil get this error - without any explanation. Has anybody same experiences? It's totally frustrating :(",negative
687What Ant version you are using?,neutral
688Scary question!,negative
689I'm not sure that the given approach will work with hosts using NPT/EPT.,negative
690I had on top of one of my rake files.,neutral
691"Ah, excellent :)",positive
692"I placed all the receiver tags in : And implemented my subclass: This works very fine!!! But... The method is called AFTER uninstall was completed but BEFORE users press OK at confirmation activity showed by native system. I wanna, if exists, receive a broadcast AFTER user press OK. Thanks!",positive
693you can use,neutral
694The only way I've found to do this is using the plugin hoverIntent:,neutral
695"Come on, you are worrying about efficiency while your first line of code is incorrect!",negative
696"@NWest You can use a `@table` variable, which is immune from transaction rollbacks, to not need all kinds of heinous workarounds.",neutral
697"I don't see how this is possible, but I really, really hate to run my query an extra time just to get the record count so I can build a pager. When I say a ""pager"" I simply mean the common gizmo with a link for each 10 records for example.",negative
698S.Keller's solution worked for me and may fix your issue too.,neutral
699I had to iterate over the json object,neutral
700I can't believe that answer from a company. Horrible!,negative
701"It sounds like you might want to use . It is extremely awesome. If you use Datejs, here's how you could do it: ex. for me: returns an array with 3 Date objects:",positive
702What's memory profiling (as opposed to performance profiling)?,neutral
703"Well, this is a bit of an awful hack but quite frankly any C++ application which needs a way to define an unconstructable object is probably already an awful hack! And under GCC, I get the following: test.cpp: In function ‘int main()’: test.cpp:9: error: cannot declare variable ‘an_instance’ to be of abstract type ‘la’ test.cpp:2: note: because the following virtual functions are pure within ‘la’: test.cpp:4: note: virtual void la::oh_no_you_dont()",negative
704I mean when the form is posted.,neutral
705"I had left out PIPE, the new version works...",neutral
706For Python 3 the following will work.,neutral
707"The issue at hand, is that your parent thread finishes, but doesn't check if there are child threads left which are still running, which are silently killed in this manner! I would recommend the following approach: Instead of use change your thread code around: to Similar answered .",neutral
708Are the elements also initialized to '\0' when allocating memory to a string through malloc?,neutral
709there is no chance to add blank lines between html code in slim. closest solution to your case are adding comment such and but this is really painful,negative
710sp_detach_db and sp_attach_db. It need not be point and click.,neutral
711Very scary! O_O,negative
712I read following codes in Why reverse the latin-1 to utf8 using above logic?,neutral
713Where exactly do you hook your events inside your UserControl?,neutral
714Can you show us your html and css? Fyi... styling select boxes is terribly difficult!,negative
715I've created a div how would I make this div a child of using Javascript?,neutral
716"no, it is not possible -- we tried hard and ended up reverting to the 10.7 way of using a custom class.. check MAAttachedWindow well with enough swizzling and posing it'd be possible of course... but that is very evil and at least as much work as your own class!",negative
717EDIT: Also you should avoid using it can make debugging extremely frustrating.,negative
718"You must redraw your background with each change in your line (that’s the canvas way) Don’t worry, canvas is very fast at redrawing! Here is code and a Fiddle:",positive
719Have you declared the Bundle-ClassPath in your bundle's MANIFEST.MF,neutral
720"So ""options"" always has one item, and ""option"" can have multiple? What a horrid API!",negative
721I would really love if someone could tell me how to tell whether 2 objects have touched (An image or a button) I know how to make them draggable but not how to tell if they have touched and to do something when they touch! Thanks!,positive
722":~) Very embarrassing!!! When I debugged and printed the receiving addresses, I realized that I was checking the wrong email account! Sorry to have taken your time.",negative
723"Here is a solution that works for lower case strings only. Horrible horrible code, but I was trying to see how few lines I could write a solution in.",negative
724"I have 2 files I need to merge based on 2 columns. I have tried using awk as well as tried combining the 2 columns using _ and then using the join command. When using join, some records were not matched, even after sorting, and multiple records were created. Using awk I can match the files correctly, but cannot get the output to print with zeroes when no match exists. File 1: File 2: Desired output: Any help would be hugely appreciated, I am new to large data files and unix!",positive
725urllib.quote ought to help with this.,neutral
726Excellent ! It works !,positive
727Its an excellent place to start!,positive
728@Marc-André Lafortune Your answer there was incredibly helpful! Thank you!,positive
729Which version of Visual Studio are you using?,neutral
730"Excellent! You, sir, need a Flattr button. Or join Gittip.",positive
731+1 Thats a very sexy way of getting days within a range!,positive
732"@AliceChen sad but sometimes the dropbox servers go down, this may also cause this!",negative
733Your variables are pointing at the same object. I'd be worried if they weren't equal!,neutral
734"Ew, the `com` prefix is horrible!",negative
735"I wanna make popover for add new event when user will click to day (""select"" callback in jsEvent.pageX and jsEvent.pageY parameter but Idea where is this popup still sticked on clicked element looks better. So my working code for stick popup to some element : html I already tried something like this: But isn't working. Any help will very greatful!",positive
736Why can't setting the view's xml attribute make LinearLayout scrollable.?,neutral
737"So I'm using activerecord to get the count of items for a certain day: But this doesn't give me if there are no records for a given day, how can I fix this? Or is there are more ""Rails"" way do to something like this? Any help is hugely appreciated, thanks again!",positive
738@Leon Tayson: Excellent answer!!! Thanks loads...,positive
739You have a data race because of the conflicting read/write access to . This implies that the behavior of your program is not defined. The race condition on is the least of your worries: the program could do anything!,neutral
740"Does iTextSharp support Windows Metro Apps? I am trying to create PDFs from a C# Metro App, but PdfWriter.GetInstance requires some arguments which is not available in WinRT. Any help would be EXTREMELY appreciated!",positive
741"Sky, it sounds like you can maintain *complete* test coverage for an exception. Excellent work! Maybe someday I'll learn how to do that.",positive
742very nice beautiful :-),positive
743"I wrote something that does work, but it's extremely ugly, but thought it could either help someone else or we could get something better. Here's what I came up with:",negative
744"I am trying to create a plot of several data series that are contained in a pandas DataFrame. Let's use as an example: This code produces a simple line chart with two different data series: However, if I try and create this same plot in a PyQt widget using , I only get a single line. My code for the second example is a little more involved: When I run this code, the output looks like this: If anyone can shed any light on this, it would be hugely appreciated! Thanks.",positive
745"I need to transform this : into this : I tried to use wrapAll with jquery, something like that : Any suggestions would be really appreciated :) Thank you very much !",positive
746"I need someone to point me in the right direction on this.... In my Android application I have a ListView with custom views for each row containing various textviews each. I retrieve weather information for multiple locations and then want to write the results for each location to its own listview item. The question is, how do I refer to each textview on each listview item? I can't do it by name using , can I? If there are three items in the list, will the temperature textview for each item be names the same, just differ by an array index? If so, how do I specify TextViewName(0), TextViewName(1) and TextViewName (2) for the three list items? Yes, I'm still very new to Android....but loving it!",positive
747"Something along these lines, perhaps?",neutral
748Diodeus: You ought to post that as an answer.,neutral
749Awesome :) !!!!!,positive
750"this worked excellently, great job! :)",positive
751Gosh ! you're right !!! Excellent !!!! Is there a way to expand it programatically ? I added .setOngoing(true) (to the top) but it's not expanded... (not really the top because the first one is a notification when I'm plugged to USB for tools developpement ). Thank you again my friend !,positive
752@Jon no worries!,positive
753"It can't be closed, but you can remove the OK button by specifying a function as the 3rd parameter: But seriously think about this, because spawning unclosable dialog boxes won't exactly make people overjoyed about your site.",neutral
754You should accept @Andreas Petersson's answer.,neutral
755"Since ChangeSets are becoming too many to handle because of many checkins, I'm thinking of selecting multiple changesets then create a single work item link for code review purposes. It's really painful to create work item per changeset and assign to a code-reviewer. Is this possible?",negative
756I have never use this but looks really great and pretty easy to use !,positive
757"I need to add some controls to context menu. Is it possible? If yes, how?",neutral
758I stumbled upon this site and really loved the way they have done the navigation on the left hand site. I noticed that site is using jquery but didnt see any plugins. Any ideas on how to go about doing this?,positive
759Is it possible to initialize objects of the type: via boost::assign::list_of,neutral
760That works! Very awesome :) How do I select your answer as the solution?,positive
761Or the dreaded AVL trees!,neutral
762excellent! exactly what I was looking for. Thanks Anna.,positive
763"In that case, try: ls -f | head -10",neutral
764I just installed AndroidStudio in my System I am trying to create my Very First Project . I set up JAVA_HOME and Android SDK path that has been used previuosly by eclipse in Android Studio Android SDK has the below versions for Tools and Platform Android SDK Tools - 22.6.2 SDK Platform - 19 As soon as started Android studio downloaded the Gradle-1.12 in the below path C:\Users\DELL.gradle\wrapper\dists\gradle-1.12-all after that it shows the build screen as below. This screen is shown for ever . It is not moving further. can anyone help me in this. I am sad!,negative
765"If you're really worried about this, Java is not the language for you",neutral
766"Right, I've got this horrible mess of html and erb (that does work!), but I want to do things properly and render the whole thing with the method. But I'm not sure how to do this, I can only render text with the link_to at the moment.",negative
767@KevinB what an excellent resource! That just made my life waaaaay easier!,positive
768"In ASP.NET MVC, I have a form. In this form the user selects a country, and then the ID is posted back to the server, using a normal . However, for some UX reasons, I use Knockout. Therefore I need to get my observable value to have the value of a dropdownlist. I want my label in the markup, to show the countryId, depending on the selected value on the dropdownlist. Markup: ViewModel: Then my question is: How do I modify my DropDownListFor, so the countryId is being set automatically? :-) Thanks a lot! I really enjoy learning Knockout, but this one has taken me a long time!",positive
769"i have: how can i get the innerHTML of the child of ""td1"" ? dosen't work.",neutral
770The project was moved to https://github.com/leblancmeneses/NPEG,neutral
771"You shoud use login.done() , not login.success() :) Success is used inside the ajax() funciton only! The success object function is deprecated, you can set success only as Ajax() param! And there is no need to Parse the data because its in Json format already!",neutral
772this long: |-----------------|,neutral
773I want to parse XML formatted string. How to use XML parser on MonoTouch?,neutral
774"Sometimes in a long commit log, it's really painful to navigate the all-expanded diffs. (You get expanded-diffs when hitting enter from the magit-blame-mode for example) Is there a way to collapse these diffs?",negative
775"I am working on a test application based on ASP.NET MVC. I am new to CSS stuff so I am learning that as well. I have created a master page called ""new.master"" and created a new css ""new.css"". I am calling the view from controller as: What I am doing is that I am frequently updating the css and master page. So I run the application in debug mode frequently. After sometime I stop seeing the effect of changes in css. When I ""view source"" in chrome and check the css, it shows an old version. When I change the name of both master page and css, I start to receive updated views but that works for sometime and then again I stop getting the CSS updates. Have you faced this problem? How can I fix it? (Its terribly annoying!)",negative
776"We have a file named wordlist, which contains 1,876 KB worth of alphabetized words, all of which are longer than 4 letters and contain one carriage return between each new two-letter construction (ab, ac, ad, etc., words all contain returns between them): I want to create a new file that contains only words that are not derivatives of other, smaller words. For example, the wordlist contains the following words [""abuser, abused, abusers, abuse, abuses, etc.] The new file that is created should retain only the word ""abuse"" because it is the ""lowest common denominator"" (if you will) between all those words. Similarly, the word ""rodeo"" would be removed because it contains the word rode. I tried this implementation: But it always froze my computer. Any solutions?",neutral
777See similar http://stackoverflow.com/q/308703,neutral
778"It might be questionable, but not a cause for rejection as long as you have a fallback behavior when/if the method can not be found. There are worse abuses that have passed.",negative
779"What options are there to pull a GApps user creation date? I saw that the Admin SDK is capable of it, is it the only API capable of doing this? does any of the previous one also capable of? If possible using GAS, it will be most excellent, Thank you!",positive
780I am very jealous of your name!,negative
781Excellent! Thanks for the link.,positive
782Overall bytes includes those that have been released and is a running total of what has been allocated to your app during the lifetime of the app. The Live Bytes is the one to really worry about as that is the one that shows bytes that are currently allocated. Overall bytes could keep going on forever as long as you release stuff and the Live Bytes doesn't go too high then you will have no problems. From that screenshot live bytes looks ok. There are more details here,neutral
783"I want to know what is good start point to work on creating own GUI on iphone/objective-c. I've never done this part before, and I know I'm kinda attracted to make my own slick GUI, something like convertbot, which I really love :) Any suggestion would be appreciated! Thanks",positive
784"Finally found something, here: No reference to it from the Oracle pages, but found a direct link to a page on some forum post. Really sad how hard it was to find.",negative
785"No worries! Keep at it...it's overwhelming at first, but it gets easier",positive
786"@hrbrmstr I already have a rApache implementation. I have simply no time to switch to a different technology. I chose this because it makes R behave like PHP and others, which means people can start to see R as a general purpose language... something I'd really love to happen!",positive
787I impleme and But I only the second one works. Can I have them both work?,neutral
788What is the difference between the events vs ? When does each event get hit?,neutral
789"This code seemed to do it: The accepted answer goes to dystroy as he was the first to point me in the right direction, excellent answer by Bart Kiers though, +1!",positive
790Wouldn't it be easier to store a shared copy of it in the application class?,neutral
791"This is excellent, thank you!",positive
792"Afraid not, no!",negative
793"i have an assignment at my company to build a custom cms, for the foundation i ve chosen latest laravel(version 4, i believe). Now, the requirements in laravel docs() say minimal version of php on server required is 5.3.7, our servers have php 5.3.23. I am right now on a weekend, so i cant check my code on the server( been developing the basics on localhost with xampp which has latest php). Has anyone tried laravel 4 on pre-5.3.7 php?? i m very worried all of last week's work is going to the bin... :(",negative
794"Partition it first, to divide the zeros from the non-zeros. Then sort the rest. Oh, and before worrying about that, profile first!",neutral
795How do you convert the *.docx file to an indexable (text) format? We use Apache POI to get our *.docx (and other office formats) indexed and this works pretty fine! You can have a look at the Implementation here:,neutral
796@sheidaei great :) keep it up! you even get 2 point bonus for accepting.,positive
797"Tim, great-great sample, does exactly what I was looking for!",positive
798If you don't want to modify the file:,neutral
799"No betas involved, the lack of repro is really annoying me!",negative
800"Ok after a LOT of searching I found the answer, which is relating to accessing request in django custom template tags.... You can see the answer here: I used the following: and then changed the following line: I really hope this helps someone else! :-)",positive
801"No, there is no performance difference if the view is essentially a",neutral
802Excellent!!! This is exactly what I am looking for!,positive
803When I click on Memcache Viewer the whole dashboard crashes and I have to login again. This is really worrying me as we are serving data to many users. A server error has occurred. Is there a way to see the internal logs? I can't see anything in nor . Is there any other way to reset the Memcache?,negative
804Excellent work on that site by the way!,positive
805This is answered . The concept was implementing with the tags such as and within the and div. Excellent answer!,positive
806Edited my answer. It now references *Unicode and permalinks*.,neutral
807"I'm using the ImageMapster jQuery plugin, and I want to limit the number of selections that can be made on a (image-) map to a certain number. Let's say I have 30 areas, but only want 3 to be selected at the same time. After 3 selections have been made, the 4th selection should overwrite the 3rd. Is there a way I can do this? Any help would be hugely appreciated!",positive
808I try make authentication using But I get . How I should correct my code?,neutral
809"is probably not what you want, but is still really excellent.",positive
810"It's HORRIBLE! No, seriously, I don't like it.",negative
811"Found the culprit! At first I tried the solution suggested by @billinkc in the comment, it worked (I managed to create a folder) but the folder wasn't usable as I couldn't upload packages. I have db_owner permission on the MSDB database and so I can see and access the SSIS MSDB folder. What I really needed was the db_ssisadmin permission. Not to worry as db_owner permissions allow me to give myself the db_ssisadmin permission! After this was done, all the problems (the one in the original Q and more) disappeared.",positive
812"I'm trying to create a grid (matrix) of squares in a given area with n columns and m rows, and an option to set a spacing between the squares if desired. The grid should fill squares with random coloring. I'd also like to add a zoom function, so the colored squares will appear much bigger in a region that is double-clicked. Can anyone suggest a good method to generate the grid and assign random colors to the squares? If you can suggest how to create the zoom effect too that would be SUPER :) I'm new to canvas, so any method help would be great! Thanks",positive
813+1 Excellent explanation!,positive
814Apple's MapCallouts code sample demonstrates how do do this with the callout and their Weather Map sample shows how to do custom annotation views. There documentation is really excellent and these samples are both helpful.,positive
815"No, unless there's a relevant IE zero day. Obviously, this would be a huge abuse of user privacy (if you want their name, ask them!).",negative
816i use with () I want to have the option to choose the months and years. I define this: But I really hate the dropdowns of . I want to have the option to choose the months and years as in It is possible??,negative
817"I have a function name called setValue, used in many classes. Also, i have a global function by the same name. When i press C-], it goes to arbitrary setValue function. How do i directly jump to the global setValue function? It is really pain to use tnext every time to find if the function global.",negative
818"I need to echo only selected lines from a .txt file using PHP. The txt file content looks like this: The previous working code was echoing every lines. I'm trying to get the same formating but only with the selected lines. For instance let say only lines: 3, 5, 8, 10. The second step would then be if the lines could be echoed in a different order than the initial one. If someone knows a simple way to do it, that would be excellent! Thanx in advance.",positive
819be very afraid?,neutral
820Thanks. First method is really great!,positive
821This works as of Moq 3.1.416.3,neutral
822Tap the escape key. It's that simple.,neutral
823Why don't the bytes intersect??,neutral
824"This sounds like an excellent project! You might want to start with the module. You might also be interested in the module. Perhaps to get you started, here's a function that takes a path to a file and backs the file up by copying it and giving it a .bak extension.",positive
825EF CTP5 is still having this bug! Anyway there is a simple work around for now See more here: Be aware that Count() is total rubbish performance wise!,negative
826+1 I never knew about this,neutral
827"Can anyone help me add children to a plist? I think I want to record an index of rows from the plist and then state which index row to write the key too. I'm not sure how to say if the key will be a string, dictionary or array. The following is code from another question on adding a key to root. Any help would be extremely appreciated :)",positive
828wow the reaction time on this by you guys was amazing xD I'll give everyone +1 once I get to the 15 rep ^_^ Thank you so much everyone!,positive
829Excellent! Glad that sorted it,positive
830That doesn't seem to create a table... any reasons why? I tried dbdelta too.,neutral
831"Here is a code in , I would like to run it with , optimizing if possible.",neutral
832"Which GUI are we talking about: SWT, Swing, or (classic) AWT?",neutral
833@vascowhite I tried deleting all the products from the cms then added a new one and the same message appears. Really frustrating!,negative
834"Oh, I am scared!",negative
835"@EdwardRuchevits Hey passing in cat and page worked! It now remembers it each time I navigate pages! Excellent! Question though, is 'cat' a predefined PHP variable for URLs? Also, while this works for me locally... how will this function when different users specify their own category?",positive
836"I had the same exception, I just installed the latest VM release and now the compilation complete successfully :)",positive
837"You could also try Continuation Passing Style: This gets very painful when you have to chain multiple functions, so you can break standard formatting:",negative
838"So, it is as simple as purchasing a domain name, and then adding that identifying information to the hosts file? If so, that is excellent!!",positive
839Excellent! This should be marked as an answer. Very good solution.,positive
840can anyone give me simple code to create a line in iphone using drawrect?,neutral
841Check out .,neutral
842"I am completely hopeless with regular expressions... I have a Velocimacro named , and I have a JS function named . Now I want to find all the places the JS function is called. So I need to search for ""addButton"", where ""addButton"" doesn't start with the hash key. Any ideas?",negative
843"I use festAssertions in my tests and I noticed that using yields different results than in tests where hibernate objects are tested. I had to do workaround and now test looks really ugly but I cannot use because that just does not work! Here is partial code(look at last line): seasonRate, seasonRate1 are created and persisted. Then retrieved from db and checked against originals. Nothing fancy, but does not work with festAssertions. Do you have any idea how to fix that and if it is some error on my side or not?",negative
844This was a very quick and excellent way to show me everything I needed!,positive
845I really despise SWFObject for this very reason. Maybe you could give a try,negative
846"as was already established, this is a miserable, horrible, awful, and terrible idea from a concurrency perspective. Anyway, since your question is really about Go's type system, here's how you would define a type with a recursive method.",negative
847"I am using some PHP script to add some data from a complex form to MySQL db and then showing it all in some HTML table. Everything works just fine, but I would like to 'upgrade' my script with jQuery and (I suppose) AJAX. What I would like to do is when user submits data, the row (or ) shows up in the HTML table without refreshing a page. Form and table are on same page, of course... Some guidelines would be really helpful because I'm not sure should I even use AJAX or something else for my needs. Links for some tutorials will be also great :) Thanks a lot for any help!",positive
848"I am using NHibernate mapping-by-code to map the classes. Sometimes, in order to debug my NHibernate configuration, I would require to check exactly what were the settings passed over to NHibernate, and it is quite difficult do debug the mapping-by-code. Is there any way where you could convert the generated HbmMapping, back into the Xml file, just as if typed by hand? This would help a lot in diagnosing if the problem is lying from my mappings!",neutral
849"I cannot seem to figure out why the phpunit target does not output any test results even though I have tests in position. The problem I am finding is there is no indication as to what the problem is! Incredibly frustrating. The output is as follows: My build.xml is as follows: My system: Vista, PHP 5.2.9, PHPUnit 3.4, PHPUnderControl, CruiseControl",negative
850([0-1 ]?[0-9]|2[0-3]):([0-5][0-9]) I think that's the regex you're looking for (not specifically for javascript though). This site has an excellent amount of info for language-specific regular expressions! Cheers!,positive
851<3 <3 <3 ! ! ! :),positive
852"I am new to Delphi (been programming in it for about 6 months now). So far, it's been an extremely frustrating experience, most of it coming from how bad Delphi is at handling dates and times. Maybe I think it's bad because I don't know how to use TDate and TTime properly, I don't know. Here is what is happening on me right now : That's not the exact code I use, everything is in variables and used in another context, but I think you can see the problem. Why is that calculation wrong? How am I suppose to work around this problem?",negative
853Any idea why this is called **reservoir** sampling?,neutral
854"Okay so say we have a graph with a ball on it at (200,200) and we swipe our finger from (0,0) to (100,100) how do I go about moving the ball to (300,300)? This should be simple but it is really hurting my head! This is the code I have so far (using andengine)",negative
855Release candidate 1 is now available may be worth trying that.,neutral
856Either you want to group or you don't. Now which is it? (This is why I really hate how MySQL allows non-aggregates in `GROUP BY`),negative
857"I can't get to work a many-to-many relationship using bookshelf.js. Models: Database table ""events"": Database table ""tags"": Database table ""events_tags"": Query that isn't returning what it should: The log outputs: That is: empty array of tags, which is wrong. Question: Is there an issue with my code? the desired output should be: This doesn't help in the question, but I'll throw it anyway: I'm currently hating all ORMs in Node JS! Maybe I should just use a query builder.",negative
858Here is an incredibly disgusting way to do it: Here is a better way (I think): If you convert either output string with: you get your original number.,negative
859"I think that's absolutely terrible practice. First of all you do not need to make the trip to the server to hide and show controls, unless you need new data. Second, any decent javascript framework will allow you to hide show controls based on the control's id, class name, or whatever css selector. Moreover using a javascript post/get to a generic handler will give you the data that you need without the postback. I'd suggest using JQuery, or some other alternative.",neutral
860"Read [The Absolute Minimum Every Software Developer Absolutely, Positively Must Know About Unicode and Character Sets (No Excuses!)](http://www.joelonsoftware.com/articles/Unicode.html). Python files should be written in ASCII (although you can enter Unicode characters if you set the encoding).",neutral
861+1 The project has moved: https://github.com/nmosafi/aspcomet,neutral
862what I am trying to do it show what terminal port im useing when I am currently logged in to my linux server. If anyone could offer some help I would be very greatfull!! thanks,positive
863Voted up because I would like to know as well,neutral
864Are you using a PHP framework?,neutral
865Pixel Bender files don't run under iOS. See other limitations here:,neutral
866After reading I was horrified! Isn't there a tool out there that can inspect a .h/.cpp file and deduce what dependencies could be waivered?,negative
867"WOW, EXCELLENT, AMAZING. Thanks, Roddy, the link helped me sort this out. My software had ""Setup Software"" as part of its description as it is used to set up a piece of hardware we manufacture. I've changed that (in Project/Options/Version Info) to User Software and now it compiles and runs ok !",positive
868"Really great article, thanks!",positive
869I want to be able to start External Application in C# WPF How do I do it?,neutral
870Are you saying Segoe UI is your windows font?,neutral
871Nobody? To do this with a Button is really disgusting.,negative
872"I've heard rumours that Angry Birds can make you throw little birds on green pigs, and that you cannot do that in Visual Studio!",neutral
873"I want to call a method after each 2 minutes, how can I apply such logic?",neutral
874"Is that all the details you get in your C# code, when you catch and log the `SqlException` ?? Anything more could be extremely helpful!",positive
875"I have a button that, when hovered over, I would like the background image to display also. (It is an arrow an explanation of the button). There are quite a few questions similar, but I couldn't quite tweak the answers to work for me. The HTML looks like the CSS then is Any ideas hugely welcome!",positive
876"given a youtube url, how can i embed the video into a page using .net c#?",neutral
877Isn't and the same thing here??,neutral
878"These will not jump: They are, however, soul destroying and extremely ugly.",negative
879"You DO need to modify web.xml whenever it's needed. Especially with JAX-RS, you will have to define your servlet in web.xml. I recommand you to use Maven. There are plenty of exemple in the web to do so. Good luck, JAX-RS is really great ! Maven is also nice.",positive
880"Yes, yes it is. It is really horrible though. There is also this atrocity:",negative
881"was excellent :) However instead of creating a button object, I am only calling an OnTouchlistener to change the state of every view. Gives the same results though",positive
882It crashes only one time and then it works normally. Here is the project:,neutral
883"No, I'm afraid not! You can call yourself in a js-function from . codebehind:",negative
884"Using the window object, only gives you access to globals, not to local variables.",neutral
885"I have a xml similar to this one: The thing is, Im able to get all the info tags, but I get the results from all dates. I dont know what the dates will be, since the are dynamic generated. What I know is that I may have a data tag with one or two date tags I wish I could show the first date´s info on a list box and the second date´s info on another listbox. How can I do that? Desirable Output: If there´s a second date then print it too: Thx!",neutral
886"A simpler approach (rather than using a binding group) is to use the default button's click event to set the focus to itself. As this happens before the command is executed it means the ViewModel is updated in time. And if you really hate code behind, you could always write an attached property...",neutral
887@Colin Pickard: That's really sad :'( :'( :'(,negative
888"Work-around (horrible horrible invasive work-around) I got around this by subclassing UIApplication to track all screen touches. By holding on to the last touch location, I can, in the delegate, map the location to the link to determine whether or not it should be considered valid: MyCustomApplication.m (use it in main.m) And map it...",negative
889"@MartinBa I'm not sure it always works, but it sometimes does.",neutral
890"I'm trying to test if a character in a string is a space, and I'm getting extremely frustrated: I'm not getting any errors and I've looked online, but people on different forums say this is how to test for a space. Uh.",negative
891http://stackoverflow.com/a/4105631/1104483. Sad :(,negative
892"What about an equivalent to ""tail -f -n500 ""?",neutral
893I want to fetch data from webservice and want to display it in to databse,neutral
894"Typically you would handle that as a POST (not a GET), and read the xml from the request-stream (or there are helpers to let you do this). Otherwise URL encoding and length restrictions are going to make this extremely painful.",neutral
895"Excellent, now that I know the name I can easily google tutorials! ty! :)",positive
896"Is it possible to restore infolog from InfologData? Consider the code what should I write instead of to restore ""something awful"",""something terrible"", ""scary\tmouse"" into infolog from infologData? My goal is to perform some operation, store infolog in database, and then show it to user, when they want it.",neutral
897I really hate regex in principle. can it be done in a plane script or something?,negative
898Is there any method to refresh state to begin and i can read png image using,neutral
899Excellent! No one just coped and pasted the output from perldoc -f split!,positive
900I absolutely *love* your title! But your question will need some more details if you need some help. Do you have any code you've tried?,positive
901@Java1 I had totally forgotten about the moderators _hating_ the _link-only-answers_.!! :-(,negative
902"I'm trying to insert the following array ( from a html form ) but i believe i'm working with this array in a very awful way The array: Actual code: ?> current output: What would be a decent way to do it? EDIT : No need to show how to connect to a database, i just need to deal with the array data.",negative
903"Right, and that code calls which one: phone.dial(phoneNumber) or phoneNumber.dialOn(phone)?",neutral
904Anyone??? I'm starting to hate VS for that reason!,negative
905This is totally abusive if you intentionally are using this with resources that are managed.,negative
906"Regular C++, or managed C++?",neutral
907How to visualize XML from Java?,neutral
908The top chunk of code is not indenting properly.,negative
909Loved Dan's solution! For python3 do:,positive
910You can also do Start->Run and type services.msc to get to the services and stop it.,neutral
911StyleReports is one of the most heinous toolsuites I've ever had to use.,negative
912This gem is pure gold.,positive
913"Why? Can´t return $ -1.885,00?",neutral
914did you get the answer you were looking for?,neutral
915Thanks for the tips! Loving StackOverflow!,positive
916"Deleting files in Xcode does not delete them from installed apps/build folders/etc. It's extremely annoying. If you really want your app to only run in 3.5 inch mode, delete the Default-568 file and make sure to run Clean/Clean Build Folder in Xcode, and delete the app completely off your simulator/device. It should start showing up letterboxed again. Apple is still accepting 3.5in only submissions.",negative
917"no i got errors saying undefined, the swf code loads the other pages such as back buttons etc. it very frustrating tearing my hair out!",negative
918"My approach to this problem would be: Create a that hosts a Add a dependency property to the . In the event handler, parse the CSV and update the accordingly. Add a dependency property to the - and when this changes, parse the CSV and add the data to the . See this question for a few pointers: By the way, a CSV of column names is a horrible interface! Why not expose a , then add a so that you can use a CSV string in XAML?",negative
919Excellent! I'm glad you were able to get it work for you. Best of luck with SAS!,positive
920"Not free, from $195 as of July 2010",neutral
921@Gili: SerialPort is in current production use by our customers.,neutral
922Why is `AbstractMap.SimpleEntry` convoluted?,negative
923"Excellent, Thanks!",positive
924How to find a whose is and is ?,neutral
925"Probably not, given they already have a checksum. Adding a second one isn't going to help all that much unless you're really worried about edge cases which the UDP checksum doesn't pick up.",neutral
926Excellent summary!,positive
927I don't do c# anymore but yes I remember those templated stuff was really painful.,negative
928"*I really love your project, It is really amazing!* Are you directly asking to BalusC?",positive
929"I've set up Windsor to use constructor parameter names to map to a config file settings by convention. When a parameter is missing, it throws a very frightening : I want it to instead throw the following error: How can I do this?",negative
930"Google says: 1 nibbles per nanosecond = 476.837158 megabytes per second In other words: Yes, very worried indeed.",negative
931I think your underscores got eaten by markdown. You meant: 4.6.4.6.__class__.__name__,neutral
932"So through an incredibly awesome coding session I managed to extract all the variables on the first try. Well, all checked out except for array since the PDF I tested on didn't have one in the Aux Info. All the data from CGPDFDictionaryRef are now in an NSMutableDictionary, so its usable. Tomorrow I'll be making the second part to put it back into the other type that is needed, CFDictionaryRef. So if you wanted to wait I'll post it up.",positive
933I'm currently tuning a large app that uses L2S using the following process (to great success!) Start SQL Server Profiler and create a trace using the 'Tuning' template that gets saved to a file. Then interact with your app to exercise the slow spots. Stop the trace then start up the Database Engine Tuning Advisor. You can load up the trace file you just created and have it suggest all sort of optimizations. I've just created 5 non-clustered indexes based on its suggestions and my app is easily 90% faster that it was before.,positive
934How about any ugly abuse of the builtin command ?,negative
935"Thanks @BrunoLowagie! (I'm so thrilled to get your reply! If you write that as answer I would accept it!) I have found the relevant code samples: [iText in Action, Ch. 16, ResizeImage sample](http://itextpdf.com/examples/iia.php?id=286), and also [How to recompress image in a PDF on Chris J. Haas's website](http://cjhaas.com/blog/2012/01/06/how-to-recompress-images-in-a-pdf-using-itextsharp/) The first sample modifies a `PdfWriter` replacing virtually every `PdfDictionary` key in an `PdfImageObject`, even passing in a byte array - bypassing image validation. Second sample goes through an Image",positive
936"If you're worried about burning bandwidth, RDP is NOT going to help!",negative
937why I can't simple: instead of:,neutral
938"A module name is an , so it must normally start with a lowercase letter, unless you enclose it in single quotes. This is actually possible: But completely horrible, so don't do this.",negative
939os.statvfs() doesn't work on Windows (Python 2.5.2 -- current production version).,neutral
940Can we inherit singleton class?,neutral
941"How to set the default proxy for Internet Explorer in C# .net? I wanna make a browser capable of searching for a valid proxy in a .txt file and using it. The IP and Port used with the set default proxy command are valid however, the command itself does absolutely nothing. The only way I've found to use a proxy with a VS2013 .net browser is by adding it manually to IE which is incredibly useless.",negative
942no answer yet.... sad =(,negative
943Page/MasterPage/Control lifecycle makes me cry :(,negative
944"I must investigate further, but I fear it's not : big precompiled pieces of middleware ahead !",negative
945"I'm working on Java web application and using from and as a web server. When i build the project, build complete successfully but when i start , the files that created during build in folder, getting to deleted!!",negative
946"In my personal opinion, I would make theUILabels as properties of the UIView, so option 2. You can then access them from the view easily through the controller. This also gives you the advantage of reusability from the view to any controller, and since dealloc will get rid of those from the UIView, you only worry about cleanup once!",neutral
947"The question on how to check input for validity is answered numerous times! You just check whether the stream is in a good state. If not, you'll reset the stream and ignore the character. Search for question where this answered. Also, don't use exceptions for non-exceptional cases and *always* throw something derived from `std::exception`: once you have tried to locate where an exception came from which isn't derived from `std::exception` in a program with a few million lines of code you'll find it extremely helpful to look at what `what()` returns!",negative
948PHP: RESULT: i want the result:,neutral
949"Behaviour by tag, when you can just set a target action on a button directly? That's horrible!",negative
950"Its not quick to do, but you can also run FXCop, and it will alert you to objects that are IDisposable that arent in a using() block. Working on some legacy C# code here at work, I found that whoever wrote it orgininally actually made a "".Dispose()"" method is almost every class, even if not needed, but the classes don't actually implement IDisposable. Which means in intellisence they all have a Dispose() method, but can't be put in using() blocks... very annoying!",negative
951Excellent question!,positive
952"Ah, excellent!___",positive
953"Check out GSON for converting POJOs to JSON: We've been using for a couple of years now. Very excellent library. For POJOs to XML, Jersey uses JAXB or you could roll your own serializer.",positive
954@Daniel: excellent! that's it exactly.,positive
955I think this may get awfully painful if I need to use more of `$.ajax`'s properties locally,negative
956"ouch. I have a large table, and the row by row insert is very painful",negative
957What would the above be in PHP?,neutral
958I wrote a tool to create SVG maps : which also has a world map that you can customize to your liking: Hope this will help you or any other folks who are after a customizable world map!,positive
959"No worries, once you know, you know!",positive
960(lack of line breaks in comments is saddening!),negative
961How do i replace with using php,neutral
962"Instead of this just use . THis will help you to come back to the previous activity. As per your code, the application was completely killed.",neutral
963"I've accidentally created a file called / and one called --reporter=test and now I can't delete them, attempting to delete the --reporter file results in rm: illegal option -- - I haven't attempted to delete the one called / I'm too scared, help!!",negative
964"no worries! You should answer your own question, so others in future know what the issue was.",positive
965"For someone who uses the Ctrl-W bindings in vim habitually, it is incredibly annoying to have Chrome OS ask me, ""Wanna close this window, then?"" How do I remap keys in Chrome OS? Can't find this top secret setting anywhere.",negative
966No. I cannot seem to be getting the module to work. Its really pain staking.,negative
967"yeah, your pain is mine! This method described by ctrahey at least gives you some clue.",negative
968At the moment my divs load in one by one on page load. It's absolutely fine! Though when I make an ajax request and then to the same container my code then loops through all of the divs on the page rather than the newly added divs? My question is: how would I perform the same effect on only the newly added ajax success data? jQuery: HTML:,positive
969@JoranBeasley You're right for the new format though.. and I totally hate it :(,negative
970"Loved all 3 responses! I picked Gordon's because it allowed me to do an outer join and ignore rows that had an additional filtering parameter (I didn't ask for this but I was able to implement that later). JBrooks solution was great because it had a smaller footprint and allowed me to leverage functions, and shree's one was a little too verbose for my bigger project but still did exactly what I needed. Thank you all!",positive
971"I figured out, way of calling the Hub was not correct. For the time being i have modified my code as in Global.asax :- Works absolutely fine now :) Still figuring out better alternatives !!!!",positive
972"Excellent, thanks! That looks like an elegant solution.",positive
973It's works fine :) Thanks !,positive
974Excellent example and interesting discussion! Thanks everyone!,positive
975"What is the difference between and similarly and It is really painful when i align the controls with and when i try to align in the Design mode it adds the , how to prevent auto adding property to a control while aligning it, as I already defined the to it why it doesn't update the same property. Its really irritating when we want to do animation on controls, it reverses the direction of animation",negative
976@crush oh man would that be painful to query on!,negative
977"If the user hasn't checked anything there will be no $_POST['features'] or $_POST['fright'] You need to do an isset, or more precisely a ! isset",neutral
978"xp any, and win7 any.",neutral
979Why does the test return false?,neutral
980Isn't this just 0xFFFFFFFF ?,neutral
981I have a series with many null values all over the place on the line. I need the gap between those values to be represented with a dotted-line or whatever (another color). Any help will be very welcome :) thanks!,positive
982@RobG - I hate IE! jQuery is my final weapon.,negative
983"Hey I figured it out! I wasn't using Virtual, New, nor Override keywords effectively and I learned how to directly access the Font property of the progressbar control. I bet you guys figured all this out and was letting me think it through. Totally awesome! How did you guys get to be so smart? Well anyway, thanks for letting me learn from the best teacher of all. God bless! Craig. (Now, how do I close this question again?)...",positive
984Select the cells in question and do a find and replace... Find . Replace / I tested it and it worked perfectly :) Hope that helps!,positive
985"How can I get my Error, Logcat, Debug, etc. tabs to go back to the bottom-middle of Eclipse? For some reason, they moved up between the Package Explorer and the code editor in a vertical arrangement - I really hate it when sections of an IDE break off and dock to some seemingly arbitrary area.",negative
986"I built an xml-rpc server in Python using SimpleXMLRPCServer, according to the example in the Python documentation. I'm calling it from a Python client on the same machine. The body of the server function executes very fast on its own. But I find that xmlrpc client performance is excruciatingly slow, taking one second per call. (Using xmlrpclib.) A speed-up technique I found on the web () didn't help. My connect URI is: I'm running Python 2.7 x64 on Windows 7, but it works the same for 32-bit Python 2.7.",negative
987That thing is really really awesome!,positive
988"Take a look at this , and rejoice! :)",positive
989"I'm rethinking the design of my GUI. I designed a few JFrame with Netbeans automated GUI (yes, I'm lazy, and this generated code is often awful, I know !), but now I want them to be JPanel (actually, to inherit from another class that inherits JPanel). But I had the ""setDefaultCloseOperation"" modified, so my code is broken : setDefaultCloseOperation is impossible for a JPanel. Since I can't modify the generated code, I was wondering : is there a way to make Netbeans understand I changed my mind, and regenerate the code ?",negative
990"I have a BufferedWriter to which I use to write characters into a PipedInputStream. Based on keyboard events. But I am implementing a backspace handler, but I can see no way of doing so without unputc. I am almost falling back into using a string to buffer the current line. Perhaps, I could do a better job using Canvas instead. (God how I hate java!)",negative
991Take from :,neutral
992Where is `bInfo` defined?,neutral
993"I really hate when this happens.. I search and search for an answer and then I post a question. Then minutes later I find the answer.. The answer was on line 5.. this let me make the call.. I mean I get a pile of junk on the screen, but it doesn't fail... no exception.",negative
994"Hey I just had to solve this on a project I am working on, here is my answer Then in my configuration (I am using Fluent NHibernate to configure my unit tests in code) AWESOMENESSSSSSSS!",positive
995The ``-Q`` option doesn't seem to exist on my machine.,neutral
996"Thank you, the first example was extremely helpful and I now have it working, thanks!",positive
997"Excellent, I'll check that out later, looks promising, thanks!",positive
998+1 I do not have cell phone and credit card since 2007,neutral
999What database platform? sql server? oracle?,neutral
1000doesn't work. how do I do this?,negative
1001wonderful :-) :-),positive
1002"Aye, the timer idea would result in horrible flickering for sure!",negative
1003Mark B - excellent - works perfectly ! Thanx again :),positive
1004"You never compile an .h file by itself, I think.",neutral
1005"`CREATE TABLE [[With Spiteful]]] ([[Identifiers]]] INT, []]^!^[] CHAR(10))`",neutral
1006"I've been reading about MVC design for a while now and it seems officially the View calls objects and methods in the Model, builds and outputs a view. I think this is mainly wrong. The Controller should act and retrieve/update objects inside the Model, select an appropriate View and pass the information to it so it may display. Only crude and rudiementary PHP variables/simple if statements should appear inside the View. If the View gets the information it needs to display from the Model, surely there will be a lot of PHP inside the View -- completely violating the point of seperating presentation logic.",negative
1007Is entity an instance of class?,neutral
1008Excellent! it's very useful to me!,positive
1009"Let's imagine something like this: Later I can do something like this: Is there any way I can set the limit when using the named query, and not when defining it? I'd would really love to do something like: or Thx in advance! :-)",positive
1010Excellent! Cheers dude,positive
1011"Is there a way to set which activity is to be started anytime the application is opened? Obviously I have the Intent Filters android.intent.action.MAIN and android.intent.category.LAUNCHER, but I want it to reset to this activity even if the App wasn't completely killed (if it wasn't, now it just goes back to the last activity that was open)",neutral
1012This code is scary :(,negative
1013"I have a big problem. I've created site, using jQuery, but it runs very slowly. On mobile phones it's terrible! And I don't know, what's wrong... Someone can help me? Links doesn't works yet, because I want use CMS on this layout, but before I want to little optimise these scripts. Here's test site: And here are the scripts:",negative
1014"Try this: If you really hate subqueries, you can use: But in this case Student table have to contain unique entries for one student entity.",neutral
1015That's very sad :(,negative
1016"You need to the file name as you build your URL. This will escape the '#' character, allowing the browser to interpret it appropriately. Proper encoding is very important for preventing attacks against your application, which can be devastating.",neutral
1017"Why do you not want to store it in the assets folder? That's what it's for. Regardless, you can't reference your local hard drive for it. (also, personal opinion, Monotype Corsiva is a horrible, horrible font) EDIT: So I would add, you should be able to do it the way you're doing it, you just can't use your local hard drive. Just get a reference to your TypeFace as a , depending on where you are saving them (e.g. ) and use .",negative
1018Try this: This project explains how to make a multi colored string.,neutral
1019is there a eval function in ML?,neutral
1020NicoGranelli mentioned Nancy(). It's really great! Plz check this project JabbR() It's a chat involving SignalR and Nancy. Great Job!,positive
1021"JSPs must not include any code that requires dependency injection. So don't do it. If you really must, you can use But this is extremely ugly.",negative
1022What's the proper way to write?,neutral
1023list.pl Pgm.pl is it possible ?,neutral
1024how to replace all and and to ',neutral
1025"Are you expecting to speed up the video without affecting the sound, or did the timer solution just make the sound aggressively awful?",neutral
1026Are both SQL and the .NET in the same language?,neutral
1027Are you using this program in 64-bit linux?,neutral
1028See: http://stackoverflow.com/a/15764763/1709992,neutral
1029"What you are implementing here is very similar to a . Doing it by hand is the only way I'm afraid! My advice is to use in your class A definition and override the properties for your class B implementation: Functionally, this will act similarly. The only downside is that your wrapped class A instance can no longer be changed independently of your class B instance. Is this a requirement?",negative
1030"I hate Dev-C++ but because of a library, I have to use it!!! What's the matter for Dev-C++ or are there errors in my code about using referance variable? Error: 9 C:***\main.c syntax error before '&' token",negative
1031too bad it hasn't been updated in 2 years. And using the fetch/gclient is really painful,negative
1032Private: _variable_name and Protected: __variable_name,neutral
1033"OK, I can continue to do web dev on my mac by sharing the webdev folder on my ubuntu laptop. This is a really terrible solution though.",negative
1034its not lining up side by side.,neutral
1035Inside Inside Any work arounds?,neutral
1036Edited with form submit event handler,neutral
1037"That's excellent, and works absolutely beautiful!",positive
1038Blimey - I hate XML Namespaces!,negative
1039"yes, that is what I'm after",neutral
1040Is there a way to zoom extents of a collection of shapes without computing min/max xy's and wh's - very painful when sloping lines are involved. Perhaps some kind of pixel detection?,negative
1041What version of Python is it?,neutral
1042+1 pines is excellent!,positive
1043Is it to use the ViewData argument? As you already have seen that would be absolutely horrible. What I want to know is this: What is the recommended way to pass this sort of layout configuration to the partial view? By using a view model of course: and then: and then: and then: and then: and so on...,negative
1044Loved the keyboard geeks part!,positive
1045"In my android app i'm trying to share an Open Graph including an object and an action. In my facebook app i added a story: and (is this ok?). When i try to add an image to the object in the OG i get above error. This is my code: here's the logcat: What am i doing wrong? Maybe i'm messing up some strings in the story, facebook tutorial is awful!",negative
1046hi guys I am trying to create a program to allow a user to input a sequence of brackets (one at a time) and check to see whether there is a corresponding ending bracket. The brackets are entered on a new line every time to aid in the reading. I've set up an ADT for it but just cant think of how to get the while loop going and the checking...... I know if an ( bracket is entered i should push that into the stack and when a ( is entered i should pop one of the stack but I just cant work out the bits in the middle any help would be loved :) //ADT code,positive
1047"I have found the from Position Absolute to just be that, Absolutely awesome! :). I have an on how to include it in ASP.NET MVC and in ASP.NET, you could just pass it the generated form id.",positive
1048You could achieve all this with reflection but it would lead to a really horrible code. You'd better access individual members of the view model:,negative
1049"I didn't find a solution. Thus, I delomboked the source code and done it with plain vanilla Java... sad :-(",negative
1050"Tested/cross-browser: If there is no submit button, the form will degrade miserably if javascript is not available!",negative
1051Is this sort of thing possible:,neutral
1052"Excellent, thanks!",positive
1053I have a datagridview and need of context menu. When i right-click on cell (RED POINT) - context menu shows.. But in wrong place. Can't understand why here is the code: That stuff really annoys me!,negative
1054Try to use the System.DateTime class.,neutral
1055"You have two divs, one over the other, and the one on top is transparent. However, when you scroll you want the div on the bottom to hide as it goes under the first transparent div. You don't want the second div's to change to as soon as it goes under the first div. You just want the part that is under to be hidden. I've googled extensively for an answer: #1-4 answer make the div on top or . The problem with this for me is my background is a photograph, i.e. as you scroll down what you see is different, as opposed to a colour or a pattern. The ""background"" of the transparent div needs to change as the real background changes. #5 offers a solution to this using JQuery however there are horrible, horrible issues with scroll lag in browsers not Firefox. Folks, how do I do it?",negative
1056"+1, Excellent explanation!",positive
1057I saw questions about GWT + SPRING + HIBERNATE integration but none is clear or up to date with the current versions! Please if there is anyone who has a clear and simple example of the integration (form submit and saving in DB) I will be extremely thankful! If you could put the simple project in a ZIP and upload it (with its jars it will be great) Thank you!,positive
1058How large is the file? Can it fit in memory?,neutral
1059"Not sure this answers the question accurately, what does everyone else think?",negative
1060This worked for me.,positive
1061Could you rewrite the question to reflect that?,neutral
1062i.e. is it possible to do this:,neutral
1063"Error handling in classic ASP is a complete pain. You can catch the error where you think it's going to occur using , then check for the error code in the following line of code. Alternately you can scan the server logs for 500 errors. or set up a ""500 error"" page in your IIS settings.",negative
1064whatever generated this code is terribly broken!,negative
1065what's the difference between ?,neutral
1066I think you'd be better off with Iterables.,neutral
1067I didn't know that. I always thought it was AND.,negative
1068What are you trying to use this offset for?,neutral
1069It does not support postgres yet.,neutral
1070I think you are looking for the .,neutral
1071Could you give the corresponding URLs in a comment so someone may edit them into your answer?,neutral
1072"When I apply on()-handlers I prefer the following notation if I have more than one to apply: Does anybody knows how to set a namespace within this notation? I solved the problem in this case with falling back to a single notation: But I really hate to repeat myself. Same issue/question for using the off()-method with more than one handler. This works: I bet the off()-thing is a easy one, but I don't get it after coding the last 15 hours.",negative
1073"I'm new to ror and am finding the scattered documentation extremely frustrating! When the commands rails generate model or rails scaffold are any fileds automatically created. I'm thinking here about the Id field in particular. Additionally, could anyone point me to the documentation which specifies this?",negative
1074+1 simple is élégant.,neutral
1075can do it ! And you can find other plugins on the . Note that you cannot use this plugin with github pages. This video is excellent !,positive
1076Here's a really terrible hack if you don't want the indirection and don't mind doing the cleanup yourself:,negative
1077"I have imported the data into an database. Patient(pt_id,pt_name,pt_type,pt_loc) Now , I want to find which of these a primary (have unique) values. Any way I could found is would return the same value Any input would be great :) Thanks!!!",positive
1078"I have a controller which has a few actions, which are triggered by hitting various buttons on the page. I would like to have a default action, but am unsure how to annotate the method. Here is an example: How can I annotate a method which will act on a POST with any submit button pressed with no key selected? I have tried: I'd really hate it if I had to set required = false on each of the methods which take RequestParams and then conditionally check to see if one comes in or not... Is there a way to annotate this to work properly?",negative
1079@MattBurland no worries!,positive
1080That's one bit of excellent logic! Thank you so much!,positive
1081"@ryanc: Excellent! Now I understand what is going on, rather than just thrashing, as before. I think your explanation (about the canvas ignoring `refresh-now` before it is open) is very sensible. (If any Racket developers are listening here, it seems a valuable tool would be a way to pause until the frame is ready for action, platform-independent.)",positive
1082I'm in Ubuntu using gVim. Something is just wrong with the Window management of gVim - it keeps resizing on me! ... It usually happens when I either switch tabs or split the window or switch between splits. Any help would be completely awesome! Thanks!,positive
1083"And on what platform? (HTML, Winforms, VB.NET) ?",neutral
1084I am have used the remove data method to remove validation from the page. This works but throws an error in the console window and crashes with IE8 (I'm being forced to develop to this browser...sad I know!). Does anyone know how I can stop this error? Here is my code to remove the validator: Here is the error message from the console:,negative
1085"There is a such thing as a [sublime-project](http://www.sublimetext.com/docs/3/projects.html) file which you could check into Version control, but it seems like it could be overridden by Syntax specific settings per the [settings doc](http://www.sublimetext.com/docs/3/settings.html), and people would likely have to use the project file to get the benefit. [This blog](http://net.tutsplus.com/tutorials/tools-and-tips/sublime-text-2-project-bliss/) is also interesting and applicable.",positive
1086Which version of the jQuery core are you using?,neutral
1087"Im working with VB 2010 In the form designer, trying to position some controls within a tab control. Sometimes when I drag a control to position it, it gets placed on a different tab than the one I currently have selected and am working with. This is extremely annoying and seems to happen randomly. Does anyone else ever have this issue?",negative
1088"that's what I thought, that's why I'm surprised",neutral
1089"Just had this happen to me.. very annoying! I am using ""Pandora Recovery"" to try and restore the files, because I have no other backup.",negative
1090I have an selfmade Stringclass:,neutral
1091`Logger logger = new logger.getLogger` - I'd be more worried about the impending logpocalypse!,negative
1092"Yes, it's possible, juste remove the second parameter of your method (it's totally useless) ans it will work (I tested the code) !",positive
1093Doubles aren't compared that way in real life...,negative
1094Never hardcode urls. Always use url helpers when dealing with urls:,neutral
1095Maybe this will be of some help -,positive
1096"I would suggest you always take a normalized approach to your database schema and then later decided if you need to create a solution for performance reasons. Premature optimization can be dangerous. Premature database de-normalization can be disastrous! I would suggest that you stick with the original schema and later, if necessary, create a reporting table that is a de-normalized version of your normalized schema.",neutral
1097Combining NH attributes and some FNH automapping stuff looks very scary. I do not understand it at all but IMO classic ClassMap is much more transparent. You must pay with more key strokes but your head hurts less:). and this code deletes connection and endpoint as well from database:,negative
1098"I'm using MongoMapper and am trying to come up with a way to use an abbreviated field name. I want to keep the keys as plain english but have the field names stored short (e.g. ""name"" maps to ""_n""). I noticed a conversation but it ended up closed () and I was wondering if anybody has an example of how to accomplish this. I'd be extremely grateful for any feedback!",positive
1099To hide virtual keyboard try/use this,neutral
1100"Ohh, well this is sad! I found the error and it unfortunately just was a typographical error...",negative
1101"Yes, schema changes are instantaneous",neutral
1102What is the right way to call ?,neutral
1103https://mathiasbynens.be/notes/reserved-keywords,neutral
1104"I ran into the same thing a few years ago with a PI system, so I do feel your pain!",negative
1105I suggest you open the file using a and share that instead of the .,neutral
1106"I found the answer! It appears to be an issue with sending to the development device tokens. Like most people, we have a database that stores the device tokens, and the earlier records were populated with our device tokens from testing. As soon as I net out those device tokens from my list, all works! I really hope someone finds this useful!",positive
1107This one does not: Why is that?,negative
1108using bash:,neutral
1109That's super great ! @JoshuaNozzi Thanks !!!,positive
1110New to programming and this is my very first post! Very exciting:D Thank you all in advance for sharing your expertise. I would like to be able to somehow reference the earlier created timer and to be able to extend it (call Change upon its instance perhaps?) on Button2_Click. Please take a look at the code below:,positive
1111See related: http://stackoverflow.com/q/4155993,neutral
1112Theoretically if you wrap the functions of each file in a separate class then you can call them both without problems. You don't even need to really worry about class state if you call them statically.,positive
1113On the WordPress repository is a plugin called wp gcm. Its a really great one try it out!,positive
1114"Sure, you can. Just mark your content with the appropriate langauge code: if you use the following CSS, the spanish text is formatted with the most-loved font style comic sans ms: Easy!",positive
1115"Excellent!, thanks for remembering :)",positive
1116my experience with SOAP is not good ): and documentation(at least in D2010) is extremely poor!,negative
1117"In my case sometimes begins work after ""Source Control/Update"". Actually, its terrible bug, you have no guarantees that you see actual list!!!",negative
1118It is really sad that answers need to be more than three characters,negative
1119Oh wow! That does an excellent work! Thank you!,positive
1120"I have a slider built into my web page thats dimensions and ratio alter for different screen sizes, I need the images that I place within this slider to also alter for the same purpose. The code that I have does't seem to be working, I'm a bit of a newbie to jQuery and have pieced it together myself but I think that its essentially quite close to being functional… Any help would be hugely appreciated! M",positive
1121"Thank you, you're positively awesome!",positive
1122Works very fine with jquery!,positive
1123"Excellent question! There doesn't appear to be a control in Eclipse to do it, but these two blog entries: both say it can be done in the windows registry. Caveat: I have not tried this.",positive
1124There are APIs for real-time data. See my answer,neutral
1125Absolutely Beautiful!,positive
1126Excellent! That is what I'm looking for! Thanks very much!,positive
1127"While we're at it, there is no such thing as Unicode. Well, there is, but it does not concern itself with earthly matters like files. There are numerous encodings which bridge that gap, but you don't appear to be aware of that or the difference this makes. See also: [The Absolute Minimum Every Software Developer Absolutely, Positively Must Know About Unicode and Character Sets (No Excuses!)](http://www.joelonsoftware.com/articles/Unicode.html))",negative
1128"Excellent Rickard! This, together with Black Panda's advice helped us track it down.",positive
1129"@Martinho: Indeed. But you have to learn an awful lot of C++ to understand WTF type traits do, and what the corresponding syntax means!",negative
1130IronPyton is your thingy dawg,neutral
1131for completness: http://en.wikipedia.org/wiki/RAII,neutral
1132I think StaggeredGridView is what best suited for your requirement. this is the link go and download and attach this library to your project. I used this and it works very beautifully..!,positive
1133"Heroku is an excellent (free) option: Also, deploying to Heroku is as easy as it gets!",positive
1134Where is the func module? Is there any docs in SA?,neutral
1135"Pretty self explanatory question. I just don't know how to do it. I've been using Eclipse for about a month so I still have a lot to learn. I'm using the newest version of eclipse Juno and need to push the app (or email it) to my MyTouch. How would I do it from eclipse, as that is the way I would prefer? If I should just email it, would I email the whole project folder or just a particular piece of code? I thank you for all your help in advance. This site has been so incredibly helpful!",positive
1136"The ""main view"" is set in the application's Info.plist with the key",neutral
1137Can you not set the width on the containing div?,neutral
1138"Calculate the height is easy, enjoy: Hope it will help! UPDATE!!! You only need: Instead of:",positive
1139When must we use keyword in C#?,neutral
1140Probably your answer is better given as a comment.,neutral
1141it's just a user upload a file.,neutral
1142"thank you, i just want to be loved :-)",positive
1143"I have spent days trying to find any information or working samples on how I can get google data such as emails in my gmail inbox, list of my contacts, my calendar events etc... None whatsoever :( There are broken pieces of some code fragments here and there, 90% say it's been deprecated, is the a one single page on the internet that gives me a working example how to do that from javascript. Many pages about oAuth, but I have absolutely no idea how to use it , I have spent days reading broken pieces here and there, but I was unable to understand what that it and how I can use it PRACTICALLY. Very sad, and I am very tired to waste so much time on things that dont work and are not documented in human language, possible to understand. Why do they have to overcomplicate thing so much and spread broken pieces of information everywhere?",negative
1144I believe Mendelt is referring to the Do method.,neutral
1145What languages do you work in? Is there a specific Testing Harness you recommend?,neutral
1146I m using Watir..w Ruby.. Excellent!!!,positive
1147Use a real GC instead of reference counting.,neutral
1148I know it's not what you asked but may I suggest using NIVO Slider? I've used and it's excellent!,positive
1149@Stultuske Depends on the context. I would totally abuse a library.,neutral
1150-1 undefined behavior,neutral
1151"With an you would get different results for and , but that class is clearly documented as violating the general contract of maps: This class is not a general-purpose Map implementation! While this class implements the Map interface, it intentionally violates Map's general contract, which mandates the use of the equals method when comparing objects. This class is designed for use only in the rare cases wherein reference-equality semantics are required. For normal Map implementations there is no problem with using string keys.",neutral
1152I think this question belongs to ServerFault.com,neutral
1153I really hate to give any pointers without explanation but i think your requirements are bigger ::: so --->,negative
1154Absolutely terrible!!! It is not Dependecy Injection,negative
1155"I may have a solution for you: 1. Go into google chrome settings 2. Click advanced settings 3. Click show advanced settings. 4. Under ""privacy"" click content settings 5. Go to the media section (near the bottom) and click ""Allow all sites to use a plugin on my computer"" Really hope this helps! If you extra help, check out this for more information.",positive
1156This is definitely great for small stuff!,positive
1157Indexed lookups in LinkedLists are O(n). That'd could be terrible for a 3d array!,negative
1158"This is one way of handling it, if you're receiving uploaded files.",neutral
1159What I am trying is : D:\workspace_sts\HerokuSampleApp>heroku pg:psql ! Unknown database. Valid options are: HEROKU_POSTGRESQL_GRAY_URL Seems I am missing the [] brackets for the DB URL D:\workspace_sts\HerokuSampleApp>heroku pg:psql postgres://XXXXXXXXX:pcb24a2s4fd2327p9qdhq4pelv5@:/d 5vj802XXXXXXX ! Unknown database: postgres://XXXXXXXXX:pcb24a2s4fd2327p9qdhq4pelv5@:/d5vj802XXXXXXX. Valid opt ions are: HEROKU_POSTGRESQL_GRAY_URL,neutral
1160This is for SQL Server 2005+. Output:,neutral
1161"I have an old friend who is a mathematician. He has his own math to compress his formulas, which are incredibly beautiful. He works in a program called Mathematica, which transforms the formulas for 3D-shapes. I wonder if it is possible to obtain these figures using Canvas and JavaScript? See attached formula and figure. I know little of this myself. But I would be delighted if some one could show me an example.",positive
1162how to do this in codeigniter ?,neutral
1163"i work with Office 2007 (excell) in my C# program. i do this reference: it work excellent !, but if in the computer there is Office 2003 is it work good ? if not, what i need to do ? thank's in advance",positive
1164"The problem is that you never run the method, so the field stays at zero. It's a really terrible idea to give a field and a method the same name.",negative
1165"So I am using the android Alarm to try and hit a PHP script every 3 minutes....it's going to check if a notification needs to be sent to the user. I keep getting a nullpointer exception, and whats more weird is...whenever I run another POST or GET request, the alarm fires off as well (even though its set to ONLY every 3 minutes...) Here is my code for the alarm (AlarmReceiver): here is my code to set the alarm (on MainActivity):",negative
1166"Is it possible to re-open an .xcarchive file on Xcode? I know this is not common, but I would like to open a project exactly as it was submitted to the App Store. I don't have back up of that exact build, so it would be really great to open the archive copy! Before you ask why don't I just download it from the store, I must say this build has been approved and is just pending on my release. :) Thanks!",positive
1167Excellent! Thanks :),positive
1168"If you are really worried about performance, FirstOrDefault is O(n). Your second query is only going to execute if the first is null. You could try using .Any(predicate). First() lends itself to try { } catch which might be better for your situation. You don't really need to worry about performance optimization until it becomes an issue, though.",positive
1169This code works absolutely fine!,positive
1170"Wow, great site, and people I got in an answer in less then 5 minutes! Thanks SLaks!",positive
1171Your formatting is absolutely horrible to read. Could you fix that?,negative
1172I'd do something in the order of:,neutral
1173I am really desperate :(,negative
1174"Ah, excellent! :)",positive
1175"Excellent, exactly what I needed!",positive
1176I can't believe one of those Regex haters hasn't posted a comment about how parsing HTML with Regex contributes to the rise of Cthulhu!,negative
1177thanks so much! excellent insight!,positive
1178"how can i use the bliss view engine instead of the usual jade engine in express js. i already found one article here at stackoverflow, but this seems to be for the old version of express.js. i am using the 3.x version. in particular i would like to know how i can install bliss and following to this. how do i make a project in express.js, with a different view engine then jade? currently i use this command in my project folder: thanks in advance!",positive
1179"I am getting very strange flickering on a WPF application of mine. It only happens with alpha blended content, only on my computer, and only with WPF applications. At least I haven't noticed it with anything else. It's really annoying! Has anyone else dealt with this weirdness?",negative
1180"if this question is fit for SO, then this is the only correct answer..",neutral
1181"what I want to know is, what does create? what can I do with it? what does it mean? Every tutorial without fail will avoid talking about the first version entirely The reason the tutorial doesn't rell you what to do with it is that it really is totally useless! It allocates a single and gives you a pointer to that. The problem is that if you want an int, why don't you just declare one?",negative
1182"I am using Internet Explorer 11. Something annoying keeps happening when I add code to my site through the CMS form that I use. Take this line: Let's say I want to copy just this in IE, through the form on the page: When I go to copy just that section, it actually copies this: It is VERY annoying! It doesn't happen on Chrome or Firefox. For reasons with the CMS I have to use Internet Explorer. Is there a setting I can change so that doesn't happen? On Windows 7 if that helps. Sorry if this doesn't 100% fit with programming, someone let me know if there is a better place for this question.",negative
1183Any reason for not using ssl?,neutral
1184:D :D :D :D :D :D,positive
1185Cant you just use namespaces?,neutral
1186Here it is:,neutral
1187@user3083131 no worries!,positive
1188"Netbeans is showing all files and folders under /var/www/application/app/webroot/ as ignored, but that is not what is in the .gitignore file. Any ideas? This is incredibly annoying. Git version 1.7.9.5 Netbeans version 7.2.1 (Build 201210100934) Here is the ignore file:",negative
1189One example is if you provide a custom in . Obviously calling wrong will likely produce devastating results.,neutral
1190Has Delphi analog of enum in C?,neutral
1191What does ABC in WCF stand for?,neutral
1192This should do it (it's not quite a one-liner I'm afraid):,negative
1193"I am sorry for posting so many questions, but getting this to work has been incredibly painful, even tho Testflight makes it much easier I figure this has got to do with my Apple Push Notifications. I am using my distribution profile across all my settings. My app has been configured to both development and production. What could the causes of this error be? As a side note, i have been working on this for the entire day, and i get stuck at one thing after the other, esp involving static libraries and xcode4. Am I really bad at this, or does Apple really make it so hard?",negative
1194"Is it possible (or desirable?!) to set up to behave more like ? For example, instead of writing why can't I just write Similarly, instead of why not just",neutral
1195"@JoranBeasley Please read [The Absolute Minimum Every Software Developer Absolutely, Positively Must Know About Unicode and Character Sets (No Excuses!)](http://www.joelonsoftware.com/articles/Unicode.html). Unicode is not a character encoding and not concerned with bytes, though as a matter of fact you cannot fit all unicode code points into 16 bit because there are more than 2^16 of them.",neutral
1196@Bukes: That's disgraceful :(,negative
1197Clients deliver us files that big that we have to parse through.,neutral
1198Look into these links. They may help.,positive
1199Very painful and doesn't work with inputs from the user.,negative
1200What an awful Api!,negative
