What's with this Adobe logo? I don't use Adobe Flex, I use Flex, the fast lexer, and I've had to add a million tags to my ignored list to try (unsuccessfully) to filter out the questions about this Adobe Flex business to get to the (few) questions about Lex and Yacc. And now this?  I suppose this is some kind of promotion sponsored by Adobe. How long will it last? When can I go back to trying to forget that a company I don't like has a product with the same name as a common tool that helps write compilers?
What does an icon on the tag mean, for example the "rg" before the sql-server tag as pictured below?
How can I randomize order of elements in a list? Format a date in XML via XSLT Number of ways to distribute 5 distinguishable balls between 3 kids such that each of them gets at least one ball How many ways are there to distribute 5 distinguishable balls between 3 kids such that each of them gets at least one ball?   My approach is $ \binom{5}{3} 3! $ + $ \binom{2}{2} \binom{3}{2}2!$ which is equal to $66$? Alice has a secp256k1 key pair that she used some time ago when she communicated with Bob. Bob can no longer user secp256k1 but he only uses ed25519 instead.  Is there a secure algorithm that Bob can use to derive an ed25519 pubkey from original Alice's secp256k1 pub key and also Alice can derive the matching ed25519 private key from her original secp256k1 private key such that they can communicate securely via ed25519 encrypted messages?  Thanks! Smart Phone's camera socket How to make a process invisible to other users? How could you launch a process and make it invisible to the top command? The process is started by a normal user (not root), and should not be visible to other normal users. The spell Armor of Agathys states:      You gain 5 temporary hit points for the duration. If a creature hits you with a melee attack while you have these hit points, the creature takes 5 cold damage.   Now, assume my buddy uses Inspiring Leader to give me 10 temporary hit points — does the effect end? Let $\displaystyle f$ be differentiable, $\displaystyle f(x)=0$ for $|x| \geq 10 $ and $g(x)=\sum_{k \in \mathbb Z}f(x+k).$ Why are American-style options worth more than European-style options? Why are American-style options worth more than European-style options?   I realize I can exercise American-style options anytime before the  expire, but I can only exercise European-style options during their  "exercise period" (usually right when they expire, but no earlier).   So it makes sense that an American option is worth at least as much as  a European option.   But why is it worth more? If I exercise my American option early, I  may make more money than waiting until expiration, but I also may make  less. Mathematically, there's no advantage, since I'm equally likely  to make as much money by waiting for expiration.   Mathematically speaking, is there ever a good reason to exercise an  American option early?   I realize people don't always behave logically, but even the formulas  that valuate options show that American options are worth more.   EDIT (answering comments):    Many of the comments people made would apply to lookback options  (), but not to American  options.  American options can do everything European options can and more. I  understand that, and that means American options can't be worth any  LESS than European options, but I'm still not clear on how you would  mathematically calculate this extra value.  @Aaronaught: "The difference between an American and European  option is the difference between getting N chances to get it right (N  being the number of days 'til expiration) and getting just one  chance. It should be easy to see why you're more likely to profit  with the former, even if you can't accurately predict price  movement."    REPLY: I don't think you really get N chances. Once you exercise the  option, that's it, no more chances. And, if you decide not to exercise  the option today, and the underlying's price falls, you can't go back  in time and exercise it yesterday.    @jdsweet: Think of it this way, if you traveled back through time  one month - with perfect knowledge of AAPL's stock price over that  period - which happens to peak viciously then return to its old price  at the end of the period - wouldn't you pay more for an American  option?    REPLY: Well, no. I'd simply buy a cheaper European option that expires  right at the spike. Or, I'd buy a European option that expires later,  and sell it when the spike occurs. American options don't give you  precognition, so you're still guessing as to when to sell/exercise.    @jdsweet: "one of the more common reasons people exercise (as  opposed to sell) an American option before expiration is if an  unexpected dividend (larger than remaining time value of the option)  was just announced that's going to be paid before the option contract  expires"    REPLY: This makes sense. I'm actually trading FOREX options, so there  is no dividend. In that scenario, are European and American options  worth the same? How do I diff two text files in Windows Powershell? I have two text files and want to find the differences between them using Windows Powershell. Is there something similar to the Unix diff tool available? Or is there another other way I haven't considered?  I've tried compare-object, but get this cryptic output:  PS C:\&gt; compare-object one.txt two.txt  InputObject                                                 SideIndicator -----------                                                 ------------- two.txt                                                     =&gt; one.txt                                                     &lt;= An example where the output of the k-medoid algorithm is different than the output of the k-means algorithm How to set vertex weights using Blender's Python API? Looking at the API docs I found , but It cannot be called in Edit Mode. When I try to call it, I always get:     RuntimeError: VertexGroup.add(): cannot be called while object is in edit mode.   The buttons in the vertex group list use bpy.ops.objects.vertex_group_assign(), but to work with it you have to manipulate selections, this is not nice to do from a script.    Why I try to use VertexGroup.add() in Edit Mode? My script works this way:  Human weight paint a bone, "Arm_1.L", "Arm_1.L" shares vertices with "Arm_2.L" in this case they share half the vertices (4 bone arm rig, trick to have nice deform in certain movements). When script run, all selected vertices that exist in both groups (Arm_1.L and Arm_2.L) will copy the weights of Arm_1.L into Arm_2.L but inverted. This way, I only need to weight paint "Arm_1.L" and "Arm_3.L", the script will fill the weights for "Arm_2.L".  import bpy  # ensure we are in edit mode bpy.ops.object.mode_set(mode="EDIT")  # configurable parameters src_group = "Arm_03.L" dst_group = "Arm_02.L"  obj = bpy.context.edit_object src_group_index = obj.vertex_groups[src_group].index dst_group_index = obj.vertex_groups[dst_group].index  mesh = obj.data sel_verts = [v for v in mesh.vertices if v.select] #sel_verts = mesh.vertices  # SEGFAULT in this line bpy.ops.object.mode_set(mode="OBJECT")  print("Working")  for v in sel_verts:     v1in = False     v2in = False     for g in v.groups:         if g.group == src_group_index:             v1in = True         if g.group == dst_group_index:             v2in = True     if v1in and v2in:         print("True")         obj.vertex_groups[dst_group].add([v.index], 1.0 - obj.vertex_groups[src_group].weight(v.index), 'REPLACE')  print("Finished") If $A$ is a ring and $S=\{1,f,f^2,f^3,...\}$ a multiplicative set of $A$, prove that $\mathrm{Spec}(A_f)=\mathfrak{V}((f))^c$.   Notation: $A_f=S^{-1}A$ and $\mathfrak{V}((f))=\{P \in \mathrm{Spec}(A): P \supset (f)\}$  My attempt:   On one hand, if $P \in \mathrm{Spec}(A)$ and $P \cap S$ is empty then we identify $\mathrm{Spec}(A_f)=\mathrm{Spec}(S^{-1}A)=\{P \in \mathrm{Spec}(A): P\cap S= \emptyset\}$.  On the other hand, $\mathfrak{V}((f))^c=\{P \in \mathrm{Spec}(A): P \nsupseteq (f)\}$.   So the exercise is equivalent to prove: $$\{P \in \mathrm{Spec}(A): P\cap S =\emptyset\}=\{P \in \mathrm{Spec}(A): P \nsupseteq (f)\},$$ but I can't continue so I'd appreciate if somebody could help me.   Thanks in advance. Does Process Builder run with System permissions or User permissions? Regarding field-level security, does Lightning Process Builder run as system-level permissions or user?  That is:   Can I trigger an update to a field that the current user cannot edit? Can I filter based on a field the current user cannot read? How do I get a Ralink RT3290 wireless card working? I want to merge two shape files in which one is of point geometry type and other is polygon type in order to get a single layer containing both points and polygon in a single map. Is returning a pointer to a static local variable safe? I'm working with some code that widely uses the idiom of returning a pointer to a static local variable.  eg:  char* const GetString() {   static char sTest[5];   strcpy(sTest, "Test");   return sTest; }   Am I right in thinking that this is safe?  PS, I know that this would be a better way of doing the same thing:  char* const GetString() {   return "Test"; }   Edit: Apologies, the function signature should of course be:  const char* GetString(); How can I use BibTeX to cite a web page? I'm looking to cite a number of web pages using bibtex and I was wondering if there was a specific template of the form @&lt;template name here&gt; for doing that. If you could use the following website as an example that would be great How can I start Hoard of the Dragon Queen with 4th level characters? I'm pretty new to DM'ing and was just wondering if there would be a way to start the hoard of the dragon queen adventure with a group of 4th level characters?  There don't really seem to be any modules for that level range yet.  We just finished a short module that took our party to level 4, but id really like to play through this adventure because it seems awesome. Also I couldn't really find any other ones that start around that level so rather than re-roll characters we'll just start a little of the way in. Sending email in .NET through Gmail Instead of relying on my host to send an email, I was thinking of sending the email messages using my Gmail account. The emails are personalized emails to the bands I play on my show.   Is it possible to do it?