instruction_seed
stringlengths
1
35.8k
_source
stringclasses
1 value
A db with several hundred tables will usually have more then few enums/sets defined in it. How do you synchronize you PHP code with the enum values, to avoid using string literals in your code (which we all know it just seems easier, but in the long run causes stupid bugs). The only good solution I can think of is usin...
stackexchange/codereview
Im working on a slideshow based on the jquery cycle plugin (found here: http://jquery.malsup.com/cycle/). The slideshow slides between different divs where I can put different content such as images and text. However i'd also like to add swf movies to the script wich just on a basic overview works. The video starts pla...
stackexchange/codereview
I have a homework to do that says the following: Write a program in C that creates a child who will also create a child, make a pipe between the three processes, the fist process(father) will connect the second(child) and the child will connect with the third (child of the child). Our program should display the total ...
stackexchange/codereview
I am creating more than 1 <a href="#"></a> elements dynamically. The id attribute is also dynamically assigned. Like <a href="#" id='delete"+id+"'></a>. ID will becomes like delete01, delete02, ... I want to call a function when clicking any one of these element. I just know, $("#someId").click(this.someFunction()); ...
stackexchange/codereview
I am retrieving an image from SQL Server to display on a new page in my ASP.NET 4.0 application using this method (one of my posts): How to display an image based on SelectedValue in a GridView? I am then displaying the image in a new window using this method: (one of my posts): How to display an image in a new window ...
stackexchange/codereview
i am doing : <Button Style="{StaticResource buttonstyle}" HorizontalAlignment="Left" Margin="12,21,10,0" VerticalAlignment="Top" Height="78" Width="83" BorderThickness="2" Content="add event" Command="{Binding NewEvent}" CommandParameter...
stackexchange/codereview
I'm trying to dynamically add Images to a ScrollView. Before adding I check if there are any subviews in the ScrollView and delete them in a for loop. When I release the imageview I get a runtime error stating i'm trying to acces a deallocated instance. If I remove the release statement the application will run correct...
stackexchange/codereview
hello i have some problem with my javascript code.. i want to get xy position the selected text in javascript, and i use offside function like this : function findPosX(obj) { var curleft = 0; if(obj.offsetParent) while(1) { curleft += obj.offsetLeft; if(!obj.offsetParent) ...
stackexchange/codereview
We have several classic asp web application that instantiates a visual basic 6 component, passes a (possibly huge) xml string, and gets back a (also possibly huge) xml string. This component is the only way we have to interact with the database. We are planning to rewrite this component using java. The idea is to left...
stackexchange/codereview
I'm refactoring my code. Consider this example... public virtual List<Student> FetchEnrollmentList(DateTime admissionDateFrom, DateTime admissionDateTo) { var students = new List<Student>(); using (oconn = new OleDbConnection(OracleConnection)) { oconn.Open(); ...
stackexchange/codereview
Hey. I have a list of items that the user can search. The search results are displayed in a listbox. Each animal object has a path to an image in Isolated Storage. What's the quickest way to bind my Image control inside the listboxitem to the image in the isolated storage? Examples I've seen tend to display images fr...
stackexchange/codereview
I was looking at C++ STL vector template code to understand exactly how it is implemented. I have very basic understanding of template programming, could you give a clear explanation of the expression typename _Alloc = std::allocator<_Tp> excerpt from STL vector as below: template<typename _Tp, typename _Alloc = std:...
stackexchange/codereview
I'm building an iphone app, and i have my first view call a second view when a button is pressed. The second view is a UIPicker with a button. When the button is pressed, I want to return the data from the UIPicker. How would i do this? Here is the code i have so far: This is the Button that calls the subview -(IBActio...
stackexchange/codereview
I have 3 JSON strings coming in with POST and want to merge these into a 2 dimensional array and save in JSON format to the database. For this example I have image URL's, alt descriptions and booleans isfavorite $url_arr = json_decode('["http://site.com/001.jpg","http://site.com/003.jpg","http://site.com/002.jpg"]'); $...
stackexchange/codereview
To which Java data types can (or should) my application map Oracle column types TIMESTAMP WITH TIME ZONE or TIMESTAMP WITH LOCAL TIME ZONE? Can the Oracle JDBC driver map these types to either Date or Calendar objects? Does Calendar preserve the time zone value whereas Date does not?
stackexchange/codereview
private static final String DB_NAME = "MyDebts.db"; private static final String CREATE_DB_QUERY = "CREATE TABLE " + Dao.CONTACTS_TABLE_NAME + " (ContactId varchar(64), Credit integer);\n" + "CREATE TABLE " + Dao.SETTINGS_TABLE_NAME + " (Name varchar(64), Value varchar(64));" ; @Override public void onC...
stackexchange/codereview
I'm about to develop a rich client desktop app. The last thing I want is the standard form controls, which are pretty boring, good for business apps, but boring for my target audience. I'm proficient in web dev, so I was wondering if there was a way to use more web style custom controls in a .net app. I don't want to ...
stackexchange/codereview
I'm trying to do a friend search app. So to do that I'm using regular expressions like: SELECT ... WHERE firstname REGEXP $firstname And the $firstname variable is a string - for example: (ch|k)ris But for some reason it does not work. maybe the ( | ) doesn't work in MySQL? What can I use instead of that operator t...
stackexchange/codereview
I am trying to integrate eSELECTplus (Moneris) with my application using PHP and I keep on running into weird error. Everything works fine as long as I am using the test api key and store id. When I switch to live API key and store id i start getting "SQL Problem" from the server.. that's the response that I get back f...
stackexchange/codereview
Heyo! I am writing an application in Qt/C++ that creates connections between peers. The first step in my protocol is for a new peer to broadcast it's information, soliciting connections from established peers. The location of these peers is unknown. To do this I am using a UDP Broadcast. Since this broadcast contain...
stackexchange/codereview
Anyone know how I could go about drawing buildings with 3d perspective height, like in the original GTAs: http://www.gtanetwork.it/gtaold/pics/screen/gta1_01.jpg in Flash? I've tried using beginBitmapFill() and drawing the polygons but the texture doesn't look right because it lacks the correct depth. Anyone have ideas...
stackexchange/codereview
I have forked a project on github and started messing around with it on my own machine, I want to commit the changes I have made back to my fork on github but without commiting the changes I have made to the .cfg file, since this contains things like db password etc
stackexchange/codereview
In my program, i need to verify that the parameter passed to the program is an integer, so i created this little function to handle the case where user typed "1st" instead of "1". The problem is that it doesn't work at all. I try the debug and all i can tell you is that the parameters are 12 and the long is 2. (12 is ...
stackexchange/codereview
How do I reduce the width of the left margin area shown below, marked in red?
stackexchange/codereview
Has anyone managed to do this? Basically I am looking for the following: <?xml version="1.0"?> <configuration> <facilities> <facility id="nhibernate" isWeb="false" type="Castle.Facilities.NHibernateIntegration.NHibernateFacility, Castle.Facilities.NHibernateIntegration" con...
stackexchange/codereview
I'd like a code sample. I'm tryng this: DECLARE var NUMBER; BEGIN /*N.B. for loop variables in pl/sql are new declarations, with scope only inside the loop */ FOR var IN 0 .. 10 LOOP DBMS_OUTPUT.put_line(var); END LOOP; IF (var IS NULL) THEN DBMS_OUTPUT.put_line('var is...
stackexchange/codereview
My MonoTouch install is screwed somehow (MonoDevelop won't even open). So yesterday I deleted /Developer/MonoTouch off my Mac because that was the only directions I could find for uninstalling it. Today I tried reinstalling both it and MonoDevelop. Both installers ran fine, but I still have the same issue so I went t...
stackexchange/codereview
I'm using an AutoResetEvent where multiple Set calls can be made on an event (Exception handling). There are times when an extra Set is called, thus when the code makes a second call on a WaitOne event, it just passes right through because the gate has already been opened. The solution is to call Reset right before th...
stackexchange/codereview
How can you do this without repeating the code after the .text.error and .text ? -if f.object.errors.any? .text.error = f.label :email = f.text_field :email %p#foo= "Escriba el e-mail" = render 'shared/error_messages', :object => f.object, :param => :email -else ....
stackexchange/codereview
I need to be able to let users send each other gifts from my facebook app. I know how I'm going to store the gift data in the database, but I'm not sure how the user cans elect friends to send the gift to. First I tried this: <fb:fbml> <fb:request-form action="index.php" method="POST" invite="true" type="YO...
stackexchange/codereview
I'm using jQuery plugins in an ASP.Net MVC site. I've often to include CSS and JS files as required by the plugins I use in every page. So I want to centralize all those dependencies in a single place in my app. thus if a dependency for a given plug-in is changed or updated, I'll only have to modify a single place in m...
stackexchange/codereview
I am going to write a JavaScript parser, I would like a set of test cases, i.e., things that should parse into what (and possibly things that should not parse) that I can throw at my parser to test its correctness. I don't want to test running of JavaScript, just parsing. I am reading through the ECMAScript spec and cr...
stackexchange/codereview
For simple program data that needed to be saved I just used properties files before but I was wondering how I can save more complicated application data such as: arraylists e.g.. How would I save such data into a file? And is there a way to save it in a file with my own extension ( so not .properties for example when u...
stackexchange/codereview
I have written the following code, which should check if the entered number is a prime number or not, but there is an issue I couldn't get through: def main(): n = input("Please enter a number:") is_prime(n) def is_prime(a): x = True for i in (2, a): while x: if a%i == 0: ...
stackexchange/codereview
How can I add to my app that little "plus" button that the Contacts application has in the upper right hand corner of the window? I would like to be able to hit that button and bring up a screen to add a new entry to the table view.
stackexchange/codereview
I tried to include an ADBannerView into my application. But the ADBannerView always ends up in bannerView:didFailToReceiveAdWithError:. I'm not able to see any test ad. I've also downloaded the iAd Sample Code from Apples DevCenter but I end up with the same error. 11/5/10 5:46:33 PM BasicAdBanner[12072] { ADIntern...
stackexchange/codereview
I'd like to have login and logout on the first page of my grails application and have any error messages displayed there. I have an authentication function coded in my User domain along with a logout function. After someone logs in in the authenticate function, I manage to get them back to the main screen by doing a re...
stackexchange/codereview
I have bits of piecework being done by different custom (source code unavailable) frameworks which hand back Map instances. Unfortunately, these frameworks are not consistent in their returning Map instances which have been wrapped with Collections.unmodifiableMap. To ensure a higher degree of immutability (for easier ...
stackexchange/codereview
This is my main program, int main () { string command; cin>>command; if(command == "keyword") { string str, str2, str3, str4; cout << "Enter first name: "; getline (cin,str); cout << "Enter last name: "; getline (cin,str2); cout << "Enter age: "; ...
stackexchange/codereview
I think I am missing the point of scaffolding, does anyone use RoR scaffolding and if so can they point me to any specific examples of how they use it? I am a big sass and compass fan, is it possible to incorporate this into scaffolding?
stackexchange/codereview
I have a file in the format, where each line has double numbers seperated by spaces, e.g.: 1 -0.5 0.567 0.123 What is the correct way to find files not in this format? I've tried: [^0123456789\.\-\s] But it did not work, any help?
stackexchange/codereview
Normally when you go to google.com it redirects you to the homepage for your country (e.g. if it detects that you're in India, it redirects you to google.co.in). What link can I go to if I want it to always take me to the generic Google homepage?
stackexchange/codereview
Alright guys, I'm sure there is a simple solution to this problem. I have four IBActions;up,down,left,right. I only want One action to execute leaving the other three available, e.g. If I press up, only down,left and right are available to be pressed, so I can't press the same action twice in a row. And it's the same f...
stackexchange/codereview
Hey guys, I'm having an interesting issue, where I want to have a customized table view with rounded corners and a specific background, etc... This works fine, but everything is being set up in cellForRowAtIndexPath. This means that if my table view is empty, this method doesn't get called, and I get this ugly, blank t...
stackexchange/codereview
Suppose each Project has_many Tasks. If I do some_project.tasks = list_of_tasks some_project.save The project's tasks get updated even if the save fails. If list_of_tasks consists of new records, the project's tasks get deleted even if the save fails! WHOA! If the save fails, the project should have the same tasks it ...
stackexchange/codereview
Here's the scenario: our site uses Rails' default CookieStore for saving session information. Doing so suits our needs fine except for the fact that some customers who "login" on our site lose their authentication because they either: Are (unnecessarily) private browsing at a level that rejects cookies Are browsing wi...
stackexchange/codereview
I'm trying to make use of precalculated values by outputting them to a header file and then compiling them for use. The precalculated values are cube co ordinates mapped onto a sphere and the data structure takes the form of: typedef float heightMapCubeFace[5][5][3]; I am defining each face seperately like so: hei...
stackexchange/codereview
I'm trying to follow the general consensus that it's best to put one's domain objects in a separate project than their MVC project, but am getting the following compiler error: The specified named connection is either not found in the configuration, not intended to be used with the EntityClient provider, or not valid....
stackexchange/codereview
Let's say I have an embed code with a script that adds events to certain DOM elements. These would normally be links or buttons. Once an event is called I do an ajax call to record that click event. The problems comes in with links that redirect. So, adding an onclick event to an <a href="http://google.com">link</a> ...
stackexchange/codereview
I'm saving NumPy arrays using numpy.save function. I want other developers to have capability to read data from those file using C language. So I need to know,how numpy organizes binary data in file.OK, it's obvious when I'm saving array of 'i4' but what about array of arrays that contains some structures?Can't find an...
stackexchange/codereview
Hey, I was wondering if it's possible to make a mac os x app to hide specific windows that the user selects. I know how to make a button hide all windows and unhide all windows but I would like to know how to hide specific windows. Thanks!
stackexchange/codereview
I want to extract the number out of a string that might contain non-numeric characters I'm thinking Convert.ToDouble(Regex.Replace(data[i].ToString(), @"ANSWER HERE", "")); Example string: "wd123.321dw" Want to get 123.321 out of that. Also for negatives: "we-123.321ew" for -123.321 Any clues?
stackexchange/codereview
So I handle all exceptions in my project within my Global.asax page. For example, on a random page I could have: Protected Sub SomeFunction() Try 'do something here Catch ex As Exception Throw ex End Try End Sub So then the exception bubbles up to the Global.as...
stackexchange/codereview
I am very interested in Haskell and currently trying to solve this problem. To solve the problem it is necessary to output List C (x,z) that matches (x,y) from List A and (y,z) from List B (without duplicates) y must be equal in A and B. So for example: A = [("z","x")] B = [("x","c"), ("x","d")] Result: C = [("z",...
stackexchange/codereview
I'm writing a custom MVC framework for a PHP project and everything is great until it comes to getting arguments from the URL route. I'm stuck on passing parts of the URL route into a function argument dynamically. I already have a method which is just to implode the route and use the array for the function arguments b...
stackexchange/codereview
I have a DataTable with 20 columns (I only need 3 of them.) I need to perform the following query on it and then save the results as an array. I've done some searching, but I can't figure out how to perform the mathematical operation. I know LINQ should be used, but I'm not getting anywhere. Any help is greatly appreci...
stackexchange/codereview
Is there anyway to intercept messages going to/from a java app and an activeMQ queue? Any opensource utilities I can avail of? Thanks Damien
stackexchange/codereview
Just to know more methods that can accomplish the same thing.
stackexchange/codereview
How do we retrieve the list of parameters of a closure/method in groovy dynamically, javascript style through the arguments array say for example that i want to log a message this way def closure = {name,id -> log.debug "Executing method with params name:${} id:${id}" } OR void method (String name,String id) { lo...
stackexchange/codereview
I'm in the process of applying an "HTML4.5" approach to an existing XHTML 1.0 Strict site in Internet Explorer. The idea is to change the Doctype and apply semantic classes matching the new elements of HTML (<div class="aside">, etc.) and do all that I can get away with, without Internet Explorer breaking (e.g. applyin...
stackexchange/codereview
I have a little problem with checking my input. I know that there a already similar questions but sincerly it does not solve my problem. I'm already using one of the suggestions from the other questions and it does not work. #include <iostream> #include <stdio.h> #include <ctype.h> int main () { int a; printf("Ple...
stackexchange/codereview
I'm breaking my head over this for a while now and I have no clue what I do wrong. The scenario is as followed, I'm using swfupload to upload files with a progressbar via a webservice. the webservice needs to return the name of the generated thumbnail. This all goes well and though i prefer to get the returned data in ...
stackexchange/codereview
Is it possible to programatically remove the source of an Image file? Or is it better to just set the source to a new bitmap that is undefined? The current way I'm doing it is: BitmapImage bmpClear = new BitmapImage(); CanvasImg.Source = bmpClear; I never set the source of bmpClear, so the previous ...
stackexchange/codereview
How do you implement a touch hash code and reference it later? I have read about a "hash" code, but I don't understand how to use it. I want to know when two of my Sprites are touched at the same time, like as if pressing a chord on two keys of a piano. Here is an example of what I have for my ccTouchesBegan: - (void...
stackexchange/codereview
I would like to get some advice on how I can programatically access the Calendar in my exchange account please. THks.
stackexchange/codereview
I sent an arrayList through HttpServletRequest item.add(pOIs); // pOIs are Objects Firstly, They are sent into the URL and i don't want that. secondly, when i get the values of the parameter , It put all values in one record itemsValues.addAll(Arrays.asList(request.getParameterValues("ids"))); How can i send the list...
stackexchange/codereview
can anyone provide dns client examples for twisted except the one given in twisted source files? I found most of examples are dns servers.
stackexchange/codereview
i'm querying a webservice in c# 4.0, which provides me with a string compressed by php's gzcompress(). Now i need to decompress this string in c#. I tried several ways including GZipStream decompression performance is poor C# to Java: Base64String, MemoryStream, GZipStream How to solve Gzip Magic Number Missing but e...
stackexchange/codereview
I have a FLEX 4 application and I am having some trouble adding UI controls dynamically. Mostly with radio buttons. Here is an example that demonstrates my problem: <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/mx" ...
stackexchange/codereview
I am trying to create custom "RESTful" routes for the following default routes: Default Route => Desired Route ============================================= /events/calendar /events/calendar (stays the same, uses the default route /:controller/:action) /events/view/id/47 /event...
stackexchange/codereview
I have drawn a circle in windows form Pen pen = new Pen(Color.Black, 3); Graphics gr = this.CreateGraphics(); gr.DrawEllipse(pen, 5,5,20,20); How to delete it...
stackexchange/codereview
I have price values which I want to show in 2 different spinners beside: "from" and "to", I want to have two spinners showing beside eachother, One of them will contain "from values" and the other one "to values" How is this possible in android?
stackexchange/codereview
I want to get an clean Mp3 File, without any aditional data like id Tags, Cover Image, encoder info or what else. Just the mp3 in an valid file, wich can play every mp3 player. I started with this one: Access MP3 audio data independently of ID3 tags? http://code.google.com/p/kodebucket/source/browse/trunk/bin/mp3dump.r...
stackexchange/codereview
Platform : ASP.NET 4.0 Application : A website project with a Datalib ClassLibrary attached to it Dependencies: IIS: 5.1(local and IIS 7.0 online) I am getting the error at localhost. I haven't checked online yet. The whole thing was working at ASP.NET 3.5 and now when i upgraded to ASP.NET 4.0 I get the following e...
stackexchange/codereview
I have a basic file browser within my app that for each row of the list, outputs an ImageView and a TextView. A few lines into my code I do a isDirectory() (located below somewhere) on the current file/folder that is being added to the ListView, so that I can set a folder image as the icon for that row if it is a folde...
stackexchange/codereview
How to show that certain types are in a specific namespace? Accordingly to UML 2.
stackexchange/codereview
I'm trying to keep my C++ project cross-platform as much as possible.Albeit I do have dependencies on the following MFC\ATL classes: CString, CTime, CTimeSpan. Is there an open implementation somewhere of MFC\ATL classes? How common are these packages and should I use the open source libraries to start with, or should ...
stackexchange/codereview
In my Ruby on Rails application I have a page Aboutus - This has a Controller and View. Has no model. I have a Comments model (generated by the rails generate scaffold comment) - This has a Controller, view, model On my Aboutus page, I want to show the "Comments" from the comments model, so I am thinking of using the...
stackexchange/codereview
Why does this piece of code fail in Scilab? N=1000; U=rand(N, 1); X=(9*U - 1)^(1/3); histplot(200, X);
stackexchange/codereview
I've got a jQuery Modal dialog that prompts a user for their OpenID username. The problem is that I can't get the "Submit" function to set the username properly <script> var OpenIDAddress; $('.openid_btn').click(function () { switch ($(this).text()) { case "Google": $("#ope...
stackexchange/codereview
I created an application inside IIS 7.5 and inside that application a virtual directory is created. I have kept a flash video file in that to play locally (via browser). It works fine in IIS 5.0 (on a xp). However, on IIS 7.5, it does not run, the video gets stuck in the beginning. The video works fine when I double cl...
stackexchange/codereview
I was wondering if I have a program that creates another process, does that created process run inside the creator? If so, does it always have to (is there a way to attach it to another process)? The reason that I ask is actually because I'm trying to determine whether to make a particular thread, a background threa...
stackexchange/codereview
I have the following scenario: public class Login { public virtual int Id { get; set; } public virtual string Username { get; set; } } public class User : Login { public IList<Account> Accounts { get; set; } } If I have two maps (ClassMap<Login> and ClassMap<User>), all queries returns double results - on...
stackexchange/codereview
I am very new to Maven and running into a problem that I can't figure out. I have a multi-module project setup. In one of the sub-modules, I have some Unix bash scripts. In my assembly file, I want to build a zip file that contains all my Unix scripts with line ending of either "unix" or "lf". Every thing works as expe...
stackexchange/codereview
I am working with MFC MDI. I need to create views as follow. My ChildWnd is splitted in 2 parts. They are LeftView which is a CView and RightView which is a CScrollView. The LeftView is splitted in 2 parts, the TreeView and the the FormView. How can I do that? _________________________________ | | ...
stackexchange/codereview
Hi I've installed IIRF but everytime i add a rule it doesn't redirect me. My site address looks like this www.domain.com/Apps/WW/Page.aspx?ws=8888888&page=9999999 I want it to look like this www.domain.com/888888/999999 Can you tell me which rule do i need to add? I've installed the IIRF correctly, the iirfstatus page ...
stackexchange/codereview
What is this factory all about and what are the advantages of using factory patterns? Does it give a plugable architecture? Why it is called "Factory"?
stackexchange/codereview
Hi I call Java servlet using flash navigateToURL method. In some cases I want the servlet to tell the browser client to stay on the same page - How can I achieve that? If the response is empty than the page becomes blank.
stackexchange/codereview
Can I use AjaxControlToolkit to check whether ASP.NET GridView is Empty or Not?
stackexchange/codereview
i managed using a SplitViewController in a TabBarApplication. The problem now is, trying to start the Application (the SplitViewController is the first View in my TabbarApp) in Landscape mode the Detail View gets not loaded. Starting it in Portrait works fine, also after pushing my iPad to Landscape after starting in P...
stackexchange/codereview
I am pretty new to jQuery and I am trying, but failing, so far to make a form element with a class of .topbardropdownmenu to be displayed when the user hovers over a button with a class of .menuitemtools. Once the user hovers over the button the .menuitemtools I don't want the form to be rehovered if it is already disp...
stackexchange/codereview
i created WiX installer project for deploying my .net winform app on a customer machine. The app only scans documents and saves the images to database on a server. The scanner is quite specific and only one in the company, but there are approx. four users that can occasionaly use it => app will be installed just on a s...
stackexchange/codereview
I am trying to get my WPF Window to display from inside another process via DLL injection and remote CLR hosting. I know that the CLR is correctly hosted and able to run code as I can create MessageBox()'s from inside the remote process using ICLRRuntimeHost::ExecuteInDefaultAppDomain(); However, when I try to display ...
stackexchange/codereview
Ok 2 questions here. I am creating a c# application from a vb6 application. I will be using a business logic layer, a data layer, presentation layer, and data layer. What layer should I start with since the database is already in place? 2nd question. If I code a new app would I start with this same layer?
stackexchange/codereview
In the following function, I've attempted to set up tail recursion via the usage of an accumulator. However, I'm getting stack overflow exceptions which leads me to believe that the way I'm setting up my function is't enabling tail recursion correctly. //F# attempting to make a tail recursive call via accumulator let r...
stackexchange/codereview
Okay, so I have a 2D array z[50][50] and z's size is therefore 50 * 50, but if I say z.length I only get 50 back. How do I get the real size of a 2D array?
stackexchange/codereview
My .Net application need to communicate with Linux based system which is using following command line to encrypt their messages: openssl enc -a -e -salt -des3 -pass pass:abc123 How would be equivalent code to encrypt/decrypt messages in c# look like? I understand that I should use TripleDES in CBC mode with PKCS7 padd...
stackexchange/codereview
Here's what I have (working): <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="false"> <Columns> <asp:BoundField HeaderText="Id" DataField="Id" SortExpression="Id"> </asp:BoundField> <asp:BoundField HeaderText="Name" DataField="Name" SortExpression="Name"> </asp:B...
stackexchange/codereview
How can I add a filter which can trace sql statements for a particular table name?
stackexchange/codereview
I'm trying to start a Service from my Activity to look out for changes on a web page, it's a private app so I don't bother the battery life... But I'd like to pass data from my Service to my Activity... I can't seem to find a way to call the Activity from my Service. How can I achieve this?
stackexchange/codereview