Adding support for notifications for replication of TTL updates

Codecov Report

Merging #966 into master will decrease coverage by 0.09%.
The diff coverage is 0%.

@@             Coverage Diff             @@
##             master     #966     +/-   ##
===========================================
- Coverage     67.63%   67.53%   -0.1%
+ Complexity     4473     4468      -5
===========================================
  Files           367      368      +1
  Lines         29081    29085      +4
  Branches       3691     3691
===========================================
- Hits          19668    19644     -24
- Misses         8392     8414     +22
- Partials       1021     1027      +6

Impacted Files
Coverage Δ
Complexity Δ

...java/com.github.ambry/notification/UpdateType.java
0% <0%> (ø)
0 <0> (?)

...ithub.ambry.commons/LoggingNotificationSystem.java
53.33% <0%> (-8.21%)
4 <0> (ø)

...c/main/java/com.github.ambry.network/Selector.java
78.4% <0%> (-3.6%)
44% <0%> (-1%)

.../main/java/com.github.ambry.store/HardDeleter.java
80% <0%> (-1.94%)
41% <0%> (-1%)

.../com.github.ambry.router/GetBlobInfoOperation.java
80.47% <0%> (-1.19%)
34% <0%> (-1%)

...ava/com.github.ambry.store/BlobStoreCompactor.java
93.2% <0%> (-1.03%)
127% <0%> (-3%)

...b.ambry.network/BlockingChannelConnectionPool.java
62.6% <0%> (-0.87%)
7% <0%> (-1%)

...in/java/com.github.ambry.network/SocketServer.java
82.78% <0%> (-0.41%)
13% <0%> (ø)

...in/java/com.github.ambry.store/BlobStoreStats.java
70.57% <0%> (-0.24%)
82% <0%> (ø)

... and 1 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 76eb6fd...df85d37. Read the comment docs.

@dharju Addressed comments. Running the integration tests (travis doesn't run them) to make sure changes are ok

@dharju local ./gradlew build and ./gradlew test succeeded (travis failure unrelated - different flaky test)


OpenCL clSetKernelArg

https://github.com/HPCToolkit/hpctoolkit/blob/abb1756f5a2b0f44bb7d0ae6e04ce4a79ca7098a/src/tool/hpcrun/sample-sources/opencl.c#L120
https://github.com/HPCToolkit/hpctoolkit/blob/abb1756f5a2b0f44bb7d0ae6e04ce4a79ca7098a/src/tool/hpcrun/gpu/opencl/opencl-api.c#L1137
Effectively, opencl_api_finalize is called in thread_fini function, so it is still in a multi-threading environment. Then, the following usage not safe. Actually, I am not sure why it is called in thread_fini.
https://github.com/HPCToolkit/hpctoolkit/blob/abb1756f5a2b0f44bb7d0ae6e04ce4a79ca7098a/src/tool/hpcrun/gpu/opencl/opencl-api.c#L539
It flushes back all the correlations while other threads that are alive could lose correlations.
https://github.com/HPCToolkit/hpctoolkit/blob/abb1756f5a2b0f44bb7d0ae6e04ce4a79ca7098a/src/tool/hpcrun/gpu/opencl/opencl-api.c#L543
This map should be used in a single thread situation.

@aarontcopal2


fix(modal): focus

Fix modal change focus and dispatch open event after every update.
I detected the bug after using a form:

Thank you for the fix @mfeitoza
Released in v0.5.1


Add checks for out-of-bounds coordinates during tiling process

What is the purpose of this PR?
Closes #197. See the issue for more details.
How did you implement your changes
Again, see issue #197 for more details.

Looks great. Did you try running all of the notebooks with valid and invalid values to make sure they're caught appropriately?

The initial co-registration with bad optical coordinates
The initial co-registration with bad stage coordinates
The tiled image notebook with FOVs off the slide

Yup verified that errors are thrown if any coordinate provided is out of bounds.


Default example styling

Right now, the default example looks okay-ish, but it's not cross-browser tested at all and could be made nicer looking and working.

@mxstbr I could look into working on this this weekend if you don't mind me taking time from working on the website.

I think this is fine, I'd rather get the website and v3 finally out of the door. :+1:
Closing for now, but we'll definitely revisit this after the initial release!

Sounds good 🐐


add mobile support

Description
Adding mobile support by making the pages responsive
Screen capture
https://github.com/zkp2p/zk-p2p/assets/33237379/6cfb4c91-df3e-497d-a373-858e608632e6

I started this a while ago and thought about transitioning the TopNav to a BottomNav at a certain breakpoint. Is that something you can incorporate?
https://github.com/zkp2p/zk-p2p/commits/alex/mobile_web/

Based merge


Try It sidebar in docs doesn't render the source query, always defaults to /me query

Describe the bug
Selecting the Try It link opens the embedded  Graph Explorer window but the URL is always https://graph.microsoft.com/v1.0/me. You must manually paste the actual URL that you wanted to try.

Hello @FaithOmbongi. this has been fixed under #2148 and is part of the release going out immediately

Thank you, @thewahome, for your swift action. I confirm that the issue has been resolved.


xdman-beta: Add version 8.0.12

Closes #733

[x] I have read the Contributing Guide.

/verify

/verify

What do you mean by, "keep the two slightly different versions in sync"?

@Zliced13 https://github.com/ScoopInstaller/Extras/blob/HEAD/bucket/xdman.json and this PR install the same software, just different versions. To simplify maintenance of both versions, the two should mimic each other as much as possible. For example, this PR is missing the suggest and notes sections. Are these sections no longer applicable, as it's now an .exe, instead of a .jar?

This version of the software does not require ffmpeg, youtube-dl as it the installer package now contains them inside already. Also this version is built using C# instead of Java, which means there is .exe file instead of a .jar file.

Thanks for adding it. By the way, how about changing the description of xdman to something like this (from its Github page)?

Xtreme Download Manager (XDM) is a powerful tool to increase download speeds up to 500%, save videos from popular video streaming websites, resume broken/dead downloads, schedule and convert downloads.

I could make a PR if you wish

You should make a PR if you think the description of that should be changed.


Integrate JUnit tests directly into NetBeans project and run on Travis CI

I'm not sure if this is a path you might want to take, but I thought I could integrate the tests directly into the main project so they can be run via NetBeans' "Test" feature and output shows up directly in the IDE.
This has a second advantage that tests can be run automatically on Travis CI directly from ant. I set it up pointing at my repository for now:
https://travis-ci.org/psy-q/FlagMaker-2/builds
But of course it would have to be set up for the main repo instead. Travis' Linuxes are not new enough to test with OpenJDK because they lack OpenJDK 8 and OpenJFX. But an issue has been opened on Travis to add this at some point.
If you don't like Travis, I can revert that and submit a new request just with the test reorganization. If you don't like that either, I'll delete the request :)

I'll take a look into this soon. This is something that I decided early on was probably going to be overkill for a project like this, but since you've already got something set up it wouldn't hurt to get it the rest of the way there.


Feature request: add three level toc in left nav

Feature request: add three level toc in left nav

As of #48, this behavior is inherited form the mkdocs theme and should be addressed upstream.


Resolve bareword shadowing related errors for custom ID generators

Before this PR, if a custom ID generator was defined in .vimrc to override the random ID generator, vim would throw errors out when starting (but otherwise worked fine).
This PR changes the name used to provide custom generators so that it does not shadow or clash with the bareword used by the plugin (g:NeuronGenerateID).
It also updates the documentation in the readme.
After this commit, to change the ID generation behavior, a g:CustomNeuronIDGenerator function must be defined, that accepts a title parameter, and returns a string.
If one is not defined, the plugin continues to return IDs generated by the existing RandomID function.

Testing
This change has been tested manually in the following cases:

with no custom generator defined (default behavior), Zettels are created with random IDs
with a custom generator defined, Zettels are created with IDs built by the custom generator

For reference/further testing, the generator used to test this was:
function! g:CustomNeuronIDGenerator(title)
  if empty(a:title)
   " Copied from the default generator
    return system("od -An -N 4 -t 'x4' /dev/random")
  else
    let l:lower = tolower(a:title)

    let l:text = substitute(l:lower, '\W', ' ', 'g')

    let l:text_elements = split(l:text)

    let l:kebabed_title = join(l:text_elements, '-')

    let l:random_suffix = substitute(system("od -An -N 4 -t 'x4' /dev/random"), '\W', '', 'g')
    return join([l:kebabed_title, l:random_suffix], '--')
  endif
endfunction

Other considerations
This change has been made by converting what had been let g:NeuronGenerateID into a function, because I was running into issues where function refs were being treated as strings and Vim was throwing errors. Given that this achieves the same result, and my web searching didn't turn up an immediately identifiable fix, I went with this. Like I said before, vimscript is new to me, so I'm very open to the idea that I've reinvted a wheel somehow or something :sweat_smile:

Thanks!

Thanks!


Removing the warning about packages.config on build

Fixes #3
Removes packages.config from the cache in appveyor
Adding feature and bugfix branches to the build

Seems to remove the warning in #3, but adds a warning if repo-version is already installed. It seems that's included in the cache, so that will need to be addressed.
It also seems that the version is correct for pull requests, but no longer picks up versions on just branch builds.

https://github.com/kjjuno/repo-version/pull/62 Should fix the bad version on the feature branch

@kjjuno my suggestion wasn't to remove the entry from the AppVeyor Configuration File.  My suggestion was instead to include the tools/packages.config file into your repository.  This has always been the suggestion from the Cake Team, as it provides the most reliable and repeatable builds, by always pinning to the correct version of Cake.
So, for example, see this file in the Cake.Gem repository:
https://github.com/cake-contrib/Cake.Gem/blob/develop/tools/packages.config
And the entry in the .gitignore file which allows this to happen:
https://github.com/cake-contrib/Cake.Gem/blob/develop/.gitignore#L339-L341

I am using a poweshell bootstrapper that is cross platform and only requires dotnet core. I do not use a packages.conf file to pin the version of cake, but rather a variable in that bootstrapper.
Is there a different bootstrapper you would recommend for using Cake.CoreCLR?

@kjjuno said...
Is there a different bootstrapper you would recommend for using Cake.CoreCLR?

The recommendation going forward would likely be to use Cake.Tool.  An example bootstrapper for using this can be found in the Cake Repository itself.

@kjjuno said...
It seems that's included in the cache, so that will need to be addressed.

I have just flushed the AppVeyor cache for this project.

That blog post from Andrew has a link to the main Cake repository 😄
https://github.com/cake-build/cake/blob/06e7983704/build.ps1

@kjjuno you are very welcome, happy to help!


I will handle CI failure later


Improve crc_storage command to create custom storage

Currently we used to create crc_storage with local_storage name. If we export StORAGE_CLASS, it does not get overridden.
This patch fixes the same and allow user to create and cleanup custom crc storage.
Signed-off-by: Chandan Kumar<EMAIL_ADDRESS>

@stuggi @abays @cjeanner @pinikomarov please have a look, thank you :-)


Fixes #325 ensures correct caching in parallel webpack builds

Avoids reusing a previous cache if the tsconfig prop is different
Refs: #325

