instruction_seed
stringlengths
1
35.8k
_source
stringclasses
1 value
How do you automatically start a service after running an install from a Visual Studio Setup Project? I just figured this one out and thought I would share the answer for the general good. Answer to follow. I am open to other and better ways of doing this.
stackexchange/codereview
I'm on OS X 10.5.5 (though it does not matter much I guess) I have a set of text files with fancy characters like double backquotes, ellipsises ("...") in one character etc. I need to convert these files to good old plain 7-bit ASCII, preferably without losing character meaning (that is, convert those ellipses to thre...
stackexchange/codereview
I am trying to install Subtext in a medium trust level environment (host: Crystaltech) and am getting the following error (see below). I was able to do the administration setup but when it tries to go to the blog for actual use, boom. I know I could "upgrade" the environment to a full trust level but I want to underst...
stackexchange/codereview
I am looking for a utility that can be used against .NET assemblies to validate code against best practices, and most importantly can review the code for Security, Injection, and Cross Site Scripting vulnerabilities. I know that it isn't an exact science, but I'm looking for anyones experience/recommendations on the b...
stackexchange/codereview
I'm currently experiencing an intermediate problem with some inherited client side javascript. Every so often the users' experience a browser hang with the cursor becoming an egg timer and then the browser failing to respond. I'm having real difficulty in determining where the issue is arising from. Short of disabling...
stackexchange/codereview
In C++, on Linux, how can I write a function to return a temporary filename that I can then open for writing? The filename should be as unique as possible, so that another process using the same function won't get the same name.
stackexchange/codereview
There's Windows SharePoint Services (WSS) and then there is Microsoft Office SharePoint Server (MOSS). MOSS considerably more expensive than WSS (which ships as part of Microsoft Server licensing). My question is: what does MOSS do that makes it worth the extra cost? ..and does Microsoft Search Server not compete wi...
stackexchange/codereview
When working on a big C/C++ project, do you have some specific rules regarding the #include within source or header files? For instance, we can imagine to follow one of these two excessive rules: #include are forbidden in .h files; it is up to each .c file to include all the headers it needs Each .h file should includ...
stackexchange/codereview
I have a treeview with nodes like this: "Foo (1234)", and want to allow the user to rename the nodes, but only the Foo part, without (1234). I first tried to change the node text in BeforeLabelEdit like this: private void treeView1_BeforeLabelEdit(object sender, NodeLabelEditEventArgs e) { e.Node.Text = "Foo"; } B...
stackexchange/codereview
I wrote a savefile method to save an object to xml. But I am not sure how to test the method in NUnit. Do I need create a sample file manually and compare the string between the files? Are there any better ways to test the method? Thanks for your answer.
stackexchange/codereview
Two main ways to deploy a J2EE/Java Web app (in a very simplistic sense): Deploy assembled artifacts to production box Here, we create the .war (or whatever) elsewhere, configure it for production (possibly creating numerous artifacts for numerous boxes) and place the resulting artifacts on the production servers. Pro...
stackexchange/codereview
We have a web application that passes parameters in the url along the lines of this: www.example.com/ViewCustomer?customer=3945 Reasonably often, we will see attempts to access just: www.example.com/ViewCustomer Or system logs this as invalid and sends back a "An error has occurred, contact support with trace number ...
stackexchange/codereview
I've got a web site sending someone a confirmation email. Now in the email I would like to have a link the user has to click to confirm he received the mail. I'd like to include the user's password (or some random code) into the confirmation address, so the user does not need to enter it by hand again, but if I do this...
stackexchange/codereview
I need generate thumbnails for a bunch of jpegs (200,000+) but I want to make sure all of my thumbs have a equal height and width. However, I don't want to change the proportions of the image so I need to add empty space to the shorter dimension to "square it up". The empty space's background color is variable. Here...
stackexchange/codereview
My Win form app doesn't seem to like FormsAuthentication, I'm totally new to hashing so any help to convert this would be very welcome. Thanks. //Write hash protected TextBox tbPassword; protected Literal liHashedPassword; { string strHashedPassword = FormsAuthentication.HashPasswordForStoringInConfigFile(tbPassword...
stackexchange/codereview
I've seen some Python programmers use the following style fairly consistently (we'll call it style 1): import some_module # Use some_module.some_identifier in various places. For support of this style, you can cite the "explicit is better than implicit" maxim. I've seen other programmers use this style (style 2): from...
stackexchange/codereview
I would like to use databinding when displaying data in a TextBox. I'm basically doing like: public void ShowRandomObject(IRandomObject randomObject) { Binding binding = new Binding {Source = randomObject, Path = new PropertyPath("Name")}; txtName.SetBinding(TextBox.TextProperty, binding); } I can...
stackexchange/codereview
In particular from this web.config: <configuration> <configSections> <section name="RStrace" type="Microsoft.ReportingServices.Diagnostics.RSTraceSectionHandler,Microsoft.ReportingServices.Diagnostics" /> </configSections> <system.diagnostics> <switches> <add name="DefaultTraceSwitch" value="3" /> ...
stackexchange/codereview
I want to insert 'n' spaces (or any string) at the beginning of a string in C++. Is there a direct way to do this using either std::strings or char* strings? E.g., in Python you could simply do >>> "." * 5 + "lolcat" '.....lolcat'
stackexchange/codereview
Currently, I'm in the process of hiring a web developer who will be working on a site that processes credit cards. While he won't have the credentials to log into the payment gateway's UI he will have access to the API login and transaction key since it's embedded in the application's code. I'd like to be aware of all ...
stackexchange/codereview
I'm writing a program and am having trouble using the scanf and fopen working together. From what I can tell my erroneous lines seems to be: FiLE * DataFile DataFile = fopen("StcWx.txt","r"); scanf(DataFile, "%i %i %i %.2f %i %i", &Year, &Month, &Day, &Precip, &High, &Low); The file it opens from has a list of weather...
stackexchange/codereview
I have routes like "x/{*path}" where the path parameter is used by the controller to navigate a tree structure to end up with a resource which is served to the client. I would now like to extend this scheme in an orthogonal fashion with other controllers that provide other "aspects" of the resource such as meta-data or...
stackexchange/codereview
For my current project, I need to request XML data over a tcp/ip socket connection. For this, I am using the TcpClient class: Dim client As New TcpClient() client.Connect(server, port) Dim stream As NetworkStream = client.GetStream() stream.Write(request) stream.Read(buffer, 0, buffer.length) // Output buffer and re...
stackexchange/codereview
I have a personal wiki that I take notes on. The wiki's pages are in a subversion working copy directory, "pages", and I set their permissions to 664, owned by www-data:www-data. My username is in the "www-data" group, so I can checkin and mess with the pages manually. For a while, I had an issue because every time I...
stackexchange/codereview
It seems import Queue Queue.Queue().get(timeout=10) is keyboard interruptible (ctrl-c) whereas import Queue Queue.Queue().get() is not. I could always create a loop; import Queue q = Queue() while True: try: q.get(timeout=1000) except Queue.Empty: pass but this seems like a strange thing t...
stackexchange/codereview
I have developed my reports in SQL REporting services and deployed in my server. I need to display the reports in my java application page. I want to know is there any control (like .net report viewer control) to display this Thanks balaweblog
stackexchange/codereview
Are there any unit testing solutions for Flex? or actionscript 3? If so, what are their features? Any UI testing abilities? Functional testing? Any pointers, examples, libraries or tools that you can share?
stackexchange/codereview
You know those websites that let you type in your checking account number and the routing number, and then they can transfer money to and from your account? How does that work? Any good services or APIs for doing that? Any gotchas?
stackexchange/codereview
I start a .Net server side program on my local workstation, but soon it throws a security exception. I searched the web for answers, but no quick fix was found / worked. I just want to run my program. How do I get rid of the exception? I fully trust the program, because its mine. Edit: Oh, yes, I do run the program fro...
stackexchange/codereview
This question was inspired by a similar question: How does delete[] “know” the size of the operand array? My question is a little different: Is there any way to determine the size of a C++ array programmatically? And if not, why? Every function I've seen that takes an array also requires an integer parameter to give...
stackexchange/codereview
In a page, on the load event, I am dynamically creating controls for display on the page. This is all working properly. the trouble I am having is when adding extenders from the AJAX control toolkit, specifically I am trying to add rounded corners to a button control. No errors are thrown, but the AJAX Extension functi...
stackexchange/codereview
I have Windows Vista MCML app, and I need to figure out the current name of the file playing. The Media Center SDK alludes to using MediaMetadata["Title"] to get this information, unfortunately this does not work with playlists (.wpl) files as there is no method for getting the position in the playlist.
stackexchange/codereview
How do I tar a list of files and folders (all in the same directory) with the exclusion of a single directory (which contains a huge amount of data)
stackexchange/codereview
I have a string(char*), and i need to find its underlying datatype such as int, float, double, short, long, or just a character array containing alphabets with or with out digits(like varchar in SQL). For ex: char* str1 = "12312" char* str2 = "231.342" char* str3 = "234234243234" char* str4 = "4323434....
stackexchange/codereview
What applications/modules/dlls do I need on the Window CE 5.0 device in order to be able to attach Visual Studio 2005 to process running on the device ?
stackexchange/codereview
Object o = new Long[0] System.out.println( o.getClass().isArray() ) System.out.println( o.getClass().getName() ) Class ofArray = ??? Running the first 3 lines emits; true [Ljava.lang.Long; How do I get ??? to be type long? I could parse the string and do a Class.forname(), but thats grotty. What's the easy way?
stackexchange/codereview
I'm trying to find an efficient C++ interval tree implementation (mostly likely based on red black trees) without a viral or restrictive license. Any pointers to a clean lightweight standalone implementation? For the use case I have in mind, the set of intervals is known at the outset (there would be say a million) and...
stackexchange/codereview
After I discontinued programming in C++ while entering into web authoring I was spoilt by PHP's high level constructs like hash tables or its dynamic, weak typing. I remembered the angst of C/C++ pointers and the maze of low-level Win32 API handles and message loops and that prevented me from utilizing environments lik...
stackexchange/codereview
I'm calling a function that returns a string, but it's only actually returning the first character of the string it's supposed to be returning. Here's a sample piece of code to recreate the issue I'm experiencing: Public Function GetSomeStringValue(Value as Integer) As String ... Code Goes here Return Some_Mult...
stackexchange/codereview
I'm trying to show/hide a movieclip (or graphic) symbol that is on a layer of a button symbol using actionscript 2. Here's what I tried in the actions for the button: on (release) { this.button_name.movieclip_name._alpha = 0; trace(this.button_name.movieclip_name); } and the trace returns undefined... so I think I'v...
stackexchange/codereview
I am trying to display a combo box in a dialog during setup of a component. Currently, we have a Radio Button Group. I figured that replacing it with the combo box should be as simple as adding proper entries in the "ComboBox" table in the MSI and in the "Control" table, replacing the references to the radio button gro...
stackexchange/codereview
I am debugging a VB6 executable. The executable loads dlls and files from it's current directory, when running. When run in debugger, the current directory seems to be VB6's dir. How do I set working directory for VB6?
stackexchange/codereview
In the following example should I expect that values.size() will be called every time around the loop? In which case it might make sense to introduce a temporary vectorSize variable. Or should a modern compiler be able to optimize the calls away by recognising that the vector size cannot change. double sumVector(const ...
stackexchange/codereview
We have two Tables: Document: id, title, document_type_id, showon_id DocumentType: id, name Relationship: DocumentType hasMany Documents. (Document.document_type_id = DocumentType.id) We wish to retrieve a list of all document types for one given ShowOn_Id. We see two possiblities: SELECT DocumentType.* FROM Documen...
stackexchange/codereview
One of the few annoying things about the Eclipse Java plug-in is the absence of a keyboard shortcut to build the project associated with the current resource. Anyone know how to go about it?
stackexchange/codereview
Which of Crystal Reports and SSRS (SQL Server Reporting Services) is better to use?
stackexchange/codereview
If I have a datetime field, how do I get just records created later than a certain time, ignoring the date altogether? It's a logging table, it tells when people are connecting and doing something in our application. I want to find out how often people are on later than 5pm. (Sorry - it is SQL Server. But this coul...
stackexchange/codereview
I have an assembly in the GAC which gets loaded when I'm debugging a web app. However, I've changed that assembly in the web app that I'm debugging but VS2008/Cassini is picking up the one in the GAC. How do I make VS2008/Cassini use the one that I'm debugging?
stackexchange/codereview
Is there and easy way to remove the IF/End If structured pairing. Being able to do this in one keystroke would be nice (I also use Refactor! Pro) Right now this is what I do: Delete the IF line Watch Visual Studio reformat the code to line up correctly taking into account that the IF is Missing. Navigate to the End I...
stackexchange/codereview
I'm subclassing a native window (the edit control of a combobox...) oldWndProc = SetWindowLong(HandleOfCbEditControl, GWL_WNDPROC, newWndProc); In my subclassing wndproc, I'll have code like this, right, but I can't figure out the syntax for calling the oldWndProc. int MyWndProc(int Msg, int wParam, int lParam) ...
stackexchange/codereview
In CakePHP putting a querystring in the url doesn't cause it to be automatically parsed and split like it normally is when the controller is directly invoked. For example: $this->testAction('/testing/post?company=utCompany', array('return' => 'vars')) ; will result in: [url] => /testing/post?company=utCompany While ...
stackexchange/codereview
I have a RHEL box that I need to put under a moderate and variable amount of CPU load (50%-75%). What is the best way to go about this? Is there a program that can do this that I am not aware of? I am happy to write some C code to make this happen, I just don't know what system calls will help.
stackexchange/codereview
I just figured out that I can actually store objects in the $_SESSION and I find it quite cool because when I jump to another page I still have my object. Now before I start using this approach I would like to find out if it is really such a good idea or if there are potential pitfalls involved. I know that if I had a...
stackexchange/codereview
What would you suggest would be the best operating system for a web server? If possible, please enumerate the advantages and disadvantages if there are any...
stackexchange/codereview
I would love to be able to have a common set of Classes in my root App_Code folder, which is how we are set up right now. However, it doesn't make sense to put specific code there for some application residing in a sub directory. Root Folder App_Code SubDirApp1 App_Code SubDirApp2 App_Code We currently hav...
stackexchange/codereview
In this class for example, I want to force a limit of characters the first/last name can allow. public class Person { public string FirstName { get; set; } public string LastName { get; set; } } Is there a way to force the string limit restriction for the first or last name, so when the client serializes thi...
stackexchange/codereview
I've been using Pydev/Eclipse to develop Google App Engine (GAE) applications but I've been unable to get the response/request objects from WebOb to have auto-completion. I used a widely recommended tutorial to get everything configured; auto-completion is working for everything else I've run into. As an example: if I ...
stackexchange/codereview
Vista displays the dialog "Close programs to prevent information loss" when the system is low on virtual memory. In this dialog it names programs you should close. People have reported to me that it sometimes names the program I develop. How does Vista decide which programs should be closed? I'm wondering if this dialo...
stackexchange/codereview
The test form generated by ASMX is pretty handy for testing operations. However, there is no apparent way to include SOAP headers. How can you test your headers without programming a client to use the service?
stackexchange/codereview
In short, how can I search, view, and modify in-memory values in linux, preferably as easily/simply as possible. Like this.
stackexchange/codereview
Possible Duplicate: SVN plugins for Eclipse - Subclipse vs. Subversive I've been using Subclipse (an SVN plugin for Eclipse), for quite a while, but have become increasingly unhappy with it. I notice that Tortoise SVN is available as an Eclipse plugin and am considering using that instead within Eclipse (I already u...
stackexchange/codereview
I have 2 columns in a Grid. When I click a button, I want the first column to animate to the left from it's current position to 0. So, in effect, it collapses and I'm left with just viewing a single column.
stackexchange/codereview
Want my FireFox at work to be in sync with my FireFox at my home. Is there a way to simply export all extensions and settings?
stackexchange/codereview
I have a SOAP client in Ruby that I'm trying to get working with a Ruby SOAP server, to no avail. The client works fine over SSL with a Python SOAP server, but not with the Ruby version. Here's what the server looks like: require 'soap/rpc/standaloneServer' require 'soap/rpc/driver' require 'rubygems' require 'httpclie...
stackexchange/codereview
I can't seem to find any useful documentation from Microsoft about how one would use the Delimiter and InheritsFromParent attributes in the UserMacro element when defining user Macros in .vsprops property sheet files for Visual Studio. Here's sample usage: <UserMacro Name="INCLUDEPATH" Value="$(VCROOT)\Inc" Inherit...
stackexchange/codereview
A legacy embedded system is implemented using a cooperative multi-tasking scheduler. The system essentially works along the following lines: Task A does work When Task A is done, it yields the processor. Task B gets the processor and does work. Task B yields ... Task n yields Task A gets scheduled and does work O...
stackexchange/codereview
I am mentoring the programming group of a high school robotics team. I would like to set up a source control repository to avoid the mess of manually copying directories for sharing/backups and merging these by hand. The build location will not usually have network access, so this has led me to distributed version co...
stackexchange/codereview
I have now worked on two different teams that use the Agile/Scrum approach in the last two years and both teams were eager to improve the way they approach software development. In the first team, we could easily convince our product owner to get time for internal things like improving the build system, setting up bett...
stackexchange/codereview
I have a base URL : http://my.server.com/folder/directory/sample And a relative one : ../../other/path How to get the absolute URL from this ? It's pretty straighforward using string manipulation, but I would like to do this in a secure way, using the Uri class or something similar. It's for a standard a C# app, not ...
stackexchange/codereview
I usually format my project directory like J-P Boodhoo. a main dir containing solution file, then a lib folder for all third-party lib, a src dir, a tools lib for third-party that wont be deployed.... For more info look here I set in my project the reference path for all the needed folder, but if a developper checkout ...
stackexchange/codereview
I've got a DataGridViewCobmoboxColumn that has to be on the far right side of the screen. The items in the cell are wider that the cell width, so the dropdown list is also wider than the cell, so the user can see what top select. When the list drops down, the right side of the dropdown is not visible, and thus the scro...
stackexchange/codereview
I'm working on a web app project (in java; not that it matters) and we have a form with drop down lists and input fields. Obviously drop down lists are provided because we expect a specific value from a set of values. So my question is this: does it make sense to ensure the submitted value is in the set of expected ...
stackexchange/codereview
OK, so instead of writing a whole bunch of access control specs, and duplicating them across many of my spec files, I'm looking to create a custom matcher. So instead of this: describe "access control" do it "should prevent access by non-logged-in users" it "should prevent access by normal users" it "should preve...
stackexchange/codereview
I'm running into a mental roadblock here and I'm hoping that I'm missing something obvious. Anyway, assume I have a table that looks like this: ID LookupValue SortOrder ============================================ 1 A 1000 2 B 2000 3 ...
stackexchange/codereview
My current project uses NUnit for unit tests and to drive UATs written with Selenium. Developers normally run tests using ReSharper's test runner in VS.Net 2003 and our build box kicks them off via NAnt. We would like to run the UAT tests in parallel so that we can take advantage of Selenium Grid/RCs so that they will...
stackexchange/codereview
How do I uninstall a .NET Windows Service if the service files do not exist anymore? I installed a .NET Windows Service using InstallUtil. I have since deleted the files but forgot to run InstallUtil /u first, so the service is still listed in the Services MMC. Do I have to go into the registry? Or is there a better ...
stackexchange/codereview
Just want to learn 'Windows workflow' designer in .net right from the basics, can anyone suggest a good link please thanks sandeep
stackexchange/codereview
The Python standard lib comes with the module textwrap which provides a simple text wrapping functionality. Is there something comparable in the java standard library? in Python it is something like this: >>> t = "a really really long string with lots of characters" >>> import textwrap >>> textwrap.wrap(t, 20) ['a real...
stackexchange/codereview
I've done some Python but have just now starting to use Ruby I could use a good explanation of the difference between "self" in these two languages. Obvious on first glance: Self is not a keyword in Python, but there is a "self-like" value no matter what you call it. Python methods receive self as an explicit argumen...
stackexchange/codereview
A curious thing happens in Java when you use an abstract class to implement an interface: some of the interface's methods can be completely missing (i.e. neither an abstract declaration or an actual implementation is present), but the compiler does not complain. For example, given the interface: public interface IAnyth...
stackexchange/codereview
With the recent announcement of .NET 4.0 and Visual Studio 2010, it is becoming ever more difficult to keep track of what .NET Framework versions build on what version of the CLR and belong with which version(s) of Visual Studio. Is there a definitive table that shows these relationships?
stackexchange/codereview
I've used lex and yacc (more usually bison) in the past for various projects, usually translators (such as a subset of EDIF streamed into an EDA app). Additionally, I've had to support code based on lex/yacc grammars dating back decades. So I know my way around the tools, though I'm no expert. I've seen positive commen...
stackexchange/codereview
I have a few 'helper' style extension methods I use quite regularly now (they are mostly quite simple, intuitive, and work for good not evil, so please don't have this descend into a discussion around whether or not I should use them). They are largely extending core .NET CLR classes. Currently, I have to copy the 'Ext...
stackexchange/codereview
VBA solutions can vary widely in size. I would like to add user help documentation to all solutions but the level of effort to create and deploy the help needs to match the size of the solution.
stackexchange/codereview
What's the best way to perform a deep copy in the constructor of an object that is part of multi-threaded C++ code?
stackexchange/codereview
The attached screenshot is from OS X/Firefox 3. Note that the center tab (an image) has a dotted line around it, apparently because it was the most-recently selected tab. Is there a way I can eliminate this dotted line in CSS or JavaScript? (Hmmm...the free image hosting service has reduced the size of the image. But i...
stackexchange/codereview
How do you capture the mouse events, move and click over top of a Shockwave Director Object (not flash) in Firefox, via JavaScript. The code works in IE but not in FF. The script works on the document body of both IE and Moz, but mouse events do not fire when mouse is over a shockwave director object embed. Update: ...
stackexchange/codereview
This is only happening on the live server. On multiply development servers the image is being created as expected. LIVE: Red Hat $ php --version PHP 5.2.6 (cli) (built: May 16 2008 21:56:34) Copyright (c) 1997-2008 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies GD Support => enabled GD Ve...
stackexchange/codereview
I have a function which parses one string into two strings. In C# I would declare it like this: void ParseQuery(string toParse, out string search, out string sort) { ... } and I'd call it like this: string searchOutput, sortOutput; ParseQuery(userInput, out searchOutput, out sortOutput); The current project has ...
stackexchange/codereview
I need to perform some action when my application receives focus. I've tried hooking both GotFocus- and Enter-events, but they only trigger when focus changes within my application. Scenario is that my application detects some problem that must be resolved elsewhere, and I would like to do the check again when the us...
stackexchange/codereview
I'm in a Microsoft IE environment, but I want to use cygwin for a number of quick scripting tasks. How would I configure it to use my windows proxy information? Ruby gems, ping, etc are all trying to make direct connections. How can I get them to respect the proxy information that IE and firefox use?
stackexchange/codereview
An advantage by using Windows Authentication is that I do not need to provide a username and password to log into the server as the user currently logged into Windows. But in a specific case I would like to log into the SQL Server as another user, using the same Windows Authenticated ODBC connection. So, the question: ...
stackexchange/codereview
In certain areas in my application I need data from several tables in the database (I have an application, the application has many attributes, each attribute has several definitions, and each definition has a value). I need the data from all these tables for an application. Should I use a view (one that would be rath...
stackexchange/codereview
I have a webpage (say www.example.com/a.asp) .. I am having an iframe in this page which loads a page from a different website (www.example.net/b.asp)... This b.asp asks few questions to the user and the results are posted to c.asp in my website (www.example.com/c.asp). This page (www.example.com/c.asp) gets loaded in ...
stackexchange/codereview
The more I learn about WPF and XAML, the more I realize that you can do pretty much all of your GUI initialization and event handling glue in either XAML or in code (say C# code or VB.Net code). My question is to those who have been working on WPF for longer and ideally those who have shipped apps with it -- where di...
stackexchange/codereview
How can I prevent a user from resizing GridViewColumns withing a ListView control?
stackexchange/codereview
While researching this issue, I found multiple mentions of the following scenario online, invariably as unanswered questions on programming forums. I hope that posting this here will at least serve to document my findings. First, the symptom: While running pretty standard code that uses waveOutWrite() to output PCM aud...
stackexchange/codereview
I have an XML file, which I open in F# like this: let Bookmarks(xmlFile:string) = let xml = XDocument.Load(xmlFile) Once I have the XDocument I need to navigate it using LINQ to XML and extract all specific tags. Part of my solution is: let xname (tag:string) = XName.Get(tag) let tagUrl (tag:XElement) = let attri...
stackexchange/codereview
How do I go from this string: "ThisIsMyCapsDelimitedString" ...to this string: "This Is My Caps Delimited String" Fewest lines of code in VB.net is preferred but C# is also welcome. Cheers!
stackexchange/codereview
I have a textarea with many lines of input, and a JavaScript event fires that necessitates I scroll the textarea to line 345. scrollTop sort of does what I want, except as far as I can tell it's pixel level, and I want something that operates on a line level. What also complicates things is that, afaik once again, it's...
stackexchange/codereview