status":500,"error":"Internal Server Error (Spring Boot and cURL)

I want to save a message, When I run a curl request -   curl -H "Content-Type: application/json" -X POST -d "{\"time\": \"2019-12-27T09:50:02.000+0000\", \"unread\": true, \"message\": \"asd\", \"from\": \"John\"}" localhost:8080/api/save   I have error in cmd  {"timestamp":"2020-01-05T04:36:33.192+0000","status":500,"error":"Internal Server Error","message":"No message available","trace":"java.lang.NullPointerException\r\n\tat org.vaadin.marcus.spring.service.impl.MessageServiceImpl.add(MessageServiceImpl.java:45)\r\n\tat org.vaadin.marcus.spring.service.impl.MessageServiceImpl$$FastClassBySpringCGLIB$$2d73a7c.invoke()\r\n\tat  My code  @Service @Transactional public class MessageServiceImpl implements MessageService {     private final MessageRepository repository;     private final PageRequest lastRequest;      private List<Long> chekedMessages = new ArrayList<>();       @Autowired     public MessageServiceImpl(MessageRepository repository) {         this.repository = repository;         lastRequest = new PageRequest(0, 10, Sort.Direction.DESC, "id");     }      @Override     public MessageStatus add(@RequestBody  Message message) {         MessageStatus status = null;         try {             repository.save(message);             status.setMessage("Message Saved");         }         catch (Exception e) {             status.setMessage("Message not saved - " + e);         }         return status;     }      @Override     public List<Message> getAllMessages() {         return repository.findAll();     }      @Override     public List<Message> getLast() {         List<Message> result = repository.findAll(lastRequest).getContent();          return result.stream()                 .sorted(Comparator.comparingLong(Message::getId))                 .collect(Collectors.toList());     }      @Override     public List<Message> getUnreadById(long id) {         return repository.getUnreadById(id);     }        @Override     public String getUnreadMessages() {         List<Message> out = new ArrayList<>();         List<Message> unchekedMessages = repository.findAll();         for (Message message: unchekedMessages) {             if (!chekedMessages.contains(message.getId())) {                 chekedMessages.add(message.getId());                 out.add(message);             }         }         return new Gson().toJson(out);     }      @Override     public void updateMessage(long id, Message message) {         if (repository.findById(id).isPresent()) {             message.setId(id);             repository.save(message);         }     } }   Rest Controller  public class RestController {      @Autowired     TimerTask timerTask;      @Resource     private final MessageService messageService;      public RestController(MessageService messageService) {         this.messageService = messageService;     }      @PostMapping("/api/save")     public MessageStatus saveMessage(@RequestBody Message chatMessage) {         return messageService.add(chatMessage);     }      @GetMapping("/api/last")     public String getLasts() {         return new Gson().toJson(messageService.getLast());     }      @GetMapping("/api/unread")     public void getUnreadMessages() {          timerTask.run();     }      @GetMapping("/api/unread/{id}")     public List<Message> getUnreadById(@PathVariable ("id") long id) {         return messageService.getUnreadById(id);     }   Github -


I'm not sure what caused this, but my Chrome detected the certificate from *.stackexchange.com invalid for discuss.area51.stackexchange.com    This is what I've done:   Open  from the IPS chatroom Awkward Silence. Open the  from that profile page.     Tried to open the parent user link from Microsoft Edge and it also return error.


Best AF Fine tuning for Nikon D7000 lenses

Over the last few months I've been noticing an annoying back - focus problem on my Nikon D7000, regardless if I was using a AF-S or AF lens. But the problem seems to happen more often on my 35mm 1.8G and on my 50mm 1.4D.  Recently I've found that I could fine tune the focus to try to solve this problem,  and I've even used a test chart for sharpness and made tons of tests on an one meter distance from my object. After I've analyzed the results I've set my 35mm to -20 and my 50mm to -5 on the AF Fine Tune menu.  It worked just fine on my chart, but when I took my camera to test with "real world applications", once again I had tons of pictures with back-focus...  I've found  which that guy seems to be having the same problem as I am. But my question here is:   Can this problem be solved solely by tuning the auto focus? If so, which are the optimal values for my lenses? Can this be caused by something else on the camera?   P.S.: This is unlikely to be a lens problem, as I've tested the 35mm on a D3100 and my 50mm is brand new... And the problem also happened with a borrowed 50mm 1.8 D.


Why does blowing on a candle put it out but sucking doesn't?

Alternatively, why does the force created by blowing out air feel so much stronger than the force created by sucking in air?  Ok, so forget the human factor involved in blowing out candles. Consider a vacuum cleaner with a suction end and a blower end. Anyone who has tried it out notices the blower end creates a much stronger force than the suction end, despite the discharge being (more or less) equal at both ends.  Why does this happen?


How is the electromagnetic/gravitational force transmitted?

So I was thinking about how a positive and a negative charge (or positive/positive, negative/negative) interact. I have read previously about how photons carry the electromagnetic force. However, how does this occur exactly?  How does a photon compel a particle to move towards/away from another? At the very least, if we say that a positive charge emits photons and a negative one absorbs them (seems wrong, but I guess that's what happens?), then wouldn't the negative one be repelled away instead?  Similarly, for gravitation, I understand that it's the curvature of spacetime that results in the "force". However, what compels a particle to move down the curvature of spacetime and not just stay where it is? In a regular rubber sheet situation, it is gravity that pulls an object down a curve. However, in spacetime there's no such equivalent.  Any help would be greatly appreciated!


Howto disassemble regex objects to compare performance

Given the following string 1234  1234  We can use  to find only the last four numbers or . How do I get a bytecode analysis (maybe with the dis module?) to compare which one is more effective? I know I could use timeit but am really interested in the internals.


Why does the server say "connection lost, timed out" after joining a minigame?

Okay, I have already got this problem a few times, and it disappeared after a few days but I want to play Minecraft when my friends are online.   The problem is: I start Minecraft and I go to multiplayer to join some servers. But everytime I want to join it takes quite a while before the server loads. Okay, that's no problem. But if you're in the server you want to play minigames or go to survival or creative or something like that. If I then for example want to join my survival, it loads a while (again) and then says 'connection lost;timed out' and it keeps doing that.   I tried restarting my computer, and tried several times to join the server but it just doesn't work. How can I fix this?


Why didn't Sauron fight in the final battle?

As depicted in the trilogy:   Sauron did not lead his army to Minas Tirith He did not defend the gates of Mordor from Aragon's army   In fact, he was never physically involved in (any) battle ever since his duel with Isildur. In spite of noticing Frodo and Sam near the mountain of doom, he never really comes out (physically) to block them from destroying the ring.  Was he limited by his physical condition or he was not willing to battle without the ring? What was the reason?


Is there a way to change all the numeric keys to "Name" without looping through the array (so a php function)? [     0 => 'blabla',     1 => 'blabla',     2 => 'blblll',     // etc ... ]


Single quotes vs. double quotes in Python

According to the documentation, they're pretty much interchangeable.  Is there a stylistic reason to use one over the other?


Sum of $n$ integers from set of size $2n-1$ divides $n$

Given any multiset of positive integers of size $2n-1$, is it possible to find a multisubset of size $n$ such that $n$ divides the sum of the integers in this multisubset?   This problem has been circulating for a while in my friends group and none of us has been able to solve it.  Someone in the friend group has claimed there is a solution using the Chevalley–Warning theorem, but has not actually shown us such a solution.  A multiset is a set that may contain a number more than once.


Repair disk from single user mode (fsck fails)

Earlier today my 2009 iMac emitted I/O errors trying to copy files. So I ran disk utility, verify disk to see if anything was amiss. It was. But as it's my startup disk I couldn't repair it, so I tried safe mode. Safe mode worked the very first time, but when I rebooted it shows the progress bar filling up, before halting. Every time I turn it on now, the same progress bar then crash happens. Booting in verbose mode reveals fsck is failing with signal 8.  Using single-user mode, as that's as far as I'm aware the only way I can get any access to the system, I've been running fsck_hfs. However, it always fails. Below is the output from fsck_hfs -d /dev/disk0s2.  ** /dev/rdisk0s2         Using cacheBlockSize=32K cacheTotalBlock=65536 cacheSize=2097152K. ** Root file system    Executing fsck_hfs (version diskdev_cmds-491.6~3). ** Verifying volume when it is mounted with write access. ** Checking Journaled HFT Plus volume. ** Checking extents overflow file. ** Checking catalog file.    Missing thread record (id = 9931104)    Missing thread record (id = 16434146)    Missing thread record (id = 19370458) disk0s2: I/O error hfs_swap_BTNode: offsets 10 and 11 out of order (0x0000, 0x0000)    Invalid node structure (4, 115897) ** The volume Macintosh HD could not be verified completely.         volume check failed with error 7         volume type is pure HFS+         primary MDB is at block 0 0x00         alternate MDB is at block 0 0x00         primary VHB is at block 2 0x02         alternate VHB is at block 1952491198 0x74622d5e         sector size = 512 0x200         VolumeObject flags = 0x07         total sectors for volume = 1952591200 0x74622d60         total sectors for embedded volume = 0 0x00   I absolutely need to be able to boot to use it as an external monitor.


How do I make this URL ending in a period work in the comments?

With this URL:  .  It is broken unless I add a \ to the end in front of a period:   And it works. However in the comments, I can't get this to work: (See the comments)


Everytime I install any software or update i get this message as below:  E: Syntax error /etc/apt/apt.conf.d/00aptitude:2: Extra junk at end of file   How can I fix that?


checking if table contains value won't work (SELECT COUNT)

I want to prevent user from registering an email address that is already set in my table. I am doing it like this:  $emailcheck = $bdd->prepare('SELECT COUNT(*) FROM ' . DB_TABLE . ' WHERE MATCH(email) AGAINST '.$_POST['email'].' '); $emailcheck->execute(); $emailcheckrows = $emailcheck->fetch();  if ($emailcheckrows > 0) {     $_SESSION['err_msg']="This email address is already registered";     $error=true;     $emailcheck->closeCursor(); }   But this doesn't work. I have already tried almost everything (also with LIKE, = and in-array). The "if" is not executed when I enter an already submitted email.  Any idea ? Thank you


Is there any way how to code recursive function containing if with lamba? Is possible to rewrite this using lambda.  def factorial(x):     if x <= 1:         return 1     return x * factorial(x - 1)  print(factorial(5))


Is this correct to say "this car is made out of leaves" or "this car is made of leaves" or "this car is made from leaves"?

Which one is correct to express the above picture? "this car is made out of leaves" "this car is made of leaves" "this car is made from leaves"?


Is there a Windows 10 command that acts like Win + D, but only for the current screen?

I recently got a second monitor and I am used to the Win+D shortcut.  Both the shortcut and the button next to the clock minimize all windows across screens. Is there a way I can minimize all windows on the current* screen?  * I am not familiar with the proper terminology, I will clarify that by current screen I mean the screen that has the current active window.    Edit in hope that this question gets reopened:  I am looking for a solution that works on Windows 10. My question is marked as a duplicate and the original question contains no answer to this (my) question.


Where are the densest locations for collecting coins?

I'm saving up for a 9999 coin item in the shop (post-game content) so I need a lot of coins. Outside of the few vault chambers associated with a few power moons, are there any dense locations for farming coins?


Due to a stroke, I have had some vision impairment in that I sometimes have a hard time locating my mouse pointer on the screen.  I have tried making the mouse pointer larger which helps but is still not the solution.  I am new to the Mac world and would appreciate your help.  In Windows, there is an option where pressing the CTRL key will help to identify the mouse pointer using a temporary display of several radiating concentric circles around the mouse pointer.  Is there something like this on OS X?


\atop vs. \substack for multiple lines under a sum

I did a search trying to find out how one can typeset multiple lines under a sum and found out that there is the possibility to use \atop or \substack together with a remark that one shouldn't use \atop.   Is there any good reason for that? Does it commit some typographical sins I am not aware of?


Is sun revolving around certain mass in space with reference to some other galaxy?

Every planet and satellite revolves around their mother planet and about their own axis as we know. So they are compacted as a system. Then why not sun?


Can I use .". if I want both to end a sentence and to indicate that there was a period ending the sentence that I just quoted?

For example:  In the original publication, the last sentence of the Introduction is: “I love dogs.”. This sentence should be replaced by: “I love cats.”.


What could cause touch to fail with this error message?  touch: cannot touch `foo': No such file or directory   Note that an error due to incorrect permissions looks different:  touch: cannot touch `foo': Permission denied


I want to plot a bar graph like below using pgfplot:    This is a hand drawn pic though. I want to show the change of r1 and r2 for a particular variable a. For a=5, r1 is measured at t1 and t2, also r2 is measured at t1 and t2. How can I show this in one plot? I know I can do this in two plots very smoothly. But I dont have enough space in my paper to plot two graphs. Any idea please.


I'm trying to configure a LAMP server. Actually I opted for Nginx but I guess it's irrelevant to the topic. The server is to be used as a wordpress host. I'm planning to use APC to fully cache pages (APC Object Cache Backend and Batcache plugins).  My question is not about the amount of RAM installed into a machine but about the proportion of RAM allocated to each component of the LAMP (or LEMP) server. I'm asking this because every article that I've found on memory configuration says the same:   allocate all available memory to <put the name of the component here>   I have the following components that compete for RAM:   Nginx php-fpm Percona MySQL APC   Something tells me letting these processes compete for the memory is a bad idea. They need to know their limits.  I understand that the actual memory allocation may depend on the website usage but is there a proportion for starters? For example, allocate 20% to MySQL, 40% to APC, 20% to php-fpm, leave the rest to the system?


Why does defaultTableModel undergo nullPointerException?

Why my defaultTableModel undergo nullPointerException?   private void jYearChooser1PropertyChange(java.beans.PropertyChangeEvent evt) {         try {             dtm.setRowCount(0);//NullPointerException             ArrayList<Salary> salaries = SalaryController.getSalaries(jYearChooser1.getYear(), jMonthChooser1.getMonth() + 1);             for (Salary salary : salaries) {                 Employee employee = EmployeeController.searchEmployee(salary.getEmployeeId());                 Object[] rawData = {salary.getEmployeeId(), employee.getFirstName() + " " + employee.getSecondName(), salary.getTotalEarnings(), salary.getTotalDeductions(), salary.getNetSalary()};                 dtm.addRow(rawData);             }         } catch (ClassNotFoundException | SQLException ex) {             Logger.getLogger(ViewSalary.class.getName()).log(Level.SEVERE, null, ex);         }      }


Trump “can dish it out, but he can’t take it”?

In  I can't understand the meaning of the phrase quoted from the journalist.     As one journalist noted, Trump – who sanctioned Russian firms but then phoned Putin about stabilizing oil prices – “can dish it out, but he can’t take it.” Iran, Venezuela and Cuba, however, have no such leverage.   I appreciate help with understanding the meaning here.


What caused Community ♦ to reject this particular edit suggestion?

When does the Community♦ "user" reject suggested edits? What was bad about this particular suggested edit, please?


How can I read a data from json separate file (f.e. 'data.json') in another file ('index.html') using javascript - in a simplest way ?  When I use it in the same file there is no problem:  data = '[{"name" : "Harry", "age" : "32"}]';             var j = JSON.parse(data);             document.getElementById('res').innerHTML = j[0].name;   But I cant manage to do that when I use external json file with:  '[{"name" : "Harry", "age" : "32"}]';   I'm looking for the SIMPLEST way (problably I'm missing some fundamental)


I wanna know how to add regions on a zen drupal 7 theme. I'm using the neptune sub-theme. I have altered the .info file. But i cant find the layout.css to adjust the region sizes.


Seeking topics to be mentioned in beginners guide on QGIS?

Currently I am compiling a FAQ for my company on QGis, since some people feel the need to work more with QGis. I am the person to go to, when some specific problems appear, but I see a need to give people something to consult with instead of letting them blunder along.  Currently I have the following topics in my FAQ (either already fully explained or at least with some notes):   Limits of QGis Terms & User Interface, e.g. layer & layer properties, vector vs. raster, CRS, tools, snapping,  Data types, as shape, dxf, kml/kmz, csv, images, qgis-style, project files, geopackage, wms important, reoccurring tasks/workflows, as georeferencing, manipulating attribute tables, geometry validity, clip, dissolve, buffer, creating geometries   I also try to include all tricks I use regularly or built for others in my company, like automatically adding attributes to a newly created feature, or trying to determine if a polygon is about the desired size.


A right circular cone has a depth of 103 mm and a top  diameter of 82.4 mm. The cone contains water to a depth of 30.0 mm. How many more  millilitres of liquid need to be added in order to fill the cup?   I'm not sure where to start for this question. Could someone help me please?


How to install LAMP server in Ubuntu 16.04 and add www document root to user's home?


Symbol for the cardinality of the continuum

The usual symbol for the cardinality of the continuum (i.e. the real numbers) is Fraktur $\mathfrak{c}$. However, I recall some sources also using $\aleph$ (with no subscript). This usage is not mentioned in Wikipedia or Mathworld, but I found some support for it over Google.  Is the $\aleph$ notation standard?


Show that $\displaystyle{n!=1+\left(1-\frac1{1!}\right)n+\left(1-\frac1{1!}+\frac1{2!}\right)n(n-1)+\cdots}$. I can't figure out how this can be solved. I tried to use the binomial theorem but I couldn't prove it. Any help will be greatly appreciated.


Update to latest version of java after ppa is discontinued

I have been trying to install the latest version of java-8. However, I found out that the  due to changes in the java licence.  How should I update my java to 8.0_201 or 8.0_211 now?  Thanks!


What information does Hidden State and Cell State carry? Do they carry the summary of the input sequence or what?


How can it be shown that $$Aut(\mathbb{C})=\{f|f(z)=az+b,a\neq 0\},$$ where an automorphism of $\mathbb{C}$ is defined as a bijective entire function with entire inverse?  If $f$ is of the form $f(z)=az+b$, with $a\neq 0$, then obviously $f$ is in $Aut(\mathbb{C})$. How can I prove the converse?


Full Transaction Log on closed source system

I have a closed source application which has the transaction log filling up on a daily basis to 60+gigs.   I have ran a trace on the database and no inserts and updates are occurring. The following statement though is being executed THOUSANDS of times per minute which doesn't seem right.  set transaction isolation level read uncommitted   If this is not the cause of the issue, is there anything else I can do to find the cause of this issue without turning off full backups as its required.  Thanks


Lewis Namier once remarked:     Although we know that most men's actions are conditioned by factors other than reason, in practice we have to assume their rational character.   Does Namier’s assumption of the ‘rational character’ of action hold for the moderators of SE forums? My impression is that once an individual is granted SE moderator status, they have the unilateral ability to interpret and determine the underlying meaning, tone and manner of all comment threads (this matters only when threads become fractious).    Are moderators immune from justifiable accusations of procedural browbeating, bullying and goading of lower status participants?  What functions are in place that act as checks and balances on the arbitrary exercise of moderator power?


Will the limit as x approaches infinity of a polynomial over an exponential ever tend to infinity? I know the limit as x approaches infinity of x^2/e^x tends to 0, but will we ever be able to generate a power to the x large enough that it dominates over the exponential and doesn't tend to 0?


How to solve Chrome page jumps when scrolling after click?

I'm using Chrome Version 51.0.2704.106 (64-bit) on Ubuntu 16.04 64bit on HP ZBook 15.  On any web page, when I scroll down (using the 2 finger scroll touchpad) click on any place on the page and try continuing scrolling downwards, the page jumps to the beginning.  Any idea how to solve this?  Found related .  Doesn't reproduce on Firefox.  Doesn't reproduce using an external mouse.


How to run bash script only if passed a day?

I'd like to run my script often (not by cron but manually) but some slow parts like apt-get update && apt-get -y upgrade should be run max once per day.  I think to save last execution time in /tmp/last_update.txt and check if it's more than now - 86400 but cannot understand how to make it nice with bash.  Cron is not accepted - it's dangerous to run these actions without checking application after that. Also during these tasks app is unstable and no need to run it every day - only when running script manually (deploying an app) but not more often than once per day.  Example:  some-fast-command-1  if [ not-run-command-2-for-24h ]; then     some-slow-command-that-makes-app-unstable      date > /tmp/last-run-command-2 # save last run time somehow fi  some-fast-command-3   How to write not-run-command-2-for-24h condition the bash way?  In PHP I'd done something like  <?php $filename = '/tmp/last-run-command-2'; $needRun = (!is_file($filename) && time() > file_get_contents($filename) + 86400); if ($needRun) {     run();     file_put_contents($filename, time()); }


the concept of too broad, primarily opinion violation

tl; dr: I was offended by 2 questions that got closed and reopened multiple times  and . Both of these questions got lots of downvotes, then got closed, then reopened, then upvoted, and so on. So, I wanted to understand the concept. Theoretically: every question has an answer, somewhere on the Internet, the point is: what keywords should you use to fetch the answer. Therefore: Broad questions are naturally hard to search on google, since most of time they are entry level questions of someone who has no clue what he's asking. That's what a Q&A site is there for (answer his question with a set of keywords, high quality links, books or whatever would help him start digging deeper and understand more about the topic). In short, I think "off topic - too broad, primarily opinion based, poll question" is plaguing Stack Overflow: while questions like "how to slice an array in php?" are accepted, broad questions like "how can i become a professional php programmer" are closed and banned. Let me clear this, the concept of asking in a Q&A website is to find an answer for a question that you could not find an answer for it on Google due to the difficulty of specifying an exact set of keywords that would return a high quality specific answers. How to handle broad questions?  "you're asking about something called data modeling, try to google it" "you can try googling Keywords like: ER DATA model, or XXXX in wonder land "this book will allow you to understand" "to summarize this broad questions google XXXX key words, and here is a short intro ..."  So, don't you agree that providing a service of answering google-hard questions is of a greater value than answering a specific question that is 99% exists in the documentation and  you can get 1 million correct high quality specific answer for it just by googling your question title? After all, if you cannot summarize an answer, then you don't have to answer it. A 1000+ pages book usually contain an excerpt of 1-2 paragraphs that allows the reader to understand the book. So, if you think a question is too broad. then so is the 1000 page book, yet author was able to introduce you to the answer in couple paragraphs. Let someone with better understanding, experience and higher IQ do it! Thanks


============================================================================  Error executing action run on resource 'execute[drupal-make-drush-install]     ============================================================================  Mixlib::ShellOut::ShellCommandFailed    Expected process to exit with [0], but received '2'    ---- Begin output of composer global require drush/drush:dev-master ----    STDOUT:    STDERR: Changed current directory to /root/.composer    ./composer.json has been created    Loading composer repositories with package information    Updating dependencies (including require-dev)    Your requirements could not be resolved to an installable set of packages.   Problem 1    - Installation request for drush/drush dev-master -> satisfiable by drus   /drush[dev-master].        - drush/drush dev-master requires php >=5.5.0 -> your PHP version (5.4.1 ) does not satisfy that requirement.  Installation failed, deleting ./composer.json.    ---- End output of composer global require drush/drush:dev-master ----    Ran composer global require drush/drush:dev-master returned 2  The available php-cli package version for centos is 5.4.16 so which version of drush should I install?


What I got figured out is that I should pair up $\frac{(-1)^{n}}{3^{n}}$ giving me $\sum_{n=1}^{\infty} (\frac{1}{3})^{n}(-2n-1)$. I know that the first part converges to $\frac{3}{4}$, but the other part is divergent. How should I proceed?


In every picture we see that galaxies are spiral, why so? are there any other shapes possible?


I am new to SQL Server, can someone help me what is the significance of @ notation followed by name of variable? Like @OrderId ?


How to remove a Windows installation if you have two on your computer?

I have two Windows operating systems installed on my computer. One is Windows 7 or Vista and the other one is Windows 10.  I want to keep Windows 10 and remove the other one. How do I do this?


Restarting a game be resetting an object

In a game I made, I want to restart the game when the players presses a button.  I have an instance of a Game class, which is where most of the game happens.  I though that I could simply initialize it again, and it will be reset.  Game game = new Game(); - When the program launches. game = new Game(); - When restarting the game.  But the game uses a lot of additional classes, such as Tank and Missile. Do I have to initialize all of them too, or is initializing the Game class, which will create new Tank objects and Missile objects (with the same reference names as the previous Game instance), enough?  In general, what would be the best way to reset a game or a level in a game?  Thanks


I have qtsixa installed but it is no longer of use to me. I didn't use apt-get so I can't remove it using that. any way to remove it?


I am new to salesforce and I followed instructions as per salesforce trailhead,    Access token got generated but, when I hit the url error occurs as,  "message":"Session expired or invalid","errorCode":"INVALID_SESSION_ID"}]curl: (6) Could not resolve host: Bearer.  But data is fetched successfully when I  try getting data through workbench.


Why is my Microsoft Word window always on top of other windows?

For one reason or another, my Word suddenly decided to stay always on top of all other windows. This is terribly annoying. The odd thing is: of three documents I have open, two are on top of everything else, and one behaves normal.  I found one . I wonder whether this is a known bug and whether there's a workaround. Sometimes closing all windows helps, but later the behavior creeps back. Other Office products don't seem to show this behavior.  I'm using Microsoft Office Professional Plus 2010, 14.0.4760.1000 (64 bit).


I'm building a web site that will allow users to upload photos. For design and layout purposes, I need to know the most common aspect ratios users will upload. What is the most common aspect ratio of photos (e.g from dSLR, smart phones, etc.)?


Can I install Ubuntu on a separate HDD to my Windows installation?

My Windows installation is on C drive, and I want to install a new Ubuntu installation on D drive. I have some downloads on my D drive like anime and stuff (nothing directly relating to the windows installation).   Is it possible?  I've been googling everywhere but the forums are down and I'm a complete newbie. Keep in mind I would rather not format my D drive but if it comes down to it I can. Both drives have 300GiB free space. Even if you forward me onto another site any help would be greatly appreciated!!


Wrong multicolumn alignment: it changes with the length of the title

I'm experiencing a weird issue with a simple table with a multicolumn. If the title of the multicolumn is short enough, the three subcolumns are correctly aligned, otherwise, they get strangely arranged.  Here's the code and the results. Thanks in advance!  \documentclass[a4paper,11pt]{book} \usepackage{caption,booktabs,multirow} \begin{document} \begin{table}[!h] \centering \begin{tabular}{ccccccc}     \toprule     \toprule     \multirow{2}*{\textbf{Layer}} & \textbf{Radius} & \multirow{2}*{\#\textbf{Ladders}} & \multicolumn{3}{c}{\textbf{Sensors}} & \multirow{2}*{\textbf{APV25/Sensor}} \\      & (mm) & & S & L & T & \\     \midrule      3 & 38 & 7 & 2 & 0 & 0 & 12\\     4 & 80 & 10 & 0 & 2 & 1 & 12\\     5 & 115 & 12 & 0 & 3 & 1 & 12\\     6 & 140 & 16 & 0 & 4 & 1 & 12\\     \bottomrule \end{tabular}  \caption{Geometrical parameters of the SVD. S, L, and T stands for small, large, and trapezoidal sensors. The numbering scheme treats the PXD and the SVD as an only object, hence the layer numbers 1 and 2 are taken by the two PXD layers.} \label{Belle2_SVD_Table} \end{table} \end{document}


What's up with the white knight in the forest of the lost giants?

Relatively early in the forest of the lost giants you climb up a ladder and there sits a white knight beneath a tree. He looks like an NPC, he does not attack or react in any way, but there is also no talk-prompt for me to use. What's up with this guy?


My data is in the form: [{'value': 2, 'year': u'2015'}, {'value': 4, 'year': u'2016'}, {'value': 3, 'year': u'2018'}, {'value': 0, 'year': u'2014'}, {'value': 0, 'year': u'2017'}]  I want to sort it by year. Can you please help?


Minipage: 2 tables side by side isn't working

I have the following code to layout two tables side by side:  \begin{minipage}{0.3\textwidth} \begin{tabular}{c | c | c | c | c | c | c} F & D & E & G & P & A & L\\ \hline C & H & I & I & U & G & F\\ \hline G & Z & G & A & F & Z & U\\ \hline F & R & \textbf{H} & \textbf{A} & \textbf{U} & \textbf{S} & Z\\ \hline R & P & L & I & N & F & H\\ \hline L & U & G & I & A & C & T\\ \hline A & B & D & N & E & R & Z\\ \end{tabular}  \end{minipage}  \begin{minipage}{0.3\textwidth} \begin{tabular}{c | c | c | c | c | c | c} F & D & E & G & P & A & L\\ \hline C & H & I & I & U & G & F\\ \hline G & Z & G & A & F & Z & U\\ \hline F & R & \textbf{H} & \textbf{A} & \textbf{U} & \textbf{S} & Z\\ \hline R & P & L & I & N & F & H\\ \hline L & U & G & I & A & C & T\\ \hline A & B & D & N & E & R & Z\\ \end{tabular}  \end{minipage}   But it doesn't work. The tables are one below the other. What am I doing wrong?


Why did the Fidelius Charm on the Potters' house break?

When Harry and Hermione visit Godric's Hollow, Harry wonders something I find rather silly:     ... they passed more cottages: any one of them might have been the one in which James and Lily had once lived...He was not  even sure whether he would be able to see the cottage at all; he did not know what happened when the subjects of a Fidelius Charm died.   Harry was a living subject of the charm, and arguably the primary one.  As such, the charm still should be in effect And if anyone at all could see the house it would be him.  Then they actually find the house:     He could see it; the Fidelius Charm must have died with James and Lily.   I think that's a poor conclusion for the aforementioned reasons. But Hermione could see it, along with the wizards who put up and signed the sign.  The secret-keeper was still alive, so the secret didn't leak out via secondary keepers.  So why did the charm break?


I was messing around with Compiz Settings Manager and result of that is that I cant see my panel bar, cant use alt+tab or start button. Is there a way to restore default Ubuntu environment? I will be grateful for your help


How to check my array is single array or multi array (arrays inside array) in PHP?

I have two type of array.  First type    $arr = [1,2,3];   Second type  $arr = [[1,2,3],[4,5,6],[7,8,9]];   How to check that my array is single or multi array.  I am using below code which is always giving me as Multi Array   if(is_array($arr)){       echo "Multi Array";   } else{       echo "SingleArray";   }


How long can I go without exhaustion on 10 days' rations?

The rules for exhaustion from starvation are given in the  (and PHB) as:     A character needs one pound of food per day and can make food last   longer by subsisting on half rations. Eating half a pound of food in a   day counts as half a day without food.      A character can go without food for a number of days equal to 3 + his   or her Constitution modifier (minimum 1). At the end of each day   beyond that limit, a character automatically suffers one level of   exhaustion. A normal day of eating resets the count of days without   food to zero.   The second paragraph strikes me as odd, because it seems to imply that a creature with a reasonable Constitution modifier can make their rations last longer by alternately starving themselves for several days and then eating a full day's rations.1 Perhaps there are more elaborate strategies that might last even longer.   So, given the above rules and assuming I have a Constitution modifier of +0, what is the longest I can go on 10 days' rations without taking a level of exhaustion from lack of food, and what is the rationing strategy to achieve this? Assume that I have no other food source besides these rations, but my other needs (e.g. thirst) are taken care of, so making these rations last is my only concern.    1 On the other hand, maybe this isn't so odd, given that in real life, humans are evolved for survival in conditions of alternating feast and famine.


why does a ray, parallel to the principle axis, intersect the principal axis at half the radius of curvature, i.e. focus?   EDIT  I was taught that in a spherical concave mirror, the rays parallel to the principle axis always converge at $f$, which is at $\frac{r}{2}$, but I found something like this in GeoGebra :    I think to be converging at a single point, the mirror has to be parabolic, as Olin and Floris said. Or rather it should be called paraboloid mirror. Now, why is the focus of paraboloid mirror half of radius of curvature?


Let say $a_0, a_1, ..., a_k$ are a series of positive integers, with $k > 0$, if one of the number has irrational square root, $\sqrt{a_n}$, such as $\sqrt{2}$, or $\sqrt{3}$, there is not way we can find a series of $a_0, ..., a_k$ to make  $$\sqrt{a_0}+ \sqrt{a_1} + \sqrt{a_2}+ ... + \sqrt{a_k}$$ is an integer.  Is this assumption correct? Is there a theorem for this? Thanks.


Does this series converge or diverge? $$\sum_{k=1}^{\infty}\ln(\frac{k}{k+1})$$   my thought is that, I can break it down to $$\sum_{k=1}^{\infty}\ln(k) - \sum_{k=1}^{\infty}\ln(k+1)$$ then maybe using comparison test or something? But I don't know exactly how to prove whether this series converges or diverges.  Any help would be appreciated!


Prime ideals in $R[x]$ that intersects $R$ trivially

We have that $R$ is a UFD. Now, I'm trying to show that any prime ideal $P$ of $R[x]$ that intersects $R$ trivially is a principal ideal.   I'm trying to show that P has height $1.$ Is this true that P has height $1$? But I cannot prove this. If that is the case, then I can easily prove that P is in fact a principal ideal. Any suggestions would be highly appreciated. Thank you.


I am confused on the following series: $$\sum\limits_{n=1}^{\infty}\frac{1}{n(n+1)} = 1$$ My calculator reveals that the answer found when evaluating this series is 1. However, I am not sure how it arrives at this conclusion. I understand that partial fractions will be used to create the following equation. I just don't understand how to proceed with the problem. $$\sum\limits_{n=1}^{\infty}\left(\frac{1}{n}-\frac{1}{n+1}\right) = 1$$


I have a question about any kind of.  Results can be applied to any kinds of drawing or texturing applications   In the sentence above, should I use any kind of applications or any kinds of applications?  I checked the Internet and everyone on the web goes for any kind of; however, all the examples include uncountable words. But, in my case, because of referring a computer software, application is countable and because of using any, it should be plural, I guess.  So, basically, is it always any kind of or if the word is countable and plural, can I use any kinds of?  Thank you in advance!


Which package should I install to have the `fullpage.sty' file?

I am having the following error:      File `fullpage.sty' not found.   Which package should I install? Or more general question: when some file is missing, how should I find the right package?


I have an error in logcat   java.lang.NullPointerException: Attempt to invoke virtual method 'android.view.View android.view.View.findViewById(int)' on a null object reference   Trying to view a picture in the list make a class for this code i think the error in the method View getView but i do not know where it is exactly i think may be here in the definition of thumbNail   public class useradaptor extends BaseAdapter {                private Activity activity;              private LayoutInflater inflater;              private List<user> userItems;  ImageLoader imageLoader = AppController.getInstance().getImageLoader();  public useradaptor(Activity activity, List<user> userItems) {     this.activity = activity;     this.userItems = userItems; }  @Override public int getCount() {     return userItems.size(); }  @Override public Object getItem(int location) {     return userItems.get(location); }  @Override public long getItemId(int position) {     return position; }  @Override public View getView(int position, View convertView, ViewGroup parent) {      user u = userItems.get(position);     if (imageLoader == null)         imageLoader = AppController.getInstance().getImageLoader();     NetworkImageView thumbNail = (NetworkImageView) convertView.findViewById(R.id.imageview);     thumbNail.setImageUrl(u.getPicture(), imageLoader);      Cache cache = AppController.getInstance().getRequestQueue().getCache();     Cache.Entry entry = cache.get(u.getPicture());     if(entry != null){         try {             String data = new String(entry.data, "UTF-8");             // handle data, like converting it to xml, json, bitmap etc.,         } catch (UnsupportedEncodingException e) {             e.printStackTrace();         }     }else{         // cached response doesn't exists. Make a network call here     }     return convertView;   } }


I am designing a website using bootstrap with a 100% height and 100% width image at the first page. Now I added some text and two buttons above the image and want to horizontal and vertical align. I found several solutions for this here on Stackoverflow. But sadly none of them worked in my case (only the horizontal center worked). So here is my code, I hope you guys can find a solution...    #Startseite {  background: url(http://qnimate.com/wp-content/uploads/2014/03/images2.jpg) no-repeat center center fixed;   width: 100%;  position: relative;  height: 100%;  background-size: cover;  text-align: center;  display: table;  vertical-align: middle; } .CentermiddleStart {   display: inline-block; } #Startseite #button-right{     text-align: right; } #Startseite #button-left{     text-align: left; }    <meta name="viewport" content="width=device-width, initial-scale=1">     <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">

Header

Subheader

     Get started

     Get started

      So the image should be full size of the view and the buttons and text centered


In Belgium fries are super popular. They taste really amazing and are very different than the common American french fry. My question is, what is the secret to replicate a Belgian style french fry. They have a perfectly crispy golden shell, about 1inch wide, 1/3 inch thick, soft on the inside and totally different than your average American style french fry.


typeof(int).Name   Will return System.Int32 does anyone know of a way to return "int"


Anime series between 2000-2010 with monsters, military and crystals

I'm trying to remember the name of a series that aired between 2000-2010 and had a style very much like "Children who chase lost voices". There were monsters in the series, people who became crystalized and the military using the crystalization to create weapons. What I most remember was the visual style, that was really similar to the movie that I mentioned. The series was in Japanese.  I remember that the climax of the series was the discovery that some large monster the military wanted to use was actually a kid.


How can I prevent data theft from a company?  Are there any solutions to this problem?  Is there any software that encrypts important data (.doc, .xls, etc.) and prevents it from copying?  I need a solution where employees can read/write documents but can not copy then to a USB drive or e-mail them.


Deleted Ubuntu, then Windows 7 , now Windows is not booting from cd

I installed a dual operating system (Ubuntu 9 and Windows 7). Unknowingly I deleted Ubuntu partition. Then there comes the grub rescue error.  After that I again installed Ubuntu from live cd and during installation erased the Windows 7 partition from my hard disk.   Now I am trying to install Windows 7 but it doesn't boot.   This time I have only Ubuntu installed on my laptop. I want to remove all this Ubuntu etc and I want to install Windows 7 only.


Euler Lagrange equation of $J[y]=\int_0^1 (yy')^2dx$ subject to the constraint $\int_0^1 y^2 dx =3$

Among all the admissible functions $y = y(x)$, find those that extremise the functional   $$J[y] = \int_0^1 (yy')^2dx$$    subject to the constraint $\int_0^1 y^2 dx =3$ and the boundary conditions $y(0)=1, y(1)=2$.   Am I correct in saying denoting $F=(yy')^2 + \lambda y^2$. Thus the extrema corresponding to this problem are the extrema for the functional, $$J[y] =\int_0^1 F dx$$ and therefore they are solutions of the Euler-Lagrange equation $$\lambda y -y^2y''-(yy')^2=0.$$ Could some clarify whether my Euler-Lagrange equation is correct. I am pretty confused as to where to go from here. Any help would be grand.


Best place for placement of error messages on a form (both generic and specific)

I'm working on a simple registration form which, when invalid data is entered, will display both a generic error (e.g: "There is an error on your form") and also specific errors (e.g: "This is not a real email address").  The specific errors will be placed next to the relevant input field, but I'm wondering where best to put the generic message, at the top of the form or at the bottom next to the submit button.  My thinking for placing it at the top is as follows...   Broad content (generic message) will drill down to specific content (messages). Screen readers will be told right at the start of the form that there's been a problem, rather than having to go through the whole form again (if it's at the bottom, they won't know there's an error message there until they get to it) Having a generic message at the bottom seems a bit pointless if the user has already gone back through the form and acted on the specific messages (especially relevant for screen readers) If the page increases in size (likely as more fields may be added), submitting the form would trigger a page reload, causing the generic message to drop below the fold.   On the other hand, placing it at the bottom would...   Maintain the practice of having the error in close proximity to the relevant input (in this case, the submit). Potentially be easier for visual users to orientate themselves, as the last thing they would be fixated on would have been the submit, so placing the message next to it would require less scanning on their part.


Does exist a combinatorial proof for the following two identities ?    $\sum_{k = 0}^{n}  \binom{x+k}{k} = \binom{x+n+1}{n}$ $\sum_{k = 0}^{n}  k\binom{n}{k} = n2^{n-1}$    I know how to derive the identites from $(1+x)^n$ , but I am searching for a combinatorial proof ?


Dropped Index during Database Engine Tuning Advisor

I was analyzing a query using "Database Engine Tuning Advisor". During this time the database started to get blocking, long running queries and ended by restarted the instance. When I checked after that I found a few drop index commands had been executed.  drop index [dbo].[Profile].[_dta_index_Profile_7_1563152614__K15_K1]   Why did this happen? The query I was tuning was not on profile table!  How can I check if this index was already in the system before or was created during the analysis?


How to target different countries using same URL?

We are based in India Digital Marketing company , we want to target us, uk, middle east countries with the same website, language is English. How to tell to robots this from sitemap?


Choosing Distance function and Linkage in hierarchical clustering

I'm using Hierarchical Clustering Package in Mathematica to analyse the set of experimental data (each experimental point has about 10 parameters). There are a lot of options for Distance function and Linkage in this Package. I used  EuclideanDistance and Median for Linkage (and I have satisfying results, that fits well with our expectations), but the question is how rationally choose Distance function and Linkage? And if using different Distance function and Linkage gives different clustering is it means that the clustering is not reliable for our dataset? Or if it works just for EuclideanDistance is fine? In which cases clustering is not depend on Distance function and Linkage? And what conclusion could be made if it does?


Windows 7 renaming account name to a new name, still shows old name

In windows 7, I have tried to do the following, in order to rename my account name to a new name:  control panel -> account details -> rename to a new name regedit -> rename everything containing my old name to the new name C:\Users -> rename the folder from old name to new name reboot  However, I receive some errors sometimes when trying to edit/delete files, saying "you need -old name- administration permission to modify/delete this file" and it won't let me do it in any way. If I reboot the system, I can then modify/delete the file and the permission error is gone. Also in task manager, I can see all processes are running with old name under "User Name" column. What did I miss there?


What are best practices for managing SSH keys in a team?

I work with small teams (<10) of developers and admins with the following characteristics:   Most members of the team have >1 personal computer, most of which are portable Team members have access to 10-50 servers, usually with sudo   I think this is pretty typical for most startups and small- to mid-size corporate IT groups.  What are the best practices for managing SSH keys in a team like this?  Should you share a single key for the whole team?  Should each person have their own key on a shared account ("ubuntu" on every server)?  Separate accounts?  Should each team member keep a separate key for each of their laptop or desktop computers?


I've heard from some of my teachers it's a bilineal form and some other stuff, nobody actually ever explained me the reason of it. Of course i've done practical problems in which $dx$ is a "very small part of somethign", but what can we say about it in some "higher grade" notes?


How to solve infinite series $\sum_{n=0}^\infty\frac{n}{2^{(n+1)}}$?

Can anyone please help me solve an infinite series:  $$\sum_{n=0}^{\infty} \frac{n}{2^{(n+1)}}$$  I put it in Wolfram Alpha and got the result that it converges to $1$  I know that the infinite series:  $$\sum_{n=1}^{\infty} \frac{1}{2^{n}}$$  Converges to $1$.  But my series is quite different as it has an additional $n$ term multiplied in, and I can't quite see how to solve it to arrive at result $1$.


Proximal Operator Fixed Point Property for Matrices

$\newcommand{\prox}{\operatorname{prox}}$ $\newcommand{\argmin}{\operatorname{argmin}}$ $\newcommand{\dom}{\operatorname{dom}}$  Recall again that the proximal operator for vectors $\prox_{f}: R^n \rightarrow R^n$ of $f$ is defined as:  $\prox_f(v) := \argmin_{x} \left(f(x) +(1/2)\|x-v\|_2^2 \right) $,  where $f: R^n \rightarrow R \cup \infty$ is a closed proper convex function and $\|\cdot \|_2$ is the Euclidean norm. $\prox$ is strongly convex and not everywhere infinite, so there it will have a unique minimizer for every $v \in R^n$  The crucial property of proximal operator is that $x^*$ minimizes $f(x)$ iff $x^* = \prox_f(x^*)$, i.e. $x^*$ is a fixed point of $\prox_f$.  Let us consider the proof of this property. The first part, namely, that if $x^*$ minimizes $f$ then $\prox_f(x^*)=x^*$, is trivial:  $f(x) +(1/2)\|x-x^*\|_2^2 \le f(x^*) = f(x^*) +(1/2)\|x^*-x^*\|_2^2$  The second part uses the notion of subdifferential. In the proof authors say that $\tilde{x}$ minimizes  $f(x) +(1/2)\|x-v\|_2^2$  i.e. $\tilde{x} = \prox_f(v)$ iff $0 \in \partial f(\tilde{x}) + (\tilde{x}-v)$,   where the sum is of a set and a point. Recall the definition of the subdifferential:  $\partial f(x) = \{ y$ |  $ f(z)\le f(x) + y^T(z-x)$ $\forall z \in \dom{f}\}$  Take $\tilde{x}=v=x^*$, it follows that $0 \in \partial f(x^*)$ so $x^*$ minimizes $f$.  Question 1:  Consider proximal operator defined for matrices now:  $\prox_f(Y) := \argmin_{X} \left(f(X) +(1/2)\|X-Y\|^2 \right)$,  where $X$ is some real $m$ by $n$ matrix. What norm function should be taken in the definition of the $\prox$ in this case? Frobenius? Or spectral norm (induced 2nd norm) which is the largest eigenvalue (is spectral norm even differentiable?)? Or something else?  Question 2:   Can the norm for the definition of $\prox$ in case of matrices be chosen in different ways? What conditions does the proof above impose on the norm function?


Select dynamically created elements which have the same class name

I have multiple divs(containing input fiels with some unique id in each) which were created dynamically by ejs so they all contain same class name.  I want to make ajax call from only that one div's form(matching the unique id) using jquery. How can i do that?   I found lots of similar questions on google but not what i am looking for. Also before you mark this for duplicate, atleast help me with this.  This is my code:   In ejs:   <% elements.forEach(e => { %>   <input class="uniqId" value="<%=e.id%>">   <button type="button" class="btn"> <% }) %> //looping through all the data i have and storing unique value in input field   In the javascript/jquery part:  $('.btn').on('click', () => {     $('input.uniqId').val();      //and then i want to perform ajax call from that specific input field data(the one whose button i clicked) });


When do we not put a comma before "because"?

In what situation do you put a comma before "because"?   And, when do you not put a comma before "because"?   I've always assumed that you put a comma, because the clause introduced by "because" will always be independent, because it cannot stand on its own, because it wouldn't make sense on its own.   Is this the case? Could you think of an example where it doesn't take a comma?


Hide checkbox column and color some rows of lightning-datatable

I have data of customers and their numbers. I want to show it in dataTable. Additionally, I am trying to color those rows whose numbers are invalid and also disable the checkbox for that row. I have stored 'invalid-number' in the column:'valid' of the Customer objects for those records. First, I have tried to hide checkbox for those records by writing following code:  <lightning:datatable data="{! v.CustomerList }" class="slds-m-top_medium"     columns="{! v.columns }"      keyField="id"     hideCheckboxColumn="{!valid == 'invalid-number'}"     onrowselection="{! c.getSelectedName }"/>      But this code is not working for me and also I need pointers for coloring these rows with invalid numbers.


VLC not able to be install via apt because some 'libgles1' problem, how to fix it?

After using my package manager to install VLC   apt-get install vlc   I get this message  root@DerPCmitDerGtx1050:/home/gtx1050# apt-get install  vlc Reading package lists... Done Building dependency tree        Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:  The following packages have unmet dependencies:  vlc : Depends: libgles1-mesa (>= 7.8.1) but it is not going to be installed or             libgles1 E: Unable to correct problems, you have held broken packages.


How print the latex commands in document with line numbers in a coloured box

I want to write the latex commands in the document ina coloured box with line numbers. Much like in here the latex commands display in a gray coloured box. I want that with line numbers. And also i want not be limited in grey colour. I want to use my own colur combination. And the line numbers would in different coloured box and the commands should be in a different coloured  box. It is not needed to separate the lines with an horizontal line.


Why can't I edit attribute table imported through 'text as layer'

I imported the coordinates from an Excel table. They show as single points as intended. Now I want to add columns to the attribute table, but I'm not able to edit it. I wanted to import the following columns from Excel as well, but that doesn't seem to work either.  Sorry for the noob-question, but I couldn't find anything relating the theme through google and such.  Ok, with pictures then: I want to use that to add columns with information to these       You see, the small pensil thingy is greyed out, so I can't edit anything in this layer and I can't add any information to my points.  If I try Ale suggestion I get this error:


How to pass command line arguments to a Blender Python script?

Let's say we have a Python script my_script.py that does some data processing with Blender. This script accepts some arguments (e.g. arg1 arg2). How can I forward arguments to the script when using it with the CLI?  blender --background --python my_script.py   The only trick I could find was :  echo "arg1 arg2" > my_input.txt && blender --background --python my_script.py   Is this really the only way to do that?  Update  I found a  on Stack Overflow.


Last day of next month date timestamp in PHP?

I'm using the following function to get the current timestamp:  $created_timestamp = date("Y-m-d H:i:s");   But how do I get a timestamp for the last day of next month. So for example, if it is the 15th of September to get the 31st of October. Including all the hours, minutes and seconds as well?


On  it is written:      A GCD domain is an integral domain $R$ with the property that any two non-zero elements have a greatest common divisor (GCD). Equivalently, any two non-zero elements of $R$ have a least common multiple (LCM).   How to prove last statement that is equivalence of GCD and LCM for all elements? (I am able to prove in Bezout ring but I am not able to prove in general GCD ring.)  Does the existence of gcd of two elements implies existence of lcm and conversely in any integral domain?


Please make top bar auto-expand on hover

I see here a lot and lot of comments that now some things are one click further away than they used to be. And at the same time I see there will be no rolling back. And I don't really care who is right, but I think I might have an idea for small compromise:  Could you maybe make a top bar auto-expand it's goodies on mouse over? I mean, when someone holds a mouse over inbox icon, why not to show that inbox, without additional click? That way things will suddenly be one click closer, as many users seem to want, without any changes to top bar's look.  Of course they should auto-hide when mouse is taken away, unless they were clicked to open - then they should stay. And auto-expand should be suspended if other piece is click-expanded. And if user clicks hover-opened icon, it should not close, it should count as click-opened now. In other words, click-open should continue to work, and should take precedence over hover. That way clicking would continue to work as it works now, and tablet users will see no difference.  The delay before displaying elements should be as short as conveniently possible. Probably like the one used to . But it should also work OK with no delay at all. That's not the point of this request.


In Martin's A Game of Thrones Bran is attacked by a person by a Valyrian blade but fails and gets killed by Bran's direwolf. But in this or any other novel of this series it is never cleared who planned the murder. Who actually ordered to kill Bran? Have I missed anything so that I don't know?


Branch starting not from bark using hair particle system

I am new at blender and I ran into a problem creating a tree using particle system hairs. I tried following a tutorial which shows how to make branches separetly (I creatied them from images in another layer, made them into a group) and use them when making a tree's branches. I have done it. Problem is that my branches don't start from the bark, their middle is on the bark, their start is on the other side of the bark. I don't know how to explain, so this is how it looks like:   And this is how I would like it to be (I photoshoped it):   So can you please tell me what to do to achieve what I want or maybe how to make a tree in another way? The reason why I have chose this kind of making of a tree is because I will you it in a game and I need it to have as few faces as possible.


Prove that: $\frac {2sin x}{cos 3x}+ ...$

Prove that: $$\frac {2\sin x}{\cos 3x}+\frac {2\sin 3x}{\cos 9x}+\frac {2\sin 9x}{\cos 27x}=\tan 27x - \tan x$$  My Work,  If we multiply the numerator and denominator of first, second and third term of left hand side by $\cos x$, $\cos 3x$ and $\cos 9x$ respectively and further use the compound angle formula, then we get RHS. But, I want to know if there is any other alternative solution to this problem??


Limit of $\frac{\sin(x+y)}{x+y}$ as $(x,y) \to (0,0)$

I want to prove that $\lim_{(x,y)\to (0,0)} \frac{\sin(x+y)}{x+y} = 1$  Is it sufficient to say that if $u = x+y$ then as $(x,y) \rightarrow (0,0)$ then $u \rightarrow 0$ and then evaluate $\lim_{u\to 0} \frac{\sin u}{u}$ which is 1 by L'Hôpital's rule?  I feel that this is somehow "cheating" and I would really like to prove it in a more rigorous way, i.e., by using an $\epsilon$ - $\delta$ argument.  I have tried for a long time to use the one variable version and prove that if $0 \lt \sqrt{x^2 + y^2} \lt \delta$ then somehow $0 \lt |x+y| \lt \delta$ and it would follow from the one variable case that $| \frac{\sin(x+y)}{x+y} - 1| \lt \epsilon$. However, because $|x+y| = 0$ when $y = -x$ I am not getting anywhere with this.  Any input on this would be helpful :)


How to troubleshoot slow connection issues from SSMS?

I right click on a server in the Registered Servers pane and select New Query.  Sometimes (like 1 out of 3), it will just hang for 5-15 seconds with the Connect dialog (below).  Other times, it connects immediately. I thought this may have been a network issue, so I have ping running indefinitely just for comparison and the ping times are steady.  So it's not a network issue.  The servers themselves are not CPU pegged by any stretch of imagination. This problem occurs with all the SQL corporate boxes that I connect to during the day. All the SQL Server boxes are v2017, Enterprise edition, running on Windows 2016, which is running in a VMWare VM.  I am using SSMS 17.9.1. I am also running the Redgate SQL Prompt add-on v8.0.7.1917 in SSMS, but (from my testing) it seem to have any bearing on the connection times. How do I troubleshoot this issue?


Catan: Play any development card before rolling

In Settlers of Catan, I have always played that you can play a knight development card before your turn, which is obviously useful to get the robber off or your own hex before you roll the dice. Is this the same with all playable development cards? I have played lots of Catan but I have never raised this question with my friends before since I did not think there was any scenario in which it would be advantageous to play a different Development card before rolling.   However, consider this scenario:  I have 11 cards (6 ore, 4 wheat, 1 brick), 8 victory points, and the ability to build 2 cities next turn, giving me the victory. If I roll a 7, I will lose 5 cards, which will ruin my ability to build both cities and win on my turn. If, however, I play a Monopoly and take 8 arbitrary resources (say lumber), even if a 7 is rolled I will lose 9 resources but still be able to keep the 10 resources (4 wheat, 6 ore) necessary to build my cities and win.   Does anyone know if in situations like this it legal to play any playable development card prior to rolling?  Also, I still cannot see a benefit to playing a Road Building card prior to rolling. Anyone have any ideas?  Thanks!


Why does the pair $(c,d)\in\mathbb Z/N\mathbb Z$ always has a coprime lift?

If we know $c,d\in\mathbb Z/N\mathbb Z$ and $\gcd(c,d,N)=1$. How do we prove there always exist $k_1, k_2\in\mathbb Z$ such that $\gcd(c+k_1N, d+k_2N)=1$ ? It looks simple but I've been stuck for long. Thanks.


what is the value of i factorial using the complex number system?

what is the value of i factorial? "I" belongs to the complex number system. Thanks for helping me out with this problem.


Overview of basic results about images and preimages

Are there some good overviews of basic facts about images and inverse images of sets under functions?


In high school we studied the inheritance of eye color, as it was explained to us in the most simple way: blue eye color is a recessive, monogenic, autosomal trait. Now I know that it is a bit more complicated than that; there are several genes which determine the inheritance of eye color. That's as far as I my knowledge goes.   Which are these genes and what do they encode for? How is the eye color trait inherited? Provided that a man with blue eyes and a woman with brown eyes have a child, can the probability of their child to have blue eyes be calculated?


Is there a pejorative word for a super fan?

Is there a particular pejorative word for super fans?   People who follow a celebrity religiously no matter what, even if that celebrity does something terrible.  People who'll always try and defend that celebrity/famous person even when they know they are at wrong.


$|p(z)| \leq M$ for $|z| \leq 1$ Show that $|p(z)| \leq M|z|^n$ for $|z| \geq 1$

Let $p(z)= \sum_{k=0}^n a_k z^k$ ,  $a_n \neq 0$ , be a polynomial of degree $n$ such that $|p(z)| \leq M$ for $|z| \leq 1$.  Show that $|p(z)| \leq M|z|^n$ for $|z| \geq 1$  This was an exam question. Part (a) of this question asked the converse: if $|p(z)| \leq M|z|^n$ and $|z|$ is sufficiently large, then $p(z)$ is a polynomial. This question came straight out of Ahlfors' Complex Analysis, which I solved by showing, using the Cauchy Estimate,  $|p^n (z)|  \leq \frac{n!M|z|^k}{R^n} = 0$ as $R \to \infty$.   I would like to work backwards with this.   May I do this, or similar:   $p(z) = \frac{1}{2\pi i} \int_{c} \frac{f(\zeta)d\zeta}{\zeta-z}$  $\Rightarrow  |p(z)| \leq \frac{2\pi M|z|^n}{1(2\pi)}= M|z|^n$


How to create a bootable USB from a .iso file?

I am trying to create a bootable USB stick from a .iso image (it isn't a linux distro or anything of the sort) intended for use with a CD. I've tried UNetbootin and dd but they don't boot.


I wander why c++ allows to declare this?  void f(int x);  int main() {      int x;      const int y=0;      f(x);      f(y); }  void f(const int x) { }   Why compiler allows you declare function with one signature, but define with another (cv qualifier added)?


Disable printing of fonts/packages during compilation - from the compiled file

I just read this:    and I was wondering whether the same could be effected somehow from the .tex file being compile (probably you would want to do this before the \documentclass, or at least before all of the \usepackages).


show invertibility of linear transformations

My understanding of this part of linear algebra is somewhat clouded. I fail to see how these two problems are related and/or how to prove them:  1) Show that if $A$ is a linear transformation with $A^2 - A + 1 = 0$, then $A$ is invertible.  2) If $A$ and $B$ are linear transformations on the same vector space and $AB = 1$. Prove that if A has exactly one $right\space inverse\space B$, then A is invertible. (Consider $BA + B - 1$)    My Attempt:  1) Show that if $Ax = 0$, then $x$ must be $0$. i.e. $A^2 - A + 1 = 0$ implies $A^2 + 1 = A$, implies $(A^2 + 1)x = Ax$ imples $A(A(x)) + x = A(x)$ imples $A(0) + x = 0$. Since A is linear ($A(0) = 0$), $x = 0$.  2) No idea.


Prove if a discrete subset $E$ of $\mathbb{R}^n$ is compact, then it is finite.

Let $E\subseteq \mathbb{R}^n$ be a compact set and suppose that for each $x\in E$, there is an $r_x \gt 0$ such that $E \cap B_{r_x}(x) = \{x\}.$ Prove that $E$ is a finite set.  I am a bit confused as to what "finite" means here. Do I have to prove that $E$ is closed and bounded? This is giving me memories of the Heine-Borel Theorem. Am I on the right track?


All objects reflect some of the colours and then our eyes are able to see object of different colours. But when we see mirage in a desert then it seems that the sand of the desert is acting as a mirror. So what makes the sand a mirror in this case? Is this because the light reflected from an object when falls on the sand is also reflected back to our eyes from the sand ? What makes the sand to behave like a mirror? I know about total internal reflection but then what makes the sand to reflect so clear image of an object?


Let 𝑎,𝑏,𝑚 and 𝑛 be natural numbers , 𝑎>1, and suppose that 𝑎,𝑏 have no common factor. Prove that $(𝑎^𝑛 + 𝑏^𝑛)|(𝑎^𝑚+𝑏^𝑚)\implies 𝑛|𝑚 $

Let $𝑎,𝑏,𝑚$ and $𝑛$ be natural numbers, $𝑎>1$ and suppose that $𝑎,𝑏$ have no common factor.  Prove that:  If $(𝑎^𝑛+𝑏^𝑛)|(𝑎^𝑚+𝑏^𝑚)$ then $𝑛|𝑚$


Some months ago I was asking for ideas in order to do a displacement model of a lost person with GIS. This model would represent the displacement of a person by a terrain with some costs paramethers like slope, vegetation… So, I already have my model almost done. I have managed to do a final Raster where each pixel have a time value that represents the time in seconds that is needed to cross it.  Do you know if there is any tool in ArcGIS that accumulates these pixels from a starting point until a máximum of accumulated time? Let me explain:  In the model there would be a starting point, for example in .shp format. From this starting point, the tool could be able to accumulate the value of each pixel until it reaches 3600 seconds in order to simúlate the displacement of one person in one hour. The result should be a “circle” or isochrone, that represents the area until the accumulation of 3600 seconds.


Emails from my server are often being blocked as spam

When I check any of mailbox from my server with a tool like this one:  I get:  SPF check:          pass DomainKeys check:   neutral DKIM check:         pass DKIM check:         pass Sender-ID check:    pass SpamAssassin check: ham   Seems OK.  My server IP is not blacklisted - I've checked it here:   All users in total do not send more than 50 emails a day. They're not spammers, just regular small business users.  Yet still there are problems with e-mail delivery to corporate addresses. Especially when I create a new domain, almost all e-mails from it will end up in spam. Or even worse: they are deleted without notice to sender or recipient.  Popular services like Gmail do not treat them as spam - problem is only with various corporate recipients.  What else should I check or do to put things right?


I'm a Grade 12 student. The other day I was messing around with functions on my calculator and I came across $x^{2/3}$. When I evaluated a negative integer as x (using the memory function on my calculator) I was received with a domain error.  I asked my teacher about it and she said it was a fault in the calculator. I took this a bit further and put $(-64)^{2/3}$ into Wolfram Alpha/Google was some weird number like:  -8 +13.8564... i  Can someone explain to me why this does not evaluate to just 8? Using exponent laws that I learned this is equivalent to $\sqrt[3]{-64}^2=(-4)^2=16$.   (By the way I haven't learned about imaginary numbers yet)


How to install Xampp in Ubuntu LTS 14.04

I need help in installing Xampp on Ubuntu 14.04LTS?


How to find the sum of this Convergent series

I am given the following convergent series asked to find the value of:  $$\sum_{n=1}^{\infty} \left(\frac{4n}{(n^4+n^2 +1)}\right)$$  According to Sum calculators, I have found the value to be 2. Though, I don't know what approach to take to prove this. To aid us in the question, we've been given the following hint:   $$n^4 + n^2 + 1 = (n^2 + 1)^2 − n^2$$   Can someone point me in the right direction?


Why cannot throw exceptions from destructors but can from copy constructor?

It seems you cannot throw exceptions from destructors in case more than one exception is thrown from the destructor.   In Effective C++ Scott Meyers uses a vector example where the first element throws an exception during destruction and then later a second element throws- causing problems for C++ (which cannot handle more than one exception).  Surely this scenario (vectors manipulating elements and elements throwing exceptions) could also happen during a copy constructors implementing deep copying though?  EDIT:  Are we saying that its the recursive-nature of dtors calling underlying dtors which is different to the copy constructor?


Gparted -Ubuntu Is Using all of my disk and will not allow resizing. For Dual Boot

I recently installed Ubuntu, I have it for Dual Boot. Windows is already installed on a different Drive. For install, I used the whole disk and wiped it thinking I would be able to resize the main partition so I could create a new partition for extra space for Extra space. However,  in Gparted does not allow Resizing and remains with Keys image in front of the Ext4 partition. It is only using 24.55GiB of 906Gib.  I have in the image linked turned off swap.


Why does everyone do 9-overlord, not 10-overlord?

What is the advantage on saving the money for the overlord when you have 9 drones, and not filling your supply first and then getting the overlord?  In my theory, in the first case you get to wait the saving time with 9 drones, and get to wait almost the same time with 10 drones in the second case. Second case should be better, since 10 drones mine faster than 9? So why does everybody go with the first case?  All this is assuming you go 12 pool or something like that, where you will get more drones after the overlord. 6- and 8-pools are obviously different.


How to install a Logitech G402 Hyperion Fury mouse?  I tried the official website but nothing.


How to toggle scroll lock in an HP laptop without a scroll lock key

This question is in line with another question  which has been asked on this forum. I am having issues with scroll lock getting turned on my HP laptop when I use Excel.


I need to prove: $a$ is a square in $\mathbb{Z}$ iff $a\mod p$ is a square in $\mathbb{F_p}$ for every $p$ prime. First side ($\rightarrow$) is trivial and is derived directly from multiplicativity of modulo. Now I need to prove the other side ($\leftarrow$). I tried taking $p>a$ so $a\equiv a\mod p$, and I know that $a$ is a square so there exists $b<p$ s.t $\space$$b^2\mod p \equiv a$. But, $b$ is not necessarily the root of $a$ in $\mathbb{Z}$, so I'm stuck. I also know that for each $p$, $(\frac{a}{p})=1$ but this doesn't get me anywhere. Any hint would help.


Why doesn't Stack Overflow require registration?

Wouldn't requiring everyone to register weed out a lot of flaky people?  What is the "benefit" of allowing people to ask questions without registering first?


Do old package versions in CentOS mean that they do not have security fixes?

We asked our admin to update SVN on our CentOS 6.5 server. He did so and the result was SVN 1.6.11. However the current version of SVN is 1.8.9.   I know the CentOS yum repository is not always up-to-date. But in that case I am confused: SVN 1.6.x is not officially supported anymore. This means it does not get any security fixes!  How can the official CentOS repository provide such an old (and dangerous) version? Is there something we (or our admin) understood the wrong way?


hi i am unable to trigger simple event delegation on my code, The dom elments within selected DIV are dynamically created.
    previous   1   ...   2   next
   Following is my JS Code which i am executing within ready block.  jQuery("div[class=holder]").on('click',function() {         alert('i am here');     });


Crystal load capacitance for low power applications

According to , larger load capacitance on crystals increase power consumption and increase startup time. What are the actual numbers like in terms of power dissipation? Would there be any practical benefits to use a  over a ? Are there any drawbacks?


Is there any difference in meaning or usage between "four weeks from today" and "in four weeks"?

Could you tell me if there is any difference in meaning or usage between "four week from today" and "in four weeks"? For example:     What are you guys doing four weeks from today?      What are you guys doing in four weeks?   I cannot see any difference between the two. If there is any, could you tell me which one is more common?


18.04 server, does new intaller supports mdadm (RAID install)? Did not find the option

Only allows select (if you hit 'manual' option) one disk for installation and do not see previously created mdadm raid array.


Why curve modifier goes in different direction

I have a mesh and a curve modifier. I want that mesh to be coil on the curve. Sorry to say i never understood how the curve modifier works. When ever added it goes in different direction or away from the target. Can anybody explain me why my mesh going different direction other then the target curve.      Mesh getting narrow on top and getting mix with each other


that's pretty much it. Opening software center works with the 'all' tab loading fine, but when I try to search anything or access any other tabs it has an eternal loading screen. I am running a recently updated ubuntu 16.04 on a 64 bit computer if that helps.  I tried the solution of similar problems in older versions of Ubuntu but they don't have any effect.  when I run software center from the terminal I get this:  zephyzu@zephyzu:~$ software-center /usr/bin/software-center:25: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded.   from gi.repository import Gtk, GObject /usr/share/software-center/softwarecenter/ui/gtk3/views/purchaseview.py:29: PyGIWarning: WebKit2 was imported without specifying a version first. Use gi.require_version('WebKit2', '4.0') before import to ensure that the right version gets loaded.   from gi.repository import WebKit2 as webkit /usr/share/software-center/softwarecenter/ui/gtk3/widgets/symbolic_icons.py:23: PyGIWarning: PangoCairo was imported without specifying a version first. Use gi.require_version('PangoCairo', '1.0') before import to ensure that the right version gets loaded.   from gi.repository import Gtk, Gdk, GLib, PangoCairo 2016-05-28 14:21:23,340 - softwarecenter.ui.gtk3.app - INFO - setting up proxy 'None' 2016-05-28 14:21:24,079 - softwarecenter.backend.reviews - WARNING - Could not get usefulness from server, no username in config file 2016-05-28 14:21:24,082 - softwarecenter.plugin - INFO - activating plugin '<module 'webapps_activation' from '/usr/share/software-center/softwarecenter/plugins/webapps_activation.pyc'>' 2016-05-28 14:21:24,119 - softwarecenter.db.pkginfo_impl.aptcache - INFO - aptcache.open() 2016-05-28 14:21:24,905 - softwarecenter.db.update - WARNING - failed to load file /var/lib/apt-xapian-index/cataloged_times.p: unsupported pickle protocol: 3 /usr/share/software-center/softwarecenter/ui/gtk3/widgets/videoplayer.py:29: PyGIWarning: Gst was imported without specifying a version first. Use gi.require_version('Gst', '1.0') before import to ensure that the right version gets loaded.   from gi.repository import Gst /usr/bin/software-center:184: Warning: Source ID 70 was not found when attempting to remove it   Gtk.main() /usr/bin/software-center:184: Warning: Source ID 142 was not found when attempting to remove it   Gtk.main() 2016-05-28 14:21:27,507 - softwarecenter.db.update - WARNING - failed to load file /var/lib/apt-xapian-index/cataloged_times.p: unsupported pickle protocol: 3 2016-05-28 14:21:28,779 - softwarecenter.db.utils - INFO - software-center-agent finished with status 0


Is there a Unix utility to prepend timestamps to stdin?

I ended up writing a quick little script for this in Python, but I was wondering if there was a utility you could feed text into which would prepend each line with some text -- in my specific case, a timestamp.  Ideally, the use would be something like:  cat somefile.txt | prepend-timestamp   (Before you answer sed, I tried this:  cat somefile.txt | sed "s/^/`date`/"   But that only evaluates the date command once when sed is executed, so the same timestamp is incorrectly prepended to each line.)


$\omega$ is a solution of $x^2+x+1=0$, find $\omega^{10}+\omega^5+3$

I am working on a scholarship exam practice assuming high school or pre-university math knowledge. I am stuck at the question below:     Let $\omega$ be a solution of the equation $x^2+x+1=0$. Then $\omega^{10}+\omega^5+3=.....$   My first question is how it would be possible since the discriminant of $x^2+x+1=0$ is less than $0$ so I am not sure how I can continue or start from here. The answer key provided is $2$. Please advise.


How to open Google Cached version of a URL

I have a URL  which seems broken. I want to view its cached version if cached by Google/any other web caching site.   In Google advanced search is there any special keyword/search directive that I can use to find the cached version of this site. Is there any other site which caches web pages and displays back dated versions of them.


I am trying to install Ubuntu 18.04 but can't get past the install screens.  The first time it locked up on the very first screen where you chose between run on CD or install. It would not let me pick install as it was locked up.  The second time it got to about the 3rd screen and locked up  3rd time it got to the 5th screen and now appears to have locked up .  How much memory does the installer need? I think that may be the issue.  Thanks.


Sick of "Not enough free disk space when upgrading" an automatic solution?

Sick of checking  page every X days, I really would like to solve my problem with the disk space and the Ubuntu updates. So, there is a way to automatize this process?    Of course I can create a script that does it, but would be awesome if the Ubuntu update center would have a config value like: Amount of Ubuntu images to keep in memory.   In my case, I would save only 1, always having the same amount of disk used, so free.  So, my question is: There is a native/automated solution that keeps the amount of images to certain number without any 'human' action? when a new one is installed, the last one is removed.


How to make a Stop Motion or Time-lapse video with webcam?

I have a webcam that works as a v4l2 device.   What is the most convenient way to capture either a stop-motion or  video?  N.B.  stop-motion and time-lapse are related but conceptually different.   Time-lapse is where you take a photo of a scene at a set interval and then combine it into a video (that looks like it's going really fast).   Stop-motion is where you control the scene and take an image for every change you make, to form an animation (eg Wallace and Grommit).   An application for time-lapse needs to be able to take a photo at a set interval.


Find time it takes for a C++ function to run

I'm debugging a large C++ project (Linux environment) and one binary appears to be taking more time to run than I expect. How can I see a breakdown of how much time each function call in each source file takes, so I can find the problem(s)?


Redundant usage of "the" in names/titles is incorrect?

Which is correct?  1) The "The Lord of the Rings" series is popular.  2) "The Lord of the Rings" series is popular.


Possible bug - page not found when clicking any tag in Stack Exchange main page search results

Possible bug (probably quickly fixed?): I get "page not found" pages when clicking any tag in the Stack Exchange search results.  Example:   Click on a tag of any answers it displays, example: [python]  It leads to:   And that page is displaying "Page Not Found" instead of a list of Python tagged questions and answers.  The root of the problem seems to be that the URL is not constructed with the question's site but with the search result (stackexchange.com) site instead, lacking the tags.  For example,  leads you to a result page, that shows today amongst its results the following question: "Why is a simulation of a probability experiment off by a factor of 10?"  If we click that title, we go on the math.stackexchange.com's site,  (), and there, clicking on "Python" rightfully leads to   However if we directly click the Python tag on the search result page on stackexchange.com, it tries do display:  (with no math.), and that one displays the page not found error.  Lastly, if the same page is displayed on, for example, the "Hot Questions" section: , clicking directly its "python" tag would lead to the proper site (math.stackoverflow.com) and not stay on "stackexchange.com".  I.e., direct clicking a tag is working properly on the front page of stackexchange.com, but not working properly on its search result pages.


How do I let other people into my world in the newest version of Minecraft PE?

I want to let my brother into my world, but it's not working. We even changed the settings on both devices. I am using a kindle fire, he's using an iPad. How can we play with each other?


Six colonists from Terra are kidnapped enroute, and placed on different planet by unknown aliens. Novella 1980's read

I recall everything about this story except the author and title. Humans have evolved in that women now give birth to six or eight babies in one gestation.   Three couples selected to be colonists by stasis sleep to a known world wake up and find that one girl is dead, (although her six babies survive) and they are on a different planet than the one their ship was aimed.  When the surviving five adults emerge from their spaceship,  they see a multitude of distant floating golden aliens genuflucting to them,  then the aliens form a giant golden double helix in the sky,  then depart in their own spaceship.    The colonists now decide to make the best of this new world,  and populate it.  They call it Viridian,  as it is green and fecund.  There are plenty of dangerous animals on the world. The radiation from the planet seems to indicate the planet is young,  but the presence of vertebrate animal life argues otherwise. There is nothing red on the planet except for the albino girl's eyes,  and  a rare fleeting glimpse of a red mushroom,  that vanishes if anyone tries to get closer. In the end,  everything is explained.    The names of the colonists are Teague,  the Captain,  and Alma (deceased) ; Carl and Moira; Todd (the protagonist) and April (albino girl with red eyes).   They name the three moons as Wynkin, Blynkin, and Nod.   I recall plenty more detail,  but this question seems long enough!  I'll add more detail if anyone thinks it helpful.


For what natural numbers is $n^3 < 2^n$? Prove by induction

Problem  For what natural numbers is $n^3 < 2^n$?  Attempt @ Solution   For $n=1$, $1 < 2$ Suppose $n^3 < 2^n$ for some $n = k \ge 1$ It looks like the inequality is true for $n = 0$, $n = 1$ and $n\ge10$ But, how can I prove this through induction?


limited "where" options when saving Word document using OSX El Capitan

Currently using OSX version 10.11.3.  Prior to downloading El Capitan I had all the options that I'd see on the  Finder side bar when I wanted to save a document. see screen shot:  and I could drill into sub folders which allowed me to be very specific to where I saved documents.  I now have a very limited number of options and I cant drill into sub folders see screen shot:.   I'd love if someone had a solution.  I went into controll panel but nothing stood out to correct it.


I want to reference a whitepaper which has no author but is from a corporation

I want to reference the following white paper:   @ONLINE{TegraX1,     author = {NVIDIA Corporation},     title = {NVIDIA Tegra X1 NVIDIA'S New Mobile Supechip},     month = Jan.,        year = {2015},     url = {http://www.nvidia.com/content/PDF/tegra_white_papers/tegra-K1-whitepaper.pdf} }   However this paper does not have any information about a certain author, it is more like the company behinds it. Thus, I do not know how to give the author properly, or if this is even the correct format. Furthermore, this iwll only show "Corperation" in the pdf where sourced, where it would be nicer to have a more valuable short like Nvidia Coop or sth like this.


Why do questions closed as too specific count for question badges (e.g. Famous)?

The question  has awarded the user the  badge.  Yet - it was closed for being too specific - and hence supposedly not generally useful. Somehow that doesn't make sense to me; why are questions closed for this reason counted for badges? At least, for that kind of badge?  (This not a duplicate since I'm asking about a specific reason for closing rather than in general.)


using gb4e keeping interlinear glosses together on the same page

I am using gb4e for several hundred interlinear glosses in my dissertation. Several of the examples span more than one page, that is, the vernacular and gloss will be on one page, while the free translation appears at the top of the next page.   How can I keep all three elements together on the same page? I often have subexamples (a, b, c) that don't need to stay together. That is, 1a can be on one page, and 1b on the next, as long as vernacular-gloss-free translation for each subpart stay together.  In the MWE below, the free translation is at the top of page 2, while the vernacular and gloss are at the bottom of page 1.  \documentclass[11pt,letterpaper]{article} \usepackage{lipsum} \usepackage{gb4e} \noautomath \begin{document} \lipsum[1-4] \begin{exe}     \ex \gll wuz x̃ũch it-ak xohish-em\\              1\textsc{sg.prn} bread eat-\textsc{inf} want.\textsc{prs}-1\textsc{sg}\\         \glt `I want to eat bread.'  \end{exe} \end{document}   A solution was proposed to a similar question (), but it requires me to manually look for what could be dozens of orphans throughout my dissertation (and doesn't work when applied to my example, since it still strands the FT). I would prefer a more elegant solution that takes care of the problem automatically.


foreach((get_the_category()) as $category) {     echo $category->cat_name . ', ';  }   So I'm echoing it like this because I don't want the categories to appear as hyperlinks, I just want the cat names.  The problem is I can't get rid of the last separator so it ends up like : category, category, category,  I tried 'stripping' it (php seriously confuses me small design mind)  foreach((get_the_category()) as $category) {     echo $category->cat_name . ', ';     echo rtrim($category, ", "); }   That didn't trim it though.


Counterexample that $a\in G$, $a^n\notin H$, for $H$ a subgroup of finite index $n$ in $G$.

Let $G$ be a group and $H$ a subgroup of finite index $n$. Give a counterexample that $a\in G$, $a^n\notin H$ (although I can prove that there exists $k\in\{1,2,\dots,n\}$ such that $a^k\in H$).   Really do not know how to construct the counterexample...  Thanks.


Finding a closed form expression for the recurrence relation $a(n,k+1)=(k+1)^n+\sum_{m=1}^k {k+1\choose m}a(n,m)$

I originally stumbled upon this beast whilst trying to find the number of surjective functions from $[n]=\{ 1,...,n\}$ to $[k]$. Here is my idea, denote this number $a(n,k)$ hence $a(n,k) =k^n- \#\{{f:[n]\to [k]\; | \; f \; isn't \; surjective}\}$. For every $1\leq m\leq k-1$ we have ${m\choose k}$ ways of choosing a set of $m$ elements from $[k]$ and $a(n,m)$ functions in $\{{f:[n]\to [k]\; | \; f \; isn't \; surjective}\}$ with $|im(f)|=m$ and so: $a(n,k+1)=(k+1)^n-\sum_{m=1}^k {k+1\choose m}a(n,m)$ From here I tried to use induction to get $a(n,k+1)$ to the form of a polynomial in $a(n,1)$ which is clearly $1$, but had no luck as to finding the polynomial itself. Solutions to the original problem or to the recurrence relation would by much appreciated. EDIT: from the inclusion-exclusion prinicple I got the follwing expression for $a(n,k)$ which is: $a(n,k) = \sum_{m=0}^k (-1)^m{k\choose m}(k-m)^n$ and plugging it into $a(n,k+1)=(k+1)^n-\sum_{m=1}^k {k+1\choose m}a(n,m)$ yeilds: $a(n,k+1)=(k+1)^n-\sum_{m=1}^k{\sum_{i=0}^m {k+1 \choose k+1-m,i,m-i}(m-i)^n}$ which, to be honest, looks terrible. My original question still stands, what is the closed-form expression (if there even is one) for this monster double sum?


I would please appreciate help showing: For $m$ a fixed integer          $\sum_{j=0}^\infty \frac{j+1}{m^{-js}}$ converges to $\frac{1}{(1-m^{-s})^2}$      There is a hint to treat the sum as a power series in $m^{-s}$.  A power series in $m^{-s}$ itself would converge to $\frac{m^s}{m^s-1}$ (for $m^s>1$).  Even if this is correct, that's as far as I could get, although the $(1-m^{-s})^{-2}$ looks like  a derivative was taken.  Thanks


Why a derived object is not calling on the virtual function

class Base{  public:     virtual void func2() const{         cout << "1" << endl;     }      virtual void func1(Base temp){         cout << "Class 1" << endl;         temp.func2();     }  }; class Derived : public Base{ public:      void func2() const{         cout << "2" << endl;     }     void func1(Base temp){         cout << "Class 2" << endl;         temp.func2();     }  };  int main(){     Base one;     Derived two;      two.func1(two);     cout << "------------\n";       return 0; }   Output is:  Class 2  1  So my question is: why when I'm giving func1(two) an object of Derived, it is not calling on virtual func2 that outputs 2. The compiler is always choosing func2() that is defined in the Base class.  It does, however, chooses func2 in the Derived class when you call on it, i.e. two.func2(); which outputs 2


How to create vector graphics In Photoshop?

I know people prefer using CorelDraw or Adobe Illustrator, but I want to know if there is a technique I can follow to use Adobe Photoshop to make vector Images.


Today I got requirement to get the list data using rest and bind to html drop down . I am getting the information by filtering it from browser  (_api/web/lists/GetByTitle('Tabletop%20Sessions')/items?Select=Title";)   . As this is my first program can any one help me what's wrong in my below code in binding the data to drop-down.           <link rel="stylesheet" href="//code.jquery.com/ui/1.11.4/themes/smoothness/jquery-ui.css">      <link rel="stylesheet" href="/resources/demos/style.css">

  Months:	          <select id="drbfunction" class="select">        <option selected="selected">Select</option>        </select>

Programes:
        <select id="drbprogrames" class="select">        <option selected="selected">Select</option>


I was doing some basic number theory exercises and there was this one question that made me stuck.     Find all positive integers $N$ such that every positive integers $n\leq\sqrt{N}$ divides $N$.   First I tried to divide $N$ into interval in the following way,  $p^2\leq{N}<(p+1)^2$, where $p$ is a positive integers.  Then I tried to find the prime factor for $N$ on some of the first intervals and got some values for $N$ which are $1,2,3,4,6,8,12$, and $24$ (If I didn't miscount).  It seems like there is no more larger value for $N$ as the LCM of the required prime factor of $N$ tend to not being present in the interval. I think it is true but I don't know how to prove it.  Can anyone help me to prove it ? Or maybe there is another method/ways to solve this problem ?


Prove that $e^x$ is not uniformly continuous on $\mathbb R$

I want to prove that $f(x)=e^x$ is not uniformly continuous on $\mathbb R$.  I tried to show that all $\mathcal C^1(\mathbb R)$ function that has no bounded derivative is not uniformly continuous.  Suppose by contradiction it is. There there is $\delta >0$ s.t. $|f(x)-f(y)|<\varepsilon $ when $|x-y|<\delta $. Then, how to continue ?


I have Ubuntu 14.04 LTS (Os type 32bit) on an AMD 64 X2. I would like to install Draftsight but it appears to be quite impossible: first it says that have the wrong architecture software version (i have installed all the i386 packages), but in the end it gives me always the error   subprocess new pre-installation script returned error exit status 126.   Is it possible to install such a software on 32bit Ubuntu and AMD?  Is there any version of the software compatible with my configuration? do I have to download an older version?  Thanks a lot,  mattia


"invalid use of incomplete type" error with partial template specialization

The following code:  template <typename S, typename T> struct foo {    void bar(); };  template <typename T> void foo <int, T>::bar() { }   gives me the error  invalid use of incomplete type 'struct foo<int, T>' declaration of 'struct foo<int, T>'   (I'm using gcc.) Is my syntax for partial specialization wrong? Note that if I remove the second argument:  template <typename S> struct foo {    void bar(); };  template <> void foo <int>::bar() { }   then it compiles correctly.


The SE iOS app crashes when adding comments to certain posts.  It was discovered to be if the "Add an Answer" button was visible, not just responding to a deleted comment.  Edited to match answer. Previous steps were not the only use case, and this error keeps getting re-reported in different ways.


Ubuntu16.04 boot to black screen hp pavilion

After installing Ubuntu on my HP pavilion DV6 through CD version 16.04 and erasing Windows, computer turns to black screen everytime I boot. I have done some research and the fn+F3 doesn't seem to work (increasing brightness) my computer is quite old and the F10 key for example doesn't work... The only option I have now is to Press escape while boot Press E to change parameters Erase "quiet splash" either for Nothing or for "acpi_backlight=vendor" .   "nomodeset" also allows me to start the computer and use it normally. What I would like now is to save these changes so I could start the computer normally with no manipulation.   The problem is I can't seem to find a way to save these changes and make them default. Thank you for your time and attention !  Michael


Please suggest necessary setting for better sharp image with telephoto lens 70 -300mm VRF4.5-6.3? Nikon D5300

Does the teleconverter support  for sharp image specially for birding? Please suggest


I have read many books say that     they ran fast.   But that sounds wrong compared to      they ran quickly.   Which should it be?


How to keep section number from being reset with new chapter (ref: Sokolnikoff)

I like the way the author Igor Sokolnikoff numbers his sections and equations, and would like to mimic this style in my own book. The section number is never reset. For example chapter one ends with section 17, and chapter two begins with section 18. Also equations are numbered according to section, not chapter, as (17.1), (17.2), etc.  I am using MikTex, pdflatex Thank You!