Difference between answer and comment
How should I act when I see tiny "Have you tried this..?" type of answers?
MD5 Hash outputs not produced Are there any hash outputs not produced by the MD5 hash function? I need to use it as a placeholder for an empty hash while comparing two hashes. deleting windows system folder I have a few questions regarding Named Credentials. I need to perform a SOAP based call out to an external system from Sales Force. I used the wsdl2apex function to generate the class for the call out. When I started integrating this class into my process I got to thinking about securely storing the username and password for the call out, which led me to discover Named Credentials. Question is, can Named Credentials be used in the auto-generated apex class? If so, could you please provide an example?  Thanks in advance Roots in a polynomial ring Is there a way to avoid "+canned.response" in the email address using Gmail's canned response feature If I set up a filter and send it a canned response, Gmail appends +canned.response to my username in the reply.  For example, given the filter "from:foo@example.com to:me@example.com" set up to send a canned response, when foo@example.com sends me an email the canned response comes from me+canned.response@example.com instead of me@example.com, exposing that I'm using a canned response.  Is there a way to avoid this? How do I programmatically update the allowed values of a list field? I have created a field_time_zone field for the Article content type. I want to set the allowed values for that field to the values returned from system_time_zones(). For this, I implemented hook_form_alter() using the following code. $zones = system_time_zones(); $entityManager = \Drupal::service('entity_field.manager'); $fields = $entityManager-&gt;getFieldStorageDefinitions('node', 'local_market'); $options = options_allowed_values($fields['field_time_zone']);  if(empty($options)) { $options =  $zones; $form['field_time_zone']['widget']['#options'] = $options; }  The code adds the desired values, but the node cannot be saved, as it throws the following error.  The value you selected is not a valid choice.  How can I set the allowed values for a text (list) field? When i tried to install PIP for python3 in Ubuntu 18.04.2 LTS  Command I used:   root@DESKTOP-0BEE3OD:/mnt/c# apt install python3-pip  E: Could not read response to hello message from hook [ ! -f /usr/bin/snap ] || /usr/bin/snap advise-snap --from-apt 2&gt;/dev/null || true: Success   I am not able to fix this error. Hypothetically, should I pay off the smaller + higher interest rate loan first, or the larger + higher absolute interest cost? I have this hypothetical situation on my mind and I am not sure which is the best solution. Given:  Loan 1: $340,000 at an interest rate of 1.69% per year Loan 2: $40,000 at an interest rate of  3.6% per year  I have a fixed amount available to pay these, let's say, $1,500 monthly and I can decide how much I want to pay each one (I could pay 750/750, 1000/500, 1500/0 for instance). I do not have a time limit to pay these. My question: What is the optimal way to pay these? What I always heard is: pay the debt that has the highest interest first. This would lead me to a solution: pay loan 2 as fast as possible. But the total amount of interest on 340,000 is higher (in this case, $5780 annually) than the amount over $40,000 (1440, in this case), so, to me, it feels I should pay the Loan 1 first. I would love to run some simulations, but I have no idea how to calculate these things (I don't even have a clue on how to research it). ps: this is really a hypothetical situation, I am not getting such loans without being able to calculate it, don't worry ;) Show only hidden files (dot files) in ls alias How do I set up SSH so I don't have to type my password? How do I set up SSH so I don't have to type my password when connecting to a host? I am going to shoot a wedding this weekend, and I want to do my best for my friend's big day.    What can I do to prepare for the day in order to minimize failures and mistakes? How do I avoid missing important shots? What backup plan should I have?   I have been shooting for 6 years or so, and I know wedding is one of the hardest thing to do. I have told my friend what I end up producing will be of no match with the work of dedicated wedding photographers, not even the ones that are about to fall out of business.  They are on a tight budget, they said some photos are still better than none, they really must minimize the cost as much as they can. I exaggerated again that my photos will be worse off than the cheapest wedding photographer you can find.  She has been a close friends for years, I want to do everything I can to help her.  Their wedding is at 12:30pm coming Sunday, I have visited the venue last Sunday at 12:30pm to check traffic condition and also the lighting.  The setup is mainly outdoor (no church), the indoor area will not have a good ceiling for bounce. Being at the middle of the day, this can mean some tricky fill flash. I have jot down a list of must-have shots. I am also asking for the seating plan and the event run-down.  Gear:   Canon EOS 60D , EF-S 15-85mm f/3.5-5.6 IS USM Canon EOS 450D (or I can borrow a 550D), EF 50mm f/1.4 Speedlite 580 EXII Speedlite 270 EXII Yongnuo 460 (a cheap but powerful manual flash as backup) Samsung EX-1 f/1.8 point and shoot (backup of a backup...?)   Other lenses that I have but I don't think will be useful:   50mm f/1.8 EF-S 50-250mm f/4.0-5.6 IS II EF-S 18-135mm f/3.5-5.6 IS (I have the better 15-85 on 60D, should I put this on the 450D as a backup allrounder?) EF-S 60mm f/2.8 Macro (should I replace 50mm f/1.4 with this for added macro? You can hardly use f/1.4 under direct sunlight if you want to have fill-flash)   I have two batteries for all cameras (60D 450D and EX1). I have like in total 64GB SD card (I am really inclined to get more, or bring a laptop for on-the-fly backup, or do both). I recently repaired my 580EXII, it has a brand new flash head so the recycle time is as good as it can be, I just need a tonne of batteries. No I don't have external power pack or battery grip for my cameras.  I have a great monopod, but a cheap tripod.  I am happy to bring everything, just putting them in the boot of my car. The carpark is on-site, walking from venue to my car is under 1 minute.  I will have my girlfriend carry the 450D and shoot details / non-portraits.  One concern that I have is fill flash, I really do not have a large surface to bounce off  from. I have shot events before but they are not as dynamic/critical as a wedding.  How do I prepare for differing weather conditions?  If its sunny, fill flash is probably going to be in every single shot. If its cloudy, I probably will turn off the flash. If it rains, my 60D should be fine I have used it in slight rain before, but I really don't know their plan and if they have extendable shelters etc.  What else should I prepare for? Having no experience I want to be as prepared as I can be. Maybe I have overlooked something, maybe there is something else I can do to ensure the shooting will go smoothly. Your help is greatly appreciated! When two accounts are merged, all the posts/votes are moved over to the "master" account, and the other account ("slave"?) is deleted. The merge is propagated network-wide, so a similar thing happens on each site.  But, this does not happen to the chat user. The "slave" chat user is kept, with a 404 parent profile link. I feel that the chat user should be merged as well, re attributing all the chat messages.  Thoughts? Is "you are welcome" more polite than "no problem"?  What is the general proper reply to a thank-you? Move object in inches instead of feet? Whenever I move an object in blender in unit mode(Imperial), it always make it in feet. For example, if I type G Y 12, it will move 12 feet. How can I make it move 12 inches instead? Duplicated Onedrive icon in explorer I've installed windows 10 on a new pc, with a secondary hard disk containing my onedrive folder, taken from my old pc. I've configured onedrive in order to use that folder, and it's working fine.  The problem is that when I open Explorer I can see two onedrive icons on the sidebar, both of them pointing at the same folder.  How can I remove the duplicated onedrive entry from the sidebar? Probability of false positive key matching two plaintext/ciphertext pairs Given a keyspace of $ 2^{80} $ and plaintext space of $2^{64}$. And two plaintext and ciphertext pairs $(x_1, y_1)$ , $(x_2, y_2)$. Now we have $2^{80}/2^{64} = 2^{16}$ keys that encrypt $x_1$ to $y_1$ and another $2^{16}$ keys that encrypt $x_2$ to $y_2$, with only one key that is supposed to be the target key (correct key). What is the probability that once brute-force identifies a first key ($k_1$) this same key happen by mistake to also encrypt $x_2$ to $y_2$, that is this this key happen to be a False-positive (that is, this key will likely not encrypt $x_3$ correctly). What is the equation used and how is it derived? Last months I have lots of referrer spammers in my GA statistics. Their count is ~10x higher than count of legit visitors (my site is not very popular yet). I've turned on an option to hide known spammers in GA settings, but it didn't help at all. It seems these spammers are using scripts to spam directly to GA (i.e. they are not logged in my IIS).  Is there anything I can do to stop these spammers?    UPD 10 months later, and they started spamming using fake target page names... and Google is still doing nothing about it. Shortest distance between $2$ lines with direction vectors Let L1 be the line passing through the point $P_1=(−11, 10, −1)$ with direction vector $\vec d_1=\begin{bmatrix}−2\\ 3\\ −1\end{bmatrix}t$, and let $L_2$ be the line passing through the point $P_2=(−8, 9, 10)$ with direction vector $\vec d_2=\begin{bmatrix}−1\\ 3\\1\end{bmatrix}t$. Find the shortest distance, $d$, between these two lines, and find a point $Q_1$ on $L_1$ and a point $Q_2$ on $L_2$ so that $d(Q_1,Q_2) = d$.   I dont really understand how to properly approach this question, how do i start? I would like to configure Apache 2 running on Kubuntu to execute Perl CGI scripts. I've tried some steps that I came across by googling, but nothing seems to work.  What is the right way of achieving this? Maximum of $|\sin(z)|$ as $\{z: |z| \leq 1 \} $  So according to the Maximum Principle, the maximum is when $|z|=1$. I tried using the fact that $\sin z= \dfrac {e^{iz}-e^{-iz}}{2i}$, but didn't know how to continue from there. Setting $z=e^{it}$ doesn't help much.  I saw this question was answered before, however the answer uses hyperbolic functions ($\sinh, \cosh$) which I haven't actually studied.  Thanks in advance for any assistance!