CBC-MAC padded message difference
CBC-MAC Padding weaknesses
Start Ubuntu Unity With Dash Open This actually triggered me in my mind from . After some playing around I notice that the relation $a^{\log_b x} = x^{\log_b a}$ is true for any valid value of $a,b$ and $x$. I am very inquisitive to see how this holds ? Modify systemd unit file without altering upstream unit file I have installed the pimd service by means of apt. This comes with an upstream systemd unit file (/lib/systemd/system/pimd.service).  I want the service to be restarted when for some reason it gets killed, hence I wish to add the line Restart = always in the unit file.   However, I don’t want to modify the upstream unit file.  Is there any workaround for this? Installing gcc-7 (and newer packages) in Ubuntu 16.04 GridView sorting: SortDirection always Ascending Who is responsible for defining a site logo? I mean, there are moderators of the site that define it, or stackexchange defines it? When comments get too chatty the move-to-chat feature asks if you'd like to move it out. But this often happens after the fact and thus doesn't prevent it.   I propose that:   Move-to-chat be provided as a button along side so that a user who knows their question or conversation may become drawn out may elect to preempt and take the conversation "off-line" How to keep Heading together with text? I use a very custom style (not mine) and very frequently I get a heading  on the bottom of a page and the next paragraph on the top of the next page. Sometimes this paragraph may be a list or similar. The same is true for listings and the listing description.   Is there a general way how I can adjust the "badness" of these events? Or can I adjust when a section heading would be on the last, say, 3cm of a page it should go to the next page? Or can I say, if a *listing description" is on the top 3cm of a page pull 5 more listing lines from the last page onto this page?   The style I use does not use standard structure tags and environments. But lets call them section, subsection, listing and I will try to migrate them to my lingo. Evaluating $\lim\limits_{n\to\infty} e^{-n} \sum\limits_{k=0}^{n} \frac{n^k}{k!}$ I'm supposed to calculate: $$\lim_{n\to\infty} e^{-n} \sum_{k=0}^{n} \frac{n^k}{k!}$$ By using WolframAlpha, I might guess that the limit is $\frac{1}{2}$, which is a pretty interesting and nice result. I wonder in which ways we may approach it. How do I share an ethernet connection via wifi on Windows 8? I have a Windows 8 laptop that is connected to a router via Ethernet. I want to make the laptop act like a wireless router via wifi so that other devices could connect to the computer using wifi and gain access to its Ethernet internet connection.  How do I do something like this? Showing this metric space is complete Let $X=(0,1]$ and $d(x,y)=\left|\frac{1}{x}-\frac{1}{y}\right|$. I've proven $(X,d)$ is a metric space but I don't know how to show its completeness. How can I do that? Notify close voters when a closed question gets edited As mentioned in , a question closed because it was not well-phrased is currently very unlikely to be reopened after an edit clarifying the issues. Those who voted to close should at least be asked to reconsider and reopen the question after such an edit. Is "Logan" the last movie with Hugh Jackman as Wolverine? has played the role of Wolverine as a major character in various X-Men films since 2000 and contributed highly to the brand of the X-Men movie series. But is he playing the Wolverine character for the last time in Logan?  I am getting to know from my friends that  is the last movie in which he is playing Wolverine and they all say that this is his last contracted film.  Are these rumors true? Is there any official information that confirms that this is Hugh Jackman's last movie as Wolverine? I thought it was The Tommyknockers by Stephen King, but after a check with Wikipedia, it appears that's not the case.  What I remember about the story (a TV movie I think, but definitely based on a book) was that the world is created anew every night, and that the old, used up, Earth was eaten nightly by some scary creatures.  The major plot point involved some protagonists not getting onto the new world at midnight, and having to escape from the monsters that were eating up yesterday's planet.  Does this ring a bell for anyone? I'm finding it very hard to Google for. Although the merits of stepwise model selection has been discussed previously, it is becoming unclear to me what exactly is "stepwise model selection" or "stepwise regression". I thought I understood it, but not so sure anymore.  My understanding is that these two terms are synonymous (at least in a regression context), and that they refer to the selection of the best set of predictor variables in an "optimal" or "best" model, given the data. (You can find the Wikipedia page , and another potentially useful overview .)    Based on several previous threads (for example here: ), it appears that stepwise model selection is considered a cardinal sin. And yet, it seems to be used all the time, including by what seem to be well respected statisticians. Or am I mixing up the terminology?  My main questions are:   By "stepwise model selection" or "stepwise regression", do we mean: A) doing sequential hypothesis testing such as likelihood ratio tests or looking at p-values? (There is a related post here: ) Is this what is meant by it and why it is bad? Or B) do we also consider selection based on AIC (or similar information criterion) to be equally bad? From the answer at , it appears that this too is criticized. On the other hand, Whittingham et al. (2006; )1 seems to suggest that variable selection based on information-theoretic (IT) approach is different from stepwise selection (and seems to be a valid approach)...?  And this is the source of all my confusion.  To follow up, if AIC based selection does fall under "stepwise" and is considered inappropriate, then here are additional questions: If this approach is wrong, why is it taught in textbooks, university courses, etc.? Is all that plain wrong? What are good alternatives for selecting which variables should remain in the model? I have come across recommendations to use cross-validation and training-test datasets, and LASSO.   I think everyone can agree that indiscriminately throwing all possible variables into a model and then doing stepwise selection is problematic. Of course, some sane judgement should guide what goes in initially. But what if we already start with a limited number of possible predictor variables based on some (say biological) knowledge, and all these predictors may well be explaining our response? Would this approach of model selection still be flawed? I also acknowledge that selection of the "best" model might not be appropriate if AIC values among different models are very similar (and multi-model inference may be applied in such cases). But is the underlying issue of using AIC-based stepwise selection still problematic?  If we are looking to see which variables seem to explain the response and in what way, why is  this approach wrong, since we know "all models are wrong, but some are useful"?   1. Whittingham, M.J., Stephens, P.A., Bradbury, R.B., &amp; Freckleton, R.P. (2006). Why do we still use stepwise modelling in ecology and behaviour? Journal of Animal Ecology, 75, pp. 1182–1189. Context Around this Code: I am making a schedulable class run each Sunday to track a couple of metrics important to the team.   Question: I am looking to consolidate DML operations and a big part of this is understanding pass by reference vs pass by value.  I want to pass the salesOps user object to the method SDREfficiencyLastWeek. I made the return type void, because I figured that I will be passing this by reference and I can make all the updates in the method without having to anything.   Why I am confused:    I read the above article and am thrown off by the following statement:  "Non-primitive data type arguments, such as sObjects, are also passed into methods by value. "   If the object is indeed passed by reference, then the query for the salesOps user in my code should be sufficient enough to edit all fields on that object without actually having to state each field in the query.  global class SDREfficientMetricsSchedulable implements Schedulable  {     global void execute(SchedulableContext sc)      {         User salesOps = [SELECT ID FROM USER WHERE id = '0056A000002Z3p9QAC'];         List&lt;String&gt; queries = new List&lt;String&gt;();          String contactsWorked_lastWeek  = 'select count(id) results from contact where LastActivityDate = last_week';         queries.add(contactsWorked_lastWeek);          String demosSet_lastWeek            = 'select count(id) results from form__c where CreatedDate = last_week';         queries.add(demosSet_lastWeek);          String demosCompleted_lastWeek  = 'select count(id) results from opportunity where (stagename = \'Unqualified Demo Completed\'  OR stagename = \'Qualified Demo Completed\' )  and RecordTypeId = \'0126A000000yudDQAQ\' and CloseDate = last_week';         queries.add(demosCompleted_lastWeek);          String qualifiedDemos_lastWeek  = 'select count(id) results  from opportunity where RecordTypeId = \'0126A0000004Ao6QAE\' and isclosed = false and  SDR_Owner__c != null and CreatedDate = last_week';         queries.add(qualifiedDemos_lastWeek);          String closedWon_lastWeek       = 'select count(id) results  from opportunity where RecordTypeId = \'0126A0000004Ao6QAE\' and iswon = true and  SDR_Owner__c != null and CloseDate = last_week';         queries.add(qualifiedDemos_lastWeek);            SDREfficiencyLastWeek(queries, salesOps);          update salesOps;     }       public void SDREfficiencyLastWeek(List&lt;String&gt; queries, User salesOps )     {        }  } What's the subject of "There is my biscuit!" ? And how about "There is one biscuit left"? What's the subject, grammatically speaking, of these sentences?   There is my biscuit! My biscuit is there! There is one biscuit left.   I don't really know how to analyze these. The following observations seem to be relevant, though:   The verb to be doesn't take an object. In the first two sentences, there is a demonstrative pronoun. It is therefore potentially a subject, I think. I don't know what part of speech is taken by there in the third sentence. In favour of reading my biscuit and one biscuit as the subjects is that if there were more than one biscuit then, in each case, the verb would become plural (There are my biscuits! etc.) In favour of reading one biscuit as the subject of the third sentence is that if we recast it as (the slightly unidiomatic) There remains one biscuit, it seems that one biscuit would have to be the subject.   All of this leads me tentatively towards thinking that my biscuit and one biscuit are the subjects here, but I'm not totally confident about this.  One other possibility: since to be doesn't take an object, does that mean it can have two subjects? In I am he, presumably both I and he are subjects, if neither is an object? What is the scientific name of this evergreen plant? This plant is found in India. It is an evergreen plant. Would love to know the scientific name. Why are my quotation marks causing an “unexpected token” error with this command? Reasons why not to update an Ubuntu version to a newer/older kernel version