File Server Resource Manager (FSRM) inconsistently triggering on a file screen rule

I’ve been exploring the capabilities of the FSRM — specifically the File Screen Management feature — to see how it works and what it can do. To test it out, I set up in a lab with some VMs. I created a few dummy accounts in our domain, set them up with roaming profiles pointed to our file server, and then made a file screen to ping on NTUSER.DAT. The rule is very simple; it operates in passive mode so all it does is sends me an email whenever an NTUSER.DAT file gets created or modified. In theory, I should get a message every time one of my dummy accounts logs into (or more precisely, OUT of) a workstation.

I’m finding that it’s very inconsistent. To test the rule on the initial creation of the file, I would log in to a VM with a dummy account, log back out, and see that it creates the NTUSER.DAT file every single time (as it should). I then delete the profile off the server, revert the VM, and do it again. I did this dozens of times with 3 different accounts. FSRM usually gets triggered, but not always.

To see how it would behave on file modification (which is really what I was most curious about), I left three VMs signed in with the dummy accounts overnight with a group policy that configures them to sync the profile every hour. Over the course of 15 hours with 3 accounts signed in, I should’ve gotten 45 emails. I only got 6 or so. I know that NTUSER.DAT is being updated every hour because I can see the time stamp change. So FSRM far less consistent about modification than it is at file creation.

I’ve left those VMs running for several days now. I should be getting spammed with notification emails, but I’m not. They only trickle in at a rate of one every couple of hours on average, but even that is inconsistent. And again, if I delete the profiles, revert the VMs, and sign in/out again, I’ll get more notifications, but it’s still not 100%. I even set up a command line in the rule too that dumps an empty text file onto the drive just to make sure email wasn’t the problem. That part is 100% consistent. Every time I there’s an email, there’s also an empty text file. I never get just one or the other, so it’s definitely the rule not getting triggered and not a problem with emails getting blocked or whatever.

So what gives?

¿Se puede usar un Resource Dictionary en xaml para instanciar Page?

Lo que pasa es que tengo un Datagris y queri cargarlo dinamicamente en una Page, como este ejemplo


este se encuentra instalando esta app: https://www.microsoft.com/en-us/p/xaml-controls-gallery/9msvh128x2zt?activetab=pivot:overviewtab

y me gustaria crear algo similar, que cargando un GridView por medio de una lista, pero no se si pueda crear esa lista en algun Diccionario de recursos y los llamo desde la View algo asi como:

Diccionario de Recursos



    


Y en la vista en algun lugar llamarlo asi:


     

notar que en MySuperBox llamo al proceso en el diccionario de procesos

¿Puedo hacer eso en UWP???? es que esto lo hice en WPF hace tiempo

find a dialog in ida using resource hacker

I am having difficulties finding the dialog reference in IDA.
e.g. i can trace a dialog in “resource Hacker” or “PE Explorer” which looks like this:

5035 DIALOG 0, 0, 295, 163
STYLE DS_SETFONT | DS_MODALFRAME | WS_POPUP
CAPTION ""
LANGUAGE LANG_DANISH, 0x1
FONT 8, "MS Sans Serif"
{
   CONTROL "", -1, STATIC, SS_BLACKFRAME | WS_CHILD, 0, 0, 295, 163 
   CONTROL "Static", 1526, STATIC, SS_LEFT | WS_CHILD | WS_VISIBLE | WS_GROUP, 129, 121, 68, 16 
   CONTROL "Static", 1527, STATIC, SS_LEFT | WS_CHILD | WS_GROUP, 199, 123, 93, 14 
   CONTROL 551, -1, STATIC, SS_BITMAP | WS_CHILD | WS_VISIBLE, 0, 0, 295, 163 
   CONTROL "Progress1", 1232, "msctls_progress32", WS_CHILD | WS_VISIBLE | WS_BORDER, 0, 138, 295, 14 
   CONTROL "Number of trials left:", -1, STATIC, SS_LEFT | WS_CHILD | WS_VISIBLE | WS_GROUP, 2, 154, 63, 8 
   CONTROL "15", 1519, STATIC, SS_LEFT | WS_CHILD | WS_VISIBLE | WS_GROUP, 65, 154, 9, 8 
}

How, or what should i look for in IDA in order to find where it is being referenced?

Good resource for practice problems for inductive proofs

Every year, I teach my students about using induction to prove that algorithms function as intended. My purpose, in instructing them, is to help them master the structure of the proof itself. I use simple algorithms for which we can do fairly easy inductive proofs. Here are a few examples:

Prove that arraySum will correctly compute the sum of all of the elements in arr.

public int arraySum(int[] arr){
    int k = 0;
    for (int g = 0; g < arr.length; g++)
        k = k + arr[g];
    return k;
}

Prove that this function will return $n^2$: Assume n is positive.

