hey if anyone is interested I am looking for the following Thread and post exchanges packages.

once filled I will change packages and quantity.

exchanges with Zuels.com

Improving PHP ZipArchive Perfomance – Code Review Stack Exchange

I am trying to pack around 50 files from a folder to zip file using PHP ZipArchive. Actually, only at most five files are ever changing. Others remain same static files. Should I zip the folder for every request or just replace those five files. Which one would be better for memory consumption and performance?

``````<?php
\$zip = new ZipArchive();
\$zip->open('example.zip',  ZipArchive::CREATE);
\$srcDir = "/folderTobeZipped/";
\$files= scandir(\$srcDir);
unset(\$files(0),\$files(1));
foreach (\$files as \$file) {
}
\$zip->close();
?>
``````

Minecraft exploit finder – Information Security Stack Exchange

By clicking “Accept all cookies”, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy.

Project CSOM create users – SharePoint Stack Exchange

Project Online has its own set of users, seemingly independent from SharePoint. Refer PWA Settings –> Manage Users. Via CSOM, these users are present in `ProjectContext.EnterpriseResources` collection. It’s possible to add resources to this collection using a `EnterpriseResourceCreationInformation` instance, but they don’t show up as users in “Manage Users”.

I’m aware that there’s a `UserCreationInformation` class, but the only examples I can find for using that are to add users to SharePoint groups, not as PWA users.

Computations on differential geometry – Mathematica Stack Exchange

I have to do some really long computations of basic riemannian geometry. I am trying to use Mathematica to check them. This is the kind of computations I want to do. Let $$M$$ be a riemannian manifold and $$f:Mrightarrow M$$ be given by $$f(x)=x$$, then I want a code that tells me that
$$df_x(e_i)=e_i,$$
for $$xin M$$ and $$e_iin T_xM$$.
Also some of the computations involve and inner product. For exampe, if $$f:Msubset (mathbb{R}^3,langle, rangle) rightarrow mathbb{R}$$ is given by $$f(x)=langle x,xrangle$$ then I would like to have a code that tells me that
$$df_x(e_i)=2langle x,e_irangle,$$
for $$xin M$$ and $$e_iin T_xM$$.
I would be thankful for any help.

Front running in Bitcoin – Bitcoin Stack Exchange

By clicking “Accept all cookies”, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy.

python – Employee directory – Code Review Stack Exchange

Starting with the last line:

``````menu()
``````

Standard practice is to put this in a “main guard”, so that the file is usable from other programs:

``````if __name__ == '__main__':
``````

This bit looks fragile:

``````    key = str("0"*(6-len(str(x)))) + str(x)
``````

There’s an assumption there that all employee ids are 6 digits (and that’s a convoluted way to format – much simpler would be `key = f'{x:06u}'`).

Recursively calling `menu()` as the last action of each user function means that we constantly recurse into that function. Simply looping is more memory-efficient.

``````        os.system("clear")
``````

That’s risky. We’re using whatever `PATH` we inherited, which might not include a `clear` command – or worse, it might include one that does something completely unexpected.

What’s the `reset()` function for? It seems to replace `dict` with a copy of itself, which seems like a waste of electricity.

``````if selection == "1":
⋮
if selection == "2":
⋮
if selection == "3":
⋮
if selection == "4":
⋮
if selection == "5":
⋮
``````

This kind of `switch`/`case` is normally represented in Python using an action dictionary. If you really want to use `if`, it’s better to use `elif` to skip the conditions following the match.

``````for x in range(1, len(dict)+1):
key = list(dict.keys())(x-1)
``````

Why offset everything by 1? We could as easily write `for x in range(0, len(dict)` and then simply use `x` rather than `x-1`. But in any case `for x in range()` is a code smell; here we just want to iterate over all of `dict`‘s elements:

``````for key,value in dict:
print(f" Name: {value(1)} {value(2)}n Position: {value(0)}n Employee ID: {key} n")
``````

This is a partial review; I ran out of time here.

Yammer tenant tenant Migration – SharePoint Stack Exchange

By clicking “Accept all cookies”, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy.

Fizzbuzz in C lang – Code Review Stack Exchange

`````` #define EXIT_SUCCESS 0
``````

You are not permitted to define standard library names yourself. So just include `<stdlib.h>`, or omit the `return` from `main()` (remember, C will provide a success return if you don’t provide one).

``````void fizzbuzz(int n) {
``````

We could give that internal linkage:

``````static void fizzbuzz(int n) {
``````
``````char result(9) = "";  // strlen("fizzbuzz") + 1 == 9
``````

Instead of manually calculating, we could use `sizeof "fizzbuzz"` to let the compiler do that for us.

``````    if (!*result) sprintf(result, "%d", n);
``````

We should be using `snprintf()` here, as the decimal representation of `n` can be longer than `result` has capacity for (even on common platforms with 32-bit `int`).

I would avoid writing to `result` in this case – we can format directly to `stdout`:

``````    if (*result) {
puts(result);
} else {
printf("%dn", n);
}
``````

`main` should be specific about its arguments:

`````` int main(void)
``````

``````#include <stdio.h>
#include <string.h>

void fizzbuzz(int n)
{
char result(sizeof "fizzbuzz") = "";
if (n % 3 == 0) { strcat(result, "fizz"); }
if (n % 5 == 0) { strcat(result, "buzz"); }
if (*result) {
puts(result);
} else {
printf("%dn", n);
}
}

int main(void)
{
for (int i = 1;  i <= 100;  ++i) {
fizzbuzz(i);
}
}
``````

Theme: Music

Either literal (instruments, musicians, performance) or figurative (geometric or natural patterns which evoke the patterns of music).

This theme was suggested by mattdm.

Voting Rules

• View the submissions sorted by active to give every submitter a fair chance
• Vote up as many images as you like
• Please, up votes only! Do NOT vote down your competitors! If you don’t like an image, don’t vote
• Voting closes on August 9, 2021 at 12:01 AM UTC (00:01 UTC if you prefer a 24-hour time). The winner will be chosen based on votes at that time.

Submission Rules

1. One photo submission per answer. Up to three (3) entries allowed.
2. Post only photos taken by yourself or the person with you.
3. All entries should include:
• a title for the photo
• a location and date, if known
• camera, lens, and exposure settings, if known
• any other explanatory notes, comments, etc., that you want to include (completely optional)
4. The submitted image must conform to this site’s content license, Creative Commons Attribution-ShareAlike 4.0 (CC BY-SA 4.0) with attribution required.