Way to check triggers on object

Question: I am trying to import some data on a particular object, hence is there a way to check which of our objects are tied to triggers, flows, etc.
Answer: You can review the existing triggers from Setup | Develop | Apex Triggers, and review the Sobject types to determine the base object.
You can review all existing Workflow Rules from Setup | Create | Workflow & Approvals | Workflow Rules, and review the Object list to determine the base object.
You can review all existing Processes from Setup | Create | Workflow & Approvals | Process Builder, and review the Object list to determine the base object.
Unfortunately, Flows will likely have to be opened individually to determine their base object.
Answer: One option not mentioned is to use the tooling API to query the ApexTrigger metadata object. You could do this directly, or by using the Salesforce CLI's force:data:soql:query command.
To query the tooling API using the Salesforce CLI the command would be as follows:
sfdx force:data:soql:query -u MyOrgAlias -t -q "[my query here]"

The direct REST endpoint is found at /services/data/v44.0/tooling/query
I could issue the following query, for instance:
SELECT Name, TableEnumOrId, NamespacePrefix, ApiVersion, Status, IsValid
FROM ApexTrigger
WHERE TableEnumOrId = 'Account'

This would return to me all account triggers and the information about them.
If I just wanted a list of all sObjects that have triggers and a count of their triggers, I could do this:
SELECT TableEnumOrId, Count(Id)
FROM ApexTrigger
GROUP BY TableEnumOrId

Unfortunately, not all of the other business process tools are as easy to inspect.
There is a config object for flows and process builder called FlowDefinition but I think you'd have to inspect the metadata field and parse the XML to see that.
There may be an object for workflows and approval processes (BusinessProcess maybe), but again not obvious.
Finally, the SetupAuditTrail is now API enabled and queryable. I've played around with creating different views of this. But this will only help you if:

The creation of the metadata item took place in the last 6 months
Or you've been backing up your Setup Audit Trail on a regular basis
Answer: Viewing the setup items for that object is certainly one way.
But you can also try to do this a in a refreshed Sandbox environment, and check the debug logs for the triggers, workflows, validation rules and flows invoked.
Keep the developer console open, and do the data import. Check the logs for all the items invoked.
You can also add Debug Logs under Setup->Monitor->Logs->Debug logs. Do the data import in the sandbox and come and check the logs created here.
The reason to do in Sandbox is that in case you are afraid to mess up some data in Production.
Sample log
Comment: The debug log will be the way to see everything in detail, I just want to know if I am importing anything in a particular object then what all triggers, flow, process builders gets triggered for that object.
Comment: You can try exploring the debug log to see the elements that are invoked. I have attached a screenshot of a very simple log though. You can try doing the similar action in your sandbox and see what it captures.

Way to check triggers on object


Software for deleting files used by another process

Question: I want a software, similar to Unlocker or something in which we can delete files that are used by another process, for Windows 2008 R2.
Comment: [Warning](http://technet.microsoft.com/en-us/magazine/2009.04.windowsconfidential.aspx?pr=blog), you could be headed for data corruption.
Answer: If you mean the Kernel itself, you may be out of luck... If you mean just on Windows 2008 R2, I recommend you use Microsoft / Sysinternals Process Explorer.
You can press the find button and type the name of the file you are trying to delete, it will then show you what application / module has an active handle to it and basically kill that process so you can delete the file.
Comment: i dont want to kill the process as i know which process is using that file. I just want to unlock that file from that process.
Comment: You can close the handle, not need to kill the process. Some applications might not like it, some will not bother. And instead of killing the app, just closing it gracefully will do too :-) .
Answer: The sysinternals handle command can find what process has a file locked, and forceably close the handle.
Answer: Another alternative is Lockhunter.
Answer: Try WhoLockMe. It says NT/2K/XP but it may work with 2008
Answer: To delete files / folder locked by the system.
1.- Locate the folder c:\users\xxx
2.- Try to take ownership of the folder and subfolder : (it will probably failed)
3.- If not failing, give you full rights to the folders and subfolder and delete it.
4.- But since it's failing, we need to find witch windows process lock the files.
5.- Start Microsoft SysInternal\procexp.exe
6.- Go to find, find handle
7.- Do a search c:\users\xxx
8.- Take not of the PID number that is locking the files (second column)
9.- Go back and Kill process or Kill process tree if it's a tree.
10.- Go back to the folder and take the owner ship of the folder and subfolder c:\users\xxxx
11.- Give you full rights of the folder and subfolder c:\users\xxx
12.- Delete the c:\users\xxx folder
13.- Log back the user, he will have a fresh new profiles.
How to take owner ship and give you full rights of a folders and subfolders
1.- Locate your c:\users\xxx folder
2.- Right mouse on it | properties | Security | Advanced | Owner | Edit | Choose your ad account | Replace Owner on subcontainers and objects | Apply
3.- Go back to Permissions tab | change permissions | add your ad account | Full control | Replace all child object permissions with inheritable permissions from this object
4.- Now delete your c:\users\xxx folder.
Comment: This is not what he asked, he asked practically an Unlocker alternative.


Dua'a for things you do not mean

Question: Sometimes i subconsciously ask for bad things in my Dua'a that i don't want. Because i know that i'm not supposed to ask it, it just happens. e.g. i will make a Dua'a that my children will be happy and healthy and will outlive me. But then subconsciously i will think i hope they don't even though it's not what i want to happen. It just repeats in my head because i know i shouldn't think it. So does Allah accept Dua's we do not mean?
Answer: Allah knows your intentions, and understands you very well, that what is in your heart. Dua is not like if you utter wrong words by your mouth then those wrong words will become true. So what you have in your heart, and your intentions, ONLY That will be accepted by Allah, and what you Actually mean to ask in dua, and not what you utter by mistake.
And Allah knows the best
Comment: Totally agreed with Farhan..
Comment: Salam, sorry to ask this, but yo you have references?
Answer: Asalamualaikum when make Dua you need to move ur lips Allah S.W.T says ' i am with my slave as long has he remembers me and moving his lips'  Allah also Says 'i will not burden a soul for something that he can't control' Allah knows we don't want to make bad Dua and in in our head negetive toughts keep running that's why Allah has asked us to move our lips. Even if you make a dua from your heart and u move u lips , if you repent Allah S.W.T might cancel your dua(reject) and forgive you. You can always ask Allah to reject a Previous Dua by making dua for that to be rejected.

Dua'a for things you do not mean


Does elementary OS see and use Intel Fake Raid as easily as Ubuntu does?

Question: I have 2 Samsung 840 Pro's that MUST be used together as one drive in RAID0. On Ubuntu it just happens out of the box with nothing to configure. But many distros never worked for me. So before I wipe Windows 10 off these drives and convert to eOS I want to make sure it just works out of the box please.
My System is a Intel x58 with ICH10R. It has a Hexa-Core Xeon CPU, and 12GB of DDR3. I have TWO Samsung 840 Pro's for the OS, and THREE Crucial C300's as one large Raid drive for the storage. After eOS is installed I only want to see two drives in total, sd0 and sd1, I assume. On Windows its drive C: and E: as expected.
Ubuntu does this by default, and so does Windows. Will latest elementary OS do the same? Or am I required to know how to set it up that way? Thanks
Answer: elementary OS is based on Ubuntu so there are good chances that it will work the same way it does with Ubuntu. However I would suggest that you test it with a Live CD / USB so that there are no bad suprises.


How to use hyperterminal of XP installed in virtual box?

Question: I have installed XP in virtual box of my laptop. I installed it because I need hyperterminal for my application. I want to connect my nokia 7210 via usb to a port and to detect it as a COM port so that I can talk to it using AT commands in hyperterminal. I need to verify that my phone is working correctly by this method for my project.
I have connected my phone. But its showing under Other Devices in Device manager. How can I make it as a COM port? Please help.
Answer: You probably just need to install the 7210's cable drivers in your guest operating system, which will  then create the virtual COM port(s) for you. After that, you should be ready to interact with the phone via HyperTerminal.


Does drinking coffee immediately after lunch or dinner impact health?

Question: Does drinking coffee immediately after breakfast or lunch or dinner impact health?
Comment: Why would you think that it does? What is the reasoning behind this question?
Answer: I think this is a rather broad question to answer. Are you looking for overall health effects of coffee or specifically for effects on digestion after eating?
In the former case, recent research has delivered very strong evidence that drinking a moderate amount of coffee (about 3 cups a day) has strong positive health benefits, reducing premature mortality quite dramatically. Among others coffee likely has positive effects on cardiovascular diseases, can be preventative to some types of cancer and alzheimer diseases and has positive effects on diabetes. See for example here, here and here.
The latter case is less conclusive I think. There have been studies showing that coffee (the chlorogenic acid in it) reduces glucose intake from digestion. While a decrease in nutrient intake seems like a bad thing at first glance, it may be beneficial for patients of diabetes, because it regulates glucose intake after meals and may help in preventing spikes/drops in insulin levels. I guess for someone struggling to get enough nutrients (due to other digestive diseases for example) excessive coffee consumption could have adverse effects. For healthy people moderate amounts most likely don't have negative effects (see the linked studies). There's also some evidence that coffee has beneficial effects on your microbial composition in your intestines (see here)
There's some other less severe potential issues that might arise, like an increase in reflux symptoms, due to excessive production of stomach acid (however dark roasts of coffee might even have acid reducing effects).
So overall I'd argue that the potential health benefits by far outweigh negative effects, except maybe in some cases of pre-existing conditions such as diseases of stomach and/or intestines.
References:

