## In vanilla Twilight Imperium 3rd ed., should you always take Imperial if it’s available?

Sometimes, when we’re playing Twilight Imperium, if we’re in a tight spot or a position to advance, our play group tends to pick the strategy that will help their board position (for instance, Diplomacy) over an available Imperial, but this doesn’t necessarily seem optimal. You do get an advantage on the board, however, those two victory points are now someone else’s. Should you always take Imperial if you can, even if it seems like another strategy will help you more on the board?

## How to always use internal microphone?

I have noise canceling headphones (Bose QC 35), that also have microphone built-in. If the microphone is active, noise canceling doesn’t work, they just pass through ambient sounds (this is by design. I suppose, they did it so you wouldn’t feel that you’re in “vacuum” when you are talking).

Anyway, the problem is that whenever I connect my headphones to macOS, the system switches from internal microphone to headphones’ one. Therefore, noise canceling doesn’t work, unless I go to system settings and switch microphone back to the internal one.

This is very annoying, especially considering that I have to do that every time I connect headphones.

Is there any way to force macOS to always use internal microphone, or not to use the specific headphones’ one?

Update from 10/2017:

So I found out that “headphones’ microphone is being used” only happens when Skype is running. But ever since I stopped using Skype (or having it running all the time), the problem was gone!

This is not the solution for the original question, I’m just leaving it here for the future reference.

## gas required exceeds allowance or always failing transaction

I really need help with this error. I’m testing the contract by sending ETH to Crowdsale contract .(Ropsten, My ether wallet, Remix).
This function give me really problem;
function () payable public {
}

``````function buy () payable public whenNotPaused beforeDeadline afterStartTime saleNotClosed {
require(msg.value >= minContribution);

// Update the sender's balance of wei contributed and the amount raised
uint amount = msg.value;
uint currentBalance = balanceOf[msg.sender];

// Compute the number of tokens to be rewarded to the sender
// Note: it's important for this calculation that both wei
// and PDT have the same number of decimal places (18)
uint numTokens = amount.mul(rate);

// Transfer the tokens from the crowdsale supply to the sender
if (tokenReward.transferFrom(tokenReward.owner(), msg.sender, numTokens)) {
FundTransfer(msg.sender, amount, true);
// Check if the funding goal or cap have been reached
// TODO check impact on gas cost
checkFundingGoal();
checkFundingCap();
}
else {
revert();
}
}
``````

I thing tokenReward is not correctly defined.
Here works fine:
function () payable {
}

``````function buy ()
payable public
whenNotPaused
afterStartTime
saleNotClosed
{
require(msg.value >= minContribution);
uint amount = msg.value;

// Compute the number of tokens to be rewarded to the sender
// Note: it's important for this calculation that both wei
// and PDT have the same number of decimal places (18)
uint numTokens = amount.mul(rate);

// update the total amount raised

// update the sender's balance of wei contributed
// add to the token balance of the sender

FundTransfer(msg.sender, amount, true);
// Check if the funding goal or cap have been reached
checkFundingGoal();
checkFundingCap();
}
``````

## Conformal mappings are always biholomorphic

Are conformal mappings biholomorphic?

$$f$$ is considered a conformal mapping when $$f:D rightarrow G$$ is holomorphic and injective and holds $$f(D) = G$$. This implies that $$f$$ is also surjective on $$G$$ right?

We know that when $$f:D rightarrow G$$ is holomorphic then $$f^{-1} : G rightarrow D$$ is also holomorphic on $$G$$. So doesnt this implie that conformal mappings are biholomorphic?

This would mean that the conformal mappings are exactly the biholomorphic functions?

## Question: Should I quit my job as a contractor who is always traveling for work and on assignment?

I hate my job. The past two years I have been sent to war zones and when I say “sent” I mean I have been deployed and I sit in a war zone for months at a time staring, 12 hours every single day, at a screen hoping a rocket from the Taliban doesn’t hit me. I want to be at home with family and friends. I want to live my life because I only have one. Theres so much more to life (sports, hiking, nature, relaxing, personal moments with friends, personnel hobbies). Work is certainly important but I don’t think I should hate my life at the same time. The money is great but not worth it. If I quit without having a new job through the holidays and take a couple months off, will I have trouble finding a new job in a couple months? My explanation would be that I got tired of being away from home in a war zone. Also, most the work has been pushed to the field so going back to home office wouldn’t have much work for me. Both of these are true statements. ADVICE PLEASE!! HELP!!

## Milestone elapsed / actual elapsed / stopped times are always empty

I have a `CompletedCaseMilestone` custom object that I use to store the completed milestones for statistical analysis later. Everything is working great, but I came across an issue when I’m also using `IsStopped` flag on the `Case` object.

I have a process that sets `IsStopped` to `true` if the status is `On Hold`, and set it to `false` otherwise. The flag is working – when it is `true`, the milestones are stopped, when it changes back to `false`, the milestones continue to count.

The issue is that the `StoppedTimeInX`, `ElapsedTimeInX` and `ActualElapsedTimeInX` fields are always empty. I need those fields in order to calculate the actual time for the milestone to complete without the stopped time.

I’ve enabled `Enable stopped time and actual elapsed time` checkbox in the `Entitlement Settings` section, and added all the fields to the `Case Milestone` page layout – but still nothing.

How can I get those fields to work?

## Using web3.eth.estimateGas cause “gas required exceeds allowance or always failing transaction”

In solidity code I have function `addPhase` and it works well. The code below also works well

``````for (let j = 0; j < companies[i].phases.length; j++) {
transactions.push(
companies[i].phases[j].start_time,
companies[i].phases[j].prices_in_wei,
companies[i].phases[j].prices_in_wei_ends,
companies[i].phases[j].tokens_count,
companies[i].phases[j].min_tokens_to_sell,
Web3Helpers.sender_envelope(sender,10000000000)));
}
``````

But if I try to estimate gas consumption

``````for (let j = 0; j < companies[i].phases.length; j++) {
companies[i].phases[j].start_time,
companies[i].phases[j].prices_in_wei,
companies[i].phases[j].prices_in_wei_ends,
companies[i].phases[j].tokens_count,
companies[i].phases[j].min_tokens_to_sell
);
let gas_needed_phase = Web3Helpers.web3.eth.estimateGas({
data: call_data_phase,
from: sender
});
console.log("Gas estimation=" + gas_needed_phase);

transactions.push(