Id int64 4 8.51M | PostTypeId int64 1 7 | AcceptedAnswerId int64 7 75.5M ⌀ | ParentId int64 4 41.8M ⌀ | Score int64 -208 27.7k | ViewCount int64 11 12.4M ⌀ | Body stringlengths 0 45k | Title stringlengths 2 150 ⌀ | ContentLicense stringclasses 3
values | FavoriteCount int64 0 225 ⌀ | CreationDate stringdate 2008-07-31 21:42:52 2011-12-14 18:48:47 | LastActivityDate stringdate 2008-08-01 12:19:17 2023-03-05 04:40:26 | LastEditDate stringdate 2008-08-01 13:54:25 2023-03-05 03:12:45 ⌀ | LastEditorUserId int64 -1 21.3M ⌀ | OwnerUserId int64 -1 21.1M ⌀ | Tags listlengths 1 6 ⌀ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1,803 | 2 | null | 1,746 | 8 | null | From the [preg_replace documentation](http://us.php.net/manual/en/function.preg-replace.php) on php.net:
> may contain references of
the form \n or (since PHP 4.0.4) $n,
with the latter form being the
preferred one. Every such reference
will be replaced by the text captured
by the n'th parenthesized patter... | null | CC BY-SA 2.5 | null | 2008-08-05T01:39:36.460 | 2008-08-05T01:39:36.460 | null | null | 332 | null |
1,824 | 2 | null | 1,644 | 62 | null | This one's not specifically about development, but [Security Now](http://www.grc.com/securitynow.htm) from Steve Gibson and Leo Laporte is an excellent discussion of security issues. I think it's a must-listen for just about any computer user who's concerned about security, and especially for web developers who are re... | null | CC BY-SA 2.5 | null | 2008-08-05T02:21:00.463 | 2008-08-05T02:21:00.463 | null | null | 205 | null |
1,820 | 2 | null | 1,760 | 3 | null | I like [TestDriven.NET](http://www.testdriven.net/overview.aspx) (even though I use ReSharper) and I'm pretty happy with [XUnit.net](http://www.codeplex.com/xunit). It uses Facts instead of Tests which many people dislike but I like the difference in terminology. It's useful to think of a collection of automatically pr... | null | CC BY-SA 2.5 | null | 2008-08-05T02:07:50.257 | 2008-08-05T02:07:50.257 | null | null | 358 | null |
1,826 | 2 | null | 588 | 14 | null | Is your customer using Exchange 2007? If so, I'd have a look at [Exchange Web Services](http://msdn.microsoft.com/en-us/library/bb204119(EXCHG.80).aspx). If not, as hairy as it can be, I think WebDAV is your best bet.
Personally I don't like using the Outlook.Application COM object route, as its security prompts (... | null | CC BY-SA 2.5 | null | 2008-08-05T02:35:02.820 | 2008-08-05T02:35:02.820 | null | null | 205 | null |
1,836 | 1 | 1,843 | null | 39 | 15,913 | OK. This is a bit of a vanity app, but I had a situation today at work where I was in a training class and the machine was set to lock every 10 minutes. Well, if the trainers got excited about talking - as opposed to changing slides - the machine would lock up.
I'd like to write a teeny app that has nothing but a tas... | Wiggling the mouse | CC BY-SA 3.0 | 0 | 2008-08-05T02:51:37.420 | 2021-01-07T23:23:38.190 | 2013-02-06T00:29:06.207 | 2,548 | 172 | [
"c#",
"winapi",
"mouse"
] |
1,821 | 2 | null | 1,760 | 55 | null | There are so many it's crazy. Crazy good, I guess.
- [NUnit](http://www.nunit.org/)- [MSTest](http://msdn.microsoft.com/en-us/vstudio/default.aspx)- [MbUnit](http://www.mbunit.com/About.aspx)- [xUnit.net](http://www.codeplex.com/xunit)- [TestDriven.NET](http://testdriven.net/)
I'm sure they're all just fine. I'd steer ... | null | CC BY-SA 4.0 | null | 2008-08-05T02:15:24.873 | 2020-07-30T09:32:31.307 | 2020-07-30T09:32:31.307 | 63,550 | 308 | null |
1,840 | 2 | null | 1,829 | 9 | null |
- - -
| null | CC BY-SA 2.5 | null | 2008-08-05T02:54:54.577 | 2008-08-27T00:10:21.677 | 2008-08-27T00:10:21.677 | 116 | 116 | null |
1,713 | 2 | null | 1,711 | 1,743 | null | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
| null | CC BY-SA 3.0 | null | 2008-08-04T23:51:07.737 | 2012-02-21T21:02:44.073 | 2012-02-21T21:02:44.073 | 5,486 | 92 | null |
1,829 | 1 | 1,852 | null | 27 | 14,722 | I've got a menu in Python. That part was easy. I'm using `raw_input()` to get the selection from the user.
The problem is that `raw_input` (and input) require the user to press after they make a selection. Is there any way to make the program act immediately upon a keystroke? Here's what I've got so far:
```
import... | How do I make a menu that does not require the user to press [enter] to make a selection? | CC BY-SA 3.0 | 0 | 2008-08-05T02:39:23.140 | 2015-03-01T17:34:42.907 | 2015-03-01T17:34:42.907 | 4,099,593 | 30 | [
"python"
] |
1,848 | 1 | 1,856 | null | 30 | 5,980 | I am currently working on a project and my goal is to locate text in an image. OCR'ing the text is not my intention as of yet. I want to basically obtain the bounds of text within an image. I am using the AForge.Net imaging component for manipulation. Any assistance in some sense or another?
Update 2/5/09:
I've since ... | Locating Text within image | CC BY-SA 3.0 | 0 | 2008-08-05T03:04:43.683 | 2013-04-19T14:54:49.080 | 2013-01-08T12:45:28.863 | 1,471,203 | 36 | [
"c#",
"image",
"image-processing",
"artificial-intelligence"
] |
1,849 | 2 | null | 1,836 | 3 | null | Something like this should work (though, you want to change the interval).
```
public Form1()
{
InitializeComponent();
Timer Every4Minutes = new Timer();
Every4Minutes.Interval = 10;
Every4Minutes.Tick += new EventHandler(MoveNow);
Every4Minutes.Start();
}
void MoveNow(object sender, EventArgs e)... | null | CC BY-SA 3.0 | null | 2008-08-05T03:07:41.523 | 2012-12-05T07:38:06.107 | 2012-12-05T07:38:06.107 | 117,870 | 87 | null |
1,852 | 2 | null | 1,829 | 10 | null |
```
import msvcrt
answer=msvcrt.getch()
```
| null | CC BY-SA 2.5 | null | 2008-08-05T03:11:55.570 | 2008-08-27T00:09:22.413 | 2008-08-27T00:09:22.413 | 116 | 116 | null |
1,854 | 1 | 1,857 | null | 894 | 468,192 | What do I need to look at to see whether I'm on Windows or Unix, etc?
| How to identify which OS Python is running on? | CC BY-SA 4.0 | 0 | 2008-08-05T03:23:18.917 | 2022-12-25T03:37:31.833 | 2022-10-30T17:45:31.597 | 4,518,341 | 116 | [
"python",
"operating-system",
"cross-platform",
"platform-agnostic"
] |
1,843 | 2 | null | 1,836 | 26 | null |
without notifyicon therefore you will need to terminate this application in task manager manually
```
using System;
using System.Drawing;
using System.Windows.Forms;
static class Program
{
static void Main()
{
Timer timer = new Timer();
// timer.Interval = 4 minutes
timer.Interval = ... | null | CC BY-SA 2.5 | null | 2008-08-05T03:00:24.750 | 2008-08-05T04:12:12.920 | 2008-08-05T04:12:12.920 | 275 | 275 | null |
1,856 | 2 | null | 1,848 | 14 | null | This is an active area of research. There are literally oodles of academic papers on the subject. It's going to be difficult to give you assistance especially w/o more deatails. Are you looking for specific types of text? Fonts? English-only? Are you familiar with the academic literature?
"Text detection" is a standa... | null | CC BY-SA 2.5 | null | 2008-08-05T03:24:27.840 | 2008-08-05T03:24:27.840 | null | null | 2,089,740 | null |
1,870 | 2 | null | 1,829 | 4 | null | Wow, that took forever. Ok, here's what I've ended up with
```
#!C:\python25\python.exe
import msvcrt
print """Menu
1) Say Foo
2) Say Bar"""
while 1:
char = msvcrt.getch()
if char == chr(27): #escape
break
if char == "1":
print "foo"
break
if char == "2":
print "Bar"
... | null | CC BY-SA 2.5 | null | 2008-08-05T03:51:57.737 | 2008-08-05T04:30:27.987 | 2008-08-05T04:30:27.987 | 30 | 30 | null |
1,644 | 1 | null | null | 526 | 158,906 | Yes, Podcasts, those nice little Audiobooks I can listen to on the way to work. With the current amount of Podcasts, it's like searching a needle in a haystack, except that the haystack happens to be the Internet and is filled with too many of these "Hot new Gadgets" stuff :(
Now, even though am mainly a .NET develope... | What good technology podcasts are out there? | CC BY-SA 4.0 | 0 | 2008-08-04T22:17:08.503 | 2011-01-20T07:33:24.433 | 2021-01-18T12:38:11.483 | -1 | 91 | [
"podcast"
] |
1,875 | 2 | null | 1,873 | 3 | null | > Without the extra quotes around the input string parameter, the Javascript function thinks I'm passing in an integer.
Can you do some rudimentary string function to force JavaScript into changing it into a string? Like
```
value = value + ""
```
| null | CC BY-SA 2.5 | null | 2008-08-05T04:08:18.983 | 2008-08-05T04:08:18.983 | null | null | 30 | null |
1,879 | 2 | null | 1,854 | 146 | null | For the record here's the results on Mac:
```
>>> import os
>>> os.name
'posix'
>>> import platform
>>> platform.system()
'Darwin'
>>> platform.release()
'8.11.1'
```
| null | CC BY-SA 3.0 | null | 2008-08-05T04:13:53.870 | 2015-08-18T10:01:22.593 | 2015-08-18T10:01:22.593 | 4,374,739 | 116 | null |
1,881 | 2 | null | 1,873 | 1 | null | Try putting the extra text inside the server-side script block and concatenating.
```
onclick='<%# "ToggleDisplay(""" & DataBinder.Eval(Container.DataItem, "JobCode") & """);" %>'
```
Edit: I'm pretty sure you could just use double quotes outside the script block as well.
| null | CC BY-SA 2.5 | null | 2008-08-05T04:19:36.853 | 2008-08-05T04:19:36.853 | null | null | 26 | null |
1,885 | 2 | null | 1,829 | 0 | null | The reason msvcrt fails in IDLE is because IDLE is not accessing the library that runs msvcrt. Whereas when you run the program natively in cmd.exe it works nicely. For the same reason that your program blows up on Mac and Linux terminals.
But I guess if you're going to be using this specifically for windows, more po... | null | CC BY-SA 2.5 | null | 2008-08-05T04:28:03.747 | 2008-08-05T04:28:03.747 | null | null | 50 | null |
1,894 | 2 | null | 1,607 | 4 | null | I create folders named after the build versions and put upgrade and downgrade scripts in there. For example, you could have the following folders: 1.0.0, 1.0.1 and 1.0.2. Each one contains the script that allows you to upgrade or downgrade your database between versions.
Should a client or customer call you with a pro... | null | CC BY-SA 2.5 | null | 2008-08-05T04:36:13.340 | 2008-08-05T04:36:13.340 | null | null | 160 | null |
1,873 | 1 | 1,886 | null | 47 | 23,215 | How do I delimit a Javascript data-bound string parameter in an anchor `OnClick` event?
- - `OnClick`- -
I need the "double quotes" for the `Container.DataItem`.
I need the 'single quotes' for the `OnClick`.
And I still need (triple quotes?) for the input string parameter of the Javascript function call.
Since I can'... | Triple Quotes? How do I delimit a databound Javascript string parameter in ASP.NET? | CC BY-SA 4.0 | 0 | 2008-08-05T04:05:53.230 | 2020-12-19T00:25:14.717 | 2020-12-19T00:25:14.717 | 8,136,187 | 242 | [
"asp.net",
"javascript",
"anchor",
"quotes"
] |
1,898 | 1 | null | null | 108 | 69,685 | What's the best way to import a CSV file into a strongly-typed data structure?
| Import CSV file to strongly typed data structure in .Net | CC BY-SA 4.0 | 0 | 2008-08-05T04:43:22.187 | 2020-06-18T21:50:10.530 | 2019-11-21T21:56:14.163 | 1,366,033 | 81 | [
"c#",
"vb.net",
"file",
"csv",
"import"
] |
1,886 | 2 | null | 1,873 | 32 | null | I had recently similar problem and the only way to solve it was to use plain old HTML codes for single (`'`) and double quotes (`"`).
Source code was total mess of course but it worked.
Try
```
<a id="aShowHide" onclick='ToggleDisplay("<%# DataBinder.Eval(Container.DataItem, "JobCode") %>");'>Show/... | null | CC BY-SA 2.5 | null | 2008-08-05T04:28:21.983 | 2011-02-17T22:14:03.813 | 2011-02-17T22:14:03.813 | 593,283 | 275 | null |
1,909 | 2 | null | 1,104 | 2 | null | [Chris](https://stackoverflow.com/questions/1104/#1109)' probably has the best pure answer to the question:
However, I'm curious about the root of the question. If the user should wrap the call in a try/catch block, should the user-called function really be throwing exceptions in the first place?
This is a difficul... | null | CC BY-SA 3.0 | null | 2008-08-05T04:56:30.210 | 2012-09-20T03:21:50.650 | 2017-05-23T10:31:25.210 | -1 | 363 | null |
1,905 | 2 | null | 1,898 | 2 | null | A good simple way to do it is to open the file, and read each line into an array, linked list, data-structure-of-your-choice. Be careful about handling the first line though.
This may be over your head, but there seems to be a direct way to access them as well using a [connection string](http://web.archive.org/web/200... | null | CC BY-SA 4.0 | null | 2008-08-05T04:49:26.480 | 2020-06-18T21:50:10.530 | 2020-06-18T21:50:10.530 | 9,780,149 | 50 | null |
1,908 | 1 | 1,945 | null | 25 | 6,287 | I have a bunch of latitude/longitude pairs that map to known x/y coordinates on a (geographically distorted) map.
Then I have one more latitude/longitude pair. I want to plot it on the map as best is possible. How do I go about doing this?
At first I decided to create a system of linear equations for the three neares... | How to map a latitude/longitude to a distorted map? | CC BY-SA 3.0 | 0 | 2008-08-05T04:55:28.683 | 2014-11-14T15:13:22.600 | 2013-09-11T11:47:40.427 | 569,101 | 79 | [
"math",
"maps",
"mapping",
"latitude-longitude"
] |
1,871 | 2 | null | 1,854 | 215 | null | [Dang -- Louis Brandy beat me to the punch](https://stackoverflow.com/a/1857/4298200), but that doesn't mean I can't provide you with the system results for Vista!
```
>>> import os
>>> os.name
'nt'
>>> import platform
>>> platform.system()
'Windows'
>>> platform.release()
'Vista'
```
...and I can’t believe no one’s p... | null | CC BY-SA 4.0 | null | 2008-08-05T03:57:22.327 | 2022-06-07T14:04:53.193 | 2022-06-07T14:04:53.193 | 4,298,200 | 216 | null |
1,910 | 2 | null | 361 | 26 | null | You are going to get a lot of strings, that's for sure...
%7D!%7D%20%7D)
Where x and y is how you define them and r is the number of characters we are selecting from --if I am understanding you... | null | CC BY-SA 4.0 | null | 2008-08-05T04:57:52.987 | 2019-10-10T16:38:39.003 | 2019-10-10T16:38:39.003 | 8,344,060 | 157 | null |
1,904 | 2 | null | 1,644 | 7 | null | Extending on what [Mike Powell](https://stackoverflow.com/users/205/mike-powell) has to say, I am actually a big fan of almost all of the podcasts at [http://www.twit.tv](http://www.twit.tv). Most of the content is watered down a bit, but some of the speakers are top notch thinkers - especially on "This Week in Tech",... | null | CC BY-SA 2.5 | null | 2008-08-05T04:49:15.030 | 2008-08-05T04:49:15.030 | 2017-05-23T12:02:47.733 | -1 | 172 | null |
1,912 | 2 | null | 1,898 | 0 | null | If you can guarantee that there are no commas in the data, then the simplest way would probably be to use [String.split](http://msdn.microsoft.com/en-us/library/system.string.split(VS.71).aspx).
For example:
```
String[] values = myString.Split(',');
myObject.StringField = values[0];
myObject.IntField = Int32.Parse(v... | null | CC BY-SA 2.5 | null | 2008-08-05T05:02:37.640 | 2008-08-05T05:02:37.640 | null | null | 122 | null |
1,911 | 2 | null | 1,644 | 15 | null | Brad's list is pretty good. I also listen to:
- [Sparkling Client](http://www.sparklingclient.com/)- [Perspectives](http://perspectives.on10.net/)- [Herding Code](http://herdingcode.com)[interviewed Jeff Atwood about Stack Overflow](http://herdingcode.com/?p=36)
| null | CC BY-SA 2.5 | null | 2008-08-05T04:59:43.607 | 2009-09-14T09:21:21.683 | 2009-09-14T09:21:21.683 | 63,550 | 5 | null |
1,926 | 2 | null | 1,908 | 0 | null | the problem is that the sphere can be distorted a number of ways, and having all those points known on the equator, lets say, wont help you map points further away.
You need better 'close' points, then you can assume these three points are on a plane with the fourth and do the interpolation --knowing that the distance... | null | CC BY-SA 2.5 | null | 2008-08-05T05:20:55.403 | 2008-08-05T05:24:16.240 | 2008-08-05T05:24:16.240 | 157 | 157 | null |
1,927 | 2 | null | 1,908 | 0 | null | Ummm. Maybe I am missing something about the question here, but if you have long/lat info, you also have the direction of north?
It seems you need to map geodesic coordinates to a projected coordinates system. For example osgb to wgs84.
The maths involved is non-trivial, but the code comes out a only a few lines. If... | null | CC BY-SA 2.5 | null | 2008-08-05T05:21:02.800 | 2008-08-05T05:36:52.970 | 2008-08-05T05:36:52.970 | 342 | 342 | null |
1,928 | 2 | null | 1,898 | 5 | null | There are two articles on CodeProject that provide code for a solution, one that uses [StreamReader](http://www.codeproject.com/KB/database/CsvReader.aspx) and one that [imports CSV data](http://www.codeproject.com/KB/database/FinalCSVReader.aspx) using the [Microsoft Text Driver](http://support.microsoft.com/kb/187670... | null | CC BY-SA 3.0 | null | 2008-08-05T05:24:03.213 | 2013-12-27T18:26:29.657 | 2013-12-27T18:26:29.657 | 267,702 | 51 | null |
1,920 | 2 | null | 1,644 | 26 | null | I listen to the [javaposse](http://javaposse.com) regularly, they cover mostly Java, but not solely.
| null | CC BY-SA 2.5 | null | 2008-08-05T05:13:05.687 | 2008-08-05T05:13:05.687 | null | null | 198 | null |
1,934 | 2 | null | 1,241 | 4 | null | I'm not clear on whether or not you're wanting to add the asynchronous bits to the server in C# or the client in C++.
If you're talking about doing this in C++, desktop Windows platforms can do socket I/O asynchronously through the API's that use overlapped I/O. For sockets, WSASend, WSARecv both allow async I/O (rea... | null | CC BY-SA 2.5 | null | 2008-08-05T05:30:41.297 | 2008-08-05T05:30:41.297 | null | null | 328 | null |
1,812 | 2 | null | 231 | 19 | null |
The solution to this question really doesn't depend on what programming language you're using, as long as there's some way to modify Windows registry settings.
Finally, here's the answer:
- - [associate a program with the mailto protocol for the current user](http://windowsxp.mvps.org/permail.htm)
The %1 will be repla... | null | CC BY-SA 4.0 | null | 2008-08-05T01:49:25.940 | 2020-07-20T19:41:53.597 | 2020-07-20T19:41:53.597 | 10,325,630 | 62 | null |
1,857 | 2 | null | 1,854 | 1,191 | null | ```
>>> import os
>>> os.name
'posix'
>>> import platform
>>> platform.system()
'Linux'
>>> platform.release()
'2.6.22-15-generic'
```
The output of [platform.system()](https://docs.python.org/library/platform.html#platform.system) is as follows:
- `Linux`- `Darwin`- `Windows`
See: [platform — Access to underlying ... | null | CC BY-SA 4.0 | null | 2008-08-05T03:27:03.760 | 2019-12-27T04:51:44.667 | 2019-12-27T04:51:44.667 | 3,064,538 | 2,089,740 | null |
1,936 | 1 | 1,940 | null | 123 | 92,301 | Using ASP.NET MVC there are situations (such as form submission) that may require a `RedirectToAction`.
One such situation is when you encounter validation errors after a form submission and need to redirect back to the form, but would like the URL to reflect the URL of the form, not the action page it submits to.
... | How to RedirectToAction in ASP.NET MVC without losing request data | CC BY-SA 3.0 | 0 | 2008-08-05T05:33:41.697 | 2020-06-18T13:31:52.997 | 2016-08-15T02:03:16.617 | 316,469 | 364 | [
"c#",
"asp.net-mvc"
] |
1,940 | 2 | null | 1,936 | 81 | null | The solution is to use the TempData property to store the desired Request components.
For instance:
```
public ActionResult Send()
{
TempData["form"] = Request.Form;
return this.RedirectToAction(a => a.Form());
}
```
Then in your "Form" action you can go:
```
public ActionResult Form()
{
/* Declare vie... | null | CC BY-SA 3.0 | null | 2008-08-05T05:43:27.900 | 2016-02-07T00:59:36.093 | 2016-02-07T00:59:36.093 | 2,921,691 | 364 | null |
1,983 | 1 | 2,277 | null | 58 | 15,656 | In many places, `(1,2,3)` (a tuple) and `[1,2,3]` (a list) can be used interchangeably.
When should I use one or the other, and why?
| Python: what is the difference between (1,2,3) and [1,2,3], and when should I use each? | CC BY-SA 4.0 | 0 | 2008-08-05T07:18:55.853 | 2021-10-08T16:48:07.107 | 2019-05-02T20:34:39.577 | 10,221,765 | 116 | [
"python",
"list",
"tuples"
] |
1,945 | 2 | null | 1,908 | 8 | null | Are there any more specific details on the kind of distortion? If, for example, your latitudes and longitudes are "distorted" onto your 2D map using a Mercator projection, the conversion math is [readily available](http://www.wikipedia.org/wiki/Mercator_projection).
If the map is distorted truly arbitrarily, there ar... | null | CC BY-SA 2.5 | null | 2008-08-05T05:48:22.353 | 2008-08-07T21:46:19.500 | 2008-08-07T21:46:19.500 | 328 | 328 | null |
1,948 | 2 | null | 6 | 68 | null | Here is a sample code. I think this is what you are looking for. The following code displays exactly the same in Firefox 3 (mac) and IE7.
```
#absdiv {
position: absolute;
left: 100px;
top: 100px;
width: 80%;
height: 60%;
background: #999;
}
#pctchild {
width: 60%;
height: 40%;
background: #CC... | null | CC BY-SA 4.0 | null | 2008-08-05T05:54:23.310 | 2020-07-04T01:13:29.037 | 2020-07-04T01:13:29.037 | 10,325,630 | 22 | null |
1,986 | 2 | null | 1,982 | 2 | null | I can't think of any cross platform way of what you want (or any guaranteed way full stop) but as you are using GetTickCount perhaps you aren't interested in cross platform :)
I'd use interprocess communications and set the intensive processes nice levels to get what you require but I'm not sure that's appropriate for... | null | CC BY-SA 2.5 | null | 2008-08-05T07:23:45.390 | 2008-08-05T07:23:45.390 | 2017-05-23T12:17:58.683 | -1 | 269 | null |
1,982 | 1 | 47,086 | null | 49 | 5,753 | I was just wondering if there is an elegant way to set the maximum CPU load for a particular thread doing intensive calculations.
Right now I have located the most time consuming loop in the thread (it does only compression) and use `GetTickCount()` and `Sleep()` with hardcoded values. It makes sure that the loop conti... | CPU throttling in C++ | CC BY-SA 4.0 | 0 | 2008-08-05T07:11:08.427 | 2020-09-16T05:20:07.823 | 2020-09-16T05:20:07.823 | 11,797,840 | 2,090,742 | [
"c++",
"performance",
"cpu",
"throttling"
] |
1,957 | 2 | null | 1,848 | 3 | null | recognizing text inside an image is indeed a hot topic for researchers in that field, but only begun to grow out of control when [captcha's](http://en.wikipedia.org/wiki/Captcha) became the "norm" in terms of defense against spam bots. Why use captcha's as protection? well because it is/was very hard to locate (and rea... | null | CC BY-SA 2.5 | null | 2008-08-05T06:00:46.417 | 2008-08-05T06:00:46.417 | null | null | 46 | null |
1,987 | 2 | null | 1,983 | 23 | null | The list `[1,2,3]` is dynamic and flexible but that flexibility comes at a speed cost.
The tuple `(1,2,3)` is fixed (immutable) and therefore faster.
| null | CC BY-SA 4.0 | null | 2008-08-05T07:27:40.610 | 2018-06-26T21:22:00.500 | 2018-06-26T21:22:00.500 | 7,848,065 | 269 | null |
1,949 | 1 | 5,310 | null | 32 | 5,763 | In order to fully use LinqToSql in an ASP.net 3.5 application, it is necessary to create [DataContext](http://msdn.microsoft.com/en-us/library/system.data.linq.datacontext.aspx) [classes](http://dotnetslackers.com/articles/csharp/InsideTheLINQToSQLDataContextClass.aspx) (which is usually done using the designer in VS 2... | Are Multiple DataContext classes ever appropriate? | CC BY-SA 2.5 | 0 | 2008-08-05T05:54:34.697 | 2014-06-17T20:59:34.913 | 2012-03-22T00:01:27.907 | 3 | 51 | [
"asp.net",
".net",
"linq-to-sql",
"datacontext"
] |
1,992 | 2 | null | 1,988 | 2 | null | If you want lisp to look like Ruby use Ruby.
It's possible to use Ruby (and Python) in a very lisp like way which is one of the main reasons they have gained acceptance so quickly.
| null | CC BY-SA 2.5 | null | 2008-08-05T07:40:26.980 | 2008-08-05T07:40:26.980 | null | null | 269 | null |
1,988 | 1 | 63,737 | null | 50 | 7,433 | I have read a lot that LISP can redefine syntax on the fly, presumably with macros. I am curious how far does this actually go? Can you redefine the language structure so much that it borderline becomes a compiler for another language? For example, could you change the functional nature of LISP into a more object or... | How far can LISP macros go? | CC BY-SA 2.5 | 0 | 2008-08-05T07:32:54.437 | 2014-03-08T08:39:32.127 | 2008-09-18T04:57:43.970 | 122 | 122 | [
"macros",
"lisp"
] |
1,993 | 2 | null | 1,988 | 1 | null | @sparkes
Sometimes LISP is the clear language choice, namely Emacs extensions. I'm sure I could use Ruby to extend Emacs if I wanted to, but Emacs was designed to be extended with LISP, so it seems to make sense to use it in that situation.
| null | CC BY-SA 2.5 | null | 2008-08-05T07:45:14.020 | 2008-08-05T07:45:14.020 | null | null | 122 | null |
2,001 | 2 | null | 1,995 | 10 | null | Would use double.TryParse, it has performance benefits.
| null | CC BY-SA 3.0 | null | 2008-08-05T07:54:12.613 | 2012-08-23T20:15:36.220 | 2012-08-23T20:15:36.220 | 337,315 | 195 | null |
1,994 | 1 | null | null | 21 | 4,489 | When you data bind in C#, the thread that changes the data causes the control to change too. But if this thread is not the one on which the control was created, you'll get an Illegal Cross Thread Operation exception.
Is there anyway to prevent this?
| Any solution to Illegal Cross Thread Operation exception? | CC BY-SA 3.0 | null | 2008-08-05T07:45:38.310 | 2017-12-22T19:05:12.317 | 2017-12-22T19:05:12.317 | 2,384,186 | 195 | [
"c#",
"data-binding"
] |
2,005 | 2 | null | 1,995 | 3 | null | I'd personally use int.tryparse, then double.tryparse. Performance on those methods is quite fast. They both return a Boolean. If both fail then you have a string, per how you defined your data.
| null | CC BY-SA 2.5 | null | 2008-08-05T08:02:01.087 | 2008-08-05T08:02:01.087 | null | null | 232 | null |
2,006 | 2 | null | 1,982 | 4 | null | On linux, you can change the scheduling priority of a thread with nice().
| null | CC BY-SA 2.5 | null | 2008-08-05T08:03:01.397 | 2008-08-05T08:03:01.397 | null | null | 116 | null |
2,009 | 2 | null | 1,995 | 5 | null | I would say, don't worry so much about such micro performance. It is much better to just get something to work, and then make it as clear and concise and easy to read as possible. The worst thing you can do is sacrifice readability for an insignificant amount of performance.
In the end, the best way to deal with per... | null | CC BY-SA 2.5 | null | 2008-08-05T08:04:22.093 | 2008-08-05T08:04:22.093 | null | null | 122 | null |
2,002 | 2 | null | 1,994 | 2 | null | As I don't have a test case to go from I can't guarantee this solution, but it seems to me that a scenario similar to the one used to update progress bars in different threads (use a delegate) would be suitable here.
```
public delegate void DataBindDelegate();
public DataBindDelegate BindData = new DataBindDelegate(D... | null | CC BY-SA 2.5 | null | 2008-08-05T07:56:53.140 | 2008-08-05T07:56:53.140 | null | null | 192 | null |
1,998 | 2 | null | 1,994 | 5 | null | You should be able to do something like:
```
if (control.InvokeRequired)
{
control.Invoke(delegateWithMyCode);
}
else
{
delegateWithMyCode();
}
```
InvokeRequired is a property on Controls to see if you are on the correct thread, then Invoke will invoke the delegate on the correct thread.
UPDATE: Actually, ... | null | CC BY-SA 2.5 | null | 2008-08-05T07:51:54.727 | 2008-08-05T07:58:06.727 | 2008-08-05T07:58:06.727 | 122 | 122 | null |
2,019 | 2 | null | 330 | 5 | null | One way of deciding whether or not to use nested classes is to think whether or not this class plays a supporting role or it's own part.
If it exists solely for the purpose of helping another class then I generally make it a nested class. There are a whole load of caveats to that, some of which seem contradictory but ... | null | CC BY-SA 2.5 | null | 2008-08-05T08:29:13.527 | 2008-08-05T08:29:13.527 | null | null | 342 | null |
2,017 | 2 | null | 1,790 | 4 | null | This is more or less the perfect use case for [SVK](http://svk.bestpractical.com/view/HomePage). SVK is a command line front end for subversion that works with an entire local copy of the repository. So your commits, updates, etc. work on the local repository and you can then sync with a master. I would generally re... | null | CC BY-SA 2.5 | null | 2008-08-05T08:22:05.943 | 2010-03-16T13:03:28.697 | 2010-03-16T13:03:28.697 | 48 | 48 | null |
2,023 | 2 | null | 330 | 4 | null | sounds like a case where you could use the [strategy pattern](http://en.wikipedia.org/wiki/Strategy_pattern)
| null | CC BY-SA 2.5 | null | 2008-08-05T08:37:19.097 | 2008-08-05T08:37:19.097 | null | null | 370 | null |
2,013 | 2 | null | 1,994 | 0 | null | If the thread call is "illegal" (i.e. the DataBind call affects controls that were not created in the thread it is being called from) then you need to create a delegate so that even if the decision / preparation for the DataBind is not done in the control-creating thread, any resultant modification of them (i.e. DataBi... | null | CC BY-SA 2.5 | null | 2008-08-05T08:06:42.840 | 2008-08-05T08:06:42.840 | null | null | 192 | null |
1,995 | 1 | 2,001 | null | 23 | 1,581 | I have values stored as strings in a `DataTable` where each value could really represent an `int`, `double`, or `string` (they were all converted to strings during an import process from an external data source). I need to test and see what type each value really is.
What is more efficient for the application (or is t... | Most Efficient Way to Test Object Type | CC BY-SA 3.0 | null | 2008-08-05T07:49:11.547 | 2015-12-14T09:16:52.833 | 2015-12-14T09:16:52.833 | 3,751,577 | 51 | [
"c#",
".net",
"double",
"int"
] |
2,034 | 1 | 2,036 | null | 316 | 218,069 | What do the result codes in SVN mean? I need a quick reference.
| What do the result codes in SVN mean? | CC BY-SA 3.0 | 0 | 2008-08-05T09:11:54.877 | 2017-04-28T09:30:07.183 | 2011-10-11T16:32:12.540 | 122,607 | 137 | [
"svn"
] |
2,025 | 2 | null | 1,644 | 9 | null | Also make sure you don't miss the [dnrTV webcast show](http://www.dnrtv.com/default.aspx) that Carl Franklin (the man behind .NET rocks) publishes. Even if it's a not a podcast and requires a more attention while watching it it's really informative and if you're into .NET and Microsoft related techniques you'll learn a... | null | CC BY-SA 2.5 | null | 2008-08-05T08:43:05.667 | 2008-08-05T08:43:05.667 | null | null | 298 | null |
2,033 | 2 | null | 2,027 | 4 | null |
- -
- - -
| null | CC BY-SA 2.5 | null | 2008-08-05T09:10:58.933 | 2008-08-05T09:10:58.933 | null | null | 370 | null |
2,041 | 1 | 2,310 | null | 662 | 680,000 | How do I create a branch in SVN?
| How do I create a branch? | CC BY-SA 4.0 | 0 | 2008-08-05T09:25:29.000 | 2020-03-27T05:54:59.327 | 2019-05-24T21:18:36.800 | 3,345,644 | 269 | [
"svn",
"version-control",
"branch",
"branching-and-merging"
] |
2,042 | 2 | null | 2,041 | 638 | null | Create a new branch using the `svn copy` command as follows:
```
$ svn copy svn+ssh://host.example.com/repos/project/trunk \
svn+ssh://host.example.com/repos/project/branches/NAME_OF_BRANCH \
-m "Creating a branch of project"
```
| null | CC BY-SA 4.0 | null | 2008-08-05T09:25:40.510 | 2018-09-13T22:46:58.603 | 2018-09-13T22:46:58.603 | 59,087 | 269 | null |
2,027 | 1 | null | null | 52 | 18,954 | When learning a new programming language, one of the possible roadblocks you might encounter is the question whether the language is, by default, .
So here is my question to all of you, in your favorite language, is it actually done? And what are the ?
Your favorite language can, of course, be anything you have ever... | Pass by reference or pass by value? | CC BY-SA 3.0 | 0 | 2008-08-05T08:56:01.023 | 2019-02-16T10:00:58.500 | 2014-07-21T09:52:53.083 | 1,783,163 | 46 | [
"language-agnostic",
"oop",
"parameters",
"pass-by-reference",
"pass-by-value"
] |
2,043 | 1 | 2,044 | null | 33 | 10,053 | A Windows process created from an exe file has access to the command string which invoked it, including its file's path and filename. eg. `C:\MyApp\MyApp.exe --help`.
But this is not so for a dll invoked via `LoadLibrary`. Does anyone know of a way for a function loaded via dll to find out what its path and filename is... | Can a Windows dll retrieve its own filename? | CC BY-SA 4.0 | 0 | 2008-08-05T09:34:49.073 | 2021-11-19T22:09:05.343 | 2021-11-19T22:09:05.343 | 369 | 369 | [
"windows",
"delphi",
"winapi",
"dll"
] |
2,044 | 2 | null | 2,043 | 39 | null | I think you're looking for GetModuleFileName.
[http://www.swissdelphicenter.ch/torry/showcode.php?id=143](http://www.swissdelphicenter.ch/torry/showcode.php?id=143):
```
{
If you are working on a DLL and are interested in the filename of the
DLL rather than the filename of the application, then you can use this f... | null | CC BY-SA 3.0 | null | 2008-08-05T09:37:13.577 | 2012-02-07T13:01:06.997 | 2012-02-07T13:01:06.997 | 744,588 | 91 | null |
2,047 | 2 | null | 1,535 | 14 | null | This looks like an excellent opportunity to have a look at Aspect Oriented Programming. Here is a good article on [AOP in .NET](https://learn.microsoft.com/en-us/archive/blogs/simonince/aspect-oriented-interception). The general idea is that you'd extract the cross-functional concern (i.e. Retry for x hours) into a sep... | null | CC BY-SA 4.0 | null | 2008-08-05T09:43:55.000 | 2020-12-16T01:54:30.937 | 2020-12-16T01:54:30.937 | null | 358 | null |
2,049 | 2 | null | 2,046 | 4 | null | You do the unit testing by mocking out the database connection. This way, you can build scenarios where specific queries in the flow of a method call succeed or fail. I usually build my mock expectations so that the actual query text is ignored, because I really want to test the fault tolerance of the method and how it... | null | CC BY-SA 2.5 | null | 2008-08-05T09:47:41.013 | 2008-08-05T09:47:41.013 | null | null | 266 | null |
2,050 | 2 | null | 1,949 | 2 | null | In my experience with LINQ to SQL and LINQ to Entities a DataContext is synonymous to a connection to the database. So if you were to use multiple data stores you would need to use multiple DataContexts. My gut reaction is you wouldn't notice to much of a slow down with a DataContext that encompasses a large number of ... | null | CC BY-SA 2.5 | null | 2008-08-05T09:57:03.333 | 2008-08-05T09:57:03.333 | null | null | 200 | null |
2,036 | 2 | null | 2,034 | 543 | null | For additional details see the SVNBook: ["Status of working copy files and directories"](http://svnbook.red-bean.com/en/1.8/svn.ref.svn.c.status.html).
The common statuses:
> : Working file was updated: Changes on the repo were automatically merged into the working copy: Working copy is modified: This file conflicts ... | null | CC BY-SA 3.0 | null | 2008-08-05T09:12:29.947 | 2015-03-11T12:29:13.950 | 2015-03-11T12:29:13.950 | 761,095 | 137 | null |
2,048 | 1 | 2,080 | null | 13 | 3,848 | For all the RSS feeds I subscribe to I use [Google Reader](http://www.google.com/reader/), which I love. I do however have a couple of specific RSS feeds that I'd like to be notified of as soon as they get updated (say, for example, an RSS feed for a forum I like to monitor and respond to as quickly as possible).
Are... | Monitor a specific RSS | CC BY-SA 4.0 | null | 2008-08-05T09:45:41.377 | 2021-10-25T11:20:51.307 | 2020-06-18T19:30:44.177 | 9,780,149 | 298 | [
"rss"
] |
2,046 | 1 | 7,641 | null | 50 | 8,770 | As a novice in practicing test-driven development, I often end up in a quandary as to how to unit test persistence to a database.
I know that technically this would be an integration test (not a unit test), but I want to find out the best strategies for the following:
1. Testing queries.
2. Testing inserts. How do I... | How do I unit test persistence? | CC BY-SA 3.0 | 0 | 2008-08-05T09:43:01.257 | 2020-07-09T15:12:11.730 | 2012-08-14T14:05:52.823 | 521,799 | 372 | [
"sql-server",
"unit-testing",
"tdd"
] |
2,054 | 2 | null | 2,048 | 2 | null | RSS isn't "push", which means that you need to have something that polls the website. It's much less traffic than getting the whole site or front page (for instance, you can say "Give me all articles newer than the last time I asked"), but it's traffic nonetheless.
It's generally understood you shouldn't have a refre... | null | CC BY-SA 2.5 | null | 2008-08-05T10:05:07.187 | 2008-08-05T10:05:07.187 | null | null | 188 | null |
2,057 | 2 | null | 2,048 | 0 | null | I've used [Pingie](http://www.pingie.com) to send me an SMS when a new item appears in an RSS feed. Perhaps, it will be useful for you, if you have a cellphone text messaging plan.
| null | CC BY-SA 4.0 | null | 2008-08-05T10:06:38.323 | 2020-07-10T07:42:18.620 | 2020-07-10T07:42:18.620 | 10,325,630 | 200 | null |
2,058 | 2 | null | 1,010 | 2 | null | I enabled compression following similar articles to those posted above. The key to accessing the ViewState before the application sends it was overriding this method;
```
protected override void SavePageStateToPersistenceMedium(object viewState)
```
You can call the base method within this override and then add what... | null | CC BY-SA 2.5 | null | 2008-08-05T10:07:51.847 | 2008-08-05T10:07:51.847 | null | null | 371 | null |
2,066 | 2 | null | 2,046 | 1 | null | I would also mock the database, and check that the queries are what you expected. There is the risk that the test checks the wrong sql, but this would be detected in the integration tests
| null | CC BY-SA 2.5 | null | 2008-08-05T10:19:08.563 | 2008-08-05T10:19:08.563 | null | null | 259 | null |
2,064 | 2 | null | 2,048 | 0 | null | [RSS2mail](http://exo.org.uk/code/rss2mail/) is a simple python script which I used extensively a few years back.
As Matthew stated you really shouldn't bother an RSS feed more than the producer allows but you can use http headers to check for changes in a very light way which is something rss2email does quite well.
| null | CC BY-SA 2.5 | null | 2008-08-05T10:15:37.617 | 2008-08-05T10:15:37.617 | null | null | 269 | null |
1,672 | 2 | null | 1,669 | 1,189 | null |
## Big List of Resources:
- [A Nanopass Framework for Compiler Education](http://www.cs.indiana.edu/%7Edyb/pubs/nano-jfp.pdf)- [Advanced Compiler Design and Implementation](http://www.amazon.com/gp/offer-listing/1558603204?tag=thecompilerconne&camp=14573&creative=327641&linkCode=am1&creativeASIN=1558603204&adid=1ZQW... | null | CC BY-SA 4.0 | null | 2008-08-04T22:52:00.650 | 2021-07-30T22:04:27.037 | 2021-07-30T22:04:27.037 | 165,780 | 91 | null |
2,051 | 2 | null | 2,027 | 5 | null | Don't forget there is also , and .
Pass by value-result is similar to pass by value, with the added aspect that the value is set in the original variable that was passed as the parameter. It can, to some extent, avoid interference with global variables. It is apparently better in partitioned memory, where a pass by ... | null | CC BY-SA 2.5 | null | 2008-08-05T10:00:46.930 | 2008-08-05T10:00:46.930 | null | null | 188 | null |
2,056 | 1 | 101,561 | null | 2,335 | 558,187 | When looking beyond the [RAD](https://en.wikipedia.org/wiki/Rapid_application_development) (drag-drop and configure) way of building user interfaces that many tools encourage you are likely to come across three design patterns called [Model-View-Controller](http://en.wikipedia.org/wiki/Model%E2%80%93view%E2%80%93contro... | What are MVP and MVC and what is the difference? | CC BY-SA 3.0 | 0 | 2008-08-05T10:06:33.020 | 2023-01-22T20:45:18.927 | 2020-08-29T01:23:49.180 | 1,595,451 | 358 | [
"user-interface",
"model-view-controller",
"design-patterns",
"terminology",
"mvp"
] |
2,080 | 2 | null | 2,048 | 4 | null | If you have access to Microsoft Outlook 2007 or Thunderbird, these email clients allow you to add RSS feeds in the same way you would add an email account.
I use Google Reader generally but when I want to keep up-to-date with something specific, I add the RSS feed to Outlook and it arrives in my inbox as if it was an ... | null | CC BY-SA 2.5 | null | 2008-08-05T10:50:35.393 | 2008-08-05T10:50:35.393 | null | null | 383 | null |
2,070 | 2 | null | 2,048 | 0 | null | You could always knock something up yourself... I've done it in the past and it really isn't too difficult a job to write an RSS parser.
Of course, as others have mentioned, there's an etiquette question as to how much of the website's valuable bandwidth you want to hog for yourself in RSS request traffic. That's a ... | null | CC BY-SA 2.5 | null | 2008-08-05T10:24:08.367 | 2008-08-05T10:24:08.367 | null | null | 377 | null |
2,086 | 2 | null | 14 | 48 | null | Some examples:
```
Round(1.5) = 2
Round(2.5) = 2
Round(1.5, MidpointRounding.AwayFromZero) = 2
Round(2.5, MidpointRounding.AwayFromZero) = 3
Round(1.55, 1) = 1.6
Round(1.65, 1) = 1.6
Round(1.55, 1, MidpointRounding.AwayFromZero) = 1.6
Round(1.65, 1, MidpointRounding.AwayFromZero) = 1.7
Truncate(2.10) = 2
Truncate(2.0... | null | CC BY-SA 2.5 | null | 2008-08-05T11:01:47.400 | 2009-02-24T22:26:38.210 | 2009-02-24T22:26:38.210 | 95 | 95 | null |
2,073 | 2 | null | 2,046 | 2 | null | The problem I experienced when unit testing persistence, especially without an ORM and thus mocking your database (connection), is that you don't really know if your queries succeed. It could be that you your queries are specifically designed for a particular database version and only succeed with that version. You'll ... | null | CC BY-SA 2.5 | null | 2008-08-05T10:29:42.880 | 2008-08-05T10:29:42.880 | null | null | 198 | null |
2,069 | 2 | null | 2,056 | 38 | null | - - MVC = Model-View-Controller
1. Both presentation patterns. They separate the dependencies between a Model (think Domain objects), your screen/web page (the View), and how your UI is supposed to behave (Presenter/Controller)
2. They are fairly similar in concept, folks initialize the Presenter/Controller differently... | null | CC BY-SA 3.0 | null | 2008-08-05T10:22:55.653 | 2013-04-20T09:17:51.610 | 2013-04-20T09:17:51.610 | 355,491 | 307 | null |
2,067 | 2 | null | 2,056 | 21 | null | Both of these frameworks aim to seperate concerns - for instance, interaction with a data source (model), application logic (or turning this data into useful information) (Controller/Presenter) and display code (View). In some cases the model can also be used to turn a data source into a higher level abstraction as we... | null | CC BY-SA 2.5 | null | 2008-08-05T10:20:20.340 | 2008-08-05T10:24:58.177 | 2008-08-05T10:24:58.177 | 364 | 364 | null |
2,092 | 1 | null | null | 30 | 3,487 | Looking for books or other references that discuss actually to write a code coverage tool in Java; some of the various techniques or tricks - source vs. byte code instrumentation.
This is for a scripting language that generates Java byte code under the hood.
| How to get started writing a code coverage tool? | CC BY-SA 3.0 | null | 2008-08-05T11:15:16.953 | 2019-05-26T05:06:06.703 | 2017-11-02T22:08:15.170 | 6,074,376 | null | [
"java",
"testing",
"coldfusion",
"code-coverage"
] |
2,068 | 2 | null | 2,056 | 444 | null | I blogged about this a while back, quoting on [Todd Snyder's excellent post on the difference between the two](http://blogs.infragistics.com/blogs/todd_snyder/archive/2007/10/17/mvc-or-mvp-pattern-whats-the-difference.aspx):
> Here are the key differences between
the patterns:- - - - -
It is the best explanation o... | null | CC BY-SA 3.0 | null | 2008-08-05T10:21:13.783 | 2015-05-04T03:28:06.603 | 2015-05-04T03:28:06.603 | 63,550 | 372 | null |
2,096 | 2 | null | 2,046 | 2 | null | For `NHibernate`, I'd definitely advocate just mocking out the `NHibernate API` for unit tests -- trust the library to do the right thing. If you want to ensure that the data actually goes to the DB, do an integration test.
| null | CC BY-SA 4.0 | null | 2008-08-05T11:20:38.330 | 2018-05-10T16:49:36.093 | 2018-05-10T16:49:36.093 | 5,260,008 | 266 | null |
2,114 | 2 | null | 1,329 | 1 | null | I've been using Copy Handler. The nicest thing about it is that it queues up its jobs like a download manager. It has a shell extension so you can either rightclick drag, or just set copy with copyhandler as the default action.
| null | CC BY-SA 2.5 | null | 2008-08-05T11:35:58.657 | 2008-08-05T11:35:58.657 | null | null | 369 | null |
2,118 | 2 | null | 1,329 | 1 | null | I built myself a PC with 4GB RAM, dual core 1.8GHz 40GB PATA drive primary, and 250GB SATA drive secondary, and installed Windows Vista Business Edition. When I had to copy 120GB of data from my old PATA disk, Vista failed miserably and kept crashing. I definitely recommend Teracopy Free Edition.
| null | CC BY-SA 3.0 | null | 2008-08-05T11:44:29.687 | 2014-05-02T12:49:16.407 | 2014-05-02T12:49:16.407 | 3,524,344 | 389 | null |
2,099 | 2 | null | 2,046 | 1 | null | Technically unit tests of persistance are not unit tests. They are integration tests.
With C# using mbUnit, you simply use the `SqlRestoreInfo` and `RollBack` attributes:
```
[TestFixture]
[SqlRestoreInfo(<connectionsting>, <name>,<backupLocation>]
public class Tests
{
[SetUp]
public ... | null | CC BY-SA 4.0 | null | 2008-08-05T11:27:08.550 | 2020-07-09T15:12:11.730 | 2020-07-09T15:12:11.730 | 10,325,630 | 230 | null |
2,123 | 1 | 2,223 | null | 46 | 29,944 | `Checkboxes` in `HTML` forms don't have implicit with them. Adding an explicit label (some text) next to it doesn't toggle the `checkbox`.
| How do I make a checkbox toggle from clicking on the text label as well? | CC BY-SA 3.0 | 0 | 2008-08-05T11:51:16.507 | 2022-07-22T11:02:57.733 | 2017-05-16T01:57:14.383 | 4,311,889 | 193 | [
"html",
"checkbox"
] |