To display a Text Field on selection of a particular pick list value My requirement is suppose a pick list field is there like "Bill Shipment to", and it's values are 'SHIPPER', 'RECIPIENT' &amp; 'THIRD PARTY', then if i select third party then a text field will be auto populate beside this picklist field to fill the "Account no of Third Party". How to achieve this? Please help me..
Render an InputText based on Selected Option In my VF page I have an apex:selectList with a List of Vendors (e.g. Alcatel,Cisco ec..), the last option is "Other".   When the user select "Other" an apex:inputText should be rendered  where he can writes the Vendor. I'm not able to render the inputText Field   My VF page:  &lt;apex:outputPanel id="vendor2"&gt; &lt;p&gt;&lt;b&gt; Vendor: &lt;/b&gt;&lt;/p&gt; &lt;apex:selectList value="{!vendor}" multiselect="False" size="1"&gt;     &lt;apex:actionSupport event="onchange" action="{!specifyVendor}" rerender="otherPanel"/&gt;     &lt;apex:selectOptions value="{!vendors}"/&gt; &lt;/apex:selectList&gt;&lt;p/&gt; &lt;/apex:outputPanel&gt; &lt;br/&gt; &lt;apex:outputPanel id="otherPanel"&gt;     &lt;apex:inputText value="{!otherVendor}" rendered="{!vendor=='Other'}"&gt; Other: &lt;/apex:inputText&gt; &lt;/apex:outputPanel&gt;     &lt;br/&gt;&lt;br/&gt;    The custom controller:      public with sharing class ExcelPageController {          public String vendor {get; set;}//Vendor Name         public String otherVendor {get; set;}//Vendor Name          public List&lt;SelectOption&gt; getVendors(){             System.debug('getVendors');                 List&lt;SelectOption&gt; options = new List&lt;SelectOption&gt;();             options.add(new SelectOption('Cisco','Cisco'));             options.add(new SelectOption('Alcatel','Alcatel'));             options.add(new SelectOption('Tibco','Tibco'));             options.add(new SelectOption('Other','Other'));             return options;         }     public PageReference specifyVendor(){         System.debug(vendor);         return null;     } }
Black and white beads on a circle There are $n$ beads placed on a circle, $n\ge 3$. They are numbered in random order as viewed clockwise. Beads for which the number of the previous bead is less than the number of a next bead are painted in white color,and others - in black.  Two colourations that can be made equal by rotation are considered identical. How many different colourations can occur?  I've write a programm and for $n=3...11$ I've got answers $2 , 1 , 6 , 7 ,  18 , 25 , 58 , 93 , 186$ Expected prediction error - derivation Show that $\lim_{n\rightarrow \infty} \sqrt[n]{c_1^n+c_2^n+\ldots+c_m^n} = \max\{c_1,c_2,\ldots,c_m\}$ Let $m\in \mathbb{N}$ and $c_1,c_2,\ldots,c_m \in \mathbb{R}_+$. Show that $$\lim_{n\rightarrow \infty} \sqrt[n]{c_1^n+c_2^n+\ldots+c_m^n} = \max\{c_1,c_2,\ldots,c_m\}$$  My attempt: Since $$\lim_{n\rightarrow \infty} \sqrt[n]{c_1^n+c_2^n+\ldots+c_m^n} \leq \lim_{n\rightarrow \infty}\sqrt[n]{\max\{c_1,c_2,\ldots,c_m\}} = \lim_{n\rightarrow \infty} \sqrt[n]{n}\sqrt[n]{\max\{c_1,c_2,\ldots,c_m\}}=\lim_{n \rightarrow \infty} \max\{\sqrt[n]{c_1^n},\sqrt[n]{c_2^n},\ldots,\sqrt[n]{c_m^n}\}=\lim_{n \rightarrow \infty}\max\{c_1,c_2,\ldots,c_m\}=\max\{c_1,c_2,\ldots,c_m\}$$  it follows that $\lim_{n\rightarrow \infty} \sqrt[n]{c_1^n+c_2^n+\ldots+c_m^n}$ is bounded, but I don't think it's monotonically decreasing, at least I can't prove this. Can anybody tell me whether the approach I have chosen is a good one, whether what I have done is correct and how to finish the proof? I tried using integration by parts twice, the same way we do for  $\int \sin {(\sqrt{x})}$ but in the second integral, I'm not getting an expression that is equal to  $\int x\sin {(\sqrt{x})}$.  I let $\sqrt x = t$ thus, $$\int t^2 \cdot \sin({t})\cdot 2t dt =  2\int t^3\sin(t)dt = 2[(-\cos(t)\cdot t^3 + \int 3t^2\cos(t))] = 2[-\cos(t)\cdot t^3+(\sin(t)\cdot 3t^3 - \int 6t \cdot \sin(t))]]$$  which I can't find useful. Tag scores update is supposed to happen at 03:00 UTC every day. Tag scores are updated by a scheduled job that is time consuming and often times out  (see for example the answers for  and ).  In the past month or two, the issue with not updating the scores has gotten much worse. Tag scores are now regularly not updated for 2-3 days in a row. The job fails more often than it runs which obviously lowers usability and appeal of tag badges (which are not awarded when the script fails) and scores to some extent.  I can also guess that if a job fails on consecutive days, it only makes it harder to make it work as it has more and more tags and answers to recount.  This issue happened in the past but not to the extent it's happening now.  Please do not close it as duplicate. I'm creating a separate post as I've been asked to do it by Adam Lear in a comment for the answer for the first of the linked questions. Other posts reporting this issue have accepted answers which makes them difficult to track for the SE team.  UPDATE  I've been writing down whether the scores were updated or not every day in April.  The results are:  Day      1   2   3   4   5   6   7   8   9   10  11  12  13  14  15   Updated  -   -   -   ✓   -   ✓  -   -   -   -   -   ✓   -   -   -   Day      16  17  18  19  20  21  22  23  24  25  26  27  28  29  30 Updated  ✓   -   ✓   -   ✓   -   -   ✓  ✓   -   ✓  -   ✓   -   -   The update succeeded on 10 days, failed on 20. The situation got somewhat better in the second half of the month. Has something been done about it? How do I select all but two types of entities in Minecraft with the type selector? Prime factorization knowing n and Euler's function My task is to factorize $n$ knowing it has two factors and $\varphi(n)$. How can I do it?  Thanks for any advice. Convergence of $\sum_{n=1}^\infty (-1)^n(\sqrt{n+1}-\sqrt n)$ Please suggest some hint to test the convergence of the following series $$\sum_{n=1}^\infty (-1)^n(\sqrt{n+1}-\sqrt n)$$ EDIT: Summary  I think I've found the best definition of what I want thanks to the discussion with @M. Tibbits:  When I open or refresh the SO, I get a notification of new activities that are of interest to me. Today these are (hard-coded): answers to my questions and comments addressed to me. I want a bit more control over it, that's all.     Yes, I've read  and , but I think I add new (good :) ) reasons for re-asking it:  The first question was answered before this so handy "inbox" notification feature was implemented. So now using favorites for "watching" a question is wrong, IMHO, for 2 reasons:   it splits essentially the same functionality (of getting notified when there is an activity you are interested in) between 2 very different user interfaces it's cumbersome - I need to: 1) add question to favorites; 2) click on my profile dropdown; 3) click on the "favorites" line; 4) see all my favorites with recent activity; 5) select the one I watch; 6) repeat this process occasionally to get updates; and 7) possibly remove the question from favorites at the end. All this as opposed to this little red button when there are news.   Favorites are different in nature that watching. I add a question to Favorites when I find the answers useful to me in my work, so I may want to have it handy in the future. By watching an interesting question I will be able to decide whether I want it in faviorites, after I see the answers.  EDIT: I see that I was not clear enough.  I want to add a question to Favorites when:   it has some good answers the question and answers are relevant in my work I want to keep them handy as my long-term (persistent) knowledge base   I want to watch a question for short while (matter of days/weeks) when:   it is interesting / relevant I want to follow it to see what are the answers. Then I can decide whether I want it in my favorites   As you see, the main differentiators are good answers and long/short term. For short-term, automatic notification is better.  Bottom line, all I ask is "watch this question" checkbox (which may expire after say a week if there is a need to free resources) After writing the FreeNAS IMG to a 16 GB USB flash drive, I can now only use 938 MB. I used the Win32 Disk Imager tool to write the IMG to the device. Then later, when I inserted the the USB drive into my Windows 7 computer it said that it had to be formatted, because it couldn't read it. I believe this is normal. So I formatted it inside Windows using the format option when prompted. So in Windows Explorer now, 938 MB is reported as capacity of this device.    Also, when i check the properties dialog box I can see the same numbers.    And when I check with diskmgmt.msc I can see there are several volumes I don't recognize and unallocated space of 12.79 GB.    Now, I have another 2 GB USB flash drive with the same problem. It too was used for FreeNAS, and it too has a reported capacity of only 938 MB. I thought it was broken there for a while, until I saw the same problem with this 16 GB model.  I tried using diskpart on the 2 GB model, and I saw that there were several partitions there (list partitions) just like on this one. So I used the clean option to try to wipe it, but that wiped off everything so it's totally useless now. I'm not sure how to rebuild it.  Is this a standard routine, like part of the whole "user experience", that whenever you make a bootable USB falsh drive with FreeNAS, it messes up your device? I am new to FreeNAS, so i wouldn't know. But it sure looks like it. Maybe it is in fact the format operation in Windows that messes things up... I don't know. It's not very nice.  How do I restore the capacity back to 16 GB-ish (14.9 GiB)? I want to check if points layer that I have intersect with polygons layer that I have, as Boolean column in the points dataframe. I have two GeoPandas dataframes, the first one is many points and looks like this: &gt;&gt;&gt;ID  geometry 0  12  POINT (5.0279 7.4547) 1  45  POINT (6.6539 12.139) ...  and the second dataframe is one layer of many different polygons  that looks something like this: &gt;&gt;&gt;name     code   geometry 0  Desert   12     POLYGON ((5.52013 13.8902, 5.5265 13.892,...) 1  Water    24     POLYGON ((5.53756 13.88472, 5.5291 13.8791,...) ...  I'm trying to check if there is any intersection between the points layer and the regions layer. For that I have determined the crs and then used intersects : regions=regions.to_crs({'init': 'epsg:4326'}) points=points.set_crs({'init': 'epsg:4326'}) inter=points.geometry.intersects(regions.geometry)  A The script runs with the following warnings:  FutureWarning: '+init=:' syntax is deprecated. ':' is the preferred initialization method. When making the change, be mindful of axis order changes: https://pyproj4.github.io/pyproj/stable/gotchas.html#axis-order-changes-in-proj-6 return _prepare_from_string(&quot; &quot;.join(pjargs)) /opt/conda/lib/python3.8/site-packages/geopandas/base.py:39: UserWarning: The indices of the two GeoSeries are different. warn(&quot;The indices of the two GeoSeries are different.&quot;)  Then when I check the results the only value is False, like all th epoints do not intersect: inter.unique().tolist() &gt;&gt;&gt;[False]  *I saw on QGIS that the there are points that intersect and there are points that do not so there is no way this result is true *I have checked the dtypes - each one of my geodataframes has one column that is geometry and called geometry. My end goal: to add new column in the points geodataframe that will tell if it intersects the regions or not. Assuming convergence of the following series, find the value of $\sqrt{6+\sqrt{6+\sqrt{6+...}}}$ Assuming convergence of the following series, find the value of $\sqrt{6+\sqrt{6+\sqrt{6+...}}}$  I was advised to proceed with this problem through substitution but that does not seem to help unless I am substituting the wrong parts. If i substitute the $6$, well then i am just stuck with above.   Any ideas on how to proceed. Also, what is the purpose of stating that it is convergent. I have a material assigned to a few test objects with an image sequence as a texture. If I view the scene in render preview, and scrub the timeline, (or render a sequence,) the texture behaves as expected.  However, with the viewport set to 'texture' or 'material' I only see the first frame of the sequence, wherever I am on the timeline. 'Auto Refresh' is set in the cycles texture node. Is this the expected behaviour? I have the following text:    A   Hello   world   B   Hello   world   C   Hello   world   I know that I can replace Hello by Hi using sed:  sed 's/Hello/Hi/g' -i test   but this replace each Hello with Hi:    A   Hi   world   B   Hi   world   C   Hi   world   what I really want is to replace only the Hello after B:    A   Hello   world   B   Hi   world   C   Hello   world   so I have tried this:  sed 's/"B\nHello"/"B\nHi"/g' -i test   but nothing happened, How can I do this?  Note: There are some white-spaces on the beginning of each line of the file. I've been through the Windows 10 upgrade, and am experiencing a recurring "INTERNAL_POWER_ERROR", which is stopping me from logging in.  I'd like to be able to try to boot to safe mode, but it appears that pressing F8 during boot is no longer enough, so how can I boot in safe mode (or any of the other recovery options) on a Windows 10 PC that doesn't let me log on? I installed some version of Ubuntu on my VMware, but I don't know what version exactly it is. How can I find it out? bases and binary I can not figure this out.   I started off by making a table and putting the base(2) on one side, the number in the middle and the remainder in the third row and for 2010 I got 11111011010 but I cant find the next two numbers please help and please explain in detail.  Thank you =)   to express 2010 in base 2, we use exactly 8 ones and 3 zeros. find the next two integers in base 2 that use the same number of ones and zeros Why doesn't Doctor Strange remove the Infinity Gauntlet from Thanos? Doctor Strange seemingly has the ability to open portals wherever he wants. We see at the beginning of Infinity War what happens when he closes a portal and someone isn't fully through it.  Is there any reason why he can't open a portal around the left-elbow of Thanos, and then close it?  I realize that Thanos probably wouldn't allow this to happen normally,      but when he is mostly asleep, and Tony and Spider-Man are pulling on the gauntlet, Doctor Strange has ample opportunity, and plenty of space to just sever Thanos' arm.   Why doesn't he? I'm refactoring my ASP.net application from ASP.net 3.5 to 4.0. Also I'm changing the URLs to user friendly URLs /product.aspx?id=100 to /product-name/100.  All my pages are indexed by search engines and the site has already been online for 6 years. I'm planning to do 301 redirect from the old pages to the new one.  I want to make sure I won't lose the rankings and traffic.  Any suggestion how to do it properly? Why are old initrd files of uninstalled kernels filling up /boot partition?