qid int64 1 74.7M | question stringlengths 12 33.8k | date stringlengths 10 10 | metadata list | response_j stringlengths 0 115k | response_k stringlengths 2 98.3k |
|---|---|---|---|---|---|
760,819 | I have a very simple program written in 5 min that opens a sever socket and loops through the request and prints to the screen the bytes sent to it.
I then tried to benchmark how many connections I can hammer it with to try to find out how many concurrent users I can support with this program.
On another machine (wh... | 2009/04/17 | [
"https://Stackoverflow.com/questions/760819",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/79567/"
] | The quick answer is 2^16 TCP ports, 64K.
The issues with system imposed limits is a configuration issue, already touched upon in previous comments.
The internal implications to TCP is not so clear (to me). Each port requires memory for it's instantiation, goes onto a list and needs network buffers for data in transit... | Yep, the limit is set by the kernel; check out this thread on Stack Overflow for more details: [Increasing the maximum number of tcp/ip connections in linux](https://stackoverflow.com/questions/410616/increasing-the-maximum-number-of-tcp-ip-connections-in-linux) |
46,860 | How believable is a touch or fluid vectored bacteria which is so dependent on its host that the remains of a terminated victim become non-contageous within minutes of the host's death?
I'm postulating an infector which consumes its host so quickly that infected blood samples contain no living infectors within an hour ... | 2016/07/10 | [
"https://worldbuilding.stackexchange.com/questions/46860",
"https://worldbuilding.stackexchange.com",
"https://worldbuilding.stackexchange.com/users/3112/"
] | Is there any evolutionary benefit to becoming non infectious minutes after inducing death?
Is this a naturally occurring disease or an engineered disease?
So lets try this:
The pathogen, in this case a yeast, infects the hosts blood. The yeast, as part of its normal metabolism, produces a protein that is sheds and wh... | A slightly different method is to make the infection method something tied to the host being alive, like respiration.
If the disease is spread air borne by breathing it will not spread from any dead host. |
46,860 | How believable is a touch or fluid vectored bacteria which is so dependent on its host that the remains of a terminated victim become non-contageous within minutes of the host's death?
I'm postulating an infector which consumes its host so quickly that infected blood samples contain no living infectors within an hour ... | 2016/07/10 | [
"https://worldbuilding.stackexchange.com/questions/46860",
"https://worldbuilding.stackexchange.com",
"https://worldbuilding.stackexchange.com/users/3112/"
] | Is there any evolutionary benefit to becoming non infectious minutes after inducing death?
Is this a naturally occurring disease or an engineered disease?
So lets try this:
The pathogen, in this case a yeast, infects the hosts blood. The yeast, as part of its normal metabolism, produces a protein that is sheds and wh... | Viruses may be a loophole worth exploring. Scientifically they are not categorized as "living," so the only time you could even consider them alive is while their DNA is part of an infected cell churning out viruses. Thus, when the host dies, and their cells die with them, the virus "dies."
Alternatively, a disease wh... |
23,070 | Is there any software/website you can use to Backup data from an FTP server to a cloud service like Onedrive, Dropbox or google drive (or something else)?
It takes some time to download the folder to your computer and then upload it to Onedrive. Which adds an unnecessary step in between (which often also is a bottlene... | 2015/08/16 | [
"https://softwarerecs.stackexchange.com/questions/23070",
"https://softwarerecs.stackexchange.com",
"https://softwarerecs.stackexchange.com/users/16301/"
] | Actually, there're many apps/services that can do the backup like CloudHQ, Cloudsfer, cBackupper... CloudHQ and Cloudsfer are like cloud-to-cloud migration and cBackupper is more relevant to what you want, the [cloud backup](https://cloud.ubackup.com) thing. Besides, cBackupper also has the PC-to-cloud backup mode, but... | From the question it isn't really clear if the FTP server is "given" or if it's something you have the liberty to install and deploy yourself. In the latter case, you may consider to deploy your FTP (FTPS or SFTP) server directly in the cloud, which would inherently store your data in the cloud where you have deployed ... |
23,070 | Is there any software/website you can use to Backup data from an FTP server to a cloud service like Onedrive, Dropbox or google drive (or something else)?
It takes some time to download the folder to your computer and then upload it to Onedrive. Which adds an unnecessary step in between (which often also is a bottlene... | 2015/08/16 | [
"https://softwarerecs.stackexchange.com/questions/23070",
"https://softwarerecs.stackexchange.com",
"https://softwarerecs.stackexchange.com/users/16301/"
] | Actually, there're many apps/services that can do the backup like CloudHQ, Cloudsfer, cBackupper... CloudHQ and Cloudsfer are like cloud-to-cloud migration and cBackupper is more relevant to what you want, the [cloud backup](https://cloud.ubackup.com) thing. Besides, cBackupper also has the PC-to-cloud backup mode, but... | I am currently using MultCloud(based on the web) to sync my OneDrive files. Since I have not used FTP before, I can’t give you an exact answer, but I do see the FTP option there, so I guess it is supported by MultCloud as well. This app is very easy to operate for me, that’s why I’m still using it.
I moved to the MultC... |
645,714 | On my multimeter, the D.C. voltage readings get inaccurate over time due to battery discharge.
How can I tell when to change out the batteries?
By consulting the manuals, I found what is displayed when the battery needs replacement.
Thanks. | 2022/12/09 | [
"https://electronics.stackexchange.com/questions/645714",
"https://electronics.stackexchange.com",
"https://electronics.stackexchange.com/users/175334/"
] | Most meters will have a battery low indication. A good quality meter will have one that comes on before any readings start to become inaccurate.
If you have a variable power supply, you can test your meter by using that instead of the battery. Wind the supply voltage down, and note the voltage at which the low battery... | By consulting the manuals, I found what is displayed when the battery needs replacement. |
9,948 | What nonparametric "Model Free" methods exist to measure intraday seasonality? I would like to estimate intraday seasonality in any of
* The volatility
* The traded volume
* The bid ask spread
* or something as esoteric as the rate of orders with a frequency higher than a specified threshold.
One approach that I was ... | 2014/01/15 | [
"https://quant.stackexchange.com/questions/9948",
"https://quant.stackexchange.com",
"https://quant.stackexchange.com/users/5456/"
] | I would absolutely use a mark-to-market value in your daily pnl for the purposes of evaluating performance (e.g. Sharpe). So, yes, that would include the value of open positions in addition to your cash balance.
If you hold something for a year, that performance was earned one day at a time, not all at once. If you on... | For a single day as long as $K(t+1)$ includes the intraday cash flows it is the same, however if you do not simulate your cash balance interest rate you forget that your cash get compounded over time, which is slightly incorrect.
This is why someone suggested you simulate your cash balance. This is more correct as wel... |
2,097 | Now we're into week 6 of the "Top Question" of Super User in the [Super User blog](http://superuser.blogoverflow.com). Please post and vote for your favorite question for this week.
Please post any question that you feel is of worth and the reason why. Try not to promote your own questions or answers for publicity sak... | 2011/02/14 | [
"https://meta.superuser.com/questions/2097",
"https://meta.superuser.com",
"https://meta.superuser.com/users/47225/"
] | Not to blow my own trumpet but the [HP CPU Assassin](https://superuser.com/questions/240794/why-does-wmi-provider-host-wmiprvse-exe-keep-spiking-my-cpu) (thanks @nhinkle for the title) and [Browser Addon to filter Google search results](https://superuser.com/questions/245959/is-there-a-browser-addon-to-filter-google-se... | I motion to include [Is there any product to prevent a broken screen's pieces from falling from it?](https://superuser.com/questions/246365/is-there-any-product-to-prevent-a-broken-screens-pieces-from-falling-from-it) because of the ridiculousness of the answer. |
345,310 | Clustering algorithm defines a particular distance (correlation or euclidean) and a linkage (which, strangely some books call distance - single, complete, average or centroid). Conceptually, correlation or euclidean distance measure distance between two points (but not clusters, perhaps); linkages measure distance betw... | 2018/05/09 | [
"https://stats.stackexchange.com/questions/345310",
"https://stats.stackexchange.com",
"https://stats.stackexchange.com/users/185332/"
] | The linkage defines how the distances are *aggregated*.
Without the underlying distance, there would be nothing to aggregate. Nothing to take the minimum/maximum/average of. **The definitions of linkages *require* a distance**. | The linkage criterion is a function of the distance metric that you choose.
For instance, let's consider the average-linkage criterion. Here's the formula:
[](https://i.stack.imgur.com/WpPwh.png)
Notice that the `d` in the a... |
126,796 | I have collected SVG icons from different sources. Some use thick paths and shapes. Others use thin ones.
Is there a way to change the thickness of paths and shapes in an SVG without having to adjust all the points in the object?
[](https://i.stack.i... | 2019/07/19 | [
"https://graphicdesign.stackexchange.com/questions/126796",
"https://graphicdesign.stackexchange.com",
"https://graphicdesign.stackexchange.com/users/65558/"
] | It would depend on how the graphics were constructed.
If it's made of simple strokes, then you could just apply a thinner stroke.
If the strokes have been converted to outlines, all bets are probably off. In this case it would be easier to redraw them as strokes, and apply a thinner stroke.
I don't use Sketch, but t... | Sketch doesn't have strokes. To make a line icon in Sketch you need to make a smaller version of a path (shape) and change the fill color.
To fix the problem, I had to ungroup the paths, remove the fill color, add a border and increase the thickness.
[ permissions to an app (for example, I don't want it accessing the camera or the phone).
Where does Android keep those permissions? Is it in a database somewhere? | 2014/01/24 | [
"https://android.stackexchange.com/questions/61845",
"https://android.stackexchange.com",
"https://android.stackexchange.com/users/50388/"
] | I've run out of space in comments so let's look at some options:
1) Go to Settings > Apps then go to Google Play Store and 'Uninstall Updates'. Then let the Play Store automatically update. Try downloading another keyboard.
2) If you have error 110 it MAY be hardware related. [Thread on similar issue](http://android... | The user manual advised to restart the tablet it becomes slow or unresponsive and my keyboard reappeared. The slide out icon / split screen function had stopped working on mine as well, that has started again too. |
105,334 | [The Mirror Universe](https://memory-alpha.fandom.com/wiki/Mirror_universe) is depicted in no fewer than [eight Star Trek episodes](https://memory-alpha.fandom.com/wiki/Mirror_universe#Appendices).
Yet I believe it was reached many different ways, intentional and not.
How many ways are there to travel between the Pr... | 2015/10/17 | [
"https://scifi.stackexchange.com/questions/105334",
"https://scifi.stackexchange.com",
"https://scifi.stackexchange.com/users/3823/"
] | Detonation of a tricobalt warhead inside the gravity well of a dead star
------------------------------------------------------------------------
In the ENT episode [*In a Mirror, Darkly*](https://memory-alpha.fandom.com/wiki/In_a_Mirror,_Darkly_(episode)):
>
> In the mirror universe, 2155, the Tholians detonated a ... | It's worth mentioning that in the (ambiguously) canon game Star Trek Online, there's a "Mirror Universe Invasion" event happening right now. The Terran ships are entering the Prime Universe through artificial "rifts", with no real explanation as of now. |
32,973 | When playing Head To Head Online Seasons in FIFA 12, on the squad selection screen some of the players have one or more symbols next to their name. What do these symbols signify? | 2011/10/21 | [
"https://gaming.stackexchange.com/questions/32973",
"https://gaming.stackexchange.com",
"https://gaming.stackexchange.com/users/1561/"
] | The symbols you are referring to depict a player's so called ***specialities***.
Specialities are divided into silver and gold ones, where gold ones are showing that the player is a really great talent. They are awarded for high stats in certain areas, for example the *Speedster* speciality is awarded to players with ... | In fifa-11
>
> The way the personality of each player is reflected in how they play is the most impressive thing, however. On the squad selection screen players have symbols by their names signifying their special attributes; Torres, for example, is both a Speedster and an Acrobat, meaning he's more likely to perfor... |
302,468 | I was wondering if anyone could shed some more definite light on the origin of the phrase 'Dutch Courage.'
I have found two, almost certainly apocryphal, origins:
>
> 1: From the [Thirty Years War](https://en.wikipedia.org/wiki/Thirty_Years%27_War) in the 17th Century, where British soldiers drank a Dutch Gin for it... | 2016/01/26 | [
"https://english.stackexchange.com/questions/302468",
"https://english.stackexchange.com",
"https://english.stackexchange.com/users/119050/"
] | ***[Dutch courage](http://dictionary.reference.com/browse/dutch-courage):***
>
> * False courage acquired by drinking liquor, as in He had a quick drink to give him Dutch courage. ***This idiom alludes to the reputed heavy drinking of the Dutch, and was first referred to in Edmund Waller's Instructions to a Painter (... | On a tour in London 2012 our guide stated that Durch Courage came about in the rat plague when only Dutch vessels still traded and berthed in the Thames.
The British Government issued barrell of rum to each Dutch ship that continued to trade, for their Dutch Courage. |
302,468 | I was wondering if anyone could shed some more definite light on the origin of the phrase 'Dutch Courage.'
I have found two, almost certainly apocryphal, origins:
>
> 1: From the [Thirty Years War](https://en.wikipedia.org/wiki/Thirty_Years%27_War) in the 17th Century, where British soldiers drank a Dutch Gin for it... | 2016/01/26 | [
"https://english.stackexchange.com/questions/302468",
"https://english.stackexchange.com",
"https://english.stackexchange.com/users/119050/"
] | The answer posted by user66974 correctly notes that an allusion to Dutch courage as flowing from a bottle of spirits appears in the course of a lengthy poem by Edmund Waller, "[Instructions to a Painter for the Drawing of a Picture of the State and Posture of the English Forces at Sea, Under the Command of His Royal Hi... | On a tour in London 2012 our guide stated that Durch Courage came about in the rat plague when only Dutch vessels still traded and berthed in the Thames.
The British Government issued barrell of rum to each Dutch ship that continued to trade, for their Dutch Courage. |
1,969,429 | I'm using a button in a template field of gridview. On button click I want to redirect to another page but it throws an exception:
>
> Invalid postback or callback argument. Event validation is enabled using in configuration or <%@ Page EnableEventValidation="true" %> in a page. For security purposes, this feature ve... | 2009/12/28 | [
"https://Stackoverflow.com/questions/1969429",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/239574/"
] | I have faced this error on a Windows 64 bit. I have uninstalled my python 3.4.1 and I have installed: python-3.4.1.amd64.msi then pygame-1.9.2a0.win-amd64-py3.4.exe from link mentioned above. And it worked. | This actually happened to my installation as well. I have Python 2.6.6 installed, but the installation did not include Pygame. I downloaded Pygame 1.9.1 with Python 2.6, and identified where the directory was located, the installation seemed to work. However, from the IDLE, I entered import pygame, and received the ver... |
1,969,429 | I'm using a button in a template field of gridview. On button click I want to redirect to another page but it throws an exception:
>
> Invalid postback or callback argument. Event validation is enabled using in configuration or <%@ Page EnableEventValidation="true" %> in a page. For security purposes, this feature ve... | 2009/12/28 | [
"https://Stackoverflow.com/questions/1969429",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/239574/"
] | I have faced this error on a Windows 64 bit. I have uninstalled my python 3.4.1 and I have installed: python-3.4.1.amd64.msi then pygame-1.9.2a0.win-amd64-py3.4.exe from link mentioned above. And it worked. | I had this error and after much digging discovered that the version of python interpreter MUST match the version of pygame installed.
If you have an erroneous combination, your best bet is to uninstall what you have via Start -> Control Panel -> Uninstall Programs.
A combination that works (Install in this order) -
... |
1,969,429 | I'm using a button in a template field of gridview. On button click I want to redirect to another page but it throws an exception:
>
> Invalid postback or callback argument. Event validation is enabled using in configuration or <%@ Page EnableEventValidation="true" %> in a page. For security purposes, this feature ve... | 2009/12/28 | [
"https://Stackoverflow.com/questions/1969429",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/239574/"
] | This actually happened to my installation as well. I have Python 2.6.6 installed, but the installation did not include Pygame. I downloaded Pygame 1.9.1 with Python 2.6, and identified where the directory was located, the installation seemed to work. However, from the IDLE, I entered import pygame, and received the ver... | To check exactly which DLL's are missing use the CMD like python console. It will show a pop-up message indicating the missing DLL. Pygame works for me. |
1,969,429 | I'm using a button in a template field of gridview. On button click I want to redirect to another page but it throws an exception:
>
> Invalid postback or callback argument. Event validation is enabled using in configuration or <%@ Page EnableEventValidation="true" %> in a page. For security purposes, this feature ve... | 2009/12/28 | [
"https://Stackoverflow.com/questions/1969429",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/239574/"
] | If you are running a 64 bit version of windows, with a 64 bit python, the default installers on the Pygame site don't seem to work.
The pygame website led me there: There are some pre release binaries for 64bit windows, and for python 2.7 at <http://www.lfd.uci.edu/~gohlke/pythonlibs/#pygame> | This actually happened to my installation as well. I have Python 2.6.6 installed, but the installation did not include Pygame. I downloaded Pygame 1.9.1 with Python 2.6, and identified where the directory was located, the installation seemed to work. However, from the IDLE, I entered import pygame, and received the ver... |
1,969,429 | I'm using a button in a template field of gridview. On button click I want to redirect to another page but it throws an exception:
>
> Invalid postback or callback argument. Event validation is enabled using in configuration or <%@ Page EnableEventValidation="true" %> in a page. For security purposes, this feature ve... | 2009/12/28 | [
"https://Stackoverflow.com/questions/1969429",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/239574/"
] | I have faced this error on a Windows 64 bit. I have uninstalled my python 3.4.1 and I have installed: python-3.4.1.amd64.msi then pygame-1.9.2a0.win-amd64-py3.4.exe from link mentioned above. And it worked. | I had the exact same error however i ran a small program i found the used pygame without the IDLE(by saving the code and then just double clicking on the .py file) and it worked 100% fine. |
1,969,429 | I'm using a button in a template field of gridview. On button click I want to redirect to another page but it throws an exception:
>
> Invalid postback or callback argument. Event validation is enabled using in configuration or <%@ Page EnableEventValidation="true" %> in a page. For security purposes, this feature ve... | 2009/12/28 | [
"https://Stackoverflow.com/questions/1969429",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/239574/"
] | Are you sure you have got pygame for Python 2.6? The version for 2.5 wont work and produce this error msg, because the pyd file wont find the python 2.5 dll. | If you are running a 64 bit version of windows, with a 64 bit python, the default installers on the Pygame site don't seem to work.
The pygame website led me there: There are some pre release binaries for 64bit windows, and for python 2.7 at <http://www.lfd.uci.edu/~gohlke/pythonlibs/#pygame> |
1,969,429 | I'm using a button in a template field of gridview. On button click I want to redirect to another page but it throws an exception:
>
> Invalid postback or callback argument. Event validation is enabled using in configuration or <%@ Page EnableEventValidation="true" %> in a page. For security purposes, this feature ve... | 2009/12/28 | [
"https://Stackoverflow.com/questions/1969429",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/239574/"
] | If you are running a 64 bit version of windows, with a 64 bit python, the default installers on the Pygame site don't seem to work.
The pygame website led me there: There are some pre release binaries for 64bit windows, and for python 2.7 at <http://www.lfd.uci.edu/~gohlke/pythonlibs/#pygame> | To check exactly which DLL's are missing use the CMD like python console. It will show a pop-up message indicating the missing DLL. Pygame works for me. |
1,969,429 | I'm using a button in a template field of gridview. On button click I want to redirect to another page but it throws an exception:
>
> Invalid postback or callback argument. Event validation is enabled using in configuration or <%@ Page EnableEventValidation="true" %> in a page. For security purposes, this feature ve... | 2009/12/28 | [
"https://Stackoverflow.com/questions/1969429",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/239574/"
] | This actually happened to my installation as well. I have Python 2.6.6 installed, but the installation did not include Pygame. I downloaded Pygame 1.9.1 with Python 2.6, and identified where the directory was located, the installation seemed to work. However, from the IDLE, I entered import pygame, and received the ver... | I had this error and after much digging discovered that the version of python interpreter MUST match the version of pygame installed.
If you have an erroneous combination, your best bet is to uninstall what you have via Start -> Control Panel -> Uninstall Programs.
A combination that works (Install in this order) -
... |
1,969,429 | I'm using a button in a template field of gridview. On button click I want to redirect to another page but it throws an exception:
>
> Invalid postback or callback argument. Event validation is enabled using in configuration or <%@ Page EnableEventValidation="true" %> in a page. For security purposes, this feature ve... | 2009/12/28 | [
"https://Stackoverflow.com/questions/1969429",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/239574/"
] | I have faced this error on a Windows 64 bit. I have uninstalled my python 3.4.1 and I have installed: python-3.4.1.amd64.msi then pygame-1.9.2a0.win-amd64-py3.4.exe from link mentioned above. And it worked. | To check exactly which DLL's are missing use the CMD like python console. It will show a pop-up message indicating the missing DLL. Pygame works for me. |
1,969,429 | I'm using a button in a template field of gridview. On button click I want to redirect to another page but it throws an exception:
>
> Invalid postback or callback argument. Event validation is enabled using in configuration or <%@ Page EnableEventValidation="true" %> in a page. For security purposes, this feature ve... | 2009/12/28 | [
"https://Stackoverflow.com/questions/1969429",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/239574/"
] | Are you sure you have got pygame for Python 2.6? The version for 2.5 wont work and produce this error msg, because the pyd file wont find the python 2.5 dll. | I had the exact same error however i ran a small program i found the used pygame without the IDLE(by saving the code and then just double clicking on the .py file) and it worked 100% fine. |
1,180,923 | I'm quite a newbie in differential geometry. Calculus is not my cup of tea ; but I find geometrical proofs really beautiful. So I'm looking for a simple - by simple I mean with almost no calculus - proof that the shortest path between two points on a sphere is the arc of the great circle on which they lie. Any hint ?
... | 2015/03/08 | [
"https://math.stackexchange.com/questions/1180923",
"https://math.stackexchange.com",
"https://math.stackexchange.com/users/221594/"
] | You can show that great circle arcs are geodesics by parameterizing
such an arc so that it has unit speed, and then showing that the acceleration
along the arc is perpendicular to the sphere surface.
(This assumes you accept that geodesics have the characteristic
that their acceleration is perpendicular to the tangent ... | By symmetry!
------------
### Simple geometric proof:
1. (*parallel symmetry*) Consider the plane that is the perpendicular bisector of the straight line segment joining the two points. All objects (i.e., the sphere and the points) are symmetric with respect to that plane, so *if the path is unique*, it *must* stay t... |
1,180,923 | I'm quite a newbie in differential geometry. Calculus is not my cup of tea ; but I find geometrical proofs really beautiful. So I'm looking for a simple - by simple I mean with almost no calculus - proof that the shortest path between two points on a sphere is the arc of the great circle on which they lie. Any hint ?
... | 2015/03/08 | [
"https://math.stackexchange.com/questions/1180923",
"https://math.stackexchange.com",
"https://math.stackexchange.com/users/221594/"
] | By symmetry!
------------
### Simple geometric proof:
1. (*parallel symmetry*) Consider the plane that is the perpendicular bisector of the straight line segment joining the two points. All objects (i.e., the sphere and the points) are symmetric with respect to that plane, so *if the path is unique*, it *must* stay t... | It's not perfect but a more rigorous version of the following should work:
Take a sphere centered at the origin and two points. Your problem space is symmetric about the origin. Your looking for the third point on the path to define a plane that will contain the shortest path between the 2 points (and hence point c ca... |
2,122,182 | I am developing an iPhone tabbar application with 5 tabs .
I want to show only two tabs at the launch time such as one is "locate me".
When the user taps on the locate me tab another 3 tabs will be shown and can use the current location.
I want to do some thing like "urban spoon" .
I am using the interface builder ... | 2010/01/23 | [
"https://Stackoverflow.com/questions/2122182",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/95844/"
] | Can you try File->Import and then choose Existing Projects into Workspace and then select the directory with your HelloWorld project? | Looks like I had it checked not to show closed projects. |
2,122,182 | I am developing an iPhone tabbar application with 5 tabs .
I want to show only two tabs at the launch time such as one is "locate me".
When the user taps on the locate me tab another 3 tabs will be shown and can use the current location.
I want to do some thing like "urban spoon" .
I am using the interface builder ... | 2010/01/23 | [
"https://Stackoverflow.com/questions/2122182",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/95844/"
] | Can you try File->Import and then choose Existing Projects into Workspace and then select the directory with your HelloWorld project? | Eclipse will look into the .project file in your project directory and see the original project name, which may be the same as another project. This can happen if you build a new project using some old code. |
151,765 | Does Microsoft force an update down to all of its users of windows-update? Is it for legal reasons?
EDIT(aku):
Question was reformulated. if you want to know which version of Windows comes with .NET see this topic:
<https://stackoverflow.com/questions/71390/which-operating-systems-come-with-net> | 2008/09/30 | [
"https://Stackoverflow.com/questions/151765",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3153/"
] | Yes, Windows Vista shipped with .NET Framework 3.0. I'm sure future versions of Windows will ship with whichever is the most recent version of the framework.
Scott Hanselman recently blogged about the status of .NET 3.5 on Windows Update:
<http://www.hanselman.com/blog/UpdateOnNETFramework35SP1AndWindowsUpdate.aspx> | >
> Does Microsoft force an update down to
> all of it's users of windows-update?
> Is it for legal reasons?
>
>
>
Probably it would be better to ask Microsoft.
I can't remember a case when they forcibly installed a new version of .NET. AFAIK only critical security updates are mandatory. They don't force you to... |
151,765 | Does Microsoft force an update down to all of its users of windows-update? Is it for legal reasons?
EDIT(aku):
Question was reformulated. if you want to know which version of Windows comes with .NET see this topic:
<https://stackoverflow.com/questions/71390/which-operating-systems-come-with-net> | 2008/09/30 | [
"https://Stackoverflow.com/questions/151765",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3153/"
] | Yes, Windows Vista shipped with .NET Framework 3.0. I'm sure future versions of Windows will ship with whichever is the most recent version of the framework.
Scott Hanselman recently blogged about the status of .NET 3.5 on Windows Update:
<http://www.hanselman.com/blog/UpdateOnNETFramework35SP1AndWindowsUpdate.aspx> | Some XP OEM installations have some version of .NET installed as it is needed from some included software. Vista comes with .NET 3.0 installed. |
151,765 | Does Microsoft force an update down to all of its users of windows-update? Is it for legal reasons?
EDIT(aku):
Question was reformulated. if you want to know which version of Windows comes with .NET see this topic:
<https://stackoverflow.com/questions/71390/which-operating-systems-come-with-net> | 2008/09/30 | [
"https://Stackoverflow.com/questions/151765",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3153/"
] | Yes, Windows Vista shipped with .NET Framework 3.0. I'm sure future versions of Windows will ship with whichever is the most recent version of the framework.
Scott Hanselman recently blogged about the status of .NET 3.5 on Windows Update:
<http://www.hanselman.com/blog/UpdateOnNETFramework35SP1AndWindowsUpdate.aspx> | Microsoft would only push down an update as part of the Windows/Microsoft update process, and even then, only if you have them set to automatically install. If you didn't have updated configured to run without asking, then you would never have to update the .NET framework, though these updates would rarely break functi... |
151,765 | Does Microsoft force an update down to all of its users of windows-update? Is it for legal reasons?
EDIT(aku):
Question was reformulated. if you want to know which version of Windows comes with .NET see this topic:
<https://stackoverflow.com/questions/71390/which-operating-systems-come-with-net> | 2008/09/30 | [
"https://Stackoverflow.com/questions/151765",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3153/"
] | Yes, Windows Vista shipped with .NET Framework 3.0. I'm sure future versions of Windows will ship with whichever is the most recent version of the framework.
Scott Hanselman recently blogged about the status of .NET 3.5 on Windows Update:
<http://www.hanselman.com/blog/UpdateOnNETFramework35SP1AndWindowsUpdate.aspx> | Scott Hanselman recently blogged about the status of .NET 3.5 on Windows Update:
<http://www.hanselman.com/blog/UpdateOnNETFramework35SP1AndWindowsUpdate.aspx> |
151,765 | Does Microsoft force an update down to all of its users of windows-update? Is it for legal reasons?
EDIT(aku):
Question was reformulated. if you want to know which version of Windows comes with .NET see this topic:
<https://stackoverflow.com/questions/71390/which-operating-systems-come-with-net> | 2008/09/30 | [
"https://Stackoverflow.com/questions/151765",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3153/"
] | >
> Does Microsoft force an update down to
> all of it's users of windows-update?
> Is it for legal reasons?
>
>
>
Probably it would be better to ask Microsoft.
I can't remember a case when they forcibly installed a new version of .NET. AFAIK only critical security updates are mandatory. They don't force you to... | Some XP OEM installations have some version of .NET installed as it is needed from some included software. Vista comes with .NET 3.0 installed. |
151,765 | Does Microsoft force an update down to all of its users of windows-update? Is it for legal reasons?
EDIT(aku):
Question was reformulated. if you want to know which version of Windows comes with .NET see this topic:
<https://stackoverflow.com/questions/71390/which-operating-systems-come-with-net> | 2008/09/30 | [
"https://Stackoverflow.com/questions/151765",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3153/"
] | >
> Does Microsoft force an update down to
> all of it's users of windows-update?
> Is it for legal reasons?
>
>
>
Probably it would be better to ask Microsoft.
I can't remember a case when they forcibly installed a new version of .NET. AFAIK only critical security updates are mandatory. They don't force you to... | Microsoft would only push down an update as part of the Windows/Microsoft update process, and even then, only if you have them set to automatically install. If you didn't have updated configured to run without asking, then you would never have to update the .NET framework, though these updates would rarely break functi... |
151,765 | Does Microsoft force an update down to all of its users of windows-update? Is it for legal reasons?
EDIT(aku):
Question was reformulated. if you want to know which version of Windows comes with .NET see this topic:
<https://stackoverflow.com/questions/71390/which-operating-systems-come-with-net> | 2008/09/30 | [
"https://Stackoverflow.com/questions/151765",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3153/"
] | >
> Does Microsoft force an update down to
> all of it's users of windows-update?
> Is it for legal reasons?
>
>
>
Probably it would be better to ask Microsoft.
I can't remember a case when they forcibly installed a new version of .NET. AFAIK only critical security updates are mandatory. They don't force you to... | Scott Hanselman recently blogged about the status of .NET 3.5 on Windows Update:
<http://www.hanselman.com/blog/UpdateOnNETFramework35SP1AndWindowsUpdate.aspx> |
98,811 | A creationist website makes this argument for the 6,000 year old earth. I'm embarrassed to say I don't know how to do the math to evaluate the claim myself. However, the time scales involved seems to lend some credence to this argument. "The Moon is slowly drifting away from the Earth. If it is getting further, at one ... | 2014/02/12 | [
"https://physics.stackexchange.com/questions/98811",
"https://physics.stackexchange.com",
"https://physics.stackexchange.com/users/40415/"
] | [Extrapolation](https://en.wikipedia.org/wiki/Extrapolation) is as likely to produce meaningless results when done into the past as when done into the future.
The most widely accepted theory for how the Earth-Moon system was formed is the [Giant impact hypothesis](https://en.wikipedia.org/wiki/Giant_impact_hypothesis#... | 63,360 x 238,900 = 15,136,704,000(inch now)
(1.5inch x 4,000,500,000 = 6,000,750,000)
15,136,704,000 - 6,000,750,000 (inch then ) = 9,135,954,000 inches.
9,135,954,000/63360=144,191.19318181 (converting it back to miles)
Roughly 144,000 miles 4.5 billion years ago
But due to the tidal friction, caused by the tidal bu... |
98,811 | A creationist website makes this argument for the 6,000 year old earth. I'm embarrassed to say I don't know how to do the math to evaluate the claim myself. However, the time scales involved seems to lend some credence to this argument. "The Moon is slowly drifting away from the Earth. If it is getting further, at one ... | 2014/02/12 | [
"https://physics.stackexchange.com/questions/98811",
"https://physics.stackexchange.com",
"https://physics.stackexchange.com/users/40415/"
] | [Extrapolation](https://en.wikipedia.org/wiki/Extrapolation) is as likely to produce meaningless results when done into the past as when done into the future.
The most widely accepted theory for how the Earth-Moon system was formed is the [Giant impact hypothesis](https://en.wikipedia.org/wiki/Giant_impact_hypothesis#... | I just stumbled across this more than two years after the fact. Interesting conversation.
One thing that the creationist website and the answers I've seen in this forum have failed to address, is that the increased tidal action would not be the only effect of a closer Moon. The farther back we look in time the less ch... |
98,811 | A creationist website makes this argument for the 6,000 year old earth. I'm embarrassed to say I don't know how to do the math to evaluate the claim myself. However, the time scales involved seems to lend some credence to this argument. "The Moon is slowly drifting away from the Earth. If it is getting further, at one ... | 2014/02/12 | [
"https://physics.stackexchange.com/questions/98811",
"https://physics.stackexchange.com",
"https://physics.stackexchange.com/users/40415/"
] | 63,360 x 238,900 = 15,136,704,000(inch now)
(1.5inch x 4,000,500,000 = 6,000,750,000)
15,136,704,000 - 6,000,750,000 (inch then ) = 9,135,954,000 inches.
9,135,954,000/63360=144,191.19318181 (converting it back to miles)
Roughly 144,000 miles 4.5 billion years ago
But due to the tidal friction, caused by the tidal bu... | I just stumbled across this more than two years after the fact. Interesting conversation.
One thing that the creationist website and the answers I've seen in this forum have failed to address, is that the increased tidal action would not be the only effect of a closer Moon. The farther back we look in time the less ch... |
60,030 | In this case BHX-FRA return (Lufthansa) is about £140; FRA-WDH return (Air Namibia) is about £500 - and BHX-FRA-WDH return, on *exactly the same flights* is about £900.
I understand *that* this is common, and that a single BHX-FRA-WDH ticket is actually *worth more* to the holder, because:
* if your Lufthansa flight ... | 2015/12/16 | [
"https://travel.stackexchange.com/questions/60030",
"https://travel.stackexchange.com",
"https://travel.stackexchange.com/users/38118/"
] | There is no "extra money". The BHX-FRA-WDH fare is priced as a single entity and represents just one of many different fares sold for any particular flight. No single fare class represents "The Fare" for that flight, they are all calculated using formulas that are designed to: fill the plane, cover costs of operations ... | TL;DR: **It's complicated.**
Here's the baseline scenario: Flights from A via B to C, operated by airlines 1 and 2. If you buy a ticket from A to B, airline 1 gets all the money; if you buy a separate ticket from B to C, airline 2 gets all the money.
To merge the two as a connecting A-B-C flight, there are three basi... |
5,161,379 | Django-Social in its feature list claims that it supports associating multiple authentication providers to a single user account.
I can't seem to figure out how to use that feature.
When I try to login using a new authentication provider it automatically seems to be creating a new account for each provider.
Any idea... | 2011/03/01 | [
"https://Stackoverflow.com/questions/5161379",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/463499/"
] | Take a look to [django-social-auth](http://github.com/omab/django-social-auth/), it's simpler and easier to setup than Django-Socialauth.
Multiple account association is supported but limited to logged in users to avoid the decision of which user instance must be removed. | **it supports associating multiple authentication providers to a single user account**
By looking at the code for models.py [here](https://github.com/uswaretech/Django-Socialauth/blob/master/socialauth/models.py), socialauth has a UserProfile for each provider, associating them to the User object which you use for bas... |
5,161,379 | Django-Social in its feature list claims that it supports associating multiple authentication providers to a single user account.
I can't seem to figure out how to use that feature.
When I try to login using a new authentication provider it automatically seems to be creating a new account for each provider.
Any idea... | 2011/03/01 | [
"https://Stackoverflow.com/questions/5161379",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/463499/"
] | Take a look to [django-social-auth](http://github.com/omab/django-social-auth/), it's simpler and easier to setup than Django-Socialauth.
Multiple account association is supported but limited to logged in users to avoid the decision of which user instance must be removed. | It can be done manually through admin once you have logged in with multiple accounts. Then the Socialauth models for the accounts can be adjusted to point at the User they are required too and multiple accounts can point to the same user.
But I have not had a good enough look to work out how to let users do this autom... |
86,221 | I have a Yongnuo 560 ii flash that I usually use to light my white backdrop for clothing shots on a model. The issue is sometimes it doesn't make the whole background white. Either blows out the side where I locate the flash or only the higher area... all depending where I put the tripod that holds it.
I was wondering... | 2017/01/13 | [
"https://photo.stackexchange.com/questions/86221",
"https://photo.stackexchange.com",
"https://photo.stackexchange.com/users/13847/"
] | You're making this way too hard. You don't need to light the backdrop perfectly evenly. If the dimmest area of the backdrop is blown out the rest of the backdrop will be equally blown out. There is no shade of white brighter than blown out.
Here's the problem with using an umbrella to diffuse the light or moving the l... | In your case it might help to change the angle of your backdrop, so that every point of it has roughly the same distance to the flash. So if your light comes from the right, move the right side of the backdrop further away from the camera.
Of course, the backdrop has to be big enough for this. Also you can only compen... |
86,221 | I have a Yongnuo 560 ii flash that I usually use to light my white backdrop for clothing shots on a model. The issue is sometimes it doesn't make the whole background white. Either blows out the side where I locate the flash or only the higher area... all depending where I put the tripod that holds it.
I was wondering... | 2017/01/13 | [
"https://photo.stackexchange.com/questions/86221",
"https://photo.stackexchange.com",
"https://photo.stackexchange.com/users/13847/"
] | You're making this way too hard. You don't need to light the backdrop perfectly evenly. If the dimmest area of the backdrop is blown out the rest of the backdrop will be equally blown out. There is no shade of white brighter than blown out.
Here's the problem with using an umbrella to diffuse the light or moving the l... | >
> all depending where I put the tripod that holds it
>
>
>
Ok I think the answer is... change where you put the tripod that holds it.
But I assume this is limited due the total space between the model and the background.
If you increase the distance between the model and the background you have space to put th... |
277,261 | First of all sorry for this basic question.
---
Newton's third law states that for every force there is a force, which is equal in magnitude and opposite in direction to those of given force.So by that logic friction should also have a reaction force.
Now my questions are, what is the reaction force for static fri... | 2016/08/30 | [
"https://physics.stackexchange.com/questions/277261",
"https://physics.stackexchange.com",
"https://physics.stackexchange.com/users/-1/"
] | There is no reaction force on this free body diagram. That is because this is the diagram for the object only.
Draw a free body diagram of the Earth, and **there** you have your reaction force. You will see that the same static friction pulls the opposite way in the Earth.
Free-body force diagrams tell a story about ... | If the object stays stationary and no force acting on it, there is no frictional force on it (static or kinetic). However when the force is applied from zero, until the object just starts moving, the static frictional force is acting on the object and **increasing** in magnitude. The direction is equal and opposite to ... |
277,261 | First of all sorry for this basic question.
---
Newton's third law states that for every force there is a force, which is equal in magnitude and opposite in direction to those of given force.So by that logic friction should also have a reaction force.
Now my questions are, what is the reaction force for static fri... | 2016/08/30 | [
"https://physics.stackexchange.com/questions/277261",
"https://physics.stackexchange.com",
"https://physics.stackexchange.com/users/-1/"
] | There is no reaction force on this free body diagram. That is because this is the diagram for the object only.
Draw a free body diagram of the Earth, and **there** you have your reaction force. You will see that the same static friction pulls the opposite way in the Earth.
Free-body force diagrams tell a story about ... | The red arrow is presumably the force on the block due to the table. It is a friction force.
By Newton's third law, there is a force on the table due to the block. It points to the right. It is a friction force.
You drew your diagram with a bit of an ambiguity. You drew the red arrow right on the interface between th... |
277,261 | First of all sorry for this basic question.
---
Newton's third law states that for every force there is a force, which is equal in magnitude and opposite in direction to those of given force.So by that logic friction should also have a reaction force.
Now my questions are, what is the reaction force for static fri... | 2016/08/30 | [
"https://physics.stackexchange.com/questions/277261",
"https://physics.stackexchange.com",
"https://physics.stackexchange.com/users/-1/"
] | There is no reaction force on this free body diagram. That is because this is the diagram for the object only.
Draw a free body diagram of the Earth, and **there** you have your reaction force. You will see that the same static friction pulls the opposite way in the Earth.
Free-body force diagrams tell a story about ... | I am just giving anology for the problem. Frictional force arise due to surface roughness so both surface create frictional forces in action-reaction pair, surface1 for surface2 and vice versa. You can imagine dragging two sandpapers onto each other to figure out direction of frictional forces in pair. Therefore ground... |
14,339,201 | I am dealing with a project related to Embedded System.
I want my controller(89c51 micro-controller) to respond(do the programmed actions) when I'll click on a button(GUI designed in .NET technology). Tell me programming language to write code for controller.
What should I do for, 'my hardware-part to respond according... | 2013/01/15 | [
"https://Stackoverflow.com/questions/14339201",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1980424/"
] | I guess that you are asking about how to establish a connection to the [AT89C51](http://www.atmel.com/images/doc0265.pdf) (click for data sheet).
The AT89C51 seems to come with a serial port on Port 3. You will need C to program the micro-controller itself, but can establish a serial connection to Port 3 using C#.
... | This won't work, because you can't (with common compilers) compile C# into native code the embedded system understands. C# compiles to an intermediate code (MSIL/CIL), that is then compiled/executed by the runtime environment (which you won't have in most embedded system).
When programming for real-time embedded syste... |
14,339,201 | I am dealing with a project related to Embedded System.
I want my controller(89c51 micro-controller) to respond(do the programmed actions) when I'll click on a button(GUI designed in .NET technology). Tell me programming language to write code for controller.
What should I do for, 'my hardware-part to respond according... | 2013/01/15 | [
"https://Stackoverflow.com/questions/14339201",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1980424/"
] | Not possible with an 89C51 as its only an 8bit processor.
If you want to run embedded C# you need something like a netduino or GHI fez board, which are low cost .net micro framework development boards.
If the question is asking how to connect to the MCU via C# then as stated program MCU to enable serial functionality... | This won't work, because you can't (with common compilers) compile C# into native code the embedded system understands. C# compiles to an intermediate code (MSIL/CIL), that is then compiled/executed by the runtime environment (which you won't have in most embedded system).
When programming for real-time embedded syste... |
3,701,521 | I have a code-base of legacy C/C++ code, which contains lots of functions that access global static variables, and are therefore not thread-safe. I'm looking for advice on how to convert this code to make it thread safe. It occurs to me that one way to do it would be to convert the static variables into thread-local va... | 2010/09/13 | [
"https://Stackoverflow.com/questions/3701521",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/4928/"
] | First of all, it's best to determine which global variables are accessed in a mutable fashion and which are not. There could be several cases where the variables are not actually modified once set, just that the initialization of those variables will now pose problems for a non-deterministic program. Those variables, w... | Well, it'd be pretty easy to start there. You could just have a conditional compile for thread-local. Some compilers e.g. Visual Studio have their own thread\_local storage that you can just drop in. |
3,701,521 | I have a code-base of legacy C/C++ code, which contains lots of functions that access global static variables, and are therefore not thread-safe. I'm looking for advice on how to convert this code to make it thread safe. It occurs to me that one way to do it would be to convert the static variables into thread-local va... | 2010/09/13 | [
"https://Stackoverflow.com/questions/3701521",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/4928/"
] | First of all, it's best to determine which global variables are accessed in a mutable fashion and which are not. There could be several cases where the variables are not actually modified once set, just that the initialization of those variables will now pose problems for a non-deterministic program. Those variables, w... | In terms of correctness I see no reason that this wouldn't work, as long as the threading doesn't have other implications that could cause conflicts. You'd need to make sure you caught *all* the globals and converted them.
The best way to determine if it's significantly slower would be to profile a converted section o... |
3,701,521 | I have a code-base of legacy C/C++ code, which contains lots of functions that access global static variables, and are therefore not thread-safe. I'm looking for advice on how to convert this code to make it thread safe. It occurs to me that one way to do it would be to convert the static variables into thread-local va... | 2010/09/13 | [
"https://Stackoverflow.com/questions/3701521",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/4928/"
] | First of all, it's best to determine which global variables are accessed in a mutable fashion and which are not. There could be several cases where the variables are not actually modified once set, just that the initialization of those variables will now pose problems for a non-deterministic program. Those variables, w... | Without understanding the semantics of **every** variable that you plan to convert, simply automating the conversion from global to TLS is likely to be a huge unproductive timesink. Some of them may need to remain global and be handled in a thread-safe way - others may be quite safe to use as TLS. Still more may be thr... |
3,701,521 | I have a code-base of legacy C/C++ code, which contains lots of functions that access global static variables, and are therefore not thread-safe. I'm looking for advice on how to convert this code to make it thread safe. It occurs to me that one way to do it would be to convert the static variables into thread-local va... | 2010/09/13 | [
"https://Stackoverflow.com/questions/3701521",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/4928/"
] | First of all, it's best to determine which global variables are accessed in a mutable fashion and which are not. There could be several cases where the variables are not actually modified once set, just that the initialization of those variables will now pose problems for a non-deterministic program. Those variables, w... | Rather than storing all of the variables in thread-local storage, I would think it better to put them into a class; if the original code was mostly C, one may be able to wrap the C code in a class which can then have the "global" variables as fields. Different instances of the class running in different threads would n... |
3,701,521 | I have a code-base of legacy C/C++ code, which contains lots of functions that access global static variables, and are therefore not thread-safe. I'm looking for advice on how to convert this code to make it thread safe. It occurs to me that one way to do it would be to convert the static variables into thread-local va... | 2010/09/13 | [
"https://Stackoverflow.com/questions/3701521",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/4928/"
] | The problem with using TLS is that you force thread affinity onto your clients, and they have to be aware of this and write their code to handle it accordingly. So if they have a worker thread that does the heavy lifting then they will have to marshal ALL calls to your library onto that worker thread, even for simple g... | Well, it'd be pretty easy to start there. You could just have a conditional compile for thread-local. Some compilers e.g. Visual Studio have their own thread\_local storage that you can just drop in. |
3,701,521 | I have a code-base of legacy C/C++ code, which contains lots of functions that access global static variables, and are therefore not thread-safe. I'm looking for advice on how to convert this code to make it thread safe. It occurs to me that one way to do it would be to convert the static variables into thread-local va... | 2010/09/13 | [
"https://Stackoverflow.com/questions/3701521",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/4928/"
] | The problem with using TLS is that you force thread affinity onto your clients, and they have to be aware of this and write their code to handle it accordingly. So if they have a worker thread that does the heavy lifting then they will have to marshal ALL calls to your library onto that worker thread, even for simple g... | In terms of correctness I see no reason that this wouldn't work, as long as the threading doesn't have other implications that could cause conflicts. You'd need to make sure you caught *all* the globals and converted them.
The best way to determine if it's significantly slower would be to profile a converted section o... |
3,701,521 | I have a code-base of legacy C/C++ code, which contains lots of functions that access global static variables, and are therefore not thread-safe. I'm looking for advice on how to convert this code to make it thread safe. It occurs to me that one way to do it would be to convert the static variables into thread-local va... | 2010/09/13 | [
"https://Stackoverflow.com/questions/3701521",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/4928/"
] | The problem with using TLS is that you force thread affinity onto your clients, and they have to be aware of this and write their code to handle it accordingly. So if they have a worker thread that does the heavy lifting then they will have to marshal ALL calls to your library onto that worker thread, even for simple g... | Without understanding the semantics of **every** variable that you plan to convert, simply automating the conversion from global to TLS is likely to be a huge unproductive timesink. Some of them may need to remain global and be handled in a thread-safe way - others may be quite safe to use as TLS. Still more may be thr... |
3,701,521 | I have a code-base of legacy C/C++ code, which contains lots of functions that access global static variables, and are therefore not thread-safe. I'm looking for advice on how to convert this code to make it thread safe. It occurs to me that one way to do it would be to convert the static variables into thread-local va... | 2010/09/13 | [
"https://Stackoverflow.com/questions/3701521",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/4928/"
] | The problem with using TLS is that you force thread affinity onto your clients, and they have to be aware of this and write their code to handle it accordingly. So if they have a worker thread that does the heavy lifting then they will have to marshal ALL calls to your library onto that worker thread, even for simple g... | Rather than storing all of the variables in thread-local storage, I would think it better to put them into a class; if the original code was mostly C, one may be able to wrap the C code in a class which can then have the "global" variables as fields. Different instances of the class running in different threads would n... |
181,825 | I am a final year student doing Masters and had applied for a job. An HR contacted me after a month and scheduled an interview call but kept on rescheduling it at the last moment twice a week for two weeks (every time saying something urgent came up in an unplanned way), after which I sent a declination.
What can be t... | 2021/12/28 | [
"https://workplace.stackexchange.com/questions/181825",
"https://workplace.stackexchange.com",
"https://workplace.stackexchange.com/users/122728/"
] | **tldr: Professional means to focus on your goals & commitments and leave your emotions and fragile ego out of it.**
>
> Will it be unprofessional to reply like this,
>
>
>
Yes, very much so. It will guarantee that you will not get the job and you will come across as overly sensitive and spoiled.
>
> is better ... | Yes, it would be unprofessional to end this entire "almost, but not quite" process with the phrase "not waste my time."
To start with, being professional is basically "making it easy to get work done." Were you professional when you basically gave them one hour a week to be interviewed, at a time that crosses both 1/2... |
700,423 | [Wordpress](http://wordpress.org/) is using [MyISAM](http://en.wikipedia.org/wiki/MyISAM) storage engine. MyISAM does not support transactions.
How wordpress is maintaining transactions?
I mean if wordpress is having two database write operations, how does it ensure atomicity? | 2009/03/31 | [
"https://Stackoverflow.com/questions/700423",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/48625/"
] | Well, as far as I can tell, it doesn't! The only reason there are not much problems with this is, that most write operations are done with a single insert or update (adding a comment, creating a new post...).
In general, most web applications I have seen so far, don't bother too much with transactions, atomicity or ev... | I would think the transaction would assure atomic correctness at the previous layer of abstraction. When a transaction is occurring it default locks what it is writing. I'm not sure though. |
79,033 | I'm looking for an appropriate (free) substitute for Montserrat italic. Now I'm using Noto Sans italic, but it doesn't look really good:
[](https://i.stack.imgur.com/WPFxB.png) | 2016/10/20 | [
"https://graphicdesign.stackexchange.com/questions/79033",
"https://graphicdesign.stackexchange.com",
"https://graphicdesign.stackexchange.com/users/56107/"
] | How about Raleway Medium Italic?
[](https://i.stack.imgur.com/pWCFy.png) | maybe pt sans but i found montserrat really thicker than other fonts. pt sans bold italic maybe |
63,801,307 | I am learning about data allocation and am a little confused.
If you are looking for the smallest or greatest value that can be stored in a certain number of bits then does it matter what the data type is?
Wouldn't the smallest or biggest number that could be stored in 22 bits would be 22 1's positive or negative? Is... | 2020/09/08 | [
"https://Stackoverflow.com/questions/63801307",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/14244015/"
] | A 22-bit data element can store any one of 2^22 distinct values. What those values actually mean is a matter of interpretation. That interpretation may be imposed by a compiler or some piece of hardware, or may be under the control of the programmer, and suit some specific application.
A simple interpretation, of cour... | There is no law (of humans, logic, or nature) that says bits must represent numbers only in the pattern that one of the bits represents 20, another represents 21, another represents 22, and so on (and the number represented is the sum of those values for the bits that are 1). We have choices about how to use bits to re... |
63,801,307 | I am learning about data allocation and am a little confused.
If you are looking for the smallest or greatest value that can be stored in a certain number of bits then does it matter what the data type is?
Wouldn't the smallest or biggest number that could be stored in 22 bits would be 22 1's positive or negative? Is... | 2020/09/08 | [
"https://Stackoverflow.com/questions/63801307",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/14244015/"
] | A 22-bit data element can store any one of 2^22 distinct values. What those values actually mean is a matter of interpretation. That interpretation may be imposed by a compiler or some piece of hardware, or may be under the control of the programmer, and suit some specific application.
A simple interpretation, of cour... | Without going into technical jargon about doing maths with Two's compliment, I'll try to explain in easy words.
First you need to raise 2 with power of 'number of bits'.
Let's take an example of an 8 bit type,
An un-signed 8-bit integer can store 2 ^ 8 = 256 values.
Since values are indexed starting from 0, so values... |
63,801,307 | I am learning about data allocation and am a little confused.
If you are looking for the smallest or greatest value that can be stored in a certain number of bits then does it matter what the data type is?
Wouldn't the smallest or biggest number that could be stored in 22 bits would be 22 1's positive or negative? Is... | 2020/09/08 | [
"https://Stackoverflow.com/questions/63801307",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/14244015/"
] | A 22-bit data element can store any one of 2^22 distinct values. What those values actually mean is a matter of interpretation. That interpretation may be imposed by a compiler or some piece of hardware, or may be under the control of the programmer, and suit some specific application.
A simple interpretation, of cour... | Thanks everyone for the replies. I figured it out with the help of all of your info but I will explain the answer to show exactly what gaps of knowledge I had that lead to my misunderstanding.
The data type does matter in this question because for signed data types the first bit is used to represent whether or not a b... |
63,801,307 | I am learning about data allocation and am a little confused.
If you are looking for the smallest or greatest value that can be stored in a certain number of bits then does it matter what the data type is?
Wouldn't the smallest or biggest number that could be stored in 22 bits would be 22 1's positive or negative? Is... | 2020/09/08 | [
"https://Stackoverflow.com/questions/63801307",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/14244015/"
] | There is no law (of humans, logic, or nature) that says bits must represent numbers only in the pattern that one of the bits represents 20, another represents 21, another represents 22, and so on (and the number represented is the sum of those values for the bits that are 1). We have choices about how to use bits to re... | Without going into technical jargon about doing maths with Two's compliment, I'll try to explain in easy words.
First you need to raise 2 with power of 'number of bits'.
Let's take an example of an 8 bit type,
An un-signed 8-bit integer can store 2 ^ 8 = 256 values.
Since values are indexed starting from 0, so values... |
63,801,307 | I am learning about data allocation and am a little confused.
If you are looking for the smallest or greatest value that can be stored in a certain number of bits then does it matter what the data type is?
Wouldn't the smallest or biggest number that could be stored in 22 bits would be 22 1's positive or negative? Is... | 2020/09/08 | [
"https://Stackoverflow.com/questions/63801307",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/14244015/"
] | There is no law (of humans, logic, or nature) that says bits must represent numbers only in the pattern that one of the bits represents 20, another represents 21, another represents 22, and so on (and the number represented is the sum of those values for the bits that are 1). We have choices about how to use bits to re... | Thanks everyone for the replies. I figured it out with the help of all of your info but I will explain the answer to show exactly what gaps of knowledge I had that lead to my misunderstanding.
The data type does matter in this question because for signed data types the first bit is used to represent whether or not a b... |
150,581 | I want to check an IGBT FGA25N120ANTD whether it is broken or not. I have a good multimeter.
I followed some online videos I cannot figure out the right way.
Could you please help? | 2015/01/23 | [
"https://electronics.stackexchange.com/questions/150581",
"https://electronics.stackexchange.com",
"https://electronics.stackexchange.com/users/64018/"
] | There are 5 tests you can perform
1) impedance check
Collector-Emitter - should be Megs
Gate-Emitter - should be megs unless internal GE terminator resistor
2) Capacitive check
Gate-Emitter - should be capacitive ... (read further down)
3) Diode check
DMM on diode and Emitter - collector - should be a diode
4)... | Try a diode check across the collector and emitter. If the IGBT is dead, it should read 0 volts. |
308,615 | Please feel free to correct me if I am wrong at any point...
I am trying to read a [CSV](http://en.wikipedia.org/wiki/Comma-separated_values) (comma separated values) file using .NET file I/O classes. Now the problem is, this CSV file may contain some fields with soft carriage returns (i.e. solitary \r or \n markers r... | 2008/11/21 | [
"https://Stackoverflow.com/questions/308615",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/39648/"
] | You might want to look at using an ODBC/OleDB connection to do this. If you point the data source of an oledb connection to a directory containing csv files, you can then query it as if each CSV was a table.
check http://www.connectionstrings.com/?carrier=textfile>connectionstrings.com for the correct connection str... | You could read a bigger chunk at a time, unencode it to a string using Encoder.GetString and then split into lines using string.Split("\r\n") or even picking out the head of the string using string.Substring(0,string.IndexOf("\r\n")) and leaving the rest for processing of the next line. Remember to add the next read op... |
308,615 | Please feel free to correct me if I am wrong at any point...
I am trying to read a [CSV](http://en.wikipedia.org/wiki/Comma-separated_values) (comma separated values) file using .NET file I/O classes. Now the problem is, this CSV file may contain some fields with soft carriage returns (i.e. solitary \r or \n markers r... | 2008/11/21 | [
"https://Stackoverflow.com/questions/308615",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/39648/"
] | You might want to look at using an ODBC/OleDB connection to do this. If you point the data source of an oledb connection to a directory containing csv files, you can then query it as if each CSV was a table.
check http://www.connectionstrings.com/?carrier=textfile>connectionstrings.com for the correct connection str... | How about simply preprocessing the file?
Replace the soft carriage returns with something unique.
For the record, CSV files with linefeeds in the data, that's bad design. |
308,615 | Please feel free to correct me if I am wrong at any point...
I am trying to read a [CSV](http://en.wikipedia.org/wiki/Comma-separated_values) (comma separated values) file using .NET file I/O classes. Now the problem is, this CSV file may contain some fields with soft carriage returns (i.e. solitary \r or \n markers r... | 2008/11/21 | [
"https://Stackoverflow.com/questions/308615",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/39648/"
] | You might want to look at using an ODBC/OleDB connection to do this. If you point the data source of an oledb connection to a directory containing csv files, you can then query it as if each CSV was a table.
check http://www.connectionstrings.com/?carrier=textfile>connectionstrings.com for the correct connection str... | Your approach sounds fine. One way to improve the efficiency of your method might be to store each line as you're building it in a regular string (i.e. not a StringBuilder), and then append the entire-line-string to your StringBuilder. See [this article](http://www.codeproject.com/KB/cs/StringBuilder_vs_String.aspx) fo... |
30,276,399 | How can I make a setting so that I can connect to the server in SQL Server 2008 R2? I mean when my program runs I need to insert first the data source, initial catalog etc. so that I can connect to the server. | 2015/05/16 | [
"https://Stackoverflow.com/questions/30276399",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/4904761/"
] | You need load different text from a database according to users selection (usually stored as session data). For very small list such as menu text, you can store them in your script. | If you just want to change front end text and has no functionality of storing that in database, then i will recommend you to use google translate tool for the websites.
Refer this link for the plugin: <https://translate.google.com/manager/website/>
I hope this helps you. |
30,276,399 | How can I make a setting so that I can connect to the server in SQL Server 2008 R2? I mean when my program runs I need to insert first the data source, initial catalog etc. so that I can connect to the server. | 2015/05/16 | [
"https://Stackoverflow.com/questions/30276399",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/4904761/"
] | If you just want to change front end text and has no functionality of storing that in database, then i will recommend you to use google translate tool for the websites.
Refer this link for the plugin: <https://translate.google.com/manager/website/>
I hope this helps you. | You can use **i18n** to create a multilingual website. To do this follow the link
<http://www.onlinetutz.com/create-a-multilingual-website-using-php-with-i18n/>
it helps you!! |
30,276,399 | How can I make a setting so that I can connect to the server in SQL Server 2008 R2? I mean when my program runs I need to insert first the data source, initial catalog etc. so that I can connect to the server. | 2015/05/16 | [
"https://Stackoverflow.com/questions/30276399",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/4904761/"
] | You need load different text from a database according to users selection (usually stored as session data). For very small list such as menu text, you can store them in your script. | You can use **i18n** to create a multilingual website. To do this follow the link
<http://www.onlinetutz.com/create-a-multilingual-website-using-php-with-i18n/>
it helps you!! |
404,572 | Using my Nikon D5100, shooting RAW pictures and using Darktable to disable absolutely all contrast curves, white balancing, sharpening and even the debayering, I've measured the average value of the green pixels of each picutre in a test (by green pixels I mean the actual physical pixels behind the green filters of the... | 2018/11/01 | [
"https://electronics.stackexchange.com/questions/404572",
"https://electronics.stackexchange.com",
"https://electronics.stackexchange.com/users/173145/"
] | The LED driver regulates current, so it adjusts the voltage until the current is 20mA.
If you put two LEDs in series, the LED driver will still regulate to 20mA, but the voltage required for that will be the sum of the LED forward voltages.
The downside is that you need a high enough supply voltage, and any channel t... | If you have enough voltage headroom, you should put the LEDs in series, rather than parallel. This way each LED is getting 20mA.
Parallel LEDs, and a resistor in parallel is not a good solution. LEDs are not resistive devices, they behave like diodes where they have a certain voltage drop that doesn't change very much... |
8,365 | >
> **Possible Duplicate:**
>
> [How to find web hosting that meets my requirements?](https://webmasters.stackexchange.com/questions/20838/how-to-find-web-hosting-that-meets-my-requirements)
>
>
>
My website (a soccer portal, containing Joomla and SMF) in the last months has grown so much that the shared-hosti... | 2011/01/27 | [
"https://webmasters.stackexchange.com/questions/8365",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/4958/"
] | If you are not needing a database, then you can go with Yahoo. I, however, would suggest using godaddy's basic plan. There are some that are cheaper, yes, but what you get with them is the ability to pick up the phone and talk to someone in about 5 minutes. Make sure you get Linux based hosting. | If you are getting 10k hits daily, I have no idea why you can't spend $100 a month for a decent dedicated box. You can easily make 50 times the money of the server by advertising in your site, if you are getting the kind of traffic you are claiming.
Check our hostgator, they are the best in terms of prices and offer t... |
15,918 | Apologies for the word problem. I'm sure there's a simple solution or two, but I'm trying to work out a real world scenario. We used to indoor top rope belay but that was years ago in boy Scouts so our rock climbing knowledge is incomplete and rusty. We've fished this area for years without needing rescue equipment but... | 2017/04/20 | [
"https://outdoors.stackexchange.com/questions/15918",
"https://outdoors.stackexchange.com",
"https://outdoors.stackexchange.com/users/12961/"
] | Unless you are properly trained in rope rescue techniques I would not advise attempting a rescue unless it is pretty clear that the casualty is in immediate danger.
The issue here is that a sprained ankle is not going to immediately kill anyone however a botched attempt to winch them up a cliff very well could. As so... | The simplest way that I can think of is to have all of the fishermen carry a climbing harness and enough gear that they could ascend the rope. Have two climbing ropes in the truck, one for use and one for backup and if a a fisherman needs help getting up the cliff, anchor the rope, toss the end down to the fisherman an... |
15,918 | Apologies for the word problem. I'm sure there's a simple solution or two, but I'm trying to work out a real world scenario. We used to indoor top rope belay but that was years ago in boy Scouts so our rock climbing knowledge is incomplete and rusty. We've fished this area for years without needing rescue equipment but... | 2017/04/20 | [
"https://outdoors.stackexchange.com/questions/15918",
"https://outdoors.stackexchange.com",
"https://outdoors.stackexchange.com/users/12961/"
] | Don't
-----
Given your description and your background: Don't even try it!
Hauling any load up a slope is much harder than up a vertical cliff, and to attempt that with an injured person... just don't! You'll only end up wasting precious time and quite possibly harm the victim even more.
In your scenario, I'd drive t... | The simplest way that I can think of is to have all of the fishermen carry a climbing harness and enough gear that they could ascend the rope. Have two climbing ropes in the truck, one for use and one for backup and if a a fisherman needs help getting up the cliff, anchor the rope, toss the end down to the fisherman an... |
15,918 | Apologies for the word problem. I'm sure there's a simple solution or two, but I'm trying to work out a real world scenario. We used to indoor top rope belay but that was years ago in boy Scouts so our rock climbing knowledge is incomplete and rusty. We've fished this area for years without needing rescue equipment but... | 2017/04/20 | [
"https://outdoors.stackexchange.com/questions/15918",
"https://outdoors.stackexchange.com",
"https://outdoors.stackexchange.com/users/12961/"
] | Unless you are properly trained in rope rescue techniques I would not advise attempting a rescue unless it is pretty clear that the casualty is in immediate danger.
The issue here is that a sprained ankle is not going to immediately kill anyone however a botched attempt to winch them up a cliff very well could. As so... | It is good that you are planning ahead. Assuming no communications, and recovery with your group and available assets is the best choice.
Beyond basic first aid, you need a couple of things.
* [Rescue sled (random web link)](http://www.landfallnavigation.com/mp.html?cmp=froogle&kw=mp&utm_source=mp&utm_medium=shoppin... |
15,918 | Apologies for the word problem. I'm sure there's a simple solution or two, but I'm trying to work out a real world scenario. We used to indoor top rope belay but that was years ago in boy Scouts so our rock climbing knowledge is incomplete and rusty. We've fished this area for years without needing rescue equipment but... | 2017/04/20 | [
"https://outdoors.stackexchange.com/questions/15918",
"https://outdoors.stackexchange.com",
"https://outdoors.stackexchange.com/users/12961/"
] | Unless you are properly trained in rope rescue techniques I would not advise attempting a rescue unless it is pretty clear that the casualty is in immediate danger.
The issue here is that a sprained ankle is not going to immediately kill anyone however a botched attempt to winch them up a cliff very well could. As so... | It sounds like this would fall under the category of high angle rescue. This is not something that you want to get into. It sounds like you would be at most 2.5 miles from the an easy extraction point. Faced with a vertical haul on a 50' cliff with lose gravel and a 2.5 mile carry, most rescuers will opt for the carry.... |
15,918 | Apologies for the word problem. I'm sure there's a simple solution or two, but I'm trying to work out a real world scenario. We used to indoor top rope belay but that was years ago in boy Scouts so our rock climbing knowledge is incomplete and rusty. We've fished this area for years without needing rescue equipment but... | 2017/04/20 | [
"https://outdoors.stackexchange.com/questions/15918",
"https://outdoors.stackexchange.com",
"https://outdoors.stackexchange.com/users/12961/"
] | Unless you are properly trained in rope rescue techniques I would not advise attempting a rescue unless it is pretty clear that the casualty is in immediate danger.
The issue here is that a sprained ankle is not going to immediately kill anyone however a botched attempt to winch them up a cliff very well could. As so... | Your rescue team of "2 guys and a pickup" is insufficient, the minimum trained people we would attempt this rescue with [we have done more then one of these] would be 8, 12+ would be better.
First off, like someone suggested, a reasonably safe stretcher carry is preferred over high angle. Presuming our fishermen are b... |
15,918 | Apologies for the word problem. I'm sure there's a simple solution or two, but I'm trying to work out a real world scenario. We used to indoor top rope belay but that was years ago in boy Scouts so our rock climbing knowledge is incomplete and rusty. We've fished this area for years without needing rescue equipment but... | 2017/04/20 | [
"https://outdoors.stackexchange.com/questions/15918",
"https://outdoors.stackexchange.com",
"https://outdoors.stackexchange.com/users/12961/"
] | Don't
-----
Given your description and your background: Don't even try it!
Hauling any load up a slope is much harder than up a vertical cliff, and to attempt that with an injured person... just don't! You'll only end up wasting precious time and quite possibly harm the victim even more.
In your scenario, I'd drive t... | It is good that you are planning ahead. Assuming no communications, and recovery with your group and available assets is the best choice.
Beyond basic first aid, you need a couple of things.
* [Rescue sled (random web link)](http://www.landfallnavigation.com/mp.html?cmp=froogle&kw=mp&utm_source=mp&utm_medium=shoppin... |
15,918 | Apologies for the word problem. I'm sure there's a simple solution or two, but I'm trying to work out a real world scenario. We used to indoor top rope belay but that was years ago in boy Scouts so our rock climbing knowledge is incomplete and rusty. We've fished this area for years without needing rescue equipment but... | 2017/04/20 | [
"https://outdoors.stackexchange.com/questions/15918",
"https://outdoors.stackexchange.com",
"https://outdoors.stackexchange.com/users/12961/"
] | Don't
-----
Given your description and your background: Don't even try it!
Hauling any load up a slope is much harder than up a vertical cliff, and to attempt that with an injured person... just don't! You'll only end up wasting precious time and quite possibly harm the victim even more.
In your scenario, I'd drive t... | It sounds like this would fall under the category of high angle rescue. This is not something that you want to get into. It sounds like you would be at most 2.5 miles from the an easy extraction point. Faced with a vertical haul on a 50' cliff with lose gravel and a 2.5 mile carry, most rescuers will opt for the carry.... |
15,918 | Apologies for the word problem. I'm sure there's a simple solution or two, but I'm trying to work out a real world scenario. We used to indoor top rope belay but that was years ago in boy Scouts so our rock climbing knowledge is incomplete and rusty. We've fished this area for years without needing rescue equipment but... | 2017/04/20 | [
"https://outdoors.stackexchange.com/questions/15918",
"https://outdoors.stackexchange.com",
"https://outdoors.stackexchange.com/users/12961/"
] | Don't
-----
Given your description and your background: Don't even try it!
Hauling any load up a slope is much harder than up a vertical cliff, and to attempt that with an injured person... just don't! You'll only end up wasting precious time and quite possibly harm the victim even more.
In your scenario, I'd drive t... | Your rescue team of "2 guys and a pickup" is insufficient, the minimum trained people we would attempt this rescue with [we have done more then one of these] would be 8, 12+ would be better.
First off, like someone suggested, a reasonably safe stretcher carry is preferred over high angle. Presuming our fishermen are b... |
39,127 | I have been running on a treadmill regularly as part of my gym routine for the past two years. Over the last six months or so, I have been regularly doing 5 Km in 30 mins twice a week in addition to shorter 20 minute runs for a total of four to five days a week.
I want to start running marathons, and was wondering wh... | 2018/11/16 | [
"https://fitness.stackexchange.com/questions/39127",
"https://fitness.stackexchange.com",
"https://fitness.stackexchange.com/users/29899/"
] | I'm being a bit (very?) anal here, but it's a 10k not a marathon nor is it a quarter marathon.
In any case, a week is a very short time to get ready!
You need to start running outside on the real road or trails. This is because treadmills don't work on all the same muscles as the real road. The machine maintains in a... | Depends on the training on the treadmill. Do you do intervalls? How do you feel after 30min? Is 5k your physical maximum? What is your FTP?
Also depends on the course of the race. Is it flat? Best Option for a fist try would be something like a stadium racetrack due to the similarities with a treadmill run. Defenetly d... |
161,854 | While I am looking for some nice roads in Spain for my next roadtrip, I noticed that the roads there have different numbera A-, B-, N- etc, some of them have even a letter at the end (C-1412a)
What is the meaning of all those letters and numbers? Does a bigger number mean a smaller road?
[![map of random region in Sp... | 2020/12/30 | [
"https://travel.stackexchange.com/questions/161854",
"https://travel.stackexchange.com",
"https://travel.stackexchange.com/users/2560/"
] | The letter determines the ambit of the road. The number is the identifier. Basically [the main roads we have are](https://www.cnae.com/blog/index.php/clasificacion-carreteras-tipos-espana/) (ESP):
* A / AP: Highways
* N: National roads
* Autonomic roads
These are ordered from better to worst, but there are exceptions... | | Road class | [Syntax explanation](https://sites.google.com/site/roadnumberingsystems/home/general-information/legend) |
| --- | --- |
| European road | E-[0-9]<2-3> |
| Motorway (Autopista) | AP-[0-9]<1-2> |
| Expressway (Autovía) | A-[0-9]<1-2> |
| Radial motorway | R[1-5] |
| National road (Carretera Nacional) | N-... |
14,438 | Are there any front-running approaches to using server-generated hashes to encapsulate patient condition in a concise manner while maximizing security?
For example, a system to represent current med profile in a hash that can be used to check for contraindications without revealing the specific component prescriptions... | 2011/10/13 | [
"https://security.stackexchange.com/questions/14438",
"https://security.stackexchange.com",
"https://security.stackexchange.com/users/-1/"
] | None that I know of. And I believe this is because.. I don't think the solution (implied by the question) is a good solution/proposal.
Not only because hashing function may have collisions (even if it has a very low probability, the impact would be major, so why should we add such a risk ?) but also because you have ... | Hashing would not be very practical in this case. Not because of collisions, since a good cryptographically secure hash (e.g. [SHA-2](http://en.wikipedia.org/wiki/SHA-2)) won't have any collisions that can occur in the wild with any reasonable probability. The problem is that hashes are one-way, so in order to deduce y... |
14,438 | Are there any front-running approaches to using server-generated hashes to encapsulate patient condition in a concise manner while maximizing security?
For example, a system to represent current med profile in a hash that can be used to check for contraindications without revealing the specific component prescriptions... | 2011/10/13 | [
"https://security.stackexchange.com/questions/14438",
"https://security.stackexchange.com",
"https://security.stackexchange.com/users/-1/"
] | None that I know of. And I believe this is because.. I don't think the solution (implied by the question) is a good solution/proposal.
Not only because hashing function may have collisions (even if it has a very low probability, the impact would be major, so why should we add such a risk ?) but also because you have ... | There is a fundamental flaw in the kind of setup you suggest, which is that it is intrinsically vulnerable to *informed guesswork*. By sending targeted requests, it would be possible to narrow down the number of possible conditions quite quickly; this is the very same process that lies behind medical diagnosis itself.
... |
524,305 | We know that electrons have a dual nature just like EM waves (of course all the materials are said to have dual nature, noticeable or not). So looking at the wave nature of an electron and comparing this with photons, is it possible to make its kinetic energy equal to zero?
Copied form researchgate... | 2020/01/11 | [
"https://physics.stackexchange.com/questions/524305",
"https://physics.stackexchange.com",
"https://physics.stackexchange.com/users/249494/"
] | First of all, you can't compare photons with electrons. They are different types of particles (spin 1 vs spin1/2; force transmitter vs force emitter; see [this](https://physics.stackexchange.com/questions/524471/can-elementary-particles-be-nicely-classified-into-force-transmitters-and-for) question).
No, it's not poss... | >
> So looking at wave nature of electron
>
>
>
The wave nature of the electron is not a wave nature in space for the individual electron, but in the probability of measuring it at (x,y,z,t). When you measure an electron you get a footprint of its extent in space compatible with a point particle. [This experiment]... |
524,305 | We know that electrons have a dual nature just like EM waves (of course all the materials are said to have dual nature, noticeable or not). So looking at the wave nature of an electron and comparing this with photons, is it possible to make its kinetic energy equal to zero?
Copied form researchgate... | 2020/01/11 | [
"https://physics.stackexchange.com/questions/524305",
"https://physics.stackexchange.com",
"https://physics.stackexchange.com/users/249494/"
] | First of all, you can't compare photons with electrons. They are different types of particles (spin 1 vs spin1/2; force transmitter vs force emitter; see [this](https://physics.stackexchange.com/questions/524471/can-elementary-particles-be-nicely-classified-into-force-transmitters-and-for) question).
No, it's not poss... | Photons are pure kinetic energy.
>
> Moreover, you could say the energy of a photon is purely kinetic energy.
>
>
>
[Do photons have kinetic energy?](https://physics.stackexchange.com/questions/519526/do-photons-have-kinetic-energy)
But photons are massless. Electrons on the other hand, do have rest mass. It is ... |
524,305 | We know that electrons have a dual nature just like EM waves (of course all the materials are said to have dual nature, noticeable or not). So looking at the wave nature of an electron and comparing this with photons, is it possible to make its kinetic energy equal to zero?
Copied form researchgate... | 2020/01/11 | [
"https://physics.stackexchange.com/questions/524305",
"https://physics.stackexchange.com",
"https://physics.stackexchange.com/users/249494/"
] | >
> So looking at wave nature of electron
>
>
>
The wave nature of the electron is not a wave nature in space for the individual electron, but in the probability of measuring it at (x,y,z,t). When you measure an electron you get a footprint of its extent in space compatible with a point particle. [This experiment]... | Photons are pure kinetic energy.
>
> Moreover, you could say the energy of a photon is purely kinetic energy.
>
>
>
[Do photons have kinetic energy?](https://physics.stackexchange.com/questions/519526/do-photons-have-kinetic-energy)
But photons are massless. Electrons on the other hand, do have rest mass. It is ... |
48,331 | **The [Atacama Large Millimeter Array](https://en.wikipedia.org/wiki/Atacama_Large_Millimeter_Array) or ALMA is a radio telescope complex** where signals from dozens of distributed dishes are routed to a single computer which performs interferometry and image processing computationally.
At about 5 kilometers altitude ... | 2020/11/03 | [
"https://space.stackexchange.com/questions/48331",
"https://space.stackexchange.com",
"https://space.stackexchange.com/users/12102/"
] | As far as I know, the only HDDs that have ever been used in space (excluding crewed areas) are a pair of Conner Peripherals [CP3540](http://bk0010.narod.ru/DRIVESPECS/CONNER/608.txt) 500 MB HDDs on the [MSTI-3](https://en.wikipedia.org/wiki/Miniature_Sensor_Technology_Integration-3) mission launched in May 1996. The mi... | Conventional hard drives cannot be used in the absence of air (or at high altitudes where the air is thin). They rely on a moving layer of air at the surface of the disk that allows the heads to 'fly' quite close to the surface. There are newer drives that are filled with helium and are hermetically sealed, so these ca... |
2,913,320 | I am about to start to developing backend site of a php project. Companies and site admins will login to this site and manage their data on the project.
My previous admin panel experiences were full of agony and pain. So I want to make sure that I choose correct tools for my purpose.
By the way, please note, I'm not ... | 2010/05/26 | [
"https://Stackoverflow.com/questions/2913320",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/253591/"
] | There is no perfect answer for this, it depends a lot of your (and your team) programming experience and your project's requirements.
As it talks about PHP and backoffice, I suggest you look at [symfony framework](http://www.symfony-project.org/). It's a RAD framework with great admin features and tons of plugins easi... | Only recently went through a couple of frameworks about a month ago for a site I was working on and found CodeIgniter was easiest to get up and running and had the best documentation and tutorials.
<http://codeigniter.com/>
Alternatives are symphony, cakePHP and Kohona |
2,751,227 | I see something strange like:
<http://github.com/zoul/Finch.git>
Now I'm not that CVS, SVN, etc. dude. When I open that in the browser it tells me that I did something wrong. So I bet I need some hacker-style tool? Some client?
(I mean... why not just provide a ZIP file? Isn't the world complex enough?) | 2010/05/01 | [
"https://Stackoverflow.com/questions/2751227",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/268733/"
] | I've been stumped by this too. The "Download" button is to the far right, but you also need to be in the top folder in order to download what you're seeing. Go up as high as you can to the parent/root folder and then look for the download button. | Sometimes if the 'Download ZIP' button is not available, you can click on 'Raw' and the file should download to your system. |
2,751,227 | I see something strange like:
<http://github.com/zoul/Finch.git>
Now I'm not that CVS, SVN, etc. dude. When I open that in the browser it tells me that I did something wrong. So I bet I need some hacker-style tool? Some client?
(I mean... why not just provide a ZIP file? Isn't the world complex enough?) | 2010/05/01 | [
"https://Stackoverflow.com/questions/2751227",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/268733/"
] | I've been stumped by this too. The "Download" button is to the far right, but you also need to be in the top folder in order to download what you're seeing. Go up as high as you can to the parent/root folder and then look for the download button. | I was facing same problem but accidentlty I sorted this problem.
1) Login in github
2) Click on Fork Button at Top Right.
3) After above step you can see Clone or download in Green color under <> Code Tab. |
13,567 | Is there anything you can add to a guacamole recipe to prevent it from going brown so quickly? Or a specific way to package it for very short-term storage (usually only about two days). I tend to make large batches when I do make it, and by the next day its already looking pretty sad. I usually just mix it up again and... | 2011/03/29 | [
"https://cooking.stackexchange.com/questions/13567",
"https://cooking.stackexchange.com",
"https://cooking.stackexchange.com/users/5193/"
] | Guacamole seems to go brown with exposure to air, as does avocado. While it will not solve the issue entirely, covering with cling wrap directly on the surface helps maintain color for an extended period. Rather than pulling the wrap tight across the top of a bowl / container, place the wrap directly on top of the guac... | I have not tried it myself, but it is always said that keeping the core of the avocado and sticking it in the middle of the guacamole prevents it from turning brown. |
13,567 | Is there anything you can add to a guacamole recipe to prevent it from going brown so quickly? Or a specific way to package it for very short-term storage (usually only about two days). I tend to make large batches when I do make it, and by the next day its already looking pretty sad. I usually just mix it up again and... | 2011/03/29 | [
"https://cooking.stackexchange.com/questions/13567",
"https://cooking.stackexchange.com",
"https://cooking.stackexchange.com/users/5193/"
] | Guacamole seems to go brown with exposure to air, as does avocado. While it will not solve the issue entirely, covering with cling wrap directly on the surface helps maintain color for an extended period. Rather than pulling the wrap tight across the top of a bowl / container, place the wrap directly on top of the guac... | Guac - one of my favorites. First, as others have stated, make sure that you use some citrus in the recipe. Then use the cling wrap - don't pull it tight over the bowl, which traps air in the container. Lightly press the cling wrap down on the surface of the quac, eliminating air from the surface. |
13,567 | Is there anything you can add to a guacamole recipe to prevent it from going brown so quickly? Or a specific way to package it for very short-term storage (usually only about two days). I tend to make large batches when I do make it, and by the next day its already looking pretty sad. I usually just mix it up again and... | 2011/03/29 | [
"https://cooking.stackexchange.com/questions/13567",
"https://cooking.stackexchange.com",
"https://cooking.stackexchange.com/users/5193/"
] | Guacamole seems to go brown with exposure to air, as does avocado. While it will not solve the issue entirely, covering with cling wrap directly on the surface helps maintain color for an extended period. Rather than pulling the wrap tight across the top of a bowl / container, place the wrap directly on top of the guac... | Bill Tate, I did not expect to find you here. I've found that lime juice works just fine to keep it from going too brown, in combination with the "saran wrap directly on the guac" trick. Then again, are you going to trust a guy who eat raw eggs? |
13,567 | Is there anything you can add to a guacamole recipe to prevent it from going brown so quickly? Or a specific way to package it for very short-term storage (usually only about two days). I tend to make large batches when I do make it, and by the next day its already looking pretty sad. I usually just mix it up again and... | 2011/03/29 | [
"https://cooking.stackexchange.com/questions/13567",
"https://cooking.stackexchange.com",
"https://cooking.stackexchange.com/users/5193/"
] | Guac - one of my favorites. First, as others have stated, make sure that you use some citrus in the recipe. Then use the cling wrap - don't pull it tight over the bowl, which traps air in the container. Lightly press the cling wrap down on the surface of the quac, eliminating air from the surface. | Bill Tate, I did not expect to find you here. I've found that lime juice works just fine to keep it from going too brown, in combination with the "saran wrap directly on the guac" trick. Then again, are you going to trust a guy who eat raw eggs? |
13,567 | Is there anything you can add to a guacamole recipe to prevent it from going brown so quickly? Or a specific way to package it for very short-term storage (usually only about two days). I tend to make large batches when I do make it, and by the next day its already looking pretty sad. I usually just mix it up again and... | 2011/03/29 | [
"https://cooking.stackexchange.com/questions/13567",
"https://cooking.stackexchange.com",
"https://cooking.stackexchange.com/users/5193/"
] | Guacamole seems to go brown with exposure to air, as does avocado. While it will not solve the issue entirely, covering with cling wrap directly on the surface helps maintain color for an extended period. Rather than pulling the wrap tight across the top of a bowl / container, place the wrap directly on top of the guac... | interesting info thanks. I eat avocadoes regularly as a diet food. I use lots of lemon juice (1 whole lemon per avocado) and add coarsely ground sea salt and black pepper and eat it by the spoonful, yummo! Often I will only eat 1/2 of the fruit at a time. So I squeeze lemon juice all over the exposed part of the fruit ... |
13,567 | Is there anything you can add to a guacamole recipe to prevent it from going brown so quickly? Or a specific way to package it for very short-term storage (usually only about two days). I tend to make large batches when I do make it, and by the next day its already looking pretty sad. I usually just mix it up again and... | 2011/03/29 | [
"https://cooking.stackexchange.com/questions/13567",
"https://cooking.stackexchange.com",
"https://cooking.stackexchange.com/users/5193/"
] | I have not tried it myself, but it is always said that keeping the core of the avocado and sticking it in the middle of the guacamole prevents it from turning brown. | Bill Tate, I did not expect to find you here. I've found that lime juice works just fine to keep it from going too brown, in combination with the "saran wrap directly on the guac" trick. Then again, are you going to trust a guy who eat raw eggs? |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.