Caps lock keyboard indicator is ON after waking up from suspension, but in fact it is turned OFF. So I have to press the CAPS LOCK button twice to make it normal. So the problem is with indicator only, capitalization works.  Notebook: HP Pavilion g6 1075er  OS: Ubuntu 12.04  I came to Ubuntu a month ago, and I never experienced this problem in Windows. Couldn't find relevant answer on web.  I have no changes for Caps lock button in keyboard layout settings.
I have a laptop which I hook up to an external display when I'm at home. I also connected an external keyboard and mouse which makes it more comfortable for me.  I have noticed that pressing caps lock on the external keyboard does not light up the capslock indicator of the laptop keyboard (and vice versa).  When googling, I came across the setleds function, but when I type it into a console all I get is this:  KDGKBLED: Inappropriate ioctl for device Error reading current flags setting. Maybe you are not on the console?   Any idea if I can get this working?
What is a primary decomposition of the ideal $I = \langle xy, x - yz \rangle$? Given the ring $k[x,y,z]$, where $k$ is a field, and an ideal $I=(xy,x-yz)$, find a primary decomposition of $I$.    I tried to draw the graph of the variety of $I$ and get a decomposition of $(x,y)\cap(x,z)$ (the two prime ideals corresponds to the irreducible components of the variety), but apparently these two ideals are not the primary decomposition of $I$, and I don't know how to fix this.  I would really appreciate it if someone can help me. thx Can I visit the UK as a tourist before my Student Visa starts? Getting Started with Unit Testing Unit testing is, roughly speaking, testing bits of your code in isolation with test code. The immediate advantages that come to mind are:  Running the tests becomes automate-able and repeatable You can test at a much more granular level than point-and-click testing via a GUI    My question is, what are the current &quot;best practices&quot; in terms of tools as well as when and where to use unit testing as part of your daily coding? Lets try to be somewhat language agnostic and cover all the bases. What is the remainder when $2^{1990}$ is divided by $1990$? I actually do not have the basic idea on how to approach these type of questions....so please tell me a generalized method about all this too.  It came in RMO, and the question is:  What is the remainder when $2^{1990}$ is divided by $1990$ ? Automatically fit the graphics in the remaining space of a Beamer slide How can I get file extensions with JavaScript? Is it possible to export a single object from an entire scene? How to create two classes in C++ which use each other as data? How do you write a case insensitive query for both MySQL and Postgres? I'm running a MySQL database locally for development, but deploying to Heroku which uses Postgres. Heroku handles almost everything, but my case-insensitive Like statements become case sensitive. I could use iLike statements, but my local MySQL database can't handle that.  What is the best way to write a case insensitive query that is compatible with both MySQL and Postgres? Or do I need to write separate Like and iLike statements depending on the DB my app is talking to? 529 plan withdrawal penalties My son is a freshman this year.  We live in and he attends school in California.  We pulled out the first $ from our Utah 529 plan.  I had the money deposited in my account since I paid the registration and dorm &amp; meal plan.  Our friend has a son a year ahead and he has the exact same 529 plan.  He warned me that he got hit with a small tax penalty when he withdrew the money to his account and not to an account in his son's name.  I called the 529 administrator and they said it shouldn't matter either way.  Other online blogs agree.  They say the only difference is that my son would get the tax forms and have to file if it went to his account. Nevertheless, my friend did get a penalty.  Any clarity would be appreciated! How can you get the "real" HttpContext within an ASP.NET MVC application? The difference between "Older" and "Elder" What is the difference between "Older" and "Elder" ?  And are they interchangeable ? Should reputation points expire? While looking at the SO question  It occurred to me that this was an extremely simple question with an extremely simple answer.  And yet, it has garnered the OP thousands in upvote points, simply because he was the first one to ask this question in the early days of SO.  There are many examples of these simple questions and I believe they don't accurately model a user's participation in the SO community.  People shouldn't be getting thousands or even tens of thousands of points from a question just because they were lucky enough to get it in the system a while ago.  Another related issue is that the non-expiring point system rewards users for seniority.  Simply put, the longer you're around SO, the higher your score will be.  While there's some merit to this, it seems to have a disproportionate effect.  So what can we do to limit these effects?  I'm just brainstorming but here are a couple ideas:   Automatically close voting on questions after a certain time period.  Good questions will still be rewarded, but they won't give disproportionately large rewards simply because they are really old questions. Expire users' points after a certain time period.  If you expire users' points after, say 3 months, then this will force them to stay active and their points will be more a reflection of "How much have you participated lately"?  It forces old users to stay active rather than resting on their laurels, and allows junior members a chance to catch up to senior members of the community by putting in a lot of effort.  Currently, there is no chance at all for junior members to ever catch up with senior members and their only 'sin' is that they didn't register 5 years ago. A non-trivial normal subgroup N of a finite group G or order $p^n$ is such that $N\cap Z(G)\neq \{ 1\}$ Let $N\neq 1$ be a normal subgroup of G, where G has order $p^n$, $p$ prime, $n\geq 1$.  I need to show that $Z(G)\cap N\neq \{1\}$.  I have tried to do it this way: Suppose $|N|=p^m$, $m&lt;n$. Since $N\cap Z(G)$ is normal in $Z(G)$, in both cases ($N\cap Z(G)=\{1\}$ and $N\cap Z(G)\neq\{ 1\}$), I used the Second Group Isomorphisms Theorem to get:  $G/N\cong Z(G)/N\cap Z(G)$  so $|G/N| = |Z(G)/N\cap Z(G)|$  Since N is normal in G, $|G/N|=p^{n-m}$, with $n-m&gt;0$. So $|Z(G)/N|\cap Z(G)|=p^{n-m}\Rightarrow [Z(G):N\cap Z(G) ]=p^{n-m}$  and this means that $N\cap Z(G)\neq \{1\}$. How can I take a photo with everything in focus with my DSLR? The Problem  Currently if I flag a post, I cannot check the status of the flag unless I have prior helpful flags. This means, for example, that a new user who wants to check the status of his first flag cannot do so while it is pending (active).  This feature request is based on my experience on MSO, where I wanted to check the status of my flag but could not get to the summary page without cheating (tweaking my SO link to work with MSO). It also stems from this question, where the OP indicates he had the same issue:   My Proposal  If I have flagged any post, then show me a "flags" link (red arrow in image below). If I have any helpful flags, then the number of helpful flags should be displayed (blue arrow). If I have not flagged anything, then neither should be displayed (as with current site functionality). Find the order of $8/9, 14/5,48/28$ in the additive group of $\mathbb{Q}/\mathbb{Z}$ Find the order of $8/9, 14/5,48/28$ in the additive group of $\mathbb{Q}/\mathbb{Z}$    JUNK  Guessing asking for $8/9 * k = 0 $ (being a whole integer) for smallest integer so for this one is 9 . another guess would be the smallest element of $Q/Z$ being something like $9/8$  $14/5$ would be 5  $48/28=12/7$ would be 7? Generating a list of numbers that are not multiples of 4 We have a situation: someone saw the boy break the window. Can I make this passive sentence?     The boy was seen to break the window.   I use Murphy's Grammar and this structure is never discussed. Confusion between register size, address size, data size I started learning about pointers in C++ and I figured I should educate myself a bit on how memory works and is accessed. I read that when we say a processor is 64-bit, it has a 64-bit register and can access 2^64 address locations. I also read that it can fetch 64/8, so 8 bytes of data at a time, but the data bus is not the same thing as the register right? Do they need to be the same size or does that just happen to be the case usually? And is it the size of the register or the data bus size that determines what we refer to it as, such as 32/64-bit? Also is there a difference between register size and address size?