Inside of Razer USB-C Charging Cable Layout

Question: maybe you can try and help ,
i got Razer Blade Stealth 13.3" QHD+ Touchscreen Ultrabook,
my charger that is 65W with 20v with 3.25a for 20v,was broken at the end of the conector at the end of the charger and when i opend to see what USB C type is it i saw 4 red lines and one blue and one more line ,
see attcehd photos and maybe you can help what needed for solder on a new C type
Thanksenter image description here
Answer: This question is a bit old but I found it looking for the same answer. Hopefully the OP found their answer elsewhere. After something digging into the USB-C PD protocol, which I believe is being used here, I determined only one pinout that made sense to me. The 4 red wires should be the 4 VBUS lines required by USB PD. As far as I am aware it does not matter which VBUS plugs to which, but make no guarantee. The blue line will be CC1 of the USB-C connector, this pin is used to determine plug orientation (irrelevant here), plug connection, and power delivery negotiation. The final wire (silver, exposed) is the GND wire (connects to 4 pins in the connector).

Pinout image and more info found at https://www.allaboutcircuits.com/technical-articles/introduction-to-usb-type-c-which-pins-power-delivery-data-transfer/.
I plan on using this information to fix two broken Razer USB-C 65W power supplies, but have not finished the repairs yet.


Temple for Tri murthis and its significance

Question: Where is the temple for Trimurthis   Brahma,  Vishnu and Siva with their consorts and what is the significance of the same?
Answer:
This is a temple from where all the three Lords – Brahma, Vishnu and Shiva grace the devotees. It is in Trichy,  Tamilnadu.
The place is known as Pichandarkovil as Lord Shiva was relieved of His doshas here.  As Lord Vishnu stood here as Kadhamba tree, it is also known as Kadhambanur-Karambanur.  Husband and wife should live in unity understanding each other, a life described Uthamba meaning best, hence, the place is also known as Uthamarkoil.  As all the three Lords grace here with their respective consorts, Tirumangai Azhwar had praised this temple in His Mangalasasanam as Uthamar koil.  It is believed that families will prosper with prayers in this temple.

Image: http://img1.dinamalar.com/KovilImages/GalleryLarge/T_1024_169.jpg
For more information:*
Link: http://temple.dinamalar.com/en/new_en.php?id=169
Dinamalar is a Tamil newsdaily. Hence the article will be in Tamil. The answer is given in brief in the second para.


Relative estimation of Bernoulli parameter -- reference request

Question: Suppose I can make i.i.d. samples from the Bernoulli distribution with bias $p$ and want to find approximation $\hat{p} \in [(1-\epsilon)p,(1+\epsilon)p]$ with constant probability. I suppose that this should be possible to do in $O(\frac{1}{\epsilon^2 p})$ samples. Is this so? If so, are there any papers about this? I have found many papers which looked at maximum likelihood estimates or a Bayesian setting. I am interested in a reference, rather than in a solution as it must exist and I want to reference it in a paper.
Answer: I was finally able to find a reference, though it took me way too long. This paper [1] shows an algorithm that does exactly this, see Theorem 5 in that paper. The idea does not come from this paper, see the references they give.
[1] Sequential sampling techniques for algorithmic learning theory, Osamu Watanabe, https://core.ac.uk/download/pdf/82665979.pdf


ios sharekit 2.0 not showing image preview when sharing image

Question: I'm using Sharekit2.0 to share images to facebook and twitter.
Here is the code used for sharing the image in facebook.
SHKItem *sharerItem = [SHKItem image:image title:@""];
SHKTwitter *sharer = [[SHKTwitter alloc] init];
[sharer setItem:sharerItem];
[sharer share];

But this not showing any preview of the image when sharing (like twitter is showing). just a text view to enter title for image.
My question would be: is it possible to show to image preview when sharing to facebook ?
Thanks
Answer: Try:
SHKItem * sharerItem = [SHKItem image:image title:@"P"];
[SHKTwitter shareItem:sharerItem];


How can I view event logs for an ethereum contract?

Question: After reading the this post, it seems like I should be able to access the logs of events that have been called on an Ethereum contract. The section I am interested in is Option 3 which is using event logs as a cheaper form of storage.
This Stack Exchange question highlights a great way to do this.
The important part:
var filter = web3.eth.filter({
    'fromBlock': 0,
    'toBlock': 'latest',
    'address': contractAddress,
    'topics':[
        web3.sha3('newtest(string,uint256,string,string,uint256)')
    ]
});

filter.watch(function(error, result) {
   ...
})

However, the data I am getting back is not an array of logs in the structure of my event which I was expecting.
Blow is a basic contract where I am taking a product and moving it between addresses. When I do so, I create an event to highlight who sent it and who took ownership as well as the quantity. This should give me a rich history of every address that owned the product and the quantities at each transaction.
Contract:
contract Product{
  address public owner;
  string public title;
  mapping (address => uint) quantity;

  event Transferred(address from, address to, uint quantity);

  // Constructor
  function Product(string _title, uint _quantity){
    owner = msg.sender;
    title = _title;
    quantity[msg.sender] = _quantity;
  }

  function getQuantity(address _user) constant returns (uint _quantity){
    return quantity[_user];
  }

  function changeQuantity(uint _quantity) returns (bool success){
    quantity[msg.sender] = _quantity;
    return true;
  }

  function transfer(address _to, uint _quantity) returns (bool success){
    if (quantity[msg.sender] < _quantity){
      return false;
    }

    owner = _to;
    quantity[msg.sender] -= _quantity;
    quantity[_to] += _quantity;
    Transferred(msg.sender, _to, _quantity);
    return true;
  }
}

Let's start interacting with this bad boy in the Truffle console. First let's make our account objects.
var account1 = web3.eth.accounts[0]
var account2 = web3.eth.accounts[1]

Now, lets access the deployed contract.
var product;
Product.deployed().then(function(i){ product = i });

Now lets make sure account1 has 0 of whatever product this is
product.getQuantity(account1).then(function(ci){console.log(ci)})
// >>> { [String: '0'] s: 1, e: 0, c: [ 0 ] }

Sweet. Lets give it 10 as a quantity.
product.changeQuantity(10).then(function(ci){console.log(ci)})
product.getQuantity(account1).then(function(ci){console.log(ci)})

// >>> { [String: '10'] s: 1, e: 1, c: [ 10 ] }

Now we are cooking! Lets give one widget to account2. This will trigger the Transferred event and hopefully create a log that I can see forever and ever.
product.transfer(account2, 1).then(function(ci){console.log(ci)})
product.getQuantity(account2).then(function(ci){console.log(ci)})
// >>> { [String: '1'] s: 1, e: 0, c: [ 1 ] }

Awesome! Now lets check those logs! Replace the_contract_address with the contract address String.
var filter = web3.eth.filter({
    fromBlock:0,
    toBlock: 'latest',
    address: 'the_contract_address',
    'topics':[
        web3.sha3('Transferred(address,address,uint)')
    ]
});

Printing the filter object will give you:
Filter {
  requestManager:
   RequestManager {
     provider: HttpProvider { host: 'http://localhost:8545', timeout: 0 },
     polls: {},
     timeout: null },
  options:
   { topics: [ '0x6f8b0853f4c56c6a9faec2151763bdc803a695c1ce09b45d3036186c5ae14c47' ],
     from: undefined,
     to: undefined,
     address: '0x570a704dded5379eb21b064cc7750741348e8860',
     fromBlock: '0x0',
     toBlock: 'latest' },
  implementation:
   { newFilter: { [Function: send] request: [Function: bound ], call: [Function: newFilterCall] },
     uninstallFilter: { [Function: send] request: [Function: bound ], call: 'eth_uninstallFilter' },
     getLogs: { [Function: send] request: [Function: bound ], call: 'eth_getFilterLogs' },
     poll: { [Function: send] request: [Function: bound ], call: 'eth_getFilterChanges' } },
  filterId: '0x0b',
  callbacks: [],
  getLogsCallbacks: [],
  pollFilters: [],
  formatter: [Function: outputLogFormatter]
}

From here, I have no idea how to get the log data I am looking for. Even calling the temptingly named function eth_getFilterLogs returns []. I need a way to see a beautiful list of logs that grows over time with each transaction.
Any help would be greatly appreciated!
Edit:
var myEvent = product.Transferred({fromBlock: 0, toBlock: 'latest'});
myEvent.watch(function(error, result){console.log(result)});

The above successfully gives me the last event log it seems. However, it only seems to return one. For instance, executing:
product.transfer(account2, 3).then(function(ci){console.log(ci)})
product.transfer(account2, 2).then(function(ci){console.log(ci)})

yields only the second transaction results.
{ logIndex: 0,
  transactionIndex: 0,
  transactionHash: '0xe2e44b73d67147fb9988dce58d7616da759660a7fde99b3068c6b92fdb9ad8d3',
  blockHash: '0x3a28c6909d44f380a2c64601ecbc3523551ed3840f3afd2549d72d0b710fbb2d',
  blockNumber: 38,
  address: '0x97c553ef6d28b88e19f47735c35369d71f891d76',
  type: 'mined',
  event: 'Transferred',
  args:
   { from: '0x00bd67f06685ad070579b95c2e19ec0022fc916e',
     to: '0x90144809cf261f271e9b7fd3d6d1d0b51d8426c2',
     quantity: {
       [String: '2'] s: 1, e: 0, c: [Object]
     }
   }
}

