instruction_seed
stringlengths
1
35.8k
_source
stringclasses
1 value
What is a strong way to protect against sql injection for a classic asp app? FYI I am using it with an access DB. (I didnt write the app)
stackexchange/codereview
I'm consuming a third party .NET WebService in my client application. For debugging purposes I want to capture the SOAP requests that are being sent from my server. How would I go about doing this? This is being done on .NET 2.0 without the use of WCF or WSE.
stackexchange/codereview
I have a couple variants of a program that I want to compare on performance. Both perform essentially the same task. One does it all in C and memory. The other calls an external utility and does file IO. How do I reliably compare them? 1) Getting "time on CPU" using "time" favors the second variant for calling system(...
stackexchange/codereview
I'm new to .Net and do not understand the difference. Can someone point me in the right direction?
stackexchange/codereview
I know there is a command line syntax for adding custom stacks to the OSX Leopard dock besides the "Downloads" which comes by default. What is it?
stackexchange/codereview
Why is it that advertised disk space is almost always higher than the disk space reported by the UI? For example, I have an "80 gb" hard drive, but the iTunes UI indicates only 74. I usually see this as well with hard disks and the amount reported with the drive letter.
stackexchange/codereview
Say for example you just queried a database and you recieved this 2D array. $results = array( array('id' => 1, 'name' => 'red' , 'spin' => 1), array('id' => 2, 'name' => 'green', 'spin' => -1), array('id' => 3, 'name' => 'blue' , 'spin' => .5) ); I often find myself writing loops like this. foreach($resu...
stackexchange/codereview
I seem to be seeing more 'for' loops over iterators in questions & answers here than I do for_each(), transform(), and the like. Scott Meyers suggests that stl algorithms are preferred, or at least he did in 2001. Of course, using them often means moving the loop body into a function or function object. Some may fee...
stackexchange/codereview
Background: In my job, we use SVN, C# and VisualStudio. Part of my task regularly involves global renames. Often I end up with a broken build after renaming something and then merging in changes. The question: is there a solution out there that can look at my changes, notice the global rename and then apply that to the...
stackexchange/codereview
I'm really baffled by this - I know how to do this in VB, unmanaged C++ and C# but for some reason I can't accept a ref variable of a managed type in C++. I'm sure there's a simple answer, really - but here's the C# equivalent: myClass.myFunction(ref variableChangedByfunction); I've tried C++ pointers - no dice. I've ...
stackexchange/codereview
I have a pictures table that has the following columns: PICTURE_ID int IDENTITY(1000,1) NOT NULL, CATEGORY_ID int NOT NULL, IMGDATA image NOT NULL, CAPTION1 text COLLATE SQL_Latin1_General_CP1_CI_AS NULL, MIME_TYPE nchar(20) NOT NULL DEFAULT ('image/jpeg'), IMGTHDATA image NOT NULL In my code-behind I have this: strin...
stackexchange/codereview
I am in charge of a website at work and recently I have added ajaxy requests to make it faster and more responsive. But it has raised an issue. On my pages, there is an index table on the left, like a menu. Once you have clicked on it, it makes a request that fills the rest of the page. At anytime you can click on anot...
stackexchange/codereview
Is there a reliable Delta RGB formula or code snippet that does colour Delta of the full RGB tri stim values, like how DeltaE 2000/cmc does Lab/Lch that takes perceptual differences into account? The RGB Colourspace could be any, but if it needed to be a particular one I could keep it sRGB for the calculations. C# is p...
stackexchange/codereview
A beginner question, bear with me: I'm just wondering under what circumstances one should use a build tool like nant or msbuild? I'm working on a medium sized application (.net 3.0), every developer is doing his work and builds on his machine checking his code changes into the repository as he goes. Once we're all done...
stackexchange/codereview
Has anyone used TUDBC? This looks interesting, but I wonder how valuable it would be for me to investigate. I'm curious about anyone's good or bad experience.
stackexchange/codereview
All of this is pertaining to WebHttp binding, hosted in a custom Service Host (IIS is not an option at this time). I've implemented a custom UserNamePasswordValidator, and a custom IAuthorizationPolicy. When I configure the endpoint's binding to use Basic authentication, everything works just as I'd like (custom princ...
stackexchange/codereview
I'm putting together a script to find remove duplicates in a large library of images. At the moment I'm doing a two pass filter of first finding files of the same size and then doing a sha256 on a 10240 byte piece of the file to get a fingerprint of the files with the same size (code here). It works well, but I'm guess...
stackexchange/codereview
I have a mixed UI (Win App, WPF App, and soon an ASP.NET MVC App) setup, so far I'm using Client Application Services for security. I know how to programmatically get a user authenticated and doing so is working beautifully. However... I want to implement some cross cutting that basically checks to see if the user is...
stackexchange/codereview
It is common knowledge that built-in enums in C++ are not typesafe. I was wondering which classes implementing typesafe enums are used out there... I myself use the following "bicycle", but it is somewhat verbose and limited: typesafeenum.h: struct TypesafeEnum { // Construction: public: TypesafeEnum(): id (next_id...
stackexchange/codereview
I have a web application with users and their documents. Each user can have many documents: user.rb: has_many :documents document.rb: belongs_to :user document_controller.rb: def index @documents = Document.find(:all) end I am using the restful_authentication plugin. Here is my question: How do I get the contro...
stackexchange/codereview
Say you have a large PHP project and suddenly, when attempting to run it, you just end up with a blank page. The script terminates and you want to find exactly where that is with as little effort as possible. Is there a tool/program/command/IDE that can, on PHP script termination, tell you the location of a script exit...
stackexchange/codereview
Which types of objects fall into the domain of "subscriptable"?
stackexchange/codereview
What reason is there for C# or java having lambdas? Neither language is based around them, it appears to be another coding method to do the same thing that C# already did. I'm not being confrontational, if there is a reason I would like to know the reason why. For the purpose of full disclosure I am a Java programmer w...
stackexchange/codereview
I have an instance of a general purpose class that will be executed both under ASP.NET and a stand alone program. This code is sensative to the process where it is being run - that is, there are certin methods that should not called if running under ASP.NET. How do you determine if the code is executing in an ASP.NET p...
stackexchange/codereview
I'm doing a custom 404 page for a large website that's undergoing a redesign. There are about 40 high-use pages that customers may have bookmarked, and our new site structure will break these bookmarks. On my custom 404 page, I want to alert them to the new URL if they attempt to navigate to one of these high-use pa...
stackexchange/codereview
I am writing a POM file for a in-house jar artifact. The artifact depends on several other in-house artifacts which our team writes. When declaring the dependencies of the target, should I limit those dependencies to fixed release version or leave them to SNAPSHOT version. If too many other SNAPSHOT versions of depende...
stackexchange/codereview
I'm implementing a secure WCF service. Authentication is done using username / password or Windows credentials. The service is hosted in a Windows Service process. Now, I'm trying to find out the best way to implement authorization for each service operation. For example, consider the following method: public EntityInf...
stackexchange/codereview
I believe the architecture type (x86 vs x64) is abstracted away for you when making .Net programs, but are there any other considerations that can cause problems?
stackexchange/codereview
I'm using NetBeans, trying to change the familiar Java coffee cup icon to a png file that I have saved in a resources directory in the jar file. I've found many different web pages that claim they have a solution, but so far none of them work. Here's what I have at the moment (leaving out the try-catch block): URL url...
stackexchange/codereview
Not quite sure how to troubleshoot this. I'm maintaining an ASP site, its mostly static, but there's this one include page which brings the menu. Just recently I replaced some images, but now when I try the site, I get a prompt for a password as if It were looking for something on the local network! I checked, all ima...
stackexchange/codereview
I've been arguing with some friends on the university, and we can't get to a point to which is the framework with more scalability for web applications (and still very fast). One calls for jsp, the other one for ruby other for php and so on. Could i ask you to clarify us on what as more scalability potential? Tks, hope...
stackexchange/codereview
I'm trying to implement an IErrorHandler in my WCF service in order to log every exception that hits the service boundary before it's passed to the client. I already use IErrorHandlers for translating Exceptions to typed FaultExceptions, which has been very useful. According to the MSDN for IErrorHandler.HandleError(...
stackexchange/codereview
Like most developers, I'm a business developer, which in essence consists of slapping a UI onto some back-end data store. (We all know there's a lot more to it than that, but that's usually what it boils down to.) I understand that game development is very different from business development, but I'm having a hard time...
stackexchange/codereview
I want to be able to introduce new 'tag lines' into a database that are shown 'randomly' to users. (These tag lines are shown as an introduction as animated text.) Based upon the number of sales that result from those taglines I'd like the good ones to trickle to the top, but still show the others less frequently. I co...
stackexchange/codereview
I cannot correctly position the div form in my layout. By looking at my div placement and css below, does anyone have an idea what I could be doing wrong? #floorplans { float: left; height: 165px; width: 203px; border-right: 1px solid #FFFFFF; border-bottom: 1px solid #FFFFFF; position: relative; ...
stackexchange/codereview
How fast is php_uname() say doing php_uname('s n') or php_uname('a'). The reason I ask is because I'd like to use it to determine which server I'm on and therefore the configuration (paths, etc). This is related to Is there a PHP function or variable giving the local host name?
stackexchange/codereview
My code is in c# asp.net 3.5 In the following code the "Msg" has many words with spaces and characters (eg:Failed to prepare Sync Favorites : Directory does not exist: \STL-FNP-02\ryounes$\Sync\Favorites). This "Msg" is pulled from database to a gridview. I am not able to create hyperlink for this "Msg" in gridview. Si...
stackexchange/codereview
Assume the following code: using (SqlConnection conn = new SqlConnection(connectionString)) { ... using (SqlCommand comm = new SqlCommand(...)) { .. do stuff .. if(condition) Response.Redirect("somepage.aspx"); } } Will the Response.Redirect() exit from the using blocks cause it to dispose all...
stackexchange/codereview
Let's say you already "know" what your client wants from you (i.e. you already did some analysis and have some clue about what are you supposed to deliver). What are the next steps you usually go through after this phase? In other words, what are the steps (in terms of preparation of the framework, plugins, repository,...
stackexchange/codereview
I am working with a hosting provider who has installed mod_python for me. I followed the install instructions locally and included it in httpd.conf but they have opted to put it in conf.d/python.conf. Is there any difference/benefit to doing it either way?
stackexchange/codereview
I've used NUnit before, but not in a while, and never on this machine. I unzipped version 2.4.8 under Program Files, and I keep getting this error when trying to load my tests. Could not load file or assembly 'nunit.framework, Version=2.4.8.0, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77' or one of its dependencie...
stackexchange/codereview
I have taken a copy of a database home with me so I can do some testing. However when I try to run a stored procedure I get Cannot open user default database. Login failed.. I have checked and checked and checked I can open tables in the databases login to sql management studio and access the default as well as other ...
stackexchange/codereview
I have a website where people can upload documents, and view them later at their convenience. I store the binary info along with the mime type in my db, and later just stream the binary content straight to the browser. This works for for every file type except Office 2007 files. When I try to view the Office 2007 files...
stackexchange/codereview
I have report on my asp page and every time I change a filter and click view report, I get this error: Microsoft JScript runtime error: 'this._postBackSettings.async' is null or not an object I tried change the EnablePartialRendering="true" to EnablePartialRendering="false" but then people can't login on the site
stackexchange/codereview
I have the following class which uses BinaryReader internally and implements IDisposable. class DisposableClass : IDisposable { private BinaryReader reader; public DisposableClass(Stream stream) { reader = new BinaryReader(stream); } protected virtual void Dispo...
stackexchange/codereview
I created a single page (with code behind .vb) and created Public intFileID As Integer in the Page load I check for the querystring and assign it if available or set intFileID = 0. Public intFileID As Integer = 0 Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load If Not Pa...
stackexchange/codereview
I need something like this, a collection of elements which contains no duplicates of any element. Does Common Lisp, specifically SBCL, have any thing like this?
stackexchange/codereview
If I have an assembly (A) which references another assembly (B). I want to reference A in a project, I add the reference and it copies A into my BIN directory. It does not copy B as well, even though A depends on it, so the code doesn't compile. How can I set things up so that whenever I reference A, both A and B get...
stackexchange/codereview
I've seen a couple questions around here like How to debug RESTful services, which mentions: Unfortunately that same browser won't allow me to test HTTP PUT, DELETE, and to a certain degree even HTTP POST. I've also heard that browsers support only GET and POST, from some other sources like: http://www.packetizer.co...
stackexchange/codereview
It seems pretty common to want to let your javascript know a particular dom node corresponds to a record in the database. So, how do you do it? One way I've seen that's pretty common is to use a class for the type and an id for the id: <div class="thing" id="5"> <script> myThing = select(".thing#5") </script> There's...
stackexchange/codereview
What is the best way to bind WPF properties to ApplicationSettings in C#? Is there an automatic way like in a Windows Forms Application? Similar to this question, how (and is it possible to) do you do the same thing in WPF?
stackexchange/codereview
I have used Photoshop CS2's "Save for Web" feature to create a table of images for my site layout. This HTML appears fine in a web browser, however when imported into Visual Studio and viewed in the site designer, the metrics are wrong and there are horizontal gaps between images (table cells). The output from Photosho...
stackexchange/codereview
This seems like the most basic question in the world, but damned if I can find an answer. Is there a keyboard shortcut, either native to Visual Studio or through Code Rush or other third-party plug-in, to wrap the current selection with an HTML tag? I'm tired of typing the opening tag, cutting the misplaced closing tag...
stackexchange/codereview
What exactly do I need to get started with Entity Framework in VS.net 2008? I am downloading SP1 for vs.net 2008 as I type this, anything else I am missing? From what I understand I will have to create some XML and then use a .exe tool to spit out the code?
stackexchange/codereview
Does anyone know of any good C++ code that does this?
stackexchange/codereview
Long story short, I need to put some text in my Flex application and I don't want users to be able to copy. I was going to use a label, but apparently labels do not support text wrapping. Can I make it so that users cannot select text in a Flex Text control? Thanks.
stackexchange/codereview
How important is it to make a website layout fit on 640 x 480 and 800 x 600 displays? For some time I have been designing with the assumption of at least 1024 x 768, but I haven't been doing it professionally (just on my site which is just a blog that only 10-15 friends read). Does anyone have any non-anecdotal stati...
stackexchange/codereview
If you create a panel on a form and set it to Dock=Top and drop another panel and set its Dock=Fill, it may fill the entire form, ignoring the first panel. Changing the tab order does nothing.
stackexchange/codereview
I have a dialog box that allows users to set hotkeys for use in a 3d program on windows. I'm using CHotKeyCtrl, which is pretty good, but doesn't handle some keys that the users would like to use - specifically, tab and space. The hotkey handling is smart enough to be able to fire on those keys, I just need a UI to l...
stackexchange/codereview
I was wondering about the best practices regarding this? I know there are two ways to use IIS and host multiple websites. The first is to have an IP for every website The second is to use host headers, and a single IP Address for IIS I was wondering which was the best practice, and why one should be preferred over t...
stackexchange/codereview
I've been beating myself over the head with this app migration for a few days now. What I have is an old MSSQL Server 2000-backed application that is being upgraded to a Windows 2003 Server running SMSQL Server 2005. I know little about SQL Server but obviously not enough. I tried backing up the database on the old ser...
stackexchange/codereview
Let's say that a class has a public int counter field that is accessed by multiple threads. This int is only incremented or decremented. To increment this field, which approach should be used, and why? lock(this.locker) this.counter++;, Interlocked.Increment(ref this.counter);, Change the access modifier of counter to...
stackexchange/codereview
Platform: Windows XP Development Platform: VB6 When trying to set an application title via the Project Properties dialog on the Make tab, it seems to silently cut off the title at a set number of characters. Also tried this via the App.Title property and it seems to suffer from the same problem. I wouldn't care about...
stackexchange/codereview
The following snippet is supposed to take the value of PROJECT (defined in the Makefile) and create an include file name. For example, if PROJECT=classifier, then it should at the end generate classifier_ir.h for PROJECTINCSTR I find that this code works as long as I am not trying to use an underscore in the suffix. Ho...
stackexchange/codereview
Let's say I have this type in my application: public class A { public int id; public B b; public boolean equals(Object another) { return this.id == ((A)another).id; } public int hashCode() { return 31 * id; //nice prime number } } and a Set<A> structure. Now, I have an object of type A and want to do the foll...
stackexchange/codereview
I am currently trying to use NAnt and CruiseControl.NET to manage various aspects of my software development. Currently, NAnt handles just about everything, including replacing environment specific settings (e.g., database connection strings) based on an input target that I specify on the command line. CruiseControl.NE...
stackexchange/codereview
Our team is working on SAP and getting a website frontend written with PHP and MySQL to connect with the recruitment database on SAP ... we've tried making SOAP clients and everything but it seems we're missing something.. what are the steps to ensure that they can synchronize with or without a wsdl..
stackexchange/codereview
I have a laptop running Ubuntu to which I connect an external monitor when I'm at the office. Usually this requires me to run xrandr --auto in order for the laptop to re-size the display to match the external monitor. It would be nice if this could be done automatically, either triggered when the monitor is connected, ...
stackexchange/codereview
I have a RDLC report which has a table, calling a subreport N times. This works perfectly in the control viewer and when I export to PDF. Yet when I export to Excel, I get the following error: Subreports within table/matrix cells are ignored. Does anyone know why this occurs only within the Excel export? And is t...
stackexchange/codereview
I'm writing a simple web service using Microsoft Visual Web Developer 2005 (Express Edition), and the dynamically generated WSDL has a minOccurs="0" for all the parameters. How do I get minOccurs="1" for the required parameters without resorting to creating a static WSDL file? I need to do this using a ASP.NET Web Ser...
stackexchange/codereview
I have to implement a middleware system for file sharing, and it has to split the files not unlike what happens on bittorrent, where it sends and receives separate pieces simultaneously from varios sources. How do i do that? Is it a library or i have to implement the file splitting myself?
stackexchange/codereview
I'm trying to build a similar 'slider' as demoed here http://ui.jquery.com/repository/real-world/product-slider/ but I'm trying to use interior divs inside of the list items (<li>). it seems as if this demo breaks if you're not using an image or block element (<p>,<div>,etc.) Anyone have any quick solutions to this? ...
stackexchange/codereview
I want to check the login status of a user through an ajax request. Depending wether the user is logged in I want to display either the username/password input or the username. Currently the request is sent on body.onload and a prgoress indicator is shown until the response arrives. Is there a better way? Let's assume...
stackexchange/codereview
I often run into the problem that I have one stream full of data and want to write everything of it into another stream. All code-examples out there use a buffer in form of a byte-array. Is there a more elegant way to this? If not, what's the ideal size of the buffer. Which factors make up this value?
stackexchange/codereview
I use the Nightly Tester Tools for Firefox and Fiddler for IE. What do you use?
stackexchange/codereview
Is there any way to launch a program with a shortcut, that sets the process-priority of that program? iTunes is dragging my system to it's knees, but when I set the process-priority to "low", somehow, like magic, Windows gets back to it's normal responsive self :)
stackexchange/codereview
I need to write a digital oscilloscope type application. There are many great static graphing controls out there, but I need something that can graph 16 traces processing 4000 samples per second. Is anyone aware of a high speed graphing control for .NET? I'll even take MFC since that can be wrapped into a .NET contro...
stackexchange/codereview
In Visual Source Safe 6.0, you could "reset" a working folder by setting it to a blank string. This meant that the working folder would be determined by the working folder of the parent. How do I do this in Visual Source Safe 2005?
stackexchange/codereview
In a VS2008 web site project, I have a page open in split view. I try to drag an Infragistics web control onto the page's design surface. Nothing happens. I try to drag same onto the htmlz. Dialog box with The operation could not be completed. Invalid formatetc structure. Subsequently the dragged control does not a...
stackexchange/codereview
In terms of Java, when someone asks: what is polymorphism? Would overloading or overriding be an acceptable answer? I think there is a bit more to it than that. IF you had a abstract base class that defined a method with no implementation, and you defined that method in the sub class, is that still overridding? I t...
stackexchange/codereview
I was thinking earlier today about an idea for a small game and stumbled upon how to implement it. The idea is that the player can make a series of moves that cause a little effect, but if done in a specific sequence would cause a greater effect. So far so good, this I know how to do. Obviously, I had to make it be mor...
stackexchange/codereview
I need to write an application that essentially functions like a week-view of a calendar, columns for the days and then rows for appointments. Where the height of the appointment box visually represents time. In my case, I just don't want the time of day as the vertical axis, I just want hours or mins. The Google AJA...
stackexchange/codereview
That's a mouthful... Here's the issue, we're doing some client-side validation via AJAX calls to page methods (which are essentially web services). We've also added a drop-down on the page to choose your language and have created a class that inherits from Page that initializes localization based on the drop-down sele...
stackexchange/codereview
I want to combine these: keys = ['name', 'age', 'food'] values = ['Monty', 42, 'spam'] into a single dictionary: {'name': 'Monty', 'age': 42, 'food': 'spam'} How can I do this?
stackexchange/codereview
Is there a nice way to dependency inject using a jsp taglib? either using ejb 3.0, spring, or guice... I have a lot of services/pojos that I would like to use in my taglibs
stackexchange/codereview
This must be a classic .NET question for anyone migrating from Java. .NET does not seem to have a direct equivalent to java.io.StreamTokenizer, however the JLCA provides a SupportClass that attempts to implement it. I believe the JLCA also provides a Tokenizer SupportClass that takes a String as the source, which I ...
stackexchange/codereview
The window pops up below the variable, and obscures the code I want to look at. Can I move the window without loosing my place in it? I seem to remember there is a way to do it.
stackexchange/codereview
Can anyone give me a complete list of string manipulation function in Microsoft SQL Server (2000 or 2005)? (I don't need a lecture about doing all my string processing in the presentation layer. And, I don't need a list of MySQL string functions.) Thanks!
stackexchange/codereview
I often need to run reduce (also called foldl / foldr, depending on your contexts) in java to aggregate elements of an Itterable. Reduce takes a collection/iterable/etc, a function of two parameters, and an optional start value (depending on the implementation details). The function is successively applied to an ele...
stackexchange/codereview
I'm used to coding Java Swing UIs, and in those if you have some properties that change, and you want your UI to update, you would implement the observer/observable pattern. In Java you do this normally by having your class maintain a list of listeners that it notifies of different events. I've played with Objective-C ...
stackexchange/codereview
I am looking out for some good practices on naming assemblies and versioning them. How often do you increment the major or minor versions? In some cases, I have seen releases going straight from version 1.0 to 3.0. In other cases, it seems to be stuck at version 1.0.2.xxxx. This will be for a shared assembly used in mu...
stackexchange/codereview
So, what is the best way to prevent an XSRF attack for a GAE application? Imagine the following: Anyone can see a user's public object, and the db.Model id is used in the request to figure out which object to show. Malicious user now has the id. Malicious user creates their own object and checks out the delete form....
stackexchange/codereview
How do I determine if the currency symbol is supposed to be on the left or right of a number using CFLocale / CFNumberFormatter in a Mac Carbon project? I need to interface with a spreadsheet application which requires me to pass a number, currency symbol, currency symbol location and padding instead of a CStringRef cr...
stackexchange/codereview
I have some accesses from 192.168.0.71 on my apache logs. I looked up this IP (because my server almost exclusively takes requests from 127.0.0.1, and I saw that it's reserved for "special purposes." What types of purposes might those be? Edit: I didn't tell you, typing 192.168.0.71 brings me straight to my site, ju...
stackexchange/codereview
I'm trying to confirm a user a unplugged my embedded device from a network before performing some maintenance. I'm considering "ping"ing all IP address on my sub-net, but that sounds crude. Is there a broadcast/ARP method that might work better?
stackexchange/codereview
I'm trying to add the jVal attribute to a textbox that I created in the HTML. <input id="subJobName" type="text" jval="{valid:function (val) { return validateSubJobName(val); }, message:'Name already exists or is longer than 14 characters.', styleType:'cover'}" /> I would let to add /set the jVal in the javascript ins...
stackexchange/codereview
I have a .Net 2.0 app that is used internally and we want to use the WebBrowser control to access some Web resources. We want to add encryption to these sites using SSL using self signed certificates. My question is if there is way to disable all the warnings about the SSL keys coming from an untrusted source? I would ...
stackexchange/codereview
I need to change the functionality of an application based on the executable name. Nothing huge, just changing strings that are displayed and some internal identifiers. The application is written in a mixture of native and .Net C++-CLI code. Two ways that I have looked at are to parse the GetCommandLine() function in ...
stackexchange/codereview
Say I want to copy the contents of a directory excluding files and folders whose names contain the word 'Music'. cp [exclude-matches] *Music* /target_directory What should go in place of [exclude-matches] to accomplish this?
stackexchange/codereview
On Mac OS X I can’t enter a pound sterling sign (£) into the Python interactive shell. * Mac OS X 10.5.5 * Python 2.5.1 (r251:54863, Jan 17 2008, 19:35:17) * European keyboard (£ is shift-3) When I type shift-3 in the Python interactive shell, I seem to invoke the previous word function, i.e. the cursor will move to t...
stackexchange/codereview