Gunter M. et al. Coffee Drinking and Mortality in 10 European Countries: A Multinational Cohort Study. Ann Intern Med. 2017;167:236–247. doi: 10.7326/M16-2945
Jaquet M. et al. Impact of coffee consumption on the gut microbiota: A human volunteer study, In International Journal of Food Microbiology 2009; 130.2: 117-121, https://doi.org/10.1016/j.ijfoodmicro.2009.01.011.
Poole R. et al. Coffee consumption and health: umbrella review of meta-analyses of multiple health outcomes. BMJ 2017. doi: 10.1136/bmj.j5024
Song-Yi Park et al. Association of Coffee Consumption With Total and Cause-Specific Mortality Among Nonwhite Populations. Ann Intern Med. 2017;167:228–235. doi: 10.7326/M16-2472
Comment: Thank you so much for detail explanation. I am concerned drinking coffee immediately after lunch or dinner.  But it sounds to me that, there is health benefit on drinking coffee after the lunch or dinner
Comment: I would say that there is at least no known adverse health effects or rather the small possible negative health effects should be outweighed by positive effects. The consensus is slowly going towards a very beneficial view of moderate coffee consumption and at is safe to assume, based on the evidence available that for most people coffee has at least no negative effects. If you suffer from a chronic disease however you should definitely consult your doctor. Especially for any kind of problem with digestion, but also very high blood pressure etc.
Other than that, enjoy your coffee.
Answer: It's a general question so in (general) order to make caffeine your friend & not your enemy healthy-wise, the best time to drink coffee is upon awakening either from your sleep or nap if you take one. Coffee "works" after 20 min you may drink it but it remains to our system for 8-12 hours. Drinking coffee within 3-4 hours before sleep is not recommended as it may advance your sleep phase (you will go to sleep later, then you can wake later etc). So yes for breakfast, lunch but no for dinner. You can try decaffeinated sometimes, you may like it.
Comment: ^ no problem :-)
Comment: Drinking coffee in the evening is going to disrupt your sleep. Depending on how sensitive you are to caffeine, coffee after lunch may also cause sleep issues. This can cause a number of long-term negative health effects. Through trial and error I have found that 3pm is the ideal time for me to cut the caffeine.


2010 Lincoln MKS - Wobbling/shaking side to side

Question: So I just recently bought a 2010 Lincoln MKS with 200,000 miles on it. Brakes, and new tires were allegedly put on it very recently. The car was brought back in for previously agreed upon (and paid for) shocks as the car would wobble as if I hit a pothole or something when I drove on a completely smooth road. As well as the shocks being put in, bushings were also installed. All this added up to the car being in the garage for a lengthy spell. And I was all too eager to get my car back when it was "done". When I took the car and headed back to work I felt the same problem but I thought maybe the car needed a little time to adjust. As I went to go run errands and play sports, I realized that nothing had changed. I plan to bring the car back in because I am nothing short of furious right now. I would just like to know what possible problems could be causing this unnecessary shaking. The steering wheel doesn't shake and the tires don't shift and there is no noises, but the body of the car shifts around and it's annoying and uncomfortable. Any insights or recommendations?
Answer: Matt here,20+ years experience in auto service.
is yours a Front-wheel drive or an all-wheel drive? Does the car drive in a straight line? Does it shake wobble all the time or only under certain condition ie. when hitting the brakes, at a certain speed, only when turning left? More information would help. pictures of the front end from under the car would help even more.
the MKS is a pretty big car, weighing over 3700 lbs (4200 for an AWD model), which is asking the front tire/suspension to do a lot of work. And with 200k miles on the clock its been working very hard for a very long time. shake/wobble issues can be hard to diagnose, as there are dozens of possible causes. assuming the parts you mentioned were actually replaced, then the first thing I'd check are your front hub/bearings, ball joints,  and tie-rod ends. If you can get the front tires off the ground (one at a time) grab the tire at 3 o'clock and 9 o'clock and see if there is any movement side to side if there is play then your tie-rod ends are probably the cause of your issues. movement at the 6/12 o'clock position suggests bearing/ball joint issues. its also possible that the front CV (constant velocity, BTW)) axles need replaced. if the black rubber boots that cover the CV joints are torn then they will sling all the grease out and eventually cause driveability issues.
whatever the cause, if any of the suspension parts are worn to the point they produce a noticeable shake while driving then the car probably isn't safe to drive. trust me, you do not want to be in, or anywhere near the car when a tie-rod end separates at 70MP. And for what it's worth, i would advise against taking it back to the same shop, because any of the things i've mentioned would have been pretty obvious.


Is it necessary to have many slides when presenting in conference?

Question: Is it necessary to have many slides when presenting in conference, if the speaker can clearly present his or her research with only just a few slides? How to decide when to use or not to use the slide? Science and engineering fields of research are preferred.
Comment: What field? Also, why do you think that the purpose of a presentation is to get applause?
Comment: What is exactly your question? The one in the title? Your paragraph is quite unclear, and it looks like you have something more precise in your head - share it clearly if you want relevant answers.
Comment: Where -- in conferences, seminar or classrooms? Because, with venue; the preference should change.
Comment: I have seen an excellent and engaging presentation with three slides at a conference. That suggest it isn't necessary.
Comment: @Bitwise In any field. If everybody likes that presentation, the presenter will get applause, won't (s)he?
Answer: Slides serve the following purposes:

If the title of your paper is too long, you don't have to write the title on the board, losing time.
They keep the audience up-to-date. Gives an idea on what you are doing now, what you are going to do some time after.
Contains hard-to-draw figures. Therefore, you are able to talk to-the-point without losing time on drawing figures.
Contains experimental results. These, if extensive, literally cannot be drawn accurately onto board in about 10 minutes. Maybe they can be, but then there is no time to talk.
May serve you as reminder cards, therefore you don't forget what to talk about 2 minutes later.
In the Q&A session, if someone asks you about a table, a figure or a graph, you don't have to draw them again. Rather, you can just go back and answer the question.
If you are a junior researcher, you are able to write your name and affiliation on the slides, and avoid the awkwardness of writing your name on the board as if you're an instructor and if audience consists of students.
You can always support slides by using the board, and explain your points better.

