I was watching a Silverlight tutorial video, and I came across an unfamiliar expression in the example code.  what is => ? what is its name? could you please provide me a link? I couldn't search for it because they are special characters.  code:          var ctx = new EventManagerDomainContext();         ctx.Events.Add(newEvent);         ctx.SubmitChanges((op) =&gt;         {             if (!op.HasError)             {                 NavigateToEditEvent(newEvent.EventID);             }         }, null);
I just came over this syntax in some of the questions in this forum, but Google and any other searchengine tends to block out anything but letters and number in the search so it is impossible to search out "=>".  So can anyone tell me what it is and how it is used?
Refresh thumbnails in nautilus How does one refresh thumbnails in nautilus? In my videos folder I have some MKVs and only half of them have the movie border and a excerpt from the movie and the others (also MKVs encoded in the same way) just have the ordinary film icon.  (F5 doesnt do it.) I have a significant 2x2 interaction in a between-subjects design.  I would normally report omega-squared as my effect-size measure, but I've been asked to provide Cohen's d instead?  Can Cohen's d be computed for an interaction?  If so, how? Was the chip real or fake? I'm talking about the movie  Spoilers ahead.  Walter (Daniel Radcliffe) gave the task or blackmailed the Four Horsemen to steal a chip from a lab which can access any digital device. So they did steal the chip. And when they rescue Dylan Rhodes (Mark Ruffalo) from drowning in the water, Jack Wilder said that the chip is fake.     Jack: Wait something is not right.      Atlas: What's wrong?      Jack: It's fake.   Then they assumed that Walter did not know that the chip is fake. So they came with a plan to bluff. They pretended that they had the real chip. After they got caught by Walter, they gave the fake chip to Walter. Walter checked the chip and declared it as real. The Four Horsemen were surprised.     Walter: I'm sorry to interrupt. But I have to say congratulations and   thank you. It's real.      Lula: What? It's real!!!!!      Atlas: What? Is it real?      Jake: What is he talking about?   What happened? I didn't get it. What did I miss? Was the chip real? Was Walter pretending it to be real? If so, then why? If not, who switched the real chip with the fake one? Who had the real chip before? Execute a Java program from our Java program I used   Runtime.getRuntime().exec("_____")   but it throws a IOException as below:  java.io.IOException: CreateProcess: c:/ error=5   at java.lang.Win32Process.create(Native Method)   at java.lang.Win32Process.&lt;init&gt;(Win32Process.java:63)   at java.lang.Runtime.execInternal(Native Method   I don't know whether I have the problem with specifying the path or something else. Can anyone please help me with the code. How do I set a background image while I am editing? How can I count all the lines of code in a directory recursively? Using InDesign CS6, how can I simultaneously edit A4 and A5 versions of a poster? I'm on Adobe Creative Cloud, so I have the latest InDesign, and I'm attempting to design a poster for my choir's next concert. Traditionally, I've done this in Photoshop, in two separate files, however I've recently started using InDesign after converting to it to create wedding albums through Blurb.  I've created an A4 document, and created an alternate-layout for it in A5. I've then lined them up side-by-side, and I've added a black frame to the A4 page, to act as the black background for my page (by the way, feel free to advise on better ways to do this).  My assumption is that I've failed to understand how this works, as I was hoping that I'd magically get a black frame on the A5 version, and that I could use liquid layout to get this to automatically scale (along with all other elements), in order to create the two versions simultaneously.  All help/advice would be greatly appreciated! The best free and most up to date phylogenetic tree on the internet? I found phylogenetic tree in wikipedia is lacks of accuracy. It actually confusing with versions. Some terms was not scientifically accurate with dna analysis anymore  So are there anyone know where is the most updated datasource on the internet? How long is it safe to drink coffee after brewed? Why is variance squared? The mean absolute deviation is:   $$\dfrac{\sum_{i=1}^{n}|x_i-\bar x|}{n}$$   The variance is: $$\dfrac{\sum_{i=1}^{n}(x_i-\bar x)^2}{n-1}$$   So the mean deviation and the variance are measuring the same thing, yet variance requires squaring the difference. Why? Squaring always gives a non-negative value, but the absolute value is also a non-negative value. Why isn't it $|x_i-\bar x|^2$, then? Squaring just enlarges, why do we need to do this?  A similar question is , but mine is a little different. Thanks. I'm having difficulty with exercise 1.43 of Lang's Algebra. The question states     Let $H$ be a subgroup of a finite abelian group $G$. Show that $G$ has a subgroup that is isomorphic to $G/H$.   Thinking about this for a bit, the only reasonable approach I could think of was to construct some surjective homomorphism $\phi\colon G\to K$ for $K\leq G$, and $\ker\phi=H$, and then just use the isomorphism theorems to get the result.  After a while of trying, I've failed to come up with a good map, since $H$ seems so arbitrary. I'm curious, how can one construct the desired homomorphism? This is just the approach I thought of, if there's a better one, I wouldn't mind seeing that either/instead. Thank you. I used osm2pgsql to import data into my PostgreSQL database and it put gave me the following 4 tables, planet_osm_point, planet_osm_line, planet_osm_polygon and planet_osm_roads.   I have looked at the schema for osm2pgsql and inside the planet_osm_point table there is a column 'way' of type point. I tried to query it as an array like it says in the documentation here ():     It is possible to access the two component numbers of a point as   though the point were an array with indexes 0 and 1. For example, if   t.p is a point column then SELECT p[0] FROM t retrieves the X   coordinate and UPDATE t SET p[1] = ... changes the Y coordinate. In   the same way, a value of type box or lseg can be treated as an array   of two point values.   Anyone know the correct query the planet_osm tables from osm2pgsql based on long/lat? For example if I wanted to retrieve the information for Big Ben (London) I would query along the lines of:      SELECT * FROM planet_osm_point      WHERE ST_Y(ST_Transform(way, 4326)) = '-0.12'        AND ST_X(ST_Transform(way, 4326)) = '51.5';   There is no error message, it comes out with the table names, but no data is output either. (Its an empty table). What am I doing wrong here?  Perhaps it is too precise, i.e. there are no coordinates that match it exactly? Perhaps I need to try being more general, say 51 &lt; long &lt; 52 and -0.5 &lt; lat &lt; 0. Although this would throw back multiple results so would not be quite as accurate. Our 21 month old toddler will use the potty when we leave her bottom bare - she has been successfully doing this for a month. Tired of cleaning stinky diapers, we leave her bottom bare when she is home.   She doesn't particularly enjoy wearing diapers, and when we put one on her, she doesn't take the initiative to tell us that she has to use the potty. However, when we have company over, we put a diaper on her.  We are trying to transition her into wearing panties; however, she is very opposed to them. She equates them with pants and doesn't want to wear them. While she is fully capable of dressing herself in pants, she hasn't mastered taking her pants off yet.   How do you introduce underwear to your child? When do people normally introduce underwear to their child? How do I explain the concept of having to take her panties off before using the potty?  We in no way want to discourage her use of the potty, as she seems to really enjoy pooing/peeing outside (she claps for herself whenever she uses the potty). But if she is interested in potty training herself, I do want to show her the concept of an underwear. When at home I use my 13" MacBook Pro hooked up to an 27" external monitor. When working on my 27" screen I prefer to have a visible dock at all times. I have enough screen real estate to afford this luxury.  When I'm on the road working on my 13" screen I prefer to automatically hide the dock as it really gets in the way when screen real estate is limited.  I now manually switch between enabling and disabling hiding (using ⌥⌘D) but I would prefer this to happen automatically. Can I enable hiding the dock on my MacBook monitor and disable hiding the dock on my external monitor? How to interpret output from Linux 'top' command? How do I verify a PGP signature? What GUI (no command line) software or websites can I use to verify a PGP signature?  If I have a message like this  -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1  Because anyone can claim to be me. There's no validation of the user name or email address when someone posts a comment. While I do try to remove imposters, some may slip through. By signing my comments using this technique, anyone can independently verify that I was the author of the message by validating the signature. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (MingW32)  iD8DBQFFxqRFCMEe9B/8oqERAqA2AJ91Tx4RziVzY4eR4Ms4MFsKAMqOoQCgg7y6 e5AJIRuLUIUikjNWQIW63QE= =aAhr -----END PGP SIGNATURE-----   How can I verify the message against the public key to get the same signature back?  This  does not allow me to do that. I am running a query like   select id from students where school_id='67153fb1-8f79-441d-a747-ca3778cf6d3d';   on table that looks like                                      Table "public.students"           Column       |            Type             |             Modifiers                   -------------------+-----------------------------+------------------------------------      id                | uuid                        | not null default gen_random_uuid()      school_id        | uuid                        |  Indexes:     "students_pkey" PRIMARY KEY, btree (id)     "students_school_id_idx" btree (school_id)   The query plan for the select statement with just where looks like below-  explain select id from students where school_id='67153fb1-8f79-441d-a747-ca3778cf6d3d';                                             QUERY PLAN                                             --------------------------------------------------------------------------------------------------  Bitmap Heap Scan on students  (cost=581.83..83357.10 rows=24954 width=16)    Recheck Cond: (school_id = '67153fb1-8f79-441d-a747-ca3778cf6d3d'::uuid)    -&gt;  Bitmap Index Scan on students_school_id_idx  (cost=0.00..575.59 rows=24954 width=0)          Index Cond: (school_id = '67153fb1-8f79-441d-a747-ca3778cf6d3d'::uuid)   This is fairly fast.  Now we add order by to the query with id that degrades the query.(Such a query is generated by Rails like student.first with some condition)  explain select id from students where school_id='67153fb1-8f79-441d-a747-ca3778cf6d3d' order by id asc limit 1;                                                  QUERY PLAN                                                  ------------------------------------------------------------------------------------------------------------  Limit  (cost=0.43..488.51 rows=1 width=16)    -&gt;  Index Scan using students_pkey on students  (cost=0.43..12179370.22 rows=24954 width=16)          Filter: (school_id = '67153fb1-8f79-441d-a747-ca3778cf6d3d'::uuid)   How can I improve the speed to return the results of this query? Currently there are around 4990731 records in the table and is taking more than 2 minutes! Its running on RDS with db.t2.medium instance.  UPDATE After running Analyze students;  explain select id from students where school_id='67153fb1-8f79-441d-a747-ca3778cf6d3d' order by id asc limit 1;                                                        QUERY PLAN                                                         -----------------------------------------------------------------------------------------------------------------      Limit  (cost=8.46..8.46 rows=1 width=16)        -&gt;  Sort  (cost=8.46..8.46 rows=1 width=16)              Sort Key: id              -&gt;  Index Scan using students_school_id_idx on students  (cost=0.43..8.45 rows=1 width=16)                    Index Cond: (school_id = '67153fb1-8f79-441d-a747-ca3778cf6d3d'::uuid)      explain analyze select id from students where school_id='67153fb1-8f79-441d-a747-ca3778cf6d3d' order by id asc limit 1;                                                                           QUERY PLAN                                                                              -----------------------------------------------------------------------------------------------------------------------------------------------------------     Limit  (cost=8.46..8.46 rows=1 width=16) (actual time=1.853..1.855 rows=1 loops=1)      -&gt;  Sort  (cost=8.46..8.46 rows=1 width=16) (actual time=1.851..1.852 rows=1 loops=1)            Sort Key: id            Sort Method: quicksort  Memory: 25kB            -&gt;  Index Scan using students_school_id_idx on students  (cost=0.43..8.45 rows=1 width=16) (actual time=1.841..1.843 rows=1 loops=1)                  Index Cond: (school_id = '67153fb1-8f79-441d-a747-ca3778cf6d3d'::uuid)     Planning time: 0.145 ms     Execution time: 1.874 ms For abbreviations - both acronyms and initialisms - where the last word in the abbreviation is the noun, I'm accustomed to adding an 's' with no apostrophe (e.g. ATMs), as described in the answer to this question:   But how do you pluralize abbreviations where the noun is not the last word? E.g. 'Point of Presence' (POP)  I can see how 'POPs' could read 'Point of Presences', when the intention is 'Points of Presence.' Okami is now reborn in High Definition for PS3. The graphics are obviously better, sharper and yet preserves the gist of the original game, however I can swear some of the texts have changed as well.  My PS2 console is no longer available to me so I can't test it myself, but does anyone know whether there are any changes to the game (aside from graphics) or not? Can you use twinned spell on the same target? So me and my DM have been arguing on how Twinned spell works. Twinned spell:  When you cast a spell that targets only one creature and  doesn't have a range of self, you can spend a number of  sorcery points equal to the spell's level to target a second  creature in range with the same spell (1 sorcery point if  the spell is a cantrip).  I argued that &quot;a second creature&quot; can be a the same target as it is not worded as &quot;another creature&quot; For this example counter spell with twinned spell.  A wizard casts fireball on me I use CounterSpell#1 with Twinned Spell Wizard casts CounterSpell on my CounterSpell#1 I use him as the same target for my twinned Spell CounterSpell#2  Result countered Is this possible?