Is "How did your job go?" grammatically correct?

Question: And if it is correct, can someone explain to me the grammar. Like, is it present continuous or something (grammar isn't my strong suit).
Comment: Please ask only one question at a time. You can ask a separate question about **has gotten better** and **is getting better**.
Comment: i edited the question
Answer: When we ask, "How did {something} go?" the "something" must have finished. It cannot be ongoing.  The simple past did go is used with things that happened in the past.
If the surgeon is operating on one of the organs of your body, and you are lying unconscious on the operating table, the nurse does not ask, "Doctor, how did the operation go?" because the surgical procedure is not finished yet. The nurse can ask "How is the operation going?"
But if the "job" is a completed task then your question is valid. Let's say the job was replacing the roof of a house, which people in that trade call "a job".

We have a big job tomorrow. We have to replace the roof of an old mansion.

Then you can ask:

How did your job go?  Were there any surprises? Did the decking need
  to be replaced?

But if you're asking someone at dinner how they fared at work:

How did your day go?

There, your day means "your work day".  The work day is over.  It is evening now.
Answer: It's correct.   It's past indefinite, also called "simple past" even though there is good reason to avoid that label.   Verb constructions have properties, such as tense, aspect, and mode.   In this clause, the verb construction is "did go".
The "did" appears before the subject "your job".   This arrangement is called subject-auxiliary inversion, and it's part of what marks this clause as a question.   We've established the interrogative mode.
In any finite verb construction, there is exactly one verb that marks tense, that takes either a past-tense form or a present-tense form.   When there is only one verb in the construction, it's quite easy to find that verb: My job goes well or my job went well.   These are the simple cases, in the sense that it only takes one word to complete the verb construction.
When there is more than one word in the finite construction, the verb that marks tense is the first.   In this example, that's "did".   This is the past-tense form of the verb "to do".   We've established the past tense.
English marks two properties that are generally considered aspects: continuous and perfect.   The continuous aspect requires an -ing form, traditionally labeled the present participle.   The perfect aspect requires an -en form, traditionally labeled the past participle.   For the verb "to go", those forms are "going" and "gone".
In your example question, neither participle is included.   We have only the past-tense "did" and the bare infinitive "go".   With nothing marking the continuous aspect and nothing marking the perfect aspect, there is nothing marking any aspect.   The aspect simply isn't marked.   We've established the indefinite aspect.
There is also a property called voice, with the values active and passive.   Those values make sense when describing transitive verbs.   The verb "to go" is intransitive.   We might consider this voice to be active, or we might consider this clause to have no voice.   In either case, it would make no sense to describe this construction as passive.
Your example question is in the interrogative mode, the past tense and the indefinite aspect.   For short, it is a (voiceless or possibly active) interrogative past indefinite construction.   For shorter, it is a past interrogative or a simple past.

There is such a thing as the present continuous:

How is your job going?

In this case, the verb with tense is the "is", which is a present-tense form of "to be".   The only other verb is an -ing form, which marks the continuous aspect.
It is as easy to find present continuous statements as it is to find present continuous questions:

My job is going well.

Here, the mode is indicative, the tense is present, the aspect is continuous.
Answer: To add on to Tᴚoɯɐuo's answer:  It is grammatically correct.  Whether it is idiomatically correct depends on what you are trying to say.
If, as Tᴚoɯɐuo says, you have a particular limited-term job that is complete (at least for the day) then you can say,

How did your job go?

or, assuming we both know which job you've been working today:

How did the job go?

In the same way, suppose I go on a business trip to meet with a client.  When I get back my wife might ask:

How did your trip go?

or

How did your meeting go?

However, if you just want to ask someone about their regular job, which they go to every working day, it would be more idiomatic to ask something like:

How was work?
Did you have a good day at work?

Or, more generally:

How was your day?


How to get Xresources background color

Question: I tried with xrdb -query -all. But it does not give the Xterm default background color code. My background color is cornflower blue. But I could not see that in list. Can any one let me know how to know that?
Answer: appres XTerm xterm shows all the resources read by Xterm when invoked under the name xterm. This includes both user customizations uploaded to the X server (visible with xrdb -query) and default files read on the client side by the application.
The first argument is the class name (conventionally starting with an uppercase letter; you can change it by running xterm -class OtherName). The second argument (optional) is the instance name (conventionally starting with a lowercase letter; you can change it by renaming the executable or passing the -name option).
Answer: X11 applications like xterm get their resources like the background colour from many places.
xrdb only lists resources held by the X11 server.
If you look in the man page for xterm you will find in the FILES section the names of files that are also read for resources. On my system they are
   /usr/share/X11/app-defaults/XTerm
   /usr/share/X11/app-defaults/XTerm-color
   ~/.Xdefaults

If you want the names of the colours like CornflowerBlue, they are held in a text file. On my system they are in /usr/share/X11/rgb.txt.

How to get Xresources background color


Why does Hugh/Jeff still see the entity?

Question: In It Follows why can Hugh/Jeff still see the demonic entity even after he's passed it on to Jay? He sees it once in the empty parking lot immediately after he ties up Jay, and there is also a scene later in the film of him telling Jay and her friends that he DOES see 'it'.
Comment: https://en.wikipedia.org/wiki/It_Follows "Hugh explains that she will be pursued by an entity that only they can see" Note the "they".
Comment: so the previously cursed people can only see it, while the currently cursed individual would be pursued by it, right?
Answer: The rules are that everybody "infected" can see the entity, although it only targets one person at a time.
This is reiterated several times throughout the movie:

Hugh/Jeff can see it in the empty parking lot;
Hugh/Jeff explains it when protagonists trace him to his home:

Okay, even though it's following you I can still see it. It's not done with me either. Like I told you, all you can do is pass it on to someone else.

In a later scene Jay can see the entity when it's going after and killing Greg:


Why would one want to use ruby over python or vice versa?

Question: I wanted to know, while deciding which language or technology to use for implementing an idea; a design, what are the factors involved in making a decision? Specifically talking about popular scripting languages, why would one choose to use ruby over python or perl or vice-versa? All these scripting languages have proved their worth, so how does one decide?
Answer: I just came across this comparison, b/w Ruby and Python, which is in terms of performance and memory management.
A fair comparison can be found here. Further, I tend to agree with all the three answers above.
Answer: Besides any hype that one language receives and the other doesn't, I think two factors play a role: mastership of the language, and availability of libraries. If you know Ruby already, you are more likely to use it again, and also to recommend it when asked; likewise for Python. Wrt. libraries: if you want to use Ruby-on-Rails (which you may have chosen for some reason), you have to use Ruby; likewise, if you want to use Django, you have to use Python. Etc.
Answer: It's going to depend a lot on what you want to do  (the stock answer).
There aren't huge differences between Ruby and Python - both are object oriented languages with more similarities than differences, really.  I'd suggest you try each of them out for a moderate sized programming project - say something that might take 2 or 3 hours.  You'll notice some things about each of them that will perhaps rub you the wrong way (indentation as syntax puts some people off when it comes to Python, for example.)  A lot of the choice is going to come down to your personal tastes.
If this is a standalone project you're thinking of implementing then it probably doesn't matter which of the two languages you choose.  If you need to interact with some existing infrastructure then it may matter a great deal - for example, if you need to work with some Rails related infrastructure then you'll probably want to go with Ruby, if it's Django, then you'll want Python.
Answer: I would look at these factors when making a decision -
Your Comfort Level and your teams
Your Ability and your teams
Your Resources
Requirements
Platform Maturity
Support


For 5 point Likert scale questions and binary dependent variable, which regression analysis should I use?

Question:
For 5 point Likert scale questions and binary (0 or 1) dependent variable, which regression analysis should I use? Can I use a binary
logistic regression on SPSS?
There are two or three questions to measure one independent
variable. I run a factor analysis after that two questions are tied
together. Now should I make another column in SPSS data sheet to
find average value of both tied questions? And use that average
value in regression analysis? If do average then average will come
into points for example, 2.5, 3.5 etc. Is this points coding OK to
run regression analysis?
Comment: [Is this a duplicate?](http://stats.stackexchange.com/questions/71919/whether-to-categorically-code-likert-predictors-in-binary-logistic-regression-in)
Answer: My answer is based on making some assumptions about your question.
Assumption 1: Dependent variable is binary.
Assumption 2: Independent variable (predictor) is ordinal.
Question 1:
If these assumptions are accurate, then the answer is yes. A binary logistic regression would be appropriate as the type of regression one runs is dependent on the dependent variable. A helpful hint is that if possible, have your independent variables have a meaningful 0 (e.g., "never" or "neutral" or sample mean). This tends to help with interpretation of the regression weights.
Question 2:
Based on the information you provided, it sounds as if you have the individual items of a scale (or subscale). For example, if I have 3 questions about different symptoms of a disease, they should factor together. I could average these items or sum the items to create a scale score that is then used as an independent or dependent variable in regression. This is commonly done in many different fields (particularly any field that uses surveys).
Hope this is helpful.


Stock Certificate In two names

Question: I have a stock certificate that is in 3 names. My mom, who is deceased, my brother and myself.  The stock, (Holobeam), now HOOB, is no longer on the Dow but was $19 a share and now is $38. What happens when a stock is no longer on the market.
   Wonder if it a good idea to sell. Thanks.
Comment: Legal advice is off topic on this site.  Suggest that you rephrase so that your question is only about finance and money otherwise you risk getting closed.
Answer: The DOW is just an index, which is simply a group of stocks meeting the criteria for inclusion. In the case of the DOW, it's the 30 US stocks with the largest market capitalization, but other indices include many lesser stocks (such as the S&P500 or the Russell 2000). The fact that Holobeam is no longer a constituent of the DOW30 probably shouldn't be taken in and of itself as a signal to sell the stock.
As far as I can tell, HOOB stock is still trading on the Nasdaq exchange. However, it is extremely ill-liquid, which means that there are very few people willing to buy or sell it. Whether or not this would work to your advantage is almost entirely down to luck - it depends whether there is a keen buyer out there at the time you try to sell.
Answer: I'd call it pretty worrisome.  HOOB is trading over the counter, in fact, on the pink sheets, so it has been delisted from the major exchanges.  It appears that it lacks recent financial disclosures.  You'll have to investigate to see if you think it's worth keeping, but trading is thin.
Answer: The common way to frame the "should I sell" question is ask yourself "would you buy it today at the current price".  If you wouldn't,  sell it.
Is sounds like this may be a paper certificate.  You will have to research how to present the certificate to a broker to trade it, or if the company has a direct shareholder program.  I have periodically been offered to sell "odd lots" to shareholder programs which, if one exists, may be less hassle than other options.  As a part of this, your mother's estate administrator should decide if the estate is selling it's interest, or giving it's interest to heirs before the sale.

Stock Certificate In two names


Where to change the vmware shared folder mount point?

Question: I managed to attached a shared folder with the vmware, but I need an another location to mount (not vmhgfs). I tried to create a simlink to the desired location, but it has got a root permission always (can not change). Please help. thx, István
Answer: A symlink has always the permissions rwxrwxrwx, it gets its effective permission when the link is followed. You can see the effective permission and the target of the link with ls -ldL <symlink>.
Example:
root # ln -s shareddir link_to_shareddir
root # exit
$ ls -ld *shareddir*
lrwxrwxrwx 1 root root    9 Feb 21 19:46 link_to_shareddir -> shareddir
drwxr-xr-x 2 jean jean 4096 Feb 21 19:45 shareddir
$ ls -ldL *shareddir*
drwxr-xr-x 2 jean jean 4096 Feb 21 19:45 link_to_shareddir
drwxr-xr-x 2 jean jean 4096 Feb 21 19:45 shareddir

Comment: That can explain a lot. I created the soft link on a shared folder, and the permission originated from there. How can I shared folder, if such a user do not exist on the destination machine?


Wave:SelectionChanged event is not firing

Question: I tried a lot but I don't know what I am missing to capture wave:SelectionChanged event.
Used same code as available on : https://developer.salesforce.com/docs/atlas.en-us.bi_dev_guide_sdk.meta/bi_dev_guide_sdk/bi_sdk_web_example2.htm
Steps Performed:

Added measure column in Table.
Added record Id column too in dashboard.
Have put both dashboard and Lightning component on lightning app page(one below the other).
on selecting the measure column no event is fired, tried putting console logs but the handle change did not trigged.

Please help me or suggest something on this.
Answer: As mentioned wave:selectionChanged is not allowed to be fired from table with any column type.
Kindly review Idea and vote for this feature.
Thanks


How to estimate/calculate pressure on the edges of a metal rod as it is heated up and tries to expand?

Question: Imagine we have placed a metal rod between two face-to-face walls so that the rod is just perpendicular to the surface of both walls and the edges of the rod touches each wall. So the length of the rod is initially just the distance between the walls. If I heat up the rod, it will try to expand and exert a force to walls. How can I calculate this force and the pressure exerted by the rod as a function of temperature assuming that the rod will not bend? I guess there must be a linear region where pressure linearly increases with the heat (until the rod deforms severely or melts down or its thickness starts to increase noticeably). What is the size of this linear region? Is it really the exact same case if the rod would be instead a pipe filled with a heated gas or liquid instead of the metal material inside the rod?
Comment: This probably requires simulation rather than closed-form calculation.
Comment: Well, too bad then :-(
Comment: I think the stress ought to be just $K\alpha\Delta T$, or the product of bulk modulus, thermal expansion coefficient and temperature, whereas the buckling transition, or the stability of the rod, assuming negligible gravity, is I think proportional to $K/L^2$, where $L$ is the length of the rod. The critical buckling stress, in particular, from what I remember, can be calculated for different geometries of rods and even with gravity thrown in. I think Landau&Lifshitz in *Theory of Elasticity* go through some of this.
Answer: This module out of the University of Connecticut School of Engineering asks precisely "What are the thermal stresses resulting from an elevated temperature on a round beam fixed at both ends?" They use ANSI 1030, a low carbon steel, as an example material for the beam. Below is the setup (the steel beam fits snugly between two walls and then is heated up from room temperature):

Image source: University of Connecticut School of Engineering

The module gives the following equation for the thermal stress in the x-direction, $\sigma_x$:
$$\sigma_x = \alpha E \left(T - T_{ref}\right)$$
Using the values of $\alpha$, $E$, and $\left(T - T_{ref}\right)$ stated in the problem description, for this example $\sigma_x = 359.7\ MPa$. This is below the yield strength of ANSI 1030 steel, $441\ MPa$, so at this temperature it has not left the linear region of temperature vs. pressure.
Applying this to your own example: you will need to look up the $\alpha$ and $E$ for the specific metal, as these are material dependant constants. Those coupled with the final temperature of the rod vs. what it was before heating $\left(T - T_{ref}\right)$ will allow you to calculate the $\sigma_x$. As long as the $\sigma_x$ is below the yield strength of the material, it will remain in the linear region where the stress/pressure will depend linearly on the temperature of the bar.


Sourdough Starter Black Spots

Question:
Hi All! I tried to make a sourdough starter, and after 24 hours I uncovered it and discovered black spots and 2 white fluffy areas. The black spots are only at the top layer so can I still use it after removing this layer?
Comment: The white fluffy area look like un-mixed flour.  What are the ingredients in your starter?
Comment: I used white flour & water. I remember thoroughly mixing everything until the mixture was smooth so it is unlikely to be un-mixed flour.
Comment: You say you uncovered it after 24 hours, how did you have it covered? I ask because the surface looks very dry and crusted in a way I never experienced with my starter.
Comment: I covered it with a thin folded ikea tea towel. Then I used an elastic band to secure the towel to the bowl. Could the dry surface be because the humidity is low in Australia?
Comment: @user3721 I'd guess so. If you try again I'd suggest covering with a plastic film or at least a plate to keep the humidity higher in the bowl.
Answer: I would discard this batch, carefully clean everything and start over.
If you truly mixed well in the beginning, then the fluffy bits are probably mold and the black spots are somewhat fishy as well. After only 24 hours, you won't have a strong culture going under that top layer and the mold problem will likely continue. Remember that a sourdough means that the desired yeasts and bacteria grew faster than the unwanted ones and that they create an environment where they can outcompete possible intruders. While a mature starter with problems can be salvaged by using just a bit from an unaffected area, this is not true for fresh flour and water mixes.
If you start over now, you won't have lost much: a day and a cup of flour perhaps?
Not part of your question but perhaps helpful:
The amount of yeasts is greatest on wholegrain flour - it may be worth it to get a small bag from your local organic store. For upkeep / later feeding, white flour is fine.
Comment: I would discard the batch as it is probable there is much more contamination that you just don't see. It is far to risky.
I would also discard all remaining quantities of ALL the ingredients you used (though I've a strong suspicion that the contamination is in the flour)
I've bought flour that  was well before the expiration and found the bag crawling with weevils just a short time after I opened the bag)
Comment: Wholegrain is often not needed, but I also tried to get going in low humidity and had trouble.  I added a bit of wholegrain rye and that did the trick and got thing activated much faster and going.  I am not fond of the taste of rye in some of the things I make with it, but as soon as the sourdough got going right, the rye was diluted out from normal feedings.  It just kick started the yeasts and local bacteria.  From others, it seems like any whole grain can do the trick though.  The bran I believe is likely to have the initial boost of captured yeasts.

Sourdough Starter Black Spots


What is the best way to get members on a cross functional team to respond to deadlines and feedback?

Question: I lead a cross functional team on an Employee Engagement initiative at my company.  I have several team members who either do not respond to the deadlines I set or come to the meeting unprepared.  The initiative gets treated more like an extra curricular activity rather than part of our jobs.  What can I do to change this behavior?
Comment: What benefit do those on the team get for their time and what benefit do their managers get for the time lost on their projects?
Comment: Sounds like your team isn't really made up of Engaged Employees yet. Is this a voluntary position, or something pushed on your team members?
Comment: It is an extracurricular activity. They still have their real jobs to perform.
Answer: Seeing as this really ís an extracurricular activity, I would expect that any participation is voluntarily. This should also mean that anyone signing up is doing so to achieve something and to make a difference, rather than just hanging out, wasting time. So, you could remind them that to make that difference some goals should be met. Meeting these goals and getting results will give the people their sense of achievement, and will strengthen their engagement.
If this kind of thing is not voluntarily you will get people that are not interested, don't see the point, and would rather go home.
Comment: Thanks for insight, Jeremy. I think you're absolutely spot on with your answer.


Word 2010 table pushed to next page

Question: I have a word template with fillable tables, one table at the top
and one table at the bottom with about 30 lines of space between for
writing. When I type the first sentence (just below the first table)
and hit enter, word sends the bottom table (part of) to the next page.
How do I either lock the table in position or fix the number of text
lines to prevent this from happening (this is a form and I want to keep
everything on one page).
Comment: Try toggling from insert to overwrite.
Answer: You should set the table to be positioned "Absolutely", whereby no other elements will affect it.  To do this in Word 2010, right click on your table and select "Table Properties", and under Text Wrapping select "Around".  Then the Positioning button will become available - click this, and then modify the properties to place the table where you want.
As per your requirement, to have a table at the bottom of the page and not have it pushed down for any reason, use these settings for Table Positioning:

Horizontal Position: Center
Horizontal Relative To: Margin
Vertical Position: Bottom
Vertical Relative To: Margin
Ensure the "Move with Text" checkbox is disabled

Word 2010 table pushed to next page


Why does Amazon Glacier WJPSGlacier vault Size show '--'?

Question: I have set up my QNAP NAS to backup to Amazon Glacier which seems to work well. However when I login to AWS the vault I am backing up to it shows the vault is empty, size 0, inventory last updated not available, etc. See the image below.

Any idea what's going on? QNAP isn't showing any issues, and I am being billed by AWS for the usage I was expecting.
Answer: The vault inventory is updated approximately once a day.
You will see correct size and number of archives in 1-2 days.
Andrey, work for CloudBerry


How to fetch all the data from list and store in my JavaScript array in SP2013 designer

Question: When I open my list form that time I want to fetch all the data from the contact list and store in my javascript array.
Answer: To retrieve items to array using JSOM , you should use loadQuery instead of load.
function Getallitems() {

    var ctx = new SP.ClientContext(appWebUrl);
    var List = ctx.get_web().get_lists().getByTitle('your list name');
    var cquery = SP.CamlQuery.createAllItemsQuery();

    var query = List.getItems(cquery);
    var allitems = ctx.loadQuery(query);
    ctx.executeQueryAsync(Function.createDelegate(this, this.onQuerySucceeded), Function.createDelegate(this, this.onQueryFailed));
}

function onQuerySucceeded(sender, args) { alert("Succeed");}

function onQueryFailed(sender, args) {

alert('Request failed. ' + args.get_message() + '\n' + args.get_stackTrace());
}

allitems is now working as array.
Comment: Thank you for reply where can i write this code? i am using SharePoint Designer.
Comment: you are welcome, but should you tell me what you are doing using Designer to can help you how to use it, where it's client side code that you can use it at control event like onclick event at button
Comment: I want to bind the contract list record  to my drop down when page load also i want to bind only those record which related to  select the customer. customer type is external data.
Comment: I want to implement logic like this http://prnt.sc/ccxmlg
Comment: Should we continue to this room because your question needs more details http://chat.stackexchange.com/rooms/44476/discussion-between-m-qassas-and-admin


Gradient vector and local extrema

Question: We learned this gradient vector stuff in class but after much struggling I just got the hang of it. I am not very flexible with it. All i know is that at a point the vector that points to the direction with highest rate of change is the gradient vector. I have a bit of confusion here. I found the gradient vector by squaring Fx and Fy then square rooting them to get gradient vector at point (x,y). However I found gradient vector at all those 4 points (4 quadrants) to be equal to sqrt2/e^2 which is strange to me. How can I tell from gradient vector if they are max or min? Using wolfram I got quadrant 2,4 are mins and 1,3 are max but I dont know how gradient tells whether the extrema are max or min.
Answer: First, what you found to be $\sqrt2/\mathrm e^2$ is the norm of the gradient vector, not the gradient vector. Second, the exercise is very badly phrased; a quadrant doesn't "represent" a local maximum or minimum, it contains one. Third, you can't directly find minima and maxima from individual gradient vectors, but in the present case the idea is to use the level curves to see that there are extrema near $(\pm0.7,\pm0.7)$ and then use the gradients at $(\pm1,\pm1)$ to decide which of those extrema are minima or maxima by finding whether the gradient points towards or away from the extremum.

Gradient vector and local extrema


What is the difference between themes stored in "/usr/share/themes" and "~/.themes"?

Question: I was using some themes and wondered why there are two places where themes can be stored: /usr/share/themes and ~/.themes. What is the difference between those two places? In which of those should I install my themes?
Answer: The difference is that themes installed in /usr/share/themes are global, but the ones in ~/.themes are available only to the current user.
Comment: Does it has influence on system performance?
Answer: By default, when you install a theme as we normally install any package, say using apt install <some-theme-package>, it is installed in /usr/share/themes. When you install a theme in this way, it  makes it available to every user, but in itself this will not change the theme that is in use, for any user. Any user that wants to use this new theme, will have to select it using a tool such as gnome-tweaks. If you install it in ~/.themes, only you will be able to select it. Given this information, where you install it is your choice.
My philosophy is to install any package that I have modified or that I cannot easily find again or that I find special, perhaps not adequate for others, in my own home directory, but otherwise I see no point in polluting my own directory with standard packages that I can easily find again in public directories.


Using html pages to navigate documents on shared drive

Question: I do not have any experience with web development, so I'd really appreciate an advice on the following issue:
a team of about 10 users currently has lost of documentation (mainly MS Office files and PDFs) on a shared drive, organized into folders. They want to keep it there, but at the same time want to have some very simple system that would allow them to navigate documentation in a more efficient manner. They cannot install any s/w on that computer.
Would a few simple html files on the same shared drive, with some links to each other and links to relevant documents in each work?
The issue is that, as I mentioned I do not have any experience, so I do not know what possible problems may appear if we just create these pages, put them on that shared drive and share link to the main page with everyone in the office. So, comments/suggestions will be greatly appreciated
Answer: If you want to develop navigation kind of stuff,either you have to implement any server side coding in your application or any jquery plugins.
http://www.sitepoint.com/10-jquery-file-manager-plugins/
visit the above site.It is offering a set of jquery plugins and most of them are free.This will help you to achieve your functionality.


Rainfall data, skewed with zeros

Question: I would love some insight on how to treat daily rainfall data that is highly skewed with many zeros. I would like to use the rainfall data as a regressor of a logistic outcome.  I do plan on categorizing the data but would also like to investigate linear associations and keep the rainfall data continuous. I would appreciate any thoughts on the best way to treat this data.
Comment: It would be worth looking at the approach of [Hyndman and Grunwald](http://onlinelibrary.wiley.com/doi/10.1111/1467-842X.00115/abstract)
Answer: There is no rule against using the data as they come; you just have to see what works.
Historically, some people have used cube roots with rainfalls to make distributions more symmetric. Manifestly, zeros go to zeros with cube roots, so that fits. (The obvious contrast is the difficulty of what to do with logarithms when zeros are presented.)  More statistically, the use of cube roots can be motivated by the idea that rainfall distributions can be approximately gamma-like.
However, the main reason for transforming would, or should, be to match the best functional form for your problem, not because the logistic model assumes anything about the marginal distribution of any regressor.
It's difficult to say more in the absence of any information on what your response variable is, what the other regressors might be, and what the scientific or practical problem is.
Possible complications include

Whether there is a qualitative difference between days without rain (or, days without "substantial" rain, for some definition of "substantial") and days with (same qualification) that is not captured by treating rainfall quantitatively. (I can't see any case for categorising rainfall otherwise; that strikes me as completely unphysical unless you have independent scientific grounds for expecting thresholds to be affecting your system.)
Whether there are memory or carry-over effects that are, or are not, captured in your model. For example, are you assuming that rain has an instantaneous and transient effect? That wouldn't fit many systems influenced by rainfall.

Rainfall data, skewed with zeros


How can I use metronome and digital piano through one set of headphones

Question: I have Casio CDP 120 digital piano it has one output socket for the headphones, USB cable and socket for Pedal.  I want to use the metronome and play the piano through one set of headphones for late night practice any suggestions. Is there an adapter cable etc anyone could recommend. Look forward to hearing from you. Take care. Keep safe and blessings to you
Answer: Unless you're on a very tight budget, I would go with a small mixer (like the Behringer Xenyx 502 or 302USB), connect the piano  to the stereo inputs, the metronome to either a mono or stereo input, and plug your headphone into the headphone output of the mixer.
Answer: While more expensive keyboards have a metronome built in, a promising option for the CDP-120 (thanks to its USB-Interface) is:

Connect keyboard to PC via USB for MIDI transfer (PC takes care of sound generation)
Connect headphone to PC
Install some metronome application there
Answer:
Simple and stupid option: use 2 sets of headphones. You will hear metronome sound even when its headphones are not directly over ears.

Simple, stupid and somewhat technically advanced option: get 2 extension cords for headphones, cut them and connect the piano sound to one ear and the metronome sound to the other ear. You'll lose stereo effect, but it is overrated anyway and profoundly worthless for "late night practice".

2.1: You can as well mix both signals to both ears. You'll need 4x 33ohm, 0.5W hole-thru resistors and some more insulating tape.

Use mixer. But you'll get extra clutter that is not really worth for a metronome only.

Use light-based metronome.


MySQL, SQLServer, Oracle, Postgree, CouchDB, MongoDB, Cassandra or SQLite?

Question: Who database engine is better, in performance and usability?
Comment: It's the same as comparing a [bike](http://www.wired.com/images_blogs/gadgetlab/puma-Bike-Profile.jpg), [mini](http://popiah.files.wordpress.com/2010/03/mini-cooper-d.jpg), [BMW](http://2008-bmw-photos.auto-one.co.uk/wp-content/uploads/2008-bmw-m3-photos-2.jpg) and [rock handler](http://englishrussia.com/wp-content/uploads/2009/11/tn.jpg) -- _which one is better in performance and usability_?
Answer: In case of webmasters choosing shared hosting, the database available to you from hosting service is dependent on their choice. Most likely MySQL and PostgreSQL are common database that you can find in shared hosting services. When you move to VPS and Dedicated server hosts, they offer you database of your choice for both managed and unmanaged hosting. They offer pre-installed database servers based on their abaility to resolve technical issues. So some may prefer mysql over any other database or postgresql over any other. It is purely personal choice for hosts and unless you go with the route of your own VPS and Dedicated server, there is not much of choice for you to choose database.
In case of programmers choosing the database, it purely depends on his ability to work with respective db tools and error solving capability. MySQL and PostgreSQL database have much better support and you can easily find solutions to the issues by just googling the problems. Many other databases which are not used extensively in server environment have less documentation, blog posts available and you're likely to hit walls during problem solving. Again, this all depends how efficient programmer is while handling database.
If you're not a programmer or webmaster and just thinking about database during installation of web app like wordpress or joomla then consider using the one available in your cpanel of your hosting. Issues of performance and stability of database will be taken care of by your hosts.You don't have to think much about it.
My rough observation : MySQL and PostgreSQL - these are the ones often preferred by linux based hosting services. SQL Server (MS) is dominant on windows hosting. SQLite is rarely used for webapps and usually selected by those who know how to get it working over webserver. Oracle is heavily used for enterprise apps. MongoDB is used by ruby on rails programmers for their rails applications. Cassandra and CouchDB rarely noticed with web apps or if any programmer using it.


ImageMagick: are fonts platform independent

Question: Are fonts in ImageMagick system dependent, or do they come inside ImageMagick and can be equally used in any platform.
Answer: The fonts that are available on a particular system are system-dependent (for example, on Windows you're likely to have many .ttf (TrueType) and .otf (Open TrueType) fonts; on Mac, you're likely to also have PostScript fonts; and on Linux, you'll have X11 fonts).
But some types of fonts can be copied from system to system and will be supported - read on...
You can list all the fonts currently available to Imagemagick with <code>-list font</code> option (for versions prior to 6.3.6, use 'type' instead of 'font').
Different font types have varying levels of support in operating systems - even if the file itself is not OS-specific, the OS must have support for rendering the font. TTF and OTF are reasonably universally supported now; PostScript (as far as I know) require special tools for Windows and not all applications can use them; and X11 fonts' support is limited to various flavors of Unix.
Even if a font is supported, the way to render it can differ between operating systems and even between different libraries. When Safari 3 for Windows came out, the difference in antialiased rendering between Windows' ClearType and Apple's method was very visible.
Answer: Yes, the core fonts are system dependent. However, if ImageMagick was compiled with FreeType support (most versions are) you can then bundle True Type fonts and pass the path to the font file to ImageMagick to use.


Is tomcat = apache (or other web server) + JavaEE?

Question: So I understand there are two kinds of servers, first kind is web server (or http server) such as nginx, apache, caddy, another kind is app server, such as tomcat, undertow. I just wonder if a java app server equals a general web server plus a j2ee environment? Or maybe things are not so simple and the app server did a lot of stuff besides just mixing the java environment?
Comment: Have you read through [the project introduction](http://tomcat.apache.org/)? If so, what specific question do you have? Although Tomcat (and all other servlet containers) do have a built-in web server, you usually use it behind a reverse proxy powered by a dedicated web server (nginx, Apache, IIS).
Comment: Tomcat is a servlet container, not a "full" J2EE server.
Answer: Http server only implements theHttp standard:it means accepting a Http request and sending a Http response.
supporting for php and other languages added via plugins to it(apache and so on).
A raw Http server only support static resources nothing else but statics.
But in java EE world Http server have to implement java EE specifications too.
java EE is a set of specifications.
If Http server implements all specifications we have application server like glassfish.
If Http server only implements servlet and JSP specifications we have   servlet container (also called web server in general)like apache tomcat(from apache foundation.it's not apache web server.its another server),jetty from eclipse foundation.
Any java compatible server is a raw Http server plus some implemented specification.
Answer: As a seasoned Java developer, the assertion that Tomcat is the same as a web server plus a J2EE environment is irksome, because there are significant differences between Tomcat and Apache in terms of how they are optimized, the role they play in a modern architecture and even how they are physically installed.
You may be right...
Having said that, your assertion may actually be correct. From the standpoint of a beginner, someone new to server-side programming, it's not completely wrong to think of Tomcat as being just a web server with a bunch of magical powers added to it, namely the various Java based APIs Java EE/Jakarta EE builds into it.
Apache and Tomcat in practice
Tomcat does handle http based requests, and it can server files if it needs to, so it can do double duty. So from a simple standpoint, it's not totally wrong to think of Tomcat like that. Just remember that in modern architectures, the role of Tomcat and the Apache HTTP server are very different.
Three tiered architecture
Here's a look at how the two play together in a three tiered architecture:


Does Doppler Effect work this way?

Question: If i am looking at an object which is moving towards me fast enough while i am at rest, then i would see the object's color shift towards blue in the Electromagnetic spectrum. But would the same happen(will it look blueish) if i am moving towards the object while the object is at rest.
Comment: Reallyyyy fast yes.
Answer: Yes.  Light and other forms of electromagnetic radiation propagate through space without requiring a medium.  Without that medium, the only information necessary to determine the frequency shift is the relative velocity between the sender and observer.
So sender moving to observer and observer moving to sender are identical situations, and the frequency shift is calculated using only the relative velocity of the two:
$$f' = f \left(1 + \frac vc \right)$$
($v$ positive when motion is bringing the sender and observer together)

Does Doppler Effect work this way?


How to configure IIS 7.5 to allow Inserts and Deletes with WCF Data Services (PUT and DELETE)

Question: I have a WCF Data Service that works fine on my development system. But when I deployed it to my client's web server, inserts, updates, and deletes all failed. Updates failed with "401 - Unauthorized: Access is denied due to invalid credentials." This seems to be an integrated authentication problem. I found a workaround on StackOverflow involving setting full permissions on my .svc file for "Authenticated Users" and now updates work. I also found a WCF Data Services blog by Zoiner Tejada that explains the correct way to take care of this issue.
But inserts and deletes still don't work. I'm getting "405 - HTTP verb used to access this page is not allowed."  As verified with Fiddler, the verbs are PUT and DELETE.
I deployed the service as an application under my website. The Application Pool is "ASP.NET v4.0," and Pipeline Mode is Integrated.
The following is what I know about mapping verbs. In IIS Manager, I right-click on the application and then click Handler Mappings, and I find "svc-Integrated-4.0" registered for the path *.svc. When I click Edit for that, then Request Restrictions, then Verbs, "All Verbs" is selected.
I'm stuck – how can I get this to work?
Answer: Workaround: set the DataServiceContext.UsePostTunneling property to true.


Can no longer log in after trying to change name of my home folder in Mac OS X

Question: I'm on OS X 10.10.5
I tried to change the name of my home folder and account using the instructions here. I followed them to the "T".
I made a temporary admin account to make the change from called temp. After changing the account name, home directory, and full name I can't log in to my old account anymore. It's still listed in system preferences, but I am not given the option to log in to the account in system preferences. What gives? I even went back through and changed the home folder, account name, and full name back to the original values with no luck. I didn't back my files up, but it looks like all my files are still there I just can't log in. How can I get back into that account?
Something that did just cross my mind is I had a software update pending on my old account before I restarted (I believe it wanted to upgrade to El Capitan). Is it possible that my old account performed that software update when I restarted and now I cannot log in to the account because of some software incompatibility between accounts? Is that even possible?
Answer: If you home directory still exists, you should back it up, delete the account you can't login to, remake that account, and replace its home directory with the one you backed up.


Non computable real numbers

Question: A real number $r$ belonging to $[0,1]$ is said to be computable if there is a simple TM such that for each binary encoding of $n$ ($n$ is a natural number), returns the $n$th bit in the binary expansion of $r$. Give a proof that there are non-computable real numbers.
Comment: What if we said no?  (This sounds like *your* assignment, so you need to show some ideas.)
Answer: By a cardinal argument :

You have $2^{\aleph_0}$ reals in $[0;1]$
You have $\aleph_0$ Turing machines.
There is no bijection between $\aleph_0$ and $2^{\aleph_0}$
Comment: @user113939 If (s)he said any more (s)he'd have written the whole proof.
Comment: Can you give a proof that is a little more detailed and a little less technical.
Comment: @user113939 To put it differently you can not pair off turing machines with real numbers because you have more reals than turing machines so there are reals that do not have any turing machine assigned to them.
Answer: It's a diagonal argument. You have to assume (or read it somewhere) that there are strictly more real numbers than natural numbers. It is a theorem, and it can be proved in several ways, but it's not the point here. The point is that you have to know that any function from $\mathbb{N}$ to $\mathbb{R}$ (or any interval thereof) leaves most point out of the image.
The easiest way to do this is to use the famous Cantor diagonal construction, where you supposedly have an enumeration $e:\mathbb{N}\to\mathbb{R}$ of all the real numbers, and you prove that there is at least one real number not in it, by "writing them down" in an infinite matrix, and taking a number that is different from the diagonal of the matrix at each decimal place.
On the other side, you have Turing Machines. They are in a natural correspondence with $\mathbb{N}$, so different TMs map to different numbers (but not all natural numbers correspond to TMs). Some of these turing machines will actually be machines that compute a computable real number (not all of them do, but it doesn't matter). So you have a set $Comp\subseteq\mathbb{N}$ of number that represent TMs which compute computable real numbers. If there were no noncomputable real numbers, then this correspondence would be an enumeration of the reals, and we saw befaore that there is no such enumeration. $\QED$
Comment: Either is it a diagonal argument, or you have to assume that the real numbers outnumber the natural ones (the proof of which hides a diagonal argumnet). Not both.
Comment: @Marc: Not really relevant, but there are proofs of the uncountability of $\mathbb R$ that don't depend on diagonals (such as Cantor's original proof which constructed a nested sequence of closed intervals).

Non computable real numbers


With multiple processes, can one process (p1) send a SIGALRM timing signal that is received by two or more processes (p1, p2).?

Question: I think I now know the answer. Since the processes p2, p3, ...., are all children of the same parent p1, then all the processes are in the same process group so any signal (e.g. SIGALRM ??) set by p1 will be received by each of p2, p3, ...
Is that correct?  I'll try it out.
-- Peter R
Answer: I can't say for a tcsh builtin named kill, if any, but the kill system call, and the /bin/kill command that uses it, both offer to send a signal to all the processes belonging to the same process group PGRP, by specifying -PGRP as the target PID.
For example:
/bin/kill -- -PGRP
/bin/kill -SIG -PGRP

Else, by default, your signal is sent to the process specified by PID, and only this one.


SPICE model for PMBFJ309

Question: Does anyone knows where I can find SPICE model for PMBFJ309 or similar? I searched a lot and could not find. If anyone knows, could you please share the link.
Comment: Who makes the PMBFJ309? NXP does. Is there a model that you can download from NXP's PMBFJ309 product page? No. Then chances are, there is no model. Note that this is an N-channel JFET. JFETs aren't used that much and there few different models. I would look for JFETs on Mouser and then see which manufacturers have models for their JFETs. Then see which of those is the most similar.
Answer: Here you are:
Browse Cadence PSpice Model Library (as of May 19, 2021)
Comment: @concerned You are right, this is the list of Cadence's Pspice models available for authorized users. Use this "colophon" of the referenced publication to find the way to get hold of the actual model data.
Comment: Can you download it? All I get is a list. But I think the problem will be the license.

SPICE model for PMBFJ309


What should I do to avoid wetting my pants while peeing?

Question: The last few drops after peeing remain on my penis which wets my underwear or my pant if there is no underwear(which makes situation even worse).Also I would be happy if someone tells me how to pee in urinal properly to avoid any nasty affair.
Comment: Hi gateprep, Welcome to Lifehacks.SE.
Comment: The "how to pee in urinal properly" should be asked as a separate question, if you're still interested to get answer to it. (and remove that part from here. :))
Answer: Underwear is one way to isolate your expensive outerwear from your body's various daily glandular functions and their waste such as skin cells, hair, sweat, oils, etc. Urine is just one of them that you've recently noticed.
Some males wipe or "blot" (soak-up) the moisture with a small piece of toilet tissue that they discard when they flush or put into waste before washing their hands. Some hold the base of their penis and quickly "flick" the remaining droplet(s) from it into the urinal. Some squeeze the excess by working from the base of their penis to the end forcing the remaining moisture from it. Some press the base of their penis behind the testicles to accomplish the same thing.
Try different things and go with what works for you.
Answer: While this answer is correct and pretty much what I always do, I did notice something over the years so want to give my two cents.
When I'm urinating with the jeans still all the way up, meaning through the zipper, there is much more "leftover" urine when I'm done. Even after wiping with paper, squeezing, etc... there is still urine left which sometimes reach the underwear. Interesting enough, when urinating with the jeans/pants down, i.e. with penis exposed, there is much less leftover urine when I'm done, and it's easily cleaned in the methods described on the other answer.
Bottom line: pee with the pants down, and it should be easier to avoid getting the leftover pee from reaching your pants. Pants don't have to be all the way down of course, knee level is just enough, so it can also be used in urinals.


How do I clear the JavaScript file cache in Firefox on every visit in a page?

Question: How can I set the browser to clear the JavaScript file on every visit?
I use Firefox 3.5.7. I am also using the Firebug extension for developing.
Answer: I don't think there is a built-in way to stop caching of just javascript within Firefox, but you can stop Firefox from using cached files altogether , which will have the same desired effect for developing. Navigate to about:config in the address bar and filter to network.http.use-cache. Set it to false to stop Firefox from using cached files.
You can do the same with the Web Developer Toolbar:
Answer: I don't know your programming skills, and why you want to clear the cache, but if you know how to build a Firefox add-on you can try removing the specified JavaScript file from the cache using the interface nsIDOMOfflineResourceList. You can get information on the MDC specific page.
Or the simple solution could be just to use Ctrl+F5 to reload the page and force the refresh. If it's for websites you develop, you can add a variable at the end of your filename (for example a timestamp or a random number), something like src="../myFile.js?random=1551533331", so the browser will think the file is different and refresh your file everytime (I have never tried it, but it should do the job).


What is a word for extreme type of criticism?

Question: The type of criticism that is intended to destroy a person's reputation and self-esteem. A kind of criticism where a person's name is dragged through the mud. Is there a specific word(s) for it?
Comment: [An **excoriation** is a harsh criticism.](https://www.vocabulary.com/dictionary/excoriation) But there are any number of related terms. Your example "victim" might be experiencing [character assassination](https://en.wikipedia.org/wiki/Character_assassination), for example,
Comment: If you're trying to destroy someone's reputation by dragging their name through the mud, that's typically termed ***character assassination***.
Comment: _Mud-slinging_ (also solid) is actually used, at least in the UK {[CED](https://dictionary.cambridge.org/dictionary/english/mudslinging)}
Comment: where the criticism is untrue, it can be "slander"
Comment: I think the word you are looking for might be **pillorying**. This does not strictly mean criticism, but I do not think you are describing true criticism, but deliberate exposure to public ridicule and abuse - that is **pillorying**.
Answer: Candidates
The most common term for an attempt to destroy someone's reputation in a deliberate, conspicuous, focused and relentless way, by means of publically dragging their name through the mud is character assassination.
From WordNet:

Character Assassination
noun
  1. an attack intended to ruin someone's reputation

The Free Dictionary, likely sourcing WordNet, also gives the synonym blackwash (the opposite of whitewash).
AHD puts greater emphasis on the malicious nature of character assassination, as well as pointing out its common targets are public figures (politicians, celebrities, and other people in the public eye):

The malicious denunciation or slandering of another person, especially as part of an effort to ruin the reputation of a public figure.

A related term, as @Edwin Ashworth points out in the comments, is mudslinging. Here from ODO:

Mudslinging
the use of insults and accusations, especially unjust ones, with the aim of damaging the reputation of an opponent.

Note the focus on "opponent": while both character assassination and mudslinging typically have public figures as their targets, mudslinging is usually reserved for scenarios where the attacker is a public figure as well (typically in an election or other contest between political opponents).
Again from ODO:
A similar term is muck-raking:

Muck-raking
noun
  the action of searching out and publicizing scandalous information about famous people in an underhanded way.

Note the difference from mud-slinging here: both occur in similar contexts, though mud-slinging is typically reserved for political battles, muck-raking can also apply to tabloids and other gossip mongering, but muck-raking usually involves exposing facts which are damaging to the target. The metaphor is similar to "digging up dirt".
Limitations
Which brings us to an important caveat with both mud-slinging and character assassination: both typically connote slander, that is, part of the negative material being flogged is fabricated, or at least potentially so.
That is, the attacker is less concerned with the veracity of his defamations than on whether they're effective.  So it's hard to use character assassination or mud-slinging if you want to communicate that while the attack is malicious, it is not necessarily untrue.
If that doesn't suit your need, you may consider other words for extreme or severe criticism, such as the excoriation that FumbleFingers offered in the comments.
From Vocabulary.com:

Excoriation
An excoriation is a harsh criticism. If your senior prank involves releasing a flock of chickens into the halls of your high school, you're practically asking for an excoriation from the principal.
Answer: I've always had a soft spot in my heart for Excoriate. It seems efficient and effective.
My only contribution is "Withering criticism." This describes the effect on the victim as a plant dying under the assault.
Comment: Welcome to EL&U. Thanks for your answer. Please consider adding references to support the words you're suggesting.


Is XM shared across players?

Question: If I collect all the XM in a region like a railroad station will other players arriving at the station after me be able to also collect the XM or is it consumed by me?
Answer: YES, XM is shared across players.
When XM is consumed by a player, it is not available for other players until a certain time.
Comment: That's not entirely correct. Two or more players can consume the same XM, thereby in effect multiplying it, if they collect it at roughly the same time.
Answer: There seems to be some delay after you grab the XM before it will disappear on another scanner.  It appears to be around 60 seconds.
If two (or more) agents are walking together, they will pick up the same XM.  Even if one client scans the new XM before the other and picks it up, all of the XM still spawns for every player.
So, to answer the question:  You pick up XM, but it lingers around for about a minute to allow others to also pick it up.
Answer: XM is only shared with players to a certain degree.
It seems to have no unique ID and is not necessarily synchronized with the game servers. You can set you phone to airplane mode (turn connection off) and collect the same XM on a given spot with multiple players.
If you don't turn your connection off, however, it will be gone.
Note: I have no idea if this is intended or encouraged behavior by Niantic, some people might call it cheating.
Comment: XM does have unique IDs, and the server does keep track of them. It's just that the pickup's sync to the other clients in the area is not instantaneous; Niantic may have decided that it's nicer to let more than one person gather an XM item, than to have the stuff vanish even though it's been in range of your scanner for a couple of seconds.

Is XM shared across players?


How do I get the max bonus money for the cases

Question: At the bottom left hand corner of each case is a max bonus dollar amount. How do I get that money?? It always seems to be ten times what the case actually pays does anyone have a good suggestion? I seem to spend all of my money on tools and I need some furniture lol
Answer: I'm also on my way to find out how to reach the max bonus.
Here are some ways I find out myself:

Improve your skills
There are many helpful skills. My favorit is the "All next tiles are of the chosen tile" and "Switch two tiles". The skills are helpful because you don't habe to spend money for using. You are also able to upgrade skills to have more uses in every case or to have less tile cost per use. (cost for upgrade 1 star and 50 candy).
You will be able to collect more tiles for less cost.
Tiles and evidence equal money
For every unused tile or evidence you will get money at the end of the case. Try to get more tiles and evidence than needed for the case. Skills and tools are very helpful. You have to pay attention, that you don't use them too often. Skills cost (sometimes) tiles or evidence and tools cost money. At the end of the case there is the possibility, that you spend more money then earned. (I made the experience -_-' )
Use skills and tools
To get the best tools, you have to buy furniture. To buy furniture you need more money... I see your dilemma. In my opinion, one of the best tools are "All next tiles are XY" (cost 50 money). It speed up the game. You will have more moves to collect more tiles and evidence than needed. Again: don't over spend.
Use your intuition
Sometimes there are hints inside the story such as "the blonde girl". If you are searching for a person, you can discard every other hair color without paying an photo. The same for the map. If you are searching for a golf course, you have to look for green lawen. This saves tiles and evidence.

Summon:
Before starting the case improve your skills
Try to get as many tiles and evidence as possible
Use helpful tools and skills without an overspand
Read the story and use your intuition
btw: the value for an unused tile is 1 money. If you do the newspaper: the value of a coin is 2 money.
Comment: THis is not an actual answer, this is just guessing and opinion work
Answer: My trick to get lots of money, but it only works if you have the 3rd or 4th filing cabinet is to overuse the "All next clues are of type" tools combined with "Pickup all clues of type". For example, the tools i use the most are :

Coffee & Police Cap
Gloves & Thief Cap
Notepad & Fedora Hat
Foot Cast & Runner Band
Fingerprint Set & Deerstalker

Also, having the 3rd level and 4th level lamps help a lot making more money since you will have a higher tool limit. I have 4 of each right now and i think the Posh Lamp (4th level) adds another one but i'm not sure.
So how to do this? Start a case, even the simplest cases can work, just donc take the first few ones where you don't have all the clue types, take at least the 5th one from the 1st chapter. Don't try this on daily cases, the bonus at the end is only x2 and it will not be worth it, only try this with real cases.

Do the puzzle portion until you have only a few moves left
Gather all evidence to maximize your clue spaces, using the pins or binoculars are particularly helpful in this case
Use a Police Cap to change all clues to donuts, then the fingerprint set to pick up all magnifiers. Most of your clues should now be Donuts.
Use a thief cap to change all clues to lockpicks and use a Coffee, this will change most of your clues to lockpics
Use a Fedora Hat and then a glove, this will change all lockpicks (a hefty bunch of them at this point) into questions
Use a runner band and then a notepad, now, technically, if you done it right, all clues should be footprints except for 1 candy.
Just go on and follow the chain and repeat until you have completed the usage of all your tools.
Profit

I just finished the "Marzipan murder", it is case #8 or #9 in the 3rd chapter and got 4800$'ish reward because i had 4th cabinet, 4th dresser and 3rd lamp and i collected something like 800 clues or so.
Once this is done, just go to the store and buy anew those tools you used... it'll cost you between 600$ and 1000$ depending on your lamp level (In my case 800$ = 8 tools x 4 units x 25$) but considering i made 4800$ it's worth my while as i would not have gotten that much money yet.
Another advantage to this is that gathering so many clues allows you to get at least 3-4 candies from the trucks which is not extraordinary, but 4 candies is always welcome!
Comment: is there no way to get the max bonus for replayed cases? I just tried the "chain" method from Matthieu above, but it didn't give me any coins for clues collected :(
Answer: to get the max bonus of a major case you have to collect clues , the number of all clues in total multiplied by 2 equals the max bonus .
example : max bonus of a case is 6000 , then you have to get 3000 clues in total .
it worked and got the achievement .
Answer: You can save more evidence by the following method:
 In a city search for instance, use the binoculars to uncover all hidden icons (You may have to use candies for this). Use maps for hints. When you find the place, close the application without answering the question. Open it again and continue the case. Click the place without using any of your items.
The same can be done for the person search and the room search. This also helps when you accidentally choose the wrong place / person and are about to fail the case. Just exit the application immediately without proceeding and reopen it. You get another chance to do the task.
Answer: In the city map, when if you use clues to find the place, you can exit the game and log on again without losing the case but the city will reset.
In conclusion use all you got find the place, log off and on again, and point the place
Answer: At the end of the game you have to have collect more than 250 of every clue.
Comment: please can you provide proof of this
Comment: This is wrong, i've had many times way more than 250 of each clues by abusing the tool chain i explained and you won't get the achievement with just that!


How to deploy Envoy EDS/SDS

Question: This is a micro services deployment question. How would you deploy Envoy SDS(service discovery service) so other envoy proxies can find the SDS server hosts, in order to discover other services to build the service mesh. Should I put it behind a load balancer with a DNS name( single point of failure) or just run the SDS locally in every machine so other micro services can access it? Or is there a better way of deployment that SDS cluster can be dynamically added into envoy config without a single point of failure?
Answer: Putting it behind a DNS name with a load balancer across multiple SDS servers is a good setup for reasonable availability. If SDS is down, Envoy will simple not get updated, so it's generally not the most critical failure -- new hosts and services simply won't get added to the cluster/endpoint model in Envoy.
If you want higher availability, you set up multiple clusters. If you add multiple entries to your bootstrap config, Envoy will fail over between them. You can either specify multiple DNS names or multiple IPs.
Answer: I ended up listing the SDS/EDS directly under the private DNS zone. However this means it is required to have a static port that the SDS listens to on any box its placed, and every other service will have to have it passed as a known constant. So backend micro services will get a set of ips for available SDS servers, in order to retrieve app service endpoint information. This does not include a load balancer. It can use DNS supported load balancing features. SDS uses a script to heartbeat itself to the DNS. It was implemented in AWS so SDS is running in ECS containers, automatically placed by ECS cluster management service, and that heartbeat script in the SDS server uses AWS metadata service to obtain and report its ip address to DNS.
This method means there is very less downtime, since DNS servers hardly ever fail. But we dont get advanced load balancing. Also better than having an SDS in each ec2 host, since it will cost less resources, and will not run into the possibility of all micro services in a particular box failing since its local sds server failed.

How to deploy Envoy EDS/SDS


No initial create with Entity Framework migrations

Question: I'm trying to get Entity framework migrations working. I've enabled code first migrations, its created a migrations folder, config file and the mig history table, but no initial create. Am i missing a step? This is a new db created by EF (4.3.1).
Comment: After Enable Migrations, you have to Add-Migration
Comment: this might help http://stackoverflow.com/questions/11679385/reset-entity-framework-migrations
Comment: does it not add in the initial create migration automatically?
Answer: This behavior is not in place by default, but it is available to you easily in many different forms.

You can call context.Database.CreateIfNotExists(); at application startup.
You can use one of the built-in DatabaseInitializers. The CreateDatabaseIfNotExists initializer is built into EntityFramework and just needs to be added to your project.
You could create your own custom database initializer which includes option #1 inside of itself. Example: Code First Migrations and initialization

You can include DatabaseInitializers in your project either by code or via a config file.
Include an EntityFramework Database Initializer via code:
In your application startup you can setup the DatabaseInitializer like so:
System.Data.Entity.Database.SetInitializer<DairyMmmContext>(new System.Data.Entity.CreateDatabaseIfNotExists<DairyMmmContext>());

NOTE: this code has changed multiple times throughout the life of entityframework! This example is for EF 4.3 which is the current production release available via nuget.
Include an EntityFramework Database Initializer via configuration element:
<configuration>
  <entityFramework>
    <contexts>
      <context type="MyNamespace.MyEFDataContext, AssemblyName">
        <databaseInitializer
          type="System.Data.Entity.CreateDatabaseIfNotExists`2[[MyNamespace.MyEFDataContext, AssemblyName],
               [MyNamespace.Migrations.Configuration,  AssemblyName]], EntityFramework" />
      </context>
    </contexts>
  </entityFramework>
</configuration>

You'll notice this can be a little "ungraceful" with this configuration. You need to replace AssemblyName above with the name of the assembly you keep your entityframework stuff in, replace MyNamespace.MyEFDataContext with the fully qualified name of your entityframework data context, and replace MyNamespace.Migrations.Configuration with the fully qualified name to your configuration class (by default in the Migration folder inside your project).
EDIT: Edited to respond to additional comments
A migration is a change from one schema definition to another schema definition. Creating the empty database is not a migration (but everything after that is). There will be no migration source file in your project for just creating an empty db, that is done in code by the initializer.
If you are already using the DropCreateDatabaseAlways initializer it should be doing that. However, I noticed you are setting the initializer in code which means there is the opportunity for a timing problem (setting the initializer after your context is already past the point of calling any initializers).
You can force entityframework to run your initializer at any point in code with context.Database.Initialize(true); (The parameter is a true/false to force the initialization regardless of the current state). That would drop and recreate your database every time.
But you can also just make sure your initializer is setup as early as possible in your application's life cycle (before you have created a single instance of your context).
Comment: Thanks. I've got this already so it triggers when my db is created:  Database.SetInitializer(new DropCreateDatabaseAlways()); Is this not good enough to get EF to create the initial create migration file?
Comment: Also, it seems the first initial create is an automatic migration, not sure if thats why there is no migration scrip, when i try to revert to initial database, it reverts all migrations except for the initial create which is an automatic migration...any ideas? i only enable migrations after the db is created
Comment: @newbie_86 I addressed your comments by revising my answer as I think others with the same problems down the road may benefit from this info too.
Comment: Thank you. I did set context.Database.Initialize(true) after I set the Initialiser to DropCreateDatabaseAlways but it still doesn't create the initial migration file... I'll play around with it a bit more though.
Comment: @newbie_86 As I added to my answer above, there will never be an "initial migration file" for just creating the database. That's not how the db creation works. Are you also watching for exceptions? Could EF be trying to create the DB but not have a valid connection string or permissions?
Answer: "Initial Create" is NOT created automatically! You need to create that yourself. Some tutorials of EF are confusing and I had the same misunderstanding as you.
What you need to do:
-Add-Migration InitialModel

If you already have created your database tables and domain model, then:
-Add-Migration InitialModel -IgnoreChanges

From this point, your code will be in sync with database. Anytime you change the code, you can use Add-Migration to add the changes to your database.
Comment: Definitely the easiest solution for someone with an existing database.
Answer: The article / tutorial here here (on microsoft.com)
describes the reason that an initialCreate migration doesn't exist.  The migration will only be added if the Database already exists.  Otherwise, the first migration will be the 'initialCreate' as there is no point in creating a migration to a Database that doesn't exist yet... no DB means there is nothing to roll back to, on a down migration.
Here is the pertinent paragraph:

Run the Enable-Migrations command in Package Manager Console
  This command has added a Migrations folder to our project, this new folder contains two files:
The Configuration class. This class allows you to configure how Migrations behaves for your context. For this walkthrough we will just use the default configuration.
  Because there is just a single Code First context in your project, Enable-Migrations has automatically filled in the context type this configuration applies to.
An InitialCreate migration. This migration was generated because we already had Code First create a database for us, before we enabled migrations. The code in this scaffolded migration represents the objects that have already been created in the database. In our case that is the Blog table with a BlogId and Name columns. The filename includes a timestamp to help with ordering.
If the database had not already been created this InitialCreate migration would not have been added to the project. Instead, the first time we call Add-Migration the code to create these tables would be scaffolded to a new migration.
Answer: Not sure it's the same but I had a similar issue.  I think my problem was related to the fact that I dont use a connections string from the config file to get my connection string.
Fiddling with the start up project in the solution and also the projet combo in the Package Manager Console I was able to generate that first migration.
Also make shure you have a connections string with the name of your dbContext class so the Package Manager can find it.
Answer: I am using EF 6 RC1 and ran into this problem where neither the InitialCreate nor __MigrationHistory were being created when running Enable-Migrations.
Actually, just after upgrading from EF 5 to EF 6 I ran Enable-Migrations and for some reason it created a __MigrationHistory table using the EF 5 schema, so I deleted it and my Migrations directory and tried to start over.
But every time I deleted the Migrations directory it wouldn't create an InitialCreate or __MigrationHistory. I tried dropping and recreating the database and restarting Visual Studio 2012 to no avail. I gave up for the day and the next morning tried again - after letting my computer sit for about 8 hours it then created the InitialCreate. I am guessing there must be a cache somewhere that has a really long timeout - anyone? I am also guessing that rebooting might clear the cache, but I didn't try that.
Whatever the case, it is possible to use PM> Add-Migration InitialCreate to do that step manually.
Anyway, I still didn't get a __MigrationHistory table. Apparently, EF 6 has changed from creating it during the Enable-Migrations command to instead only creating it during the Update-Database command. And since my schema had already been created at that point, I needed to tear it down and recreate it manually:
PM> Update-Database -TargetMigration:0
PM> Update-Database

I also stopped after the first command to check the state of the database to ensure I was updating the correct one, since according to this, the database connection string is picked up or autogenerated depending on the configuration, and unless it is configured right, there is no guarantee you are going to access the database or instance of SQL Server you intend to.
After running both commands it created a __MigrationHistory table - and it didn't create it as a system table (which I didn't really want anyway), so all is good. Not exactly the same problem as the OP, but hopefully this will be helpful to someone else.
References:

http://elegantcode.com/2012/04/12/entity-framework-migrations-tips/
Reset Entity-Framework Migrations
How to recreate migrations from scratch
Answer: I know this is old, but there is no accepted answer and I had same issue.
The trick is Enable-Migrations command. As stated here there is a command Enable-Migrations –EnableAutomaticMigrations. What it does it starts migrations exactly where you are.
If you want the first migration to be creation of database, just run Enable-Migrations (without --EnableAutomaticMigrations).
And remember to set initializer:
            Database.SetInitializer(new MigrateDatabaseToLatestVersion<LicenseContext, Configuration>());


parse4cn1 callback usage example

Question: I have been using the new parse4cn1 and I must say its been pleasant, until I tried to use the signUpcallback and logincallback to direct users in my app to the "welcome" form after successful sign up or login. All I tried didn't work. So please I would like to see some working examples of parse4cn1 callback and if possible codename one callbacks in general.Thanks all
Answer: Good to hear that you find parse4cn1 useful!
There aren't any callback examples because parse4cn1 does not (yet) support asynchronous calls. This is not because of any technical limitations and should be straightforward to implement.
Support for callbacks isn't planned yet but you're free to give it a shot and I'll be glad to merge your PR (in that case please be sure to first check the guidelines for contributing).

parse4cn1 callback usage example


how to write protect a USB drive in C#

Question: I need to write protect single USB drive write protected so that the data cannot be copied or even viewed.I want to lock a specific folder or if possible the complete USB memory from being copied or opened.Thanks in advance.
Comment: You can't do that.  Perhaps what you want instead is a way to store encrypted data on a USB drive?
Comment: hii I have alllready encrypted the information but that isnt secure with a algorith they may be able to decode that.I have seen the autorun.inf file created by Panda USB Vaccine which is completely write protected and Unreadable (even in Linux) but Iam not sure how to do somethnig like that.
Answer: I'm afraid this is not possible, however you can write some code that prevents the user from accessing USB drive on local machine.
Answer: If it can't be viewed and copied, than what is the purpose of writing to it??
If you want to make sure that only authorized programs / users can view the data, then you need to somehow validate if a program is authorized or not, which means that you have to enable reading (and thus copying) of the USB drive.
The other option is to use a password protected USB device from  a company that produces them and ask them to put your data on it. Because as long as you intend to make password protection by yourself you will only end up with encrypted data/folder which will get decrypted if user enters correct password, which means that they will be able to copy (maybe not in a typical ctrl-C way, but using some different approaches) everything to computer.
Answer: Write protection prevents a user from writing so they can't change the contents.  Some devices have hardware switches but I'm not aware of any that have a programmable setting.
Password protection can prevent all access, reading and writing.  Some devices have programmable interfaces to set and clear passwords.  Theoretically it seems possible to use standard ATA commands to set passwords, but in practice I haven't seen any USB devices that obey those commands.  Some manufacturers provide password protection but I guess they do it in nonstandard ways.  You'll have to analyse their techniques and duplicate them in your own program.

how to write protect a USB drive in C#


oData RIA PowerPivot Large Message Size

Question: I was playing with powerpivot to directly load 3 million rows from a sql database and performance is suprisingly good.
I tried generating a simple oData service by using vs2010 and silverlight RIA services and access that from powerpivot. Which works with small numbers of rows but blows up on the server if a single method tries to return 3 million rows. Not suprising I guess.
Ive often run into the message size issue with WCF and it is a real pain to configure transports to support larger sizes. Plus, ideally I dont want one big message but some sort of data packeting. Adding a layer of RIA and oData ontop of WCF seems to just make the idea of changing max message sizes even more convoluted.
Is there any support in the oData interface for a transport that will stream or packet the data returned from a method?
Is this a limitation of WCF/RIA or oData itself. Is it possible to use powerpivot connected to an oData source that returns millions of rows?
Anybody have ideas for better techniques of exposing large sets of data via WCF / RIA / oData ?
thanks,
Adam
Answer: Found it! In the DataService<> class InitializeService method needed to use config.SetEntitySetPageSize.

oData RIA PowerPivot Large Message Size


If I upload a picture on Facebook and customize it to, except .. Mary

Question: If I upload a picture on Facebook and customize it to, except .. Mary. And Tom likes and comments on my picture, as Mary is a mutual friend  can Mary and other limited friends see the picture?
Answer: If you upload a photo to Facebook, and then change the privacy on the photo to Custom and put Mary in the "Don't share this with" box, then Mary wouldn't see anything related to the photo.  She would never see the photo and she would never see when anyone likes or comments on the photo.


Disabling syslogd in FreeBSD

Question: I'm running FreeBSD in a very small VM with about 1.5G of space. I'd like to disable syslogd to save disk space, but there is no entry for it in /etc/rc.conf. service -e shows that syslogd is indeed running. How do I disable/uninstall it?
Answer: Stop the daemon:
/etc/rc.d/syslogd stop

Append a line to the /etc/rc.conf:
syslogd_enable="NO"

Answer: Igor's answer is good but I'd like to expand on it for current and future search engine guests. To completely disable syslogd, a little bit more is necessary:
Completely disable syslogd
stop syslogd
service syslogd onestop

Uses the service command which has been with us since FreeBSD 7.3 (2012). It works for services in /etc/rc.d as well as /usr/local/etc/rc.d and is more finger friendly.
Using onestop instead of stop will stop syslogd even if these commands are run out of order.

disable syslogd
sysrc syslogd_enable=NO
That command does exactly what Igor instructs and appends a line to /etc/rc.conf which prevents syslogd from starting in the future. Sysrc appeared in FreeBSD 9.2 (2015). Previously, the same thing was usually accomplished with echo syslogd_enable=NO >> /etc/rc.conf.
disable newsyslog at boot
sysrc newsyslog_enable=NO
This command prevents newsyslog from running at boot time.
disable newsyslog at run time
sed -i .bak -e '/^0.*newsyslog/ s/^0/#0/' /etc/crontab
This sed command searches for the line that starts with a 0 and contains the word newsyslog. Then it inserts a # in front of the zero, disabling the newsyslog cron task. Now you won't get pesky emails from cron complaining that:

newsyslog: pid file doesn't exist: /var/run/syslog.pid

Is disabling syslogd a good idea?
EhevuTov makes a very good point that disabling syslogd to save disk space is probably not the best reasoning. However, there are some very good reasons one might want to disable syslogd.

Running FreeBSD in a jail with a process that handles its own logging (squid, nginx, etc.). If nothing in the jail uses syslogd, there's no gain in having it running.
Running thousands of jails on a FreeBSD host might make a different syslog architecture more sane (dropping log sockets into each jail (see syslogd -l)).
No. 2 holds even for handfuls of jails when centralized logging is desired. It avoids needing every jail configured with @host syntax for forwarding.
Numbers 2 & 3 are especially significant if you are also routing all the logs to external systems for indexing and archival. Syslog forwarding ends up making those use cases more complicated.
Using a different syslog daemon. If using an alternate syslog daemon, there's a good chance you want FreeBSD's stock syslog and all its assumptions and expectations completely disabled.
Answer: Append a line to the /etc/rc.conf:

syslogd_enable="NO"

Stop the daemon:

/etc/rc.d/syslogd stop

However, I wouldn't recommend stopping syslogd. I recommend instead editing the size and frequency of your log rotation by editing your /etc/newsyslog.conf configuration file. It's very modifiable. You can comment out the services you don't want to follow with a # in the front of the row, or modify the:

count for max number of file archives
size for the size of each archive
when for when you want to rotate

There are a bunch of options that I would think could fit your situation. For instance, if you want to only keep a max kb size for your logs, you can do that. Surely you could spare a few kb for logs :-P Read the man newsyslog.conf for more detail on grooming the log system size you want.

Disabling syslogd in FreeBSD


Could someone help to identify this Japanese mon found on what appears to be a late Edo Period Jingasa?

Question: I am trying to identify the following Japanese mon:

My research has hinted that the tortoise-shell shape may be of Shinto influence and that the triune division is a form depiction of the tomoe, but I have been unable to confirm this apart from this very similar looking mitsu-domoe kamon:
https://www.onmarkproductions.com/html/magatama.html
I have also found these close examples:
http://www.taimouhude.com/webcatalogue/kamon/kamon/kamon15.html    (Crest 096-09 三つ色紙台 )
https://www.akinofont.com/shop/item_detail.php?mode=_ITEM_DETAIL&i_xid=4767 (Mitsu Shikishi Dai)
I am hoping someone can positively identify the mon.

The mon is on a Jingasa, a hat worn by samurai that appears to be from the late Edo period. Apparently this mon is called a Mitsu-Shikishi and I believe "Mitsu Shikishi Dai" would roughly translate as "Represents three Shikishi" (Shikishi being square traditional Japanese paper board for poetry and calligraphy). The mon certainly does look like three Shikishi squares. But I still don't know what family or entity this represents. Maybe not a family but a military unit? My understanding is that the Ashigaru used mons to identify units or regiments.
Comment: Where did you see this used?
Comment: The mon is on a Jingasa, a hat worn by samurai that appears to be from the late Edo period. Apparently this mon is called a Mitsu-Shikishi and I believe "Mitsu Shikishi Dai" would roughly translate as "Represents three Shikishi" (Shikishi being square traditional Japanese paper board for poetry and calligraphy). The mon certainly does look like three Shikishi squares. But I still don't know what family or entity this represents. Maybe not a family but a military unit? My understanding is that the Ashigaru used mons to identify units or regiments.
Answer: That is a bishi (菱, lit. "rhombus") mon, specifically, a maru-ni mitsu bishi (丸に三つ菱, lit. "circle with three rhombuses").

(Left: mitsu bishi mon | Right: maru-ni mitsu bishi mon
Traditionally, the bishi or rhombus design was heavily associated with the Yoshimitsu line of the Seiwa Genji clan. This specific mon, and its non-circled version, were accordingly used as "alternate" mons by some minor families, all descended from that lineage: the Hibino, Noro, Sugiura, Shimoyama, and Kosuge.
An "alternate mon" was a concept developed during the Edo era. Essentially, they were "unofficial" crests for private or informal occasions, while the official family crest were used for formal business.
Only one family, a Miyake from an unknown (likely fabricated) Minamoto lineage, appears to have use this as their official mon.

The basic bishi design is thought to derive from a stylised representation of leaves of the Trapa japonica plant. That, or just the geometric shape of a rhombus. No one really knows for sure.

(Left: yose mitsu bishi mon | Centre: takeda bishi mon | Right: san-kai bishi mon
The most prominent users of bishi crests are the Mitsubishi Companies today, and traditionally the Takedas (direct descendants of the Seiwa Genji Yoshimitsu line). Many more variations of the bishi design were in use by various samurai families, especially retainers or cadet branches of the illustrious Takedas. For example, the Osagawara Clan used the san-kai bishi ("three stepped rhombus").
Source: 千鹿野茂『家紋でたどるあなたの家系』
Answer: These symbols are found in training facilities by the person being trained. See hiroshige plate blocks and prints by taschen. This symbol was printed on fabrics through thousands of year most frequently during the do period. Sometimes this symbol was done on silk and adhered to items with an egg wash glue.  Have you had thejingasa professionally dated. If not look through book referred to and you find this design on flags etc. You can pull up the symbol on the Japanese symbol chart at the de young museum in San Francisco .
Most of the students in the far east building labs could help you.
Comment: This gives related information, but doesn't seem to me to answer the question.


Configure the UPS apcupsd demon to run a script?

Question: I have a ups connected to a Linux server with a usb cable, i installed apcupsd demon and i was wondering how to instruct it to run a shell script i created when a special condition occurs?
i.e. the battery is 25% percent or the time left is 10 minutes so this condition can run the script?
Answer: Solved by creating a custom shell script and place it under /ect/apcupsd with the exact name of doshutdown which is triggered when a configured condition is met (either the remaining time of the battery or the remaining percentage - both based on the ups calculations) , the script contains my desired actions and if it ends with exit 0 so the shut down sequence will continue by the apcups demon after the script finishes and make the script ends with exit 99 to makes the shell script actions the only responder when the configured conditions met.
Answer: You can try to alter the script /etc/apcupsd/appcontrol do perform the necessary actions.
See the apcupsd documentation.
Comment: Dear, Read the question again I'm asking for an example, i already been through the documents but i'm not sure which is which?


Rails can't get PDFkit wkhtmltopdf to install on iMac

Question: I'm trying to use PDFkit gem in a Rails app.  But, I can't get wkhtmltopdf loaded.  I first tried this:
$ brew install wkhtmltopdf

And got this:
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/qt-  4.8.0-bottle.tar.gz
########################################################################   100.0%
Error: SHA1 mismatch
Expected: d03b56811d2cac933b6103bd4c8ac636dea3b877
Got: 2bfe00c5112b0d2a680cd01144701f8937846096
Archive: /Users/burtondav/Library/Caches/Homebrew/qt-4.8.0.bottle.tar.gz
(To retry an incomplete download, remove the file above.)

So, I downloaded wkhtmltopdf.app and put it into my Applications folder.  Then I created pdfkit.rb in the config/initializers folder.  With this code:
PDFKit.configure do |config|

config.wkhtmltopdf = 'C:\Applications\wkhtmltopdf.app' #Path to your wkhtmltppdf installation directory

config.root_url = "http://localhost" # Use only if your external hostname is unavailable on the server.

end

Now, I get the following error:
No wkhtmltopdf executable found at C:\Applications\wkhtmltopdf.app

Thanks for the help!!
UPDATE
Will PDFkit work on Heroku?
UPDATE2
I ran this in the command line and it worked! So, I know it's on my Mac.
 /Applications/wkhtmltopdf.app/Contents/MacOS/wkhtmltopdf "http://www.google.com" google.pdf

UPDATE3
I put it into a folder of the same name within Applications and tried this:
 config.wkhtmltopdf = '/Applications/wkhtmltopdf ' #Path to your wkhtmltppdf installation directory

But, that didn't work either.
Comment: Yes, PDFkit works on heroku.
Comment: How do I configure it in my Rails app to run on Heroku?
Comment: Check this link... http://blog.mattgornick.com/using-pdfkit-on-heroku
Comment: Please add your own answer if you get it working for help other :)
Answer: Set the wkhtmltopdf binary to /Applications/wkhtmltopdf.app/Contents/MacOS/wkhtmltopdf (or the installation directory to /Applications/wkhtmltopdf.app/Contents/MacOS and it'll work.
You can probably also add that to your PATH for convenience.
Comment: 0.12 appears to install with a .pkg and does everything correctly.


Where to go to see if my IP is blacklisted as a SPAM

Question: This has happened before and some mail servers will tell you that your IP has been blacklisted (RBL, CBL, etc) but I can't find that site to check anymore and searches result in a site that may or may not be legitimate.
Answer: MxToolbox has a web-based blacklist check tool that's a good starting point. The Domain Name System Blacklists (DNSBL) and Anti-Abuse Multi-RBL Check are other great free resources for this purpose.
DNSstuff also has a subscription based service called RBLalerts that will monitor 130+ blacklists for an IP address you specify and notify you if it has been listed or delisted. I haven't tried this service, but it might be worth a try if this issue is impacting your organization.
Answer: http://www.anti-abuse.org/multi-rbl-check/  is one
Although if an ISP is blocking you purely on RBL check then they need educating. You should never block purely on this as it can lead to a lot of false positives.
Answer: You should also check for yourself at rfc-ignorant.org.  Being in their zones isn't being blacklisted, more like graylisted, but it doesn't help you any.
Comment: Although rfc-ignorant don't recommend blocking based on results from their service, that's totally up to the person using it, so it can indeed result in blacklisting (although that's generally a poor choice).
Answer: You can find if you were unlucky enough to enter the spamcop blacklist.

SpamCop Blocking List
Am I listed?: You can check the status of any server by entering its address
Answer: www.dnsstuff.com is paid for but it does a lot more besides checking for blacklisting, which indeed it does.
Answer: GENERALLY SPEAKING, it is fruitless to regularly check this.  There are too many blacklists and they come and go.  False positives are rare, and they can usually be dealt with quickly when they happen.  Make sure users know to contact you if mail is not getting delivered, and then deal with it when it happens.
The administrator of the domain actually doing the blocking can usually tell you the fastest way to get unblocked, or can add you to a white list for their domain.  You also may be able to tell from one of the notes or headers on a returned (blocked) message.
<soapbox>
Additionally, you need to do the basic things to minimize getting blocked in the first place.  This includes making sure you don't have relay enabled and disabling outbound SMTP from other than your mail server.
Finally, you should make sure that your users aren't sending spam!  A couple of PCs infected with an "email the address book" worm can be enough to trigger a blacklist.  Keep A/V running and up to date, including inbound and outbound mail and web browsing.
</soapbox>
Comment: A vision quite idealistic of the world of black lists. In the real world, they are not all serious and even when they are "most of the time", innocent are sometimes listed.
Answer: Spamlab is another site with over 30 RBL. It's also relatively easy to remove your site from the RBL through www.spamlab.com
Answer: I use the rblcheck program.
Answer: You can check if your IP is listed on over 30 blacklists at http://www.viewdns.info
Nice fast site with clean output!  Best of all its FREE!
Answer: GENERALLY SPEAKING, it is fruitless to regularly check this. There are too many blacklists and they come and go.  False positives are common, and you'll never keep up with trying to deal with them when they happen. Make sure recipients know to contact their own provider if mail is not being received, and then deal with it when it happens.
The administrators of the domain doing the blocking are responsible for providing spam protection service for their users.  The extent to which they do a good or bad job (false positives, false negatives, etc.) is beyond your control.
Although this is pretty much the opposite of what tomjedrz said, I agree with his "soapox" comment in its entirety.
--
bmb
Comment: THere are many blacklists but only a few are so common that you cannot really ignore them if they blacklist you. Also, each blacklist may list you wrongly but if you find yourself in several serious blacklists, it may indicate a problem.

So, I don't think you can just ignore the problem.