public int square(int n){
    int sum = 0;
    int count = 0;
    while (count < n){
        sum = sum + n;
        count = count + 1;
    }
    return sum;
}

As you can see, I am not aiming for complicated algorithms. What my students need (and what I need) is a good source for practice problems. I'd absolutely love it if they were already carefully solved (so that my students could independently study with them and check their own answers), but I could work with any source that simply has a series of pre-made reasonable practice problems.

Is there any such resource out there?

Investing in town and resource nodes – what do they do?

There are 3 main type of nodes in Black Desert Online:

  1. Grind nodes
  2. Resource nodes
  3. Towns

Investing in grind nodes is clear what it does (increase drop chance by x% depending on lvl). You can get this info from invest button tooltip.

But what does it to for others? I’m assuming that since the button is there there is an use for it.

I’ve read multiple forums/theories regarding what it does but nothing conclusive. Also tested some myself but because of rng gains is really hard to test alone (would need like 2-3 years to test by myself and get some clear results).

Some theories are:

  • For resource nodes it increases the number and/or quality of gained items (Tested myself on 2 nodes but results where inconclusive – I got indeed an increase of like 10% between a lvl 1 node vs a lvl 10, but it may as well be rng, worker level, etc. Also since the period was over 2 months I may have loose track of some of the items).

  • For towns it gives you better amity game odds for all npcs in town.

  • For towns it decreases the amount of amity you loose when you buy from amity shops.

  • For towns it increases the odds for lucky crafts (lucky tools, superior gear, etc.).

  • There are some other but from what I tested those were not valid (feel free to add to the list).

None of the things listed here were confirmed/invalidated by me or any resource I found.

The question is: what does investing in towns and resource nodes do? The answer should have an official or reliable source OR should be backed up by testing data.

“one-off” use of http_proxy in a Chef remote_file resource

I have a use case where most of my remote_file resources and yum resources download files directly from an internal server. However, there is a need to download one or two files with remote_file that is outside our firewall and which must go through a HTTP proxy. If I set the http_proxy setting in /etc/chef/client.rb, it adversely affects the recipe’s ability to download yum and other files from internal resources. Is there a way to have a remote_file resource download a remote URL through a proxy without setting the http_proxy value in /etc/chef/client.rb?

In my sample code, below, I’m downloading a redmine bundle from rubyforge.org, which requires my servers to go through a corporate proxy. I came up with a ruby_block before and after the remote_file resource that sets the http_proxy and “unsets” it. I’m looking for a cleaner way to do this.

ruby_block "setenv-http_proxy" do
    block do
        Chef::Config.http_proxy = node['redmine']['http_proxy']
        ENV['http_proxy'] = node['redmine']['http_proxy']
        ENV['HTTP_PROXY'] = node['redmine']['http_proxy']
    end
    action node['redmine']['rubyforge_use_proxy'] ? :create : :nothing
    notifies :create_if_missing, "remote_file[redmine-bundle.zip]", :immediately
end

remote_file "redmine-bundle.zip" do
    path "#{Dir.tmpdir}/redmine-#{attrs['version']}-bundle.zip"
    source attrs['download_url']
    mode "0644"
    action :create_if_missing
    notifies :decompress, "zipp[redmine-bundle.zip]", :immediately
    notifies :create, "ruby_block[unsetenv-http_proxy]", :immediately
end

ruby_block "unsetenv-http_proxy" do
    block do
        Chef::Config.http_proxy = nil
        ENV['http_proxy'] = nil
        ENV['HTTP_PROXY'] = nil
    end
    action node['redmine']['rubyforge_use_proxy'] ? :create : :nothing
end

Terraform resource definition for Azure App Service Environment

I am trying to create an Azure App Service Environment using Terraform.
Is there any real-life working samples for this? How should we decide to use a terraform resource is there a tested resource information published on the web?

Reference
https://docs.microsoft.com/en-us/azure/app-service/environment/intro
https://github.com/terraform-providers/terraform-provider-azurerm/pull/869

How to avoid contention in resource management when delivery managers can access availability?

The setting is >500 people IT services. You can think of it as a staffing agency, we only do T&M, although we hire our consultants (we have a bench). We do not really mange projects, what delivery managers focus on is making sure a client is happy and people are filling their timesheets.

We are struggling with the following:

Information about availability of people for projects is restricted to the resource management team. This includes peoples’ profiles, too (who is available, since when, skillset, etc.). This hampers planning and transparency for delivery managers, who are in charge of keeping their projects staffed, because all information is centralized and resource manager is a “global gatekeeper”. He is the only person able to answer resourcing questions and provide people.

We have tried to open information on availability and profiles of people to delivery managers, but it ended up in contention, managers effectively skipping resource planning, fighting for best resources, etc.

How to address this? Is there a way to avoid contention whilst maintaining resource availability information available to managers? Any best practices?

I have ability to “influence” this process, but I feel that without strong “proof” or meritocratic approach I will not be able execute on it.