Is there a jquery/javascript code equivalent to this php one? I want to generate a unique 32 character token.  $token = md5(uniqid($customerId))
I'm trying to create globally-unique identifiers in JavaScript.  I'm not sure what routines are available on all browsers, how &quot;random&quot; and seeded the built-in random number generator is, etc. The GUID / UUID should be at least 32 characters and should stay in the ASCII range to avoid trouble when passing them around.
SEO (or other) problems with a 404? Why does the /winsxs folder grow so large, and can it be made smaller? A Vista virtual machine I use only has a 10 GB virtual hard disk -- and I'm worried about it running out of space over time. I used  to check for the culprits..  And the primary culprit is that /winsxs or &quot;Windows Side-By-Side&quot; folder.  What is the Windows Side By Side folder? Well, that's .  All of the components in the operating system are found in the WinSxS folder – in fact we call this location the component store.  Each component has a unique name that includes the version, language, and processor architecture that it was built for.  The WinSxS folder is the only location that the component is found on the system, all other instances of the files that you see on the system are “projected” by hard linking from the component store.  Let me repeat that last point – there is only one instance (or full data copy) of each version of each file in the OS, and that instance is located in the WinSxS folder.   So looked at from that perspective, the WinSxS folder is really the entirety of the whole OS, referred to as a &quot;flat&quot; in down-level operating systems.  This also accounts for why you will no longer be prompted for media when running operations such as System File Checker (SFC), or when installing additional features and roles. That explains why the folder starts off big, but not why it gets larger over time – the answer to that question is servicing.   In previous versions of Windows the atomic unit of servicing was the file, in Windows Vista it’s the component.  When we update a particular binary we release a new version of the whole component, and that new version is stored alongside the original one in the component store.  The higher version of the component is projected onto the system, but the older version in the store isn’t touched.  The reason for that is the third part of why the component store gets so large.  Lots of other people :  A coworker recently received his every two year work laptop refresh and was in the middle of loading his new laptop with Vista. For some reason, his hard drive C: was partitioned to only 25GB and the rest of the space reserved for a much larger drive D:. Anyway, after loading many Windows Updates, he was left with hardly any drive space left on C:, and for some reason, the WinSxS directory had ballooned to over 8GB. While I knew what the WinSxS (Windows Side-by-Side) directory was for, I wasn't quite sure why that directory would explode in size so fast with normal operating system updates.  I don't really care about having all these duplicate files for safety, but I do care about the VM exploding due to an out of disk space error. So.. can /winsxs be safely pared down in any way? ..  Administrators should not, for any reason, take it upon themselves to clean out the /winsxs directory - doing so may prevent Windows Update and MSI from functioning properly afterwards.  Preventing accidental deletion from the directory is accomplished by putting a strong security descriptor on the directory that inherits to its children.  If this /winsxs folder gets any larger, I'm going to have to re-image this virtual machine.. which I really don't want to do! Does the refresh rate affect LCD screens? I have never really paid any attention to the refresh rate setting on computers with LCD screens.  I thought with LCD displays the pixels are either on or off, they don't flicker like in old CRT monitors.  Seems trivial to me, but my own graphics card allows me to select 59Hz or 60Hz - which leads me onto my question:  Does the refresh rate affect LCD screens?  Technical info to back up any answers would be great. Why is the decay of a neutral rho meson into two neutral pions forbidden? Why is the decay of a neutral rho meson into two neutral pions forbidden? (Other modes of decay are possible though.) Is it something with conservation of isospin symmetry or something else? Please explain in a bit more detail. SharePoint 2013 REST display lookup fields? I am using SharePoint 2013 REST to show data from my list,  one of my field in announce list is AnnouncedBy which is a user packer field  or is a lookup field   how can I display it or get it using SharePoint 2013 REST?   var app = angular.module('SmartphoneOSList', ['ngSanitize']);    app.controller('ListController', function ($scope, $http) {    $http({       method: 'GET',       url: "https://myserver/_api/web/lists/getByTitle('announce')/items?$top=2&amp;$orderby=Modified desc",       headers: { "Accept": "application/json;odata=verbose" }      }).success(function (data, status, headers, config) {        $scope.items = data.d.results;       }).error(function (data, status, headers, config) {       //...     });   }); The  feat (PHB, p. 168) says:     While you are wielding a glaive, halberd, pike, or quarterstaff, other creatures provoke an opportunity attack from you when they enter your reach.   The  feat (PHB, p. 170) says:     When a hostile creature's movement provokes an opportunity attack from you, you can use your reaction to cast a spell at the creature, rather than making an opportunity attack. The spell must have a casting time of 1 action and must target only that creature.   On this very topic, Mearls has :     Q: Do Polearm Master and War Caster combine to allow a magic user to make a spell opportunity attack when they enter reach?   A: No - polearm master applies only if you use the weapons it lists to make the attack     Another question on this very topic:   But since then, we now have spells like  (SCAG, p. 142):     As part of the action used to cast this spell, you must make a melee attack with a weapon against one creature within the spell’s range, otherwise the spell fails. On a hit, the target suffers the attack’s normal effects, and it becomes sheathed in booming energy until the start of your next turn. If the target willingly moves before then, it immediately takes 1d8 thunder damage, and the spell ends.    So, with the addition of booming blade, if I have a quarterstaff + War Caster + Polearm Master, could I use my reaction to cast booming blade if someone steps into my reach? Is it possible and furthermore constructive to make LaTeX automatically format specific words in specific way? Let's say, for example, I'd like to have every occurrence of the word "hello" in a bold cyan monospaced font, whereas the rest of the document remains normal, sans serif and black.   How can I achieve that without having to do a search&amp;replace to place "hello" into a custom command every time before I compile the .tex file? Closing Reject Suggested Edit dialogue freezes review process If you go to review a suggested edit and close the Reject dialogue box, the button at the top-right will continue to say "Rejecting...". You will not be able to continue with the review process.  I have refreshed the page, and tried clearing my cache. If I refresh the page, I can continue reviewing the edit.  I'm using Chrome Version 31.0.1650.57 m. The only thing I need is an exact copy of an existing shapefile in the same directory with a different name.  I have tried:   arcpy.CopyFeatures_management (ORLinks, MyLinks) #ORLinks: old links, MyLinks: new links   but for some reason, I cant make it a feature layer using:  arcpy.MakeFeatureLayer_management(MyLinks, 'MyLinks')   Error Encountered:  Error: Failed to execute. Parameters are not valid. ERROR 000732: Input Features: Dataset  M:\RAIL\Rail2.0.shp does not exist or is not supported Failed to execute (MakeFeatureLayer). The limit of a complex integral If $f(z)$ is continuous in the neighborhood of the point $z=a$, then $$\lim_{r\to 0^+} \int_{\vert z-a\vert =r} \frac{f(z) dz}{z-a}=2\pi i\,f(a)\tag{1}$$  In my desperate intents of proving the above exercise, I tried to prove a 'particular' case of it, which is when $z=0$.   So if $z=0$ and as $f$ is continuous on a neighborhood of zero, given $\epsilon&gt;0$, there exists $\delta&gt;0$ such that $|f(re^{i \theta})-f(0)|\le \epsilon$ for $r\in[0,\delta)$ and $\theta\in\mathbb R$. Hence,  $\left\lvert\int_{0}^{2 \pi}(f(re^{i \theta})-f(0))d\theta\right| &lt;2\pi\epsilon \Rightarrow \limsup_{r\to0}\left\lvert\int_{0}^{2 \pi}(f(re^{i \theta})-f(0))d\theta\right| \le2\pi\epsilon.$  If $\epsilon\to0$, then $\limsup_{r\to0}\left\lvert\int_{0}^{2 \pi}(f(re^{i \theta})-f(0))d\theta\right|=0 \Rightarrow \lim_{r\to0}\int_{0}^{2 \pi}(f(re^{i \theta})-f(0))d\theta=0.$  Is this proof correct?  How can I make the proof for $(1)$ following the 'particular proof'? Can someone help me? I am getting a warning when trying to include the .net 3.5 sp1 prerequisite for my setup project.  The warning states Prerequisite could not found for bootstrapping.  Any suggestions?  Thanks I am a little bit confused about the Area Under Curve (AUC) of ROC and the overall accuracy.  Will the AUC be proportional to the overall accuracy? In other words, when we have a larger overall accuracy will we definitely a get larger AUC? Or are they by definition positively correlated?  If they are positively correlated, why do we bother reporting both of them in some publications?  In real case, I performed some classification task and got the results as follows: classifier A got an accuracy 85% and AUC of 0.98 and classifier B got an accuracy of 93% and AUC of 0.92. Question is, which classifier is better? Is it possible to get results similar to these (or do my results indicate a bug in my implementation)? Ephemeral error message: "cryptsetup: unknown fstype, bad password or options?" Will the Android app be receiving any future updates? Will there be a new version of the Android app? It's been without any update for a long time and it doesn't seem to be working really well. What does increased caster level affect? A  adds +1 caster level, what does this affect?   Damage from spells? (Like fireball) Duration and area of effect? "Amount" of effect (Like number of missiles from magic missile) Spells known by a wizard (ie +1 caster level mean a level 2 wizard gets the spells as if they were level 3?) Anything else? Suppose f is a twice differentiable function with $f(0)=0$ and $f(1)=1$, $f'(0)=f'(1)=0$. Then show that $|f''(x)| > 4$ for some $x$ in $(0,1)$ Inequalities for combinations of $\int f $ and $\int (1/f)$ where $m\le f\le M$ on an interval Can Ubuntu use all my 4GB of RAM? FontAwesome font not found? Suppose that $y_1(x)$ and $y_2(x)$ are solutions of the differential equation $y''+py'+qy=0$ on $I$. How can I show that if $y_1$ and $y_2$ vanish at the same point then they are not linearly independent?   Here is my attempt to prove the problem. Since $y_1(x)$ and $y_2(x)$ are solutions of the differential equation $y''+py'+qy=0$ on $I$, it is enough for me to show that the Wronskian of $y_1$ and $y_2$ denoted by $W(y_1,y_2)$ is zero. Now since $y_1$ and $y_2$ vanish at the same point say $p$ we have $y_1(p)=0$ and also $y_2(p)=0$.   Solving for $W(y_1,y_2)(p)$ we have: $y_1(p)y_2'(p)-y_2(p)y_1'(p)=0$ since $y_1(p)=0$ and also $y_2(p)=0$.   Am I correct? Thanks