instruction_seed
stringlengths
1
35.8k
_source
stringclasses
1 value
I'm responsible for some internal tools and I want to make debugging them as easy as possible on client machines. We used to ship with full source code and debugging information and built them in exactly the same location as the typical client install path. This made debugging extremely easy. We have now moved to using...
stackexchange/codereview
I'm reading an XML file with a SAX-parser (this part can be changed it there's a good reason for it). When I find necessary properties I need to change their values and save the resulting XML-file as a new file. How can I do that?
stackexchange/codereview
Is it possible to achieve the following: Allow a user to upload a text file via HTML form (.txt) Use the contents of that file in a PHP script to temporarily access the information Delete any traces of the temporary file after the script has processed? Think of it as uploading a word document via html form, have a ph...
stackexchange/codereview
I'm looking to implement drag & drop in MSIE (must be, a bonus for other browsers, but just "nice to have"). I'm looking at a sort of drawing package - let's say flowcharts for example. The user can drag flowchart elements from a palette and position them in the browser. When complete, I will need to know the type and ...
stackexchange/codereview
I upgraded to JDK 6 build 22 on Snow Leopard and now I cannot find the src.zip file. I downloaded javadeveloper_10.6_10m3261 from the Apple Developer's website and installed it, but a find . -name src.zip -ls in both /System and /Developer yields nothing. Any ideas?
stackexchange/codereview
I have xml from I want get some data XDocument loaded = XDocument.Load(@"c:\TERC.xml"); var query = (from c in loaded.Descendants("catalog") from r in c.Descendants("row") select (string)r.Element("Name")); this returns me collection of null How can I fix it ? Here is this x...
stackexchange/codereview
Unfortunately I need to keep the names of the tables different on the server and the client databases, however they are similar in structure. So for example my server has a table called "customers" while the client has the very same table with the name "clients" ?
stackexchange/codereview
import java.util.*; class AddressBook { private static final int DEFAULT_SIZE = 25; private Person[] entry; //getting error - cannot be resolved to a type public AddressBook() { this( DEFAULT_SIZE); } public AddressBook(int size) { if (size <= 0) { throw new IllegalArgumentE...
stackexchange/codereview
In a Java EE 6 application where I'm using .ear packaging, I'd like to create a persistence unit that can be accessed from components in different .jar files. However, I'm not sure how to define this persistence unit. With the @PersistenceContext annotation the lookup only succeeds if the name matches a persistence uni...
stackexchange/codereview
I am deploying some integration services into a SQL Server 2005. On my computer, I don't have any validation error but I do on the server. It comes from an OLE DB connection manager: "Login failed for user 'rw_user'". Whereas I can fully run it on a client, the connection works perfectly. This is a connection to the se...
stackexchange/codereview
I am working on rss parser project, I need to fetch URL from us based server and store the data in to database while storing/viewing I need to keep the post time. I am using simplepie for rss aggregation, I face the following problem while handling rss while I am checking rss url in firefox 3.0.19/system timezone set ...
stackexchange/codereview
I am using CKEditor as a rich text WYSIWYG Javascript editor. I would like to add an on-screen keyboard so that they can easily enter text from non-English alphabets. I was planning on finding a JavaScript on-screen keyboard and adding a custom button with a CKEditor plug-in to trigger it. I've found a couple of Java...
stackexchange/codereview
Is it possible to use Reflection is C# to fire an event? Say I have a situation like this: public delegate void SomeEventHandler(object sender, BenArgs e); class EventHub { public event SomeEventHandler SOME_EVENT; public void fireEvent(String eventName) { SomeEventHandler evt = (SomeEventHandler)...
stackexchange/codereview
I think is a little complete problem about textfield in tableview cell it looks like [IP xxx.xxx.xxx.xxx ] <--this is a cell in tableview So...It means at least 4 textfield in a cell But I have some questions ****1.**How to add more textfield to cell.accessoryView ?****** This is how I set a textfield in a cell UI...
stackexchange/codereview
I'm attempting to make a soap call using ksoap2-android the server is expecting a soap request to look like this below. <?xml version="1.0" encoding="UTF-8" ?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLS...
stackexchange/codereview
Why is there no generic implementation of OrderedDictionary? Prior to posting this message, i did see: No generic implementation of OrderedDictionary? But that just confirms that it does not exist. Not why it does not exist. There are a few custom implementations I've seen, including: http://www.codeproject.com/KB/rec...
stackexchange/codereview
I'm trying to figure out how to use JQuery to display some tools when the user is hovering over a content block. For example, the blocks are displayed as follows with the tools initially hidden: <div id="block_1"> <div class="tools" style="display:none;">Tools Here</div> </div> <div id="block_2"> <div cla...
stackexchange/codereview
I'm using vb.net. Usually I used the SQL Server SQLComamnd but here I need to use an ADO. I have this but I'm stuck at the end of it how to get the data? dim strSQL = "Select Name From tblCustomer Where ID = 123" cnn.Open() Dim cmd As New ADODB.Command cmd.CommandType = ADODB.CommandTypeEnum.adCmdText cmd.ActiveConne...
stackexchange/codereview
I am using a treeview control. I am buliding the tree dynamically. sometimes the tree becomes larger and the down scroll bar is need to see the entire tree. user can select a node from the tree. if one node is selected ,i change the color of the node from server side. my problem is that if a user selected a node whic...
stackexchange/codereview
While installing openinviter I get the following error: "Unable to write stats. /var/www/open/openinviter_stats.sqlite is not writable" How to fix this installation error? Screenshots of the error:
stackexchange/codereview
I have a fairly standard MFC application that consists of a main window, and occasionally brings up modal dialogs. As we all know nothing can be done outside a modal dialog until it is closed. Therefore, a nice UI feature is to "dim" the rest of the main window behind the dialog, to visually indicate you can't use it ...
stackexchange/codereview
How I can rotate an object in Box2D? Tried.. private static final double DEGREES_TO_RADIANS = (double)(Math.PI/180); float angle = (float) (45*DEGREES_TO_RADIANS); object.body.setTransform(object.body.getPosition(), angle); ..but not working.
stackexchange/codereview
I did create a function that transforms diacritic characters into non-diacritic characters (based on this post) Here’s the code: Public Function RemoveDiacritics(ByVal searchInString As String) As String Dim returnValue As String = "" Dim formD As String = searchInString.Normalize(System.Text.NormalizationForm...
stackexchange/codereview
Here is the scenario. I connect to my server from a random computer to do a couple of updates through FTP in Visual Studio 2010. I open up the page I wanted to edit which has links to several very large files. It seems the intellisense goes out to look for these files. Visual Studio will then be stuck trying to fin...
stackexchange/codereview
I'm trying to document a work flow with a series of screen shots. At one point in the flow, a UAC prompt appears, and I'd like to grab a bitmap of it to make my storyboard complete. Because UAC prompts are on a virtual desktop (or something like that), the usual Alt+PrintScreen doesn't work. Any suggestions?
stackexchange/codereview
I would like to merge multiple doc or rtf files into a single file which should be the same format of multiple files. What I mean is that if a user selects multiple rtf template files from a list box and clicks on a button on web page, the output should be a single rtf file which combines multiple rtf template files, I...
stackexchange/codereview
Can some one tell me a valid way to validate a number present in CString object as either a valid integer or floating number?
stackexchange/codereview
List<PersonsInChargeEntity> picList = new List<PersonsInChargeEntity>(); List<ClientEntity> clientList = new List<ClientEntity>(); var returnList = (from PersonsInChargeEntity pic in picList join ClientEntity client in clientList on pic.ClientNumber equals client.C...
stackexchange/codereview
The new Async framework released today at PDC10 looks really brilliant. I've had quite a bit of experience working with asynchronous applications/services and can say from experience that it is amazingly how simplified they have made the process. My question is - will this play well with ASP.net MVC asynchronous contro...
stackexchange/codereview
I have a Windows Service (not a webservice) and I need to provide some security. ie. Only authorise users run methods of the service. Is it possible to use certificates like you can do for webservices? Can anyone describe the process of how one would go about doing this? Thanks!
stackexchange/codereview
Have a regex: .*? (rule1|rule2) (?:(rule1|rule2)|[^}])* (It's designed to parse CSS files, and the 'rules' are generated by JS.) When I try this in IE, all works as it should. Ditto when I try it in RegexBuddy or The Regex Coach. But when I try it in Firefox or Chrome, the results are missing values. Can anyone please...
stackexchange/codereview
I have a PHP/MySQL e-commerce site that is placing order detail information into a serialized array alongside customer address info. I want to be able to pull out the order items field, unserialize it and then combine the order items into one master array of ALL ordered items that can be manipulated in order to count h...
stackexchange/codereview
I need to learn C#. All of my computers are Macs running the latest version of OS X. I do not want to use Windows, but I will if I must. That being said, as a new programmer, can I learn C# efficiently with this Mono platform on OS X? Edit I'm looking to learn C# to gain programming knowledge and start indie game deve...
stackexchange/codereview
i'm currently working on asset library and i would like to find out how to do i get the url path from the ALAsset so that i can other things with it. Thanks
stackexchange/codereview
I have a after_create method for my Contact model. However, when I put the value, it comes out nil. How can I have a callback for a newly created model ( I do a fair amount of transformation in the create model) referenced within the callback method? after_save :update_company def update_company puts self....
stackexchange/codereview
I haven't seen any port of the cairo graphics library to AS3. Would it be possible to implement cairo solutions through Alchemy? Other possibilities?
stackexchange/codereview
What is a good workflow for using mercurial with two long-running branches that are slightly divergent (i.e. I never intend to entirely merge them back together)? In my case, this is CMS software that has been customized differently for two different web sites. I started with projectA, and once that was working cloned...
stackexchange/codereview
I have problem with clearing session only in IE browser (I've tested in different version IE (IIS 6 and 7) - it works good in Firefox and Opera). I have 4 small scripts (I show code for better explanation, where I have problem): 1. default.asp - it only show session value: <%@LANGUAGE="VBSCRIPT"%> <% Session.Timeout...
stackexchange/codereview
I need to change knob's image of Jslider on mouse over and mouse pressed over it. Please tell me how can i do this. Thanks Jyoti
stackexchange/codereview
I am looking forward to start a mobile application development business and wish a to have direct knowledge of the technologies that run behind the cool apps. Being new to the programming / development world...pls suggest if it is better to learn .Net or Java before learning about Android SDK, iOS SDK etc?
stackexchange/codereview
As part of modifying the GLPaint, I am trying to add erase functionality where user could select an eraser button and erase the painted area just as painting. I am trying have a conditional statement within "renderLineFromPoint:(CGPoint)start toPoint:(CGPoint)end" method so that I could check whether the stroke is for...
stackexchange/codereview
I'm working on a C++ project where modules are meant to be combined in a small group to serve a specific purpose (in some sort of processing pipeline). Sometimes it's hard to know the impact of any change, because we intuitively don't even know all the places where one of our module is being used. I know I can do Searc...
stackexchange/codereview
The JFreeChart XYPlot background color is changed using setBackgroundPaint() but there doesn't seem to be a corresponding setForegroundPaint(). XYPlot plot = (XYPlot) chart.getPlot(); plot.setBackgroundPaint(Color.BLACK); How is the foreground color (the plot) changed?
stackexchange/codereview
Just wondered why is it possible to pass Integer as argument where method parameter is of int type and vice versa? public class Salmon { public static Integer foo(Integer a, int b){ return a - b; } public static void main(String[] args) { Integer a = 10; int b = 1; foo(b, a); } }
stackexchange/codereview
#import <UIKit/UIKit.h> @interface ProfileViewController : UIViewController { UIImageView *profPic; UILabel *name; UILabel *hosted; UILabel *points; UILabel *attended: UITableView *tableView; } @property (nonatomic, retain) IBOutlet UIImageView profPic; @property (nonatomic, retain) IBOutlet ...
stackexchange/codereview
I am new to iphone app development. I have placed images in UITableView as an image gallery,in rows and columns. Now, I want to drag images with in the tableview,by which position of images can be changed. I have searched for it, but I didnt find any proper solution. It will be like UIView --TableView ---TableViewCell ...
stackexchange/codereview
We're writing a Desktop application that relies on Google Appengine to authenticate the user and retrieve and store data associated to it. The way we'd like to authenticate the user is that on launching the application the browser is launched at the login url for our application. Then the user logins there, and then th...
stackexchange/codereview
t = True f = False anzNachbarn :: [[Bool]] -> (Integer,Integer) -> Integer anzNachbarn a (x,y) | x < 0 || y < 0=-1 | otherwise ... here comes the comparison This is an example matrix: [[True,False,False], [True,False,False], [False,True,False]] here i need an algorithm, where it calculates (for given ...
stackexchange/codereview
I want to create a class, ClassB, as inner class of ClassA, but I want to write down outside ClassA.java file. How can I do this? It will be a lot of inner class, and ClassA.java file will be enormous. UPDATE What I really want to do is define ten classes that they will be only accessible by one class. All of them are ...
stackexchange/codereview
I have two themes in my .Net application, both use the same background image. Both have an images folder with this image in them, both have style sheets. One works and one doesn't but ONLY when deployed in IIS in a Virtual Directory scenario so there is an added /MyApp/ directory. I can't seem to even trick the one th...
stackexchange/codereview
I understand there are a lot of questions that answer this. I'm familiar with .htaccess and nginx.conf methods, but I do not have access to such traditional configuration methods on Heroku. Simone Carletti gave this answer that leverages Rails 2.x Metals, but I'm using Rails 3 and this isn't compatible: Redirect non-ww...
stackexchange/codereview
You can see my issue here: http://pmind.com/staging/123.html I've tested this in Chrome, Safari, Firefox and Opera so I know it's not just an Internet Explorer wonky bug. In the top right of the content, there are two text links, that are being hidden under the graphic. The <div> that contains the text links comes furt...
stackexchange/codereview
IStatelessSession does not have some of the functions like EnableFilter. Is there an alternative to this method on stateless session ? Does IStatelessSession support lazy loading ? Is there a way to convert ( or cast ) ISession to IStatelessSession ? we are upgrading our code base with NH 2.0 and there are lots of code...
stackexchange/codereview
Is it possible to cast a ListBox.SelectedObjectCollection to a ListBox.ObjectCollection in C#? If so, how would I go about it?
stackexchange/codereview
I am creating a website application which requires keyboard input, specifically without browser focus. Without giving too much away about my great application idea (=P), I want to respond (even to just a single) keyboard key press, with the understanding that the browser will not have focus. I have been doing a great ...
stackexchange/codereview
I would prefer to just use openjdk-6-jdk (version 6b20-1.9.1-1ubuntu3). But I'm just starting the Android SDK installation, so if Sun (Oracle) Java is really needed, I suppose now is the time to install it. Any advice?
stackexchange/codereview
I have own style on listbox, I use in style data template and also control template. In data template I create listbox item with some textboxes. In control template I want create a trigger which change foreground color of some textbox if listbox item is selected. Here is some from style: <Style x:Key="lbStyle" Tar...
stackexchange/codereview
we have an activex control, and it needs to pump win32 messages while it blocks to keep IE responsive. to avoid some really nasty javascript problems introduced by activex, we want to skip WM_TIMER messages from inside our activex control's win32 message pump, and IE can process them all when IE's message pump regains ...
stackexchange/codereview
In the XAML template, I used a listbox to populate some dynamic data. Now I want to disable touch selection in certain listbox items in Windows Phone 7. How to do that ? I had done some little research, some people said that the selection event could be prevented in the listbox. http://social.msdn.microsoft.com/forum...
stackexchange/codereview
I'm developing a Java program through Eclipse locally, and debugging on a remote machine. Whenever I make a change to my program, I copy the corresponding class file to the bin directory on the remote machine. I run my program (a simulator) through a python script via the OS.system command. The problem is that my prog...
stackexchange/codereview
I want to add a silverlight control to a div panel at runtime (dynamically) ( on an aspx or user control) . How can one achieve this?
stackexchange/codereview
I'm trying to embed a plot in my Tkinter GUI coded in Python. I believe the code below succeeds in simply putting a graph into a canvas, but I don't have any control of the canvas location within the GUI grid. I want to be able to have a subsection of my GUI be the plot...not the entirety of it. How can I position this...
stackexchange/codereview
I have an array like this my @stopWords = ("and","this",....) My text is in this variable my $wholeText = "....and so this is...." I want to match every occurrence of every element of my stopWords array in the scalar wholeText and replace it with spaces. One way of doing this is as follows : foreach my $stopW (@stop...
stackexchange/codereview
Let's say I have an array: [0,3,4,2,5,1]. What I want to do is sort an array such as: ["one", "two", "three", "four", "five", "six"] So that the order corresponds to the first array. This would be the output: ["one", "four", "five", "three", "six", "two"] Is there an easy way to accomplish this?
stackexchange/codereview
Mozilla/5.0+(Windows;+U;+Windows+NT+5.1;+en-US;+rv:1.9.2.11)+Gecko/20101012+Firefox/3.6.11+(+.NET+CLR+3.5.30729)
stackexchange/codereview
I want to know how(and what scripts) to take words from a text input box and cause it to display and image Ex: if the text box said "smiley face" in it, then the image "smiley_face.jpg" would display on a certain movieclip and can be dragged around the stage and when a new image is loaded, it doesn't replace the previo...
stackexchange/codereview
I'm trying to convert all letters in a textfield to bitmap data. I then want to animate each of them. I'm able to return an array of rectangles using getCharBoundaries. But then how do I convert each letter to BitMapData? package { import flash.display.Sprite; import flash.geom.Rectangle; import flash.text.TextField; i...
stackexchange/codereview
I have a few iphone and andriod apps and would like to collect better and more targeted user feedback for them. The feedback from the App stores is pretty generic and doesn't add much value at most times. Any framework or website that I could use to help here? Kind of like Get Satisfaction for Mobile Apps.
stackexchange/codereview
I just started trying to learn programming so i am taking a class at my local community college and we have to make a program of the tower of hanoi i have been reading books going to the library and went to tutoring so far this is what i came up with. can someone point me in the right direction or give me some help ple...
stackexchange/codereview
I updated my build to build against Android 1.6, and now my bitmaps are scaled down on high density screens. I do NOT want this behavior. I gave this a shot: http://blog.tomgibara.com/post/190539066/android-unscaled-bitmaps but the images are STILL scaling, that is UNLESS I set them to a specific height & width. If I u...
stackexchange/codereview
I have never used any ORM, but the Zend_Db_Table (if you can call it one). I'd like give it a try with some famous ROM and I've only heard of these 2 (Propel and Doctrine). I tried sometimes in the past but I found it too hard to integrate or maybe I didn't understand how it works. Now that I'm trying again, I'd like t...
stackexchange/codereview
I've got a c# project that is full of intellisense comments, and this project compiles to a DLL. Now when i add this dll as a reference in another project, i do not get intellisense when accessing the members of the original project. Any ideas how i can get this to work? Thanks
stackexchange/codereview
I am trying to rewrite this url and it just doesn't seem to be working and I am unclear what is going wrong I want this URL: www.mysite.com/dvd-123/Studio/studio_name.php?thumbs=yes&order=price To actually send to: www.mysite/cat/list_products.php?studio=123&store=dvd&thumbs=yes&order=price Here is what I have that i...
stackexchange/codereview
I find myself doing this pretty often. Currently I am cut/pasting the variable declaration, the property, the @synthesize, and usually also the release call in the dealloc method. That's four copy and pastes. Is there an easy way to do all of that at once.
stackexchange/codereview
Good afternoon, I inherited some C# code from years ago. I have refactored it a bit to be asynchronous. Evaluating the impact of my changes on the performance of the CPU, I used Process Explorer to watch, roughly, what my app was doing. To my surprise, it appears to be doing what Process Explorer reports as I/O. In gen...
stackexchange/codereview
I am using python to create a "favorites" section of a website. Part of what I want to do is grab an image to put next to their link. So the process would be that the user puts in a URL and I go grab a screenshot of that page and display it next to the link. Easy enough? I have currently downloaded pywebshot and it ...
stackexchange/codereview
Just learning Rails via Michael Hartl's tutorial and one of the things we have to do is implement basic authentication with sessions instead of cookies. I am trying to find any literature online that discusses it, but can't find anything. The Rails Guides talk about sessions from a security point of view, so they assum...
stackexchange/codereview
I have a few Moose objects and some other simple hash objects (hashes, arrays) I'd like to serialize. At first, I used a simple my $obj_store_file = nstore($obj); and my $obj = retrieve($obj_store_file); This worked well. Later, I found about MooseX::Storage and KiokuDB. I tried using them to enjoy some benefits the...
stackexchange/codereview
How do i hide an html img from a code behind file in VB.NET? The img tag doesnt have a runat attribute and hence not a server control. I tried Dim cs As ClientScriptManager = Page.ClientScript cs.RegisterStartupScript(Me.GetType(), "alert", "alert('test')") in the Page_Load(). But doest work. I want to access the id ...
stackexchange/codereview
Dear all, Using sequence we can insert a sequence of integers in postgers like that I just want to insert A1 and A2 , Is this possible to do this in a straight forward manner , or otherwise do need to write a function ? Please let me know the easiest way of doing this Thanks in advance !
stackexchange/codereview
rs.Open "select * from applicationdetailstable", con, adOpenDynamic, adLockOptimistic If rs.BOF = False Then disp End If End Sub Sub disp() Text1.Text = rs.Fields(1) Text2.Text = rs.Fields(2) End Sub Private Sub Command1_Click() ' Move First rs.MoveFirst disp End Sub Private Sub Command2_Cli...
stackexchange/codereview
I have created a SampleItem just to test: public class SampleItem { public string Name { get; set; } } and the method that I calling from th service looks like this: public void send(SampleItem s) { String siteName = s.Name; } And I am debugging this method, What I can notice is that the "s (sampleitem is nul...
stackexchange/codereview
Does anyone see anything wrong with what I am doing here? I haven't worked with the database expressions in WP yet. All of my code runs except when I start to try to add items to tables I have created in the WP database. Any info would be greatly appreciated. To me it seems that this syntax is correct and should run. ...
stackexchange/codereview
I am trying to find the sum of the following matrix in matlab [1 1 1 1; 1 2 1 2; 4 5 3 2; 1 3 2 4; 10 11 1 1; 90 9 2 1] I am trying to do so using a nested for statement yet i keep getting errors. please help Must use nested for My code: A = [1 1 1 1; 1 2 1 2; 4 5 3 2; 1 3 2 4; 10 11 1 1; 90 9 2 1]; for j=1:4, for i=...
stackexchange/codereview
I want to fetch some historical data using the api. But when I access older and older pages, I suddenly hit one that's returning me empty data. For example, call to this url: https://graph.facebook.com/kenderken/posts?limit=100&until=2010-06-01T09:10:53%2B0000 returns me empty data even that there are posts on my wall...
stackexchange/codereview
On [this site][1] the iPad displays the multi-state select element strangely. I'm having some trouble finding out why this is - anyone know? Instead of being rendered as a normal ipad dropdown with a height equal to a single line of text, it has a height of approx. 5-7 lines of text and seems to coorespond with it's ...
stackexchange/codereview
Ive got a rather strange issue, ive got an automated build tool that is calling through to the mysql command line to teardown then setup a database from an SQL file. On one computer it is working fine, and its basically calling: Mysql -h {Connection::Host} -u {Connection::User} --password={Connection::Password} < {sqlF...
stackexchange/codereview
Is there a way to show the SQL query executed by phpPgAdmin as the way phpMyAdmin does? For example, if I modify a column, it should show the ALTER command being executed. If this is not possible, what other interface could I use to get this feature?
stackexchange/codereview
I am working on an ad blocker coded in javascript. I have some code from an old project, what I do so far is to loop on all the iframes and I search if the src url match a list like: /http:\/\/[a-zA-Z0-9-_\.]*mediaplex\.com/, /http:\/\/ad\.yieldmanager\.com/, /http:\/\/ad\.zanox\.com/, Is this a good way to do it or w...
stackexchange/codereview
Is there any way to add the x-graphics in the android Editbox like the of iPhone So that by clicking on that x graphic it can clear all the values in the Editbox Is there any way to listen weather i touch a specific part of an edit text Thank you
stackexchange/codereview
I have an update button on which I want to pull attention when updating my content. I am doing this with an animation color fade and adding some arrow characters. When the animation is finished I want my CSS :hover states back. Is this possible or do I lose the original CSS and do I have to reset these with jQuery's ho...
stackexchange/codereview
While in Management Studio, I am trying to run a query/do a join between two linked servers. Is this a correct syntax using linked db servers: select foo.id from databaseserver1.db1.table1 foo, databaseserver2.db1.table1 bar where foo.name=bar.name Basically, do you just preface the db server name to the db.ta...
stackexchange/codereview
Do most company email infrastructures (e.g. Exchange Server) support and/or use SMTP to send email? One of the requirements of my application is to send status emails from the application. Is it enough to support SMTP or should I be looking at some other protocols as well?
stackexchange/codereview
I'm making a Wake-On-Lan alarm clock, and I'm trying to have a script that will only auto-login a specific user given a specific condition (time-range, something before shutdown, etc...) I know how to have a script run at boot-up with init-d, but I'm not sure how to have it perform a login. I read the man page for the ...
stackexchange/codereview
How do we get file names?: <input type="file" multiple />
stackexchange/codereview
You make a gaming website where the user can buy gaming credits and the funds are deposited/credited into the user's virtual account to play some game etc...etc.. 1 If you got an accountant to record the transaction, it would be recorded like this (maybe a bit more complex but you get the point) TRANSACTION PK_ID1 Cash...
stackexchange/codereview
I have pictures in excel, how to export pictures with ruby i want to extract the images and save them as image files
stackexchange/codereview
I am wondering if there is a way to configure Tortoise SVN to save .svn folders in a directory of my choosing rather than in the directory of the files they refer to. The problem is that in a lot of cases these files get included in builds, copies, and other actions involved in developing an ASP.NET application.
stackexchange/codereview
If you have Nullable<int>, does this live on the stack? How many bytes does it take up?
stackexchange/codereview
class all_items(dict): def __getitem__(self, key): return 1 >>> eval("undefined",dict(),all_items()) 1 >>> eval("undefined",all_items(),dict()) Traceback (most recent call last): File "<pyshell#2>", line 1, in <module> eval("undefined",all_items(),dict()) File "<string>", line 1, in <module> NameErr...
stackexchange/codereview