Symmetrically Distort 2D Text On A 3D Object or Plane - Adobe Illustrator

Question: I have some text I would like to have twist and turn as if it is on a sheet of paper. I've included an image of an example I have seen.
How would I approach this in Adobe Illustrator?
Thanks in advance
Answer: You can use the Squeeze style under Object → Envelope Distort → Make with Warp, similar to the below and play with the slider values. Also, experiment with other styles in that panel until you get it right.
Answer: Preset envelope distortion warp styles can make it. It's well worth to try them as already suggested.
More general,but still 2D way is to try Envelope distortion with mesh. Quite nearly the presented shape can be achieved by applying Object > Envelope Distortion > Make with Mesh > 1 Row x 1 Column. It's tried in the next image:

1 x 1 mesh has 4 nodes and 8 handles which all must be adjusted manually with the direct selection tool. One can adjust 1 x 1 mesh quite easily, but nothing quarantees it gives enough control.
One can get more control by setting the mesh size bigger or more preferably by inserting nodes with the mesh tool when needed. Complex mesh becomes easily a  nightmare, so it surely pays off to try at first some preset warp styles. They can also be tweaked with the direct selection tool.
Placing the rectangular text on 3D surface and finding a good perspective projection can sometimes create a fine result result, but Illustrator's 3D with "mapped art" is too often limited when compared to general 3D programs. Your example needs a surface which cannot be produced in Illustrator; it only revolves and extrudes.
In proper 3D programs there's unfortunately no general method to solve which surface and view is needed to create a predetermined 2D projection. Creating a 3D image which looks good in 2D is based on trial and error, but experience helps substantially.
In the next two images there's a quite elementary attempt to make something resembling in an entry level 3D program named Moi3D. There's a rectangular block of outlined text (pasted from Illustrator) and a reference planar rectangle around it. They are mapped (or Flown, as the program says) onto a curved surface.

Here's no attempt to colorize it nor to get the geometry and projection right. It's purpose is only to show the thing is theoretically possible.


Can Windows be installed on a n Android Phone

