Can quicksilver sash remove Airborne?

Question: Is this item able to remove airborne? To be more specific, during Yasuo's ult, can this item or Mercurial Scimitar dismiss the effect of Yasuo's ult?
Comment: @mbomb007 That is not a duplicate of this question. It just so happens that the answer to that question also answers this one, but that does not mean the question itself is a duplicate.
Comment: Possible duplicate of [League of legends: What is the difference between knock-up and suppression effect?](http://gaming.stackexchange.com/questions/57974/league-of-legends-what-is-the-difference-between-knock-up-and-suppression-effec)
Comment: @MageXy The rule of thumb according to the meta is "If you ask a question similar to another question and it is likely to get the exact same answer, you have yourself a duplicate question." In this case, the answer *already* exists, so the likelihood is no longer in question. This question could be closed as a dup, which will then *point* at what it's a duplicate of, showing any lookers to the question with the info they seek.
Answer: From the wiki-

The active does not cancel or remove Airborne directly, but allows wielders to use mobility spells and  Flash to overrule the effect.

So, used in conjunction with Flash, or a similar spell, you can remove the effects of airborne. This works not only with yasuo's knock up, but also with malphite and others who also have knock up abilities.
From what I understand about how knock ups work (from listening to casters of professional games) there are two parts to a knock up; the initial knock up which works similar to a knock back, and a secondary stun that immediately follows and lasts until the animation of your character falling to the ground completes. The qss will remove this secondary stun allowing you to issue movement commands again, but only movement spells like dashes or blinks break the falling animation and allow you to move again.
Comment: Verified. Used with flash, qss can get you out of yasuo's ult.
Comment: Speaking of Yasuo's Ult, is the applied damage effected by this if yes how?
Comment: @empiric can get you out of the CC, but not the damage.

Can quicksilver sash remove Airborne?


Gnome-tweak-tool kali linux 2019 "shell not installed or running"

Question: So I was trying to switch up the theme for my new kali linux 2019.4 virtual machine. I installed gnome-tweak-tool package for the task. However, when I run it by typing gnome-tweaks in the command line, it gives this error:
WARNING : Shell not installed or running
WARNING : Shell not running
NoneType: None
WARNING : Error detecting shell
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/gtweak/tweaks/tweak_group_shell_extensions.py", line 217, in __init__
raise Exception("Shell not running or DBus service not available")
Exception: Shell not running or DBus service not available

The gnome-tweaks windows shows up, but the changes don't actually take effect when I try to change the wallpaper.
I tried to run gnome-shell just to see what it did, and it gives me this:
can't load /usr/lib/x86_64-linux-gnu/spa/support/libspa-support.so: /usr/lib/x86_64-linux-gnu/spa/support/libspa-support.so: cannot open shared object file: No such file or directory
Window manager warning: Display ":0" already has a window manager; try using the --replace option to replace the current window manager.
(gnome-shell:2831): mutter-ERROR **: 18:55:08.350: Failed to start Xwayland: Failed to acquire window manager ownership
== Stack trace for context 0x560714042340 ==
Trace/breakpoint trap

I tried doing gnome-shell --replace but the machine just crashes. Any idea how to fix this? I really just want to change my theme. Been googling for days now. Any pointers or suggestions are appreciated.
Answer: The Kali Linux distribution you have is the XFCE(default), download the GNOME version to use GNOME Tweaks.


When can you store Gyroids at The Roost?

Question: I know in City Folk you could store Gyroids with Brewster at the Roost.  I heard you can do the same thing in Animal Crossing: New Leaf.
Is this true?  What conditions have to be met in order to do so?
Comment: Not sure you can. I've gotten coffee for at least two weeks and still no gyroid storage. INstead you can work at the coffee shop, it seems.
Comment: That would be dissapointing.  :(
Answer: It would appear you can't; searching online I've found no evidence of being able to do so (and the game's been out long enough people really should have found if there was a way).
Note you can still store Gyroids in the second floor of the museum, in your "closet" space at home, or with an alternate character. Since Brewster doesn't store them, I've taken to storing them on an alternate character along with other rarely used items.
Comment: Also, you can store four at Club LOL.
Answer: That's only in city folk. I heard if you work there a lot then he gives you rare Brewster gyroids that make pouring noises
Answer: It turns out, however, that Brewster (owner of the Roost coffee shop) is really into collecting gyroids.  He will store your gyroids in his back room for you if you bring them to him.
Brewster will only offer to do this after he has gotten to know you.  Thus, you must drink seven cups of coffee (while they are hot, don't tell him you are going to wait for it to cool).  You can only drink one cup a day, so it will take you at least seven days to do this.  After your seventh, put your gyroids in your pocket and go talk to Brewster (from the side of his counter, don't sit in the chair).  He will offer to store them.  From now on, just go to his counter with all your gyroids and he will store them.  Then you can view them and pick the ones you want to take out for your house.
Source.
Comment: I suspect this is City Folk


Is there a language that's purely fluid-s?

Question: By fluid-s I mean a stative-active language that relies on semantics for its morphosyntactic alignment, using things such as volition, empathy, animacy.
Comment: I think that's it.
Comment: What do you mean by "purely"? Crow evidently has two lexically determined verb classes "Active" and "Stative" - is that what you are looking for?
Comment: I once read about Fluid-S languages in a book called "Ergativity" by R.M.W. Dixon.   He contrasts subjects of intransitive verbs (S) with the subjects of transitive verbs (A) with the objects of transitive verbs (O).   In nominative/accusative languages, like English and Finnish, S and A are marked identically.    In ergative/absolutive languages, some verbs or other circumstances dictate that S is marked just like O.
Answer: The Crow language (Apsáalooke) divides verbs into two classes, "Active" and "Stative". The division between classes is based on semantic criteria. The objects of transitive active verbs are marked like the subjects of stative verbs, and there is a different set of pronominal affixes for each verb type.


Schematic editor is 404

Question: Trying to edit the schematic in this answer, I get redirected to circuitlab, see some dialogs flash too quickly to read, then land at a 404 resource.
Comment: Just tried to repeat this and got the same.
Comment: Perhaps it's relevant that the question was migrated.
Comment: Looks like it is, following actually works if you want to try and edit it: http://ham.stackexchange.com/plugins/schematics/editor?edit=http://i.stack.imgur.com/3ykUT.png
Comment: @PeterJ that gets me to the editor, but it can't be saved. Clicking the save button does a progress indicator like it's being saved, but then it stops and I'm left still at the editor.
Answer: Update: Based on the time stamps, @PhilFrost answered/created the schematic while the question was on Ham, before it migrated over. I created one on that question, and it works fine.
I tried copying the schematic code, like I normally do to ""edit"" and work on someone else's schematic, since editing is really just creates a new schematic. And it won't work.It keeps giving (It actually says electronics.stackexchange.com, more on that in a minute):
Since the ham se beta has access to the circuit lab as well, it might be a backend issue where the circuit button sends a different return url or the image address is associated with ham and not EE?

I copied and pasted the code to a new question in ham and then edited it there. It worked fine.

But on the same note, a EE schematic copied to ham and clicking on edit, will not work either. It's a cross-site/domain policy error. For XSS reasons no doubt. Or noone foresaw the Circuitlab tool being used outside of EE?

Schematic editor is 404


Blender Game Engine: Why don't shadows appear?

Question: I'm using Ubuntu 32bit 16.something. Blender isn't showing shadows in the viewport or bge. I can render shadows but I need to use them for the game engine. I'm on blender game, textured view, glsl, shadows/shaders enabled in both render and light data panels.

Comment: *Texture* shading mode as the name implies shows textures, you should be in *Material* view. Also activate the shadows for your *Sun* lamp
Comment: Had to reinstall ubuntu cause an update caused my keyboard to malfunction. No that doesn't work for me here. Is there any sort of error debugging method I could use to see what the issue is?
Answer: You need to activate shadows in lamp property.

If that not the problem, change the energy in the second lamp.

Reduce energy.
Comment: Nope, I get the opposite of a bright white scene, all the objects turn black. Again I'm using Ubuntu, I didn't have this problem on Windows. I've tried every selectable option that I know of to enable shadows for the viewport but nothing works.
Comment: Then the problem may be related to the GPU and OpenGL driver, not blender. What brand is your GPU ?, Are you opening blender from the console? So you can see if it gives you some error. Do you know if you have installed the drivers of your GPU and OpenGL?
Comment: This is what Ubuntu's terminal tells me.
 *-display
       description: VGA compatible controller
       product: Core Processor Integrated Graphics Controller
       vendor: Intel Corporation
       physical id: 2
       version: 02
       width: 64 bits
       clock: 33MHz
       capabilities: msi pm vga_controller bus_master cap_list rom
       configuration: driver=i915 latency=0
       resources: irq:29 memory:d0000000-d03fffff memory:c0000000-cfffffff ioport:5050(size=8) memory:c0000-dffff
Comment: I found [this bug report](https://bugs.documentfoundation.org/show_bug.cgi?id=104244) not related to blender, but related to your hardware, affecting libre office Calc using OpenGL.
>On enabling OpenGL, LO crashes at the splash screen. On disabling, it works fine, but the active cell is not marked in any way.
So maybe the problem is retaled to your hardware and OpenGL on ubuntu 16 and affect the way Blender viewport render shadows. Sorry to say but maybe you need to go back Windows to use Blender until this bug get fixed. Or get more help or info in ubuntu and OpenGL forums.


How do I fix an out-of-bounds object?

Question: You know how if you move an object too far off within your blender space it starts to glitch out and moves to spaces that are in large numbers, like "D:78453876956487 along global X," well that's a problem that I'm having and was wondering if there is any shortcut button to center the object to the 3D cursor or something?
Answer: Select your object, use Shift+S, then select "Selection to Cursor" in the menu.
Answer: Nevermind, All I had to do was Alt+G and Alt+R  to clear all changes I made to an object.

How do I fix an out-of-bounds object?


How to convert this combination into simple series and parallel?

Question:
In this problem we are not using delta wye method. But I don't know how they converted this combination into simple series and parallel combination. Help :(
Comment: It's the exact same circuit just drawn differently, have a look at what nodes are actually connected to eachother. For example with the 3 Ohm resistor it's nodes are connected to the voltage source so it must be in parallel with it, While also touching one node of all the other resistors
Comment: Clear your mind and then get out a piece of paper ("A".) Start by looking at the circular schematic ("B".) Pick any part at all and draw that same part on the clean "A". Put an X through the part you just selected in "B". Now, pick the next part from "B" to move, knowing that it must be directly connected to the part you just put an X through. Now draw this 2nd part on "A" and attach it to the 1st part on "A". Continue the process of moving parts and making sure that the same connections are all retained. Do this in different ways a few times. Eventually, it becomes a lot easier.
Answer: Look more closely at the original schematic and count the actual nodes.
If it helps, highlight them in different colours.

Note there are actually only three nodes, unique voltage points, in the circuit.
As such you can redraw the circuit starting with the battery.

simulate this circuit – Schematic created using CircuitLab
As you can see, both R1 and R2 begin and end at the same nodes so are in parallel.
R4 is simply in parallel with the battery.
TIP: Whenever you are given assignments like this be on the lookout for things that let you redraw the circuit. The assignments are intentionally made obscure to make you think.
Answer: Apply nodal analysis,

2 Ohm and 6 Ohm are connected to same nodes, so they are in parallel
Next, 1.5 Ohm is in series with the parallel combination
The figure is a just simplified form of previous one.


How to hide these 2 element in css / less?

Question: In Magento2 I want to hide the price-notice and the qty-holder from the bundle product page. I want to edit the _custom.less page but not sure what to write in it. Any help would help. Thanks!
Comment: @morgan  I figured out for the Qty box, but can't seem to find the right css to remove the price-notice  +$x.xx.
Comment: Could you post a screenshot of the page you are editing with the items you want removed circled? The images you added aren't as helpful as that would be. Also what version of Magento 2? thanks
Answer: You need to search for those classes in the repository/source code, and then use the same nesting in your _custom.less file. The path to get to that class needs to match what it is currently. You can also see this in the browser by inspecting those elements. The classes themselves will need either visibility: hidden; or display: none; depending on what your trying to achieve exactly. You can also test this in the browser inspector before putting in your file. When done, deploy your static content php bin/magento setup:static-content:deploy and if cache is enabled, clear it php bin/magento cache:flush.
Comment: Right click on it and select inspect element. You should see the class listed in the styles. It should also highlight the element on the page when you mouse over the element in the inspector. It's possible that text is part of the greater string that is the bundle option name
Comment: What i'm having issue if figuring out those class. I managed to do exactly that for the QTY box, need to figure out the price-notice +$X.xx now. Thanks for your help.
Comment: [4]: https://i.stack.imgur.com/llmPX.png  I've been trying different combinaison but can't find the right one. For the QTY I used :
    .bundle-options-container .nested .field.qty:last-child
{
    display : none;
}
Comment: Add a screenshot of that class style from the inspector.
Comment: https://i.stack.imgur.com/llmPX.png
Comment: Nope, not that. I'm looking for this https://monosnap.com/file/fkCAHLLtIk0wCVYPkmBnuN1Y8m54Td
Comment: https://i.stack.imgur.com/llmPX.png
Comment: Let us [continue this discussion in chat](https://chat.stackexchange.com/rooms/93413/discussion-between-mlunt-and-emili).


Meaning of the differential of a map between manifolds as an approximation

Question: The differential $df_x$ of a map $f$ between two Euclidean spaces is the linear approximation which satisfies $f(x + v) = df_x(v) + o(|v|)$. The meaning of the word "approxiamtion" is clear here. I'm struggling to get what is the meaning of the differential of a map between two smooth manifolds as an approximation. In general there is no concept of a distance between two points in a manifold or a length of a vector in a tangent space of a manifold. Then how could we say about approximation precisely? In what sense does the tangent space at a point of a manifold locally approximate the manifold? In what sense does the differential of a map between smooth manifolds approximate the map?
Answer: Given $f: M \to N$, we use charts $(U, \phi)$ and $(V, \psi)$ for $U,V$ respectively such that $\phi(U) \cap V \not = \emptyset$. If you wish to do calculus in the traditional sense then we use $\tilde{f}: \phi(U) \subset \mathbb{R}^n \to \phi(V) \subset \mathbb{R}^m$ defined by,
$$ \tilde{f} = \psi \circ f \circ \phi^{-1}$$
If you like, you could just write that $\tilde{f}$ is just $f$, how? Well, $\psi(\textbf{x})$ is just the coordinate representation of $\textbf{x}$ in $U$ and if we let $\psi = (y^1,...,y^m)$ then  $\psi(f(\textbf{x})) = (y^1(\textbf{x}),...,y^m(\textbf{x}))$ is just the coordinate rep. of $f$ in $V$. Hence, if the use of a chart is understood then we just write,
$$f(x^1,...,x^n) = (y^1,...,y^m)$$
The moral is, in order to make sense of smoothness, we use charts. The idea behind smooth manifold theory is that if you always assume that you manifold is embedded in some ambient space then you're probably deducing things about your space as a result of being in another i.e you've lost focus of the primary object, your manifold.
To counteract this though, you consider your manifold as an abstract space with just a differentiable structure and a few other things, but you never mention a metric or anything of that kind. You now run into a problem if you want to do traditional calculus, but if you make the right identifications there may be a chance. The above is an illustration of some of these identifications.
Comment: Thank you for the answer. However, I think that actually you didn't answer to my questions. I'm familiar with such coordinate thinking. But the coordinate representation has nothing to do with my questions, or I don't understand its implications on my questions. Would you please elaborate the answer to show more concrete connection to my questions?.
Answer: If you zoom in close enough on a smooth curve, it's a line. Likewise for a smooth manifold, we approximate it at each point by a tangent vector space. A map between two manifolds is then approximated by the map derivative acting between the two tangent spaces.
Comment: So we approximate both the domain and range as well as the function itself?
Comment: @user1, yes, and a linear map is only defined between vector spaces (modules)  as one that preserves addition and scalar multiplication. An *infinitesimal displacement* on a smooth manifold is a vector in the tangent vector space and is mapped to a vector in the target manifold's tangent vector space.
Answer: Consider the real line $\mathbb{R}$. It is a topological ring in a familiar way; you can add points, multiply points and so forth.
There is a nice algebraic description of its tangent bundle $T\mathbb{R}$: it is constructed like the complex numbers as the space of all pairs $a + b \epsilon$, but the multiplication is defined by $\epsilon^2 = 0$. This ring is called the (real) dual numbers, and is denoted $\mathbb{R}[\epsilon]$.
Since $\epsilon^2 = 0$ but $\epsilon \neq 0$, it captures some of our intuition of what it means to be infinitesimal. More precisely, we call it a "nilpotent infinitesimal".
For any smooth function $f : \mathbb{R} \to \mathbb{R}$, you have that its derivative is given by the formula
$$f_*(a + b \epsilon) = f(a) + f'(a) b \epsilon $$
which is formally of the same shape as the differential approximation, but even stronger: it is exactly true.
A similar algebraic picture applies to $\mathbb{R}^n$; its tangent bundle is $\mathbb{R}[\epsilon]^n$.
Comment: How can I apply this idea to general smooth manifolds?


In synthesizing PbS nanocrystals will there be any problems if I use lead IV acetate instead of lead II acetate?

Question: I am just about to start my senior project synthesis of PbS quantum dots and we ordered the wrong lead acetate. The method calls for lead (II) acetate and we got lead (IV) acetate. If we use the lead (IV) acetate will our synthesis be contaminated and not work or can we still use that chemical with two extra acetates attached?
Comment: Perhaps it's possible to turn the lead(IV) into lead(II) quantitatively with a mild reducing agent before you actually start the quantum dot syntheses?
Answer: You might run into problems. $\ce{Pb(OAc)4}$ is a pretty strong oxidant!
What will be your sulfide source? Are you sure that it isn't oxidized these conditions?
Edit 1
At least N,N'-diarylthioureas are efficiently desulfurized by lead tetraacetate and furnish ureas (and sulfur) via a carbodiimide intermediate, see Bull.Chem. Soc. Jpn., 1984, 57, 315-316.
Edit 2
If you don't mind a personal advice: I wouldn't want to add complexity to the protocol just to maneuver around problems (and create others) I wouldn't have if I were using the right starting materials in the first. (The German term for that is verschlimmbessern, which translates to something like disimprove).
Comment: Sulfur is coming from a sulfurea/thiourea solution. The other reagents used are SDS CTAB as stabilizing agents and EDTA as a chelating agent to disperse Pb. Could adding a base such as aqua ammonia stabilize the excess acetate?
Comment: In the present procedure aqua ammonia is already used in the preparation of the reaction mixture of water EDTA, SDS, and CTAB before the lead and sulfur precursors are added. the aqua ammonia is used to change the pH to 10 because EDTAs ligand formation is pH dependent and needs to be at a high pH around 10 for the fully deprotonated EDTA4− form to be prevalent. Does this make a difference now?
Comment: You would still have the wrong oxidation state, isn't it? I know that Pb(II) does form complexes with EDTA, what about Pb(IV)? I have no idea.


Work and Talmud Torah

Question: The Mishnah in Pirkei Avot 4:5 records the statement that one shouldn't make Torah study into something for worldly benefit. I was curious then, how do the haredim that do full time Torah study en masse like in many yeshivas and kollels in Israel reconcile this with their attitude that full time Torah study can be a job en masse for Jewish communities? This statement seems like it's Saying the opposite, Torah study isn't something to make worldly benefit from
(ie mass stipends, or Tzedakah from working donors) and in it's not something to make living with.
Comment: IIRC, it's a machlokes Rambam/ Raavad whether we pasken like this mishna or not
Comment: The question is good but note kollel stipends are incredibly low (300-400$ a month is quite common). Most full-time Torah learners rely on their wives and families to make a living. This does conflict with other injunctions though such as not relying on tsedaka when one can work
Comment: I wish I had it... If I did, I would post it as an answer. Sorry @Kirk
Comment: @mbloch I heard at Luzzato's they're paying 1000. USD.
Answer: This question would be more of a question on rabbis than those who are learn in kollel. Those who are learning in kollel and are being supported are closer to  making a Yissocher-Zevulan deal (an agreement where one person learns and the other person supports him and they split the reward in the next world) than they are to  making money off learning.
As far as rabbis are concerned, technically they are indeed not allowed to be paid for teaching Torah. They are paid in the (case of elementary school rebbeim) for watching children and in the case of an adult rabbi or teacher  for the fact that their preoccupation with teaching and other rabbinic functions does not allow them to have time to earn a living.
In all cases it is correct that Torah is not (or at least should not be) a "business" with an intrinsic  profit motive. The type of person who is successful as a rabbi is usually talented enough that he could be making a lot more money were he to devote himself to a career.
The above is assuming one may never make get paid for learning. The Chasam Sofer (שו"ת חתם סופר חלק חושן משפט סימן קס"ד) and Rav Moshe Feinstein (שו"ת אגרות משה יו"ד חלק ב' סימן קט"ז) writes that because the Torah will be lost unless people will get paid to learn one may do so in todays times. The  Mishnah Berurah, in  Biur Halacha (אורח חיים סימן רל"א בד"ה בכל),  notes that under certain conditions, even the Rambam despite his general strong  opposition to doing do  would agree that one may get paid for learning Torah.
Comment: +1 I'd note that the justifications for paying Rabbis go back to the Medieval period, with sources in Rishonim discussing the custom to pay them. I'm not sure that Kollel follows a Yissocher-Zevulan approach by default, it's more likely an extension of the "paying Rabbis" approach
Answer: The Ramba"m, based on this mishna (Avos 4:5), paskened that learning without working, and relying on tzedaka is not allowed (Hilchos Talmud Torah 3:10):

כל המשים על ליבו שיעסוק בתורה ולא יעשה מלאכה, ויתפרנס מן הצדקה – הרי זה חילל את השם, וביזה את התורה, וכיבה מאור הדת, וגרם רעה לעצמו, ונטל חייו מן העולם הבא; לפי שאסור ליהנות בדברי תורה בעולם הזה...
Anyone who decides to learn Torah and not work, and get payed from charity, has desecrated HaShem's name, shamed the Torah, put out the light of the religion, caused bad to himself, removed his life from the world to come; because it is prohibited to use the Torah for his own worldly enjoyment...

In the Rambam's explanation of the Mishna in Avos (4:5) he brings multiple proofs from all over Shas for what he holds, though he mentions that many chachamim won't agree with him.
The Kesef Mishna, on the quoted Ramba"m, gives a very lengthy explanation of why the Ramba"m's proofs aren't proofs, and brings his own proofs from Shas that the Ramba"m is wrong. I won't quote him, but he explains the mishna in Pirkei Avos in the following way

Do not make them as a crown to make yourself great, or as a shovel to dig with. Meaning, although Rabbi Yishmael said earlier that if one learns in order to teach (i.e. to gain respect as a Rosh Yeshiva, or to treat it as a job, like a professor), he will be provided for with enough to learn and to teach, Rabbi Tzadok says that these ideals are Assur.

Therefore, per the Kesef Mishna, the Mishna in Avos is only teaching us that it is prohibited to learn for the purpose of making money. But, the Kesef Mishna continues, learning for a good purpose, and being payed to do so (assuming he doesn't have the money to support himself), is allowed. And he says that they must fulfill one of three conditions:

They teach children, and are being paid to do so as 'babysitters' (as schmerel mentioned)

They are being paid to learn so they can provide guidance for the community, which would otherwise be lacking

Being paid to judge.

In conclusion, the Kesef Mishna posits that what the Ramba"m means is that one should not rely completely on charity. Rather he should learn a profession, and then if that is not enough to support himself while also teaching Torah (or whatever position he has), he may rely on charity.
He also brings another explanation, being that even if Me'ikar Hadin one shouldn't rely on charity while learning, since "עת לעשות להשם הפרו תורתיך" - A time to act for HaShem, the Torah is nullified. In other words, if we didn't have people who would learn Torah and not work, the Torah would be forgotten Ch"V.
The Ba"ch says that Rashi, Rabbeinu Tam, the Tashbe"tz and the Aruch all argued with the Ramba"m, though the Tur agreed with him. The Abarbanel also disagrees with the Rambam.
Some of the claims made, as to why it is allowed nowadays (in addition to the ones already quoted):

It is no longer a Chillul HaShem not to work; rather, it is considered more respectable to learn than to work. (Tashbetz chelek 1:142)

If Talmidei Chachamim work, they will not be given the respect that they need in order to teach Torah and have the congregation listen (Tashbetz 1:148)

They are not getting payed to learn or teach, they are getting paid שכר ביטולן - 'unemployment wages', which is allowed (even the Ramba"m agrees that in such a case it's allowed).

The Ma'ase Roke'ach claims that nowadays even the Ramba"m would admit that it's allowed, because otherwise the torah would be lost.
Rav Moshe Feinstein (Yoreh De'ah B 116) wrote in the conclusion of his teshuva:

דין ברור ופשוט שנתקבל בכל הדורות אם מדינא [=שכר בטלה דמוכח], אם מתקנה ד"עת לעשות לה' הפרו תורתך", שמותר לעסוק בתורה ולהתפרנס מקבלת פרס או ממה שהוא מלמד תורה לאחרים או שהוא רב ומורה הוראה, ואין להמנע מזה אפילו ממדת חסידות.
It is a clear and simple rule that was accepted throughout the generations, whether because of the letter of the law (that it's unemployment wages, as was proven), or because of the rule of 'a time to act for HaShem, the Torah is nullified', one is allowed fo learn Torah and be paid by sponsor, or by teaching others, or by beign a Rabbi or a posek, and one shouldn't stay away from this, even as a Middas Chassidus (beyond the letter of the law).

So, in short, the Ramba"m says that it's not allowed, and some Rishonim and Achronim agree with him. Many other Rishonim and Achronim disagree, for various reasons, and explain the Mishna in Avos, as well as all other proofs, in various ways (as brought in the Kesef Mishna, or because it's no longer applicable because עת לעשות להשם). The general consensus is: it's allowed, especially if he is planning on learning in order to fill a position that is/ will be needed in the community (Rabbi, teacher, Posek, etc.)

Work and Talmud Torah


555 IC - Transistor Tester

Question: Why are Pins 7 and 5 floating for this 555 IC and how does an NPN and PNP transistor when connected to E B C act a switch?
Without the use of Pin 7 surely the capacitor cannot discharge which would render it useless?
Comment: The output pin 3 is being used for discharging the capacitor when a transistor is connected. I'd recommend to simulate the circuit in LTspice or any other tool and check what happens. You can find the use of pin 5 on the internet.
Comment: 10wonga, Are you still not understanding how the capacitor is discharged? Pin 7 is an open-collector output capable of sinking some current. Pin 3 is a push-pull output and able to sink still more current than pin 7. Pin 7 will be active only when pin 3 is LO. So they both can sink current at the same time (only pin 3 can source current), except that pin 3 can sink more than pin 7.
Answer: Capacitor connected to pins six and two is charged and discharged by the output pin 3.
That is a common charge/discharge method for producing a 50% duty cycle.
Pin 5 can be left open like it is.  Normally a capacitor is connected from pin 5 to ground. Pin 5 is the control voltage reference for pins 2 and 6. So a bypass capacitor might be needed for better stable reference voltage.

555 IC - Transistor Tester


No folder triangles on desktop only - OS Sierra

Question: This just happened tonight.  Without warning and for no reason at all, the little triangle next to the folders on the desktop just disappeared.  So I cannot easily see the contents of the folders, I have to double click them.
  But it's only on the desktop, all other folders have the triangles.
  I only have one display.  I checked all the settings I could and did not see anything.  I don't even know what those triangles are called.
Answer: I am SO STUPID.  It's already answered, and it's because I had the "arrange by" set to "name."
  Someone please delete this!
Comment: @Jaime I've linked the duplicate.
Comment: It's already answered as in there is a duplicate of this question? If that is no the case, answering your question is perfectly ok and it may help others with the same issue.


Can I get the Windows 7 repair CD for free?

Question: I messed up my Windows 7 and I need to run repair, but I don't have the CD. So, maybe it's possible to get just repair thing for free and mount it in USB and fix the Windows?
Comment: Are you sure your Dell doesn't have a factory restore partition on it?
Comment: Yes If that is who made the system. They will offer a restore DVD.  There will be a small charge.
Comment: How much space do you have on the disk? If you need to keep the data, the first thing you'll want to do it back it up. Booting with a liveUSB (parted magic would be good for what you're about to do), and partition the disk. Move all the data you need backed up to the new, empty partition. From there you can consider restoring the partition, or reinstalling from scratch.
Comment: Unfortunately many manufacturers are not including installation/recovery CDs with their computers these days.  This is a major inconvenience for users, and I suggest everyone who has experienced this write a complaint to their vendor about it.  When we buy software, the very minimal cost for an installation/restore CD/DVD really should be included.
Comment: Who is the System manufacturer?  They may have restore media available.
Comment: @DaveM: You mean Dell?
Answer: If the maker is Dell as indicated, they likely will offer a restore CD.  That will restore the system to the condition it was when shipped.  It will not be a Windows 7 disk that you can use for a repair. A call to  support or use online chat for more info.
There will be a fee for the disk and shipping.
If your main concern is the data, you can possibly move the disk to another system in an external case or as a second drive and recover.  You can also can use a bootable disk as noted by @Rob and recover in place.
That would let you do a  recovery with a Dell recovery disk after the data is safe
Comment: If the system has a valid Windows 7 COA sticker atttached, you could use someone elses Windows 7 DVD.  This has worked for me in some cases.  Some WIN  7 DVD/CD may not accept your key.  It depends on the version OEM, Retail, Enterprise, etc.
Comment: well, I need repair, I need those files.
Comment: Please explain the downvote
Comment: Are you sure the Dell CD isn't similar to a regular Windows CD? It might offer a recovery console and repair.  I think it likely that I used a Dell XP CD and it looked the same except it forced you to use the Dell Serial not a windows serial, so I guess they do it for Windows 7. And that it has a repair. They did an OS CD and a drivers CD. They might do a full restoration CD now, but perhaps also the plain OS CD and Drivers CD.
Answer: Ask around to see if anyone you know has a Windows 7 install CD. As long as it's the same version that your CD key is for, it will work for a repair install (or fresh install). The back of your case should have a sticker with the CD key and version on it.


How to prevent display of specific paragraph types (bundles) on nodes

Question: I have a content type with a paragraph field which has many paragraph types available.  For one of these paragraph types, I do not want it displayed in the node because I am displaying it using a view in a different region.  The view works great but I cannot figure out how to prevent the specific paragraph type from displaying on the node. I've tried to removeItem from the render array using various hooks in .theme, but this removes it from the view as well.  I have also tried to remove the paragraph type from the paragraph field in the node template using a loop in twig.  I feel like there has to be an easier way.
Answer: Twig's without filter worked in my case.
Answer: You can use https://www.drupal.org/project/views_field_formatter.
Create a view that does what you want using contextual filter of the node id.
Than modify the node display settings to use that view.


how to get around a centrifugal force gravity ship

Question: Lets say you had a really big space ship that uses the ramjet method to collect hydrogen. It can only generate gravity in a ring spinning around the collection cone. This means there's nothing in the center of the ship. My question is how do you get out of the ring into the other areas? Would it have to be a timed thing where you stay in this isolated room that the computer will slide out at the right time into the weightless area? That's the best I can do. If you can provide diagrams I would appreciate it.
Comment: Does the ramjet operate all the time? If so, it will be accelerating. Acceleration is the equivalent of gravity. Or do you need centrifugal gravity during the spaceship's cruise phase, when the ramjet has shut down & it's reached its maximum velocity.
Comment: If there's nothing in the center of the ship - other than fusing hydrogen, of course - why would you want to get there?
Answer: You climb a ladder / stairwell / elevator.
Here's a map of the space craft from the perspective of people inside it, using colour codes.

And here's an outside view of the ship with the same colours:

You can stay on ground level and walk around, or you can take an elevator up to the zero-g engine room and then back down to the other side.
The engine room does rotate in zero g, but so does everything inside, including air and people.
If you're engine room needs to be stationary relative to the suroundings for some reason (and I can't think of any good reasons for this to be the case - navigation and propulsion can handle this rotation fine.), then you're better off rotating the engine room within a solid cylinder rather than have the elevators rotate around a stationary centrepoint. Eg the red circle is on bearings, everything else is one solid structure

Docking on the axis of rotation requires you fly very slowly and match the spin, and is the easiest to do, however you can only have one docking port (assuming engine is the other side).
Docking can also occur by pulling up at a constant force which matches the gravity. Eg if the station is simulating 50% gravity at ground level, a 0.5g pull up manoeuvre would match the ground trajectory, and you could dock on the ring, and walk up stairs to the main level. Downside is you need to use fuel to dock. This is pretty tricky to do by hand without training but a computer could automate it quite efficiently.
Answer: 2001 A Space Odissey gives a good example of how to transfer between distant sectors of a ring ship.

When you want to move to a different sector, you can move along the
circumference.
If you want to quickly reach a distant sector or want to leave the ship for the outside, you reach a sector where one of the arms is connected and then move along the arm toward the center (from where you can move outside) and then along another arm for reaching the other end.

Mind that in any case you want to avoid docking anything like a transfer vessel to the outer ring: it would cause a significant disturbance to the momentum of inertia and consequently disturb the rotation. It is way better to have docking and undocking happening close to the rotation axis of the whole ensemble.
Comment: The question clearly states no center. I'm not sure if this answer is usable. I would say that a path could exist against the collection cone in the middle however, making your answer valid.
Answer: You catch a train. Along the centrifugal ring there is a rail carriage. It sits on the exterior of the ring.
To use it, an astronaut walks down the main corridor in the centrifugal ring. Enters the carriage, unlocks it from the structure of the ring proper and now the carriage is driven along its own railway in the opposite direction to the motion of the ring. It will soon come to rest with respect to the main body of the spaceship.
It can be driven to whichever area your astronaut wants to access. The carriage will stop there and locks itself onto the structure of the spaceship. The astronaut exits through a door in the carriage. (Probably, opposite the door where they entered in the first place.)
Now the astronaut can access anywhere in the rest of the spaceship. The usual corridors and doors will make the rest of accessing the spaceship easy.
The carriage can be used to return the astronaut the ring section by simply speeding up to match the velocity of the ring. This is apart from positioning itself to enter whatever part of the ring itself.
Note: The doors to the carriage will be effectively airlocks -- for the sake of safety.


When dragging photoshop to another monitor, the colors change a lot

Question: I  have my laptop - perfect color, my right monitor - a dell - perfect color and then my left - another dell - colors are way off and dull. If I drag photoshop to the other two, colors are perfect. Monitor colors match on all 3 monitors/screens. In Photoshop workspace is the difference. Placing, opening - colors all match, but the workspace in left Dell is dull. Dragging Photoshop to the others, beautiful once more, and output from all three is perfect. It's only the workspace.
Comment: Are the monitors calibrated with a calibration tool? If so, which one (& version)?
Comment: What OS? Windows can't handle multiple profiles properly; Mac can. Also, what is your working space set to in colour prefs?
Comment: I didn't use any tools, I followed the video suggested by @stevenKersting It was exactly what I needed and FREE. https://www.youtube.com/watch?v=aDoF7XOK4kE
Answer: Sounds like a bad/broken profile is being used for the third monitor...
https://www.youtube.com/watch?v=aDoF7XOK4kE
Comment: Thank you for that great video. That did it perfectly. So simple - with your help. Not intuitive. I saved it to my tech tips playlist on Youtube in case I get stuck again. YAY Steven!
Answer: Susan, you have a great question.  If you look in the Related questions (you can find it in the column to the right, just scroll down a little), you will see many people have asked questions along these lines.
The answer lies in the software profile your computer uses to get your monitor to display colors correctly. These profiles are a complex subject, but luckily there are fairly easy ways to get this perfected and consistent.
You need to research monitor calibration tools. These take the guess work out of monitor brightness and contrast settings.  They do practically all the work for you!
I also have multiple monitors at home. Here is what I settled on as a solution (for me, at least).
I have designated my biggest and nicest monitor as the location where I edit all of my photos.  I use a calibration wand to periodically evaluate this display and the make adjustments so it will always show true color.
My calibration tool of choice is the Pantone Huey.  It is super simple to use and not too expensive.
I hope this helps! (and if you print photos at home, you may need to look into getting the right color profile for your printer -- but that is a slightly different subject!)
Comment: Thank you for your thoughtful reply. Since it's ONLY in the workspace in Photoshop - not AI, IDD or anything else, I'll see what I can calibrate just there. Excepting the open document workspace the colors are perfect and match the other two monitors.


What is the difference between FIR1 and FILTFILt in MATLAB?

Question: In MATLAB there are filters with 0 phase filtfilt and ordinary FIR1. When I filtered a group of simulated data, I found that filtFilt was superior to FIR1 in terms of phase delay. I know the difference. But would there be any essential difference between filtfilt-designed filter and FIR1-designed filter when written into FPGA? Or are they just different in Matlab when it is used to filter data?  Besides, could you please tell me how to set the order of filtfilt? I would like to compare the filtering performance difference between FILtFilt and FIR1 of the same order. Thanks!
Answer: filtfilt() applies forwards, then backwards filtering using any iir filter you feed it. As such, it only applies to finite length file processing, not realtime stream processing.
fir1 is a method to design fir filters that can subsequently be applied using filter, conv or (unusually) filtfilt.
Comment: And to add it provides a post processed zero-phase filter result, meaning the buffered output result would be time aligned with the buffered input with no delay between the two buffered signals.


Allow users to delete or answer Facebook comments on my website or from Facebook

Question: I am creating a website, something like business directory. I want to allow my users to have Facebook comments on the pages.  I read that I should connect their comments with their Facebook ID so they can be allowed to delete them.   I wanted to know, can my users answer or delete those comments directly from Facebook, or must they be only on my website to answer?
Answer: To get Facebook comments working on your site you need to follow Facebook's instructions.  They will give you a snippet of javascript code to put on your site where you want the comments to show up.
Then users can comment on that page.  By default their comments are shared on Facebook.  Replies on facebook will also show up on your site.
Comment: Hi, thank you for your answer. My users have their profile pages, so i want to add facebook comments on their profile pages. If a comment is placed on user X profile page, is it possible for that user to be notified about the comment on his Facebook profile?
Answer: I suggest you to use Facebook API for monitoring or deleting comments.
Or, if you want to have just a comment box where user can comment or delete their comments, use Facebook's social plugin.


Need recommendation on Thailand location for taking landscape photos in March

Question: I am planning my holiday and I originally wanted to go Chiang Mai. However, after reading on the internet, I learnt that March is the worst time to to because of the smoky air.
So, what are the alternatives of Chiang Mai that could allow me to take some landscape photos for my paining class?
Answer: Haze is an issue throughout Thailand (and the rest of mainland SE Asia) during March.  It is the end of the long dry winter season, so dust is a big contributor. The long dry period also makes forests dry, so forest fires are also a big source. Plus the farmers are burning to prepare for planting rice and corn.  It is not a good time of year for landscape photography anywhere, except maybe right on the coast where sea breezes might clear things up.
The northern provinces tend to get the most press because they are popular tourist areas, plus the surrounding mountains can trap the particulate matter when high pressure systems come through. But I was just in central Thailand and the haze there is enough to wash out photos.
But all that said, if a low pressure comes through bringing some rain and breezes, the air can clear out quite nicely, even in the mountain valleys.
If your primary goal is landscape photography, you might want to reschedule for November.


passenger side high beam and low beam not working new bulbs and fuse are not blown

Question: My 2005 Honda Accord hybrid passenger side high beam and low beam not working new bulbs and fuse are not blown
Answer: From this wiring diagram (hopefully for your car), the only part that is common to both high and low beams which would not affect the other side of the car, is the earth connection I have highlighted.  You need to find this connection and see where it bolts to the car body.  Check any connectors on this wire and also the bolt connection to the body.
I may have the left/right, driver/passenger side mixed up, but you get the idea.  Check the black wires to both ground connections G201 and G301.


Demonstrative vs Personal Pronoun, "This is John" vs "I am John"

Question: Why people introduce themselves on phone by saying "This is John" instead of "I am John"? Which one of "this" and "I" or "he/she" is preferable in different circumstances?
Comment: Interesting question. I personally tend to use "_This is  here_" on the phone, when the other party cannot see me, and use "_I am _" when introducing myself to people who can see me (either directly, via video chat, etc.)
Comment: @Phylyp what about introducing other guy if he can be seen,should I say "He is John" or "This is John"?
Answer: 1) Introduction of oneself (unseen):
- This is John [speaking]; This is [the person called] John.
Here, this is used to locate the person in "space", here, on the telephone.
2) Introduction by another person of a person(seen):
- This is John [here, you can see John, and another person is introducing him to you and you are not Harry, for example, in roomful of people, it is used to locate him in space. This is John, "not someone else"].
These uses come under the general heading of deixis in English, which can get rather complicated. This and that are used as deictic pronouns. This notion can be looked up separately. They are used to provide information regarding proximity/distance of speakers to each other in speech. deixis
Now, in order to identify oneself as a physical body, one says, to another person:
"I am John." [that is, I'm the person called John. Not Harry or Robert.] "We spoke on the phone, remember?"
Comment: In case of 'seen', when to use "he is john", instead of  "this/that is john".Are both statements interchangeable?
Comment: "This/that is John", when John is visible, is used when you are **pointing him out to someone else** but it is not  his "identity"  you are concerned with. "He is John" is to say he is John and not Harry. No, they are not interchangeable 100%. They are used differently: one deictically and the other for purposes of identification. Don't know how else to say it to you. :)
Comment: My favorite is when asked "Is this John Doe?" and the answer is "Yes, this is he."  Only place I'd ever see grammar like that I believe.
Comment: @MichaelDorgan I never knew grammar was a question of belief. :)


Does Windows XP use the NTFS filesystem function calls to read-from/write-to a pagefile (pagefile.sys)?

Question: If it does, then how do you justify the overheads incurred (journaling etc.)?
If it does not, then how come the pagefile gets fragmented?
Additionally, would increasing the cluster size improve pagefile performance (cluster slack space is a non-issue)?
Comment: FWIW, I think this is a good question.  For comparison, Linux's `mm/swapfile.c` asks the filesystem for the file's extents, and thereafter accesses the blocks directly on the underlying device.  On the upside, this has no filesystem overhead; on the downside, swap files cannot be resized while in use.
Answer: You can see filemon or procmon (sysinternals.com) to see the OS writing to the pagefile - so it must use the appropriate filesystem semantics.
If you're swapping because of memory pressure, you've already lost the performance battle and the overheads aren't going to significantly add to the loss (but they will mean your filesystem remains uncorrupted).  If the swapping isn't performance critical, who cares about a marginal performance hit for journalling?
Cluster size is unlikely to be an issue because that just maps from index->storage on the disk. The pagefile only very rarely changes size so the index will hardly ever change.
Answer: The system uses file system calls to access the pagefile, as it must. The overhead for journaling and such is essentially nil. Journaling only comes into effect when the file system structure is changed, not for individual reads or writes. By default XP uses a semi-fixed pagefile with the initial size set at 1.5 x the size of physical memory. Under normal conditions the pagefile will never be smaller than this. If this size is adequate, and with a reasonable RAM size this will almost always be the case, the pagefile will never be resized. Only in this unlikely event will new clusters be allocated for the pagefile and there will be a possibility for fragmentation. Upon a reboot, or sooner, all extensions to the pagefile will be released and it will revert to it's initial size. Under normal conditions fragmentation does not occur. If the pagefile is initially unfragmented and resizing does not occur the pagefile will NEVER fragment.
The pagefile is used on a more or less continuous basis to hold rarely used data. These writes take place during quite times of low CPU and disk access so do not impact performance. Since the data involved is rarely used pagefile access rarely impacts performance to a serious degree. The pagefile is not simply an overflow area that is used when memory runs short. In most cases the pagefile improves performance by freeing RAM from the need to handle static data for long periods of time.


adding fields from vendor bill in NetSuite into e-mail sent with docusign

Question: We want to use the fields from the vendor bill to populate the e-mail or a PDF to send with other documents from NetSuite for DocuSign
Anyone setup a form adding fields from vendor bill in NetSuite into e-mail to be sent with docusign?
Answer: you would need to construct an email template
Documents > Templates > Email > New
select "CRMSDK - Deprecated" this allows you to input the fields into your template.
fill out the information at the top; enter in the subject
then select "Text Editor"
type the email as desired and where you want to insert a Netsuite Field use "field Type" such as "Vendor" than use the "Insert Field" and select the field you want to insert.
After you complete the email, save and default it template to use when emailed for your Vendor Bills.


Using OpenBox window manger in Tails OS

Question: Im a little new to this so I apologize if i am using it improperly but i recently installed Tails OS and i dont like the way the desktop looks so Ive been trying to use Openbox window manager within it. I saw in many articles and tutorials that after you install openbox you just select to use it when logging in but the settings button doesnt seem to be present when logging in with tails. Id like to get openbox setup in my persistence volume to use anytime i log in, but i cant figure out how. The thing i theorized about was running virtualbox within tails and using Whonix within that virtual machine but it think thats even more of a stretch. Id love some help on this topic, thank you
Answer: Tails is still immature, so no wonder why you're having the trouble you're asking about. To achieve a way better security and user experience you need to use QubesOS and Tor combined - try it and forget the Tails(hit) :) To make things really secure you arise Tor not at dom0 as it said in many quickjump guides, but on a separate VM container and then you're just using it as a router for the rest of the system. If you need to use Tor protection for dom0 you should do this through the proxy functionality only - routing and thansparent proxying can be easier to set up but it will break some things on dom0 and some security will be lost.
Comment: Thanks, Isnt Qubes heavy though. Also, isnt it possible for me to run any old distro and manually connect the tor network and run it live from usb?
Comment: Qubes is quite a lightweight even for a netbook - unless **you** will make it heavy by installing tons of bloatware packages, but any distribution will become heavyweight if this happens. About making your own live distro - sure, can! but it's a bit laborious comparing to pre-made one like Qubes. Yes, Tails is lighter than Qubes, but *just a little bit*, so don't be concerned about it

Using OpenBox window manger in Tails OS


Where can I find the TypeScript version installed in Visual Studio?

Question: Maybe it's obvious, but I checked everywhere (besides the right place) and googled it. Nothing.
Answer: If you only have TypeScript installed for Visual Studio then:

Start the Visual Studio Command Prompt
Type tsc -v and hit Enter

Visual Studio 2017 versions 15.3 and above bind the TypeScript version to individual projects, as this answer points out:

Right click on the project node in Solution Explorer
Click Properties
Go to the TypeScript Build tab
Comment: this did not work for me. I used the vs command window. I have vs 2013 update 3. It just said Command "tsc" is not valid.. What could be wrong?
Comment: @Gustav, I think you are using VS' integrated Command Window (**View -> Other Windows -> Command Window**). You should use **Visual Studio Command Prompt** from the **Start Menu**.
Comment: I used **Package Manager Console**, it worked also (it is available when you use nuggets)
Comment: Outside of Visual Studio: npm install -g typescript; tsc -v
Comment: It doesn't work for me, I found the answer http://stackoverflow.com/a/39912302/191647
Comment: This actually only reflects what your path setting is, not necessarily what VS uses for your project in case of more versions installed. See other answer by atconway.
Answer: Two years after the question was asked, using Visual Studio Command Prompt still did not produce right answer for me. But the usual Help|About window seems working these days:

UPDATE (June 2017):

VS 2013 does NOT show this info. (Later note: VS 2017 Enterprise edition does not show this info either).
VS uses Microsoft Build Engine (MSBuild) to compile Typescript files. MSBuild can support several major releases of Typescript, but About window shows only the latest one.

Here is how to get to the bottom of it:
A. To check which versions of Typescript are installed with your Visual Studio/MSBuild, inspect contents of C:\Program Files (x86)\Microsoft SDKs\TypeScript folder.  For example, I have versions 1.0, 1.8 and 2.2:

B. Check which version of Typescript is requested by your project. In *.csproj file, look for <TypeScriptToolsVersion> tag, or you can add it if it is missing, like this

    <PropertyGroup>
        ...
        <TypeScriptToolsVersion>1.8</TypeScriptToolsVersion>
        ...
    </PropertyGroup>

C. Finally, you can check, which version of Typescript is actually used by MSBuild. In TOOLS | Options | Projects and Solutions | Build and Run set MSBuild project output verbosity to Detailed:

Then build your project and inspect the output: you should see the reference to one of Typescript folders described in (A).
Answer: Based in the response of basarat, I give here a little more information how to run this in Visual Studio 2013.

Go to Windows Start button -> All Programs -> Visual Studio 2013 ->
Visual Studio Tools A windows is open with a list of tool.

Select Developer Command Prompt for VS2013
In the opened Console write: tsc -v
You get the version: See Image

[UPDATE]
If you update your Visual Studio to a new version of Typescript as 1.0.x you don't see the last version here. To see the last version:

Go to: C:\Program Files (x86)\Microsoft SDKs\TypeScript, there you see directories of type 0.9, 1.0 1.1
Enter the high number that you have (in this case 1.1)
Copy the directory and run in CMD the command tsc -v, you get the
version.

NOTE: Typescript 1.3 install in directory 1.1, for that it is important to run the command to know the last version that you have installed.
NOTE: It is possible that you have installed a version 1.3 and your code use 1.0.3. To avoid this if you have your Typescript in a separate(s) project(s) unload the project and see if the Typescript tag:
<TypeScriptToolsVersion>1.1</TypeScriptToolsVersion>

is set to 1.1.
[UPDATE 2]
TypeScript version 1.4, 1.5 .. 1.7 install in 1.4, 1.5... 1.7 directories. they are not problem to found version. if you have typescript in separate project and you migrate from a previous typescript your project continue to use the old version. to solve this:
unload the project file and change the typescript version to 1.x at:
  <TypeScriptToolsVersion>1.x</TypeScriptToolsVersion>

If you installed the typescript using the visual studio installer file, the path to the new typescript compiler should be automatically updated to point to 1.x directory. If you have problem, review that you environment variable Path include
C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.x\

SUGGESTION TO MICROSOFT :-) Because Typescript run side by side with other version, maybe is good to have in the project properties have a combo box to select the typescript compiler (similar to select the net version)
Comment: I had 1.0 and 1.4 directories in the SDK folder, and setting 1.4 didn't do anything. Project was still using 1.0. I had to physically remove the 1.0 to correctly load 1.4.
Comment: Microsoft says no - however there is a combo box for *intellisense* version you need to double check. Tools > Options > Text Editor > Javascript/Typescript > Typescript Version
Comment: Hi, No you don't need to remove the other folder. Please enter in the 1.4 directory and run there tsc -v. See what version do you have there. Greeting
Comment: Changing the PATH environment variable such that the TypeScript 1.4 path preceded the 1.0 path got VS2013 Update 4 to use version 1.4 for me.  (Ugh!) Perhaps someone can clarify proper use of the Path environment variable vs .
Comment: @IanW - I believe the value in the `PATH` variable is what `tsc -v` will read (from command line root; navigating to individual SDK directories and running command will show actual version), but VS.NET will use the version indicated in the `` value within the .csproj file. It seems `tsc -v` is a bit misleading as the `PATH` variable value is not updated when newer versions of TypeScript are installed. See the following: https://github.com/Microsoft/TypeScript/issues/2068
Answer: The tsc -v command run technically reads the TypeScript compiler version within the SDK directory set within the Windows Path variable. This doesn't necessarily reflect the latest version installed as the Path variable is not updated with subsequent installations.
The version that VS.NET uses to compile the TypeScript is what's in the project's configuration:
<TypeScriptToolsVersion>1.5</TypeScriptToolsVersion>
To help explain this more in detail I created the following post which has the specifics on the TypeScript versions installed, and which version VS.NET uses to compile the TypeScript files.
Which Version of TypeScript is Installed and Which Version is Visual Studio Using?
I also added a feature request on Microsoft Connect to make viewing and switching the TypeScript targeted version in VS.NET easier. This isn't really a TypeScript feature request as much as it is a VS.NET IDE enhancement.
Allow switching TypeScript configured version from Project Properties IDE
Comment: Edit: My issue was caused by Resharper. It also has a setting that tells it which version of typescript to compile on. Geez,
Comment: Your answer assumes that all the work saved as a project file. A folder can be opened as a web project. Is there any other solution for those kind of web projects?
Comment: My config said 1.7 but when writing in a .ts file it told me it was 1.4 (I tried to use namespace and intellisense said i was using 1.4 and that was only available in 1.5 and up in the)
Comment: The feature is implemented in VS 2017.
Answer: The TypeScript team sorted this out in Visual Studio 2017 versions 15.3 and later, including the free Community edition.
How to See Which TypeScript Versions are Installed in Visual Studio
All you now need do is to go to project properties of any TypeScript Visual Studio project (right-click the project file in Solution Explorer/Properties), then go to the TypeScript Build tab on the left-hand side.  This has a 'Typescript version' dropdown that shows you the version the project is using, and if you open it the dropdown shows you ALL versions of TypeScript currently installed in Visual Studio.
The actual installs are currently at C:\Program Files (x86)\Microsoft SDKs\TypeScript and then subfolders by version number, at least on Win10 on my computer.  If you want to see the exact version (e.g. 2.8.3 rather than just 2.8) you can find the appropriate tsc.exe in here and look at its properties (Details tab in right-click/Properties in File Explorer).
How to Install Specific TypeScript Version
If you want to install a specific version of TypeScript then these can be found on Visual Studio Marketplace, although specific version numbers can be a little difficult to find in that list.  A Google search for, for example, 'visual studio marketplace typescript 3.3.1' will usually find the exact version you want.  If you install from here and restart Visual Studio the version will appear in the dropdown.  Note also that some of the latest versions of TypeScript (e.g. 4.2) will refuse to install if there's a more recent version installed.
Node.js Console Applications
This answer does not apply to the 'Node.js Console Application' project type, which doesn't have a TypeScript Build tab in project properties.  This is because it uses a version of TypeScript installed in the project folder using npm.  The version can be seen and changed in the package.json file, and when installed appears under the npm entry in Solution Explorer, and in the node_modules/typescript folder on disk.
Comment: In facts, no. VS 2015 doesn't have dropdown with TS versions.
Comment: Could potentially conflict with the global version so the one installed globally in the machine and set with environment variable and that of a specific project installed via npm cause conflict?
Answer: On Visual Studio 2015 just go to: help/about Microsoft Visual Studio
Then you will see something like this:
Microsoft Visual Studio Enterprise 2015
Version 14.0.24720.00 Update 1
Microsoft .NET Framework
Version 4.6.01055
...
TypeScript   18.104.22.168
TypeScript for Microsoft Visual Studio
....
Comment: I just installed typescript v1.8.6 and this still reads v1.8.36. It is also the latter version in Tools -> Extensions and Updates. So not  a good indication if you want to know that you are using the latest version for your project.
Comment: I'll just add that I don't know where Microsoft got version 1.8.36... it seems like it should be higher than 1.8.6 with 36 > 6 but it's not... this is the most confusion with versioning I have experienced...
Answer: You can run it in NuGet Package Manager Console in Visual Studio 2013.
Comment: @Jules Try checking if "C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.0\;" is in your system PATH variable. I was having the same issue, it wouldn't pick up the 1.5.0-beta at all, after I installed using "npm install -g typescript", but it was because the PATH was interfering with it, and when I typed tsc, it looked in the PATH first and ran 1.0.3.
Comment: In VS2012, this works as well: Tools -> Library Package Manager -> Package Manager Console
Comment: I've seen the npm install -g typescript command but that doesn't work for me?
Answer: As far as I understand VS has nothing to do with TS installed by NPM.
(You may notice after you install TS using NPM, there is no tsc.exe file).
VS targets only tsc.exe installed by TS for VS extension, which installes TS to c:\Program Files (x86)\Microsoft SDKs\TypeScript\X.Y.
You may have multiple folders under  c:\Program Files (x86)\Microsoft SDKs\TypeScript.
Set TypeScriptToolsVersion to the highest version installed.
In my case I had folders "1.0", "1.7", "1.8", so I set TypeScriptToolsVersion = 1.8, and if you run tsc - v inside that folder you will get 1.8.3 or something, however, when u run tsc outside that folder, it will use PATH variable pointing to TS version installed by NPM, which is in my case 1.8.10.
I believe TS for VS will always be a little behind the latest version of TS you install using NPM. But as far as I understand, VS doesnt know anything about TS installed by NPM, it only targets whateve versions installed by TS for VS extensions, and the version specified in TypeScriptToolsVersion in your project file.
Answer: I have VS2015 and I have to run a build with TypeScript 1.7, although I have 1.8 installed via npm install typescript -g there are two ways (at least for me they worked):

Go to your .proj file and add <TypeScriptToolsVersion>1.7</TypeScriptToolsVersion> as up as possible. Rebuild, re-run. If it doesn't work try 2.
Go to Control Panel -> System -> Advanced System Settings -> Enviroment Variables. Make sure you add your desired TypeScript version first: C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.7;C:\Users\serban\AppData\Roaming\npm

This will also affect your CLI:
$ tsc -v
message TS6029: Version 1.7.5

Comment: Finally, it's working! This answer was really helpful :)
Answer: First, make sure you have the following address in your Environment Variables Path
C:\Program Files (x86)\Microsoft SDKs\TypeScript\2.0

Then open your Command Prompt and type the following command:
tsc -v

Answer: You can do npm list | grep typescript if it's installed through npm.
Answer: In the command prompt, simply type 1 of the following command then hit  Enter :

tsc -v
or
tsc -version
or
tsc --version

Note: Make sure you have added Typescript to environment variable path
  before running command, details here: How to set environment
  variable.
Comment: those for local install won't work, instead use 'npx tsc --version' since npm 5.2.0
Comment: it says "tsc is not recognized".
Comment: @Aileron79 I just did if may be help someone else :)
Comment: Ensure that typescript is set in the enviroment variables, in my case it looks like this: C:\Program Files (x86)\Microsoft SDKs\TypeScript\2.2
Comment: @CarmineTambascia you should make this a regular answer, this answered the question for me, thanks!
Answer: Open a (normal, not the VS) command prompt or a PowerShell prompt.

tsc.exe -v
tsc.cmd -v
tsc -v

If you installed the same version of TypeScript for Visual Studio and using npm, the output from the above three commands should be the same.
If not, check your System PATH to see where in the path hierarchy and which typescript directory is listed.  For PowerShell users, the easy way is:

$env:path -split ';'

Be careful of having nothing or multiple TypeScript directories listed in your System PATH variable.  As of June 9, 2017, my System PATH looked like this (just the top part, which is all that matters in this situation):

ps>$env:path -split ';'
C:\Windows\system32
C:\Windows
C:\Windows\System32\Wbem
C:\Windows\System32\WindowsPowerShell\v1.0\
C:\Program Files (x86)\Microsoft SDKs\TypeScript\2.3
C:\nodejs\
C:\Users\{username}\AppData\Roaming\npm

Notice that only the 2.3 directory is included in the PATH, not multiple versions.
Answer: Update 2023
Adding what did worked for me:
For those for local install won't work, instead use:
'npx tsc --version' since npm 5.2.0

Answer: For a non-commandline approach, you can open the Extensions & Updates window (Tools->Extensions and Updates) and search for the Typescript for Microsoft Visual Studio extension under Installed
Answer: If you'd like to find out what version of Typescript is being used on a particular project, go to your package-lock.json file. You will find something like this:
"typescript": {
      "version": "3.5.3"
}

Answer: As of Visual Studio 2022, there is a new TypeScript/JavaScript project type for Angular/React/Vue, the TypeScript SDK is deprecated (but still installable through the VS installer with warnings), and Visual Studio supposedly provides IntelliSense and language support based on the TypeScript version you're using for your project (npm is the preferred way to specify the version of TypeScript you're using, via your package.json file).
Per this answer, though, there are still questions about how to control/discern what specific TypeScript language version Visual Studio 2022 is supporting at any given moment.
Answer: VS Code -> Explorer -> package.json -> check dependencies.
Find typescript version in dependencies


IBM Graph query result to Graph representation

Question: Is there any way that we can plot the query result from IBM Graph DB to a graph representation?
Answer: IBM graph has UI for basic plotting of nodes and edges. feel free to reach out to us on our public slack for help there: http://ibm-graph-slackinvite.mybluemix.net/
Comment: Thanks for your answer. I basically wanted to know if there's an external utility that I can use to show the result graphically on my website as IBM UI does.
Answer: this may be helpful: https://cambridge-intelligence.com/keylines/ibm-graph/
there are also multiple graphing utilities you can implement, but you have to do the work of mapping the graph..etc (ex: https://bl.ocks.org/mbostock/4062045) you choice would also depend on how much you are trying to display and what you are trying to do (ex: zooming, clustering, filtering, calculations to best show the graph...etc). feel free to come to the public slack channel i mentioned and we can help ya with our experience.


Testing EFI integrity under Linux

Question: The utility in this article:  High Sierra automatically checks EFI firmware each week looks like it will improve security on a Mac running macOS, but is it available for Linux too?
Answer:
is it available for Linux too?

It's highly unlikely to be available in Linux.
This is a macOS utility to improve the security of Apple Mac products.  Apple typically doesn't make available (aka open source) the tools they develop as they are proprietary to Apple.  There's no incentive for them to port this (or any other utility) to Linux since it's Apple's objective for you to run macOS on Apple hardware.

Testing EFI integrity under Linux


What happens if I file a civil lawsuit without a lawyer in Germany?

Question: I want to file a lawsuit with the Berlin District Court. in Germany, paragraph 78 of the procedural code applies, according to which all plaintiffs are required to hire a lawyer. I am a capable person and I believe that no one has the right to restrict me in representing my interests. If the documents on the claim are not accepted from me, I will appeal and I will go to the ECHR. What are my chances of breaking the system?
Comment: The crux is: What amount are you suing for? There is a hard line when you have to have a lawyer (depends on the matter, amount and court you sue in), and your belief of "no one has the right to restrict me in representing my interests" is plainly wrong under german law.
Comment: The question is if a **Landgericht** (district court), where §78 applies, is responsible at all. A Landgericht is for **serious** cases such a murder, manslaughter, robbery and other offenses for which a prison sentence of more than four years **or** high financial claims (over €5000). Otherwise an **Amtsgericht** is responsible where §78 does **not** apply.
Comment: **Landgericht** and **Oberlandgericht** are called  *regional courts* ; An **Amtsgericht** are called *local courts* in the semi official translation: [Code of Civil Procedure (ZPO)](https://www.gesetze-im-internet.de/englisch_zpo/index.html)
Comment: What exactly are you planing to do which 'expect more than four years imprisonment'?
Comment: Worth keeping in mind that in a criminal case, at least, in a case where a lawyer is required, the government would provide one if you can't afford one, so it isn't a matter of someone being denied due process in a criminal case due to inability to hire a lawyer. On the other hand, €5000 is not really a lot of money relative to the cost of a lawyer (although the minimal cost for a lawyer in a smallish civil case in Germany is substantially smaller than in the U.S. or U.K. for example, because of the way that the civil courts and the legal profession are structured there).
Comment: Does this answer your question? [Can i represent myself in a German court without a lawyer?](https://law.stackexchange.com/questions/57279/can-i-represent-myself-in-a-german-court-without-a-lawyer)
Comment: The question is not, as far as I can tell, whether the OP needs a lawyer but instead is asking what the potential result of any appeal to the ECHR would be
Comment: As ohwillke noted: the 5000€ lower bound is easily reached: a traffic accident, even with nobody injured, easily results in higher damages. That is why you have to insure your cars.
Answer: Close to zero, provided that §78 ZPO really applies in your case.
You want to overturn established law and precedent on the grounds that it violates your notion of justice and civil or human rights. Such things happen, but doing so without professional representation is close to impossible. You have two realistic options -- get a lawyer for your initial case, or get a lawyer for your appeal as it works through the institutions (which is likely to fail).
Comment: "Anwaltszwang" is not against any higher law, and overturning it is impossible in civil legal system
Comment: @Trish, we can't know until there is a recent case in the BVG or ECHR. Consider the 1983 census case, which recognized informational self-determination as the logical consequence of other, enumerated rights in the constitution. They might reinterpret Art. 103, for instance. But I agree that overturning Anwaltszwang is *almost* impossible this way.
Comment: that Anwaltszwang would violate the constitution can't be deduced from the matter though. In fact, it is very much in line with the Grundgesetz: BVerfG, Beschluss vom 11. Oktober 1976, Az. 1 BvR 373/76 & BVerfG, Beschluss vom 20. August 1992, Az. 2 BvR 1000/92. Likewise, the EU court for human rights confirmed **twice** that it is not violating the human rights charter - in 1986 and 1999.
Comment: The 1986 case is  "
CASE OF GILLOW v. THE UNITED KINGDOM (ARTICLE 50) (Application no. 9063/80)", the 1999 case is "CASE OF WAITE AND KENNEDY v. GERMANY

(Application no. 26083/94)"
Comment: @Trish, isn't Waite a labor case? I have no doubt that the OP will fail, the difference here is between almost impossible and totally impossible.
Comment: If I reade Waite correctly, it is some kind of ESA Labor case, and somehow they remarked *in the middle of the discussion* that making it harder to access the justice system by requiring spoecific things (like a lawyer) is ok, because it streamlines the system.


How to make Sforzando drums SFZ library work with linuxsampler?

Question: I have been trying to make the Sforzando drumkit with linuxsampler but I always get the "err 3" error tag in red in QSampler shown below the channel count. I have been able to make other libraries work but not this one, please help!
Answer: Problem
Basically the problem is that some of SFZ files that you load into linuxsampler using QSampler, that reside inside the folder obtained after extracting the SForzando ZIP file appear to be pointing to a higher level in the folder structure.
Solution 1. Easiest
You just have to move the Samples folder inside the Programs folder.
Solution 2. Just for fun
If for any reason you need to preserve the original folder structure. Edit all SFZ adding additional "../" in front of the paths so a path like:
sample=..\Samples\SMD Cymbals Stereo (Samples)\Crash (Samples)\Crash 16 (Samples)\RR1\01_Crash_16in_R_edge_RR1.wav

would be changed to
sample=..\..\Samples\SMD Cymbals Stereo (Samples)\Crash (Samples)\Crash 16 (Samples)\RR1\01_Crash_16in_R_edge_RR1.wav

Explanation
The default folder structure in the plugin files is as follows (well, actually please ignore the "Manual..." folder and file, these as additional materials from the same library I included in the extracted folder):

The "main" SFZ file is the SM_Drums_kit.sfz file, since this contains all instruments. This file makes use of other SFZ files, that are inside the mappings folder; this is visible in lines like these ones:
.
.
.
#include "mappings/smdrums_sfz_sidestick.sfz"
#include "mappings/smdrums_sfz_rimshot.sfz"
#include "mappings/smdrums_sfz_snare65reg.sfz"
#include "mappings/smdrums_sfz_snare65nr.sfz"
#include "mappings/smdrums_sfz_snare67nr.sfz"
#include "mappings/smdrums_sfz_snarehy1.sfz"
#include "mappings/smdrums_sfz_snarehy2.sfz"
.
.
.

The files in this folder are expected to point directly to the sampled sounds files in the Samples folder. But if you look into those files, they point just a level up from the mappings folder (here one line of the smdrums_sfz_crash16 file):
.
.
.
sample=..\Samples\SMD Cymbals Stereo (Samples)\Crash (Samples)\Crash 16 (Samples)\RR1\01_Crash_16in_R_edge_RR1.wav
.
.
.

so these files are pointing to a wrong location, so either you change the location of the Samples folder, or you change the pointers to that folder, which are the sample= lines in all those files.


Use MeasureIt value in driver

Question: Do values from the MeasureIt add-on have a data path we can point to when using drivers ?
I've scrolled through the code but couldn't figure it out.
Comment: I think you can. You can right click any value field in the advanced options (the cogwheel icon next to the eye icon) of any MeasureIt measurement, and then choose Add Driver. Or choose Copy Data Path to use in the Single Property Driver Variable Type of an excising driver.
Comment: Unless I have no eyes, there is no UI element containing the value of a measurement. It's only displayed in the viewport.
If measured values have a data path, they are hidden and can only be found in the python code.
Comment: Ah, i see what you mean. My knowledge is very lacking on this point but then isn't the data you're referring to the actual mesh data? I suspect that in a way the 3Dviewport displayed MeasureIt values are "driven" by mesh geometry, and that there isn't separate MeasureIt data that defines the mesh dimensions; Because one can't edit mesh geometry via MeasureIt UI. (but like I said i don;t really know.)
Comment: No problem, thanks anyway. But yeah in theory I could write math formulas as driver expressions to get the same results as what MeasureIt does but in practice it would come out as unreasonably long driver expressions. Or I could split expressions in multiple parts by adding more objects and using their properties to nest the different parts of the expressions. Or I could just write a python script that does the same as MeasureIt except it puts the results in properties that are accessible from python, which may be the most reasonable solution. I was just hoping MeasureIt already had this.
Answer: I just discovered custom functions which are a way to expand driver functions using python. This way I can use any complex geometrical calculation in a driver with the help of numpy and math.

Use MeasureIt value in driver


Method to Log or View iOS App Network Calls [No Jail-Breaking]

Question: Outside of a proxy, is there a way to log, or view network calls apps, services, and processes are making/have made on iPhone and iPad devices?  For forensic analysis/malware hunting.  I'm aware there open source frameworks and apps where you can tail the live syslog, but the log level isn't granular enough.
Answer: If this is an app you're developing yourself, you can use Xcode and the accompanying Instruments program to setup a Network tracer. From there you can see for example all the HTTP calls that your app makes.
Another option is various forms of proxies and VPN software that you can use to intercept, log and view network traffic. However, you state in your question that you do not wish to use these.
Apart from the above, there's no option for intercepting all network activity made by apps, services and processes on iOS devices that are not jail-broken.


Prescaler vs Counter Period (STM32)

Question: For timers on the stm32, there is the option of setting prescaler and counter period. I understood that the prescaler is dividing the frequency before using it for the counter. However, it seems to me that setting the counter value does basically the same because if I set the counter to N the resulting frequency f should be f' = f / N which results actually in the same as prescaler. What did I get wrong?
Answer:
Prescaler defines the frequency of the counter unit. AR (auto reload) is just a cap for maximum count unit and reg update; in PWM or a simple time-base, they work the same. but what about a input capture? What about PWM without sacrificing resolution?
More flexibility. Usually the prescalers are just a power of 2 like
2,4,8,... and despite the fact that there are some microcontrollers
with no limit on that, but adding both makes it more flexible.
Answer: The prescaler is used to set the frequency in which counter is changed.
Example:
If your timer clock is 100MHz and you want the timer to overflow every 2ms you need to do some math.

For 2ms your counter will have to count to 100MHZ * 2ms = 200000. Most STM32 timers counters are 16 bits and this value will not fit. The maximum value is 65535.

200000 / (65535 + 1) = 3.05. The closest integer number greater than this is 4.

100MHz / 4 = 25MHz. The counter will need to count to 50000 and this value will fit the 16 bits register.

So your prescaler register (PSC) will need to be set to 3 (4-1) and counter register (ARR) to 49999 (50000-1).  The offsets of one are necessary because it is how those timers work.

Prescaler vs Counter Period (STM32)


How could Damon kill Bree without getting burned?

Question: So in Season 1 Episode 11, after Elena crashes her car, Damon takes her to Atlanta to visit a bar run by the witch Bree. Bree pretends to be friendly to the pair, but secretly calls Lee, Lexi's boyfriend, who wanted revenge on Damon for killing Lexi. Elena gets Lee to change his mind, and Damon goes to confront Bree, who says that Lexi was her friend.
Ok, Bree says, as a sort of defensive measure, that she is 'full of vervain', because she puts it in all her food/drink. So her blood is off-limits to Damon, as a vampire. So if Damon drinks her blood, he'd be burned/incapacitated by the vervain.
Just like in Episode 20, where Giuseppe (the Salvatore brothers' dad) spiked Stefan's drink with vervain to trap Katherine. When she drank Stefan's blood, she was incapacitated by the vervain.
But when Damon killed Bree, he grabbed her heart and ripped it out of her body. So his hand came into contact with her blood which was 'full of vervain'. So why didn't his hand burn? He should have been hurt by the vervain.
Answer: Because it's diluted in the blood, and Damon doesn't consume it, unlike Katherine, who fed on Stefan.
He also isn't holding the heart very long, to diminish the effect further.


Clojure and noir for a classic web application

Question: How would one go about using Noir with user authentication and an ORM.
Would it all have to be accessed via java objects?
Are there any rails style "blog" tutorials that go about user auth and database access?
Answer: Take a look at https://github.com/ibdknox/Noir-blog. It uses a simple file-based db, but it shouldn't be too hard to replace it with for example MongoDB using CongoMongo, or a different one.
Answer: I made a small noir-based webapp which lists the contents of an 'users' table from MySQL using the korma library. It's pretty simple but you can check it here: https://github.com/dfuenzalida/noir-showdate


Transaction governor Limit reset

Question: I have a simple Apex Class, method execute() which reads every 5000 (Queries everytime for next 5000 leads) leads and applies business rules and update 200 at a time. but we have triggers on the Lead obj, so every update its increasing the limit and reaching the governor limit. Its not resetting for every execute or Database.update(). can you please let me know, Is there a way I can reset the transaction to start over the governor limits.
Appreciate your help!
Answer: Use batch Apex as described e.g. Force.com Batch Apex and Large Data Volumes. This allows work over a large number of SObjects (or other objects) to be executed in batches where each execute method has its own set of governor limits.
Added after nvr's first comment:
You can run a sequence of batch Apex jobs - a chain - by starting a new job in the finish method of the current job (and so on). Typically, as well as implementing the Database.Batchable interface, you will also add the Database.Stateful marker interface so you can preserve state and forward it to the next batchable in the chain. This approach allows the jobs to be run one after another and so avoids hitting the concurrent jobs governor limit.
Do note though that batch jobs are queued and the processing delays and processing rate are at salesforce's discretion: progress may be slower than you expect.
Comment: Suggest you update the question to be more specific then. Also Google about job chaining where the finish of one job starts the next.
Comment: That's what I was going to say, but with an example. I'd recommend updating this answer with more info than just a link.
Comment: I am looking for a solution without batch, since it has limit for 5 jobs can only run concurrently. We have a huge set of jobs that needs to be run in SFDC , so cameup with a JavaApplication with Schduler to make a call to Apex Webservice and access the class to complete the job, with in Apex class method , I need to query for input data and apply business rules and then do an update of those records. Can anybody please help me with a solution to acheive with out batch Apex.
Comment: sfdcfox - I added a tiny bit more to the answer as I understand the aim here is to not just provide links...

Transaction governor Limit reset


Where do the quest rewards items go if my inventory is full?

Question: Where do the quest rewards items go if my inventory is full? Does someone know where I can find them? I'm playing the Xbox 360 version.
Comment: Happened to me also. Questgiver dropped the sack, I went into Craft Hall to sell items, and sack was gone on return. On a similar note, while in the Craft Hall I leveled, and learned the ability to summon the minion. One leaving the Hall he disappeared, well before his time should have run out. Seems to me that certain items "dematerialize" when you zone in or out of an area, rather than being on a set timer. Guess we need to sell or destroy excess before turning in quests.
Answer: Rewards that don't fit in your inventory get dropped into a loot sack at the feet of the quest giver. I don't know how long the sack lasts, but it should be well long enough for you to run to a shop and sell your junk and get back.
Comment: On the PS3 I had this happen. Left the hut where the bag was dropped, zoned back into town, zoned into the merchants area, sold, and then reversed to find out the bag was gone. Didn't last as long as I expected. :(
Comment: @qor72 Ah. I guess then it is time to make the hard decision to destroy an item or two to get your rewards.
Comment: I've had a few "reward items" disappear when my inventory was full when I talked to the quest giver - for instance, at the end of the "kill the mountain trolls" quest you're supposed to get a sword, and it just disappeared.  Essential quest items tend to appear in these types of sacks, though.


Spectral measure of 1-dimensional Ornstein-Uhlenbeck process

Question: I want to compute the spectral measure of the 1-dimensional Ornstein-Uhlenbeck process with covariance function
\begin{align}
\rho(t) = e^{-|\beta|t}, \qquad t \in \mathbb{R}.
\end{align}
Since $\rho$ is a proper covariance function, Bochner's theorem says that $\rho$ is the covariance function of some stationary Gaussian random field if and only if
\begin{align}
\rho(t) = \int_\mathbb{R} e^{i\omega t}\ d\mu(\omega),
\end{align}
for some finite non-negative symmetric Borel measure on $\mathbb{R}$. Now, I know as well that if $\mu \ll \lambda$, when $\mu$ is absolutely continuous w.r.t. the Lebesgue-measure, $\rho$ could be written as
\begin{align}
\rho(t) = \int_\mathbb{R} e^{i\omega t}f(\omega)\ d \omega,
\end{align}
where $f$ is the spectral density, i.e. the Fourier transform of the covariance function $\rho$. Therefore,
\begin{align}
f(\omega)= \frac{1}{2\pi} \int_\mathbb{R} e^{-i\omega t} \rho(t)\ dt.
\end{align}
However, I do not know see how to compute the spectral measure explicitly. Any help is appreciated!
Answer: At first, the covariance function of OU process should be $\rho(t)=e^{-\beta|t|}$, $\beta>0$. If this is true, then the spectral density is the following:
\begin{align}
f(\omega)&=\frac1{2\pi}\int_{\mathbb{R}}e^{-i\omega t}\rho(t)\,dt
=\frac1{2\pi}\biggl[\int_{-\infty}^0e^{-i\omega t}e^{-\beta|t|}\,dt+
\int_{0}^{\infty}e^{-i\omega t}e^{-\beta|t|}\,dt\biggr]\\
&=\frac1{2\pi}\Bigl[\frac{1}{\beta-i\omega}+\frac{1}{\beta+i\omega}\Bigr]
=\frac{\beta}{\pi(\beta^2+\omega^2)}.
\end{align}
Comment: Okido, thanks for your reaction. How to find the spectral measure from the spectral density?


Remove nodes individually from Solr Search index

Question: I know you can choose which content types to exclude. However, is there a way of removing specific nodes from the Solr index?
Answer: That's exactly what I wrote the module for. There's a release now and I moved the module to Apache Solr Node Exclude because I botched the project creation the first time.
Answer: Not sure if you've run across this module yet as it is a recent addition to drupal.org but it looks like it's right up your alley.
Apache solr exclude
Comment: Looks good, shame no current release. Ill contact the module dev and see if he needs a hand.


What are the drop rates for items in pots?

Question: Does anyone know the drop rate for items in pots in The Legend of Zelda: Ocarina of Time? I found a table for basically everything else (here if you're interested) but it doesn't include most pots. I know some pots drop the same thing every time (for instance, there's one pot in Goron City that always drops a Deku Stick), but I'm looking for just in general. I also don't really care about the flying pots because those aren't all over the place.
Comment: Are you sure any of them are at all random?
Comment: Pretty sure some of them at least are somewhat random. Like, if you go into the guardhouse as a child and break all the pots you can walk out with anywhere between 25-35 rupees. Though I suppose it's possible each individual pot or group of pots has its own drop table, which is why nobody's bothered to find drop tables for them.
Answer: According to speedruns.com, this is the drop table for everything in the game. Enemies and pots included.
Comment: So does a pot fall into the same category as grass, then? Because I feel like I've read this chart about 16 times at this point and I don't see anything about pots.
Comment: Yeah I think you got it. Anything that's not an enemy falls under the same part of the table is how I read it.
Comment: @MikeG Correct, there is nothing about pots here, since in Ocarina of Time they do not have random drops.
Answer: I'm the creator of the drop table you linked. Pots in Ocarina of Time are 100% hardcoded, they should always drop the same item.
What you'll find is some pots use a room flag and others use a dungeon flag to mark whether their item has been grabbed or not, dungeon flag pots will not give you the same item again until you exit and re-enter the dungeon.
Majora's Mask is different, and actually does occasionally use drop tables for some pots, which tables they use though vary from pot to pot.
If you're interested, OoTMap.com, my Ocarina of Time Interactive Map, features a Containers tab where you can see what every pot and box in the game is set to drop.


Smile creep: What does this "creep" mean?

Question: I felt the smile creep onto my face. What does smile creep mean? What about synonyms?
Comment: Er, me feeling **a** smile creep onto my face is okay; but it is really creepy if someone else's smile (*"the smile"*) is creeping onto my face! Ugh!
Comment: Im just translating the text, so it is not my own phrase.
Comment: @Leon Conrad: I think the problem (for a non native speaker) is in the parsing of the sentence, not the meaning of the word.
Comment: http://www.youtube.com/watch?v=-oehGtcW6BU
Comment: -1 for a question that could have been answered by looking in a dictionary or thesaurus
Answer: "Smile creep" is not a noun. You do not use it in the same sense as "I felt the CREME on my face."
Shorten the phrase to "The smile creeps onto my face." and it makes more sense. Subject= smile, verb= creeps, "my face" is the object.
Answer: This is an expression that describes the lips slowly moving into a smile.  Usually used in a literary context to indicate that some realisation or understanding is dawning upon the protagonist.
Comment: Or dawning on the _antagonist_...
Answer: Creep = to move slowly.
So the above sentence means, essentially,  "I felt the smile move slowly onto my face"
Another example: I had to creep quietly into the room to keep from waking the baby.
Comment: A few more (more metaphorical) examples: ivy can creep up a wall, a shadow can creep over the landscape, and a sense of fear can creep into our souls.


Seeking low-resolution DEM of California?

Question: I'm trying to create a 3D model of California (which I'll manipulate in Blender) at a fairly low resolution — just enough for large features (like Mt. Tamalpais, Coronado, etc.) to be legible.  Wherever I look, I find DEM's at much higher-resolution that would require a lot of stitching together and would likely tax my computer's capabilities.  Any ideas?  A bonus would be a DEM including Baja California too, but I realize most US sources won't have that data.
Comment: Sounds like getting the resolution I'm looking for (~100m) is known to be difficult: "The only problem with these data is when we need to make some analysis in a regional scale." http://carlosgrohmann.com/regional-scale-analysis-of-dems-resample-and-derive-or-derive-and-resample-paper-review/
Answer: Trying Google reveals lots of free and open datasets out there.
Here's one from NOAA at 1KM resolution.
You can clip the global/continental dataset to your required area with any basic GIS software
Comment: Thanks, it's the number of datasets that makes this so hard.  I hadn't seen that one, but looks like it's at the other extreme — this is too rough a rendering of the SF Bay Area: http://imgur.com/evwNZBT