Is this happening because you have multiple tsconfigs?
Can you add a test?

Yeah, I have 3 parallel builds, and each has its own tsconfig.
As for adding a test -- any guidance there?

Specifically, it sounds like your issue is with multiple tsconfig.json files. The bug sounds like it could happen with one Webpack build regardless of parallel.
I would just follow the existing tests and add multiple tsconfig files.

I tried getting a test setup, but am not having any luck even getting the other tests to work -- the webpack4/5 ones work, but after that I get failures:
node:internal/crypto/hash:71
  this[kHandle] = new _Hash(algorithm, xofLen);
                  ^

Error: error:0308010C:digital envelope routines::unsupported
    at new Hash (node:internal/crypto/hash:71:19)
    at Object.createHash (node:crypto:133:10)
    at module.exports (c:\Users\Eric\code\eamodio\esbuild-loader\node_modules\.pnpm\webpack@4.46.0_webpack-cli@4.10.0\node_modules\webpack\lib\util\createHash.js:135:53)
    at NormalModule._initBuildHash (c:\Users\Eric\code\eamodio\esbuild-loader\node_modules\.pnpm\webpack@4.46.0_webpack-cli@4.10.0\node_modules\webpack\lib\NormalModule.js:417:16)
    at handleParseError (c:\Users\Eric\code\eamodio\esbuild-loader\node_modules\.pnpm\webpack@4.46.0_webpack-cli@4.10.0\node_modules\webpack\lib\NormalModule.js:471:10)
    at <anonymous> (c:\Users\Eric\code\eamodio\esbuild-loader\node_modules\.pnpm\webpack@4.46.0_webpack-cli@4.10.0\node_modules\webpack\lib\NormalModule.js:503:5)
    at <anonymous> (c:\Users\Eric\code\eamodio\esbuild-loader\node_modules\.pnpm\webpack@4.46.0_webpack-cli@4.10.0\node_modules\webpack\lib\NormalModule.js:358:12)
    at <anonymous> (c:\Users\Eric\code\eamodio\esbuild-loader\node_modules\.pnpm\loader-runner@2.4.0\node_modules\loader-runner\lib\LoaderRunner.js:373:3)
    at iterateNormalLoaders (c:\Users\Eric\code\eamodio\esbuild-loader\node_modules\.pnpm\loader-runner@2.4.0\node_modules\loader-runner\lib\LoaderRunner.js:214:10)
    at Function.<anonymous> (c:\Users\Eric\code\eamodio\esbuild-loader\node_modules\.pnpm\loader-runner@2.4.0\node_modules\loader-runner\lib\LoaderRunner.js:205:4) {
  opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
  library: 'digital envelope routines',
  reason: 'unsupported',
  code: 'ERR_OSSL_EVP_UNSUPPORTED'
}

Node.js v18.16.1
 ELIFECYCLE  Test failed. See above for more details.

There are also no docs for setting things up, running builds or tests, so I'm guessing I've set it up wrong (or its my Node version).
If you could help set this up it would be greatly appreciated. Thanks!

GitHub Actions runs the tests and they're passing.
Take a look at the setup:
https://github.com/esbuild-kit/esbuild-loader/blob/3ee8b5765aa229cf46c28898a8c22a71d9f5e6e4/.github/workflows/test.yml#L36-L39

As I mentioned, I've tried and spent a bunch of time on it and haven't been able to get it working. Also, I'm unsure about how best to observe this change in a unit test, as the only way I could see this is to build something (maybe even the same thing) with different tsconfigs which would result in differing outputs.
And to be completely honest, I don't have more time to spend on this issue. Hopefully this can either be merged without a test, or that you or another contributor could create it.

I was finally able to get a test working with an observable output change. The test fails before my fix and succeeds after it. It also proved that it doesn't have to do with parallel builds just multiple tsconfigs -- which IMO makes this bug even worse.

@privatenumber Not to bug you, but I would love to know if they can be merged soon. If not please let me know as this is blocking out esbuild upgrade, and I'll have to publish a fork with the fix -- which is fine, I just don't want to do that work if this will be merged soon. Thanks!

@privatenumber Can this get merged please?

Thanks for the PR.
I removed the caching for a bit. I plan on implementing it in get-tsconfig.

BREAKING CHANGE: tsconfig passed in by path is now applied regardless of whether it matches

Preparing the v4 release. Would you mind helping test?
npm install -D 'esbuild-kit/esbuild-loader#npm/v4'

Tried it out and works in my testing! TY


ESP 32 always reconnects

Hi,
im trying to use the ESP32 with the library, but it always gets disconnected:
12:36:44:497 -> connecting to wifi... connected! 12:36:44:500 -> connecting to host... 12:36:44:502 -> connecting to mqtt broker... connected! 12:36:46:341 -> connecting to wifi... connected! 12:36:46:344 -> connecting to host... 12:36:46:346 -> connecting to mqtt broker... connected! 12:36:47:783 -> connecting to wifi... connected! 12:36:47:786 -> connecting to host... 12:36:47:788 -> connecting to mqtt broker... connected! 12:36:49:514 -> connecting to wifi... connected! 12:36:49:518 -> connecting to host...
this is my code
const char *ssid = "";
const char *password = "";

#include <WebSocketsClient.h> // include before MQTTPubSubClient.h
#include <MQTTPubSubClient.h>
WebSocketsClient client;
MQTTPubSubClient mqtt;

// Button
const int buttonPin = 32;

void connect()
{
connect_to_wifi:
    Serial.print("connecting to wifi...");
    while (WiFi.status() != WL_CONNECTED)
    {
        Serial.print(".");
        delay(1000);
    }
    Serial.println(" connected!");

connect_to_host:
    Serial.println("connecting to host...");
    client.disconnect();
    client.beginSSL("---", 443);
    client.setReconnectInterval(2000);

    Serial.print("connecting to mqtt broker...");
    while (!mqtt.connect("arduino", "public", "public"))
    {
        Serial.print(".");
        delay(1000);
        if (WiFi.status() != WL_CONNECTED)
        {
            Serial.println("WiFi disconnected");
            goto connect_to_wifi;
        }
        if (!client.isConnected())
        {
            Serial.println("WebSocketsClient disconnected");
            goto connect_to_host;
        }
    }
    Serial.println(" connected!");
}

void setup()
{
    Serial.begin(115200);
    Serial.println("Start");

    WiFi.begin(ssid, password);

    // initialize mqtt client
    mqtt.begin(client);

    // connect to wifi, host and mqtt broker
    connect();

    // subscribe callback which is called when every packet has come
    mqtt.subscribe([](const String &topic, const String &payload, const size_t size)
                   { Serial.println("mqtt received: " + topic + " - " + payload); });

    mqtt.subscribe("test", [](const String &payload, const size_t size)
                   { Serial.println(payload); });

    // Button
    pinMode(buttonPin, INPUT_PULLUP);
}