Question: Well I have a Lenovo K3 Note and would like to know if I could install windows on it if so could anyone tell me how because I've done my research and only ended up with tutorials and videos that use a software called change my software and while researching this software I came up with a few isuues some people say its malware and some say that its useless and will only brick my phone if you could provide me a method of installing windows on an Android phone and dual booting it with android I'd be greatful
Comment: @Firelord not sure if it can be called as VM, but [this link](http://m.instructables.com/id/Run-Windows-XP-on-Android-Device/?ALLSTEPS) explains it better than me.
Comment: There are people who managed to install Windows on Android (probably utilizing VM), but I can't explain for the technical detail.
Comment: I'm sorry to tell you, but installing Windows is not an Android-related question, and thus off-topic here.
Comment: @AndrewT. There is a VM for Android? Would you please enlighten a bit? I'm all ears here, and they are itching to hear. May be in the [chat] if not here.
Comment: You might be able to install Linux but not Windows because it is close source
Answer: In short: no.
I'm afraid there is little support in the area of custom flashing for your device as it is, even on the Android side.
This topic on XDA guides you to root the device and install a custom recovery but doesn't give any links ROMs, which you'd need. There is, however, a topic that allows you to install Cyanogenmod 12.1 (Android 5.1.1) here. Note that this is a not officially supported ROM and by the looks of the comments there appear to be quite some issues at the time being.
That doesn't mean all hope is lost. There are rumours by reputable resources that Microsoft is working on a way to install Windows 10 (partially) on an Android device but I wouldn't count on it arriving any time soon. Even if it is, there is no way of saying it'll be compatible with the K3 Note. The question is why you need this operating system. If it's specific Microsoft apps you're looking for, there's already a wide range of them available on Android (and iOS) such as Cortana (beta), Bing, Outlook or Word.
Virtualization can be a solution for you but you'll need a running Windows machine to connect your device to. Just Google for "run Windows programs on Android" and you'll find plenty easy-to-follow tutorials to get it done.
As for dualbooting, you'd be roaming dangerous territory. Dualbooting on an Android device is completely different from your average home PC dualbooting Windows and Ubuntu. There are tools like MultiROM, Safestrap, DualBoot Patcher and GRUB for Android but they are in most situations highly experimental.
I hope this helps you in the right direction and at least answers a part of your problem. Whatever you do, make a nandroid backup so if you get in trouble, you can still restore your original setup.
Comment: Thank you for 5he answer well I was planning on runn8ng some programming toold on windows mobile while on the go which virtualization can't solve seamlessly as for dualbooting I was just ask8ng if I can dualboot with windows and android installed but since windows isnt available 8n Android that is pretty much answered I'm already using  MultiROM for dualbooting


Is there a government department in the Netherlands regulating sex work?

Question: Do the Netherlands have a government department that specializes in understanding and analyzing sex work, and is tasked with maximizing the legal rights, ethical conditions, and positive outcomes for all parties involved, similar to the departments of education, energy, food, and drugs?
Comment: I suspect it probably falls under whatever agency is responsible for workers rights generally, though maybe I'm wrong.
Comment: There either is, or is not, such a department, that is a mater of fact, not opinion.
Answer: The Netherlands has a more pragmatic approach towards sex work, in which the government tries to balance the protection of the rights of sex workers with the need to prevent exploitation and abuse.
The Dutch government has implemented a number of policies and regulations to ensure the safety and rights of sex workers, but does not have a specific department responsible for the regulation of sex work. Instead, various government agencies and organizations, such as the police, public health agencies, and local municipalities, are involved in the regulation and oversight of the sex industry. These organizations work together to ensure that sex workers have access to health services, and that they are protected from exploitation and abuse.
The central government of the Netherlands has a policy of toleration and regulation of prostitution, meaning that they allow it to take place but they regulate it, this has been seen as a way to reduce the harm associated with sex work, such as exploitation and trafficking. It has a number of organizations that specialize in the understanding and analysis of sex work, such as the Prostitution Information Center, which provides information and support to sex workers and the general public, and the Dutch Union of Sex Workers, which represents the interests of sex workers.
Answer: new-south-wales
The sex industry is just another industrial sector
It is regulated just like any other business and it also has specific regulation - just like construction, mining, health, logistics etc - covering its peculiarities.
There is no specific government department , instead, regulation is split across the three tiers of government and usually different parts of each tier. None of these deals exclusively with the sex industry.
Commonwealth

The Australian Tax Office deals with tax compliance
The Australian Competition and Consumer Commission deals with consumer protection and monopolistic behaviour (the latter is not much of a problem in the sex industry)
The Australian Federal Police deal with cross-border criminality like human trafficking
The Australian Securities and Investments Commission deals with company regulation

State

NSW Fair Trading deals with general business regulation
Safe Work NSW deals with work health and safety. They have specific guidelines for sex work addressing the particular risks; just like they do for most industries
NSW Police deal with criminality such as sexual servitude
Revenue NSW deals with state taxes like land and payroll tax
Planning NSW sets statewide guidelines on development including which zoning areas are suitable for brothels and which aren't

Local

Local government determines which zones (established by Planning NSW) go where in their area and dealing with development applications

These lists are not exhaustive.


How to zoom to specific lat/long point in QGIS

Question: Does QGIS have the ability to Zoom to a specific lat/long point upon the user entering one.  I can see it shows the coordinates in the bottom task bar but I'm not seeing a way to manually enter lat/long point and zoom to it.  Possibly even harder, I would like to zoom to specific lat/long point even though I'm in a UTM projection.
Comment: Without looking at it: There is a zoom to point plugin and the place finder plugin. Both can zoom you to certain point in the map
Answer: I found out a pretty nice plugin which perfectly suited my needs about dealing back and forth between a local SCR and Lat/Long data with various web tools, so I thought I may share..
It's called Lat Lon Tools and it's an open source project developped by the NSA.
This tool is able to zoom easily to Lat/Long coordinates copy pasted from your clipboard or open directly a point from QGIS to a map in your web browser.
Answer: You can just type into the "display" part of the status bar where you see the coordinates and zoom level.
I don't know a way to do the "enter long/lat in degrees but display in UTM" though.
Comment: This feature works but you need to have a non-metric lat/lon supporting coordinate system like WGS84. When cooordinates are entered be aware that QGIS expects the format "lon lat" make sure that subdecimals need to be separated by a "." only and lon and lat coordinates need to beseparated by a blank, even though they are displayed differently
E.g. For Madrid "-3.68594 40.39203" needs to be entered although "-3,68594°  40,39203°" will be displayed later on (clearly a usability bug to me)


My pistons will not move unless I change the delay of a repeater

Question: Title. Not sure why this is happening, but I can only make the piston move if I change the delay of a repeater by clicking on it. I am trying to use this with a bubble column elevator, So I can't change the delay as the water will wash all my redstone away.
SS- https://i.stack.imgur.com/bcKLn.png
SS- https://i.stack.imgur.com/CAtld.png
Comment: Hi ItsConnall, welcome to Arqade! I'm having trouble understanding your issue with your screenshots being so cramped and up-close. I've also noticed several mods installed, which can potentially impact behavior. Can you open a new creative world in vanilla Minecraft and post a couple screenshots that clearly outline the issue at hand? Doing so will allow the community a much easier time to answer your question.
Comment: That's some very weird redstone circuit. For example, what is the redstone dust at the left on the first screenshot supposed to do? And do you have repeaters going into two blocks below the pistons that go into two redstone torches? If yes, why, and where does the signal come from? And what is your overall goal with this circuit? Just switching between magma blocks and soulsand? That can be done way easier.
Comment: SS- https://i.imgur.com/hEe0zOr.jpg This is the design I'm using, I'm trying to build a magma block to soul sand block swapper, and My issue is that whenever the soul sand and magma is in place, The pistons will push the 2 blocks where my pressure plates are, destroying them and moving the magma and soul sand way to much. I'm using a design by iskall85, that I took from a single frame of one of his videos, as he doesn't include any footage of the circuit in said video. SS- https://i.imgur.com/XKCrTz1.jpg
Comment: I'm not sure of that design but I just made this and it works: https://i.imgur.com/RJwDV3h.png [World Download](https://www.dropbox.com/s/fd4yrfkyomtx6xo/Redstone.zip?dl=0) Cords: 10 60 15
Answer: You need to give the pistons a block update, I did so using observers. (You can use one if resource limited) though this design seems to suck me through the ground, I included another design I made in the world download also.
The repeaters are on a zero tick delay It should be higher, and the lower half is unchanged.
World Download @ Cords: 4 56 44

Here is my design which I think works better, could be made more compact for sure.
The obsidian near the swapping blocks might be needed if you have this above the ground (as it might be pushed away)
The observers are completely irrelevant here and can be replaced with any block.


Why are Darboux integrals called Riemann integrals?

Question: As far as I have seen, the majority of modern introductory real analysis texts introduce Darboux integrals, not Riemann integrals. Indeed, many do not even mention Riemann integrals as they are actually defined (with Riemann sums as opposed to Darboux sums). However, they call the Darboux integrals Riemann integrals. Does anyone know the history behind this? I can understand why they use Darboux - I find it much more natural and the convergence is simpler in some sense (and of course the two are equivalent). But why do they call them Riemann integrals? Is this another mathematical misappropriation of credit or was Riemann perhaps more involved with Darboux integrals (which themselves may be misnamed)?
Comment: [See this](http://math.stackexchange.com/questions/142782/how-to-write-an-integral-as-a-limit/142798#142798). They are equivalent approaches, and they are very similar, but not identical. Could you provide a source where that is done?
Comment: I'm sorry, I'm not sure what you're asking, provide a source where what is done?
Comment: "As far as I have seen, the majority of modern introductory real analysis texts introduce Darboux integrals, not Riemann integrals. Indeed, many do not even mention Riemann integrals as they are actually defined (with Riemann sums as opposed to Darboux sums). However, they call the Darboux integrals Riemann integrals. "
Comment: In Rudin's book, which many would argue is the standard. See pp. 120, 121 (the first two pages of Chapter 6: Integration.)
Comment: Indeed, Darboux's name is not even in Rudin's index.

Another example is the appendix in Stein and Sakarchi's _Fourier Analyis_.

Both of these call all the sums and upper integrals after Riemann, and call the integrable functions Riemann integrable. I believe there are other textbooks, but I don't have direct access to them now.
Answer: There are other examples, such as "An introduction to Real Analysis" by Wade. I don't know the history of these definitions at all. Once the dust settles over partitions, we have just one concept of integral left. The term "Riemann integral" is entrenched in so much of the literature that not using it isn't an option. One could use the term "Darboux integral" alongside "Riemann integral", but most students taking Intro to Real Analysis are sufficiently confused already. Mentioning names for the sake of mentioning names isn't what a math textbook should be doing. That job is best left to books on history of mathematics.
If you feel bad for Darboux, be sure to give him credit for the theorem about intermediate values of the derivative. (Rudin proves the theorem, but attaches no name to it.)
On a similar note: If I had my way, there'd be no mention of Maclaurin in calculus textbooks. Input: the total time spent by calculus instructors explaining the Maclaurin-Taylor nomenclatorial conundrum to sleep-deprived engineering freshmen. Output:
Comment: I'm less concerned about the pedagogical implications, and I'm just curious when / how this practice began, and if it is warranted. I agree completely in regards to Maclaurin (thou I'd also like to know the history of this as well).
Comment: The reason why science people despise the historical perspective in learning is only their complete ignorance about pedagogy
Answer: Riemann and Darboux integrals are equivalent, but the Riemann-Stieltjes and Darboux-Stieltjes integrals, which extend the previous definitions to integrate a funtion with respect to another function, are not equivalent.
Therefore, even pedagogically, I think they should be distinguished and named separately.


Die Regenwolke zieht sich nach Norden (hin?)

Question: Is it necessary to write the prefix 'hin' in the sentence? Will it change the meaning of the sentence if it's added ?
Answer: First of all you need to drop sich because that makes the sentence wrong gramatically.
The sentence should be:

Die Regenwolke zieht nach Norden (hin).

hin is unnecessary here and the sentence probably will sound weird to many people if it's included. It is not gramatically wrong to include it though.
Answer: What do you want to say?
The cloud is moving northwards?
The translation by adibender

Die Regenwolke zieht nach Norden (hin).

is suitable then.
An old-fashioned translation for this meaning would also be:

Die Regenwolke zieht gen Norden.

gen originates from gegen and means towards (the north).
But what about the translation from your question?

Die Regenwolke zieht sich nach Norden (hin).

This one is also correct, but means something different: The cloud isn't moving northwards, it is stretched in a northern direction. In this case, hin is also optional but if used it emphasizes this meaning (might differ locally).
sich ziehen is used to express the following:

something takes a long time (Die Bearbeitung des Antrags zieht sich hin.)
something extends over a longer distance (Die Straße zieht sich durch das komplette Gebirge.)
Comment: I heard it from the LOTR the rider of Rohan said : Reitet nach Norden!


trivariate normal distribution and joint distribution

Question: Suppose that r.v $X$ and $Y$ are normally distributed and independent each other. Under which conditions $(X,Y)$ are bivariate normally distributed?
Now I want to calculate $\text{Prob}(X>a, Y<a, bX+cY<d)$, where $a,b,c,d$ are constant. Should I treat the third element as another r.v (let say $Z$) whose parameters are easily calculated and as a consequence, consider $Pr(X>a, Y<a, bX+cY<d)$ under a trivariate normal distribution perspective?
Comment: Possible duplicate of [About Trivariate Normal Distribution](http://stats.stackexchange.com/questions/69350/about-trivariate-normal-distribution)
Comment: no,the question is different (it seems)
Answer: Well if $X$ and $Y$ are independent and each one is normally distributed, then $(X,Y)$ is also bivariate normal (with $Cov(X,Y)=0$). And no, I do not suggest using a trivariate normal distribution because the distribution of $(X,Y, bX+cY)$ is degenerate, in the sense that its support lies in a 2 dimensional subspace of $\mathbb R^3$.
You just need to integrate over the pdf of the bivariate normal (which due to Fubini's theorem and independence is really simple). For example if $b>0$ then $bX+cY < d$ is equivalent to $X < \frac{d-cY}{b}$. Then you just integrate:
$$\Pr[X>a, Y<a, bX+cY<d] = \int_{-\infty}^a\int_{a}^{\frac{d-cy}{b}} \mathbf{1}_{\left\{\frac{d-cy}{b}\geq a\right\}} f_X(x)f_Y(y)    dx dy$$
Here $f_X$ (resp. $f_Y$) is the density of the distribution of $X$ ($Y$) and $\mathbf{1}_{\{\}}$ is the indicator function.
Comment: thank you! what about if b or c are negative? I take advantage of your expertise for another question: as you don't suggest to use a trivariate normal distribution,which package of R do you suggest in this case (I've thought of mvtnorm in case of trivariate distribution).Many thanks
Comment: Part1) Well if b is negative then you just flip the inequality around and it holds that $X < \frac{d-cY}{b}$. I will let you figure out on your own what this means regarding the integration region! Also to be honest I would probably derive an analytic expression for this case  (at least get rid of the inner integral) and then just write my own R function. But I am sure there are also numeric integration packages you can use in R (but not sure which or how you would specify the information).
Comment: Part 2) But for such a low dimension you can actually do it via Monte Carlo if the integrals scare you! So you just generate independent random variables $X_i$, $Y_i$ according to the distribution of $X$ and $Y$. And you do that many times (e.g. $m$ times) so that you get pairs $(X_i,Y_i)$ for $i=1,\dotsc,m$. Now for each of these pairs you check whether all 3 conditions  ($X_i >a$, $Y_i < a$ and $bX+cY<d$) are fullfilled. Now the probability you are interested in is just the proportion of pairs which fullfill this property.


SharePoint Workflow takes a long time to start

Question: I have a SharePoint 2010 OOB list workflow that usually takes less than minute to complete. However, I found a list item where the workflow begun 30 minutes after the start time, but less than  a minute to complete after it did start. For example, the workflow was initiated at 3:30 pm in the history list. However, it started running at 4:00 and finished at 4:00 pm. The list  only has around 300 items. What can cause this?
Comment: depends on what are you doing in the workflow,  are you trying to connect to a different list to get items,  I would suggest to have a look at the ULS log entries after starting the workflow,  that will lead you to the real issue.
Answer: Things that can cause it are a lot of workflows executing in the system. It might have been batched and queued up.
The timer service on the server might have been stuck or processing large amounts of data at the time backing up the processing of other services.


Sun's Effect on Water Vapor in the Air

Question: If the air temperature remains the same, will adding more sun reduce the amount of water vapor in the air - that is, does the sun have any impact on water vapor in the air when temperature is removed as a variable?
Comment: Sunlight doesn't remove water-vapor from the air in any meaningful way.  UV light high in the atmosphere can remove hydrogen from water-vapor molecules, but in very tiny amounts relative to the total amount of water-vapor in the atmosphere (explained in the answer. below).   Sunlight does play a role in evaporation.of surface water, as does wind and for rivers, terrain and vertical drop.   In short, Sunlight has more effect on liquid water on the surface than water in the air.   More sunlight would evaporate more water.
Comment: I would assume that we have more water vapor because we need to store the solar energy somewhere (through the liquid-gas phase transition of water we "consume"/convert energy; see e.g. [latent heat](https://en.wikipedia.org/wiki/Latent_heat)). But that is just a guess.
Comment: Could you maybe clarify why do you expect the amount of water vapor to decrease in this situation? Maybe I am wrong  or misunderstand your question. And welcome to EarthScience.SE!
Comment: A very broad question that really can't be answered without some better idea on how you're thinking. Are you talking about in a day or over climatic timescales? For an individual location (near water or not?) or over the whole globe? Are you saying something helps maintain air temp (airmass advection?) or we're interested in just latent heat (basically magically turning off sensible heat from the land and even the warming ocean surface layer)? What about indirect factors like changes in clouds, horizontal wind, cloud formation, and vertical mixing since energy transfer to the air is changed?
Comment: But overall, solar energy helps increase evaporation by providing energy to the water, as long as there's still "room" to store the moisture [i.e. the air isn't saturated... no fog]... though over long timescales equilibriums will be reached.  Consider that a steaming hot cup of water will evaporate much more quickly than a cup of cold water.  However this evaporation is also transferring latent heat into the atmosphere, so it's truly impossible to remove temp change from the air unless you counteract them using with other factors (which themselves have consequences on the energy\water budget)
Answer: You need to define what you mean by 'adding more sun'. I'm asuming you mean 'increase the solar constant'.
The amount of water vapour in the air is, as a first order approximation, related to temperature - every degree of temperature rise gives us 7% more water vapour.  So if 'adding more sun' increases the temperature then it automatically increases water vapour.
Now, to add more sun without increasing the temperature, you'd have to compensate by doing something like painting large areas of land white; this would increase the Earth's albedo, reflecting the extra solar radiation. No temperature change overall, so no water vapor change.
The only direct effect of the sun on water vapor is something entirely different - through photo-dissociation. This is where the sun's UV rays directly break up water molecules.  However, in order to have an appreciable effect on the day to day concentration of water vapour, you'd need to replace the Sun with a much bigger and hotter star that blasted out far more UV radiation. The problem here is that everyone would die.
So as far as the question can be answered, it would be no under any realistic scenario.
Answer: When the density of atmospheric carbon increases, so too does the amount of water vapor in the atmosphere.
What is being overlooked is the effect that the water vapor has on the sunlight shining through it, as it serves to intensify it, much like a magnifying glass.
Comment: do you have any sources for your statements,i think you are oversimplifying this a bit in your answer.we are a science site i think we can handle it.

Sun's Effect on Water Vapor in the Air


Can I reset a VNC connection to a DomU?

Question: VNC to my DomU VMs works great. The only problem is that I can only have one vnc client at a time connected, and if someone leaves a session logged in, or if I am disconnected suddenly, I have to wait for it to time out before I can connect again. Is it possible to reset a vnc connection from the command line in Dom0 so I can reconnect immediately? Note that I'm using the built-in vnc in Xen 4.0, not vncserver running in dom0.
Answer: The VNC gets connected to a X-server in the DomU. Perhaps you can kill the session by terminating or restarting that X-server.
Comment: This is just not true for builtin vnc.

Can I reset a VNC connection to a DomU?


How do you find out someones soundcloud userid?

Question: I've literally looked everywhere and cannot figure out how to find someones userid that I can use inside their embed code. Anyone know how to find it out?
Answer: Simply take a look into the source head section.
<meta property="twitter:app:url:googleplay" content="soundcloud://users:IDHERE">
<meta property="twitter:app:url:iphone" content="soundcloud://users:IDHERE">
<meta property="twitter:app:url:ipad" content="soundcloud://users:IDHERE">
<meta property="twitter:player" content="https://w.soundcloud.com/player/?url=https%3A%2F%2Fapi.soundcloud.com%2Fusers%2FIDHERE&auto_play=false&show_artwork=true&visual=true&origin=twitter">

and several other meta tags ...
Answer: Tim's project seems to be broken. Figured I'd just copy and paste the solution here. Thanks subZero!
curl -v 'http://api.soundcloud.com/resolve.json?url=http://soundcloud.com/YOUR_USER_NAME&client_id=YOUR_CLIENT_ID'

Answer: Check out What is my SoundCloud user_id? from timpietrusky:
http://timpietrusky.github.io/what-is-my-soundcloud-user-id/
If you want the user id of another user, you need to have their permalink (containing the username). Then you can use the /resolve endpoint from the API to get their data, including the id
Learn more on /resolve in the documentation
Answer: If you have the soundcloud user name and just need to find the id (i used it to get the RSS feed for another user): Go to the soundcloud page (eg: https://soundcloud.com/50_cent), right click and view source, look for the id (eg: soundcloud://users:1548017). That's your user id: 548017
Comment: you can find it in the meta tags on once you 'view source' , just do a search for "users" and you will see it pop up multiple times
Answer: Update:
First of all, use documentation Reference /resolve for up to date solution.
http://api.soundcloud.com/resolve?url=http://soundcloud.com/USER_NAME&client_id=YOUR_CLIENT_ID

Replace USER_NAME with user name from regular SoundCloud link like https://soundcloud.com/USER_NAME, and you app's client ID.
Note, there is no .json in /resolve anymore.


How do I create a Minecraft server?

Question: Someone please tell me how to create a Minecraft server.
Answer: The short story is you grab the server from here and launch it using Java like this:
"C:\Program Files\Java\jre7\bin\javaw.exe" -Xms1G -Xmx1G ^
                                           -jar Minecraft_Server.exe nogui

...or
java -Xms1G -Xmx1G -jar minecraft_server.jar nogui

...making sure you adjust the paths for both java and minecraft_server.jarto accomodate your system setup.
The long story is told in excruciating detail here.
Answer:
First, you will need to open a port on your router, so people outside your house can connect. This is different based on what router you have, but the router's settings page is usually a good place to start
Next, you will need to get the Minecraft Server software. If you're on Windows, you can just download the EXE file and double click it to start the server. For Mac or Linux, use the JAR file and use java -Xmx1024M -Xms1024M -jar (where you saved the JAR file) nogui to start it

Note that the server's files will be created wherever you saved the EXE file. You might want to move it first

Finally, you can start minecraft and log into your server by clicking "Add Server" and then using localhost:25565 However, for your friends, you'll need to give them your external IP address. You can find this by type in What's My IP Address? into Google, then adding :25565 at the end.

The settings of your server are saved in a file called server.properties. You can change things like the server port or the default game mode.
Answer: The general rule of making a public server is "If you have to ask, you shouldn't." That said, if you're still determined, this should help: Tutorial
Good luck! :)
Comment: Yeeeaaah… that's pretty good advice actually.
Answer: If you are trying under a Windows environment, I wrote YAMS to automate all of the steps and make management easier.
YAMS includes UPnP port mapping, automatic updates and web-based control.  Details are all on the linked website, and it's open source.
Comment: You write YAMS? Doesn't seem legit
Comment: Admittedly it hasn't been updated in a long time due to work and family commitments, but it still (mostly) works. What doesn't seem legit about it?

How do I create a Minecraft server?


Inversion Coefficient Based Design in CMOS amplifiers

Question: I have designed amplifiers, using potential division method.
What are the steps to design differential amplifier using inversion coefficient  based design methodology?
Please provide links/references of designs with this technique.
Comment: I believe you're talking about the feedback coefficient (β). Am I right to assume so?
Comment: No. I want to start from designing common source amplifier, differential amplifier and opamp using this technique
Answer: The paper by Su, et al gives a specific example of designing a high temperature OTA, using design methodologies around IC parameter. They generally point out that inversion coefficient design can start by targeting weak, moderate, or strong inversion, ideally independent of process. And so one can start out by finding which region optimizes a designer's given constraints. You can plot out a curve of some desired parameter (gm/Id, ft, etc) vs IC, to get a sense of what value of IC corresponds to what region. Then use that IC as a starting point.
According to the authors,
"In  [13]*,  moderate  inversion  optimizes  the
tradeoff between gain, speed and power consumption."
So right away, you can zoom in on designing around this region to optimize the constraints mentioned earlier.
The authors also recommend modeling using EKV, instead of BSIM models for accuracy in moderate inversion.
Here's a blog with a more concrete realization of the above steps, based upon a design seminar by Willy Sanson. In it, Sanson shows one only needs the process independent IC (based on region as above) and channel length, to optimally design an OTA with gain and bandwidth constraints.

*The source they refer to in 13, is David Binkley's text "Tradeoffs, and Optimization in Analog CMOS design."
Binkly is a proponent of using IC modelling for porting over designs in different processes (esp. sub micron), and discusses it at length in his text.
Answer: Assuming this is limited to CMOS RF design; but you must do your own homework to find links e.g. Researchgate, Google Scholar, Microsoft Academic.
a priori

Choose the SPECS for BW(f), Linearity, 3OI, Power Gain (Gmin), Noise Figure, (NFmax), Power (Pmax) standby power, etc.
get select all spectral values of each active and passive component after selecting Inversion Coefficient(IC) vs channel length(L),

simulate IC vs {Vgs, Cgs, Id, fT, gm, gm/Id,...}
define IC, Id, L,
compute W, gm, gds, Cgs, Cgd,
verify specs  and repeat until converged or all tradeoffs are met.

Design Optimization Methodology Based on Inversion Coefficient Parameter for CMOS RF Circuits. Available from: https://www.researchgate.net/publication/268219100_Design_Optimization_Methodology_Based_on_Inversion_Coefficient_Parameter_for_CMOS_RF_Circuits [accessed Jul 19, 2017].
Comment: Thanks for the advice. The design specs are gain, ft and power dissipation.  I started with determining the technology current for nmos and pmos.


Time synchronization in XFCE 4.8

Question: Apparently there is no gui in XFCE (as there was in gnome) to synchronize time with NTP (if there is one, please let me know the name of the application). So, how can I synch with the time servers?
(I'm using Debian wheezy)
Comment: try using command `ntpdate .pool.ntp.org` and if you want it to be updated as soon as your computer starts add it to the deamon list. see  at `www.pool.ntp.org`
Comment: Look into your distro's docs, it's usually a single configuration file edit and possibly activating a service.
Answer: On Debian you can either install the ntp package, which will run a daemon that automatically keeps your clock synced, or the ntpdate package which provides a command to run manually to sync the clock.
Personally I run the ntp daemon so I never have to worry about it. Simply installing the package should be enough to get it started and syncing your clock automatically.
Comment: @sterz the daemon is called ntpd and it should be run automatically and show up in the process list.
Comment: i've installed `ntp` package, so i guess the daemon runs automatically? 'cos i cannot see it in the process list.
Comment: yes indeed it is running, saw it when i ran `ps -A`. gnome system monitor didn't show it...weird.
Answer: If you don't want to install the daemon you can install the client instead (package ntpdate) and put something like this in an executable file in /etc/cron.weekly/:
#!/bin/sh
#
# sync system clock

set -e

COMMAND="/usr/sbin/ntpdate-debian"

if [ -x "$COMMAND" ]; then
    "$COMMAND"
else
    echo "`basename $COMMAND` not found"
    exit 1
fi

It'll update the clock on a weekly basis. Also, I'd recommend installing anacron if your machine is not turned on 24 hours a day.
Answer: Constantly running a daemon for time synchronization on a workstation feels like an overkill to me. The ntpdate package suggested by others is intended for machines with intermittent network connectivity (by default it is run whenever a network interface is brought up, which may not be desirable) according to the README.Debian. Furthermore, the same readme recommends a more light-weight alternative - rdate. Having installed it all you need for daily time synchronization is
$ cat /etc/cron.daily/ntp-time-sync
#!/bin/sh

rdate -an pool.ntp.org | logger -t "NTP(rdate)"

The -a instructs rdate to use adjtime(2) to gradually adjust the system clock. Skip it if that's not important or the machine is often turned on for short periods of time. Piping through logger is also optional, but useful to verify the sync works and for occasionally checking the clock skew.
Answer: I had the same issue after installing Sparkylinux(xfce) 3.6
Although I had my timezone and local time setup accurately, the clock showed four hours ahead.
I installed two packages and the time synced up right away.
The packages that installed are: ntp and ntpdate.

Time synchronization in XFCE 4.8


Can I still travel by air even if I applied for indian visa travelling by road?

Question: I have applied for an Indian tourist visa not knowing I clicked travel by road via Haridashpur. Am I still able to travel by air?
Comment: What country issued your passport?
Answer: Are there any conditions applied to your visa? Does it day you can enter only though particular cities or via a particular mode of transport? If not, you're good to go.
Some Indian visas are indeed restricted in those aspects but those restrictions are mentioned on the visa.
Answer: When you apply, they ask for your itinerary. Many countries do (Russia for example).  However, it's more to get an idea of what you're planning, to see if it's feasible (eg have you thought it through) than a hard and fast "you must do this".
Once approved, you can change. We did while driving autorickshaws - they go slower than expected and people got sick.  What if there's a traffic jam, or an accident and you can't make your planned itinerary.  It's reasonable to change.  Just make sure your insurance knows about it, and if you let your government know, as many do (eg SmartTraveller in Australia), make sure you update that.


Saving an image from an URL to a local file in C#

Question: I have the following code which save an image with an URL to a local file.
using (WebClient client = new WebClient())
{
    client.DownloadFile("http://images.craigslist.org/00o0o_kFhPDdTGf2e_600x450.jpg", "c:\\Tmp\test.jpg");
}

But when I run it, I get an exception. It said 'An exception occurred during a WebClient request."
When I see that exception in deubgger. It said 'Illegal characters in path.'
I check that url is valid via my browser. So what is causing the problem?
Answer: Your path contains a tab character: \t. Escape the second backslash: "C:\\Tmp\\test.jpg"
Answer: "c:\\Tmp\test.jpg"

You forgot to escape the second t.
You should either use @"c:\Tmp\test.jpg" or "c:\\Tmp\\test.jpg"
Answer: Just put an @ symbol before the path names.
       using (WebClient client = new WebClient())
        {
            client.DownloadFile(@"http://images.craigslist.org/00o0o_kFhPDdTGf2e_600x450.jpg", @"c:\Tmp\test.jpg");
        }

Answer: Your path contains \t which is an illegal path character. Back slash is a reserved character in C#, for characters like tab and line ending, and so must be escaped.
You can either make it a double back slash "C:\\Tmp\\test.jpg", or escape the whole string with an @ character at the beginning @"C:\Tmp\test.jpg"
Answer: You should use, @ symbol like this
      using (WebClient client = new WebClient())
        {
            client.DownloadFile(@"http://images.craigslist.org/00o0o_kFhPDdTGf2e_600x450.jpg",                                @"c:\\Tmp\test.jpg");
        }

Answer: Try:
"C:\\Tmp\\test.jpg"

for your filename
Treat those like any other string. The first backslash is the escape character, the second is to recognize the backslash


No documentation in Android Studio 4.0.1 (Linux Mint)

Question: I don't get any description. I've reinstalled Android Studio, deleted whole android profile and cache but still it did't help.
Answer: Edit1 - Note: When new API's are released, the documentation is not always released with it. You need to check their update log to determine that.

Install the Sources of the API you are using.
The documentation will show up afterwards.
Steps:

Tools -> SDK Manager
Check "Show Package Details"
Check the required API Source
Wait for indexing to be finished.
Comment: @priojeetpriyom, API 30 is still in preview. I doubt they will dedicate time to create a documentation while any part can be changed or dropped.
Comment: @RezaM. but it seems we can use 30 API and enable documentation by checking sources of 29 API
Comment: The source for API 30 is not on the list. Any suggestions?
Comment: @RezaM. though there is no `Preview` suffix, it seems like it's stable
Answer: When I faced this issue it was because the compileSdkVersion set in app build.gradle was only installed partially according to the SDK manager.
Installing the SDK for the compileSdkVersion fully fixed the documentation issue on Mac OS AS 4.0.1. This is accomplished by simply checking the checkbox.
To illustrate, on this image the documentation would work with compileSdkVersion set to 26 or 29, but not when set to 28 or 30.
Answer: Faced the same issue. Clearing cache doesn't seem to the trick.
The thing here is - Sources for Android 30 is not yet available in SDK Manager. So we need to use android 29 at least for development environment to see the documentation. Go through the following steps :

Download Sources for Android 29

Update the following properties in app/build.gradle file :
compileSdkVersion 29
buildToolsVersion "29.0.2"
targetSdkVersion 29


Can the accuracy in Planck's constant ever be increased?

Question: I guess I am having some confusion about the history of  calculating Planck's constant.  I see the mass of the electron may come into the equation here but isn't the measurement of mass based mostly on how accurate instruments are? I assume it's not something that can be derived like the ratio of a circle to it's diameter? (flat space).  There is measurement involved here and limitations of instrumentation? So can its accuracy ever change or am I just way off course here, may be the case.
Comment: Groups around the world, such as NIST, spend lots of time trying to improve measurement technology and techniques so they can measure fundamental constants more accurately. So, yes, the accuracy will change.
Answer: Following on from Jon's comment above, this is from the NIST Website (Dated June 21, 2016), discussing a more accurate measure of the kilogram, and the involvement of Planck's constant.

A high-tech version of an old-fashioned balance scale at the National Institute of Standards and Technology (NIST) has just brought scientists a critical step closer toward a new and improved definition of the kilogram. The scale, called the NIST-4 watt balance, has conducted its first measurement of a fundamental physical quantity called Planck's constant to within 34 parts per billion – demonstrating the scale is accurate enough to assist the international community with the redefinition of the kilogram.
Planck's constant lies at the heart of quantum mechanics, the theory that is used to describe physics at the scale of the atom and smaller. Quantum mechanics began in 1900 when Max Planck described how objects radiate energy in tiny packets known as "quanta." The amount of energy is proportional to a very small quantity called h, known as Planck's constant, which subsequently shows up in almost all equations in quantum mechanics. The value of h – according to NIST's new measurement – is 6.62606983x10-34 kg∙m2/s, with an uncertainty of plus or minus 22 in the last two digits.

The NIST-4 watt balance has measured Planck's constant to within 34 parts per billion, demonstrating that the high-tech scale is accurate enough to assist with 2018's planned redefinition of the kilogram.
Answer: Planck's constant's accuracy can indeed be increased. As detailed by this website, there are five main different ways of calculating Planck's constant, each with varying levels of uncertainty.
Approximately every four years, a organization called CODATA (more specifically, its Task Group on Fundamental Constants) publishes the most up-to-date values for fundamental constants, including Planck's constant. The most recent update came in 2014 (though it was technically published in the middle of 2015). The value for Planck's constant in this update was $6.62607004 \times 10^{−34}\,\mathrm{J}\cdot \mathrm{s}$, with a standard uncertainty of $0.000000081 \times 10^{−34}\,\mathrm{J}\cdot \mathrm{s}$.
This paper as well as the websites linked have more information.
Answer: From 2018 (most probable date at the moment), with the redefinition of the International System of Units (SI), the Planck constant will have an exact, permanent, value, with zero associated uncertainty, assigned according to the latest (2018) adjustment of the fundamental constants made by the CODATA group (see related answer here).
Comment: @Schwern My understanding is that the uncertainty in measurement will still be there, but instead of uncertainty about the value of Planck's constant given the mass of "the" kilogram in Paris, it will then be the uncertainty of the mass of said kilogram given the then-defined value of Planck's constant...
Comment: @JonasHeidelberg Yes, it's exactly like that: the uncertainty will be transferred to the _realization_ of the kilogram. I'm writing from the phone and I couldn't expand on that now.
Comment: Assigning an official value to the Planck constant doesn't suddenly remove the problems in measuring its actual value. Declaring a year to be 365 days still means the calendar will drift out of sync with the seasons.
Answer: No. In sensible units, Planck's constant reduced is exactly 1. Its accuracy cannot be improved in any meaningful sense.
In non-sensible units such as humans sometimes use around the house, Planck's constant is a mishmash of mass, length and time units. Since the mass unit (the kilogram) is not defined physically, it must be measured, and that measurement can be improved. Indeed, it must be improved in order to change it to a physically defined version, which should happen within a few years.
Comment: The downvote button says "This answer is not useful". Sure, you can redefine anything you like to be 1, but you still need to measure it to be useful."What is the mass of the Sun?" "1." "1 what?" "1 Sun." It's a circular definition. You don't suddenly know how massive the Sun is just because you declared its mass to be 1. Any derived measurements can still only be as accurate as your measurement of the Sun's mass.
Comment: Huh. Am I getting downvoted because people don't know that this is true? Or they hate my casual tone? Or they want more citations? Or what? I'm puzzled.
Comment: I don't believe that's actually true. You certainly can't define something unitful to be 1 in a sensible way. Planck's constant is a ratio of units, so it defines the relationship between mass, length and time in a specific way. There's a deep and significant meaning to the fact that this, G and c can be set to 1.
Comment: This is, basically, [what the SI units are doing](https://en.wikipedia.org/wiki/Proposed_redefinition_of_SI_base_units). Except instead of setting it at 1 they're keeping their historical values. But you still have to measure them. And that still has inaccuracies. You'll still get slightly different measurements of what 1 is supposed to be.
Comment: This is why I posted a new answer even though 2 people already offered these measurements of the value of the kilogram as answers. The value of the kilogram is interesting (to humans) and measurable and you can express Planck's constant as a ratio of the value of the kilogram to some other stuff. But fundamentally, the value of the kilogram it doesn't have anything to do with the universal constant.
Comment: Xerxes...I think your approach is significant.  I am researching this further and will get back latter.
Comment: I've found your style funny :-) But some people thinks it is bad. Afaik, there is a problem with the Planck units: the gravitational constant can't be measured very well, compared to the mass of the good old platina brick.


If a search yields no results is it possible to show an alternative set of results?

Question: I'm using Views to override a search administered through Search API. If a search yields no results is it possible to show an alternative set of results? For example, if I searched for "grettrr" and no results were found I'd get the usual "No results found" message, but underneath this message another message that says "Take a look at these instead" would display along with a set of alternative results. These alternative results could be shown based on specified taxonomy terms.
Answer: It is possible: Under the "Advanced" panel of your view (collapsed to the right of the screen), add a new behaviour to the "No results behaviour", then add a "Global: view area" reaction. You can add any view there.


How can I hide the Tool-bar in Emacs persistently?

Question: I have installed emacs23 on Linux Mint 8. I would like to hide the toolbar, and I can do it with Options > Show/Hide > Tool-bar. But the Tool-bar comes back next time I start emacs. How can I hide it persistently?
Answer: Add the following to your init file (~/.emacs or _emacs or ~/.emacs.d/init.el):
(tool-bar-mode -1)

Comment: Could `false` be used instead of `-1` as the value to achieve the same result?
Comment: @Leif I don't know about `false`. But you *can* do `0`, which is what I use, and that's pretty well understood to be false-y.
Answer: Emacs has a nice built-in customization interface.
Select Options › Customize Emacs › Specific Option, start typing tool, then hit TAB to see the options starting with tool. Choose tool-bar-mode then. Toggle its value to switch it off, and press Save for future sessions.
Comment: Sanoj: the best fix for that, if you don't know any lisp, is to make an empty .emacs, and then copy parts of your old .emacs in one at a time and make sure no errors show up in the *Messages* buffer at startup for each portion you add back in. Or you can put a ";" before lines to comment them out, and follow a similar process of uncommenting a small section, and making sure there are no errors when you restart.
Comment: Thanks, this was a more general solution. But when I pressed "Save for future sessions", I got "Cannot save customixations; init file was not fully loaded" ...so I think I have some problem with my `.emacs`-file, but I don't understand it.
Answer: Just for future reference.
~/.emacs file with tool-bar, menu-bar and scroll-bar hidden
;; Disabling things
;;-----------------------------------------------------------------------
(menu-bar-mode -1)
(toggle-scroll-bar -1)
(tool-bar-mode -1)

;;Note: If, after turning any of these off, you want to re-enable them for a single emacs window, you can do so by pressing Meta-x and then typing the command at the M-x prompt. (Copied from Web)
;;Example:
;;M-x tool-bar-mode
;;will turn the toolbar back on.
;;-----------------------------------------------------------------------

Now, your emacs will look like this.
Answer: I agree with michael. But if you only add this line to your .emacs file, there will be errors when you run emacs in the command line mode. Thus, a better solution may be adding the following to you .emacs file:
(if window-system
    (tool-bar-mode -1)
)

so that, tool bar will be hidden only when you run it in GUI. Emacs in command line mode does not seem to have a tool bar.
Comment: I'm not seeing this problem with Emacs 24 FWIW.
Answer: I found this thread but none of the answers helped me directly. I wanted to hide the tab bar rightaway but I wanted to also be able to show it if needed.
So after some searching and then RTFM I realized that one can do M-x toggle-frame-tab-bar. This is handy as you can bind it to a key and toggle it whenever you want it in that particular frame. In Emacs 28.2 it seems like there is a bug and the frame is not refreshed/repainted after the toggle, but when you move the point (e.g C-n) then you see the effect of the toggle.


What amount of humor is acceptable?

Question: Like usual, the title sums up my inquiry. Most of humorous posts seem to have informational value and comedic value, so I think they should be welcomed. I have also noticed that they tend to have high ratings. Here is an example, but only the title is humorous. I have seen some others in the past, but I couldn't remember what they were about. If anyone wishes to add more examples, please feel free to.
Comment: I think the best answer here is that humour is acceptable when it does not impede on the quality of the question/answer.
Comment: I am not really sure what you're asking here. Like "how far is too far" with question titles?
Answer: If you're trying to make the question funny, it's not going to be. The best question titles are accurate and descriptive - humor is a nice bonus, but it's certainly not more important than the question being clear and searchable. Forcing "funny" question titles doesn't do anyone any favors, and should be avoided. Sure, you might get those hot network question upvotes... but too often questions are edited after the fact to make the title "more funny". This should be avoided at all costs.

What amount of humor is acceptable?


Do short throw shifters cause damage even if used correctly?

Question: Assuming a driver shifts following all best practices applicable to shifting with the factory shifter, will using an aftermarket short throw shifter cause any damage to the transmission?
Comment: Seeing as any damage done would be by the user's shifting technique, then NO, but you didn't ask that. You asked if you can use the same technique as with the factory fit, in which case YES. (Aside: it might invalidate your warranty or insurance).
Answer: If a driver is using the shifter correctly, then no ... there should be no difference in wear one from the other. For a short throw shifter to become "short throw", the manufacturer changes the fulcrum point of the shifter from a stock location to a point higher above the shifting point. This makes the length of the shifter below the fulcrum longer and the length above to be shorter. This means to move the lower portion further, it takes less motion above. It is simple mechanical advantage. All else being the same, it should do nothing to create more wear/tear on the transmission.


Hydronic baseboard heating and warm floors

Question: I have hydronic baseboard heating throughout my house and have been having issues with air in the system. Since I've lived here (4.5 years) I've noticed that certain floor areas are warm where the pipes run (I'm assuming through the slab). It didn't occur to me until now that that could be an issue. Is this normal or could it be a slab leak? I should note that there is wood flooring over part of it and it is not warped or anything. I have no idea if this is normal so your help would be greatly appreciated.
Comment: There is air dissolved in water, as it's heated it tends to separate from the water.  There are air vents designed to let the air out, if you look at the pipes near the heat source, you should see them.  They might look like https://www.lowes.com/pd/Watts-Air-Vent/3308036.  Do you see these installed in your system?  Sometimes these leak water too.
Answer: If you're worried about a leak, check the pressure in your water heating. There should be a pressure gauge somewhere, probably on the boiler. If the pressure is in the normal range, then leaks are very unlikely. The "normal pressure" should be in the manual, or labeled on the gauge. You can always write down the value and check again a few days later. If it stays the same, there is no leak.
Normally a leak is pretty noticeable, since there should be no system in place to refill the circuit automatically, so the heating just stops working because there's not enough water.

I've noticed that certain floor areas are warm where the pipes run (I'm assuming through the slab).

If the pipes were installed right in the slab without insulation, that's normal.


Short scifi story about a man that dies in a car crash then wakes in new body

Question: This was a truly haunting story - a man dies in a car crash and knows that he's done for.  Then he wakes in a new body and it's explained that his brain was salvaged and then transplanted into a man who suffered brain damage.  Everything's going great until his body-donor's wife shows up.  Thanks for any help.
Comment: What happens when the wife turns up?
Comment: @NKCampbell - Wasn't this the plotline of critically-acclaimed hollywood hit movie "Freejack"?
Comment: hmm...maybe the original source material? https://en.wikipedia.org/wiki/Immortality,_Inc.
Comment: there's a similar sounding movie: https://en.wikipedia.org/wiki/The_Brain_That_Wouldn%27t_Die
Comment: NKCampbell is correct with his identification of the original story Immortality Inc. as the story in question. I read it a number of years ago and it matches exactly what Fluxian has asked. The following synopsis contains all the points mentioned in the question. http://www.sciencefictionmuseum.com/stories/reviews/snop008.html
Comment: @beichst Immortality, Inc. was about transfer of consciousness rather than actual brain transplant.
Comment: @Fruitbat.  You are correct. However, the line between a brain transplant and transfer of consciousness is pretty thin. As Fluxian is trying to remember details, it would be an easy one to cross. In particular as all the other details are spot on.
Answer: If NKCampbell and/or Valorum want to take credit for this answer as they raised the idea first, they are welcome to the points. As no answer was listed, am putting this in for now.
I am going to suggest the original source as Immortality Inc by Robert Sheckley. While it was not a pure brain transplant per se, the general concept of a mind transfer is certainly the same. In particular that the story matches in all the other details specified in the linked synopsis and from what I remember reading.
Points that match:

a man dies in a car crash and knows that he's done for.

Check.  The story opens with Thomas Blaine driving down a New Jersey highway. He is returning to New York, where he works with a yacht-designing firm, after a week long vacation at his Chesapeake Bay cabin. Blaine suddenly loses control of his car and swerves into an on-coming vehicle.** The story reads, "…At that moment he knew he was dying. An instant later he knew that he was quickly, commonly, messily, painlessly dead."

Then he wakes in a new body

Check. Blaine wakes up in a hospital bed, as the next chapter begins.

and it's explained that his brain was salvaged

Check. He is in a room surrounded by medical personnel. They are commenting on his reactions to waking up, realizing he is still alive. Blaine also meets Marie Thorne. He views her as attractive but coldly professional. She too is interested in his responses. She tells him that his body has died but that they have saved his mind and given him a new body.

Everything's going great until his body-donor's wife shows up.

Check. He is on the street one day, when a woman seems to be staring at him. They speak; she recognizes the body as that of her husband's Frank Kranch.
Comment: Okay.  I edited it and changed to Community Wiki.  Is that the correct procedure?
Comment: NP. I think it is fair that you and other get points as you suggested it first anyhow. I will get to 10k when I get there.  No rush.  :-)
Comment: can turn it into a community answer
Comment: Thanks. I have not done that before. I will need to figure out how to convert it.
Comment: I think that's fair :) - sorry to keep you from almost hitting 10k :D


BGE animation property?

Question: Is it possible to give an animation frame a property so to say?   I want to hold down a button and play the beginning or first half of my animation.  Call it frame 1-12.   A flipper animation.  IF you hold it down until frame 12 I want frame 12 to trigger the next 12 frames of the 24 frame animation.    Essentially If you dont hold the attack button long enough it wont play the full attack.  Just the wind up frames... Then revert/flipper back to the beginning.      What is a way to accomplish this?
Answer: I think I may have an answer for that- but it requires an xbox 360 gamepad. Check out this game if you have a 360 controller...

BGE animation property?


OOPS - installed Kylin and don't speak Chinese

Question: In my attempt to install a 32 bit version of Ubuntu I accidentally installed Ubuntu Kylin... is it possible to just remove the theme, or will I need to replace the OS with completely different version of Ubuntu?  If so, can someone direct me to a 32 bit version for my vintage Toshiba Satellite U305 S5077?
Comment: You can install English language support. I'm surprised you haven't chosen system language English in the installer - there's option for that. I'll put together an answer on how to switch system language, will let you know once posted.
Answer: Ubuntu Kylin is a totally chinese version. If you can find the keyboard settings you will be able to install more languages but ... good luck with that.
You can find all versions on the releases page and the alternative downloads page.


For a absolute beginner, how to start to learn Emacs and AucTeX?

Question: I am a student in pure math. And I would like to learn LaTeX in the next 3 months. After searching in Quora and some other websites. I find a lot of experts saying that although it is hard to get start, getting used to use AuCtex is very benefitial and time saving. So now I find myself very passionate to try it. However, so far, I am not able to find any material which is readable for such an absolute beginner without any experience in lisp, editor and LaTeX. Now my question is: For a person without any knowledge of lisp, editor and LaTeX. How to get start of learning it in 3 months? It is acceptable for me to  spend some time on learning programming and LaTeX. I am just asking about What exactly May I read or do. And help would be appreciate, thanks in advance!
Comment: Yes. I started with Emacs and AUCTeX. Within three months I had written a draft of a substantial chapter of my thesis (in the humanities, mind you). The sophistication of that first draft chapter in terms of LaTeX code was not impressive, and my use of Emacs+AUCTeX was not impressive either. But that's the beauty of both: it is a continual learning process. But it's not like you can't get the job done just knowing the basics. For Emacs, the first thing to do is to open the editor and click on `Emacs Tutorial`. That'll explain the basics of navigation, etc. Start there.
Comment: There are some useful resources about AUCTeX here on TeX.se: "[Useful shortcuts or key bindings or predefined commands for emacs+AUCTeX](http://tex.stackexchange.com/q/20843/31416)", "[What is your favorite Emacs and/or AUCTeX command/trick?](http://tex.stackexchange.com/q/52179/31416)", "[A simpleton's guide to (…)TeX workflow with emacs](http://tex.stackexchange.com/q/50827/31416)".
Comment: @jon Yes. I have done with that tutorial . And I found that it is basically about the keyboard shortcut, but there is not something with how to do with LaTeX or how to run a program or how to compile. So what next can we do?
Comment: Have you installed AUCTeX? When you visit a `.tex` file, are you using AUCTeX? (Often, this means adding some settings to your [`.emacs` file](https://www.emacswiki.org/emacs/AUCTeX#toc2).) If so, running `C-c C-c` will run `latex` (or `pdflatex` or `xelatex` or `lualatex`).  Your question is very broad. Skim the [AUCTeX manual](https://www.gnu.org/software/auctex/documentation.html). Ask questions about specific things when you have them. Of course, some of those questions may belong on [Emacs SX](http://emacs.stackexchange.com/questions).
Answer: I advise against learning LaTeX and Emacs from scratch together. In the beginning you'll never know where to look for the error. Emacs is a real beast. There are many possibilities to cause errors on the Emacs side, which seem at the first look to be errors of LaTeX and the other way round.
You'll have so many issues to tackle with: get forward and backward search work, spell checking, math, pdfTeX or LuaLaTeX?, encoding and so on.
Buy a book with an introduction into LaTeX, use the editor which the author recommends. As far as I know, there is no book that introduces into LaTeX and starts with Emacs + AucTeX. Guess why.
Saying this, I've been using Emacs for almost a decade and its a very good. And I always advise to use KOMA-script as a backbone for a document.
Comment: having been required to learn emacs as a prerequisite before being fully introduced to tex (before either latex or auctex existed) i can confirm that the emacs tutorial is a good way to become familiar with the basics.  but i think that whether or now koma-script is a good "default" basis for learning latex depends a lot on where one is located in the world.  in much of europe, yes.  but in north america, becoming familiar with the basic original classes would be much more useful; they lack many features, but do cover the important structures.  then add `mathtools`.
Answer: For them who are using linux and gnome here is a way to learn quick the emacs shortcuts :
https://unix.stackexchange.com/questions/378380/debian9-gnome-see-basic-emacs-commands-in-background-image
I will try to expand my answer for kde too...
If someone of you think that my answer is off-topic, don't hesitate to delete it. But I think may help some linux users and give a good idea to the rest of you...
I don't just use that method for emacs only but for basic latex commands too and it is very useful "trick".
My background image used:
Comment: Thanks @Chill2Macht... (Understood your point but I have to say that emacs is cross platform too -just commenting to not leave the readers of your comment to misunderstand that it doesn't work on win or mac- and that most of today's OSs can accept shortcuts for almost any command.. and this makes the idea useful for other OSs... If they can't do it we always can use an alternative [just a reminder :P] ).
Comment: Even though I'm not currently using Linux, this answer was still helpful for me, because the underlying idea, find a cheat sheet of commands and make it a desktop background, is still useful and platform-agnostic.


Make OpenOffice Portable the Default Program?

Question: How do I make OpenOffice.org portable be my default document viewer on Windows?
Answer: Right-click on a document and select 'Open with...'. There should be a checkbox to open with that program every time.
By the way, OpenOffice.org has forked after the Oracle takeover. Take a look at this news article and LibreOffice.
Comment: (1) That's not the proper way to do it, I need to get it to show up as a real application in the Default Programs control panel item. That method doesn't "really" work, it's just a workaround. (2) Yeah I've tried LibreOffice but I really don't mind continuing to use OO. :)
Comment: 1. I don't see what is improper about this.

2. OO.o basically has no developers left. If you want maintained code, better switch to LibreOffice.
Comment: 1. It doesn't set the "true" default, it's just a temporary fix for the *file type* rather than for the *application*. Underneath the hood, in the registry, it's an ugly hack with file extensions, that still leaves traces of the old default in many cases... I've just grown to dislike this solution over time, because of the problems it causes later.
2. Okay, I'll think about it, thanks. :)
Answer: I use portable apps a lot, and I think the best way to make file associations (even permanently) is by using Portable File Associator, which is programmed using AutoIt (yeah!).  Unfortunately, I cannot find a working download link for it.  I do plan to make my own modifications to it soon.  I can give you a direct download link from my computer if you are interested in using it.
An alternative is eXpresso, which is made using AutoHotKey (boo!).  I do not like the way this one works that much, as it intercepts clicks rather than making registry entries in HKCU.


Passing Values to AMPScript Variables from API

Question: My email has a couple of AMPScript variables.
This email will be sent using API call. I don't want create profile attributes for these variables. Can I pass the values to these variables using the API call?
Answer: Yes, you can.  They become personalization variables in the email context. So if you pass an attribute in your API call named FirstName, you can retrieve it like this:
%%[
var @firstName
set @firstName = AttributeValue("FirstName")
]%%
Dear %%=v(@firstName)=%%,

You you don't have to create a corresponding Profile Attribute in order to use it.
Comment: Did this work for you?  If so, would you checking the check-mark beside my answer?  I'd appreciate it.  For more information about accepting answers, take a look at our [FAQ](http://salesforce.stackexchange.com/help/accepted-answer).
Comment: Hi @Adam, can I use the same solution to capture URLs? We have a password reset email where the reset URL is being via API. Will the same solution work for capturing URLs as well?


Find the Jordan canonical form

Question: $N$ is a nilpotent $15\times15$ matrix over $\mathbb{R}$ such that $$\dim(\ker N) = 5, \quad \dim (\ker{N^2}) =8, \quad \dim(\ker{N^3})= 11,$$ $$\dim (\ker{N^4}) = 13, \quad \dim(\ker{N^5}) =15$$ Find the Jordan form.
Comment: Hi. Please show us what you've tried and any partial progress you've made.
Comment: So i calculated the characteristic polynomial that is x^15 , minimal polynomial that is x^5 , no of jordan blocks that is equal to 5( dim of the only eigen value) and the dimension of the first jordan block that will be 5x5. How should i proceed now
Answer: Since $\dim\text{Ker}(N^4)= 13$ and $\dim\text{Ker}(N^5)= 15$ the maximal Jordan block is of size 5, and you have exactly two Jordan blocks $J_1$ and $J_2$ of size 5, indeed, if there are no such blocks the $N^4=0$ otherwise if there is just one such  block then $\dim\text{Ker}(N^4)= 14$. So it remains to calculate other blocks. Since $\dim\text{Ker}(N)= 5$ and the blocks $J_1$ and $J_2$ give you 2 vector of the kernel, then the other block must have in total 3 vector of the kernel, so the third jordan block cannot be of size 5 neither 4. Assume that $J_3$ has size 3 hence it gives you one vector of the kernel, and so the only other possibility are $J_4=J_5=0$ the $1\times 1$ $0-$matrix. Actually in this case you have $\dim\text{Ker}(N)= 5$ $\dim\text{Ker}(N^2)= 2+2+2+1+1=8$,$\dim\text{Ker}(N^3)= 3+3+3+1+1= 11$ and $\dim\text{Ker}(N^4)= 4+4+3+1+1=13$.
Moreover it is easy to check that other combinations do not satisfie all condition.
Comment: That was really helpful. Thanks

Find the Jordan canonical form


Lower Voltage Methods Other Than Voltage Dividing

Question: I have recently learned that voltage can be lowered using resistors to divide the voltage. This seems simple and easy. Before this I thought I had to use a voltage regulator or a zener diode to lower voltage. Is there any reason not to just use resistors? What is the benefit to these other methods? Other than the methods I listed, what other ways are there to lower voltage?
Comment: possible duplicate of http://electronics.stackexchange.com/questions/106718/when-would-i-use-a-voltage-regulator-vs-voltage-divider
Comment: Similar, but not exact duplicate.
Comment: Think about what happens when you draw current from a voltage divider and the load resistance changes.
Comment: possible duplicate of [how to reduce dc voltage using resistors?](http://electronics.stackexchange.com/questions/75448/how-to-reduce-dc-voltage-using-resistors)
Comment: ^the question isn't exactly the same, but the first answer answers OP's question. First link when google "how to lower voltage"...
Answer: There are probably as many ways to do it as there are engineers.  The common themes are:

Zener:

Few components
(Mostly) Immune to input variations
Not efficient at all but acceptable for low-power applications (you're powering the load through a resistor)
Used in analog or digital applications to provide a specific voltage for power or to provide a reference or to limit the "volume"  (distorts grossly when it becomes active, but it does the job, sometimes this is used artistically to create a sound, like for electric guitar)

Divider:

Few components
Passes input variations because it's actually a ratio of the input
Easily influenced by the load (sometimes this influence is done on purpose)
Not efficient at all for power (you're still powering the load through a resistor)
Used a lot in analog applications to reduce the volume or to provide a reference between supply rails

Linear Regulator

Few (IC) or many (discrete) components
(Mostly) Immune to input variations
Efficiency depends on the difference between input and output voltage (less difference is more efficient, but some headroom is required; you're still powering the load through the equivalent of a resistor, which is internal to the regulator and automatically adjusted)
Used in analog or digital applications to provide a specific, sometimes variable, voltage for power

Switching Regulator

Many components
(Mostly) Immune to input variations
(Usually) Very efficient because it's either hard-on (low loss) or hard-off (no loss) with a very short transition time (high loss), the switching frequency is then filtered out to leave the average, which is fed back to a controller.  (finally, we got away from the resistor!)
Used in digital applications to provide a specific, sometimes variable, voltage for power; not so much for analog because of the switching noise, though sometimes it might be forced into service with a ton of filtering

Note that a switcher is the only one that can also increase voltage; this is because it naturally has AC inside of it (the switching frequency) that can be passed through a transformer or at least an inductor.
Comment: If you are trying to lower the voltage of a battery, is dividing fine?
Comment: Depends on how much power you need.  If you want a reference that won't be loaded very much, if at all, then that's probably the way to go.  If you want to power something, use a regulator.
Answer: The issue with this method is that it is entirely based on the idea you will be pulling constant current. a slight impact in current draw can decrease or increase your voltage by an amount significant enough to ruin a project. here is a link to a previous answer
When would I use a voltage regulator vs voltage divider?
Answer: A voltage regulator is generally used to provide a fixed voltage for a wide range of currents.  The current drawn from the power source by the regulator will primarily be determined by the load current, with a small current used by the regulator itself.
The resistor in a resistor and Zener diode circuit must be selected to allow the Zener to control the output voltage with the maximum expected load current, while not exceeding the Zener's current rating when the load is drawing minimum current.  The overall circuit draws a bit more than the maximum current at all times, regardless of actual load.
A voltage divider is best used to provide a reference voltage to a high impedance load, as any variation in load current will change the current through the "upper" resistor, and therefore the voltage drop across that resistor will change with load, changing the output voltage of the divider.


Why does brining lead to firmer salmon?

Question: It often recommended to brine salmon with salt before sous vide, so it's firmer. On the other hand, salt tenderizes meat. What is the explanation of this opposite behavior.
Comment: It's not opposite behavior, fish is not meat.
Comment: @GdD I edited my answer to include meat as well.
Answer: Excellent question. The salt, through osmosis, takes humidity out of the meat. Less moisture leads to a denser product.
About meat:

The main structural component of the muscle fibers in meat is
  myofibril, which is itself composed of thick and thin filaments.
  Higher-than-normal levels of salt cause these filaments to swell and
  separate from one another and depolymerize, or break down. This
  process makes meat more tender.
For tenderization, salt is usually added to meat via a brine solution
  comprised of salt, water, and sometimes other flavoring compounds.
  Harold McGee describes the effect of brining in his book "On Food and
  Cooking"

Link
I hope that answers your question.
Edit I only answered half the question.
Link to a more detailed explanation about osmosis.

Why does brining lead to firmer salmon?


What did the Gnostics in first and second century believed about Jesus

Question: I recently read some very well-known gnostic writings that are under the name of "Gospel of Judah Iscariot" and "Gospel of Thomas", but they aren't written by Judah or Thomas. I don't really know what Gnosticism is. I read something about God having more "emanations", some "aeons", a "bad Demiurge" that created us. This doesn't make sense. I searched on Google about this. I understand that Gnosticism is a religion that add on top of Christianity 4000 years old Greek philosophy. I didn't really understands. What did those people that wrote those 2 gospels in the name of Judah and Thomas believe about Jesus. And the so called "Gospel of Judah Iscariot" seemed to me like a big heresy, but "Gospel of Thomas" didn't seem to be heretic or gnostic, in the text of it is presented a bit of the apostle's life like it is presented in the New Testament, there are presented some of Jesus's statements about loving enemies, helping poor. I didn't see anything about God "emanations", "aeons" and a "bad Demiurge", the "Gospel of Judah Iscariot" was full of those aberrations, so I don't understand why scholars call the "Gospel of Thomas" as being gnostic.
Comment: I think your first step might be to have a look at [Wikipedia - Gnosticism](https://en.wikipedia.org/wiki/Gnosticism).
Answer: Early Christianity specialist professor of Religious Studies Nicola Denzey Lewis wrote a short web article that answers your question: Was the Gospel of Thomas Gnostic?  As a PhD student, Ms. Lewis studied under Dr. Elaine Pagels, a professor of religion who wrote the 1979 groundbreaking and controversial study: The Gnostic Gospels.
Before addressing your questions, let's first explore why we can be sure that the early church considered that only the 4 gospels we have are canonical.  A Church grammar podcast episode John Meade on the Development of the Biblical Canon, Canon Lists, and Origen the Text Critic touched briefly on the Gospel of Thomas (min 28:30) saying that although people like Origen may made use of a portion of it

none of the church fathers ever said that the Gospel of Thomas was inspired and
the subcollection of the 4 gospels were established as early as St. Irenaeus

Your first question: why the Gospel of Thomas is considered Gnostic?
First we need to realize that it contains 114 sayings that are NOT placed in a narrative framework like the Gospel of Mark, making it hard to interpret, and which enables scholars to have 2 theories, whether it was the source of Mark or whether it is an abbreviated version of Mark.  Recent research has argued for the latter.  Regardless of the dating, because it doesn't have narrative framework, some sayings are more consistent with Mark's portrayal of Jesus, but some are NOT.  If we start with trusting the canonical portrayal of Jesus as authentic, then we can say that the sayings that don't are later additions more consistent with Gnostic teachings.
Your second question: How is the teaching of Jesus different than the 4 canonical gospels?
Nicola Denzey Lewis made the following 2 points in her article (emphasis mine) which I think made it clear how different the teaching is from orthodox Christianity:

According to the scholars who originally worked on the Gospel of Thomas, the text contained two Gnostic elements. First, it purported to contain "hidden" or "secret" knowledge (Greek, gnosis) that, if properly understood, could lead a keen reader to salvation. In the classic formulation of German scholar Hans Jonas' The Gnostic Religion (1960), gnosis is the salvific knowledge of one's spiritual origins. The Gospel of Thomas states early on that gnosis is its chief goal: "Whoever discovers the meaning of these sayings will not taste death" (GosThom 1). Second, Jesus behaves differently in the Gospel of Thomas than he does in the canonical gospels. He gives very strange advice, and there's no account of his crucifixion and resurrection. Even more remarkably, the Gospel of Thomas' Jesus seems to suggest that a reader who gains proper gnosis can actually become not a Christian but a Christ. Rather than placing their faith in Jesus, readers are encouraged to seek their inner Christ to find salvation.

For further details, I think Dr. Nicola Denzey Lewis's 2012 textbook Introduction to Gnosticism: Ancient Voices, Christian Worlds is a good resource.
Comment: But what are those strânge beliefs: a badea Demiurge that create us, emanations of God, eons?
Comment: @BogdanFloareș That's part of the Gnostic cosmology explaining the relationship between God, the spiritual world, and the material world (earth, sun, planets) as a stage for our place in it and how we can be saved.  Think of it like the more complex version of LDS cosmology that is already more complicated than the Christian one, which only posit visible universe, realm where angels & demons are, heaven where God lives, hell, and purgatory (for Catholics).  If you're interested in Gnostic cosmology, you can start with the [Wikipedia article](https://en.wikipedia.org/wiki/Gnosticism).


Does upgrading the Sacred Chime affect miracle damage and healing effectiveness?

Question: I know that miracle damage is affected by faith, but does upgrading the sacred chime also increase the damage of miracles and the effectiveness of healing miracles? The item status says it inflicts lightning and dark damage and this stat is increased by upgrading the chime, but does this mean the actual miracle damage or the damage done by its melee attack? Do any of those stats have an effect on healing miracles?
Answer: Yes, upgrading your charm affects the potency of miracles. This means that the damage of miracles such as Lightning Spear increase and the healing of miracles such as Heal also increases.
It's more effective to upgrade your charm than it is to add 1 point into Faith. Upgrading your charm once will add 20-40 damage to your Lightning Spear which is significantly more than adding 1 point into Faith.
In short; upgrade your charm to increase miracle potency
(Upgrading your charm also increases the melee attack if you are so inclined to bonk someone over the head with it)
To reflect the queries in the comments, I have tested the healing and it does increase the amount healed.
Comment: Thanks for your answer. :) Are you sure that it also increases healing effectiveness, do you have a source for that or is it your personal observation, because the stat numbers that change by upgrading the chime are the attack bonuses for lightning and dark. Since there is no specific number for healing, I don't know if the lightning attack bonus influences healing as well as it does the attacking miracles like lightning spear.
Comment: Does infusing a weapon with magic have any effect on sorceries?
Comment: @Mondrianaire I doubt that, I think it just adds the elemental damage stat to the weapon when it strikes. Since you don't use sorceries with the infused weapon, it won't have an effect on that. But anyway, that's a whole other question than mine ;)
Comment: Infusing your Staff with Magic will increase the potency of your Spells.
Infusing your Charm with Lightning will increase the potency of your Lightning Miracles.
Infusing your Charm/Staff with Dark will increase the potency of your Dark Spells/Hexes.


Continuous Map for the Compact Open Topology

Question: Suppose I have a map $\Phi:\mathbb{R}\rightarrow C_b(\Omega)$ where the right hand side is equipped with the compact open topology $\tau_{co}$. How to show that such a function is continuous with respect to $\tau_{co}$. I want to show this by the seminorms $(p_K)$ generating the compact open topology: $$\left\{p_K(f):=\sup_{x\in K}{|f(x)|}: K\subseteq\Omega\ \text{compact}\right\}$$ and not by the mean of the well-known subbase of this topology. Whats about convergence of sequences, how can that be expressed by seminorms? Thanks.
Answer: Well, $C_b(\Omega)$ has the initial topology with respect to those seminorms $p_K$, so simply show that the compositions $p_K \circ \Phi$ are continuous for all $K$. See the Wikipedia article on the initial topology 1 to see how this works (specifically look at the 'characteristic property').


openFDA Device Adverse Events missing for Dec, 2015 (as of 19-Jan-2016)

Question: There still appears to be a problem with the data for Dec, 2015... the following query returns zero results as of now:
http://api.fda.gov/device/event.json?search=date_received:[20151201+TO+20151231]
Answer: The data that powers that particular API is only available on a quarterly basis and is currently only available through Q3 of 2015.
http://www.fda.gov/Drugs/GuidanceComplianceRegulatoryInformation/Surveillance/AdverseDrugEffects/ucm082193.htm
Even though the data is released on a quarterly basis, the pipeline that updates the /drug/event.json endpoint is run on a weekly basis in order to update the openfda section of all the documents, since the openfda section's data sources update cycles are more frequent.
Please let me know if you have any questions. Thanks for you using the openFDA.
Comment: The information you mentioned is for Drug related Adverse Events, I am referring to the Device Adverse Events.  The Device related data is current through end of November, 2015 and for the last few months has been updated Monthly, usually within the first two weeks of the following month.  For example, the following query for November data returns 57,919 results:
http://api.fda.gov/device/event.json?search=date_received:%5b20151101+TO+20151130%5d


Can we sign and send transaction through Metamask on behalf of backend (nodeJs)

Question: I am building an application where I want to sign and send transaction through metamask prompt.
Means as we sign and send transactions through web3 library in nodeJs so what will be the equivalent approach if I want to send that same transaction through metamask prompt.
Answer: Metamask is only available as a browser extension and mobile app. Your node js app won't run in the browser environment so it's not possible to connect to your browser metamask app with your node js app directly. What you can do is export your metamask private key to your environment variable and then use your node js app to send transactions to the blockchain with your metamask account. (I would advise doing so only if you are doing it on testnet if someone can get access to your private key of mainnet account they can steal all the assets associated with the account)
Here's an example: Send Transaction with node js from your account example
Export private key from metamask: https://metamask.zendesk.com/hc/en-us/articles/360015289632-How-to-export-an-account-s-private-key


Moving files between Libraries along with Lookup Columns?

Question: Is it possible to move a file from one library to another along with the lookup columns associated with it?
Comment: If the destination library have the same lookup, it should be possible. Try it out and see what happens.
Comment: how are you trying to move the file between libraries, using Rules, workflow or send to location?
Comment: I am currently trying sent to location only, see we are basically sending the file... but I want its look-up column to go along, how is it possible using workflow. Can u give an example for "action"/"step" ? For Example consider a resume (as a file) and its Job-Id against which the resume is applied, now I shortlist the resume for interview... so I moved it to Shortlist Library, but how do I retain the JobID look -up ?
Comment: @BennySkogberg: I have same look -up there, still no help. Because logically also .. we are moving a file only, I want to know.. how can we move the look-up along with it, we right click on file and use send to option, whether we use email or copy option...it will only deal alone with that file... I want columns to move with it :-(
Comment: @UmeshSharma What happens if you download from source and upload to destination? Are the lookup functioning then?
Answer: Well, Finally I figured out :-)
See while making a workflow, there is option of "Association Columns" there we can add new column and select the type as "Look-up",search for the specific column name and save it.
Now just save and publish the workflow !! And it finally works. Revert, for any clarifications.


What book will help me understand Electric Circuits?

Question: I have a problem having a clear picture when it comes to solving electrical circuits. I am talking about complex circuits which contain Inductors and capacitors . The methods introduced are clear to me but I am not sure if I really understand what I am actually Calculating. I would really be thankful if someone can resource me to a book where I can actually understand all the physics behind this stuff. I don't care about the methods, just physics!
Comment: University Physics by Young & Freedman. The chapters in the 20's take good care of that. https://docs.google.com/file/d/0B_FOFMzF0_0gbjNxakkzUkV4dzg/edit
Comment: It sounds like you want to visualize the quantities and relationships described by the math.  The book that first enabled me to visualize phase relationships, impedance and LC resonance in terms of electron flow was Electricity Made Simple, by Jacobwitz.  Out of print, but available used from Amazon.  I was seventeen at the time, and I later got a Master's in EE, but I still remember this book, and, in fact, just ordered a copy myself.
Comment: @Steeven  :You seem to be a big fan if that book,I too like that  :) and one can use these websites too for electronics.    https://www.quora.com/What-are-the-top-10-websites-electronics-communication-students-must-visit
Comment: Thanks for everyone ! I think these books will really be helpful for me !!
Answer: To understand electric circuits on a deep level, you have to understand the microscopic and the macroscopic concepts. That will lead you to a point, where equations become natural and obvious. I highly recommend this MOOC part 1 and part 2.
https://www.edx.org/course/electricity-magnetism-part-1-ricex-phys102-1x-0
It has the advantage that it is
a) More easy to digest than a book.
b) Has exercises that are very useful to test yourself, if you really do understand a topic.
c) Is highly motivating.
It got me started in a deep understanding of that matter. But, how suitable this is for you, as any recommendation, depends on you level.


Managing and motivating a collaborator

Question: I have a collaborator who is working with me on a project. I guess he is too slow not because he is not capable but rather afraid of doing mistakes (on the problem we are working on) and perhaps he procrastinates a lot. Because of this, the project is suffering immeasurably. We have passed all the pre-decided deadlines. How can I manage and motivate him without hurting him the least?
Comment: Hi Ramanuja. Tough situation as it seems, but unfortunately, it's really too broad. IPS expects Q/A to set a single goal to achieve, and a skill to learn/improve. *Managing and motivating* has books about it, and it's not really for all persons, as not all cases are covered and every individual is different. Please narrow down your Q (edit), thanks
Comment: possible duplicate: https://interpersonal.stackexchange.com/q/12382/8077
Answer: I can sympathize with your collaborator, I sometimes have trouble working on stuff and it's often due to fear of mistakes / failure / looking dumb / being overwhelmed.  One thing that helps me, might help your collaborator, is to help him break the project down into smaller, achievable tasks.  If he's feeling overwhelmed that will help, because now he can just focus on something that he can finish.

Managing and motivating a collaborator


Edit database table values using Wordpress Custom Fields

Question: Wordpress noob here.
I have a 1NF database with information that I need to make easily editable. I've heard that Wordpress custom fields could be useful.
I'm not at all experienced with Wordpress custom fields/repeater fields, so what I need is resources/links that would help as I'm not even sure where to start here.
My current WP knowlege:
- create basic theme
- create very basic plugin (learned from online tuts)
- basic operations in admin panel (add/edit page/post)
The tables that I've added to the wordpress database are similar to the following:
Foods
+----+-------+--------------+-----+
|id  |name   |description   |type |
+----+-------+--------------+-----+
|1   |apple  |apple desc..  |1    |
+----+-------+--------------+-----+
|2   |orange |orange desc.. |2    |
+----+-------+--------------+-----+
|3   |pear   |pear desc..   |1    |
+----+-------+--------------+-----+

FoodTypes
+----+-------------------+
|id  |type_description   |
+----+-------------------+
|1   |the desc..         |
+----+-------------------+
|2   |the desc..         |
+----+-------------------+

I could create a custom interface which would update these values using php and mySql but I really want to bite into WP now.
So using:
"  SELECT Foods.name, Foods.description, FoodTypes.type_description AS type
   FROM Foods
   LEFT JOIN FoodTypes
   ON Foods.type = FoodTypes.id   "

I can get the values that the user needs to 'see'
Then using:
"  UPDATE Foods
   LEFT JOIN FoodTypes
   ON Foods.type = FoodTypes.id
   SET Foods.name = :name,
       Foods.description = :desc,
       Foods.type = :type
   WHERE Foods.id = :id AND FoodTypes.type_description = :type_desc   "

... or something along those lines (mySql noob too)
Which would be the best approach using Wordpress custom fields to accomplish this? Do you know of any good reads/resources available that are specific to this task?
Answer: "Custom fields" are post meta data stored in the wp_postmeta table.
If you want to write to non-core DB tables with WordPress, make use of the WP_Query class.
Answer: From what you are describing you would want to create a Custom post type called Food, and a custom taxonomy called Food type.
I would advise you start with the following codex articles.
https://codex.wordpress.org/Post_Types#Custom_Post_Types
https://codex.wordpress.org/Taxonomies#Custom_Taxonomies
There are plugins that would help you achieve this with click and play, however in the end you may need to programmatically register the custom post type and taxonomy, depending on how much control you need over the queries etc.
The following plugin can push you in the right direction:
https://wordpress.org/plugins/types/


Samsung Galaxy S3 Neo shows the logo, then screen turns black

Question: So basically today I was going home, started listening to some music and BAM the music stops. The phone "turns on" and shows the Samsung Galaxy S3 neo gt something and then the screen turns black. And that happens in an infinite loop. It also happens when charging and when I remove the battery and put it back in, it automatically boots up, shows the logo and turns black. What do I do?
Answer: Probably the battery is dead, try to plug in a new one
Comment: I don't really think so because the battery I am using right now is only 1 month old


Crash using mkt cloud version 7.3.1 - Android - RejectedExecutionException

Question: We recently updated our application to use version 7.3.1 of the SDK marketing cloud for Android, we were using 6.4.0 because we still supported API 19 in previous versions of the application.
We saw then that in Firebase Crashlytics users are having a crash related to cloud marketing.
The crash occurs for different versions of Android, such as 8, 9, 10 and 11
The number of threads varies, according to each log, but there are cases where the number of complete tasks is 40, or 1, among others.
Below the information:
Fatal Exception: java.util.concurrent.RejectedExecutionException: Task com.salesforce.marketingcloud.cf$1@1f101d3 rejected from java.util.concurrent.ThreadPoolExecutor@e5e4110 [Shutting down, pool size = 1, active threads = 1, queued tasks = 0, completed tasks = 6]
at java.util.concurrent.ThreadPoolExecutor $ AbortPolicy.rejectedExecution (ThreadPoolExecutor.java:2086)
at java.util.concurrent.ThreadPoolExecutor.reject (ThreadPoolExecutor.java:848)
at java.util.concurrent.ThreadPoolExecutor.execute (ThreadPoolExecutor.java:1394)
at java.util.concurrent.Executors $ DelegatedExecutorService.execute (Executors.java:630)
at com.salesforce.marketingcloud.c.f.a (: 25)
at com.salesforce.marketingcloud.c.f $ 2.a (: 24)
at com.salesforce.marketingcloud.f.g.run (: 17)
at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor $ Worker.run (ThreadPoolExecutor.java:641)
at java.lang.Thread.run (Thread.java:919)
Since we are using the latest version available, is anyone experiencing this same problem, or has any solution?
Comment: Have you been able to reproduce this crash and can you provide the steps to do so?  We are posturing a fix, but we cannot reproduce this issue locally.
Comment: A fix for this is coming.
Answer: Version 8.0.5 has been released and addresses this issue.