How to grab an arbitrary chunk from a file on unix/linux
How do I extract a single chunk of bytes from within a file?
I'm trying to install a dual boot (with Window 10) on my new XPS-15 (with a SSD 256Go).  Everything works well (following  until I go on step "Installation type".  Where I can't select "Something else", and I already have the partition table but completely empty. I can't see any existing partition, or add new one. Is $\int_a^b f(x) dx = \int_{f(a)}^{f(b)} f^{-1}(x) dx$? I'm looking for mathematics books, courses + exercises for high school level. My daughter was high school certificated but she has stopped her studies for 5 years. She would like to be involved in new educational program but she needs to restore her mathematic capabilities.  Could you help me to identify which mathematics books can help her?  Thanks a lot for your reply,  FR. Which application does the vi command open? When you type vi in the terminal, the following output is shown  ~                             VIM - Vi IMproved                                 ~                                                                              ~                               version 7.3.547                                  ~                           by Bram Moolenaar et al.                             ~           Modified by pkg-vim-maintainers@lists.alioth.debian.org              ~                 Vim is open source and freely distributable                    ~                                                                                ~                        Help poor children in Uganda!                                                                                So according to this, vi must be launching VIm. But when you type  vim it gives  aditya@aditya-desktop:~$ vim The program 'vim' can be found in the following packages:  * vim  * vim-gnome  * vim-tiny  * vim-athena  * vim-gtk  * vim-nox Try: sudo apt-get install &lt;selected package&gt;   This shows that vim is not installed. Notably man vi and man vim launch the same man pages.  So what does the vi command actually launch? I ran into the "mysterious"  \pdfendlink ended up in different nesting level than \pdfstartlink   error.  According to , "this happens when hyperref is used under pdftex and a citation splits across a page boundary".  The given solution is to manual fix the citation to not split across the page boundary.  However, this workaround isn't feasible for me, as the documents are automatically generated on a server with no user interaction.  Is there any solution to the problem known, perhaps an experimental hyperref action or a patch to pdftex?  (Probably, one could use luatex to solve the problem, but for other reasons, luatex is not an option in this project.)  MWE:  \documentclass[%draft               ]{article} \usepackage{hyperref} \setlength{\textwidth}{3cm} \setlength{\textheight}{3cm}  \begin{document} Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna \href{http://www.tug.org/errors}{aliquyam erat, sed diam voluptua.} \end{document} Why gpedit and the corresponding registry entries are not synchronized? Let the function $f(x)$ be differentiable  and $f'(x)$ be continuous in $\left(-\infty,\infty \right)$ with $f'(2)=14$ then evaluate the limit  $$\lim_{x\to 0}\frac{f(2+\sin x)-f(2+x\cos x)}{x-\sin x}$$  My attempt:  $\lim_{x\to 0}\frac{f(2+\sin x)-f(2+x\cos x)}{x-\sin x}$  $\lim_{x\to 0}\left(\frac{f(2+\sin x)-f(2+x\cos x)}{\sin x-x\cos x}\right)$ $\frac{\sin x-x\cos x}{x-\sin x}$$=\left(f'(2)\right)(2)=28$  Is the method used here correct What is the purpose of  in Python — especially with respect to when I would want to use it, and when not? To make a JavaScript class with a public method I'd do something like:  function Restaurant() {}  Restaurant.prototype.buy_food = function(){    // something here }  Restaurant.prototype.use_restroom = function(){    // something here }   That way users of my class can:  var restaurant = new Restaurant(); restaurant.buy_food(); restaurant.use_restroom();   How do I create a private method that can be called by the buy_food and use_restroom methods but not externally by users of the class?  In other words, I want my method implementation to be able to do:  Restaurant.prototype.use_restroom = function() {    this.private_stuff(); }   But this shouldn't work:  var r = new Restaurant(); r.private_stuff();   How do I define private_stuff as a private method so both of these hold true?  I've read  a few times but it doesn't seem like "private" methods can be called by public methods and "privileged" methods can be called externally. Some time ago I closed my front door (rather forcefully) while the deadbolt was sticking out partially.  This loosened the deadbolt, and the top screw no longer held. In addition, it cracked the door on the interior side. I've attached a picture showing the damage.   The door works mainly, though it can be difficult to lock sometimes, especially when the weather gets colder.  I'm currently renting, and will soon be moving out of this house, once I buy a house. I would like to repair this door myself, and I'm hoping I don't have to replace the entire door.  Is this something that can be repaired? If so, how? I realize that a new deadbolt is probably needed, but how can I repair the wood damage around it? How to calculate the Fourier transform of a Gaussian function? I would like to work out the Fourier transform of the Gaussian function   $$f(x) = \exp \left(-n^2(x-m)^2 \right)$$  It seems likely that I will need to use differentiation and the shift rule at some point, but I can't seem to get the calculation to work. Does anyone have any advice?  By the way, I am using   $$\mbox{FT}(f)(k)=\int_{-\infty}^\infty f(x)e^{-ikx}\,\mathrm d x$$  as my definition of a Fourier transform. Many thanks. I never dealt with Android devices before so I'm completely newbie at it, please comment if something is too simple.  Say I purchase , that has got Android Froyo 2.2 installed in it.  If there is a new version of Android released tomorrow or next month, will I be able to update it (like I will be able to update my iPod Touch 4 to iOS 5)? I am making a Minecraft Mini Game adventure map, and one of the levels has a /setblock command, I am using the command in a way to spawn an item in a chest (Wooden Button) I need the wooden button to have CanPlaceOn tag so it can be placed on a log. I have tried this command: setblock 294 5 -1251 minecraft:chest 0 replace {Items:[{Count:1,Slot:0,id:minecraft:wooden_button,CanPlaceOn:[log]}]}` Why is it dangerous use a coiled extension cord In Robert Dixon's Mathographics, a regular pentagon is constructed with straightedge and compass only.  It is the pentagon $ABCDE$ pictured below.   I am having trouble seeing why the central angles are all $72^\circ$, though. Can anyone provide the proof?  Also, does anyone know who this construction is due to? I haven't seen it anywhere, other than in Dixon's book; is it Dixon's result?     The result appears much more impressive without all the labels (which are slightly misplaced, please excuse this); however, I provided those so that answering would be easier. Also, it makes it easy to describe the steps in the construction:  1) Draw a circle (the red one)  with center $h$.  2) Draw the perpendicular lines $\ell_1$ and $\ell_2$ through $h$. Locate the points of intersection $f$, $B$, and $g$ with the red circle.  3) Bisect the line segment $gh$. Denote the center by $a$.  4) Draw the green circle with center $a$ and radius $ah$.  5) Draw the other green circle (as in (3) and 4)).  6) Draw the line segment through $f$ and $a$.  7) Locate the points of intersection $b$ and $c$ of the line segment with the circle constructed in step 4).  8) Draw the blue arcs (both have center at $f$ and the radii are $fb$ and $fc$).  9) Locate the points of intersection $A$, $C$, $D$, and $E$.   I actually have the solution to the first question, and will post it unless a more elegant explanation is provided (which is probably likely).  However, I find this construction particularly   beautiful, and would like to know who it is attributed to (Dixon doesn't say, explicitly). How do I run two isolated instances of firefox? Coordinate-Free Definition of Trace. How do I recover the Facebook account password? I have forgotten my Facebook account password and also I have no access to the number which I use to log-in to Facebook account.   On this page (see the image below) they are asking for a government photo-ID to verify my account. The problem is that I don't have a driving license, voter ID card, passport etc. All I have is a school ID card but that hasn't worked for me. Is there any other way to recover my password? Is it possible to win in Don't Starve? I would like to know if it's possible to win in Don't Starve? Or is it just the matter of how long until you die? Suppose I want to know whether $\sqrt{7}\in\mathbb{Q}_5$, or more generally, whether $\sqrt{n}\in\mathbb{Q}_p$ for $n\in\mathbb{Z}$, $p$ an odd prime. What are the techniques for determining this? Am I supposed to "lift" it from $\mathbb{Z}/p\mathbb{Z}$ using Hensel's lemma? Could I see an example?