void loop()
{
    mqtt.update(); // should be called
    if (!mqtt.isConnected())
    {
        connect();
    }

    if (digitalRead(buttonPin) == LOW)
    {
        Serial.println("Button pressed");
        mqtt.publish("test/buttontest", "pressed");
        delay(1000);
    }
}```

my bad,
if you have multiple eps running, every one needs an unique id.
Forum


Page layout

Perform HTML/CSS layout according to the design sketch, ensure adaptability for different devices.

First comment


TestSuite distribution includes many more jars in lib than should be needed

The TS HelloWorld for example includes many jars, such as:
activemq-client
Command-10.0.0
junit
hamcrest
etc.
However, when executing the TS with the TC runner many of these libraries are already present in the lib folder of the TC runner. Additionally, some of these jars are only required at test time, not at run, so they don't need to be in the distribution at all.
This is not extremely urgent, but it would drastically reduce the size of the distributions (and therefore the docker images!) of the Test Suites.

only the TS_HelloWorld-1.0.0.jar itself, and jars that are not already present in the classpath of the TC runner should be included as far as I am concerned.


Set icon color for specific tab

Hello,
is it possible to set the icon color for a specific tab icon? eg.: I have 5 tabs and I want to set the icon color for the middle icon to a different.
thanks in advance
best regards
Marcel

The example shows you how to do it.
https://github.com/thrive-now/BottomNavigationBarXF/blob/master/example/BottomBarXFExample/App.xaml.cs#L60


Enable unvalued element attributes - with a simpler test

Alternative to PR 514 - same (trivial) functional change but a much simpler AddOnSpec - in response to @jantimon's comments.

Replaced by PR531


Add /rotate to revocation api.

Added in handle_full_registry but seems to be some issues with how the counts work.
Cannot set the next_index to start at 0 because the credential data is invalid.
And because we don't track the index and current revocation id externally, we can't trigger the handle_full_registry until after a credential is created. So for every list/index we lose 1 slot. The only way I could successfully have registries rollover AND create the credentials successfully was triggering 1 slot before the max. cred. num.

I am adding more context for the issues I hit dealing with rev list indexes/cred revocation id
First, this is when I set the starting "next_index" to zero...
This is the holder side exception:
Credential: state = credential-received, cred_ex_id = b98bbfcd-385c-4729-9950-8f52442e475f
2023-10-03 16:27:41,207 aries_cloudagent.protocols.issue_credential.v2_0.formats.indy.handler ERROR Error storing credential: None - Error processing received credential
2023-10-03 16:27:41,208 aries_cloudagent.messaging.base_handler ERROR Error storing issued credential
Traceback (most recent call last):
  File "/workspaces/aries-cloudagent-python/aries_cloudagent/anoncreds/holder.py", line 198, in store_credential
    cred_recvd = await asyncio.get_event_loop().run_in_executor(
  File "/usr/local/lib/python3.9/asyncio/futures.py", line 284, in __await__
    yield self  # This tells Task to wait for completion.
  File "/usr/local/lib/python3.9/asyncio/tasks.py", line 328, in __wakeup
Credential: state = abandoned, cred_ex_id = b98bbfcd-385c-4729-9950-8f52442e475f
Problem report message: Error processing received credential. Error: Invalid structure. Caused by: Issuer is sending incorrect data.
    future.result()
  File "/usr/local/lib/python3.9/asyncio/futures.py", line 201, in result
    raise self._exception
  File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
Credential: state = done, cred_ex_id = b98bbfcd-385c-4729-9950-8f52442e475f
  File "/home/vscode/.local/lib/python3.9/site-packages/anoncreds/types.py", line 292, in process
    bindings.process_credential(
  File "/home/vscode/.local/lib/python3.9/site-packages/anoncreds/bindings.py", line 715, in process_credential
    do_call(
  File "/home/vscode/.local/lib/python3.9/site-packages/anoncreds/bindings.py", line 504, in do_call
    raise get_current_error(True)
anoncreds.error.AnoncredsError: Error: Invalid structure
Caused by: Issuer is sending incorrect data

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/workspaces/aries-cloudagent-python/aries_cloudagent/protocols/issue_credential/v2_0/handlers/cred_issue_handler.py", line 71, in handle
    cred_ex_record = await cred_manager.store_credential(cred_ex_record)
  File "/workspaces/aries-cloudagent-python/aries_cloudagent/protocols/issue_credential/v2_0/manager.py", line 623, in store_credential
    await cred_format.handler(self.profile).store_credential(
  File "/workspaces/aries-cloudagent-python/aries_cloudagent/protocols/issue_credential/v2_0/formats/indy/handler.py", line 435, in store_credential
    raise e
  File "/workspaces/aries-cloudagent-python/aries_cloudagent/protocols/issue_credential/v2_0/formats/indy/handler.py", line 415, in store_credential
    cred_id_stored = await holder.store_credential(
  File "/workspaces/aries-cloudagent-python/aries_cloudagent/anoncreds/holder.py", line 207, in store_credential
    raise AnonCredsHolderError("Error processing received credential") from err
aries_cloudagent.anoncreds.holder.AnonCredsHolderError: Error processing received credential

Quick ack from me; I'll take a closer look when I can!

Every rev list will be missing 1 slot; not a huge deal on larger sets.
I am not quite sure where the logic needs to be updated; it's possible it needs to be changed in the anoncreds Credential.create method. It would be nice if the library knows that it is on the last index to publish an event or something. Or if it has a pre-check method that would indicate how much space is left in the list?
It may be possible that it is a timing issue for the additional steps (upload tails file and register the revocation list), although I tried adding plenty of time (5 seconds) to see if that allowed those tasks to complete.

Speaking from memory, I think I once asked @andrewwhitehead why the first index is unused. I remember there being a good reason but I don't recall the details unfortunately. For a time I thought that the generic interface would have to be 0-based and then we'd have to map it to Indy where it was strictly expected to be 1-based. I had logic that performed this mapping and then, while testing, I found it was actually causing issues. I believe the anoncreds library is expecting indexes to be 1-based for most operations but the full revocation status list is of course just a list making it subject to 0-based indexing for us in python.

There's no technical reason why the counting has to start at 1, but that's the convention right now. The entries in the tails file are multiplied by powers of the secret gamma value, and the first usable tails entry is the first power, which is I think why the numbering was started there.

I’m not clear what “it" is that is starting skipping 1.  Could someone clarify?

Near as I can tell, if I set everything to be zero-based, so pass 0 to the anoncreds library to Credential.create, the credential is created successfully but the HOLDER cannot store the credential.
anoncreds.error.AnoncredsError: Error: Invalid structure
Caused by: Issuer is sending incorrect data

So something... the wallet? the spec? does not like zero-based, so the first credential is created using 1. But everything else is zero-based.

I added a couple changes here to verify the revocation index when a credential is created, as zero shouldn't be accepted: https://github.com/hyperledger/anoncreds-clsignatures-rs/pull/24
In indy-credx (using deltas), the indexes are always 1-based. For status lists, I'm not sure at the moment if the first index is skipped, or if it's interpreted as starting at 1.


Crash when starting minecraft

When I first ran disassembled this modpack. I was shocked, in the report I saw line (2) where it was written about your mod. I removed your mod and minecraft started ...
crash-2022-01-13_13.39.46-client.txt

Try again with the latest version.


Problem with matcher on Windows platform with latest code

I'm seeing some strange behavior where mbedtls is receiving a truncated https response from the matcher.go. I haven't seen this before and have no idea why it has started happening today (no changes made to yojimbo).
I updated to a latest Docker version and noticed this today, so I think it might be related to that.
I'm still investigating and don't know what it is yet so I'm putting this up so people know what's going on if they see this themselves.
Symptoms are:
"premake5 connect" fails to connect and says "failed to connect to matcher, is the matcher running?" even though the matcher is running.
Windows only. Seems fine on MacOS

I'm still getting this. I think Docker has been upgraded a few times since. Still working fine on MacOSX but broken on Windows. I still have no idea what broke this. I'm going to go back to an older version of code (known working on windows), to see if it is still broken there and if not, then binary search to find the point of breakage. WEIRD!

I'm looking into this issue this week. -- Glenn

Resolved. The mbedtls example code I had adapted had a bug when the HTTPS response was split into two packets, fixed the code so it could handle multiple calls to mbedtls_ssl_read and the matcher response comes through correctly. I think the split is due to MTU and started happening because of a Docker networking change specific to Windows, however the bug was real, it just never happened on other platforms, because the data came in with one call to ssl_read.


Mac rendering broken by commit [1189c9e29]

Describe the bug
In recent builds, I'm seeing incorrect rendering on macOS.  If I had to guess what's going wrong by looking at the output, I'd say that the depth buffer isn't getting cleared between frames.
To Reproduce
Steps to reproduce the behavior:

Invoke the rendertarget sample on the command line, like rendertarget -a metal.

Expected behavior
The sample is supposed to show a rotating head and a mirror reflection.
Actual behavior
The direct image looks OK, but the mirror image kind of disappears piecemeal.
Screenshots
I have a hard time snapping a screen shot fast enough, but here's one with just a little of the reflection still present.

Desktop (please complete the following information):

OS: macOS 11.3 Beta
GPU: Radeon Pro 560X 4 GB
Backend: Metal

Additional context
If I run the rendertarget sample using OpenGL, then the reflection is completely missing from the start.
It appears that the problem started with the commit "FrameGraph rewrite from the ground up  [1189c9e29]".
@pixelflinger

When I forced the hellotriangle sample to use Metal by editing filament/libs/filamentapp/include/filamentapp/Config.h, I also got some fun results:

Whereas hello triangle looks OK with OpenGL.

rendertarget and hellotriangle are both broken with OpenGL too, not just Metal.

@prideout I'm not seeing a problem with hellotriangle in OpenGL, but yes rendertarget fails, in a different-looking way, with OpenGL.

With hellotriangle on Metal, Filament is setting a LoadAction of DontCare, which is incorrect. The framegraph is most likely calculating incorrect discardStart flags.


Could not figured out difference between navbar and masthead

Is there any potential difference?
Navbar looks differently from that of bootstrap's orginal, masthead looks like navbar.

The masthead is similar to the Bootstrap navbar as are the toolbar and todc-bootstrap navbar. All of these todc-bootstrap components are based off of the Bootstrap navbar. Some of the differences are height, link style, padding, margins. The todc-bootstrap components are styled to match similar components in the Google UI in Gmail, Docs, Calendar, etc.
Keep in mind that todc-bootstrap is a Google-styled theme for Bootstrap.

Thank you! I got it. Great job!

You're welcome. Thanks


[ballast-debugger] Allow client to work with Ktor client 1.x and 2.x

Currently, because of a mismatch in Kotlin versions between Ktor 1.x, Ktor 2.x, and Compose, the current version of the Ballast debugger only works with the Ktor 1.x. The Websocket client should be pluggable so that the default behavior is the 1.x client, but if needed one could connect to a 2.x client they write themselves, or even use a different HTTP client library altogether

2.0.0 updated all ktor dependencies to 2.0+


[Question] Using larger backbone

Hi, does tracking currently support larger backbones like DLA above 34 or hourglass? If so, do you have an example of the opts for that?

Sorry for the delayed response. I haven't tried other models ...


Remove minting alert

Which package/s are you suggesting this feature for?
Dashboard
Is your feature request related to a problem? Please describe
Remove minting stops at 1 billion alert
Describe the solution you'd like

Work completed:
Removed alert from minting page.

Verified, Devnet e7030e6.
The Minting alert is removed from the simulator page.
Old alert.

After removing it.


[1.2.x] Add support for map -> record assignment

Purpose

This PR adds support for assigning compatible map values to record typed variables.
Fixes #17202

Samples
import ballerina/io;

public function main() {
    map<string> m = {"a":"aaa", "b":"bbb"};
    record {| string...; |} r = m;

    io:println(r);
}

Remarks

Came across #22276 while writing tests for this.

Check List

[x] Read the Contributing Guide
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[x] Added necessary tests

[x] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

Codecov Report

Merging #22277 into ballerina-1.2.x will not change coverage by %.
The diff coverage is n/a.

@@               Coverage Diff                @@
##           ballerina-1.2.x   #22277   +/-   ##
================================================
  Coverage            14.59%   14.59%
================================================
  Files                   51       51
  Lines                 1411     1411
  Branches               219      219
================================================
  Hits                   206      206
  Misses                1189     1189
  Partials                16       16

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e88181a...7e1dff9. Read the comment docs.


Added Donor Advised Fund Widget script files

@dergigi
I have not made any changes to the code. This pull request includes the necessary resources for adding the Donor Advised Fund Widget to the website:

Hyperlink File: Contains a direct website hyperlink to access the widget (for social media shares, text messages, etc.)
Narrow Widget Script (160 x 273 px)
Square Widget Script (250 x 327 px)

This PR is based on the original Issue under Volunteers. Reference original Issue here.
The following screenshot is merely a suggestion to where the Widget feature can live once a Donor click on the Donate button from the website:

@dergigi
The following is a new hyperlink, regenerated specifically for OpenSats to have the designation box pre-filled with "General Fund" while leaving the $Amount box blank for the prospective donor to fill in themselves.
Note: Although it is already pre-filled to say "General Fund", the user can edit this designation box to say something else. We can't lock it down through the tool.
Hyperlink:
https://www.dafdirect.org/DAFDirect/daflink?_dafdirect_settings=ODUyNzIyMjQ5XzIxMTFfMDA1M2VlZGUtOWY3ZS00YTI0LTliYjItYmJiYjUwYzdiZWFj&designatedText=R2VuZXJhbCBGdW5k&amountValue=
Alternatively, if you need the scripts to use, the TXT files for the scripts are attached to this comment.
DAF Direct Widget Script (250 x 327 px).txt
DAF Direct Widget Script (160 x 273 px).txt
I was unable to render a preview using the scripts to see if the designation of "General Fund" would be pre-filled on behalf of the donor as well, but I was unable to. I did double check the hyperlink, and the designation pre-fills for the donor.
Thank you.

Closing this PR. See https://github.com/OpenSats/website/pull/134


Enable registries back and change Playground catalog

Rename function
Re enable registries and change catalog

@stone-z should we push to collections too?


Map port 15600 to 15600 for node service

Signed-off-by: Peter Okwara<EMAIL_ADDRESS>Fix an issue with private tangle.
A remote hornet node was not connecting to a private tangle set up with the private_tangle.sh script. This is fixed by mapping docker's internal port 15600 to the system's port 15600.

LGTM, thanks!


No repeats please.

Unresponsive script warning.
When I run this script my browser hangs-up. When I try same script running on https://repl.it/languages/javascript   I get expected results. However not on FreeCodeCamp site. It might be only an Ubuntu issue, however I thought that is worth it to submit just in case someone else has the same issue.
If you change" i < n"; to "i < n-1" in generate function for permutations script will run however it doesn't generate right amount of permutations.
Challenge No repeats please has an issue.
User Agent is: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:50.0) Gecko/20100101 Firefox/50.0.
Please describe how to reproduce this issue, and include links to screenshots if possible.
My code:

function permAlone(str) {

  str = generate(str);
  function generate(string){
    var arr = string.split('');
    var permutations = [];

    function swap(a, b){
      var tmp = arr[a];
      arr[a] = arr[b];
      arr[b] = tmp;
    }

    function generate(n){
      if(n===1){
        permutations.push(arr.join(''));
      } else {
        for (var i = 0; i < n; ++i){
          generate(n-1);
          swap(n % 2 ? 0 : i, n-1);

        }
        //generate(n-1);
      }
    }

    generate(arr.length);
    return permutations;
  }
  return str;
}

permAlone('abc');

@raisedadead Can we add help wanted label to this. Its a valid issue and I can replicate it.

The problem is repl.it runs the JavaScript on a dedicated container on server side. We do it in browser. So there is a bit of a limitation.
@ajain17 do you have any suggested fixes in mind?

Hi,
I don't, at the moment. I can try and work on this over the weekend if we do not find help till then. Too swamped with work and trying to triage quick issues for now.

The algorithm at hand is O(n!) and does not in fact pass any of the test cases. The unresponsive script arises especially within the test for large strings as the browser is trying to compute. I don't think this is something that is worth looking into.


The doc on XML request body example output JSON instead of XML

@knightq can you give a more specific example?
Looking at the praxis-example-app, I see the xml-encoded examples for bodies to be properly encoded.
I need a way to reproduce this, and I don't know how since the basic app seems to work. Is it easy for you to be able to create/share one?

My fault!
I missed to:

add nokogiri and builder dependencies on Gemfile.
add:

 application.handler 'xml', Praxis::Handlers::XML

on environment.rb

Side notes on how I solved...
I discovered the problem debugging lib/praxis/action_definition.rb and trying to inspect the default_handlers Array.
It did not contain the XML handler, so I tried to add it manually (just as debugging test...).
On pry console, when I tried to instantiate a new XML handler (Praxis::Handlers::XML.new), I got:
Praxis::Exceptions::InvalidConfiguration: XML handler depends on builder ~> 3.2 and nokogiri ~> 1.6; please add them to your Gemfile

I added those two gems to my Gemfile and ran a bundle install, but it did not solve.
So I went back to the demo app, looked at the Gemfile, where the two gem were defined, I blamed that lines and discovered the commit that introduced those gems and fortunately - searching on the same commit for other occurences of XML keyword - I found the config on environment.rb.
... and my 5 cents to improve praxis
I surely missed something that was clearly written on the doc (here).
However, it would be nice - IMHO - that if a developer try to use a handler that has not been registered, a clear information (just as console log warning on doc generation phase) that he missed something (and even better a link to the handler documentation) would certainly help him to quickly resolve by himself...


Bincompat hooks for revised hash/isEqual interop

This adds in hooks so that the new hash/isEqual interop (which bridges Obj-C hash/isEqual: calls to the corresponding Swift Hashable/Equatable conformances) can be selectively disabled based on the OS and/or client.
For now, enable the new semantics everywhere except Apple platforms (which have legacy apps that may be relying on the old semantics).
Resolves: rdar://121399248

@swift-ci Please test

@swift-ci Please test


pop_front bug

It bugs when compiling from sierra to casm.
Protostar 0.13.0, Cairo 1.1.0, minimal reproducible example:
use array::ArrayTrait;

#[test]
fn essa() {
   let mut calldata = ArrayTrait::new();
   calldata.append(1);
   loop {
        match calldata.pop_front() {
            Option::Some(call) => {},
            Option::None(_) => {
                break ();
            }
        };
    };
   assert(1 == 1, '');
}

Console output:
Collected 1 suite, and 1 test case (3.03)
  0%|                                                                      [0/1]
thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: UnrecognizedToken { token: (1238, Token(13, "["), 1239), expected: ["\"(\"", "\")\"", "\",\"", "\":\"", "\"::\"", "\";\"", "\"<\"", "\"=\"", "\">\"", "\"@\"", "\"with_info\""] }', crates/cairo-lang-protostar/src/lib.rs:39:73
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[UNEXPECTED_EXCEPTION] tests/test_hello_starknet.cairo
Traceback (most recent call last):
  File "protostar/cairo/bindings/cairo_bindings.py", line 142, in handle_bindings_errors
  File "protostar/cairo/bindings/cairo_bindings.py", line 132, in compile_protostar_sierra_to_casm
pyo3_runtime.PanicException: called `Result::unwrap()` on an `Err` value: UnrecognizedToken { token: (1238, Token(13, "["), 1239), expected: ["\"(\"", "\")\"", "\",\"", "\":\"", "\"::\"", "\";\"", "\"<\"", "\"=\"", "\">\"", "\"@\"", "\"with_info\""] }

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "protostar/cairo_testing/cairo1_test_runner.py", line 222, in suite_exception_handling
  File "protostar/cairo_testing/cairo1_test_runner.py", line 199, in run_test_suite
  File "protostar/cairo/bindings/cairo_bindings.py", line 136, in compile_protostar_sierra_to_casm
  File "contextlib.py", line 137, in __exit__
  File "protostar/cairo/bindings/cairo_bindings.py", line 148, in handle_bindings_errors
protostar.cairo.bindings.cairo_bindings_exception.CairoBindingException: A unexpected type of error occurred in binding compile_protostar_sierra_to_casm: called `Result::unwrap()` on an `Err` value: UnrecognizedToken { token: (1238, Token(13, "["), 1239), expected: ["\"(\"", "\")\"", "\",\"", "\":\"", "\"::\"", "\";\"", "\"<\"", "\"=\"", "\">\"", "\"@\"", "\"with_info\""] }

Unexpected Protostar error. Report it here:
https://github.com/software-mansion/protostar/issues

A unexpected type of error occurred in binding compile_protostar_sierra_to_casm: called `Result::unwrap()` on an `Err` value: UnrecognizedToken { token: (1238, Token(13, "["), 1239), expected: ["\"(\"", "\")\"", "\",\"", "\":\"", "\"::\"", "\";\"", "\"<\"", "\"=\"", "\">\"", "\"@\"", "\"with_info\""] }

It seems that this bug is about adding a loop
This should be enough to reproduce it
#[test]
fn please_dont_fail() {
loop {
break ();
};
assert(1 == 1, '');
}


1.0.0-snapshot.0 issue or pilot error on retries??

Describe the bug
I am having issues setting up a retry rule using istio 1.0 preview release.
I have the following rule setup:
apiVersion: networking.istio.io/v1alpha3
kind:       VirtualService
metadata:
  name: retry
spec:
  hosts:
  - svc1
  http:
  - match:
    - headers:
        cookie:
          regex: "^(.*?;)?(fail=true)(;.*)?$"
    route:
    - destination:
        host: svc1
    retries:
      attempts:      5
      perTryTimeout: 500ms

Using a special cookie, svc1 calls will fail once every 5 calls. Using this policy I am
expecting the call to be retried 5 times and hence eventually succeed but the mesh never retries
the call once it fails. I have been watching the service logs and don't see any retries attempts.
To make sure this rule is correctly setup and indeed gets triggered I've injected a faults instead of the  retry and do see the fault being injected.
What am I missing? or what will be the best way to debug this issue?
I am really trying to reuse resources that I've used prior to the whole api change. In prev releases I had the following rules: What will be the equivalent in the new api version??
# In Istio 0.6...
---
apiVersion: config.istio.io/v1alpha2
kind:       RouteRule
metadata:
  name:      fault
spec:
  precedence: 2
  destination:
    name:      svc1
  match:
    source:
      name: svc2
  httpFault:
    abort:
      percent:    50
      httpStatus: 404
---
apiVersion: config.istio.io/v1alpha2
kind:       RouteRule
metadata:
  name:      retry
spec:
  precedence: 3
  destination:
    name:      svc1
  httpReqRetries:
    simpleRetry:
      attempts:      5
      perTryTimeout: 500ms

Thank you for taking a look and helping out!
Expected behavior
I see up to 5 retries attempts, which in the case will make the upstream call succeed.
Steps to reproduce the bug

Create a service that programmatically fails after x calls
Alternatively: setup a fault policy to make the service fail 50% of the time (I have tried that but could not figure out how to make both the failure and retry policy work together. This used to work in Istio 0.5 with precedence. (Help or how to would be appreciated here!)
Setup a VirtualService resource with retries as specified above.
Setup a bash loop to repeatedly calls the service url.

Expecting to see no call errors given the retries...
Version
Istio; 1.0.0-snapshot.0
Kubernetes: 1.10.0
Minikube: 0.28.0
Is Istio Auth enabled or not?
Using istio.yaml
Environment
Using minikube on osx

So this seems to be an implementation detail of Envoy Proxy. The fault-injection filters are included before any others, including the router filter. The router filter is what controls retries. See here: https://www.envoyproxy.io/docs/envoy/latest/configuration/http_filters/fault_filter.html
In your previous example (using the old configs), precedence was in effect. A request only matched one route rule and in your case it matched the second one (without the fault injection) because it had a higher priority. This means, fault injection was never in play only retries.
Are you saying that you're not using fault injection in your example and rather forcing the error in application code, but that Istio is not retrying the request as expected?

Thank you for the response @christian-posta! I think the change here between the old api and the new is only 5xx codes are considered failures now. Changing my code to fail with 5xx now causes the retry rule to fire. Could be a nice addition to the docs if anyone else stumbles on this use case...


tmux module: environment-variable setup problem

Issue description
TMUX_TMPDIR is no longer correctly set up for me via this line:
https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/programs/tmux.nix#L180
It appears the fallback branch is taken due to some semi-recent change (any info on this appreciated).
The fallback looks wrong however, the set-environment is generated like
export TMUX_TMPDIR="${XDG_RUNTIME_DIR:-"/run/user/\$(id -u)"}" which results in
/run/user/$(id -u) actually being set (that is, not interpolating because of the \).
Steps to reproduce
unset / don't have XDG_RUNTIME_DIR set, and try to use tmux.
Technical details
 - system: `"x86_64-linux"`
 - host os: `Linux 4.19.34, NixOS, 19.09.git.de88a59 (Loris)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.2`
 - channels(root): `"nixos-19.09pre174426.acbdaa569f4"`
 - channels(averell): `""`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Fixed in #62136 via 7f104aa6e


phone numbers

fixes #189
Im not sure if this is the right solution for #189. Think of this PR as a basis for discussion!

see https://github.com/corona-warn-app/cwa-website/issues/189#issuecomment-658720840


WindowScroller + Table. Blank spaces

Hello. First of all, thank you guys for your hard work. Really appreciate it. I guess the behavior is a bug.
What is the current behavior?

When turning the mouse's wheel there are blank spaces for a second. I suppose it's due to 10 columns. It doesn't matter how many rows were provided to the table.
Sandbox: https://codesandbox.io/s/xlq5862m2w
What is the expected behavior?
It should be smooth like in examples :)
Which versions of React and react-virtualized, and which browser / OS are affected by this issue? Did this work in previous versions of react-virtualized?

Browser
Version 73.0.3683.86 (Official Build) Arch Linux (64-bit)

OS
Arch Linux (64-bit)

React
16.9.0

React DOM
16.9.0

react-virtualized
10.0.0

me too

Ask, do you have a solution?


Map GameMenuScreen field and parameter to showMenu

This parameter/field is used to determine whether the pause menu with buttons (normal) or overlay (F3+Escape) will be shown.

Should this screen be renamed to a pause screen instead?

No, because it does not only show when the game is paused. See: multiplayer

Well the minecraft wiki calls it a pause menu. It pauses gameplay input at least. https://minecraft.gamepedia.com/Pause_menu

The minecraft wiki is irrelevant. The text on the screen calls it a Game Menu


[TOPI] VNNI support for int8 dense

I started off with the test code in https://github.com/apache/tvm/blob/720e7b1ebd9b789a1100dee7536d0633c7941dd1/tests/python/contrib/test_gemm_acc32_vnni.py#L30 and simplified a bit. Autotvm tuning is supported but only one tunable param is exposed for now. I'm curious to know what kind of further scheduling would be worth it, beyond very simple ones I have now.
Moreover, since I rely on alter op layout to enable this op (see https://github.com/apache/tvm/blob/35f6bb1eaff3336a124e8544fe9f2cf97267867a/python/tvm/topi/x86/dense_alter_op.py#L40-L49) and currently this pass is disabled during autotvm (see https://github.com/apache/tvm/blob/187aeb5fe813c5bffc81e88ba890399ce7d53e1e/python/tvm/autotvm/task/relay_integration.py#L52-L54 and https://github.com/apache/tvm/pull/10171), users need to manually invoke AlterOpLayout before extracting tasks.
I didn't spend much on perf tuning, but the results look promising. Perf on bigger workloads don't look great, might need further investigation.
Also, I found that autotvm tuning (only one knob) helped on some single threaded perf, but it didn't on multi-threaded perf at all.
Single thread

M
N
K
TVM
FBGEMM

64
800
320
409.87859448066854
267.4

64
768
512
393.2796314153642
355.7

16
256
512
402.0798502998604
95.5

128
128
128
287.1147659800918
99.0

256
512
256
356.8404055290004
344.1

1024
1024
1024
362.241169902788
452.2

128
768
3072
242.5201549349005
423.1

128
768
768
369.1912270185436
371.0

128
3072
768
276.460384879211
398.9

4 threads

M
N
K
TVM
FBGEMM

64
800
320
758.5609768620845
191.6

64
768
512
760.5891303600133
326.5

16
256
512
673.6151819351879
39.0

128
128
128
676.2890321415558
42.0

256
512
256
707.0203324200173
375.0

1024
1024
1024
690.8657213907054
1609.7

128
768
3072
510.46516174131585
763.7

128
768
768
679.096063909271
658.1

128
3072
768
659.4564135824261
835.1

CC: @vinx13 @spectrometerHBH @jinhongyii

Another perf result, this time on a desktop CPU i5-11400 @ 2.60GHz, 6 threads.
TVM showing excellent performance!

M
N
K
TVM
FBGEMM

64
800
320
2254.902217150772
259.2

64
768
512
2459.8222476184296
485.3

16
256
512
1511.1102144223107
59.8

128
128
128
1655.3361580672251
57.0

256
512
256
2487.655260525414
573.6

1024
1024
1024
2604.4250609008964
2520.1

128
768
3072
1846.407818035626
1864.0

128
768
768
2579.0514976284917
1012.5

128
3072
768
2571.1070749811097
1900.8


Problems with latest recommended driver block rules

The XML version on the MS website is not the current version. It needs to be updated.
The new .p7b files block the latest version of the CPU-Z SDK driver (cpuz157_x64.sys), which breaks quite a few program, including Corsair's iCUE application. Previous versions of the driver block rules only blocked older versions of the driver that were known to be vulnerable. Unless there is a know vulnerability in the latest driver, this should be fixed.

(admin edit: add article metadata for proper linking)

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 1a58a715-458d-f016-f8d8-09ef8d4fbfb1
Version Independent ID: 1a58a715-458d-f016-f8d8-09ef8d4fbfb1
Content: Microsoft recommended driver block rules - Windows Security
Content Source: windows/security/application-security/application-control/windows-defender-application-control/design/microsoft-recommended-driver-block-rules.md
Product: windows-client
Technology: itpro-security
GitHub Login: @jsuther1974
Microsoft Alias: jsuther

@Jordan @.***>?
Téléchargez Outlook pour iOShttps://aka.ms/o0ukef

De : Aaron Czechowski @.>
Envoyé : Wednesday, September 6, 2023 12:02:19 PM
À : MicrosoftDocs/windows-itpro-docs @.>
Cc : Mention @.***>
Objet : [MicrosoftDocs/windows-itpro-docs] Problems with latest recommended driver block rules (Issue #11691)

The XML version on the MS website is not the current version. It needs to be updated.
The new .p7b files block the latest version of the CPU-Z SDK driver (cpuz157_x64.sys), which breaks quite a few program, including Corsair's iCUE application. Previous versions of the driver block rules only blocked older versions of the driver that were known to be vulnerable. Unless there is a know vulnerability in the latest driver, this should be fixed.

(admin edit: add article metadata for proper linking)

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 1a58a715-458d-f016-f8d8-09ef8d4fbfb1
Version Independent ID: 1a58a715-458d-f016-f8d8-09ef8d4fbfb1
Content: Microsoft recommended driver block rules - Windows Securityhttps://learn.microsoft.com/en-us/windows/security/application-security/application-control/windows-defender-application-control/design/microsoft-recommended-driver-block-rules
Content Source: windows/security/application-security/application-control/windows-defender-application-control/design/microsoft-recommended-driver-block-rules.mdhttps://github.com/MicrosoftDocs/windows-itpro-docs/blob/public/windows/security/application-security/application-control/windows-defender-application-control/design/microsoft-recommended-driver-block-rules.md
Product: windows-client
Technology: itpro-security
GitHub Login: @jsuther1974https://github.com/jsuther1974
Microsoft Alias: jsuther

—
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/windows-itpro-docs/issues/11691 or unsubscribehttps://github.com/notifications/unsubscribe-auth/AF3UONA243PEMPRAFNJ2TSLXZDCDXBFKMF2HI4TJMJ2XIZLTSOBKK5TBNR2WLJDUOJ2WLJDOMFWWLO3UNBZGKYLEL5YGC4TUNFRWS4DBNZ2F6YLDORUXM2LUPGBKK5TBNR2WLJLJONZXKZNENZQW2ZNLORUHEZLBMRPXI6LQMWBKK5TBNR2WLJDUOJ2WLJDOMFWWLLTXMF2GG2C7MFRXI2LWNF2HTLDTOVRGUZLDORPXI6LQMWSUS43TOVS2M5DPOBUWG44SQKSHI6LQMWVHEZLQN5ZWS5DPOJ42K5TBNR2WLKBWGUZDINZVGMZIFJDUPFYGLJLJONZXKZNFOZQWY5LFVIYTQOBRGIYDSMBZGGTXI4TJM5TWK4VGOVYGIYLUMU.
You are receiving this email because you were mentioned.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Looks like my PR never got merged. I added the Signoff tag - Microsoft Recommended vulnerable driver block rules 2308 by jgeurten · Pull Request #8792 · MicrosoftDocs/windows-docs-pr (github.com)https://github.com/MicrosoftDocs/windows-docs-pr/pull/8792

I updated the PR to block from 0.0 to <IP_ADDRESS> which will allow CPUZ157 as Raghav just confirmed that 157 is not vulnerable.
Jordan

From: Jeffrey Sutherland @.>
Sent: Wednesday, September 6, 2023 3:03 PM
To: @. @.>; MicrosoftDocs/windows-itpro-docs @.>; Jordan Geurten @.>
Cc: Mention @.>
Subject: Re: [MicrosoftDocs/windows-itpro-docs] Problems with latest recommended driver block rules (Issue #11691)
@Jordan @.***>?
Téléchargez Outlook pour iOShttps://aka.ms/o0ukef

De : Aaron Czechowski @.>
Envoyé : Wednesday, September 6, 2023 12:02:19 PM
À : MicrosoftDocs/windows-itpro-docs @.>
Cc : Mention @.***>
Objet : [MicrosoftDocs/windows-itpro-docs] Problems with latest recommended driver block rules (Issue #11691)

The XML version on the MS website is not the current version. It needs to be updated.
The new .p7b files block the latest version of the CPU-Z SDK driver (cpuz157_x64.sys), which breaks quite a few program, including Corsair's iCUE application. Previous versions of the driver block rules only blocked older versions of the driver that were known to be vulnerable. Unless there is a know vulnerability in the latest driver, this should be fixed.

(admin edit: add article metadata for proper linking)

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 1a58a715-458d-f016-f8d8-09ef8d4fbfb1
Version Independent ID: 1a58a715-458d-f016-f8d8-09ef8d4fbfb1
Content: Microsoft recommended driver block rules - Windows Securityhttps://learn.microsoft.com/en-us/windows/security/application-security/application-control/windows-defender-application-control/design/microsoft-recommended-driver-block-rules
Content Source: windows/security/application-security/application-control/windows-defender-application-control/design/microsoft-recommended-driver-block-rules.mdhttps://github.com/MicrosoftDocs/windows-itpro-docs/blob/public/windows/security/application-security/application-control/windows-defender-application-control/design/microsoft-recommended-driver-block-rules.md
Product: windows-client
Technology: itpro-security
GitHub Login: @jsuther1974https://github.com/jsuther1974
Microsoft Alias: jsuther

—
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/windows-itpro-docs/issues/11691 or unsubscribehttps://github.com/notifications/unsubscribe-auth/AF3UONA243PEMPRAFNJ2TSLXZDCDXBFKMF2HI4TJMJ2XIZLTSOBKK5TBNR2WLJDUOJ2WLJDOMFWWLO3UNBZGKYLEL5YGC4TUNFRWS4DBNZ2F6YLDORUXM2LUPGBKK5TBNR2WLJLJONZXKZNENZQW2ZNLORUHEZLBMRPXI6LQMWBKK5TBNR2WLJDUOJ2WLJDOMFWWLLTXMF2GG2C7MFRXI2LWNF2HTLDTOVRGUZLDORPXI6LQMWSUS43TOVS2M5DPOBUWG44SQKSHI6LQMWVHEZLQN5ZWS5DPOJ42K5TBNR2WLKBWGUZDINZVGMZIFJDUPFYGLJLJONZXKZNFOZQWY5LFVIYTQOBRGIYDSMBZGGTXI4TJM5TWK4VGOVYGIYLUMU.
You are receiving this email because you were mentioned.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

So I’ll recreate the downloadable policies tomorrow then
Téléchargez Outlook pour iOShttps://aka.ms/o0ukef

De : Jordan Geurten @.>
Envoyé : Wednesday, September 6, 2023 3:18:45 PM
À : Jeffrey Sutherland @.>; @.*** @.>; MicrosoftDocs/windows-itpro-docs @.>
Cc : Mention @.***>
Objet : Re: [MicrosoftDocs/windows-itpro-docs] Problems with latest recommended driver block rules (Issue #11691)

Looks like my PR never got merged. I added the Signoff tag - Microsoft Recommended vulnerable driver block rules 2308 by jgeurten · Pull Request #8792 · MicrosoftDocs/windows-docs-pr (github.com)https://github.com/MicrosoftDocs/windows-docs-pr/pull/8792

I updated the PR to block from 0.0 to <IP_ADDRESS> which will allow CPUZ157 as Raghav just confirmed that 157 is not vulnerable.
Jordan

From: Jeffrey Sutherland @.>
Sent: Wednesday, September 6, 2023 3:03 PM
To: @. @.>; MicrosoftDocs/windows-itpro-docs @.>; Jordan Geurten @.>
Cc: Mention @.>
Subject: Re: [MicrosoftDocs/windows-itpro-docs] Problems with latest recommended driver block rules (Issue #11691)
@Jordan @.***>?
Téléchargez Outlook pour iOShttps://aka.ms/o0ukef

De : Aaron Czechowski @.>
Envoyé : Wednesday, September 6, 2023 12:02:19 PM
À : MicrosoftDocs/windows-itpro-docs @.>
Cc : Mention @.***>
Objet : [MicrosoftDocs/windows-itpro-docs] Problems with latest recommended driver block rules (Issue #11691)

The XML version on the MS website is not the current version. It needs to be updated.
The new .p7b files block the latest version of the CPU-Z SDK driver (cpuz157_x64.sys), which breaks quite a few program, including Corsair's iCUE application. Previous versions of the driver block rules only blocked older versions of the driver that were known to be vulnerable. Unless there is a know vulnerability in the latest driver, this should be fixed.

(admin edit: add article metadata for proper linking)

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 1a58a715-458d-f016-f8d8-09ef8d4fbfb1
Version Independent ID: 1a58a715-458d-f016-f8d8-09ef8d4fbfb1
Content: Microsoft recommended driver block rules - Windows Securityhttps://learn.microsoft.com/en-us/windows/security/application-security/application-control/windows-defender-application-control/design/microsoft-recommended-driver-block-rules
Content Source: windows/security/application-security/application-control/windows-defender-application-control/design/microsoft-recommended-driver-block-rules.mdhttps://github.com/MicrosoftDocs/windows-itpro-docs/blob/public/windows/security/application-security/application-control/windows-defender-application-control/design/microsoft-recommended-driver-block-rules.md
Product: windows-client
Technology: itpro-security
GitHub Login: @jsuther1974https://github.com/jsuther1974
Microsoft Alias: jsuther

—
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/windows-itpro-docs/issues/11691 or unsubscribehttps://github.com/notifications/unsubscribe-auth/AF3UONA243PEMPRAFNJ2TSLXZDCDXBFKMF2HI4TJMJ2XIZLTSOBKK5TBNR2WLJDUOJ2WLJDOMFWWLO3UNBZGKYLEL5YGC4TUNFRWS4DBNZ2F6YLDORUXM2LUPGBKK5TBNR2WLJLJONZXKZNENZQW2ZNLORUHEZLBMRPXI6LQMWBKK5TBNR2WLJDUOJ2WLJDOMFWWLLTXMF2GG2C7MFRXI2LWNF2HTLDTOVRGUZLDORPXI6LQMWSUS43TOVS2M5DPOBUWG44SQKSHI6LQMWVHEZLQN5ZWS5DPOJ42K5TBNR2WLKBWGUZDINZVGMZIFJDUPFYGLJLJONZXKZNFOZQWY5LFVIYTQOBRGIYDSMBZGGTXI4TJM5TWK4VGOVYGIYLUMU.
You are receiving this email because you were mentioned.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

@jsuther1974 , Thanks sir, i too looking for a new policy.xml. I am waiting to implement on Windows 11 22h2.

To make it easier for you to submit feedback on articles on learn.microsoft.com, we're transitioning our feedback system from GitHub Issues to a new experience.
As part of the transition, this GitHub Issue will be moved to a private repository. We're moving Issues to another repository so we can continue working on Issues that were open at the time of the transition. When this Issue is moved, you'll no longer be able to access it.
If you want to provide additional information before this Issue is moved, please update this Issue before December 15th, 2023.
With the new experience, you no longer need to sign in to GitHub to enter and submit your feedback. Instead, you can choose directly on each article's page whether the article was helpful. Then you can then choose one or more reasons for your feedback and optionally provide additional context before you select Submit.
Here's what the new experience looks like.
Note: The new experience is being rolled out across learn.microsoft.com in phases. If you don't see the new experience on an article, please check back later.
First, select whether the article was helpful:

Then, choose at least one reason for your feedback and optionally provide additional details about your feedback:

Article was helpful
Article was unhelpful

Finally, select Submit and you're done!


Set ruby version from Gemfile if .ruby-version file is missing

Not sure about all pros/cons for this but it seems configuring ruby version in two different files (Gemfile for Heroku and bundler / .ruby-version for rbenv) seems like one file too many.
I would expect rbenv to scan Gemfile for ruby version unless a .ruby-version file was present.
Makes sense?

there's a plugin that does this: https://github.com/aripollak/rbenv-bundler-ruby-version
But it's kind of buggy. The gemfile-specified ruby isn't respected when interrogating rbenv version which makes most PS1 statuses misleading.
I don't think it plays well with rbenv-binstubs, either.

Sorry for late reply. Yes, this is plugin material. The plugin is probably buggy because there's no easy way to hook into version lookup process. I will think about whether we can make this hookable.
However, I don't see it as a huge problem if there is both a .ruby-version and ruby statement in the Gemfile. It doesn't seem like such a huge developer pain that we absolutely must solve.

I don't believe that having both .ruby-version and Gemfile ruby directive is the problem. But rather, the desire to only use the Gemfile. I still think this belongs as a plugin, so this issue could probably be closed.
But I think rbenv could make this hookable. To that end, I've been playing around with creating version-name and version-origin hooks. As a test case, I've been using a modified version of the rbenv-bundler-ruby-version plugin as the consumer of those hooks. It's working quite well and I hope to have a PR ready tomorrow, where discussion can continue.

As a test case, I've been using a modified version of the rbenv-bundler-ruby-version plugin as the consumer of those hooks

Sounds good, thanks!

Knew about the plugin but wanted to avoid forcing everyone on a big dev-team to install it.
Considering this is becoming the de-facto way of specifying a ruby-version for a project it seems sensible for rbenv to use it by default. Principle of least surprise, convention over configuration and all that...

@mislav PR #739 opened for discussion

@dbackeus you've probably already seen this, too. but here's the original issue/comments/decision regarding Gemfile #223.

Thanks for the issue link, I hadn't seen it actually. Guess this is sort of a duplicate then. But maybe feels more relevant now that more or less everyone specifies their ruby version in the Gemfile?

@dbackeus Yep, not such a stretch anymore. However, I feel that this is still plugin material. Moreover, if we tweak rbenv to allow plugin hooks for this, then other people could come up with even cleverer version selection. Closing this in favor of @jasonkarns's PR.

I wish this decision would be revisited now that Bundler is the de facto dependency manager for Ruby. Shouldn’t simplicity for the end user trump simplicity of the internals of the tool? The fact that you have to specify the same Ruby version in two separate places just seems inelegant and unnecessary to me at this point—the .ruby-version file has become superfluous. I understand the argument for keeping this functionality in a plugin, but a plugin a poor solution in a team environment. Rbenv has become such an indispensable part of so many people’s Ruby toolboxes that I think it warrants slightly tighter integration with other crucial tools like Bundler.

I agree with @codyrobbins , maybe it is time to revisit this issue.
My workplace is already in the process of migrating from .ruby-version to Gemfile.

I believe that not having support for versions specified through Gemfiles will push users towards switching to rvm because it works "out of the box" and therefore is easier to use and recommend in a team environment.

After reading @jeppester comment, I wanted to give an update that this has been one of major reasons why I changed recently to rvm and have been recommending it instead of rbenv.

Just wanted to leave a note here for posterity: since a Gemfile is Ruby, you can always parse a ruby-version file to determine the version for the Gemfile:
ruby File.read('.ruby-version').strip

For posterity, Bundler >=2.5.1 and Rubygems >=3.4.20 now support a file argument when specifying the ruby version in the Gemfile. For example:
source 'https://rubygems.org'

ruby 3.3.0

can now become
source 'https://rubygems.org'

ruby file: '.ruby-version'

The lack of this feature is one of the things that ultimately motivated me to move to asdf.


sw.js DOMException: Quota exceeded.

Can't replicate outside my own browser and seems to appear for a single website.


Facebook sharing causes android crash: Attempt to invoke virtual method 'int org.json.JSONArray.length()' on a null object reference

The error encountered when testing a production build(curious, not emulator) of an apk targeting API 28 returns the following exception when attempting to shareViaFacebook:
FATAL EXCEPTION: pool-2-thread-1
    Process: us.worthy.worthy, PID: 8401
    java.lang.NullPointerException: Attempt to invoke virtual method 'int org.json.JSONArray.length()' on a null object reference
        at nl.xservices.plugins.SocialSharing$2.run(SocialSharing.java:271)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
        at java.lang.Thread.run(Thread.java:919)

Not sure why that's an issue all of the sudden, but please try passing in an empty array to the 'files' property (it's probably 'null' now).

Thanks for that Eddy.  Using the example from the  readme I was using
window.plugins.socialsharing.shareViaFacebook('My message', null, 'https://my.url')
Changed it to
window.plugins.socialsharing.shareViaFacebook('My message', [], 'https://my.url')
Still the same problem.
java.lang.NullPointerException: Attempt to invoke virtual method 'int org.json.JSONArray.length()' on a null object reference
        at nl.xservices.plugins.SocialSharing$2.run(SocialSharing.java:271)

I think the second argument is meant for images and perhaps shareViaFacebook method doesn't have a parameter for files?

I also got the same issue.

In case anyone else is looking to solve this for recent APIs of Android I fixed using the following:
Just for Android
window.plugins.socialsharing.shareVia('com.facebook.katana', 'My message', null, null, 'http://my.url');

It appears any of the other methods of sharing directly to Facebook inject an error atm.

I am using Android target level 29 with window.plugins.socialsharing.shareWithOptions and I am NOT experiencing this problem.

I am using method ACTION_SHARE_VIA_FACEBOOK_WITH_PASTEMESSAGEHINT with this plugin.
android null object problem line 93 in android src file.
so i chaged 'null' to new JSONArray() like below.
from
return doSendIntent(callbackContext, args.getString(0), args.getString(1), args.isNull(3) ? args.getJSONArray(2) : null, args.getString(3), "com.facebook.katana", null, false, true, "com.facebook.composer.shareintent");
to
return doSendIntent(callbackContext, args.getString(0), args.getString(1), args.isNull(3) ? args.getJSONArray(2) : new JSONArray(), args.getString(3), "com.facebook.katana", null, false, true, "com.facebook.composer.shareintent");

@EddyVerbruggen it seems to be fixed on master  ! Thanks !

@EddyVerbruggen when 6.0.2 release, thanks.

@ThangD It's on npm now.

Can this be added for 5.6.8 as well? We are experiencing the same crash but cannot update yet to 6.0.2.

@robvandijk 5.6.8 has been published, but 5.6.9 would be possible if you can create a PR.

PR just created, thanks for looking into this.


Does not work

I've placed GenericDictionaryPropertyDrawer in Assets/Editor and GenericDictionary in mys Assets folder, everything compiles, not errors, but my dictionaries are not rendered in inspector.
Do I miss something?
My dictionary declation goes like this:
public Dictionary<DropPodType, GameObject> PodTypes=new Dictionary<DropPodType, GameObject>();
DropPodType is a Enum.

Hey! If you check the class name of the source file it's actually GenericDictionary.
I have it on my to-do be list to add a namespace and just call it Dictionary or SerializableDictionary but haven't had much time as of yet.
https://github.com/upscalebaby/generic-serializable-dictionary/blob/master/code_example1.PNG


Build error on Mac OS

I try to follow the instructions here to install lucet on MacOS and compiler outputs an error as follows.
cargo:warning=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/signal.h:116:22: error: use of undeclared identifier '__DARWIN_NSIG'
cargo:warning=    return __signo > __DARWIN_NSIG ? 0 : (1 << (__signo - 1));
cargo:warning=                     ^
cargo:warning=In file included from miniz.c:27:
cargo:warning=In file included from ./miniz.h:473:
cargo:warning=In file included from /usr/local/include/stdlib.h:94:
cargo:warning=In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:66:
cargo:warning=In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/sys/wait.h:110:
cargo:warning=/usr/local/include/sys/resource.h:8:10: fatal error: 'features.h' file not found
cargo:warning=#include <features.h>
cargo:warning=         ^~~~~~~~~~~~
cargo:warning=2 warnings and 18 errors generated.
exit code: 1

--- stderr

error occurred: Command "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-DMINIZ_NO_STDIO" "-DMINIZ_NO_ARCHIVE_APIS" "-DMINIZ_NO_ARCHIVE_WRITING_APIS" "-DMINIZ_NO_TIME" "-DMINIZ_NO_ZLIB_COMPATIBLE_NAMES" "-o" "/Users/tsaiyuehlin/Tools/lucet/target/release/build/miniz-sys-c4689d3ef582669c/out/miniz.o" "-c" "miniz.c" with args "cc" did not execute successfully (status code exit code: 1).

warning: build failed, waiting for other jobs to finish...
error: build failed
make: *** [build] Error 101

Seems like features.h is not found. However, after I google it, features.h only exist in Linux. Do I miss any step?

Hi,
In file included from /usr/local/include/stdlib.h:94:
/usr/local/include/sys/resource.h

Looks like in addition to Xcode, you manually installed a second compiler for a different platform on your machine, and that second compiler is unprefixed and also in a global path.
This prevents Xcode from working properly, and this is not limited to compiling Lucet. Header files cannot be mixed and matched between compilers.
You should remove the second compiler you installed in /usr/local, or move it to a different location.

I find out the headers in /usr/local/include were accidentally overwrite. After I reinstall homebrew and llvm, these errors were solved. Thank you.


changed the default search response rows.

12 makes a better default number because it breaks even if there are 4, 3 and 2 results per line.

:+1:


集成终端显示异常

VSCode Version: 1.12.1
OS Version: Windows 10 Creator Updata

Steps to Reproduce:

Type Ctrl + `