How can I get both (all) of them?
Comment: Did you try this - https://github.com/ethereum/wiki/wiki/JavaScript-API#contract-events. I use events like this -
let rateEvent = constructor.Rate({}, {fromBlock: 0, toBlock: 'latest'});
rateEvent.watch(function(err, result) {
    rateEvent.stopWatching();
    ...
Comment: I responded inline so I could give you a more detailed response. That gives me the last transaction, but not all of them. Any idea how to get an array of all of the transactions?
Comment: Great solution @Travis Jacobs. Though this solution prints the correct details as per the event that has been fired, still I am having some doubt in the concept. When I see the transaction object (for a transaction which fired the event), there is a mismatch between the 'to' field. The event logs return the correct addresses of the accounts between which the transaction was triggered where as there is some different account address in the transaction object's 'to' field. This is the data from the transaction object.
[![enter image description here](https://i.stack.imgur.com/ndQu9.png)](https:/
Answer: To get event logs of the past, you can instantiate the event with a block range, and use the myEvent.get function to retrieve events.
In your example, we could do something minimal like this:
let transferEvent = product.Transferred({}, {fromBlock: 0, toBlock: 'latest'})
transferEvent.get((error, logs) => {
  // we have the logs, now print them
  logs.forEach(log => console.log(log.args))
})

Note: The first argument {} can be used like a filter, to only catch certain events.
Above code logs this to console:
{ from: '0xc7d748654199d3594239a244d806e51331ca14b5',
  to: '0x3c11b23b4d5adb2d534d262cf83cee773c9b1c0a',
  quantity: { [String: '1'] s: 1, e: 0, c: [ 1 ] } }
{ from: '0xc7d748654199d3594239a244d806e51331ca14b5',
  to: '0x3c11b23b4d5adb2d534d262cf83cee773c9b1c0a',
  quantity: { [String: '3'] s: 1, e: 0, c: [ 3 ] } }

What about for all events of a contract?
Here the event instantiation would just look like this (notice we only use one parameter here):
let events = product.allEvents({fromBlock: 0, toBlock: 'latest'})

And then continue as before, with events.get().
event.get() vs event.watch()
event.watch() is used for dealing with new events that fit a filter, as they stream in ("watching" the blockchain).
event.get() is for grabbing existing events that fit some filter.
Sources:

web3 docs on these functions
Comment: I think this might just be the correct answer! However, before I am able to get the event log in the format you've mentioned, I am getting the filter argument(s) such as:
`Filter {
  requestManager:
   RequestManager {
     provider: Provider { provider: [Object] },
     polls: {},
     timeout: null },
  options:
   { topics: [ '0x4d9f84ad939cdfc919f96521fa43928b9d771bdc45c91807a90698918f4c8b2a' ],
     from: undefined,
     to: undefined,`

**Idea why might it be so?**
Answer: For anyone using Web3 ^1.0.0, viewing contract events has changed slightly.
To view contract events from the past, we now use (from https://web3js.readthedocs.io/en/1.0/web3-eth-contract.html#getpastevents):
myContract.getPastEvents('MyEvent', {
    filter: {myIndexedParam: [20,23], myOtherIndexedParam:'0x123456789...'}, // Using an array means OR: e.g. 20 or 23
    fromBlock: 0,
    toBlock: 'latest'
}, function(error, events){ console.log(events); })
.then(function(events){
    console.log(events) // same results as the optional callback above
});

To subscribe to future events, we now use the following syntax:
myContract.events.MyEvent({
    filter: {myIndexedParam: [20,23], myOtherIndexedParam:'0x123456789...'}, // Using an array means OR: e.g. 20 or 23
    fromBlock: 0
}, function(error, event){ console.log(event); })
.on('data', function(event){
    console.log(event); // same results as the optional callback above
})
.on('changed', function(event){
    // remove event from local database
})
.on('error', console.error);

Comment: it requires websocket connection
Comment: Subscribing to future events does, that is correct.  WS are not currently supported by MetaMask, but Infura provides WS nodes for all testnets and mainnet.
Comment: I should also add that based on my experience using Infura to subscribe to future events on Rinkeby, it is by no means perfect and disconnects happen fairly often. Something to be aware of.
Comment: Not true, Infura doesn't provide WS for kovan chain. Correct WS is very unreliable constant disconnects
Answer: Alternatively, you can wrap your contract into truffle-contract abstraction -  if you call contract functions form js that way, you get back a tx object that has the logs included. Take a look how I implemented this: https://github.com/aleybovich/smart-contract-executor/blob/master/src/js/components/FuncForm.js
Or simply put:
Add the module:
const truffleContract = require("truffle-contract");

Create the contract abstraction instance:
const contract = truffleContract({abi});
contract.setProvider(web3.currentProvider);
contract.defaults({ from: fromAddress});

Send the transaction:
contract.at(this.props.contractAddress)
    .then(instance => {
        return instance[funcName](...args);
    })
    .then(tx => {
        if (tx.logs.length) {
            ... Process the logs
        }
    })
    .catch(error => {
        console.error(error);
    });


Question that can be answered using commonly-available references on-topic here?

Question: Should questions that can easily be answered through some commonly-available reference on-topic here?
E.g:
https://biology.stackexchange.com/q/14547/5431
And could the above stated example question serve any good if allowed to remain open?
Answer: I am wondering about the gray zone: Sometimes non-experts ask questions, baceuse they cannot google the answer up themselves, although I easily can. The non-experts often do not know the keywords for googling. I am at better position for finding the answer, even if it is on wikipedia.
To what extent is this site supposed to serve non-experts ?
Comment: I would say that when the google keywords are in the question itself, there's no gray zone whatsoever. Google very easily supports full-sentence queries like *"What is the difference between archaea and eubacteria?"* for example.
Answer:
Why is it not sufficient to say "if a question is trivial, boring, and demonstrates little to no research, downvote it"? Note that the hover-text for downvoting states quite clearly that a question or answer should be downvoted when it "does not show any research effort" or "it is unclear or not useful"!

-Beofett, 7 Nov 2012

I think the situation on SciFi & Fantasy is largely the same as that on Stack Overflow: a lot of simple questions that can be answered easily by external resources, some that probably should be, and folks who would rather post a lazy question here than do any of the legwork to find the answer themselves. Down-voting lazy questions should always be the first option, closing or deleting when they have serious problems of scope or quality, and directing folks to other sites (summarizing the answer found there) when there's nothing to be improved upon.

-Shog9, 31 Dec 2013
One passerby's opinion. Bio.SE is free to make its own decision on what to do with these questions, obviously, but I think these points are important to consider.
Answer: This has been brought up on a number of StackExchange meta sites.  I think there was a flurry in 2011 following this SE Blog post.  Some of the discussions:

Mathematics
Physics
Cooking
Bicycles

One site that is currently closing such questions is the English SE (with ongoing discussion).  Apparently SciFi SE used to use it but no longer does.
Answer: Wouldn't it be better - especially for a not so large community as Bio.SE - to simply collect all of the "stupid", "lazy", "google-friendly" questions with their answer in the Bio.SE knowledge-base? - The first time - you give an answer, the second time - you close it as duplicate, downvote, whatever.
The Biology, from my POV, is not like SO, or some other sites, where you simply can't be interested in topic unless you are researching it already. For example, you probably won't ask question about pimpl-pattern (random topic) in C++, unless you are already familiar with C++, pointers, etc - and if you know nothing about pointers, but still ask the question, then you are lazy for sure.
The biology has some natural scope in real life - even if you are not the PhD, you still may have question about your own body. Of course, someone may point out, that I'm to lazy to take a look in Wikipedia by my-self... But what if I don't even understand, what is written there?
Comment: If someone doesn't understand what's written in a resource like Wikipedia, then they should come to us and ask a specific question about the part they don't understand.
Comment: Agree that it is probably easier in the long term to have answers to common questions, and this will also funnel traffic from google. However, I think @MattDMo has a good point that it is more useful to ask specific questions when you get lost, instead of broad [lmgtfy](http://lmgtfy.com/)-questions of the form "*How does xxx work?*"


Can I cite a question/response to an academic paper?

Question: If there is some useful response to a question,
can I cite it to an academic journal?
Comment: Nothing here prevents or prohibits your citing material in a **submission** to an academic journal. The real question is what happens the other end. As a reviewer and journal editor, I know my own attitudes: I would much prefer a citation to a book or journal article for anything standard, but I would be happy to consider an argument for citing really original material. Some of the best posts here (e.g. those by @whuber) cover points not obviously covered, or covered so well, in the academic literature. You will find a bias in some quarters against citing anonymous material.
Comment: This has come up on the math site, see [What is a good standard for publishing a reference to a stackexchange thread?](http://meta.math.stackexchange.com/q/1876) for one example. There are a few more if you look as well, e.g. [Do I cite mathstackexchange in my paper?](http://meta.math.stackexchange.com/q/4259) and associated threads in the comment.
Comment: @Andy, I think it is the opposite. He/she is referring about using content retrieved from SE on an academic paper and give the credit (by citing) to the author of question/answer.
Comment: Oh okay, I actually thought that but it seemed a bit too idealistic to be real. I mean, the temptation is great to use the knowledge acquired on CV in a paper and pretend it's one's own work. After all what would a referee think if I thank CV user589646 in my first-page footnote? But of course it would be appropriate to somehow acknowledge other people's input. I don't see though how this can work given the anonymity that we have here?
Comment: Do you mean you want to answer a question here with results from an academic paper and refer to this paper in your answer?
Answer: Continuing @Nick Cox's thoughts in the comment thread, my inclination both as a writer and reviewer would be that if you have encountered useful material on CV that you believe to be original, then include an account of it in your paper (as a brief appendix if you must) and acknowledge its original source. That makes you responsible for it, which removes the problem of relying on potentially unreviewed anonymous posts on the Internet, while complying with the scholarly tenet of recognizing your sources.
If you need a posted image, treat it in the usual way: contact the owner for permission to re-use it. I periodically get requests from publishers in this regard and routinely grant them.
Answer: citing a question or an answer for a hypothesis being proposed should not be a problem. I have found some real good answers - original ones too. Citing these answers as a cross validation could be helpful and desirable. But, there must be appropriate guidelines and screening by the experts in the relevant field.


It is not possible to edit a tag Wiki, nor create one

Question: I was trying to add a Wiki page to a tag here on meta, but I have problems to create it: when I click on the button to create it, nothing happens.
I also tried to edit an existing tag Wiki, but again I could not do that. Clicking on the edit link that appears in the pop up associated with a tag takes me, e.g., to https://drupal.meta.stackexchange.com/tags/discussion/info, where I see the "Edit Tag Wiki" button; when I click on that button, nothing happens.
Answer: Clicking "propose tag wiki" doesn't work on this meta site for me either. I've got the "tag editor" badge on the main site, so I can make some entries with my sad level of karma/rep.
Answer: We aren't supporting tag wikis on per-site (child) metas right now -- we plan to push across all the standard meta tag wikis from meta.so regularly.


Current Electricity and E.M.F of a cell

Question: The E.M.F of a cell is the work done in moving a unit positive charge in a loop or from the terminal to the same terminal. The force it experiences is a conservative force. Therefore, the work-done in a loop should be zero which means the E.M.F of any cell is zero, which is not correct...What happens there?
Comment: The EMF associated with a battery cell is the work (per unit charge) done in moving a positive charge from one terminal to the *other*, not the work done (per unit charge) around a *closed loop* as you stated.
Comment: See here. This might be helpful to eradicate various misconceptions regarding your doubts. http://physics.stackexchange.com/q/15402/
Answer: Suppose you consider the popular analogy of a water pipe circuit with a pump supplying power and a turbine or something similar for the water to do work on. The water flows in a loop, so the net work should be zero as per your argument, but nevertheless work is done - the turbine turns.
The solution is that the water does work on the turbine but has work done on it by the pump. So the water is effectively transferring work from the pump to the turbine, and the net work done on the water is indeed zero.
The battery is a bit different because the battery supplies energy through a chemical reaction rather than a mechanical pump, so the concept of work is a bit vague here. Nevertheless the same principle applies. The electrons do work on the motor, or whatever they are connected to, then as they flow back round the circuit the battery does work on them. The net effect is to transfer energy from the battery to the motor and the net work on the electrons is zero as you say.
As BMS says in the comment, the EMF of the battery is the work done per unit charge on the current as if flows through the circuit, and this is equal and opposite to the work done on the current as it flows through the battery, so the net EMF round the whole circuit is indeed zero.
Comment: John,the part "*the EMF of the battery is the work done per unit charge on the current as if flows through the circuit, and this is equal and opposite to the work done on the current as it flows through the battery, so the net EMF round the whole circuit is indeed zero.*" is confusing. "Net EMF" means "EMF of the battery". You probably meant "loop integral of the macroscopic electric field through the circuit and battery". The latter is zero. See the answer by C.R in http://physics.stackexchange.com/questions/15402/what-is-the-difference-between-electric-potential-voltage-and-electromotive-for
Answer: Any charge in the wire is experiencing a force which has two components: the force provided by the source (the battery in this case) and the force due to the electric field which develops in the wire to prevent the charge from accumulating and keep the flow smooth. The line integral of the total force is then the line integral of the two components. The electric field is conservative as you rightly pointed out and thus does not contribute anything to the line integral. The line integral of the total force ( The EMF, a very lousy term btw) becomes equal to the line integral of the force due to the electric field. This (EMF) is equal to the potential between the terminals of a battery in a resistance-less source
Answer: The EMF of a cell is not the work done in moving a unit charge around a loop, but the work done in moving a charge from one terminal of the cell to the other.
The sum of the EMF's around a closed loop is zero, since this is simply the conservation of energy - the work done by a conservative force in a closed path is always zero. This is Kirchhoff's second circuit law.

Current Electricity and E.M.F of a cell


Is there a special name for nouns that aren't preceded by an article?

Question: This might only apply to a few nouns, but I was wondering if there is a special name for nouns that colloquially aren't preceded by an article. For example we say "eating dinner" instead of "eating a dinner"; in the latter case we would say "having a meal" instead. Is there a name for nouns such as dinner?
Comment: You're probably looking for *mass noun* (or *non-count noun*), but almost all such nouns have cases where they are countable and therefore take a determiner: *I'm eating the dinner my boyfriend prepared*, or *I'm eating a dinner in every county in the state this month*.
Comment: Probably what you're getting at is that constructions *I like **cake**, Give me **beer**, Don't skip **breakfast*** involve words that are/can be [**mass** / **count** nouns](http://grammar.ccc.commnet.edu/grammar/noncount.htm)
Comment: You might want to wait  a day or two before accepting an answer. You're question's quite on topic. You may get some better developed or more interesting ones. But people might not bother to write you another answer for your  question if you've already accepted one! (thanks though). I won't mind you deselecting my answer : )
Comment: ok i'll wait. sorry, i'm not used to this sub.
Answer: In syntax they're known as bare noun phrases, often referred to as bare NPs. They are the subject of much academic research. Especially interesting are those instances where the noun phrase is singular. There are important subcategories of bare noun phrase, such as bare role NPs. We find these in sentences such as Who'll be maid of honour?.
Comment: The null determiner is 'the'.  If you ate 'a' dinner, it might be leftovers, but 'the' dinner is the one you expect to eat at the normal time (unless you had just mentioned some other dinner).   Because it is obvious, 'the' can be omitted.  This even applies to proper nouns.  A Tom is someone named Tom, but [the] Tom is the Tom that you and I both know.
Comment: @AmI Interesting. How owuld that work with *the universe*? I'm not saying you're wrong. I'm wondering if there's some other factors at play too. What d'you think?
Comment: You're right.  Familiarity has much to do with it.  '[our] Mother went [to our] home to watch [our] TV before [our] bedtime.
Answer: A prefix is a term of word formation as trans- in to translate or translation. The articles (a, an, the) are no prefixes. Grammar can give only basic and general information as the use or drop of articles is a dictionary problem with thousands of registrations. It needs long experience to get a feeling for the use of articles.It's not a matter of some rules and lists.
You can say "nouns that aren't preceded by an article" if you want Latin verbs or simply "nouns without article".


12 year old peace lily

Question: I have a 12-year-old peace lily which I received at my husband's funeral. I am desperately trying to save it. It seemed to have taken a turn for the worse about four months ago. I babied it, repotted it with fresh potting soil, sprayed the roots with an insecticide,  everything I read to do. When I repotted it, I was shocked to see it literally had no roots so I assumed it was root rot.  I trimmed the  stubby roots and added a root stimulator to watering I used on it last week. It looks so bad now that I really think it's on its way out. My thoughts now are that because of the  unusually long cold winter we've had, the temperature in the house may have made a difference. I have to keep it at 60° at night and during the day it's usually 65 to 70° and I do have a humidifier on my furnace. My heart will break if I lose this plant. Is there anything else I can do for it?
Comment: I have a peace Lily that is also 12 years old and given to me when my husband passed in May 2011. It has never had a flower on it since I received it. I just went to water it and OMG there is a white flower that will probably open tomorrow. I am so excited because I thought it would never bloom. So don't give up! This is so wonderful!! Keep watering and baby it and hopefully this will happen to yours as well.
Answer: The bad news is that 12 years is getting old for a peace lily. You can find people on the web who claim to have one that is 20 or even 40 years old, but 5 years is nearer the average life expectancy.
Don't break your heart over it. Accept that it's reached the "do not resuscitate" stage of its life. Trying increasingly aggressive interventions to save it won't keep it going for ever.
If you want a peace lily to keep your memories alive, the best option will be to get another one.

12 year old peace lily


If there's no pokemon to begin with, will incense help?

Question: I live in the middle of nowhere with an M-cell. There is no pokemon near me 99% of the time. When i pop an incense, will it attract pokemon even though theres none to begin with?
Comment: Despite the description of incense and lure modules, Pokemon ***spawn*** around lures and incense at regular intervals, they aren't actually existing spawns drawn towards the area..
Answer: Pokemon tend to spawn in more populated areas such as malls and town centres, due to where you live "in the middle of nowhere" you've likely been handicapped in the Pokemon catching sense, however, incense and lures will not attract Pokemon but make them spawn near you more oftenly and increasing rarity of Pokemon. If possible, try to go near places where it's oftenly densely populated and places that harbour many Pokestops to increase the chances of finding a Pokemon. Good luck on finding your first Pidgey!
Comment: So essentially, an incense isn't effected by the populace of the general area?
Comment: It likely isn't, however moving greatly increases the chances you'll find a pokemon, up to 5x actually, as with incense on you'll get atleast 1 pokemon every 5 minutes, however you can get up to 1 pokemon per minute per 200m you travel :https://www.reddit.com/r/pokemongo/comments/4t5vu0/psa_incense_spawns_1_pok%C3%A9mon_every_5_min_while/
Comment: So optimally, I would pop an incense, and walk around the outside of my house until it runs out?
Comment: Yeeeeeeeeeeeees


Correct Notation of Radiation Pattern of an Antenna

Question: I have a confusion regarding the notation of radiation pattern of an antenna array. Some literatures use, say, $$F(r,\theta,\phi)$$ to denote the same while others use $$F(\theta,\phi)$$I would appreciate if anyone tells me the proper notation for the same. I am writing a report and I am not sure which notation to follow to represent the radiation pattern(field/power).
Comment: "r" is usually the distance from the antenna so not specifying "r" would seem pointless unless it's just for field measurements at the antenna really close up?
Comment: Well I am dealing with radiation patterns at the far field and in majority of popular literature like Balanis, Thiele, etc. "r" is ignored in the notation of radiation pattern which is making me wonder "why is it ignored" and "which notation" to use in my report.
Comment: Links to both literature pieces is likely required to answer this.
Comment: Since the books are not available online, I am posting the online wiki link explaining [radiation pattern](https://en.wikipedia.org/wiki/Radiation_pattern). Here also "r" has been ignored.
Comment: Just a tip, but unless there is a defined standard in your class/field, you need to specify whether \$\theta\$ and \$\phi\$ are bearing and azimuth or azimuth and bearing. Different math and engineering books exchange them and it can be super confusing.
Answer: The inclusion of r makes it a near-field measurement.  The far-field measurement is an approximation based on the assumption that r is approaching infinity, which in practise means that r is many times larger than the antenna.
If you care about near-field effects, then you must use the near-field form.  If you don't care about near-field, i.e. if your antennas are spaced apart by at least a few tens of their size, then you should simplify your report by using only the far-field radiation patterns.
The near-field expression probably gives you a direct expression for field-strength or power at each (r, theta, phi) point in space, whereas the far-field expression usually just tells you the antenna gain with respect to isotropic (dBi) in each (phi, theta) direction.  The way you use each expression therefore differs because one includes propagation loss and the other does not; you must account for 1/r^2 (= -20log(r) dB) propagation losses if you're using the far-field patterns to compute total power transfer between antennae.


Shouldn't the [unknown-title] tag be replaced with the [identify-this-song] one?

Question: I've just encountered the unknown-title tag: shouldn't it be replaced with the identify-this-song one?
Answer: Yes.  If anyone wants to get a little work towards their Strunk & White, go ahead and burn the unknown-title tag.
Comment: Just a little FYI, using the tag [merge functionality](http://musicfans.stackexchange.com/admin/merge-tags?removetag=unknown-title) you, as a moderator, can actually (silently) merge a tag into another one (and also rename it) without the necessaity to edit all the questions that use it manually.
Comment: I debated that, but there were only a handful of questions.  On a larger site, I would have chosen that route.


Verifying my e-commerce business Facebook Page

Question: How do I verify my business page if I am e-commerce business with no physical location to the public and don't use a telephone number? I just sell and deal online.
Answer: From Facebook Help Center:

Requesting a blue verification badge isn't available right now.

But you can request a gray verification badge:

To be eligible for a gray verification badge, you must be an admin of your business Page and your Page must:

Be published
Have a profile picture and cover photo
Have posts

To verify your Page:

Click Settings at the top of your Page.
From General, click Page Verification.
Click Verify this Page.
Enter a publicly listed phone number for your business, your country and language.
Click Call Me Now to allow Facebook to call you with a verification code.
Enter the 4-digit verification code and click Continue.

As you don't have phone number you can use business document to verify you page.

If you prefer to verify your Page with a business document (example: phone bill), follow the steps above and click Verify this Page with documents instead at the bottom left of the window that appears, then upload a picture of an official document showing your business's name and address. We'll only use this information to verify your Page.

One Facebook receive your verification code or business document, they will review your info to confirm that it matches public records and send you a notification or email about your verification status within a few days.


How to set scale across all blender objects and keyframes?

Question: I have a complex scene with physics (not baked) and I discovered a long way into the scene that I need to scale everything up for the physics to do it's thing right. I scaled everything up, pressed play and everything went to crap. My keyframes are interfering. Is there a way to set the scale of all of the objects across all of the keyframes without messing up the other keyframe settings?
Comment: As alternative you can try to set the scene scale.
Comment: You can try to parent all objects to an empty and scale the empty.
Comment: I gave it a try and it screwed all of the physics up. Command Z and try again!
Comment: What's the best way to do that?
Comment: There is only one: _Properties Panel > Scene Tab (3. Icon) > Units_
Answer: Set the scale to the value you need and all the scale keyframes will be updated accordingly :
import bpy

scale = 2     #change this value  'scaling factor'

for action in  bpy.data.actions :
    for fcurve in action.fcurves :
        if fcurve.data_path == 'scale':
            for p in fcurve.keyframe_points :
                p.co[1] *= scale

Answer: If your keyframes are interfering then that means you have keyframed the scale values of all or some of your objects.
If the scale doesn't change throughout your animation then you can delete all the scale keyframes and adjust the scale as you want. Using either the dopesheet or the graph editor, in the header you will find a little magnifying glass, clicking this will show a text box where you can enter scale then press ⏎ Enter, this will filter the display to only show scale channels so you can easily select all A and delete X.
Once the scale keyframes have been removed you can select all the objects and by using the object properties panel right click on the scale values and select copy to selected.

There is also an addon called Copy attributes menu that adds a menu to ⎈ CtrlC that allows you to copy attributes to all selected objects.
If you have keyframed changes in the scale values then you will want to use the graph editor, use the filter to show only scale channels. Now you can select all A and move them only on the Y axis to the size you want, GY. You can either move them a specific amount by entering a number or watch the scale properties as you move it.


CPA did my taxes but never filed

Question: My CPA did my taxes,(I have the copies), but never e-filed. I have contacted the IRS, and they have nothing on record. I am expecting a refund.  I never received it because of this.  What do I do? Do I have to redo my taxes myself? Plug in all his numbers in something like Turbo Tax? I already paid him.  I have been trying every day to contact him, but he never gets back to me.
Comment: I think this is sufficiently different, given there are no penalties due in this situation, but good to link.
Comment: possible duplicate: https://money.stackexchange.com/questions/30071/how-can-i-avoid-being-fined-or-penalized-because-my-accountant-might-have-failed
Comment: What I heard once: Get damaged.  What were you going to use the refund for?  To buy XYZ.  Okay. Try to buy XYZ without that refund money.  Fail.  Go ahead, apply for a loan and get denied (even if you had no need for the loan).  Or do something else; proceed to experience a failure of some sort.  Get inconvenienced.  Then, you can say that you experienced an actual hardship, besides just feeling mentally less satisfied.  This can be good, because courts are more likely to compensate for actual hardships that happened.  Even if you don't sue, having that card up your sleeve might be helpful.
Answer: If you are owed a refund, then there is no negative consequence to filing late aside from a delay in receiving your funds, you have up to 3 years to claim a refund.
If you have copies (and believe the CPA prepared your return properly), you can make a copy and mail that in, probably the easiest path forward if the return is complete but un-filed. Otherwise you'd have to re-enter things or pay someone else to file the return.
Addresses vary, select your state from the following and pick the address from the left column on the subsequent page for the appropriate form:
IRS: Where to File Paper Tax Returns With or Without a Payment
Edit: The suggested possible duplicate has good info on what action you might take against the CPA, but if all you care about is filing and getting your refund, then the above should be sufficient.
Answer: Print your return and follow the instructions to mail it in.  If you suspect your CPA may be a fraudster, double check to make sure he didn't enter his own Routing Number and Account number in the refund portion of your return or the IRS will send your money to his bank acccount!!!  Verify Lines 73 - 75 on your 1040 form (the first form on your tax return) are ok and you will receive your refund in the mail or as an electronic transfer.
Comment: The IRS already said they have nothing.  Your scenario contradicts that.
Comment: @donjuedo IRS have nothing -> print your return and mail it to them. How is that contradictory?
Comment: My mistake.  I thought you were saying the CPA might have entered his own routing number and account *and sent it in*.  That last part is not in your answer -- I didn't realize I had inferred it.
Comment: This does remind me of a real estate attorney named Michael Jordan.  He cleaned out his trust account (client money), faked his death (coastal South Carolina boating "accident"), and fled to Canada.  He was caught at the border with his mistress.
Answer: I think adding to make sure the routing and account number are your's was good input, even if you "don't think he filed"... maybe he's waiting to file it or just filed it, for some fraudulent reason.....

CPA did my taxes but never filed


Different balances Bitcoin-Qt vs. Blockchain.info

Question: Why is the balance in my Bitcoin-Qt wallet different from the balance when I check the information about my address on blockchain.info? All transactions are confirmed.
Comment: Possible duplicate of [Why does blockchain.info show a different balance from bitcoin-qt?](http://bitcoin.stackexchange.com/questions/7932/why-does-blockchain-info-show-a-different-balance-from-bitcoin-qt?)
Answer: The problem is likely that in Bitcoin-Qt, your balance is not kept in a single address. For privacy reasons (of the system as a whole), change from transactions is sent to new addresses.
The abstraction provided by the Bitcoin-Qt client is that of a wallet, in which coins enter via (don't reside at) addresses, and are sent out from it, and is otherwise a black box. When you look at it via blockchain.info or similar sites, you get a more low-level via, where "balances" are kept per address (which is actually sort-of misleading, as at the protocol level, Bitcoin doesn't work in function of addresses or balances at all, but in terms of transactions on individual coins).
Answer: This is normal. This has to do with the way transactions work in Bitcoin.
The amount of satoshis in the inputs and outputs of a transaction must match. (In reality the inputs can be higher than the outputs, the remainder then becomes the the transaction fees.)
Transaction inputs are based on previous transaction outputs that were sent to public addresses you control. If you send an amount that is not exactly what you received with a previous transaction, the software creates a transaction with a larger input and sends back the difference to a public address you control.
For privacy reasons, the BitcoinQt software creates a new address (instead of re-using the main address), and sends money to it. There is a pre-allocated key pool of such addresses. The default size is of 100. The key pool grows as you use them.
For more details, see this blog post: http://blog.barthe.ph/2014/04/03/bitcoin-balance-differs/
Answer: You may have archived some Bitcoin addresses on Blockchain.info. Those are not added to the total balance.
Answer: You may have added "watch addresses" to your blockchain.info wallet. These are addresses that are only watched and not actually part of your wallet.
Your Bitcoin-QT wallet on the other hand will be the accurate one and be your actual balance as it cannot watch addresses.


How to train a neural network model in python or any language that can train itself from a excel file and validate itself also from a excel file?

Question: I have a large amount of data. I need to make a neural network that trains itself  from an excel data sheet and validates its output from another excel data set.
There will be an output coloumn in the validate excel file. The model needs to give the output near about the givern row.
Comment: You read the excel file into python using `pd.read_csv` and then use it for any task you want. Other than that your question is not clear? What exactly do you want to ask?
Answer: You are mentioning two different problems:

data gathering: here you want to get your data from an excel file for both the training and the validation
modeling your data: here you want to do it with a neural network.

For the data gathering, I suggest you to use pandas, a python library which can extract data from excel files with pandas.read_excel as well as many other source (csv files, parquet files). Then once you have the data in python you can  try to understand them with a neural network. The book I used to learn it was handson machine learning by Aurelien Gueron (https://github.com/ageron/handson-ml). Hope you will find this useful.
Before going to neural network you should also have a look at scikit learn a python library which is used for machine learning when you do not have enough data to train a neural network, if you are getting you data from excel files I guess you have less than 100 thousand data rows which might be a bit too few to train a neural net.
Answer: You have to break your task in 3 parts:

load the data
train the model
use the model on validation data

The first and third tasks identical in your case, I think - you have to find a way to load the excel file. As mentioned in the other answer pandas.read_excel is probably the function you need.

If both excel files have the same structure, then you are good to go
If the validation file is different, you have to load it and manually adjust the column names (and the set of columns that exist) in order to match the training data. E.g. the model would expect the same input

If part of your task is to also output the prediction in the validation file, in a separate column, then see how to use pandas.DataFrame.to_excel. This would be a subtask for task 3 or maybe a new task on itself: save the prediction in an output file.


C++ MFC - Sharing data between MFC DLL and WTL exe?

Question: I have a MFC project that provides a GUI interface for manipulating a complicated data structure (let's call it ComplicatedClass). I have a WTL project that needs to use this class a lot. I would like to be able to manage only one instance of this class and don't want each project to have its own copy of ComplicatedClass.
If I want these projects to share one instance of this class, how would I go about doing this in a safe and reliable manner? It seems like the only alternative to me is to basically have two copies of the class (one managed by the MFC project and one managed by the WTL side).
Answer: You don't need two copies. You don't mention how your application is structured, but I assume the MFC project is an .exe and the WTL one is a dll. Export a function from the dll that takes a ComplicatedClass* and store it for use in your dll. I assume here that ComplicatedClass doesn't have any UI data - i.e., no CWnd-derived objects. If it does, you'll need to be careful to wrap your HWND's properly, or stick to win32-only messaging (i.e., only use ::SendMessage).
This is just general advise, your question isn't specific enough for anything else. For example I don't see why you conclude that you have to have two copies. If you just pass a pointer from one to the other, they can both access them.


Can a 7805 ever oscillate?

Question: I see many references to input and output caps helping with "stability" and some outright references to preventing oscillation in both answers on this site, and even in some data sheets. I also have seen references saying that the 7805 is "inherently stable" in both answers on this site and even in some data sheets and app notes. Are the datasheets/people using the term "stability" confused or are there versions of the 7805 that actually can become unstable? If so, I would like to see an example of a circuit in which this would happen.
Comment: 79xx regulator is more sensitive for instability. Check the datasheet. If the datasheet says the device may be unstable then you should not rely on it without proper counter-measures. The datasheet may vary from manufacturer to manufacturer.
Comment: Have you tried things like googling for "unstable 7805" for inspiration?
Comment: Yes, I've been neck deep in Google, various textbooks (reread my entire copy of FOE by Razavi), my copy of AOE3 (ch 1-4 an 9), etc... =) If there is a particular Google result you feel is inspiring please share!
Comment: To clarify, I interpret the word "unstable" to mean "begin oscillating" i.e. Barkhausen criterion have been violated.
Answer: It's quite challenging to make them misbehave to the point of oscillation in practice, especially with light loads. Try heavy loading, no input capacitance at all and some source inductance, but I offer no guarantees. You can tell as oscillation approaches you'll see reduced phase margin, meaning overshoot/undershoot on load or line changes.
Based on simulation, it looks like something like 500uH with a 0.5A load will be close to oscillation typically. This is a pretty pathological arrangement. The plot below is with 400uH and a 0.55A load which decreases* to 0.5A at t=100usec

* the decrease is done with a tanh function over a period of about 1usec, so not quite an ideal switch opening.
This comment does not extend to other types of regulators (especially LDOs) which are easy to make oscillate. And, of course, in real circuits we prefer to live on the side of "guaranteed to be stable" rather than "guaranteed to oscillate", at least for voltage regulators. The opposite would be true of things that are intended to oscillate- as the old saw says "amplifiers oscillate, oscillators don't".
Edit: I tried a couple quick tests- with a relatively large input capacitor at the regulator (1uF) it shows low level (2.5mV p-p) oscillation at about 8kHz. Much below that it lowers the frequency of oscillation but magnitude remains high. Adding only a capacitor to the output with the input inductor present reduces the stability- 5-10nF is enough to make it oscillate with 400uH inductance on the input and a 0.5A load.
Comment: Thanks for the reply. I'm guessing you have a 7805 model you've used for this sim? Just to make sure I understand, is the 500uH in series with the input of the 7805? Is the application of the input or output cap the solution to this oscillation? Would that be a case of compensation (early rolling off the gain in a feedback loop) or is this something else entirely?
Comment: Yes, an input cap should prevent it- there are graphs on some datasheets showing the gain vs. frequency of the 7805. I have not attempted to analyze this in detail- the fact is that they are extremely stable in any reasonable arrangement.
Comment: So basically, the above is an inductance forming an underdamped series LC with the capacitance seen at the input of the regulator? Wouldn't adding the input cap just change the ringing frequency? I agree this is maybe an unreasonable arrangement but it's an interesting answer!
Answer: I had a 7805 in an application oscillate. However is was not quite in the way you are thinking here. I had a 7805 that was loaded in such way that the part was getting rather warm. It had a rather measly little heat sink but it was not enough to keep the parts temperature below the critical thermal cutout level of the regulator. As such the part would get really hot and cutout causing the output to drop to zero volts. As soon as the load was removed the part would start to cool off and eventually come back on again. It would oscillate like this at a couple of seconds rate. I also found I could change the oscillation frequency by placing a tool on the small heatsink!!
Answer: While a Vreg can be "inherently stable," it's still beneficial to add 'stabilizing' components externally, to prevent the possibility of load instabilities outweighing the internal stability & 'forcing' the regulator into unsta le operation.
To use a more obvious analogy, imagine you're feeding rope to someone as they rappel down a cliff.

As long as the climber maintains a fairly predictable/steady pace, you (being inherently helpful) can maintain an even, stable tension on the rope.
Now, imagine the same climber stops for a few minutes, trying to find a new route; then they suddenly slip off the face & drop; then catch themselves on the face again; climb up a foot or two; then fall yet again.

In this instance; while you may have a stable footing, be very good at maintaining stable tension on the rope, etc. Wouldn't it be incredibly useful to have a rope-stabilizing pulley/drag system to keep the rope from getting into unstable movements?
Comment: @PeterSmith that's not applicable. LM1117 is an LDO. 7805 is not. The subtext of my question is basically: "Do people think that standard, old school linear regulators can oscillate only because LDOs can and they're confusing the two topologies?". All LDOs are linear regulators but not all linear regulators are LDOs.
Comment: Thanks for the reply. Can you point to an example of a circuit I can study in which this happens?
Comment: Take a look at the http://www.ti.com/lit/ds/symlink/lm1117.pdf - see section 188.8.131.52.3 - An output ESR outside of the stated range will yield the regulator unstable.

Can a 7805 ever oscillate?


Is buddhism athiestic?

Question: Sorry, I'm a beginner to Buddhism but at least from whatever I have heard buddhism seems atheistic. But I've also heard claims like the Buddha is higher than the 'devas' and all that. Does buddhism believe in god? are there any suttas which can prove otherwise?
Answer: Buddhism teaches about higher consciousness such as Deva or gods.
However, Buddhism does not teache a one creator God or one and only god overpowering you.Gods can help you like any other human can help you but not with eliminate your suffering, unfortunately.
==================
Scattered throughout the suttas are references to as many as thirty-one distinct "planes" or "realms" of existence into which beings can be reborn during their long wandering through samsara. These range from the extraordinarily grim and painful hell realms all the way up to the most exquisitely refined and blissful heaven realms. Existence in every realm is temporary; in Buddhist cosmology there is no eternal heaven or hell. Beings are born into a particular realm according to their past kamma. When they pass away, they take rebirth once again elsewhere according to the quality of their kamma: wholesome actions bring about a favorable rebirth, while unwholesome actions lead to an unfavorable one. And so the wearisome cycle continues.
The realms of existence are customarily divided into three distinct "worlds" (loka), listed here in descending order of refinement:
The Immaterial World (arupa-loka). Consists of four realms that are accessible to those who pass away while meditating in the formless jhanas.
The Fine-Material World (rupa-loka). Consists of sixteen realms whose inhabitants (the devas) experience extremely refined degrees of mental pleasure. These realms are accessible to those who have attained at least some level of jhana and who have thereby managed to (temporarily) suppress hatred and ill-will. They are said to possess extremely refined bodies of pure light. The highest of these realms, the Pure Abodes, are accessible only to those who have attained to "non-returning," the third stage of Awakening. The Fine-Material World and the Immaterial World together constitute the "heavens" (sagga).
The Sensuous World (kama-loka). Consists of eleven realms in which experience — both pleasurable and not — is dominated by the five senses. Seven of these realms are favorable destinations, and include our own human realm as well as several realms occupied by devas. The lowest realms are the four "bad" destinations, which include the animal and hell realms.
The information on this page was assembled from a variety of sources. In the interests of economizing space I have not attributed each fact to its respective source.
http://www.accesstoinsight.org/ptf/dhamma/sagga/loka.html
Comment: in which suttas or whatever does buddha talk about devas
Comment: I edited my post to include answers to your question -)
Answer: There is faith in the Dhamma, the Buddha and the Sangha. Faith is based upon observational proof as described in MN27 and Kalama. 'devas', heavens, hells - are subject to the same Dhamma as people, just living under different conditions (longer time span, material/immaterial). They are scattered around the Pali canon, but MN1 gives a nice list, and sums up Buddhist opinion on them.
Answer:
I have heard buddhism seems atheistic.

Correct. AN 3.61 states happiness & suffering are not caused by a creator god, such as Ishvara, Yahweh or Allah.

But I've also heard claims like the Buddha is higher than the 'devas' and all that.

The gods are the kings, queens, politicians, billionaires, etc, or very special spiritual people who have extraordinary love or psychic powers. In short, the 'gods' are merely people.
For example, the story in SN 11.5 about the deva (benevolent) & violent (asura) gods debating how to rule people is obviously powerful people debating political methods (such as democracy vs communism).
This is found in Judaism (a punishing violent god) & Christianity (a forgiving loving god).

Does buddhism believe in god?

In the ordinary sense, no, Buddhism does not believe in god.

are there any suttas which can prove otherwise?

AN 3.61 says happiness & suffering are not due to a creator god such as Ishvara, Yahweh or Allah.
SN 12.44 and AN 4.45  (at the very end) say the world is created by ignorance & the mind.
Comment: down vote for "gods are merely people"

Is buddhism athiestic?


How can I open doc and ppt files without any app installed in device in Android?

Question: How can I open doc, ppt files without any app installed in device in Android?
I am  developing a document to go and I would like suggestions on how can I open doc, ppt, pdf file without any app installed.
Answer: if you want a readable output for those files, you kinda need another app. To my knowledge, stock android doesnt have a way to read any of those files nativly.
if you can manage one app, kingston office i know personally can open those types(pdf is iffy)
https://play.google.com/store/apps/details?id=cn.wps.moffice_eng&hl=en
The other way i think is if you had an external interpreter that can make a web page out of it. Maybe using drive.google.com would serve for that, but i dont know how far the browser on your device can go with it.


Changing Dataset Property

Question: I 'm working on GDAL C++. But I have some trouble to change GDALDataset property. I have converted "jpg" to "bmp" an image. But I want to do read an image(jpg) to gdaldataset then change dataset properties(gdaldataset) to "bmp". But I don't want to create a ".bmp" file any pc storage. Only change Gdaldataset properties to ("bmp").
Answer: When working with GDAL through its C++ API, you communicate with the inner raster representation, which is independent from whether you are reading a JPEG or a BMP file, because input / output management is decoupled by using so called format drivers. It is an applied design pattern to separate the data representation layer (GDALDataset, GDALRasterBand) from the persistence layer (GDALDriver).

Changing Dataset Property


Transfer video file from OS X Lion to iPod touch 4th gen with iOS 5

Question: I have a recently purchased MacBook Pro with Lion and I want to transfer a video file to my iPod touch. The only problem is this is not the Mac with which my iPod touch library is synced, so I cannot really use iTunes sync feature. What can I do?
Answer: Air Sharing will provide a network drive the Mac can drop files onto so you can view them on your touch.
Comment: As long as both the MacBook and the iDevice are in the same LAN/WLAN they should be able to connect just fine.
Comment: will it use network traffic. I mean outside my LAN.
Answer: If you're looking for a workaround here, you might be able to use Dropbox. Store the file in your Dropbox account on your Mac, download the iOS client, and star the file as a favorite on your iPod touch. I believe that will cache it on the iPod touch. Then, when you click it, it should play.
You will need a wireless internet connection for the Touch on the first sync, but once it's starred as a favorite, it should be accessible even when offline.
Comment: I am aware of this workaround but I was more specifically looking for a non-internet thing, the one I can do without internet connection.


Will astronauts on the Lunar Gateway beat the record Apollo 13 set for furthest distance from Earth?

Question: This questiom states that the distance was 400038km with a lunar altitude of 254 km. As gateway will have a max. 70,000 km distance from the lunar south pole, it may break the record. However, because it is in a NRHO, and there will only be astronauts onboard for short periods of time, the maximum distance may be less. Can anyone find an answer?
Answer: Whether or not this does happen, that's a trivial and fleeting milestone. Apollo 13 was not known for that trivial milestone. It was known for being a massive failure that was turned into a non-failure.
The answer to your question will depend on when the astronauts launch and return. The will spend about 5 days traveling to the Moon, 5 days traveling from the Moon, and 11 days in NRHO (or transit from / to the Moon). That's about a third of a month. The launch date is not known. If that third of a month happens to occur around lunar perigee, they might or might not break the Apollo 13 record.
The intent of Artemis II is not to break a trivial Apollo 13 milestone. It is to show that Artemis III will likely be a viable mission. In turn, the goal of Artemis III is not to set the distance record that humans traveled from the Earth. The goal is to spend more time on the Moon than did any previous mission to the Moon. Missions beyond Artemis III will spend even more time on the Moon, with the goal of eventually having a permanent presence, with a long-term goal of learning how to go to Mars.
That trivial Apollo 13 milestone will of course be broken by a trip to Mars (and back). The more important lesson-learned from Apollo 13 was how to recover from a very serious, life-threatening failure, and that will live on. There might well be serious failures on the journey to Mars, stay on Mars, or return from Mars.
Comment: -1 I don't think it's necessary to devote the vast majority of your answer to ridiculing the motivation behind a perfectly reasonable question, and then actually answer the question with a shrug. Please explain how the Gateway orbit will depend on the departure of Artemis III & how the margin is so narrow that whether or not it will surpass the distance Apollo 13 record is a question of timing. Right now, there's no backing to your claim that it will depend on the launch/return timing.
Comment: @Cornelis I have reverted your edit. If the Artemis II launch places the third of a month where the portion of the NRHO will occur around lunar apogee the odds are extremely good that Artemis II will almost certainly exceed the Apollo 13 record. It's whether launch places the portion of the NRHO orbit near lunar perigee that makes breaking that record potentially dubious.
Comment: O.k., sorry, but regarding the question, I thought the apogee should be mentioned.


Sleeve and cotter joint

Question: What does 0.1D  signify in this cotter joint. I meant is it denotes spacing between pin and hole. I am new to machine drawing , kindly let me know. Thanks in advance
Comment: Can you include the source of this image - the website or PDF?
Answer: That is just clearance between the Cotter and the Socket/Spigot.
The Cotter pushes only one one side of the slot that it is fitted into, so there should be clearance on the opposite side to ensure this.
"D" = the last two digits of the roll number, as shown at the bottom right.
The image below is taken from https://www.youtube.com/watch?v=7sUjb-uQwOI which should clear things up conceptually for you

Sleeve and cotter joint


Produce NDVI on Landsat1 satellite images?

Question: Does someone have any experience to produce NDVI on the Landsat1 satellite image? What kind of atmospherical correction (on Landsat 1) technique is necessary to perform before producing indices? Is it possible to compare the values of NDVI between Landsat 1 and Landsat 8 OLI image?
Comment: Welcome to GIS SE. Could you please edit the post to include a single, focused question following our site rules? You can always ask multiple questions as different posts.
Answer: Practically yes! Because both Landsat1 and Landsat8 have near-infrared and red bands. Therefore you might apply atmospheric correction such as Dark Object Subtraction (DOS), a family of image-based atmospheric corrections via QGIS Semi-Automatic Classification Plugin. After atmospheric correction, yes it would be possible to compare, that makes more sense in terms of interpretation. You might apply this technique for both images (Landsat-1 and Landsat-8).
For Landsat-8 images, I would also suggest you to download directly the Level-2 or Level-3 data from USGS (you might demand and afterwards download the data). Both data level are atmospherically corrected. Through that way, you do not need to spend your time to correct image atmospherically. Unfortunately, this service is not available for Landsat-1.


Will petroleum jelly applied to the rubber on the outdoor power outlet help prolong the rubber life?

Question: After just a few years say 8 to 10 the rubber has been 'eaten up' by micro-organisms. Will petroleum jelly prevent that meaning prolong the life of the rubber?
Comment: It could be rubber, it could be neoprene, or it could be some other synthetic rubber. Keeping it out of the sunlight and harsh weather (if possible) would be the best way to preserve it. Vaseline, being oil-based, may actually act as a solvent and degrade the seal. Better to use a silicone grease.
Comment: What makes you think the rubber is being eaten? Chances are it's just dried out by air and sunlight. Please add details to your question so we understand the actual problem.
Comment: What power outlet?
Answer: Vaseline, also known as petroleum jelly is a petroleum product. Unless you can be comfortable that the rubber seal will not react to petroleum based products, consider to use a silicone based product. I've used a GE product known as dielectric grease on outdoor rubber items, specifically in the cable industry. Even with extreme southern USA sunshine, ocean salt air and plenty of microbes, the rubber lasts for years. I'd think that even a silicone plumbers grease would work if re-applied as needed.
Comment: In the faucet repair section of the hardware store, you can probably find a small container of silicone grease.  That stuff is good for a lot of things like this.
Answer: The problem with rubber outside is usually UV rays from the sun.
The sun degrades the material and it looks like something may be feeding on it but it is the sunlight.
Power cords many times are UV resistant but not all and even UV resistant will break down over time, I found painting the cords with spray paint almost doubles the cord life at the mill where we have motors running back and forth outside.
I am guessing at your problem being an outside cord because if just a seal the exposed part falling apart won't be a problem all the work is between the parts and compressed but if concerned with this area paint would last even longer here. Note I am using a thin coat of yellow or orange for my motors barely enough to cover the black cords if I coat it thick the paint flakes off it also shows rub points in my case that we did not used to notice but do now. So try painting the rubber it has helped my motors.


Relation between frequency and intensity of light

Question: I was going through a question in photoelectric effect and it was a true/false which says that the intensity of the incident light gets doubled on doubling the frequency. The answer is given as true and the explanation is that $I=nh\nu$ where $n$ is the number of photons. So if frequency is doubled intensity also gets doubled. I really don't think this is right because if frequency is doubled keeping $I$ constant. Then the only thing possible is that $n$ is reduced to half due to which the photocurrent should also be reduced but that doesn't happen experimentally.
So does the intensity of light depend upon the frequency?
Comment: You just wrote $I = nh\nu$ and ask whether $I$ depends on $\nu$? I think you wanted to ask a different question, but I'm not sure which.
Comment: @ACuriousMind: The problem here is that $I=nh\nu$ is wrong. The quantity $nh\nu$ is the power, not the intensity.
Comment: Welcome to Physics.SE. Good math formatting, punctuation, and grammar help questions attract better answers. I edited your post to improve a bit on those points. You can see the changes by clicking the "edit" button which will show you the history of all edits to the question as well as allow you to make further edits.
Answer: Yes, the intensity depends, in part, on the frequency.
Intensity is power per unit area. Power is energy per time. For a photon, the energy is $h\nu$. So, the intensity will be $$I=Nh\nu / A$$ if $N$ is the monochromatic photon emission rate (photons per second), $\nu$ is the frequency of the photons,  and $A$ is the area these photons are hitting.
If the only thing one changes is the frequency of the photons, then doubling the frequency will double the intensity.  Alternately, doubling only the emission rate, or focusing the photons to hit half the area will also double the intensity.
In the explanation you saw, maybe $n$ is the photons per time per area so that $n=\frac{N}{A}$?
Comment: Which means, that if the frequency is doubled while the Intensity doesn't change, the photon emission rate gets halved, Right ?
Comment: Where dose black-body radiation fit in this, If you increase the temperature of a black-body you will effectively increase the intensity of each frequency. Question: when you increase the temperature of a black-body dose the  emission rate increase or the energy per photon ?
Comment: I guess this answer the question "monochromatic" since black-body is not monochromatic.
Answer: It sounds as though the true/false question you read was poorly worded. If the frequency gets doubled, AND the number of incident photons per unit area does not change, then the intensity doubles.  So the question would only be certainly "true" if something in the wording indicated that the number of incident photons per unit area does not change.


Mouse buttons won't work while key is pressed

Question: I have an older Lenovo W530 laptop with latest recommended Synaptics driver (184.108.40.206), Windows 10 Pro.
I occasionally play Minecraft on my laptop using the touchpad and mouse buttons. I learned that I needed to disable PalmCheck in order to be able to use the touchpad at the same time as the keyboard. I also disabled tapping after hitting my pet wolf too many times :-D. Everything works great for my (default admin) account.
I set up a separate account for my son to use so he could play Minecraft with his brother without getting into my stuff. Though I have more than quadruple-checked the Synaptics Ultranav settings from my son's account, the left mouse button refuses to operate when a key is pressed. Interestingly, the touchpad itself DOES respond, it's just the left mouse button that insists on waiting until all keys have been released, so it's clearly not related to PalmCheck.
I can reproduce this at the desktop. If I hold down a key that's not in the name of any icon (e.g. "q") and then try to click on a desktop icon, nothing happens on my son's account, but on mine it registers the click.
So in summary:

Works fine on my original > 4-year-old account that I migrated from W8 years ago;
Does not work on a separate account I created a couple of months ago.

Any idea where to begin with this one? This smells like a funky setting in the registry for my son's account.

Just tried the following, no improvement:

Reinstall driver
Create a new account (this new account has the same problem)
Set my son's account to administrator
Re-enabling tapping, as well as the trackpoint

No left button action works -- not the trackpoint left button, not tapping, not the touchpad's button -- when a key is being pressed!
Answer: Turns out that I needed to set the touchpad sensitivity to "Most Sensitive" in the Windows 10 settings -- not Ultranav.
Guess there's no distinction between a tap click on the touchpad and a dedicated mouse button click.


How Sklearn-crfsuit interpret text features

Question: As we see here, to build an NER model we can pass text features (parts of the word, pos tag, structure of the word etc.) to Sklearn-CRF. I was wondering how does this package convert the text features to numerical features? What strategy do they use - any specific type of embedding?
Answer: CRF models are not DL models, they use text features in the traditional way as categorical data (equivalent to one-hot-encoding). However they are different from other supervised ML methods because they exploit the sequential information of the text.
Typically the text sequence is represented word by word, and each word can have several additional "features" usually represented as columns. For example:
<code>The     DET   the
dog     NOUN  dog
chases  VERB  chase
a       DET   a
cat     NOUN  cat
</code>
The real features used by the CRF are computed based on the rules defined before training the model. They can involve the position of the current word or any other position relative to the current one. The features are usually simple binary values, for examples "doc[n-1][2] == 'DET'" would represent the condition "the previous word is a determiner": "previous word" is indicated as n-1 in the sequence, column 2 indicates the POS column. The exact syntax to specify the rules may differ with different CRF implementations but the principle is the same.
Comment: Thanks for the reply. But as I see sklearn-crfsuit accepts the following type of features also: structure of the word - where a letter in the word will be represented by 'x', digits by '0' and special characters by '.' - so, the word 'w3.com' will be 'x0.xxx'
How does the model architecture interpret these type o textual features?
Comment: @SaikatBhattacharya Certainly these different representations would be treated as additional columns, allowing a different kind of matching on the word. For example in my example you could have an additional column at index 3 and this column could be tested with a feature, for instance "doc[n][3] == 'x0.xxx'". Technically there is no limit to the number of features columns which can be considered.


How does Hierarchical LDA compare to Hierachical Agglomerative Clustering?

Question: I have a collection of documents and want to detect a hierarchy of named topics from them, what are the pros/cons for using hierarchical latent Dirichlet allocation (h-LDA) over hierarchical agglomerative clustering (HAC)?
Answer: The most important difference to your task, I think, is that h-LDA is the only method that creates a hierarchy of topics; hierarchal agglomerative clustering (HAC) returns a hierarchy of documents (see here). Sure, one reasons that HAC-grouped documents share topics of varying specificity, and that one can discern topics from groups. But HAC doesn't formally model them.
The distributions over words in h-LDA, on the other hand, have a straight-forward interpretation as topics of greater and greater specificity, as shown in the h-LDA paper example (below).
HAC has no probabilistic interpretation; it relies solely on a similarity function. Hierarchal LDA does, and can be used to return the topic distribution of a new document.
HAC is a deterministic algorithm, and will return the same hierarchy given the same input; h-LDA can optimize to a local optima, meaning that its results can vary from run to run.
Answer: As is rightly stated by previous posters, agglomerative clustering groups
documents, whereas LDA groups the vocabulary into groups called "topics"
(usually represented by multinomial word probability distributions), it also outputs the mapping between these topics and documents that mention them.
Note, however, that there is a recent paper (April 2019) that shows that agglomerative clustering can also be used to do topic modeling (i.e., cluster vocabularies and compute aforementioned mapping:
1 [https://arxiv.org/abs/1904.06483?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+arxiv%2FQSXk+%28ExcitingAds%21+cs+updates+on+arXiv.org%29]
2 [https://link.springer.com/chapter/10.1007%2F978-3-030-15712-8_38]3
An open source implementation of this method, called TopicGrouper, is available in Java on GitHub.
(Disclosure: I'm a co-author)


What do you call the round blob of hair in this female haircut?

Question:
How do you call the round blob of hair in this female haircut? The two blob of hair before the ponytails, what do you call that? Is there a word for it?
Comment: It is a hairstyle, not a haircut. :)
Answer: This is a bun.

A bun is a type of hairstyle in which the hair is pulled back from the face, twisted or plaited, and wrapped in a circular coil around itself, typically on top or back of the head or just above the neck.

The specific hairstyle is a double bun, or a pigtail bun. It's also known as the "odango with pigtails" hairstyle.
Answer: The round part is called a

bun
NOUN
A hairstyle in which the hair is drawn back into a tight coil at the back of the head.

From Lexico.
See also various images such as #2: Dutch Braids into Voluminous Buns and others in the series. There are numerous hairstyles that use a bun, and the question asks for the name of the blob of hair.


X11 platform in Google Account Activity

Question: My Google Activity Report typically shows access from "Windows", "Linux" and "Android" platforms. This month, it is also showing access from the "X11" platform. What would report as "X11"? A question here simply suggests that "X11" means "Linux". However, "Linux" has previously (and still) shows up as a separate entry.
Comment: I also have this issue. Can you clarify what devices you access google with? Also, having a different OS or version might affect it too so if you use multiple it might change.
Comment: I've connected from a variety of different operating systems during the month -- hence the question :) I often connect from Debian/Debian-based system with Firefox/Iceweasel. I did connect with Firefox for Android, but I suspect that's not "X11". I also used a LinuxBBQ distribution (can't remember which); this is Debian sid-based IIRC.
Answer: X11 is version 11 of the X Window System.
And the X Window System is that piece of software which talks to your video hardware and displays bitmapped graphics on your monitor. It underlies your UNIX/Linux desktop environment (e.g. GNOME, KDE, Xfce, etc.) and graphical applications, all of which talk to X at a very low level in order to display graphics on the screen.
As to why Google might identify you as "X11" instead of "Linux" that one is also fairly easy. Most web browsers, in their User-Agent strings, identify the operating system on which they're running, such as Windows, Mac OS X or Linux. But certain versions of Mozilla-based browsers (e.g. Firefox) list the operating system in the User-Agent string as "X11".
For instance, an example Iceweasel User-Agent string looks like:
<code>Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20100101 Firefox/15.0.1 Iceweasel/15.0.1
</code>
If you used a browser where "Linux" was missing from the User-Agent string, or used a UNIX operating system which wasn't Linux, then Google might not have identified your operating system correctly and fallen back on the generic "X11".
Comment: Great :) I used IceWeasel on Debian so that would explain it.
Comment: Thanks. So I used a browser that (only) reported "X11" and/or Google explicitly started recording "X11" in user agent strings.

X11 platform in Google Account Activity


ExactTarget File Move

Question: I have to move a csv file from the ftp import directory to a archive directory after it's done performing the import activity.  How can we achieve this within ExactTarget?
Answer: You have to enable "Enhanced FTP File Move and Copy." by contacting support. Then configure the data extract to move from one folder to another.
reference link - https://help.salesforce.com/articleView?id=000230276&type=1
Comment: Where is this screenshot found inside of Marketing Cloud?
Answer: Here is how I would do it (and I'm having some issues with my ET FTP, so I've not been able to test this, lamentably)  You will need to have administrator rights on your ET account first.  Then:

Go into the Admin tab, under the Email Application.
Choose File locations.
Choose External FTP site (or SFTP if you need to), EVEN IF ExactTarget is your final file destination
In the URL, put in the full path to that directory.
Navigate next to Interactions -> File Transfer.  Select Upload, fill in the rest.
Put them all together in a program or in AutomationStudio so that they run sequentially.  Instead of running just the import now, you need to run this automation
WEEE!  Success.

Hope this helps!
Comment: This answer is not correct, at least in our account. File Transfer activity does not allow you to set a destination, only a source.
Comment: Thanks Timothy.  I have created a Program that contains 2 activities: Import and File Transfer.  In the Import activity, the FTP Location is set to Import directory, and File Transfer's FTP Location is set to Export.  I tried both Upload and Download option and it always fail on the File Transfer step.  Any ideas?  Thanks in advance
Comment: you might need to do this via file transfers in Email Studio instead of automation studio - and I'm not sure if you need to download first and then upload - but the options to do the desired operation is there (ping Jon Sakas)

ExactTarget File Move


Worrying situation of questions and visits

Question: We had a constant visits/day above 500 and also at least a question per day. Now we're down to 400 visitors/day and I feel it's almost a week without questions, or something close. Perhaps that question contest is in order? I remember Jon Ericson saying we'd have a round of highlighting the considered best questions that matched the site and focusing on that.
Comment: @SaintGeorg You are very special; there can be only one. :-) But, yes, good question askers are always welcome; they just should not go over the top and try to stay in line with the on-topic.
Comment: @quid Maybe we need more Saint Georgs! ;-)
Comment: Looking at http://matheducators.stackexchange.com/questions?sort=newest shows that we still have about a question a day. The 4th of July is a major holiday in the US, thus activity is lower than usual on other sites, too. Genrally, I am not surprised we have little activity at the moment and I assume this will continue throughout the summer.
Comment: I had the idea that the summer would be the time to post all those questions that came up during the academic year but didn't have the means to do so because of bureaucratic concerns.
Comment: @quid You should have Community Ads. I view them across every site and promote me to join and research things on them.
Answer: I do appreciate that one could hope for more activity on the site, and even that there might be a certain risk of not worrying about too little activity.
However, there is also a considerable risk it looking too much on some statistics. (There are even calls of some elsewhere to remove them entirely, since they just make users nervous while the actual site evaluation is not really based that much on them. Various site graduated without meeting the number of question threshold.)
Actually, at the moment the activity of the site is pretty good. It is noticeably higher than one or two month ago. September is approaching. Let us see what happens then. If the site does not gain traction when the academic years start (at most places), then we might have some thinking to do how to push the site, possibly including such a contest. Now, I really do not see reason to worry. Call me a pessimist, but the site is a lot more active than I had thought in June/July it would be now.
Furthermore, there are other things that could be done then just waiting for new questions. There is quite a bit of polishing to be done.
Those that have some time to spare, please, look through old posts, check if the tags are good, if some editing is needed here or there, perhaps add an answer where the existing ones are sketchy, and so on.
Let us use the calmer time, now, to polish the site for the new academic year!
Answer: Perhaps participating in Community Promotion Ads on related StackExchange sites might help?
On Math.SE at least?
Comment: Thanks for the suggestion. I had thought about it; I am a bit torn.


How do I add package level annotations or edit package-info.java?

Question: I'm trying to add package level annotations but I don't have a clue on how to do it. Examples are appreciated.
Answer: Summary from the article here
In package-info.java:
@PackageLevelAnnotation
package blammy; // package with a package level annotation.

import blammy.annotation.PackageLevelAnnotation;

In PackageLevelAnnotation.java
package blammy.annotation;

@Retention(RetentionPolicy.CLASS)
@Target(ElementType.PACKAGE)
public @interface PackageLevelAnnotation
{
  // stuff as required.
}

Edit: more package level info.
Here is a link to the package chapter in the Java Language Spec: packages
Comment: Where is package-info.java? Is it provided or somewhere or do I have to create it? Where would I need to create this file if so. Thanks.
Comment: In my example above, the file package-info.java should be in the blammy package (i.e. the blammy source directory).
Comment: yes, one per package.  see edits in the answer for another info link
Comment: @DwB - I have a related question here:  http://stackoverflow.com/q/34980398/1735836
What to put in place of `// stuff as required.` ?  I need an explanation for Dummies.
Comment: For copy and pasters, change `@Retention` to `RetentionPolicy.RUNTIME` if you want visibility outside of compilation.
Answer: In eclipse
Since package-info.java isn't a valid identifier for a class it cannot be created as a class in Eclipse.
I found that when you create a new package there is a check box to check if you want a package-info.java.
To create a package-info.java file in an existing package:

Right-click on the package where you want a package-info.java.
Select New->Package.
Check the Create package-info.java check box.
Click on Finish.
Comment: This does not work in my Eclipse version (3.7.2) - which version is required for this solution?
Comment: To add such a file to an existing package, I right-click on the package in the Project Explorer → New → Other → File and manually name it package-info.java. I keep forgetting exactly what to call the file and which annotations to add, though, so I'd love to read of a more elegant way.
Comment: I have Juno, version 4.2.0.
Answer: package-info.java
The package-info.java is a Java file that can be added to any Java source package. Its purpose is to provide a home for package level documentation and package level annotations.
Simply create the package-info.java file. Add the package declaration in the file.  In fact, the only thing the package-info.java file must contain is the package declaration.
Example of a minimal package info file:
package com.example.myapp.backend.data;

Example of a package-level annotation, @ParametersAreNonnullByDefault:
@ParametersAreNonnullByDefault
package com.example.myapp.backend.data;

import javax.annotation.ParametersAreNonnullByDefault;

For more info, see the Java specifications, in The Java® Language Specification, section 7.4.1 Named Packages.
Answer: Open explorer, go to src/your package folder.
right click -> Create new textfile:  name it package-info.java.
Go back to eclipse and edit and add the desired content.


Retrieving page contents from SQL, Postgresql?

Question: Data is stored over pages and not necessarily one row or one column or one attribute maps to one page. Is it possible to use some query to extract data from a specific page in a database environment?
Comment: Are you asking for SQL Server as well as Postgres?
Comment: No, I am interested to see if postgresql can offer this interaction maybe through some extension as pageinspect
Answer: pageinspect module
Using PostgreSQL, there is an extension that does all of this. Your question is vague so I won't even try to address the particulars here, nor is it reasonable to enumerate everything this extension does, perhaps it's enough to say that it has 17 functions and as far as I know includes all of the mechanisms available to end users to introspect pages (not saying it does everything you want).
You may want to read Database Page Layout
Comment: Thanks, that extension is close to what I'm looking for: I would like to see contents of pages. Something which is odd though is that there does not seem to be any functions for working with GiST index - why?


Moving multiple documents within library

Question: I am restructuring my SharePoint folder system and need to move multiple documents at once within the same library.
For example, I have one 'bucket' library with about 1000 documents, and I would now like to filter these documents into folders within the 'bucket' library.
However, I have only found a way to do this individually - moving one document at a time. Does anyone know if there is a function to move multiple files in one go.
I am using SharePoint 2007.
Answer: There are basically 2 methods for moving documents in SharePoint 2007.
1) Using Windows Explorer
2) Manage Content and Structure
Both of the them is well explained in this blog: Moving files in SharePoint 2007
This blog has detailed steps to move files within SP 2007 including picture illustrations as posting detailed steps here would be too long.
Answer: You can open the document library as a windows explorer folder and move the files within the document library in bulk. I believe you are using SharePoint 2007 (as tagged in the post)?. Navigate to the document library -> Click on actions -> Open with windows explorer. See Here
Comment: Can you please add details to your answer about how to do that, to make it less dependent on the link (if the link breaks, your answer will not be as helpful as it could be right now)
Answer: That all depends on whether you want a code solution or not. If you do then have a look at MSDN for SPFile.MoveTo() MoveTo. If not you could use WebDAV and just cut and paste.


What should I look for when hiring a salesperson?

Question: I have a software product that may have some appeal to a relatively small, vertical market.  I am considering hiring a salesperson part-time (which can be in addition to the salesperson's other work provided that there are no conflicts of interest) to sell this product, customizations to the product, etc.  What should I look for in such a salesperson?
Answer: Given that it sounds like you yourself are not a sales subject matter expert, I'd try to find out if the candidate could explain the following:

a general process for doing sales - ie, how does one geneate leads, how does one go from initial intro to colosing a deal
what are some of the pitfalls and solutions to working in sales
what is particularly difficult in this area
what kind of strategy might work in your specific case

If the person can explain this stuff to you - in both a generic case and in reference to your specific product/needs - then you probably have a good one.  I think this is particularly important in that if they can't explain to you what they are doing on your behalf, why and how they are doing it - then they aren't right for you.  You're going to be a small team, so if you don't understand your sales person... how are you going to resolve problems?
This person is likely to share in the vision and help form how you sell your idea... so you have to be able to trust them, and that's a communication and chemistry thing as much as a knowledge/skill thing.
Also - you'll want to incorporate negotiation in - how can you and the salesperson swing a pay mechanism that you can affort which motivates the sales person without depriving the company of capital.  There's all sorts of tradeoffs between salary, sales bonuses and other incentives.
Answer: in two words "people person".
I have a slightly different take on this.  I think a good sales person is someone who is extremely friendly (but not overly), genuinely warm (but not slick), good at listening with intelligent replies.  Great at forming instant personal relationships with folks and able to see and relate to their point of view.
They should be able to recount several stories where they're charm and personality won them success (and this can be outside of sales).
Other than this they should show knowledge of the industry they are in, a track record that reflects the level that you want them to be at for your requirements and price and good recommendations and references.  A quick web search and review of their credentials shouldn't raise any red flag.
Comment: +1 I agree people person, although I think knowledge of the industry is really secondary here as that's something they can pick up easily enough (does help of course)
Answer: Just as with hiring for any other role, a track-record of doing this successfully and an enthusiasm for doing it here.   It's worth thinking about though what responsibility this person would have for agreeing and specifying modifications, and whether they would deal with any contracts.  These are skills that some but by no means all  sales people have and you may well not want them executing contracts on your behalf.