The problem I wish to solve: I need to figure out where in my system a specific program stores its files. I thought there might be a way for me to monitor which files this program changes. Is this possible?
I have a program which I am trying to run, however when I run it; it just complains that it can't find a particular file.  However I have no idea which folder it is trying to find this particular file in. I have a copy of the required file, I just need to know which folder to copy it too.  Is there any way to show in real time which files are being accessed or which files are trying and failing to be accessed?  I am using Ext4 filesystem if that helps.  Thanks
calling main() in main() in c How to move a window if titlebar is overlapped by Ubuntu menu How to move my cube left or right using touch Inputs (C#) in unity I am trying to create a 3d game in unity. I have a cube in unity and I want it to move left or right on swipe . It should move to a distance till where user swipe or take their finger off of a screen. I want it to move fast or the cube should move fast on swipe and cube should flow smooth. Like in the gif there is a circle and the user use their finger to move the circle till wherever the user swipe it and it should be instant and I want my cube to move like that at a distance till where user swipe their finger and it should be instant and fast.  I don't know how to do it. Any help is appreciated! Mac-like alt-tab replacement for Windows 7? Is there an alt-tab replacement for Windows 7 that works in the same manner as command-tab and command-tick (tilde) on OS X?  Requirements:  1. Completely keyboard-shortcut-based, no mouse action should be necessary.  2. 2 keyboard shortcuts with the following behavior:  a.) alt+tab:       cycles through open applications (NOT windows... applications, meaning even if i have 10 firefox windows open, I only want to see firefox once in the list that comes up when i hit this shortcut)  b.) alt+`:     cycles through WINDOWS that are instances of the currently active application (meaning if firefox is my active window and i hit shortcut2, it will cycle through those 10 firefox windows, while ignoring any other windows from ANY other application).    Update 08:40 5/21: I tried out eidylon's suggestion, TopDesk.  It doesn't provide any of the functionality described here.  Other apps I've already tried:   VistaSwitcher Switcher Dexpot (awesome app, still using, but doesn't do what I want in this case... also looked for plugins but couldn't find one that does it) UltraMon Nvidia nView   update: Unfortunately I still haven't found a solution for this.  update: made this a community wiki in case anyone is ever able to find a solution for this. I have now almost completed my family tree, having each branch going back to approximately the French revolution, discovering dozens of previously unknown ancestors.  I would like to share the family tree with my family, the problem is that I cannot have a tree in a nice format that could be printed on a standard A4 sheet (maybe using both sides or whathever).  I have a SVG tree that use graphics, but it is unconventionally large and if scaled down to a A4 sheet, the text would be so small that it would not be legible. The maximum width is of about 50 ancestors of a generation, then it goes sparse again.  I'd like to know if a format exist where the family tree (with direct ancestors only) would be printable, with names but also other complementary information, and the format should be printable as not all my family users are particularly skilled with computers. i just finished updating my Macbook pro to macOS Catalina and after the installation finished i got this error message that keeps reappearing. i do not know or have a file named "qnmqkmkrqwfq" (i tried searching for it) and when i press show in finder or ok it disappears for a second and then pops up again for no reason and i am not trying to open any files or apps. i searched and the only solution i found was setting "Allow applications downloaded from: Anywhere" but it did not work. Please Help. While I've done quite a bit of travel now and back myself to handle situations when it comes to border guards, sorting accommodation and / or transportation, one thing I still struggle to come to terms with is haggling in the markets, be it for food, clothing or other.    Image © Peter Morgan, 2014   What is the best way to go about this? I'm generally either worried I'll offend them, or that they're trying to rip me off anyway, so it's a weird combination of awkwardness inside my head ;) Good and easy way to share files on local machine I would like to have a directory that has following properties:    Many users can copy files into it  These files can be deleted/changed by these users (user A can delete/modify file that was copied into this directory)    it cant be done using normal file permissions (because permissions are retained on copy).  Here is what I found on the net:        Some use cases:    Sharing music on local machine  Simple git repository sharing (just make a bare repository writeable to many people) --- i know that there are solutions like gitosis Allow many developers to modify test instance of php app without giving them root (i guess they would copy files) --- I'm leading a team of nonprofit junior developers and I need to keep that one simple!    EDIT  AFAIK setting SGID bit is not enugh, it only affects newly created files --- and basic workflow for these use cases ivnolves copying and other operations (which cleave file's gid unchanged) How do I deal with a bored or distracted player bringing down the group? My group have been playing various D&amp;D style games for a few years,  I have one player however that often will drift off and start playing on his phone  and several times has actually fallen asleep (with his character having to be "nudged" along by his fellow players).  He insists he's "just tired" and "isn't bored" — and besides, he keeps insisting we all get together for D&amp;D and wants to play.  Unfortunately we're all pretty busy, so if I'm to get the group together at all it's usually late on a Sunday. After talking to the player he insists it's not the game, or the story, he just happens to be tired. But, it's the same excuse every week, and the odd times we've played at different times or situations, the falling asleep has happened.  How do I cope with:   The morale destroying (for me) idea of your players falling asleep through a campaign and story you've put lots of work into. The general tone of the room when this player loses interest. (Occasionally a couple of others zone out into Facebook when they're not "active" because the players have split up / gone unconscious).   Given that it's an "all or nothing" situation with the group (there are only 3 players and they won't play unless all 3 are around), how do I best deal with it? Is it possible to find power armor in the wasteland? If you send somebody out in the wasteland for long enough with good enough luck, is it possible to find power armor or any other legendary gear? I have this:  If String.IsNullOrEmpty(editTransactionRow.pay_id.ToString()) = False Then     stTransactionPaymentID = editTransactionRow.pay_id 'Check for null value End If   Now, when editTransactionRow.pay_id is Null Visual Basic throws an exception. Is there something wrong with this code? Graduate student in or of? In my cover letter I want to write that I am a graduate student in statistics. But I am not sure about the "in". So what is correct?     I am a graduate student in statistics.      I am a graduate student of statistics. As a(n) noun vs as only Run a program X times I want to create an effect on a character where their skin and clothing are effected by two different light sources. The clothing should only reflect a bright bounce light, but have the skin should not be affected by this light source.    In the example image I have two objects a cube, a sphere and three emission  lights . I want the two white lights to hit both objects, and I need the purple light to hit and reflect off of the sphere, but ignore the cube entirely (no reflections).  Someone suggested to composite the layers together, it works... but this is very impractical and cumbersome because it forces the background to be transparent and it will be a pain to try and layer together a more complex scene, especially if its animated which is what I want this effect for.  I know you can have objects ignore shadows and all kinds of other things so im hoping someone knows how to get an object to ignore light with a few settings. What spell slot count formula can I use to base my homebrew mechanic on? Should there be a place to ask about programming libraries and technologies? When you're logged in to a Stack Exchange account, it's possible to add and remove logins (associated OpenID/OAuth accounts) without performing any form of reauthentication.  This is not a full vulnerability in itself, but it provides an extremely easy way for an attacker who's found a temporary XSS vulnerability to turn that into a permanent account hijack. An XSS exploit on its own may only provide a minute of indirect access to a user's account. But with this login configuration, the attacker could use that minute to automatically:   Add a new attacker-controlled login to the account. For example:   The XSS JavaScript would generate a random identifier, and use that to construct a login URL of the form http://hacker.example/openid/1234567. The hacker.example server would automatically authenticate the first OpenID login request made with a given identifier, allowing it to be added to the account without user interaction. All subsequent login attempts would be automatically rejected for the user. The hacker.example server would notify the operator with the account name and the generated identifier, and would allow them to login to it.  Remove all existing logins from the account. Log the user out of their account, with no way to get back in.   If this exploit were used to hijack moderator and staff accounts it could makes it more difficult to quickly respond to an attack, creating a greater opportunity for extended abuse.  This is a broader instance of the same fundamental vulnerability which was previously-reported as . That instance is a little more straightforward to fix: just ask for the password again when changing it. However, safe reauthentication with OpenID/OAuth logins is more complicated. Most users' OpenID providers will be configured to automatically re-authenticate upon request, so there would be minimal security gain from requesting that.  Instead or as well, my suggestion is that for users that have a verified email address, require an emailed confirmation link to be clicked before committing any login changes.    I'm not a real security expert, but I've just found that fellow Stack Overflow user , who is, previously described this vulnerability in his 2012 blog post :     If an attacker can add additional login accounts then they can create a persistent mechanism to get back into that Stack Overflow account at any time without needing to hijack the session. Now of course the victim can always go into their account settings and identify the presence of the new login, but it’s a question of how much damage is done before then.      How would an attacker mitigate the risk of having their newly added account removed? Just remove the victim’s original account(s) instead.      [...]      Finally, this is also a lesson for those considering using third party authentication providers. Yes, it’s great that you can farm off this work to someone who has a solid implementation, but you still have responsibility for securing the authenticated session on your site. If you choose not to, be aware of the risks because certainly we’ve seen them exploited before. Can an Indian citizen holding a valid USA visa visit Colombia without a visa? I am planning to travel to Colombia for about a week to attend an academic conference. I am an Indian passport holder currently living in USA with a F-1 visa. Do I need to obtain a visa beforehand from the Colombian consulate?  I have found   that claim that Indian citizens holding a valid USA visa are not required to apply for Colombian visa.     However, I am not sure if these sources are "official" and trustworthy.Is there a more official source? Also, does this rule apply to "tourists" only? Does anyone have any personal experience with this rule? Unable to start Oracle database We have an Oracle database, one data file (users tablespace) of the instance got corrupt and another data file (containing application data) was deleted due to some issue.  The database is in ARCHIVELOG mode, but we neither have data file backup of both data files nor the pertaining archive logs. Hence, I guess we cannot go ahead with the recovery of data files. I am unable to open the database as the data files are not available and face.   ORA-01589: must use RESETLOGS or NORESETLOGS option for database open    I am just able to STARTUP MOUNT the database  I wanted to ask if we can somehow we can open the database by taking both the tablespaces offline after STARTUP MOUNT the database instance. Or if there is any other way I can start the database.   There was a power issue and the  server got abruptly shutdown. When we tried to restart the database and found that we were facing ORA-01589: must use RESETLOGS or NORESETLOGS option for database open. On further analysis we found that 2 of datafiles were creating problem as one got corrupt other deleted as mentioned. As of now if I try to restart the database it says one datafile which belongs to users tablespace need recovery. I wanted to confirm as if we can start the instance by bringing the tablespace offline.  I tried:  SQL&gt; select open_mode from v$database;  OPEN_MODE ---------- MOUNTED  SQL&gt; alter database open resetlogs; alter database open resetlogs * ERROR at line 1: ORA-01194: file 1 needs more recovery to be consistent ORA-01110: data file 1: '/flowsystems/oradata02/flsta02/system01.dbf'   I don't have any archive logs.