+1

+1

duplicate of #26263


Docs: Add info on factor node creation using Distributions.jl

Addresses #63.

Great! Thanks @bartvanerp


Change format of molecule table

This PR makes requested changes to the data table on the molecule page. CCAS requested that the table have the headers "property", "min", "max", "delta"...etc. This is how the data is kept in the database.
To facilitate showing this, an API route for data retrieval as json (molecule/data/{molecule_id}?data_type={data-source} was added and returns results from the database without changing the formatting.
The json option was removed from the export route.

I also added a new component, ResponsiveButton for use in the molecule data table. On large screens, the button will read "Download CSV', while on smaller screens a download icon will be shown (see below for small screen button)

@ujamshed - ready for review


Remove translation support

please merge #1563 first because that contains refactorings that were necessary for this issue

this issue resolves #1567

With phpDocumentor we are working on simplifying the current flow and removing bloat that we do not deem necessary for the app to function and which is not requested (too often). One of these things is translation support; this was intended to simplify the process of filtering messages on type but it costs too much code and adds two dependencies

@jaapio (and others) can you review this item after #1563 is merged?

can be merged, I would prefer to remove deprecated files in this major clean up

Agree wholeheartedly with that last comment!


Bug Center Mode Carousel

The center mode Carousel create two slick-active in the DOM

Same problem

It generates as many slick-active elements as slidesToShow. If you're getting different behaviour please regenerate the demo on codesandbox and consider reopening the issue.


Error on test chain

2018-08-16 11:18:13.090 [ERR] MINR: Failed to create new block template: failed to do final check for block workless sanity when making new block template: block contains too many signature operations - got 5001, max 5000

this bug has benn fixed

Sorry, the reply is late.
would you mind providing more detailed information about the problem?
like the version ?


fix(API): Do not use base64 for text types

Fixes #853.

Bonus: projects_routes.py coverage is now higher.

Thanks!


Release akka-http-play-json 1.11.0 for Scala 2.11

akka-http 10.0.0 supports Scala 2.11. akka-http-play-json 1.11.0 should be released for Scala 2.11 so that people can upgrade akka-http without getting an eviction warning.

play-json will only be added once it supports Scala 2.12.

I'm sorry, I don't get why there is no Scala 2.11 1.11.0 release.
I'm using the latest version of akka (2.4.17) and akka-http (10.0.3) for Scala 2.11
I would have use the Scala 2.11 version of 1.12.0 but I can't because it pulls play 2.6 and I need to stay on play 2.5 for now.
Could you please publish akka-http-play-json 1.11.0 for Scala 2.11 or give more details about your reasons ?

akka-http-json is built against 2.12 (and 2.11) since 1.11, hence it can only support JSON libs which support 2.12.
Why do you not use (stick with) 1.10?

I wanted to upgrade to the current version 1.10.1 because of the dependency with akka-http-experimental.
I completely understand the need to have the support for 2.12 from the JSON libs but then I would expect the version 1.11.0 available for 2.11 but not 2.12 since the play dependency (2.5).


[Media3p] Support Categories

All the work on this epic is mark as completed, closing out the epic.


ZMQ non blocking

Add the ability for ZMQ communicators to be non blocking. If no message has been received, the get function will return an EMPTY flag.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>9
Details

39 of 43 (90.7%)  changed or added relevant lines in 2 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage increased (+0.8%) to 80.561%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/zmq/communicatorZMQ.cpp
11
13
84.62%

tests/cpp/unit-zmqcomm-pushpull-nowait.cpp
28
30
93.33%

Files with Coverage Reduction
New Missed Lines
%

src/zmq/communicatorZMQ.cpp
1
70.37%

Totals

Change from base Build<PHONE_NUMBER>:
0.8%

Covered Lines:
775

Relevant Lines:
962

💛  - Coveralls


If it possible to let requests stop (but don't raise Exception) when it get to the max redirection limit?

When I use requests, I find that you can't let requests stop when redirected a fixed times.
But I think someone(like me) will need headers or something else among those redirections.
Expected Result
If I set a flag to let requests.session stop when it comes to the max redirection limit, and then, It won't raise a TooManyRedirects, but will stop and let you could get the headers or anything in this request.
Actual Result
It will raise a TooManyRedirects Exception.
Reproduction Steps
It will work like that:
import requests

session  = reqeusts.Session()
session.max_redirects = 3
session.stopflag = True    # flag that will let redirects stop when it comes to max redirect time.
r = session.get(will_redirect_many_times_url)    # it will stop when redirect 3 times
# And then I can get the infomation at this request.
h = r.headers

Actually I modified my requests a little bit,
I add that code:
if i == self.max_redirects:
    break

before:
if i >= self.max_redirects:
    raise TooManyRedirects('Exceeded %s redirects.' % self.max_redirects)

At requests/session.py at 113 lines
and It will stop when comes to max redirect limit.
System Information
$ python -m requests.help

{
  "chardet": {
    "version": "3.0.4"
  },
  "cryptography": {
    "version": "1.2.3"
  },
  "idna": {
    "version": "2.6"
  },
  "implementation": {
    "name": "CPython",
    "version": "2.7.12"
  },
  "platform": {
    "release": "4.4.0-98-generic",
    "system": "Linux"
  },
  "pyOpenSSL": {
    "openssl_version": "1000207f",
    "version": "0.15.1"
  },
  "requests": {
    "version": "2.18.4"
  },
  "system_ssl": {
    "version": "1000207f"
  },
  "urllib3": {
    "version": "1.22"
  },
  "using_pyopenssl": true
}

If you need the information from the most recent response you should do
try:
    r = session.get(...)
except requests.exceptions.TooManyRedirects as exc:
    r = exc.response

because we include the most recent response on that exception. 🎉
We're in a feature-freeze and we're only adding features that are absolutely necessary. This feature can be achieved in the above manner as well as a few other ways, so this feature really isn't necessary or entirely desirable to the 95% of our users.


Disable lazy init option

Changes
Adding an option to disable lazy init to be able to detect issues on tests
Checklist

[x] Apply one of following labels; major, minor, patch or skip-release
[x] I've updated the documentation, or no changes were necessary
[x] I've updated the tests, or no changes were necessary

Lint fixes -> https://github.com/lokalise/shared-ts-libs/pull/414


Split lines and axis labels disappear when all legends are unselected

Version
4.7.0
Reproduction link
https://echarts.apache.org/examples/zh/editor.html?c=area-stack
Steps to reproduce
Unselect all the legends
What is expected?
Keep the split lines and axis labels just as when all data are zero, the axis labels are [0, 0.2, 0.4, 0.6, 0.8, 1]
What is actually happening?
Split lines and axis labels disappear

Not sure if it's possible or not, or if I missed any options to support this behavior?

Reproduced regarding the issue itself.
But suggest to discuss in community to decide about expected behavior as I'm not convinced on setting max of y axis to 1 in such cases.

This is not a bug but I do think it's useful to make a feature like this. Further discussion required.

For now, @YiYingWu1302 you have to make a fake data with zero values and set axis max value.

I see, thanks a lot for your reply :)


doors can't be closed because of conveyor belts

Description

E.g. disposals blast doors can't be closed because of conveyor belts
Reproduction

Screenshots

Additional context

This is true.
video.webm

I have also noticed this Aspid and Barratry. Both of them have a blast door and conveyor belt combo.
Aspid Station

Conveyor belts still seem to block, only flaps were fixed by #17782


Plugin doesn't seem to work for sites using Servd Asset Storage

Describe the bug
Images are not resized at all on my site, which is hosted on Servd.
Steps to reproduce

Install plugin on a site hosted on Servd.
Try uploading a photo or using the batch resizing action.

Craft CMS version
4.4.10
Plugin version
3.0.6
Multi-site?
Yes
Additional context
I first installed and configured the plugin locally, and it only partly works.
Locally, images are resized as expected on upload.
However, using the batch resize feature does not work. When attempting to do so, I get this error in the logs:
{
  "dateTime": "2023-05-16 09:32:28",
  "taskId": "CT0FR",
  "handle": "error",
  "filename": "pexels-marcus-aurelius-6787870.jpg",
  "data": {
    "message": "finfo_file(\/var\/www\/html\/app\/storage\/runtime\/assets\/sources\/910431.jpg): Failed to open stream: No such file or directory"
  }
}

I'll have to do some testing here, but last time I checked with non-local filesystems this was working (S3 for example), but maybe there's something specific with Servd.
Are you using the Servd asset storage locally as well? As in - the batch resize fails even on local, not just on their staging/production environments?

That’s right. I am using Servd asset storage locally as well.

Sorry, I haven't had the time to spin up a Servd site and run some debugging yet, I'll try my best to look into it!

Is there any update on this? We're seeing the same problem, which is frustrating as the client's asset storage is filling up quickly and will trip them over into needing to buy more storage from Servd soon, just because we can't reliably resize their uploaded images.

Should be fixed in 3.0.7 and 2.2.1


delete old icm20948 and use dedicated ak09916 compass

Done in https://github.com/PX4/Firmware/pull/15136.


Format modification

Added line breaks in the section "More information" ("Más informacion") for ease of reading and consistency with English page.

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Closed and Reopened this PR to attempt to resolve a specific Travis build failure.

@alexsunrise1 Thank you for  creating this PR.  However, since it was created, the underlying document has changed.  Can you please review and resolve the current merge conflicts?  It could be the changes to the underlying document are so significant that your changes are no longer relevant.  If the latter is the case, it might be easier to just close this PR and create a new PR with any changes you still feel are important to make.
If you need any assistance or have questions about resolving the merge conflicts, please reply back or contact someone in the Contributors Room on Gitter.
Thank you.

We are restructuring a lot of the code and learning resources referenced in your pull request, so for now I am going to go ahead and close this pull request. Thanks again for opening this pull request and for contributing to the community.


Remove need for username for WebAuthn Authentication

Closing in favor of https://github.com/LIT-Protocol/js-sdk/pull/65 where we deprecate the webauthn SDK functions anyways.


Kubernetes Argo loop through JSON array

I'm attempting to use Argo to loop through an array of JSON objects, however the workflow is returning:
failed to resolve {{item}}

The Argo workflow configuration is as follows:
- name: output-parameter
   steps:
    - - name: generate-parameter
        template: getresult
    - - name: consume-parameter
         template: print-result
         arguments:
           parameters:
           - name: result
           value: "{{item}}"
         withParam: "{{steps.generate-parameter.outputs.result}}"

 - name: montanamendy
   script:
     image: python:alpine3.6
     command: [python]
     source: |
       import json
       import sys

       json.dump([{"name":"Foo"},{"name":"Doe"}], sys.stdout)

 - name: print-result
   inputs:
     parameters:
     - name: result
   container:
     image: crweu.azurecr.io/ubuntu_run:v1.0.6
     command: [sh, -c]
     args: ["echo {{inputs.parameters.result}}"]

If I used the example Argo loop with:
json.dump([i for i in range(20, 31)], sys.stdout)

It prints out the number range without any issues.
I assume the problem is due to the fact it's not a simple item its an object and the {{item}} needs to change but I am unable to find any documentation on it. Saw a similar post like this on StackOverflow, I understand that Argo is parsing the JSON output of the montanamendy step, and I have adjusted the arguments accordingly, but to no avail.
-Montana

Looks like printing wrong error message. Getresult template is missing in your workflow spec. There is example for JSON array loop. You can try
https://github.com/argoproj/argo/blob/master/examples/loops-param-result.yaml

Ah! Thank you, just what I was looking for.
-Montana


Codecov 설정

What's new?

CI 에 테스트 커버리지 Codecov 로 보내는 단계 추가

Codecov Report

:exclamation: No coverage uploaded for pull request base (develop@753f937). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             develop      #45   +/-   ##
==========================================
  Coverage           ?   23.15%
==========================================
  Files              ?       29
  Lines              ?      557
  Branches           ?      121
==========================================
  Hits               ?      129
  Misses             ?      411
  Partials           ?       17

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Replace project name in .github files

This will require providing a prompt to the user to enter the name of the Project, i.e. Cake.Twitter.


/help breaking

Forge 2092
http://pastebin.com/y3hRUmby : Line 1802

Actually just tried to load this without HelpFixer and /help still works, but HelpFixer still complains.
Whose side is the issue on?

Actually... the issue is server side!

Why would you just randomly close the issue though?

This is how LootBags fixed the same issue on their side.
https://github.com/Malorolam/LootBags/commit/2647147688ea02e3de88c87e5e927a5e2dbfd6c8
It breaks stuff.
http://i.imgur.com/A7p7pfq.png

Don't know why I closed it, think maybe because it was another mod whining. Plus I was like asleep and the email notification annoyed me xD. No need to comment 500 times though.


ODBC Drivers Error on Linux ubuntu

am able to connect to a .mdb file  source in linux but when i try running a query i.e.
model function
`	public function getDepartmentsAccess() {
$sql = ('SELECT * FROM DEPARTMENTS ');
$query = $this -> zkteco -> query($sql);
	return $query -> result_array();

}`

View results from controller
<?php
					foreach ($leavetypedb as $key => $value) {

						echo'<option value="'.$value['DEPTNAME'].'" '.set_select('department', ''.$value['DEPTNAME'].'').'>'.$value['DEPTNAME'].'</option>';
					}

					?>

ERROR
A PHP Error was encountered
Severity: Error
Message: Out of memory (allocated 2097152) (tried to allocate<PHONE_NUMBER>9414584352 bytes)
Filename: odbc/odbc_result.php
Line Number: 171
Backtrace:
While the code below works fine without an error
`<?php
$query = 'SELECT * FROM DEPARTMENTS';
$mdb_file = '/var/www/html/imani.com/public_html/lms/ZKAccess.mdb';
$uname = explode(" ",php_uname());
$os = $uname[0];
					echo$os;
					switch ($os){
					  case 'Windows':
						$driver = '{Microsoft Access Driver (*.mdb)}';
						break;
					  case 'Linux':
						$driver = 'MDBTools';
						break;
					  default:
						exit("Don't know about this OS");
					}
					$dataSourceName = "odbc:Driver=$driver;DBQ=$mdb_file;";

					try{
					$connection = new PDO($dataSourceName);
					}catch(PDOException $exception){
						die("Unable to open database.Error message:$exception.");
					}
					$result = $connection->query($query)->fetchAll(\PDO::FETCH_ASSOC);

				foreach ($result as $key => $value) {

					echo'<option value="'.$value['DEPTNAME'].'" '.set_select('department', ''.$value['DEPTNAME'].'').'>'.$value['DEPTNAME'].'</option>';
				}

				?>				`

Yes, CodeIgniter does some caching internally that naturally raises the memory consumption. And it appears that you're that weird spot where you have just enough memory to process the data once, but not enough to have it cached for secondary usage.
However, I also have to note that you're also comparing our ODBC driver based on ext/odbc to ext/pdo_odbc, which is not the same thing.
Either way, not a bug and nothing we can do about it.

the problems its the manner which CI try to handle all the non standar odbc featrures like rown couns, tht are not part of ODBC standar and that CI framwork try to handle, so then ita a CI desing problem


Enable Link-Time Optimization (LTO) and evaluate other optimizations like Profile-Guided Optimization (PGO)

Hi!
I noticed that in the Cargo.toml file Link-Time Optimization (LTO) for the browser is not enabled. I suggest switching it on since it will reduce the binary size (always a good thing to have) and will likely improve the application's performance.
I suggest enabling LTO only for the Release builds to not sacrifice the developers' experience during the working on the project since LTO consumes an additional amount of time to finish the compilation routine. If you think that a regular Release build should not be affected by such a change as well, then I suggest adding an additional release-lto profile where additionally to regular release optimizations LTO also will be added. Such a change simplifies life for maintainers and others interested in the project persons who want to build the most performant version of the application.
After enabling LTO I highly recommend evaluating using Profile-Guided Optimization (PGO) for the projects since it can measurably improve the project performance (much more information and benchmarks with PGO can be found in my repo: https://github.com/zamazan4ik/awesome-pgo) - this optimization is already enabled for all major web-browsers like Chromium-based browsers and Firefox. However, I am not sure that this work should be done at the current project stage - it's up to the project developers.
Thank you.

Although we don't currently accept feature requests, this seems like a good first issue for a contribution.
I look forward to seeing anyone who wants to add an LTO profile to Verso.


Added Indonesian Translation

@pratansyah: Thank you so much for adding this. I have a doubt in language name in Readme.md. I'll add it as a review comment. Could you take a look at it and give me your thoughts?

Cool, @pratansyah I'll merge this now. I'd love to learn more about your experiences with open source. I'd love to evolve this project into solving various problems faced by first-time open source contributors.
Could you share your painpoints, experiences etc and possible things we can do to help?

@Roshanjossey I'm still new in open source and this is my first contributions. But, from my short experiences I can tell that the hardest thing is finding an entry to mid level open source repo to contribut to. There are lots of open source repo with various issues but most of them are already been developed for years and thus too complex for new contributor and even if there are some easy issues to be tackled, some veteran will grab it and solve it in less than 10 minutes.

@pratansyah, Please go through suggested projects in the end to look for issues you might be interested in
We also have a slack team to help/mentor people trying to contribute to open source projects.
You can join the team by going to https://firstcontributions.herokuapp.com


Add --project-root flag to scip stats

Workaround for https://github.com/sourcegraph/scip/issues/98
This shares logic with bindings/go/scip/testutil/format.go, but I haven't found the best place to put this shared code.
Test plan
$ go build -o scip ./cmd && ./scip stats --from /tmp/index.scip --project-root /data/s/gdk
{
  "documents": 222,
  "linesOfCode": 14789,
  "occurrences": 11324,
  "definitions": 2908
}

$ go build -o scip ./cmd && ./scip stats --from /tmp/index.scip
2023/07/19 17:51:48 Project root [/s/gdk] doesn't exist, using current working directory [/home/anatoli/delme/scip] instead. To override this behaviour, specify --project-root=<folder> option
2023/07/19 17:51:48 error counting stats: lstat /home/anatoli/delme/scip/support/compare.rb: no such file or directory

@olafurpg done!

Thank yoU!


Update kamon-akka, kamon-caffeine, ... to 2.7.4

About this PR
📦 Updates

io.kamon:kamon-akka
io.kamon:kamon-caffeine
io.kamon:kamon-executors
io.kamon:kamon-influxdb
io.kamon:kamon-system-metrics

from 2.7.3 to 2.7.4
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "io.kamon" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "io.kamon" }
}]

labels: library-update, early-semver-patch, semver-spec-patch, commit-count:1

Superseded by #135.


French Update

It is a update for the french langage becose the translater not good for all

Thanks for the PR!


Update MyPy settings

Codecov Report

Merging #89 (463c375) into main (079fe7c) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##              main       #89   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            2         2
  Lines           22        22
=========================================
  Hits            22        22

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 079fe7c...463c375. Read the comment docs.