These being stated, I think slides are crucial for a presentation where the time limit is considerably low (10-20 minutes including Q&A).
Comment: In connection with then next-to-last bullet point, "If you are a junior researcher ...", I suggest that all speakers, not only junior researchers, should make sure the audience knows who they are. Ordinarily, a printed program or the session chair's introduction will take care of that, but if not, then the speaker should do so.  I don't buy the idea that senior folks (like me) are automatically known to everybody; new people enter the field and we shouldn't make it difficult for them to identify us.(For the same reason, even if we're not speaking, we should wear our name tags.)
Answer: In my field (mathematics) and in my experience it is more common to use slides for conference talks than not, but a significant number of talks use a chalkboard or whiteboard, so it is certainly not necessary to use slides. (By `slides' I mean projected electronic files, such as beamer or powerpoint, not acetate sheets)
I might add my impression that if anything talks that eschew slides are considered better than those that use them. However whether a speaker uses slides depends on other factors such as the duration of the talk: the longer the talk the better the opportunity to give a board talk.
(And I agree with comments above that applause per se is rarely the primary aim of a speaker or the measure of a good talk.)
Comment: But that seems like a very math specific thing. In chemistry for example it's basically impossible to present research without slides.
Comment: As a side point, I always advise *against* choosing slides because the talk is short. If you use slice to go quicker, you will most probably go quicker than your audience can follow, missing the point entirely. The sole counter-example to that principle I know of is complicated pictures which are very long to draw but very short to understand. Long formula are usually long to write *and* long to understand, and using slides for get them past faster is a **bad** idea.
Comment: @DSVA same in biology (though it could vary with the subfiled). It would look very odd if you give a verbal description (or drawing) of your experimental results.
Comment: One advantage of board talks is that you can set aside a part of the board for material that the audience needs to refer to often, throughout the talk. With slides, you need to either repeat that material on lots of slides or rely on the audience's remembering it accurately.
Comment: @AndreasBlass Or if you're lucky there's a chalkboard besides the projection screen and you can write more permanent stuff on that. Best of both worlds :)


Error with Unity iOS compile: Cross Compilation job Mono.WebBrowser.dll failed

Question: have been working on a project intended for iOS deployment. Until recently, we have been building and deploying to our client via webplayer. However, I am now attempting to shift to releasing builds on iOS . But, no matter what I try, when I go to compile the project I receive the following error messages:
Cross compilation job Mono.WebBrowser.dll failed.
UnityEngine.UnityException: Failed AOT cross compiler: /Applications/Unity_45/Unity.app/Contents/PlaybackEngines/iOSSupport/Tools/OSX/mono-xcompiler --aot=full,asmonly,nodebug,static,outfile="Mono.WebBrowser.dll.s" "Mono.WebBrowser.dll"  current dir : /Users/admin/Desktop/UI_gg_current/Temp/StagingArea/Data/Managed
 Env: Apple_PubSub_Socket_Render = '/tmp/launch-7SV8Ex/Render'
LOGNAME = 'admin'
PATH = '/usr/bin:/bin:/usr/sbin:/sbin'
TMPDIR = '/var/folders/7c/s32nkpmx0yvgw4mmw_5vhxx40000gn/T/'
MONO_PATH = '/Users/admin/Desktop/UI_gg_current/Temp/StagingArea/Data/Managed'
SSH_AUTH_SOCK = '/tmp/launch-wpdtRI/Listeners'
USER = 'admin'
GC_DONT_GC = 'yes please'
Apple_Ubiquity_Message = '/tmp/launch-cfnoHv/Apple_Ubiquity_Message'
SHELL = '/bin/bash'
__CF_USER_TEXT_ENCODING = '0x1F5:0:0'
GAC_PATH = '/Users/admin/Desktop/UI_gg_current/Temp/StagingArea/Data/Managed'
HOME = '/Users/admin'
COMMAND_MODE = 'unix2003'
 result file exists: False. Timed out: False
stdout:
stderr:

  at UnityEditor.MonoProcessUtility.RunMonoProcess (System.Diagnostics.Process process, System.String name, System.String resultingFile) [0x00000] in <filename unknown>:0
  at UnityEditor.MonoCrossCompile.CrossCompileAOT (BuildTarget target, System.String crossCompilerAbsolutePath, System.String assembliesAbsoluteDirectory, CrossCompileOptions crossCompileOptions, System.String input, System.String output, System.String additionalOptions) [0x00000] in <filename unknown>:0
  at UnityEditor.MonoCrossCompile+JobCompileAOT.ThreadPoolCallback (System.Object threadContext) [0x00000] in <filename unknown>:0
UnityEditor.HostView:OnGUI()

and
Error building Player: UnityException: Cross compilation failed.

I am using Unity 4.5. To date I have : deleted third party dlls (including xml.linq.dll) , removed any instance of Lambda search operators (=>), and deleted the temp folder because I have seen these approaches used in similar situations (I know some aspects of Linq are not supported in iOS cross compile).
I have looked at similar issues such as this one: http://answers.unity3d.com/questions/439367/cross-compilation-failed-csharpdll.html. But, I am so perplexed, because it isn't the CSharp assembly causing my problem (which means it isn't one of my scripts?) I am not sure why it would even be including a WebBrowser.dll for an iOS build. Any help is greatly appreciated, as I feel I have searched far and wide for a resolution with no luck.
Answer: See the resolution that for this question here.


(Another) Tech Isolation Transformer grounding question

Question: I recently bought a hospital grade toroid isolation transformer and removed the secondary grounding wires from the chassis and outlets. However, the outlet grounds are still tied to primary ground through the chassis. No big deal. I can just use a 3 > 2 prong connector on the outlet side for my DUT. My question is should I go ahead and reconnect all of the grounding wires back to their original state?  Thanks.
Answer: If you want to use the isolation transformer as intended then both secondary wires should remain free from earth. The result will be that if "one" secondary side comes in contact with earth you still have no risk of electrocution.
This also means that you are free to use 2 or 3 prong connectors and there is no need to change this. I still recommend however to mark your outlets comming from the transformer so that it is clear that neutral and live are floating with respect to earth


Why å displays like Ã¥?

Question: Here å is not a problem but it's Ã¥ on this page. Why?
Comment: It could perhaps be an input error as the word "vänner" is ok. Also å is hex C3A5 using utf8. Interpreting this as single byte encoding windows western gives you à (0xC3) ¥ (0xA5) in case you wondered.
Answer: When creating websites, special characters need to be taken into extra consideration. HTML, the markup language used to write webpages, provides its own means of including special, non-"normal" characters. These characters include accent marks, special symbols, and more.
The reason this is necessary is due to the nature of how webpage files are saved. In order to minimize file size and provide the most consistent experience across computers, an encoding is used that maps each character to a binary (numerical) representation. The binary value of each character is stored sequentially in the file; therefore, the more characters your encoding allows, the larger the file becomes - exponentially. (For more info, check out: http://en.wikipedia.org/wiki/Character_encoding)
When a file is saved with the wrong encoding, special characters are represented improperly because the wrong encoding cannot map the character properly. This can be fixed by changing which encoding you use to read the file. The encoding that IMDb saves its files with is apparently different than that which is sent to your browser, so the characters are rendered with garbage.
The reason the character appears okay on the other page is because the person who wrote it understands how HTML works. As I said earlier, HTML provides a way to represent special characters using non-special characters.
For example, to render a heart in HTML, you can type <code>♥</code> when writing a webpage. The result looks like ♥, which is clearly a special character. Yet the way I typed it into this document did not require any special characters. This essentially removes the problem of character encodings not matching, because you should never need to type special characters when writing a webpage.
A lot of websites that allow user input, such as Facebook and Twitter, will automatically reformat these characters in HTML so they appear properly when viewed through your web browser. Apparently, IMDb doesn't do this. I would like to note that the page with the character mess-up was submitted by a user, while the other page is an official IMDb page, which was likely written by someone who understood how HTML represents special characters.

Why å displays like Ã¥?


Can this Camera see near-infrared?

Question: The camera I'm talking about is here- https://www.amazon.ca/Raspberry-Pi-Camera-Filter-Vision/dp/B00KX3HS4K
My question is, is this camera a near-infrared camera?
Answer: Yes but... It has no IR cut filter so it will image near infrared and visible light. This means that the colors in the visible light portion will be affected by the lack of an IR filter. The upside is that you can see in the dark using IR LED's to illuminate the scene. This CAN NOT see thermal images- that would be far infrared, and much more expensive.
Comment: Thank you so much! Is there any way to make this camera ONLY see infrared? Can you block out the visible light spectrum?
Comment: Sure... Use an IR filter- I use one on my normal "everyday" camera. Most DSLR's can do IR photography because the IR cut filter on the sensor isn't as efficient as the IR pass filter you put in front of the lens. Exposures tend to be relatively long, but it can be done. See [here](https://www.bhphotovideo.com/c/buy/Infrared/ci/131/N/4026728332) for a large selection of various sizes. You may need to be creative for attaching it to the camera...

Can this Camera see near-infrared?


Gigabit Ethernet switch unused RGMII/MII/RMII interface

Question: I am working on 5-port gigabit Ethernet switch based on Microchip KSZ9897. As the KSZ9897 is 7-port gigabit Ethernet switch (5 x 1000BASE-T/100BASE-TX/10BASE-Te IEEE 802.3 + 2 x  RGMII/MII/RMI) and I am using only the 5 ports, I just wonder what to do with the remaining  RGMII/MII/RMII unused interfaces (pins). Shall I put it unconnected? I didn't find anything from the documentation about the particular situation. I suppose the question does not depend much on chip manufacturer, but is related to unused  RGMII/MII/RMII interface in general.
Comment: somewhere  in the datasheet it will say what to do ith unused IO pins.
Answer: If it can help to someone. After a while I got the answer from the Microchip technical support. It was unclear for me at the first as I didn't get concrete answer, but after a few iterations I came to the answer that it can be left unconnected if the EMI is not critical. After asking "What to do with unconnected pins if I want to be EMI aware", I got the suggestion to read the following links that can be helpful:
Link1, Link2. I hope this may help someone withe the similar problem.
Answer: Here is an answer directly from Microchip.
https://microchipsupport.force.com/s/article/Unused-Ports-on-the-KSZ9897-9896-9567-9477-8567-and-8565
Answer: If it doesn't specifically say what to do in the datasheet, I would contact Microchip (as you did) and see what they said...
Personally, if I could afford the board real-estate and BOM cost, I would place 0R resistor options from the unused inputs to GND. It's possible the chip designers placed internal pull-downs in the chip, but that is unlikely on high-speed lines such as a clock. Strapping an unused clock to GND would be a very safe option. Using a 10K or 100K resistor would cover you in the case of some kind of short-circuit path as it would limit current to milli or microamps.


Is there a version of Elementary based on a kernel that doesn't require a pae-capable CPU?

Question: I want to install Elementary OS on a Compaq nx6110. Using a Luna-based ISO, I get an "unable to boot - please use a kernel appropriate for your CPU" message. Apparently Ubuntu ver 12 has a kernel which doesn't require the pae capability. Is there an early version of Elementary based on Ubuntu ver 12?
Thanks!
Answer: No, there is not a version of elementary OS that can be installed on a non-PAE CPU.


Guaranteed Small Loan with no assets to pawn and poor credit

Question: I need to pass the criteria the various loan companies require to receive an emergency loan I will consider all possibilities to get approved for and receive the loan in my name how can I provide qualifying documents and Information to a loan agency to guarantee a small loan approval. I am not beyond manipulating my information a little please help my rent is due
Comment: You'll need to provide more information about your situation to get a good answer here. What documents are being requested that you don't have? What is your current income? How much money are you requesting as a loan, and when are you thinking you'll pay it back?
Comment: If you have no income and no savings then frankly a loan is not going to help you.
Comment: I dont have a job I was recently laid off i was averaging about 3000.00 a month from september 2018 to January 15 2019, I have a bank account with 0 dollars in it. The documents that are being requested that i dont have are bank statements or paystubs with a qualifying amount on it
Comment: it will help me because I am in the process of finding a job and will have one extremely soon I'm an expert job hunter and have I high success rate of landing jobs but I have pressing financial obligations that nee to be resolved faster than the time it would take to earn the money although I will be earning money very soon
Answer: Getting a loan from a traditional financial institution is likely impossible for you at this point in your life. (Falsifying loan documents is not an option.) And while that is tough to hear, the silver lining here is that going further into debt would be a mistake; you would be digging yourself further into a hole that will be even harder to climb out of.
Your first priority should be getting a job ASAP.
The United Way has a very good article on what to do if you are having trouble paying your rent.  Some of the suggestions from that article are:

Be honest with your landlord about your situation. If you have been a good tenant and have a plan to increase your income, your landlord might be accommodating.
Do something to lower your housing costs, such as finding a roommate, moving to a cheaper apartment (possibly subsidized), or moving in with family or friends.
Accept charity. There are welfare and charity programs that provide food and even help pay rent. The article talks about this in more detail, but you can also call 211 or visit 211.org to find information about charities in your area.


How to calculate the frequency of a gas giant eclipsing the sun from a moon?

Question: Say you have a moon around a gas giant which goes around a star. If the moon has an inclination of around 0° relative to the gas giant's orbit, the gas giant will eclipse the star every orbit of the moon. However, if the inclination is somewhat larger than 0°, not every orbit of the moon will contain a planetary eclipse. How would you calculate the amount of moon orbits in a row with a planetary eclipse?
Answer: Let's start with an easy example and say the orbit of the planet with radius $r_p$ around the sun with radius $r_s$ is circular, the orbit of the moon around the planet is circular, the inclination of the moon's orbit is 90 degrees from the planet's orbital plane, and the orbital period of the moon is 1/360th the orbital period of the planet. Let's call the vector from the sun to the planet $v_1$ (with length $d_1$), the vector from the planet to the moon $v_2$ (with length $d_2$), and the vector from the sun to the moon $v_3$.  Let's assume the moon is so small we don't have to worry about orbital passes in which there is a solar eclipse visible from one side of the moon, but not from the other.
Every consecutive time the moon ascends through the planet's orbital plane, the angle $\theta$ between $v_1$ and $v_2$ will increase by 1 degree.  A little trigonometry (does everyone remember SohCahToa?) will give us the angle between $v_1$ and $v_3$ as $\phi = \arctan (d_2 \sin\theta/(d_1+d_2 \cos\theta)$.  So from the perspective of the moon, the angle between the sun and the planet in the sky will be $\alpha=\theta-\phi$.  The planet will be at least partially eclipsing the sun in the lunar sky whenever $\alpha<\beta_p+\beta_s$ where $\beta_p= \arctan(r_p/d_2)$ is the half angle of the planet in the lunar sky, and $\beta_s= \arctan(r_s/\sqrt{(d_1+d_2 \cos\theta)^2+(d_2 \sin\theta)^2}$ is the half angle of the sun in the lunar sky.
Here is a diagram looking at the planet's orbital plane when the moon passes through the plane:

Clear as mud?  Let's do an example with Jupiter (which we will now assume has a circular orbit) and our Sun!  Jupiter's orbit is 4333 days, so our moon's orbital period should be 4333/360 =~12 days.  Kepler's third law says the ratio of the cube of the SMA (semi-major axis) to the square of the orbital period is constant for moons about a body, and we know Jupiter's moon Callisto has a SMA of 1.883e6km and an orbital period of 16.69 days, so we have the equation $d_2^3/12^2=(1.882e6)^3/16.69^2$.  Solving yields $d_2=1.51e6km$ is how far our moon is from Jupiter.  Jupiter has a radius of $r_p=6.9911e5$km so the half solid angle of Jupiter from our moon is $\beta_p = \arctan(6.9911e5/1.51e6)=0.5radians$ or 28.6 degrees.  The solid angle of the sun from our moon will average about $\beta_r = \arctan(6.957e6/7.8e8)=0.00892radians$ or 0.551 degrees, but it varies a bit in the third significant digit.
Plug it all into the above equations and you get an orbit without an eclipse, followed by 59 orbits with an eclipse and then another orbit without an eclipse.  Here is the matlab code for posterity:
<code>theta = 0:1:359;
d1=7.8e8;
rs=6.957e6;
d2=1.51e6;
rp = 6.9911e5;
phi = atan(d2*sin((pi/180)*theta)./(d1+d2*cos((pi/180)*theta)));
bp = atan(rp/d2);
bs = atan(rs./sqrt((d1+d2*cos(pi/180*theta)).^2+(d2*sin(pi/180*theta)).^2));
alpha =pi/180*theta-phi;
sum(alpha<bp+bs)*2-1
</code>
Notes:

This was an easy example because I got to choose all the orbital geometries.  Want to make it harder? Choose a planetary orbital period that isn't an integer multiple of the lunar orbital period. Want to make it harder? Choose an inclination less than 90 degrees so that some eclipses occur when the moon is outside the planetary orbital plane. Want to make it harder?  Choose highly elliptical orbits for both the planet and the moon, so that $d_1$ and $d_2$ both vary as separate functions of time.  Want to make it harder?  Specify a large moon so that some eclipses can only be seen from some points on the moon, but not others.

I provided the solution for partial eclipses.  If you want the solution only for full eclipses, use this equation: $\alpha<\beta_p-\beta_s$ instead of this equation: $\alpha<\beta_p+\beta_s$ above.

I did not provide a closed analytical solution for the general problem of counting consecutive solar eclipses from a moon given the orbital elements for the planet and moon and the radii of the sun and planet.  However, in describing the solution for a particular class of orbits, I think I've clearly detailed the calculation method that could extend to any particular orbit. The key is in understanding that even though a moon's orbital plane is fixed in an PCI (Planet Centered Inertial) coordinate system, it appears to precess in a sun-centered, planet-fixed coordinate system. A similar example of this phenomenon is the four seasons here on earth due to the Earth's axial tilt.  The Earth's axial tilt is nearly constant, but from our perspective here on Earth, it appears to precess.

Classical orbital mechanics is disgustingly hard and unforgivingly unintuitive. It's much easier to use Satellite Toolkit or Universe Sandbox to plug in your initial orbits, propagate them, and count the eclipses as others suggest.
Answer: Simulate the orbits (Kepler's laws) and calculate the geometry:  is the planet between the moon and the sun?
The answer depends greatly on the size and mass of the planet, the distance and shape of the moon's orbit, and to some extent on the orbit of the planet and the size of the sun.
There isn't a simple a+b=c type formula.
Comment: @uhoh circular orbits with a relatively small moon and long time would be a good enough approximation :)
Comment: I think this is the only type of answer that can be given to this question. You need to run the simulation given the specific figures you have for your sample planetary system. The question doesn't allow for any more specific answer.
Comment: @RoryAlsop and yet a second answer has since been posted! If I have time this weekend I'll try to see if I can write it as a double integral and get an analytical solution.  It isn't that hard I don't think.
Comment: @uhoh I would be very interested in a double integral solution, especially to bounce it off of my answer to see if we get the same result!
Comment: If the orbits are circular, the moon small and time long, in this case there may be a simple double integral that gives a real answer and meaningful answer.
Comment: -1 because this is only a comment and not a helpful nor useful Stack Exchange answer.


Why are Gaussian distributions the only "forbidden" source distribution for ICA?

Question: I know it's commonly asked why Gaussians are forbidden from use in independent components analysis. This is because a gaussian source distribution will result in the same observed distribution no matter what the mixing matrix $A$ is. Hence, it is impossible to determine $A$ and thus impossible to find the sources $s$ in any useful way. This isn't my question, though. Sources almost always point out that the multivariate Gaussian with mean zero and covariance $I$ is rotationally symmetric or rotationally invariant. This point correlates so strongly that someone (like me) who hasn't worked out the math explicitly might conclude that the two facts are equivalent.
I suppose I have two questions.
First, is the fact that zero-mean identity-covariance (or any matrix $aI$) Gaussians are rotationally symmetric sufficient to preclude the use of Gaussians from ICA?
Second, and more interestingly, if we consider distributions of the form:
$$p(s) = \prod_{i} p_s(s_i)$$
(i.e., independent components) is a Gaussian the only form $p_s$ can take that will render $p(s)$ rotationally symmetric? Why? If true, this seems like a crazy fact to me, yet it's not mentioned here, and it seems like many distributions (like a logistic distribution centered at 0) would have this effect.

Edit: I think I may be getting closer to answer this for myself. Part of the difficulty is the temptation of visualizing distributions of the form $p(s) = \prod_{i} p_s(s_i)$ as volumes of revolutions of $p_s$. But clearly this is not the case (e.g., $p_s = U[-1, 1]$). So I've decided to resist trying to "picture it" altogether.
Further, if rotational invariance is sufficient for a distribution to be "forbidden" from ICA, it seems that the critical property is that the probability of some $\mathbf{s}$ is that it depends only on its distance from the origin. This means that "forbidden" distributions $p_s$ are distributions that have the property (for some length $N$ vector $\mathbf{s}$):
$$p_s(\| \mathbf{s} \|_2)p_s(0)^{N-1} = \prod_{i=1}^N p_s(s_i)$$
where N is the number of elements of $\mathbf{s}$. This is true for the standard normal distribution, and not true for logistic distributions (the distribution I asked about above), for instance one where $\mu=0$ and $s=1$. If $N=2$:
$$\frac{1}{4}\frac{e^{-\sqrt{a^2+b^2}}}{(1+e^{-\sqrt{a^2+b^2}})^2} \neq \frac{e^{-(a+b)}}{(1+e^{-a})^2(1+e^{-b})^2}$$
Is it only Gaussians that have this property?
Answer: First question: No. There exist non-Gaussian rotationally-invariant distributions (for example, a multivariate student-t distribution).
Second question: Yes, the only rotationally symmetric distributions with independnt components are spherical Gaussians. This is sometimes called Maxwell's theorem, and I agree it is a crazy fact.


Can't log into my Blogger account

Question: I haven't been able to log into my Blogger account for my blog or into the Gmail of the same account. I remember the recovery mail that I'd connected and I've tried using the account recovery several times and it won't email me anything. My blog was also on private so I can't access any of my old posts. Please can someone help or does anyone have any contact details that I could use to get in touch with Google/Blogger support? I really want my account back.
Answer: A fix that worked for me, was to do the following:

Go to accounts.google.com;
Go to Data & personalisation;
Scroll downward until you find Things you create and do, and subsequently click on Google Dashboard;
Under Your Google services, click on Blogger;
DON'T click on Go to Blogger, rather, click on 1 profile entry if it appears (you may need to expand the tile) and once followed it should prompt you to add a new username.

Can't log into my Blogger account


Should my receptacle tester be able to trip a GFCI breaker in the panel box?

Question: I have a receptacle tester with a button to test GFCI. It works properly in tripping the GFCI if the outlet itself is a GFCI outlet. However when I test it on circuits which have a GFCI breaker nothing happens. is my tester broken is my breaker functioning improperly what's the issue here?
Answer: If the receptacle is grounded: Yes it should trip it.
If the receptacle has some semi-grounding that is insufficient to clear a dead-short bolted fault (i.e. incapable of flowing 200A without setting the house on fire): Yes it should trip it.  And that is fine. A bolted fault is also a ground fault, which should trip the GFCI, ending the event.
If the receptacle is not grounded: No, it should not trip it. That would be disturbing if it did.
If the receptacle is not grounded, but a tester indicates grounded: Then a) no, it should not trip it, and b) that is a bootleg ground that defeats the entire purpose of even having a GFCI /facepalm /Darwin_Award and needs to be corrected ASAP.
If you stick the GFCI tester in a 2-prong cheater and come off the ground tab with a separate wire run across the house to a part of the electrical grounding system: then yes, it should trip it.
Comment: It would seem like safety might be improved if someone made a GFCI outlet specifically for applications with no equipment ground, which would connect the grounding pin weakly to neutral (e.g. via 180K resistor and capacitor that together would allow less than 2mA to flow), but trip if significant voltage appeared on that pin.  Otherwise, a failure in plugged-in equipment failure that shorts hot to ground wouldn't be able to trip a GFCI unless someone touches it and provides an alternative path to ground.
Comment: @supercat But where would you use it? Can you still legally run receptacle circuits without a ground wire? I'm afraid you're not allowed to stick such a fancy receptacle into an old ungrounded circuit and then claim that the whole thing is still grandfathered in. (But I know next to nothing about the NEC. It certainly wouldn't be allowed this side of the pond.)
Comment: @TooTea: Given a choice between installing an "ordinary" GFCI outlet to a location without a useful ground wire (which is allowed in the USA, provided the outlet is marked 'No equipment ground'), or installing one with additional safety features, I would think the latter should be seen as preferable.  Alternatively, one could construct a device that would attach to four of the five wires on an existing GFCI (line hot/neutral, load hot, and grounding) would add such safety functionality to it.  Just a few resistors, a couple diodes, and a transistor.
Comment: @supercat OK, this just shows my level of ignorance of the NEC. You're right, it would be better. Question is whether the potential market for such devices is big enough to pay for the design and certification. I assume these "No equipment ground" receptacles aren't super common.
Answer: Harper's answer is, as usual, totally correct. But to explain why:
GFCI (whether breaker or receptacle) detects a difference between current on hot and current on neutral (or two hots if 240V, but we can ignore that for simplicity).
The internal test of a GFCI does whatever is necessary to test.
An external test - e.g., built in to a 3-light "magic 8-ball" tester - has to cheat a little bit. It takes a bit of the current that would normally be going from hot to neutral and sends it to ground instead. If the ground pin is properly connected then this works and the GFCI trips. If the ground pin is not connected (which can be legitimate it properly labeled when using a GFCI) then the external test tries to send current to ground, but it has no place to go and so that circuit is not completed and the GFCI does not trip, but this does not have any effect on proper operation of the GFCI.
The one exception, as noted by Harper, is a bootleg ground. This is ground connected to neutral in the receptacle. If you have that, a 3-light tester will show everything "OK" (because it can't tell the difference between neutral and ground) but the GFCI test function of that tester will not work. That is the one combination which is an indication of a serious problem. "Open ground" + "GFCI test fail" is OK.
Comment: It should be possible to put a big enough inductor between hot and neutral to trip a GFCI.
Comment: Something that is capacitively coupled to ground could trip a GFCI, but inductance in and of itself could not.  When motors trip GFCIs, it is often because of protection devices which clamp voltage spikes to ground.
Comment: The internal test of a GFCI is just a switch that connects hot to ground (line-side neutral) via a suitable resistor to create the rated ground fault current.
Comment: @TooTea Really? That is the way an external tester works. But if that's the case then the Test button on a GFCI will not work if there is no ground. Which goes against "GFCI in lieu of ground". So I wonder if that's the case or not... Maybe Harper knows...
Comment: I mean a GFCI breaker. We don't have receptacle GFCIs around here. But I assume it works the same way, because for breakers the idea is to make the test resemble a real fault as closely as possible, so that you don't get false positive tests (test trips while a real fault does not).
Comment: To clarify what I meant: I guess a GFCI receptacle is also going to use the line-side neutral as the "ground" for the purposes of a test, so it will always trip no matter if the real ground is there or not. Somebody could try this out by daisy-chaining two GFCI receptacles and hitting test on the downstream one. If the test fault is to neutral, the upstream GFCI won't trip.
Comment: @TooTea That makes more sense - it can leak to neutral past the sensor. And interesting idea about the daiy-chain test!


Fast data entry form something like org-agenda or magit

Question: I would like to use emacs to enter data -- to start with, essentially a set of numeric responses to a list of questions.  The questions will usually be the same every day, but will change slowly over time.
I want the data to be recorded as plain text, but to use a more constrained interface than just typing plain text, so that it's faster to enter the data and less error-prone.  For example:

I would like j and k to move up and down between fields
I don't want to have to enter say evil's insert state in order to enter numeric values
I want the names of the questions to be automatically filled in and non-editable

The only code I've seen like this in emacs is org-agenda -- org-habit in particular is quite similar to what I have in mind.  However, org is a rather big code base, and though great software, not always the most exemplary elisp code in my book.  magit has a somewhat similar approach to interaction, though it happens not to have any UI you'd be likely to describe as "data entry".
Does anything like this already exist?  How can I go about implementing something like this?
Answer: The Emacs Widget Library might just be what you are looking for. Emacs' Custom interface is built on top of widget and while that isn't exactly the same as "data entry" it comes much closer than say Magit (which I would say has nothing to do with data entry).


Postdoc Proposal: Can I quote from viva examiners' report?

Question: Can I quote from a viva examiner's report some positive feedback in a postdoc application? If yes, how do I cite the report?
Comment: @Anyon I think you could format that comment into a brief answer.
Comment: Can the quote be verified? E.g. is the report public? If not, it's probably a bad idea. If yes, I still feel weird about it... Would it be possible to have said examiner write a letter of recommendation mentioning some of this feedback?
Answer: (Expanding my comment into an answer, as suggested by Bryan Krause.)
I think it'd be unusual, and I honestly feel a little weird about it. Perhaps it can be done well, but consider how it would look before doing so. If you're using the quote in support of claims in your research statement, I'd wonder a) is there no support in the literature for that claim (why?), or b) if you're not confident in your own claims. If you instead hope to use the quote in support of your abilities or talent, I think it'd be better to ask the report writer to also write one of your recommendation letters. After all, if they wrote so in the viva report, chances are that they highly enough of you and your work to write a good letter. (It'd also look a lot better on paper than "X said I'm awesome!")
The second aspect to consider is if the quotes can be verified. In the systems I'm somewhat familiar with, these reports are usually not publicly available - at least not easily so. This means that those reading your application would likely be unable to confirm that the quotes are valid, making the value of including them kind of dubious. What's more, the report writers might have an expectation that the report isn't made public, and might disapprove of you using their words this way. (Now, you could of course solve that by asking them, but again, if it's central to your application, a recommendation letter would make the point more convincingly.)
Finally, to address your second question: If you choose to do this, you could probably just cite it as company report or internal report, ideally adding a link if it's available online. If your university do make these reports public in a more official manner, it might also be classified as a technical report, but I sort of doubt it. Generally, however, exactly how you cite something in your application probably matters a lot less than what you cite.


Unfinished master's degree on job interview

Question: I've studied 2 majors at university, where getting 2 master's degrees is tied to finishing both, but I couldn't end my studies in one of them. (Only the last stage was left: the state exam).
I've passed the state exam at my other faculty with flying colors, but there won't be any trace of that on paper, because of the rule mentioned in my first line. How can I explain my situation at an interview, because as far as it seems, I won't get a degree at all?
Answer: I have never been required to show the actual paper proving I have completed a degree in an interview.
Now, you still should not lie on your CV, and the same should be applied to job interviews. So the advice is: be honest.
On your CV you can formulate it to say that you completed all the requirements for Master X, and that you've passed all the classes in the programme for Master Y.
HR and recruiters are not dumb and will notice the difference in the formulation on your CV, so, during the interview, explain the situation.
Depending on the job and on the degree(s), the paper proving that you completed a master might not be important, and your application for a job could still be considered. (For instance, where I live, the title 'engineer' is ruled by laws; you must absolutely prove that you have completed an engineering degree, so you would not be allowed to have a job that would make you an engineer. On the other hand, if the job you're seeking is for a programmer job, generally, your skills will be considered, and not whether you fully completed a Master's degree.)
Comment: I have been working as an engineer for almost 20 years and have never been asked verify my degrees. I was recently asked by my current employer to verify my degrees (Bachelor's and Master's) http://workplace.stackexchange.com/questions/65345/verifying-education-degrees-after-employment
Answer: Whatever you do, don't lie. A quick phone call to the university registrar will expose the truth. More employers are actually verifying applicants' degrees with the universities they've attended.
In my case, I did the bulk of my work for my Master's degree while working full time over a 10 year period. I didn't want to disregard the work I had done, so my resume read something like this:
M.S. Engineering Candidate (Expected Graduation Fall 2010)
I'd recommend a similar approach, removing the part about expected graduation. It's truthful and in the interview it will prompt the conversation you want to have where you discuss that part of your education, highlighting the work you've done and your explanation of why it's unfinished.
Answer: Another alternative is to say "masters degree in progress." That is true. You don't have a Masters degree. It doesn't sound like you intend to complete it, but you could. So technically, it is still in progress.
Comment: -1 for the "creative/technical" truth. This won't lead to an honest relation.
Answer: Just be fully honest about it -
"Attended such and such masters program at such and such institutions. During the course of my studies I have studied following subjects: [insert subject list]. I have not received a degree from this program, because...[insert reason]."
Don't try to give creative explanations or hide away the fact - first, it's something they can easily check at your educational institution and if your explanation does not fully match theirs, it will look bad for you. Secondly, if you lie or get creative about this description and then land the job, you will be subconsciously burdened  and will always think if your manager(s) have revealed the truth about your degree.
So better to be honest and just display it for it is. What do you have to lose?


Are there any trustworthy Mathematics fee-based open access journals?

Question: Some open access journals, like Integers for example, don't charge the author any fee for publishing their article. Other open access journals do charge the author a fee and the author has to pay the fee so that their work can be posted online. Are there any trustworthy fee-based open access journals?
Comment: Virtually all mathematics journals have fairly liberal policies about allowing authors to post preprints (and in many cases even the published paper) on repositories and personal websites. (This is not an answer to the question, but may be useful to those who arrive at this page).
Answer: I'll try to link to pages which describe the open-access policy of the respective journals.
Both Proceedings of the AMS and Transactions of the AMS allow the author to pay a fee to make their article freely available electronically from the journal.  If the author chooses not to pay the fee then the article is not freely available from the journal (but the author may post the final preprint on the arXiv or their personal website).
The (few) Elsevier journals I have looked at have a similar fee for publishing open-access.  One example of which is the Journal of Mathematical Analysis and Applications.  You might try their Journal Finder, which has a checkbox to only search for journals with open-access options.
Springer offers a similar program for some of its subscription-based journals which they call Open Choice.  Not all of its journals have this option (e.g. Acta Mathematica doesn't).
We also note that Elsevier and Springer both publish a number of purely open-access journals, but I can't comment on their "trustworthiness".
Comment: You may need to view the last Springer link in incognito mode (or equivalent) if Springer's website keeps you logged in from your institution.  This will ensure that only those journals which are completely open-access will be shown.
Comment: _Acta Mathematica_ is no longer a Springer journal and is now open access with $0 fee.
Answer: While fees are unusual for Math open access journals (and I would initially suspect any journal charging them), there are trustworthy fee-charging journal, e.g. Pi and Sigma (http://journals.cambridge.org/action/displaySpecialPage?pageId=3896).
Comment: Note that at present, Pi and Sigma do not actually charge fees.
Comment: Fees are slated to begin for papers submitted on or after January 1, 2016.
Answer: Journal of Mathematical Physics, which publishes articles by mathematicians, is a serious journal published by AIP that follows the AIP fee-based Open Access policy : http://publishing.aip.org/librarians/open-access-policy
Answer: The UK as a whole is moving towards using open access, so most of the UK maths journals, and a proportion of others, now offer open access in some form (although that can mean allowing you to put the final draft on a repository, called 'green open access'). The LMS has created the Transactions, which is fully open access ('gold').
Comment: The UK as a whole is [moving *away*](http://www.nature.com/news/uk-open-access-movement-sways-towards-low-cost-repositories-1.14953) from author-pay open access
Answer: The recent Analysis and geometry in metric spaces, while maybe not yet well-established, is as far as I can tell (after exchange with the editorial board at some occasions) trustworthy as any math journal; this is witnessed by the impressive editorial board.
Answer: In general, journals reviewed in MathSciNet are trustworthy.  So check there for the journal you are considering.
Comment: I would say that a "fishy journal" is going to be dropped by MathSciNet sooner or later.  I have, unfortunately, a paper published in a journal which I think is on the borderline between being legit and being fishy.  One of the things I did was look to see that MathSciNet covered it, as you suggested.  However, I did not notice that MathSciNet has stopped covering it almost a year before (this is much clearer a year or two later than it was then, but I should have looked more carefully).  And when I submitted they advertised as being covered on MathSciNet!  Anyway: be careful out there...
Answer: Research in the Mathematical Sciences is very reputable, if new. The editor in chief is Ken Ono.
Comment: For the down-voter: when I wrote this RiMS was in fact fee-based open access, but it has since been converted to a subscription journal with the usual double-dip-risking optional pay-for-open-access. See https://mathoverflow.net/questions/309002/what-happened-to-research-in-the-mathematical-sciences for some details.


druid beast form armour

Question: I was wondering how I would go about setting up a set of leather, wooden or hide or some other non-metal armour for a druid character where the armour changes shape when in beast form so that it is always present, sort of like a normal armour that can change to barding so it always fits the wearer. The armour is intended for a druid character to allow for the use of armour in beast form without requiring another character put barding onto the beast form druid as that would take up valuable time, limiting the time allowed for beast form if the druid wanted to be an armoured wolf. any ideas would be appreciated
Comment: The title should better describe the question. Currently, it looks like tags - tag for druid, tag for beast form, tag for armor. Which are actually tags. Other than that, the title doesn't say anything about the *actual* question.
Comment: As V2Blast mentioned, there is also the problem that it's currently opinion-based because it's an idea generation question, but that might be because it's not actually clear what you are asking. Please clarify and, if this is an idea generation, check our list of forums here: https://rpg.meta.stackexchange.com/q/5449/43856.
Comment: Are you asking from a player's perspective or a DM's? Are you just asking about whether there are any rules or guidance for creating such a magic item? Otherwise, if you're just asking for ideas on how you might do this, idea-generation questions aren't generally appropriate for RPG.SE, because they're generally opinion-based and there's no way to determine a "best" answer.
Answer: There are no rules for this
If you're the DM then... make it up (homebrew it).
I would use the rules in the DMG chapter 9 (p. 284) to make a magic item that when attuned to a druid gives them the bonuses of leather/wooden/hide armour and changes shape when the druid goes into beast form. This would probably be a rare item (possibly higher but no lower) because it would give roughly +2 to AC but when you make it you can look into it more.
If not then ask.. but be prepared for a no.
Not all DM's want to homebrew. That's just a fact of DMing if they say no take it graciously and still think about how druids are still fairly powerful without special magical armour.
Comment: @V2Blast thanks for the edit (it kind of went wonky what with me doing one at the same time but i made sure all your edits got in) also I added in a section on if they're not the DM.
Comment: I'm guessing OP's asking from a player's perspective, though it's not clear at the moment.
Answer: Multiclassing can give you this effect (if not this equipment)
It is ambiguous whether standard magical armor will reshape itself to a Wild Shaped Druid instantly, or if it will only fit to the Druid's natural humanoid shape. As such, there are no clear rules that provide the equipment you are hoping for.
But you could gain the benefit of leather armor while in Wild Shaped form through multiclassing or Feats. For example, if you took one level of Monk and had a wisdom score of 14 or higher, your AC could always be at least 12+Dex Modifier in any beast form, due to your Unarmored Defense (which, as a class feature, would remain in effect while Wild Shaped). Or you could take a single level of Wizard and cast Mage Armor on yourself before changing into a beast, making your AC at least 13+Dex Modifier for several hours. The Feat Magic Initiate would also permit you to use Mage Armor in this way.

druid beast form armour


What are the differences between Clojure, Scheme/Racket and Common Lisp?

Question: I know they are dialects of the same family of language called lisp, but what exactly are the differences? Could you give an overview, if possible, covering topics such as syntax, characteristics, features and resources.
Comment: I always get confused about which post should go where. This is a discussion of tools, so is it a question for here or programmers? Logically, I'd say move it to programmers, because it's not asking to solve a particular problem, but it's a good post with a good answer IMHO.
Comment: Just because the question is broad does not mean that it does not belong here. It's a perfectly *clear* question, and it is certainly a "real programming question". StackOverflow is meant primarily to be a [googleable] community resource for sharing knowledge about programming via Q&A format.
Comment: I'm asking for a more general overview of the differences because I fell like this question can be useful for many other people, sorry if it is sounds abusive.
Comment: @octopusgrabbus: the question is much too broad. Comparing three programming languages on 'syntax, characteristics, features and resources' can easily fill a book or a web site. Stackoverflow is for people who have programming problems, it is not an encyclopedia (Wikipedia), it is not a general discussion forum ( Usenet ), it is not a language comparison site ( http://rosettacode.org/ ). It is best  for real programming problem where the question has code and the answers have code, too. Plus: Don't make up problems just because someone is bored or that's a hobby.
Comment: @MaiaVictor: looking back there has no useful answer posted. People mostly only knew one language and were not in a position to compare them usefully.
Comment: @RainerJoswig, I could just write everything I learned about those languages on the past days I've been studying them, but that would make the thread big. That is really bad when you realize people will be googling that kind of short sentence and won't be able to get the answer because a big text hinders them from understanding fastly what is being asked. Doing this way ensures many more people will be helped by a good answer.
Answer: They all have a lot in common:

Dynamic languages
Strongly typed
Compiled
Lisp-style syntax, i.e. code is written as a Lisp data structures (forms) with the most common pattern being function calls like: (function-name arg1 arg2)
Powerful macro systems that allow you to treat code as data and generate arbitrary code at runtime (often used to either "extend the language" with new syntax or create DSLs)
Often used in functional programming style, although have the ability to accommodate other paradigms
Emphasis in interactive development with a REPL (i.e. you interactively develop in a running instance of the code)

Common Lisp distinctive features:

A powerful OOP subsystem (Common Lisp Object System)
Probably the best compiler (Common Lisp is the fastest Lisp according to http://benchmarksgame.alioth.debian.org/u64q/which-programs-are-fastest.html although there isn't much in it.....)

Clojure distinctive features:

Largest library ecosystem, since you can directly use any Java libraries
Vectors [] and maps {} used as standard in addition to the standard lists () - in addition to the general usefullness of vectors and maps some believe this is a innovation which makes generally more readable
Greater emphasis on immutability and lazy functional programming, somewhat inspired by Haskell
Strong concurrency capabilities supported by software transactional memory at the language level (worth watching: http://www.infoq.com/presentations/Value-Identity-State-Rich-Hickey)

Scheme distinctive features:

Arguably the simplest and easiest to learn Lisp
Hygienic macros (see http://en.wikipedia.org/wiki/Hygienic_macro) - elegantly avoids the problems with accidental symbol capture in macro expansions
Comment: @ron: Python **is** strongly typed, just like Lisp (unlike say Javascript or VB). You are thinking "static typing" vs "dynamic typing" instead, see http://en.wikipedia.org/wiki/Type_system for all the varieties. But yes, it's marketing
Comment: this is good, but perhaps you should mention that racket is more than "just" scheme; it's a system that supports multiple (but related) languages (you can even define your own).  also, clojure has various ways of doing oo-like programming (both a multiple dispatch approach vaguely similar to clos and something closer to java that is more efficient on the jvm).  and scheme is edging towards more standard libraries (that also include oo) with r6rs, which racket supports.
Comment: "Strongly typed dynamic language" is marketing. In this sense even Python is strongly typed.
Comment: I would also think Racket would be good to be added to this answer. I would think Racket is even easier to learn than Scheme due to the community and focus of the language.

Racket (formerly named PLT Scheme) is a general purpose, multi-paradigm programming language in the Lisp/Scheme family. One of its design goals is to serve as a platform for language creation, design, and implementation.
Comment: Clojure has hygienic macros.  More info here:
https://xivilization.net/~marek/blog/2013/09/17/clojure-and-hygienic-macros/
Comment: I believe continuation as a first class object is a distinct (but rather technical) feature of scheme that should be noted. I would also add the condition system as another distinct feature of common lisp.
Comment: Just wanted to point out that Common Lisp also has "built-in" vectors and maps (hash-tables), and that all recent implementations support concurrency with threads and with some nice libraries like lparallel.
Answer: The people above missed a few things

Common Lisp has vectors and hash tables as well. The difference is that Common Lisp uses #() for vectors and no syntax for hash tables. Scheme has vectors, I believe
Common Lisp has reader macros, which allow you to use new brackets (as does Racket, a descendant of Scheme).
Scheme and Clojure have hygienic macros, as opposed to Common Lisp's unhygienic ones
All of the languages are either modern or have extensive renovation projects. Common Lisp has gotten extensive libraries in the past five years (thanks mostly to Quicklisp), Scheme has some modern implementations (Racket, Chicken, Chez Scheme, etc.), and Clojure was created relatively recently
Common Lisp has a built-in OO system, though it's quite different from other OO systems you might have used. Notably, it is not enforced--you don't have to write OO code.
The languages have somewhat different design philosophies. Scheme was designed as a minimal dialect for understanding the Actor Model; it later became used for pedagogy. Common Lisp was designed to unify the myriad Lisp dialects that had sprung up. Clojure was designed for concurrency. As a result, Scheme has a reputation of being minimal and elegant, Common Lisp of being powerful and paradigm-agnostic (functional, OO, whatever), and Clojure of favoring functional programming.
Comment: Racket is *not* an implementation of Scheme, barring compatibility modes.  See http://stackoverflow.com/questions/3345397
Comment: Clojure does *not* have hygienic macros, as I have found the hard way.
Answer: Don't forget about Lisp-1 and Lisp-2 differences.
Scheme and Clojure are Lisp-1:
That means both variables and functions names resides in same namespace.
Common Lisp is Lisp-2:
Function and variables has different namespaces (in fact, CL has many namespaces).
Answer: Gimp is written in Scheme :)
In fact allot of software some folks think might be written in C++ was probably done under the Lisp umbrella, its hard to pick out the golden apples out of the bunch. The fact is C++ was not always popular, it only seems to be popular today because of a history of updates. For the lesser half of the century C++ didn't even utilize multithreading, it was where Python is today a cesspool of useless untested buggy glue code. Fasterforward a little and now we are seeing a rise in functional programming, its more like adapt or die. I think Java has it right as far as the adapt part is concerned.
Scheme was designed to simplify the Lisp language, that was its only intent except it never really caught on. I think Clojure does something similar its meant to simplify Scheme for the JVM nothing more. Its just like every other JVM language just there to inflate the user experience, only to simplify writting boilerplate in Java land.
Comment: Gimp is written in C, and it supports Scheme, Python and Perl as scripting languages.
Comment: "meant to simplify Scheme for the JVM nothing more"
"just like every other JVM language"
Yeah, right.


Indians traveling to Georgia

Question: I have Indian passport with valid Schengen visa and Georgian e-visa. Can I have trip to Georgia. Because I'm hearing lots of news that travelling to Georgia is turning out to be a nightmare for many Indians. Most of them being deported and had been treated badly @ Tbilisi airport
Comment: Where are you hearing this news?  Some citations might be helpful (ideally from reliable sources such as news sites).
Answer: You only need either a Georgian e-visa or a Schengen visa, not both.
Furthermore, most Georgian border officers don't speak English, and so you will rarely be questioned about your trip. Just in case, though, bring confirmations of your return trip and your accommodation in Georgia.
Comment: +1 for completely correct info. Though, to further put the OP's mind at ease, I can confirm that as an Indian citizen I've never had any issues entering Georgia multiple times using only a UK resident permit or US visa. The cases of entry refusals are true, however, they are also very few and most people do not face any issues. That being said, I have definitely been asked more questions while entering Georgia than any other country that I've traveled to.

Indians traveling to Georgia


Is an object obligatory for a transitive verb?

Question: Is this correct grammar? Мы пели. ('We sang' with the word 'songs' or 'a song' missing but implied.
Comment: "Петь" and many other verbs can be both transitive and intransitive.
Comment: @Abakan - There's philosophical question: in Russian if a verb can have a direct object, it's transitive. So, can all the verbs that can have direct objects are transitive? The answer is NO, because in Russian almost every verb can or cannot have direct objects, that's why almost every verb can be used in its transitive or intransitive meangs.
Comment: The category of transitivity/intransitivity *_ISN'T_* essential for the language across the world, e.g. in Russian almost every verb can have both transitive and intransitive meanings.
Answer: Yes it's correct. It's the same in English, isn't it?
As far as necessity of the object is concerned, some verbs (or verbs in certain forms) do require it.
Phrases such as

Я мыл - I washed
Я поднимал - I lifted
Я вскапывал - I spaded

are lacking.
On the other hand

Я красил - I painted
Я повскапывал - I spaded (a little/for some time)

sound right even without an object.
I guess necessity of an object is inherent to the semantics of a verb and governed by habitual patterns of its usage.
Perfective verbs seem to require it a lot more often that the imperfective.
Answer: As opposed to the languages that need to use at least formal objects with their transitive verbs, like in Japanese you cannot simply say "I'm eating", you need an object, usually it's the formal object "rice", "I'm eating" is expressed as "I'm eating rice" irrespective of what food you're actually eating, in Russian no formal or necessary objects are needed. If it's clear from the context what you're eating, or it's not important what you're eating, "Я ем" or even simply "Ем" are perfectly correct sentences, answering both the question "Are you eating now?" and also "Do you eat {name of food}?" The same goes for the rest of the transitive verbs, too.
The Germanic languages typically need formal parts of the sentence, like "It can well be true" in which it is the formal subject and well is a formal adverbial modifier, Russian usually does not need any formal parts of the sentence.


Why is the spin velocity of a gear irrelevant if perfectly balanced?

Question: Going through some theory about epicyclic gears I came accross a comment that says that the spin velocity of the gear irrelevant if perfectly balanced, I don't understand why this might be true, is it because it would be constant and thus can be measured without variations?
Comment: If the gear is perfectly balanced and rotating at constant angular velocity, what effect *could* it have on the dynamics of the system? Answer: none!
Comment: @alephzero and how would it affect if it was not balanced?
Comment: I think this questions needs to clarify in what ways it is irrelevant.  Clearly a faster rotational speed has _some_ relevance in the system.  The question is tagged vibration; so I assume the relevance has to do with that; but it is not explicit in the question and therefore unclear IMO.
Comment: I think this is an oversimplification assuming the gear a rigid unbreakable body. Given enough RPM centrifugal force will rip the gear apart.
Answer: If the gear is not balanced then the center of mass will oscillate as it spins which will induce additional load on the shaft and create vibrations. This effect greatly depends on the speed of the imbalanced gear.
If the gear is perfectly balanced then there will be no oscillations.
However at extremely high speeds you will need to ensure that the tensile strength of the material is enough to keep the gear together. By the time you get to those speeds however you will have to deal with similar issues elsewhere.
Answer: This depends greatly on the context.  Here is a counter-example, a situation in which the spin velocity of the gear is relevant to the dynamics of the overall system, even if that velocity is constant.  That situation is high speed gears on aircraft (e.g. in the engines).  At sufficiently high speed, the gear will exhibit the gyroscopic effect. Then when the plane executes a maneuver angular velocity (e.g. nose pitch up on takeoff), there is a gyroscopic reaction moment on the gear, which change the loading on the bearings, and possibly shift the gear off center a little.  Of course, this is probably a rare example.  Most gears do not get fast enough to have significant gyroscopic moment, and most gearboxes are not rotated like in an aircraft.


LEGO EV3 Ultrasonic sensor missing from Home Edition programmer

Question: I'll get straight to the point: When I open my LEGO MINDSTORMS EV3 Home Edition programmer and try to use an ultrasonic sensor, there is no option for it in any blocks. I don't even see any allusion to the ultrasonic sensor existing at all. Is there any way at all to use the US sensor AND the IR sensor at once? Thanks.
Answer: EV3 Home edition software does not come with blocks for ultrasonic sensor, unlike Education edition. However you can still add them as explained in this guide.


Search and Index Office 365 elements

Question: Is it possible to setup SharePoint Online Search to index Office 365 elements (like Planner plans, tasks, OneDrive, groups calendars, groups emails / conversations...)? If so, is there any documentation about this?
Answer: It is possible to setup SharePoint Online Search to index Office 365 elements. Below is a link which provides you the new feature of search
https://blogs.office.com/2016/04/13/introducing-a-new-home-page-experience-for-office-365-users/
You will get three search sources here:
SharePoint Sites
One drive
Links & attachments in Email
Please see below image for reference:

I dint get any specific link which provides all elements in single search. But hope this fixed maximum of your requirements.
Let me know if you have any other query and contact us for SharePoint Consulting at www.BinaryRepublik.com
Comment: I think the link is wrong...nothing in there about search. And I am curious also if there is in plan to index graph somehow and allow custom search solutions based on this.
Comment: Added my search results when I searched using the added feature. You can see results of SharePoint site and One drive there.

Search and Index Office 365 elements


Bonds, rates and the way they apply during their lifetime

Question: Thanks in advance to anybody taking the time to clear this up for me. Say I buy a 10 year Bond right now. As time passes and the bond gets within 2 years of its maturity, does the 2 year bond rate apply to it or am I going to be looking at the 10 year bond rates throughout its lifetime.
Comment: If its a ten year bond, it will always be a ten year bond, it won't change values mid stream.
Answer: If you hold the bond the full ten years, the YTM (Yield to maturity) will be your return.
Soon after you buy the bond, its value will change as its YTM will reflect current market rates. Say the 10 year was bought at a 6% rate. With 2 years to go, and a 6% coupon, if the 2 year rate is 2%, that 10 year bond will price above face value, the extra 4% for each of two years will push the price up to get close to the 2 year yield.
Yes, the current yields for all old bonds with 2 years left will be pretty close to the current 2 yr rate. Since the coupons are fixed, it's the price that varies so the calculation results in the correct yield.
Answer: A bond is a promise of future payments, given in exchange for an immediate payment.
For example, consider a $10,000 bond bearing interest at at 5% paid semi-annually, and maturing in 10 years.
if you own the bond, you will receive $250 , twice a year, for 10 years.  The last payment will be accompanied by the $10,000 value of the bond itself.  These payments are fixed.
At one time, the paper bonds actually had coupons attached that one could clip off, and turn in at a bank to receive the interest payments.  The coupons were marked with the cash value, in this case $250, and the date they could be redeemed.  Doesn't happen much if at all these days;  everything is electronic...
You can obtain this bond by paying an amount that is acceptable to the issuer.  Since current interest rates are lower than this 5% rate, you would probably pay more than the $10,000 face value.
At any time, an owner of the bond can sell the future payments to some one else, in exchange for an agreeable amount of money.  He might even sell individual coupons to different people, and the redemption to yet another.  As interest rates change, the "agreeable amount" will change.  But the issuer of the bond doesn't care, the payments going out stay the same...
Edit to address comment:
The periodic payments and redemption are fixed when the bond is issued.  They never change.
Suppose Lower Slobbovia decides to issue a 10 year, $10,000 bond with interest at 5% per year, paid semiannually.  In fact, they are promising to pay $250 every 6 months for 10 years, and pay $10,000 at the end of the 10 years.  That is exactly what they will do, no matter what happens to interest rates.  The only purpose of the bond rate is to set these semi-annual payments.
By the time the bonds are printed and get to market, interest rates have gone up a bit.  Investors want to earn at least 6% per year from this type of investment.  If you find the present value of the 20 payments, and the redemption, at a rate of 3% per period, you find that Lower Slobbovia will only get around $9,256.12 for each bonds.  Nevertheless, they start paying the purchaser the $250 interest.
After 8 years, someone holding one of these bonds is in need of immediate cash.  He can't wait for the next four interest payments and the redemption, so he offers to sell these future payments for cash at that moment.  Fortunately for him, interest rates for Slobbovian-quality bonds have dropped to 4% per year.  The present value of the remaining payments is $10,190.38, so that's what he will get when he sells it.  But Lower Slobbovia doesn't care;  it just keeps paying the $250 twice a year, and the $10,000 at the end to somebody.
Comment: Thanks guys for the quick answers. Let me clear up a bit more exactly what I was asking. I buy the 10 year bond today, as time goes by do I always look at the interest rates for 10 year bonds, regardless of how much is left until the bond matures?
Comment: Thank you, thank you, thank you. You cleared up something that was bugging me for days. Thanks for the quick responses too.
Answer: TIPS would be a 10 year bond, also available in 5 and 30 year maturities too, where the face value will adjust every 6 months with the CPI and thus would be a bit of a different kind of bond that may be worth noting here. The coupon rate would be fixed when you buy it and the principal adjustments are taxable income so one has to be careful about what kind of account one holds these kinds of bonds.

There are more than a few 10 year bonds you could buy today. The bond could have been issued anywhere from 2004 to the last Treasury auction and thus may have more than a few different yields on it with various time frames. If you buy a 10 year bond that was issued in 2004, it will mature soon and thus not pay as much as one that was issued in 2013 that may have more times to still pay out. You could buy a 10 year bond that will mature in 2019 and thus have 5 years left to maturity and thus would likely have yields like 5 year bonds in terms of how it is priced. Thus, when say, "The 10 year bond" are you talking about a 10 year Treasury bond in the next auction, a 10 year TIPS or are you referencing something that is already out there?
Comment: Thanks guys for the quick answers. Let me clear up a bit more exactly what I was asking. I buy the 10 year bond today, as time goes by do I always look at the interest rates for 10 year bonds, regardless of how much is left until the bond matures?
Comment: Thank you, thank you, thank you. You cleared up something that was bugging me for days.