Can a partially homomorphic encryption scheme be made CCA1 Secure? like paillier ? what is the highest security for any PHE?
Is there a way of maintaining malleability in a homomorphic encryption system while making it infeasible to perform chosen ciphertext attacks?   I have been reading about homomorphic encryption and malleable cryptosystems lately and have found it fascinating. I still have a lot of reading to do, however, I came across a statement in my reading that suggested malleability is inherently counter to security against chosen ciphertext attacks.  While I read up more about this relationship, I am curious to learn if there a way to maintain malleability while making a chosen ciphertext attack computationally infeasible? Why or why not?
Inverting direction of mouse scroll wheel Is there a way to make a mouse scroll wheel invert its direction? I'd like to scroll upwards and have that action scroll downwards and vice-versa. There is no setting on the Mouse control panel that makes this possible.   Any pointers to a hack or a particular mouse model that has such a setting would be appreciated. I am using Windows 7. I'm looking for a good, consistent and easy way to do a report of sudoers permissions for every user and group on the system. For users, I want the report to include permissions granted via group membership. Validate inputs that are not inside a form with jQuery Validation plugin How can I validate some inputs that are not inside a form tag?  All the samples I found have a form tag, but I want to validate some inputs that are not inside a form. For me, it is pretty clear that $a + \overline{a}*b = a + b$, because the first $a$ in the or will make sure that if the second term must be 'evaluated', $a$ will always be false, and therefore won't matter in the and - probably because I'm a programmer and it is very common to see this unnecessary cluttering in long if-else structures.  I can easily prove it with the truth table as well, just make both expressions', and turns out they are identical.  But I was looking for a 'algebraic' way to prove it. That is, something using the basic operations properties like the fact that they are transitive, commutative, associative, etc. For example, if I was to prove this other simple identity $a + a*b = a$ I would simply do something like:  $a + a*b = a*(1 + b) = a*1 = a$.  Is there a way to also prove the former using this algebraic operations, without resorting to the truth table? When should I use a unique constraint instead of a unique index? When I want a column to have distinct values, I can either use a constraint  create table t1( id int primary key, code varchar(10) unique NULL ); go   or I can use a unique index  create table t2( id int primary key, code varchar(10) NULL ); go  create unique index I_t2 on t2(code);   Columns with unique constraints seem to be good candidates for unique indexes.  Are there any known reasons to use unique constraints and not to use unique indexes instead? Why doesn't the frequency of light change during refraction? Keyboard shortcut to focus on (idle) terminal I would like to know, if there is possible to use keyboard shortcut to focus on first idle (non working) terminal window in unity (13.10)? Something like Ctr+Alt+T, but before opening the new instance of terminal, searching for any idle instance? With me going it alone in development I only have limited resources at my disposal i.e one pc with which I develop and test the game. so I only know for certain my game works with that setup.  What options have I got in testing the game on the many different hardware/operating system combinations? Its a windows desktop game. I'm working with jQuery and looking to see if there is an easy way to determine if the element has a specific CSS class associated with it.  I have the id of the element, and the CSS class that I'm looking for.  I just need to be able to, in an if statement, do a comparison based on the existence of that class on the element. How can I download this flash game for offline play? is one of the best flash games ever.    Is there some way to download it, so that I can play it offline? SSD drives lifetime Some years ago when I was looking to buy an SSD drive, I remember reading about how SSD drives had low lifetime with frequent read/writes, so I backed off.  Now I see this in Specifications:  MTTF: 1,000,000 Hrs    That's 114 years (ok, it could be a few years less, but still WOW)    What has changed since then? What is your personal experience about this technology? How do I use reflection to call a generic method? What's the best way to call a generic method when the type parameter isn't known at compile time, but instead is obtained dynamically at runtime?  Consider the following sample code - inside the Example() method, what's the most concise way to invoke GenericMethod&lt;T&gt;() using the Type stored in the myType variable?  public class Sample {     public void Example(string typeName)     {         Type myType = FindType(typeName);          // What goes here to call GenericMethod&lt;T&gt;()?         GenericMethod&lt;myType&gt;(); // This doesn't work          // What changes to call StaticMethod&lt;T&gt;()?         Sample.StaticMethod&lt;myType&gt;(); // This also doesn't work     }      public void GenericMethod&lt;T&gt;()     {         // ...     }      public static void StaticMethod&lt;T&gt;()     {         //...     } } How can I find out the size of a block device, such as /dev/sda? Running ls -l gives no useful information. Is it possible to add multiple materials to a text object? I know that for a mesh you can go into edit mode and select vertices and assign a specific material to them quite easily. I want to know if it is possible to do this with a Text object (which has no vertices). What does standard deviation tell us in non-normal distribution In a normal distribution, the  imparts standard deviation a lot of meaning, but what would standard deviation mean in a non-normal distribution (multimodal or skewed)? Would all data values still fall within 3 standard deviations? Do we have rules like the 68-95-99.7 one for non-normal distributions? Applying for a USA B1/B2 Visa for an alien resident in Germany I hold an EU Blue Card and an Indian Passport and have submitted a paper to a conference in the USA due to occur in September 2019. The Blue Card will expire in August 2019 but have already obtained an extension for the same.  In order to present the paper in the conference I need to apply for a B1/B2 visa for the USA and not sure if I may be allowed to apply for one in Germany since I am not a German Citizen.  Are there any specific documents that I might need in order to apply for the B1/B2 Visa since I am not a citizen of the country where I am actually applying? TeX capacity exceeded with glossary package My document contains many thousands of glossary items. When compiling with XeLaTeX, about 1/8 of the way through the document, it reports:  ! TeX capacity exceeded, sorry [main memory size=3000000]. \@glolist@ ...},{13586},{9406},{4539},{12811},{179                                                   51},{5831},{1047},{14948},    The numbers you see above are ones placed in #1 of \newglossaryentry{#1}{#2}. These unique numbers are assigned to each entry for convenience. I have successfully compiled short tests of the document, which only used 1% of the full content. The resulting .glo file is about 1 MB in size.   Could this be the result of some error on my part or am I giving TeX too much work to do?  Update:  I have followed the instructions below (edited texmf.cnf and running  fmtutil-sys --all. This has allowed me to compile an additional portion of the book, but no matter the settings I add, I can't go beyond 5/8 of the way through.  A compile with extra_mem_top.xelatex = 30000000 and extra_mem_top.xelatex = 50000000 both result in:  TeX capacity exceeded, sorry [pool size=3186676].   Update:  I have done the following:  $ kpsewhich texmf.cnf /usr/local/texlive/2011/texmf.cnf $ nano /usr/local/texlive/2011/texmf.cnf   To the texmf.cnf file, following instructions at , I added:  main_memory = 230000000 extra_mem_top = 10000000 extra_mem_bot = 10000000 save_size = 150000 stack_size = 150000  main_memory.xelatex = 30000000 extra_mem_top.xelatex = 30000000   After this, I tried: - fmtutil-sys --all, then compiling xelatex file.tex. - fmtutil --all, then compiling xelatex file.tex. - fmtutil-sys --byfmt xelatex, then compiling with xelatex file.tex. - texhash, then compiling with xelatex file.tex.  All of these resulted in no changes in results. I still get:  TeX capacity exceeded, sorry [pool size=3186676]. Pokemon Go: Can't log in? Are everyone unable to log in right now? 2016 July 16. Where I live none can log in to the servers at the moment, and it all happened after the sudden release of the game in my country.   As I understand the game was recently released in 26 countries, so I guess they have problems and had the servers go offline in order to fix the issues. Can a virtualized machine have the CPU and RAM resources of multiple underlying physical machines? We are studying implementing some virtualized servers here, but we don't know what will be better suitable for us. Some folks are saying better have two huge servers, and others are saying have like a ten middle-end servers.  We have a legacy Visual Foxpro application, which nowadays run on Dual Xeon E5405 @ 2GHz and 16Gb of RAM. The currently server its getting too slow due the number of active users and process running on it. Virtualizing this server will give us the benefit of an faster disaster recovery.  So the question is, having like ten physical servers running at 1.7GHz and 4Gb of RAM, we could virtualize one server into 4 machines, and have one virtualized server running at 6.8GHz and 16Gb of memory? If yes, there is some how if one machine stops, automatically manage this virtual machine to another one, and execute the appropriate maintenance on it, and later back to it again? I have created multiple objects, while testing I applied a drop shadow style on one object and its looking very good. Now I want to apply the same style to all other objects (around 20). Is there any way like global color to create a style once and apply to other objects with single click automatically?  Or I have to apply that drop shadow effect on each object one by one manually?