Fix error message for newer Libvirt/Qemu with UEFI based VMs cannot do VM snapshot

It seems newer libvirt/qemu cannot do snasphot of KVM domains if they use UEFI and the error error: Operation not supported: internal snapshots of a VM with pflash based firmware are not supported is seen in logs. Until the hypervisor side fixes this, this is not a CloudStack problem, however an internal error message is shown; perhaps we can check and throw a correct exception/error message.
ISSUE TYPE

Bug Report

COMPONENT NAME

KVM, UEFI-based VM, VM Snapshot

CLOUDSTACK VERSION

4.14/master

virsh version
Compiled against library: libvirt 6.0.0
Using library: libvirt 6.0.0
Using API: QEMU 6.0.0
Running hypervisor: QEMU 4.2.0
Ubuntu 20.04 aarch64, but x86_64 issues seen as well

Yes same here.

trivial, marking for 4.16

Note - this happened only on RaspberryPi4/aarch64, however VM snapshots work on x86/Ubuntu etc.

There are some changes that went in the PR https://github.com/apache/cloudstack/pull/5297 where it updated the log message and tried to take the snapshot in a different way.
https://github.com/shapeblue/cloudstack/blob/81b7e6e750a581375612b78fbf04ce94da573839/plugins/hypervisors/kvm/src/main/java/com/cloud/hypervisor/kvm/storage/KVMStorageProcessor.java#L1576
So I think it will solve this issue as well, but I could not verify or reproduce it due to lack of specific hardware.
@rohityadavcloud I think we can close this issue based on the changes in PR5297. Please confirm.

Let me close this after checking this on a uefi systems (4.17 on rpi4)

Couldn't completely check but closing on remarks above


Method for setting the position

Right now the only place to set the position seems to be via setGeometry, which takes care of cleaning out all the layers etc.
We have a use case where the map width and height are fixed, and an update can happen just by writing into existing storage which is much faster than deleting it all and recreating. However, it does need a way to be able to update the position which was not hitherto possible.
Am I missing something in the usage of the library, or have you not used it in this way before?

Have you looked at the move(const Position& position) method? This changes the position of the map without resetting any data. However, in our typical use cases the map data is associated to the an inertial reference system, so we use the move(...) method which essentially moves the map boundaries while leaving the data associated with the same location in the grid map frame. In case there's a use case where you really want to change the position of the map without altering the map data, your addition would make change.

From what I can see, in a large move it is still doing alot of marking (data_.at(layer).setConstant(NAN);) which I would then have to rewrite with new data, i.e. two operations where one would be minimal.
I have to admit, I haven't got a good handle on exactly what you are doing with the move operation, nor have I been able to get it to produce what I would expect from it. I suspect accessing the underlying matrix directly is misleading once the boundaries of the grid map have moved...I'll start doing some simple experiments and get a better idea of what is going on.

I have added a new method setPosition as suggested. I have also added a new demo to illustrate the difference between the move and the new setPosition method. You can run the demo with:
roslaunch grid_map_demos move_demo.launch

This should further clarify the different methods to change the position of the map.

Thanks! And nice visualisation...one of those things that transmits an idea immediately :neckbeard:
With this issue, I'm getting the hang of using the library and iterators in the intended fashion now.  It's proving to be very useful and saving alot of code. Nice job.


Update repository after transfer

See https://github.com/senzing-garage/garage-roadmap/issues/3

Pull requests:

https://github.com/senzing-garage/senzing-with-chatgpt-plugin/pull/11


Copyright notices

We should add an appropriate standard copyright notice to all the files.

Closing as part of https://github.com/xamarin/TorchSharp/pull/129


Upgraded dependencies

Upgrade to:

tc platform 5.0.3.beta
tc apis 1.0.3.beta
testing libs 1.0.3.beta

Required for Issue #1004, PR #1307

tc-platform is currently being deployed, so keep retrying ;-)

Working on doing some cleanup in the properties in a separate PR, so closing this one.


Prevent buttons from stealing focus.

It allows the associated input element to stay focused, especially
to keep the associated CSS :focus style if any while typing on the
keyboard.
Hope it can make sense to you :)

Thanks !


Support documenting http responses, property list values, parameters, etc. with spaces in the name

Bug/issue #, if applicable: rdar://134705941
Summary
This updates the parsing for "tagged" list (http responses, property list values, parameters, etc.) to support documenting responses/values/keys/parameters with spaces in the name.
For example:
- DictionaryKey some key with spaces: Some description of this dictionary key.

now parses the entire "some key with spaces" as the name of the dictionary key that the documentation applies to.
Dependencies
None.
Testing
The hardest part of testing this is using a symbol graph file with list elements with spaces in the names. There is one such example among the test bundles.

Add a new documentation extension file to Tests/S with the following content:
# ``DictionaryData/Genre``

A musical genre.

- PossibleValue Classic Rock: Some description of the classic rock genre.
- PossibleValue Folk: Some description of the folk genre.

Run swift run docc preview /Tests/SwiftDocCTests/Test\ Bundles/DictionaryData.docc and navigate to the "Genre" page.

Both the "Classic Rock" and "Folk" values should display their possible-value description

Checklist
Make sure you check off the following items. If they cannot be completed, provide a reason.

[x] Added tests
[x] Ran the ./bin/test script and it succeeded
~[ ] Updated documentation if necessary~

@swift-ci please test

@swift-ci please test

@swift-ci please test


Bug: Automatic update error in Linux  (0 , builder_util_runtime_1.retry) is not a function

Describe the bug
Automatic update error reporting under Linux system

Automatic update error in Linux The update mode I choose is generic update

My update code has only one checkForUpdatesAndNotify just to detect and update under

I'm not sure if this is a problem with my use or a problem with the electron-updater packaging
Installing the builder-util-runtime manually solves the problem perfectly
I tried to run a demo under electron-updater but failed, I am a novice
So I reported the issues here, hoping to help others, or add this dependency
Thanks!
Electron-Vite Version
2.3.0
Electron Version
31.0.2
Vite Version
5.3.1
Validations

[X] Follow the Code of Conduct.
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.

Same on MacOS
[2024-11-19 18:52:29.154] [error] (AutoUpdateService)   Error: TypeError: (0 , builder_util_runtime_1.retry) is not a function
    at MacUpdater.executeDownload (/Applications/MyApp.app/Contents/Resources/app.asar/node_modules/electron-updater/out/AppUpdater.js:567:52)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
[2024-11-19 18:52:29.155] [error]                       Unhandled rejection TypeError: (0 , builder_util_runtime_1.retry) is not a function
    at MacUpdater.executeDownload (/Applications/MyApp.app/Contents/Resources/app.asar/node_modules/electron-updater/out/AppUpdater.js:567:52)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

Installing the builder-util-runtime package manually solves the problem perfectly
This is supposed to be an upstream warehouse problem, but I can't run the mini repo

same on Windows
[2024-11-21T16:08:47.776] [ERROR] default - Error: TypeError: (0 , builder_util_runtime_1.retry) is not a function
    at NsisUpdater.executeDownload (C:\Users\path\to\resources\app.asar\node_modules\electron-updater\out\AppUpdater.js:567:52)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

+1 我也一样 mac

same

Installing the builder-util-runtime package manually solves the problem perfectly
This is supposed to be an upstream warehouse problem, but I can't run the mini repo

thx, it works


Using snowpack + preact throws Script error

Describe the bug
I bootstrapped an app with create-snowpack-app using the preact-typescript template. whenever I try to use the style function, I get this weird error:
Unhandled Runtime Error
Script error.

Source:
no source file

when I check the browser console, this is whats there
SyntaxError: Importing binding name 'parse' is not found.
not sure at what level this is happening, whether its a preact thing or what, not sure how that would change things though. I have the snowpack plugin installed.
Link to reproduction
demo repo
I made this demo repo which is a 1:1 to what I have, steps to see error after pulling down the repo:
$ yarn install
$ yarn start

its a mono repo, but if you want you can cd packages/client then run those steps above so that its identical to a standalone repo.
System Info
 System:
    OS: macOS 11.4
    CPU: (8) x64 Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz
    Memory: 2.19 GB / 16.00 GB
    Shell: 5.8 - /usr/local/bin/zsh
  Binaries:
    Node: 16.4.2 - ~/.asdf/installs/nodejs/16.4.2/bin/node
    Yarn: 1.22.4 - ~/.asdf/shims/yarn
    npm: 7.18.1 - ~/.asdf/installs/nodejs/16.4.2/bin/npm
  Browsers:
    Chrome: 91.0.4472.114
    Firefox Developer Edition: 90.0
    Safari: 14.1.1
    Safari Technology Preview: 15.0

Not sure why the error messages are so unhelpful however I can see you're calling style outside of a .css.ts file. All @vanilla-extract/css code must be called within .css.ts files.


An estimation for a planet/star system's spin-orbit resonance regime

Currently, we provide the orbital distance and stellar mass as input parameters. This provides the length of the planet's year. We also input the zenith angle and heat redistribution factor, which allow us to handle resonant and asynchronously rotating cases.
Determining which planets are spin-orbit resonant and which are not is far from trivial, so in some cases it isn't clear which input parameters should be chosen. It would be helpful to implement a simple model for determining which state a given configuration is likely to enter into. This will fall short of a robust model which actually estimates the tidal stress on the planet and thereby more realistically determines the rotational regime.
This could be included in the main code itself, or simply as a tool which provides information to the user before the model is executed.

One simple way to approach this is to calculate the locking time-scale. This would require some estimations (guesses) for the properties of the planet (e.g. of its rigidity and ability to dissipate energy imparted by the tidal stresses).
https://en.wikipedia.org/wiki/Tidal_locking#Timescale

Recent paper related to this issue: https://arxiv.org/abs/2410.05373


Experimental

Codecov Report

Merging #368 into experimental will decrease coverage by 1.69%.
The diff coverage is 14.7%.

@@              Coverage Diff               @@
##           experimental    #368     +/-   ##
==============================================
- Coverage         76.29%   74.6%   -1.7%
==============================================
  Files                23      23
  Lines              1156    1189     +33
==============================================
+ Hits                882     887      +5
- Misses              274     302     +28

Impacted Files
Coverage Δ

vent/menu.py
23.02% <12.9%> (-2.67%)
:arrow_down:

vent/helpers/meta.py
51.02% <33.33%> (-1.16%)
:arrow_down:

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 e74af92...a350988. Read the comment docs.


Very strange, it is working fine now.
When I used it last, it said invalid.

Something is not right. Here is what is happening on firefox and chrome:

curl -X POST "http://<IP_ADDRESS>:5000/V1/company_message_frequency" -H  "accept: application/json" -H  "Content-Type: application/x-www-form-urlencoded" -d "cid=1,1&timestamp=1,1&messages=1,1"

Here is the screenshot:

@vrst37 I just checked on both firefox and chrome and it works for me.

Hello,
Here is the console output from my browser (Chrome)

can't reproduce


Improve performance of ShaderProgram.fromCache()

Opening this PR as a draft since I want to do more testing.
This PR changes how the cache key is generated for ShaderCache, which makes shader lookups a lot faster.
While profiling the new Model, one hotspot was the cache lookup for ShaderProgram. The problem is that calling ShaderSource.combineFragmentShader()/combineVertexShader() can be expensive, as it does many expensive string operations such as:

Regex search to remove comments
Regex search to extract extensions/version numbers and put them at the top
Regex search for builtins starting with czm_ and insert the corresponding GLSL code
Convert the syntax to WebGL 2 if needed

For large GLSL programs like the generated Model shader, the above steps can get quite expensive. Thus, it's not a good idea to use the result as a cache key. Instead, this PR uses a simpler cache key formed by concatenating just the parts of the input that will affect the output:

for the vertex/fragment shader, include only the original text, and any important options (e.g. whether this shader is for picking)
also include the attribute locations in case the order is different. This time I sorted the keys of this dictionary to prevent false cache misses.

For an initial test, I tried running a modified CDB Yemen Sandcastle. My testing procedure:

wait for all tiles to load
Start the profiler
Cycle through the second dropdown's options. This will change styles, triggering a rebuild of the pipeline several times
stop the profiler after 11 seconds

Initial Results:

main
this branch

The calls to removeComments() and combineShader() which used to be a large portion of the runtime are now a tiny portion of he runtime:

Other notes:

This profiling was done before #10723 was merged
Even without profiling, the Sandcastle is noticeably faster after the first couple of dropdown changes

To Do:

[x] Update unit tests
[x] Sync with main and try profiling again with #10723 which improves picking/styling performance
[x] Since this is a wide-reaching change, try other Sandcastles to make sure they work as expected
[x] Compare the number of shaders in the cache before and after this change, it should ideally remain the same
[x] Try profiling complex scenes that do not include Model/3D Tiles to see if this change helps in other parts in Cesium

Thanks for the pull request @ptrgags!

:heavy_check_mark: Signed CLA found.
:grey_question: CHANGES.md was not updated.

If this change updates the public API in any way, please add a bullet point to CHANGES.md.

:grey_question: Unit tests were not updated.

Make sure you've updated tests to reflect your changes, added tests for any new code, and ran the code coverage tool.

Reviewers, don't forget to make sure that:

[ ] Cesium Viewer works.
[ ] Works in 2D/CV.

:construction: WIP :construction:
One thing I wanted to test is that shaders are cached the same way between 1.96 and this branch. To do this, I'm trying a sampling of Sandcastles that print out the number of cache keys in the cache once it settles. Testing instructions:

Run the Sandcastle link and wait for the scene to load completely. Do not adjust the camera!
Hover over tilesets and click the canvas a few times to make sure any picking-related shaders have been added to the cache.
After a few clicks the number should settle on a constant value, this is the value to compare with.

Number of shaders in cache:

Sandcastle Link
1.96
This branch

CDB Yemen (Do not modify dropdowns)
74
TODO

same link, cycle through the 3 style options
80
TODO

Point Cloud Classification
59
TODO

To try a case that doesn't use Model/3D Tiles, I made This billboard sandcastle with a button that creates 100 BillboardCollections, each with 100 billboards every time the button is clicked.
My test procedure:

Load the sandcastle and rotate the globe to face (lon, lat) = (0, 0). The exact view doesn't matter
Start the profiler
Press the Create Billboards button a total of 5 times
Stop the profiler after 10 seconds.

The performance difference wasn't quite as significant as Model, but I can confirm that removeComments() disappear from the top 10 list. Furthermore, the CPU usage seems to go back to idling levels faster on this branch.

main
This branch

The one thing I notice is a different shader-related function, ShaderCache.getDerivedShaderProgram() is still at the top (though it seems to be a smaller proportion of the runtime at least in these runs). This function only involves string concatenation and a dictionary lookup, it doesn't do any expensive shader compilation like ShaderProgram.fromCache(). Though bear in mind, this is a contrived use case that's creating far too many BillboardCollections, several hundred cache lookups for only ~36 shaders in the cache.

@j9liu this is ready for review! With the above I tried a variety of different cases and this change is working nicely across the board

@j9liu updated!

@ptrgags looks good, just waiting on Travis to merge!


Read with a higher CL to make sure repair happens after logged batch …

…write.
For CASSANDRA-12383

+1

Multiplexed job passed 30 times. Merging.


Feature Request: add support for != for b2Vec2 (like there is for ==)

Noticed that b2Math.h defines operator == support for b2Vec2 but doesn't define != support.

I added this.


Org admins cannot view plans explicitly shared by a user of another org

Expected behaviour:
When a user of any organisation shares a plan with any other user, they should be able to view the plan.
Actual behaviour:
When an org-admin has a plan shared by a user of another organisation, they do not have permissions to view the plan.
Happening Because:
Plan.readable_by(u_id) is defined below
def readable_by?(user_id)
    current_user = User.find(user_id)
    if current_user.present?
      # If the user is a super admin and the config allows for supers to view plans
      if current_user.can_super_admin? &&
          Branding.fetch(:service_configuration, :plans, :super_admins_read_all)
        true
      # If the user is an org admin and the config allows for org admins to view plans
      elsif current_user.can_org_admin? &&
          Branding.fetch(:service_configuration, :plans, :org_admins_read_all)
        owner_and_coowners.map(&:org_id).include?(current_user.org_id)
      else
        commentable_by?(user_id)
      end
    else
      false
    end
  end

As you can see, if the user is an org-admin, we don't check if the plan is shared with them to determine access.  I'll move that up to a guard-statement, and see if I can simplify the logic.
This is happening on live-services, so it should probably be submitted as a patch to Master

I am not sure whether I am doing something wrong,
I am testing this on dmp-dev. I am pretending to be a user from Glasgow University, writing a plan for University of Edinburgh.
I enabled request feedback for Edinburgh University but I still cannot see 'request feedback' tab for plan which I am creating as a Glasgow University researcher for Edinburgh University.
Did I misunderstand the logic or am I testing this wrongly?

 Got an error message:

Sorry for not explaining this one clear enough.  Previous Behavior was:

User John from Org John's Uni shares a plan with User Alice from Org Alice's Uni.
Alice is an org-admin.
When alice goes to view the shared plan, she gets a 'permission denied' message

The sharing 404 is unrelated, but possibly a bug with the plan-sharing workflow so if you can reproduce it please open a new issue to address it.

I think this is working now. I shared a plan as a regular user with an org-admin from another university and was able to view the shared plan when I logged in as the org-admin. https://dmponline-dev.dcc.ac.uk/plans/35663
@sjDCC @magdalenadrafiova passing to you to verify

This is working. I shared a plan from me as Edge Hill uni to me as an admin at Glasgow uni and I could see plan fine.
Closing out


IGNITE-16998 [Native Persistence 3.0] Add configuration for checkpoint

https://issues.apache.org/jira/browse/IGNITE-16998

One more thing. I feel like our configuration is kinda broken right now. We should definitely discuss it. What I mean is that technically there are two engines, but they have shared config. This forces us to have "persistent" flag in regions and we mast share regions name space between two engines. On one hand, it's fine, but on the other - should we change it?I can easily imagine the situation where user would want to have different page sizes for volatile and persistent storages, because the first one is not limited by checkpoint performance.

@ibessonov Please make code review.

@ibessonov Please make code review.

@ibessonov Please make code review.


chore: update smithy4s-sbt-codegen from 0.17.19 to 0.18.3

About this PR
📦 Updates com.disneystreaming.smithy4s:smithy4s-sbt-codegen from 0.17.19 to 0.18.3
📜 GitHub Release Notes - Version Diff
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!

🔍 Files still referring to the old version number
The following files still refer to the old version number (0.17.19).
You might want to review and update them manually.
project/Dependencies.scala

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.disneystreaming.smithy4s", artifactId = "smithy4s-sbt-codegen" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "com.disneystreaming.smithy4s", artifactId = "smithy4s-sbt-codegen" }
}]

labels: sbt-plugin-update, early-semver-major, semver-spec-minor, version-scheme:early-semver, old-version-remains, commit-count:1

Superseded by #234.


Outdated document.

Screenshots and information do not match the current UI.

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

ID: a564ccd6-2523-9ade-e002-f79d5c6deeaf
Version Independent ID: e099ba5d-60af-22b7-46e7-8054e707d5bf
Content: Manage protocols and ciphers in Azure API Management
Content Source: articles/api-management/api-management-howto-manage-protocols-ciphers.md
Service: api-management
GitHub Login: @mikebudzynski
Microsoft Alias: apimpm

@SINIKI Thanks for the feedback! We have assigned this issue to the content author to review and update accordingly.


All commands that accept --tag should also accept --insecure-registry

There are a set of flags for working with registries:

--tag
--force
--insecure-registry
? (do a review)

Every command that accepts a tag should handle the others. I already did a sweep for force, but we should do another for --insecure-registry and think about it there are any others.

Working on a fix now so that grouped flags are always applied together.


Reduce Log Level of PubsubUnboundedSource

Be sure to do all of the following to help us incorporate your contribution
quickly and easily:

[ ] Make sure the PR title is formatted like:
[BEAM-<Jira issue #>] Description of pull request
[ ] Make sure tests pass via mvn clean verify.
[ ] Replace <Jira issue #> in the title with the actual Jira issue
number, if there is one.
[ ] If this contribution is large, please file an Apache
Individual Contributor License Agreement.

R: @kennknowles

LGTM, yes please.

Changes Unknown when pulling 8060d66083973cdab91f68085652ab68e3dee596 on tgroh:pubsub_messages_debug into ** on apache:master**.


Add tar to UBI base image so it works with kubectl cp

kubectl cp requires tar binary in the target image so we need to include it in the UBI base image used as a runtime.
Resolves #66

Looks like it still gets stuck on building arm64 :(

Looks like it still gets stuck on building arm64 (twice in a row) :(

hm, but it still has 4h timeout instead of the 12h

/retest


Intermittent "Broken pipe" test failure on Linux

This test fails every so often, seemingly on in CI as I haven't seen it locally:
--- FAIL: TestInterp (1.24s)
    --- FAIL: TestInterp/awk_BEGIN_{_print_"foo"_|">&2_echo_error"_}__#_!fuzz (0.01s)
        interp_test.go:671: error running gawk: exit status 2:
            error
            gawk: cmd. line:1: fatal: print to ">&2 echo error" failed (Broken pipe)
FAIL

Oh, I hadn't noticed this is actually a Gawk issue, not a GoAWK issue. Just skipping this test on Gawk: https://github.com/benhoyt/goawk/commit/a3575018aa5c834cac24302ec668d5dc798549b9


bugs

https://imgur.com/a/N6SXZ i can't see item holograms . Server version paperspigot 1.12.2

the problem mite be you need to use Spigot you can get the latest release =====> Here


Move ICU helper macros into functions.

And fix coverity issues on this module once and for all (at least
against a local coverity run).
Signed-off-by: Gustavo Lima Chaves<EMAIL_ADDRESS>"goto considered harmful"

Cool, thanks. Merging.


WbGeometry::sanitizeFields doesn't work at load

The WbGeometry::sanitizeFields function returns FALSE and skips the WREN mesh creation if a field was invalid and had to be reset to default.
This was done because the field change due to the reset should automatically trigger the WREN mesh recreation.
Unfortunately this mechanism doesn't work at world load and the mesh is not created at all causing other issues and crashes.

Additionally in a normal case where you change a field like the WbSphere::subdivision, the sanitizeFields function is called 3 times from the updateSubdivision method:

https://github.com/omichel/webots/blob/revision/src/webots/nodes/WbSphere.cpp#L179
https://github.com/omichel/webots/blob/revision/src/webots/nodes/WbSphere.cpp#L139
https://github.com/omichel/webots/blob/revision/src/webots/nodes/WbSphere.cpp#L154


MGRS spaces

The mgrs package appears to return an incorrect coordinate if the MGRS string contains spaces

Completed by #58


How to use node-rtsp-stream with https connections? Since this package uses websockets internally, where do we mention configutations for "wss"?

Look in videoStream.js and do the following.
const server = https.createServer({
cert: fs.readFileSync('./cert/backend.foobar.com.public.pem'),
key: fs.readFileSync('./cert/backend.foobar.com.private.pem'),
}, function (req, res) {
console.log(new Date() + ' ' +
req.connection.remoteAddress + ' ' +
req.method + ' ' + req.url);
res.writeHead(200);
res.end("hello foobarbackend\n");
});
this.wsServer = new ws.Server({
server
})
You also have to adapt the VideoStream.prototype.stop
Add i line where you stop the http server.
this.wsServer.close()
this.httpsserver.close(function () { console.log('HTTPS Server closed!'); });
this.stream.kill()

my wss server working but i dont get frames with jsmpeg and html

Unfortunately this module isn't designed to use wss right now. If this grows as a request I will look into adding it. It would be great to have, but for now I'm not sure I can dig into it. Thanks for the suggestion though!

Sorry for my late answer. I have use your code for wss and now its work with jsmpeg.
Thanks for support. :)

So does this mean this will only still work on http sites? Sorry for the confusion but I would love to learn how to get it going on https.

Figured it out hopefully it can help another! The issue was solved using a wss with a slight modification.
Inspired by this
Wss implemetation
Sample index.js for node

var key = fs.readFileSync('../yoursite_com.key');
var cert = fs.readFileSync( '../yoursite_com.crt' );
var ca = fs.readFileSync( '../yoursite_com.csr' );

global.options = {
  key: key,
  cert: cert,
  ca: ca
  };

const app = express();
//Some routes here yada yada

var serverH = https.createServer(options, app);

//On a secure websocket request from the front end, this gets hit
serverH.on('upgrade', function upgrade(request, socket, head) {
  const pathname = url.parse(request.url).pathname;
//Check to make sure it is infact a correct wss request
if (pathname.includes('/socketSecure/'))
{
    console.log("path :" + pathname)
    var splitPath = pathname.split('/');

    //Here I am parsing the request path to a UID that is going to help me get the ws connection
    //I have a dictionary of these active ws connections
    var reqKey = splitPath[2]+ splitPath[3];

    for (var key in  ClientSteams) {
      // check if the property/key is defined
      if (ClientSteams.hasOwnProperty(key) && key == reqKey ) {
            //This is the key, it finds the wsServer and then emits it to my current connection
            ClientSteams[key].wsServer.handleUpgrade(request, socket, head, function done(ws) {
                ClientSteams[key].wsServer.emit('connection', ws, request);
            });
      }}
  } else {
    socket.destroy();
  }
});

Also changed it up a little on the videoStream.js as well, what this is doing is making a Websocket Server without a port

VideoStream.prototype.pipeStreamToSocketServer = function() {
  this.wsServer = new ws.Server({
     noServer: true
  })

With this approach, I can have many SECURE ws connections without getting any server errors.

@alphabin Thanks so much! This is great! Closing issue for now.

I'm still having some major issues getting this to work. The provided instructions detailed aren't really clear on where things are supposed to go. I've generated certs but cannot get the first reply to function, the server just instantly closes.

I am facing error when I try to change the RTSP URL dynamically in node-rtsp-stream, can anyone help me to fix this.
my error is look like this:

TypeError: stream is not a constructor
    at D:\Ayonix_Dev_New\ayonix-access-control-nodejs\routes\RTSPLinks.js:48:14
    at Layer.handle [as handle_request] (D:\Ayonix_Dev_New\ayonix-access-control-nodejs\node_modules\express\lib\router\layer.js:95:5)
    at next (D:\Ayonix_Dev_New\ayonix-access-control-nodejs\node_modules\express\lib\router\route.js:137:13)
    at Route.dispatch (D:\Ayonix_Dev_New\ayonix-access-control-nodejs\node_modules\express\lib\router\route.js:112:3)
    at Layer.handle [as handle_request] (D:\Ayonix_Dev_New\ayonix-access-control-nodejs\node_modules\express\lib\router\layer.js:95:5)
    at D:\Ayonix_Dev_New\ayonix-access-control-nodejs\node_modules\express\lib\router\index.js:281:22
    at Function.process_params (D:\Ayonix_Dev_New\ayonix-access-control-nodejs\node_modules\express\lib\router\index.js:335:12)
    at next (D:\Ayonix_Dev_New\ayonix-access-control-nodejs\node_modules\express\lib\router\index.js:275:10)
    at Function.handle (D:\Ayonix_Dev_New\ayonix-access-control-nodejs\node_modules\express\lib\router\index.js:174:3)
    at router (D:\Ayonix_Dev_New\ayonix-access-control-nodejs\node_modules\express\lib\router\index.js:47:12)


Improve check consistency with under storage behavior

Each path in Alluxio will be compared with the underlying storage recursively.
This PR aims to reduce unnecessary comparisons  with under storage path status (maybe an expansive operation) in nested directorys.
E.g.

/a/b/c in Alluxio and UFS , then delete UFS directory /a, we can assert that b, c must be inconsistent with UFS.
/a/b/c is only created in Alluxio, not on underlying storage , we can assert that  b, c must be inconsistent with UFS.
.....
we can assert that the parent node is inconsistent, then the child nodes must be also inconsistent.
remind : dir is considered consistent even if the dir's fingerprint was changed.

Existing test ：alluxio.client.fs.CheckConsistencyIntegrationTest

Codecov Report

Merging #13247 (fc19ce2) into master (9c64bf0) will decrease coverage by 21.17%.
The diff coverage is 0.00%.

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

@jiacheliu3 please take a look~

alluxio-bot, check this please

alluxio-bot, check this please

@gpang @calvinjia please take a look,thx.

@yabola thanks for the change. one comment, looks like the only time we can have MINOR_INCONSISTENT is when we have files.  so perhaps we can say that if a dir is inconsistent we can assert the children is inconsistent?  so we avoid introducing the concept of MAJOR and MINOR inconsistency?

@yuzhu  I agree with you. If a dir is inconsistent, then we can assert the children is inconsistent. I had modified the code .But I want to confirm that dir is considered consistent even if the dir's fingerprint was changed.
Please review again, thx.

@yabola Thanks for the optimization!
@yuzhu raises a good point, I think in the case we shadow a directory, it is reasonable to state that the files underneath are also inconsistent, so I'm okay with this change. Though this should be a pretty rare case where consistency doesn't make that much sense in the first place.

alluxio-bot, merge this please.

alluxio-bot, merge this please.


Fix a few indention issues and typos

Hi,
Spotted a few indention issues, thought I should send a PR.
And thanks for the great PWA :)
Cheers 🍻

indentation should be fixed in #51

@Haroenv cool. closing this.


Add missing field and docs gaf-eco-mapping-derived.txt

A while ago I worked with Marcus on this https://github.com/evidenceontology/evidenceontology/blob/master/gaf-eco-mapping.txt
This provides a mapping from a GAF code + GO_REF to an ECO class
There is a PURL for this, so that people can use a PURL rather than a github URL http://purl.obolibrary.org/obo/eco/gaf-eco-mapping.txt
all good
at some point some groups started needing a derived version of this so they didn't have to walk to the ECO graph
Here:
https://github.com/evidenceontology/evidenceontology/blob/master/gaf-eco-mapping-derived.txt
This essentially has materialized inferences
However, it lacks a GO_REF. It also lacks documentation at the start of the file
Can these be added? The docs should state exactly what the file is an how it's derived
I also recommend the PURL is advertised in the header:
http://purl.obolibrary.org/obo/eco/gaf-eco-mapping-derived.txt
cc @kltm

Hi Chris
Thanks for alerting us to this. We'll work on getting it fixed.
Michelle

Can you also add a link to this in the wiki page?

https://github.com/evidenceontology/evidenceontology/blob/master/gaf-eco-mapping-derived.txt resolves to HTML, it needs to resolve to the raw github URL
$ curl -L -s https://github.com/evidenceontology/evidenceontology/blob/master/gaf-eco-mapping-derived.txt | head

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">

@nsuvarnaiari
Hi Suvvi - let's review this one to see if there is anything else to do - I think it can be closed.
Michelle

All the issues have been resolved.
1)PURL has been added in the header of http://purl.obolibrary.org/obo/eco/gaf-eco-mapping-derived.txt file. The header also contains details on how the file is generated.
2)The file does not have mappings to GO:REFs (mapping from a GAF code + GO_REF to an ECO class is in https://github.com/evidenceontology/evidenceontology/blob/master/gaf-eco-mapping.txt).
3) The PURLs to 'gaf-eco-mapping.txt' and 'gaf-eco-mapping-derived.txt' have been added to wiki page (https://github.com/evidenceontology/evidenceontology/wiki/Gene-Ontology-GafEcoMapping)


Use the plugin to generate plugin descriptor

$ gw :sq-gr-p:clean :sq-gr-p:ass

$ unzip -p sqldelight-gradle-plugin/build/libs/sqldelight-gradle-plugin-1.0.0-SNAPSHOT.jar META-INF/gradle-plugins/com.squareup.sqldelight.properties
implementation-class=com.squareup.sqldelight.gradle.SqlDelightPlugin

Approved
On Thu., Oct. 4, 2018, 3:41 p.m. Jake Wharton<EMAIL_ADDRESS>wrote:

$ gw :sq-gr-p:clean :sq-gr-p:ass
$ unzip -p sqldelight-gradle-plugin/build/libs/sqldelight-gradle-plugin-1.0.0-SNAPSHOT.jar META-INF/gradle-plugins/com.squareup.sqldelight.properties
implementation-class=com.squareup.sqldelight.gradle.SqlDelightPlugin

You can view, comment on, or merge this pull request online at:
https://github.com/square/sqldelight/pull/990
Commit Summary

Use the plugin to generate plugin descriptor

File Changes

M sqldelight-gradle-plugin/build.gradle
https://github.com/square/sqldelight/pull/990/files#diff-0 (9)
D
sqldelight-gradle-plugin/src/main/resources/META-INF/gradle-plugins/com.squareup.sqldelight.properties
https://github.com/square/sqldelight/pull/990/files#diff-1 (1)

Patch Links:

https://github.com/square/sqldelight/pull/990.patch
https://github.com/square/sqldelight/pull/990.diff

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/square/sqldelight/pull/990, or mute the thread
https://github.com/notifications/unsubscribe-auth/ABmQwJMqo2veNHcW-EKzKpK-LODIg7jhks5uhhASgaJpZM4XIIov
.

Thanks for the tip, @kevinmost!

@JakeWharton I noticed that your plugin block is called sqlDelight {. The tutorial on Gradle's site uses simplePlugin { as the name of that block. Is it valid to use any name there?

When I clicked through the DSL in the IDE it was a NamedDomainObjectContainer which usually means you can give it any name which might be used somewhere. As far as I can tell they don't actually use the name that you supply anywhere.

That makes sense. I learned something today too, haha.


[RELAY][FRONEND] Frontend scalfolding

This is an issue to coordinate frontend scaffolding for relay. To help us coordinate, I have tagged a list of folks who originated the initial scaffolding of nnvm part to initiate the move, please feel free to reply to this issue and coordinate the tasks.

[x] ONNX @zhreshold
[x] Keras @Huyuwei
[x] Tensorflow @srkreddy1238
[ ] DarkNet @PariksheetPinjari909
[x] Caffe2
[x] CoreML
[x] NNVMv1  to relay
[x] MXNet

#2216 for tensorflow

#2302 for onnx

#2336 for keras

We still have CoreML left, @kazum would you be interested in help on that?

Is #2476 the CoreML frontend?

Sorry I missed track of things, yes CoreML is already in, only Darknet left then :)

@tqchen @zhiics I created a CoreML tutorial instead, #2667 :)

@PariksheetPinjari909, do you have a time to implement a DarkNet support?  If no, I'd be happy to take over the work from you :)  What do you think of it?

I know @siju-samuel was working on this front end some time back.
@siju-samuel  Can you update the status ?

I was working on bringing yolov3 to Darknet relay frontend sometime back and then i got busy with some other work. In a week, i can finish the remaining and PR.
Darknet frontend depends on #1941 and #2275,  i will work on this PRs and then i will upstream the frontend PR.


Cannot re-authenticate ASE

Preflight Checklist

[X] I have installed the latest version of Storage Explorer.
[X] I have checked existing resources, including the troubleshooting guide and the release notes.
[X] I have searched for similar issues.

Storage Explorer Version
1.29.1
Regression From
No response
Architecture
x64
Storage Explorer Build Number
20230509.5
Platform
Windows
OS Version
Windows 10
Bug Description
{
"name": null,
"message": ""{\n  \"name\": \"Error\",\n  \"message\": \"self signed certificate in certificate chain\",\n  \"stack\": \"Error: self signed certificate in certificate chain\\n    at TLSSocket.onConnectSecure (node:_tls_wrap:1538:34)\\n    at TLSSocket.emit (node:events:513:28)\\n    at TLSSocket._finishInit (node:_tls_wrap:952:8)\\n    at ssl.onhandshakedone (node:_tls_wrap:733:12)\",\n  \"code\": \"SELF_SIGNED_CERT_IN_CHAIN\"\n}""
}
Steps to Reproduce

Launch ASE
ASE wants re-authentication --> finished that
browser says authenticated but ASE still requires authentication

Actual Experience
ASE installed was old. I tried to download the mentioned version and re-authenticate, but I wasn't able to.
Expected Experience
No response
Additional Context
No response

Please try enabling system proxy: https://learn.microsoft.com/en-us/azure/storage/common/storage-explorer-network#use-system-proxy-preview


⚠ SolarOscp has degraded performance

In 9c967d7, SolarOscp ($SOLAROSCP_URL) experienced degraded performance:

HTTP code: 200
Response time: 277 ms

Resolved: SolarOscp performance has improved in 6c28289 after 10 minutes.


from example in doc (my brain bug or tff bug ?)

Hello all,
I try to do this:
import tensorflow as tf
import tensorflow_fold as td

# Create RNN cells using the TensorFlow RNN library
char_cell = td.ScopedLayer(tf.contrib.rnn.BasicLSTMCell(num_units=16), 'char_cell')
word_cell = td.ScopedLayer(tf.contrib.rnn.BasicLSTMCell(num_units=32), 'word_cell')

# character LSTM converts a string to a word vector
char_lstm = (td.InputTransform(lambda s: [ord(c) for c in s]) >>
             td.Map(td.Scalar('int32') >>
                    td.Function(td.Embedding(128, 8))) >>
             td.RNN(char_cell))
# word LSTM converts a sequence of word vectors to a sentence vector.
# word_lstm = td.Map(char_lstm >> td.GetItem(1)) >> td.RNN(word_cell)

# ---------------------------------------------------------------------

sess = tf.InteractiveSession()

(
    td.Map(char_lstm >> td.GetItem(1)) >>
    td.RNN(word_cell)
).eval(["bon","ben"])

and i get:
(...)
/opt/conda/envs/python2/lib/python2.7/site-packages/tensorflow/contrib/rnn/python/ops/core_rnn_cell_impl.pyc in _linear(args, output_size, bias, bias_start, scope)
    729   # Calculate the total size of arguments on dimension 1.
    730   total_arg_size = 0
--> 731   shapes = [a.get_shape() for a in args]
    732   for shape in shapes:
    733     if shape.ndims != 2:

AttributeError: 'tuple' object has no attribute 'get_shape'

you need to set state_is_tuple to be false, so the cell and hidden state are concatenated together.
i.e
# Create RNN cells using the TensorFlow RNN library
char_cell = td.ScopedLayer(
    tf.contrib.rnn.BasicLSTMCell(num_units=16, state_is_tuple=False),
    'char_cell'
)
word_cell = td.ScopedLayer(
    tf.contrib.rnn.BasicLSTMCell(num_units=32, state_is_tuple=False),
    'word_cell'
)

The example should work. I'll leave it up to you to figure out what the output of the eval actually represents :)

Thank you very much  !!! no i can continue my « brain burning » :)
I think i will figure a lot of things before figuring the right one:
Learning game !
Benjamin Derei
Tel: 06 41 66 93 41
Le 1 mai 2017 à 11:59:29, Sam Coope<EMAIL_ADDRESS>a écrit:
you need to set state_is_tuple to be false, so the cell and hidden state
are concatenated together.
i.e
Create RNN cells using the TensorFlow RNN library
char_cell = td.ScopedLayer(
tf.contrib.rnn.BasicLSTMCell(num_units=16, state_is_tuple=False),
'char_cell'
)
word_cell = td.ScopedLayer(
tf.contrib.rnn.BasicLSTMCell(num_units=32, state_is_tuple=False),
'word_cell'
)
The example should work. I'll leave it up to you to figure out what the
output of the eval actually represents :)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/tensorflow/fold/issues/54#issuecomment-298313626, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AMXQvHg4p0Gpp1JoizQ0Bp3tKfIoSD3Vks5r1az_gaJpZM4NMlhX
.

According to section 3.3 of hierarchical LSTMs, the word_lstm gets the hidden outputs of char_lstm as inputs. So, I think the correct way to construct a word_lstm cell with char_cell's state_is_tuple=True  is here below:
import tensorflow as tf
import tensorflow_fold as td

# Create RNN cells using the TensorFlow RNN library
char_cell = td.ScopedLayer(tf.contrib.rnn.BasicLSTMCell(num_units=16), 'char_cell')
word_cell = td.ScopedLayer(tf.contrib.rnn.BasicLSTMCell(num_units=32), 'word_cell')

# character LSTM converts a string to a word vector
char_lstm = (td.InputTransform(lambda s: [ord(c) for c in s]) >>
             td.Map(td.Scalar('int32') >>
                    td.Function(td.Embedding(128, 8))) >>
             td.RNN(char_cell))
# word LSTM converts a sequence of word vectors to a sentence vector.
word_lstm = td.Map(char_lstm >> td.GetItem(1) >> td.GetItem(1)) >> td.RNN(word_cell)

sess = tf.InteractiveSession()

word_lstm.eval(["bon","ben"])

I add one more >> td.GetItem(1) behind >> td.GetItem(1), so that word_lstm can get the hidden_output of one char_lstm instead of (cell_status, hidden_output) of one.
Wish this is helpful!

Will Try :)

@benjaminderei
No. char_lstm_output[1] is an instance of LSTMStateTuple if you set state_is_tuple=True; otherwise, it is 32 float numpy array.

I have edited my previous post :)

@benjaminderei glad to help you.


Should we put these into the artefacts server?

CEDA Intake catalogues version:
Python version:
Operating System:

Description
Describe what you were trying to get done.
Tell us what happened, what went wrong, and what you expected to happen.
What I Did
Paste the command(s) you ran and the output.
If there was a crash, please include the traceback here.

Not sure if this helps, but here's a decision tree that Sam and I came up with about where to put related information for datasets:
https://ceda-internal.helpscoutdocs.com/article/4827-where-to-put-data-docs#gsc.tab=0
This is from the perspective of grey literature items associated with data resources (that would be catalogued) primarily... but doesn't preclude the artefacts server being used for other things.... but perhaps be cautious of overloading it with new requirements given that it has limited support/scope and is about 'artefacts' really....
Contrasting this I use the github to serve up the CMMS content and harvest content from there for use in the catalogue content rendering... could be worth considering if this is an option or, indeed, if it could be moved over to the artefacts server instead...


Armstrong Number Calculator

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Screenshot:

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
What problem is this feature trying to solve?
How do we know when the feature is complete?

Closing this as exists #1861


Error when loading rules_oci image tarball into docker

Hi! I'm trying to build my docker images from my Go project with rules_oci. I tried following your guide, but I'm getting an error when attempting to load the tarball into docker.
My tarball target has the repotags set:
go_binary(
    name = "phono",
    embed = [":phono_lib"],
    visibility = ["//visibility:public"],
)

pkg_tar(
    name = "phono_tarball",
    srcs = [":phono"],
)

oci_image(
    name = "phono_image",
    architecture = select({
        "@platforms//cpu:arm64": "arm64",
        "@platforms//cpu:x86_64": "amd64",
    }),
    base = "@distroless_base",
    tars = [":phono_tarball"],
    entrypoint = ["/app"],
    os = "linux",
)

oci_tarball(
    name = "phono_image_tarball",
    image = ":phono_image",
    repotags = ["phono:latest"],
)

But I'm getting this error when running:
$ docker load --input /private/var/tmp/_bazel_logan/6935840e8ee73f156f0328fbaa27d52a/execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/apps/phono/phono_image_tarball/tarball.tar
json: cannot unmarshal string into Go struct field manifestItem.RepoTags of type []string

Note that I'm using a bazel symlink prefix in my .bazelrc:
build --symlink_prefix=.bazel/

So I had to use a shell script to construct the full path to the tar:
#!/bin/zsh

# Get the file path of the image tarball:
OCI_IMAGE_TARBALL_RELATIVE_FILE_PATH=$(bazel cquery --output=files $1)

# Trim off the bazel-out prefix:
OCI_IMAGE_TARBALL_RELATIVE_FILE_PATH=${OCI_IMAGE_TARBALL_RELATIVE_FILE_PATH#"bazel-out"}

# Get the path to the bazel-out directory at the destination of our symlink:
BAZEL_OUT_DIR_PATH=$(readlink -f .bazel/out)

# Concatenate the two together to get an absolute path to the image tarball:
OCI_IMAGE_TARBALL_ABSOLUTE_FILE_PATH=$BAZEL_OUT_DIR_PATH$OCI_IMAGE_TARBALL_RELATIVE_FILE_PATH

# Load the image into docker:
docker load --input $OCI_IMAGE_TARBALL_ABSOLUTE_FILE_PATH

I was able to work around the issue by using docker import instead and providing the tag manually but this is less than ideal:
cat /private/var/tmp/_bazel_logan/6935840e8ee73f156f0328fbaa27d52a/execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/apps/phono/phono_image_tarball/tarball.tar | docker import - phono:latest

Do you have any suggestions?

I put up a PR to fix the bug here:
https://github.com/bazel-contrib/rules_oci/pull/190

I think this can be closed now that #205 has merged?

Hi @jmhodges yes my PR fixed it. I’ll close it now.


chore(evm): remove trace printer, trim inspector stack

I don't think this has much use, and is only exposed in cast run.
Additionally, trim inspector stack implementation when the internal inspector does nothing

Why was it removed?
It provides a low-level tracing information even on blockchains that doesn't support debug_trace APIs, which is great.
An example of an issue I currently try to handle (and had to recompile an old cast for it)
We try to assess the cost of "post-verkle" of contracts.
To do so, we need a trace of all opcodes executed (e.g. a sequence of [address,PC])
We then calculate the code "slots" accessed.
But as I said, this can't be done without this tracing capability.


Cannot create Docker images using Molecule due to _api.credentials.errors

Issue Type

Bug report

Molecule and Ansible details
ansible --version
ansible [core 2.14.6]
  config file = /home/etba/.ansible.cfg
  configured module search path = ['/home/etba/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules', '/usr/lib/python3/dist-packages/ansible/modules', '/home/etba/monitoring-global/ansible/library']
  ansible python module location = /home/etba/ansible-7.6.0/lib/python3.10/site-packages/ansible
  ansible collection location = /home/etba/.ansible/collections:/usr/share/ansible/collections
  executable location = /home/etba/ansible-7.6.0/bin/ansible
  python version = 3.10.9 (main, Dec  7 2022, 01:12:00) [GCC 9.4.0] (/home/etba/ansible-7.6.0/bin/python)
  jinja version = 3.1.2
  libyaml = True

molecule 5.0.1 using python 3.10
    ansible:2.14.6
    azure:23.4.1 from molecule_plugins
    containers:23.4.1 from molecule_plugins requiring collections: ansible.posix>=1.3.0 community.docker>=1.9.1 containers.podman>=1.8.1
    delegated:5.0.1 from molecule
    docker:23.4.1 from molecule_plugins requiring collections: community.docker>=3.0.2 ansible.posix>=1.4.0
    ec2:23.4.1 from molecule_plugins
    gce:23.4.1 from molecule_plugins requiring collections: google.cloud>=1.0.2 community.crypto>=1.8.0
    podman:23.4.1 from molecule_plugins requiring collections: containers.podman>=1.7.0 ansible.posix>=1.3.0
    vagrant:23.4.1 from molecule_plugins

Docker version used is on a WSL2 with a Docker Desktop v.4.19.0 and a Docker Engine version 24.0.2.
Molecule installation method (one of):

pip using a virtualenv

Ansible installation method (one of):

pip using a virtualenv

Detail any linters or test runners used:
Desired Behavior
Getting the Docker image build by Ansible using the molecule test or molecule create commands with Docker containers up and running.
Actual Behaviour
For some weird reasons, the molecule create or molecule test command failed at the Ansible task "Build an Ansible compatible image (new)" with the following error message :
The error was: ansible_collections.community.docker.plugins.module_utils._api.credentials.errors.StoreError: Unexpected OS error "Exec format error", errno=8

The error seems to happend in the following playbook file : $INSTALLATION_MOLECULE_PATH_USING_PIP/lib/python3.10/site-packages/molecule_plugins/docker/playbooks/create.yml
The complete error even with the verbose debug -vvvv is the following :
"module_stderr": "Traceback (most recent call last):\n  File \"/tmp/ansible_community.docker.docker_image_payload_v1a8gthl/ansible_community.docker.docker_image_payload.zip/ansible_collections/community/docker/plugins/module_utils/_api/credentials/store.py\", line 91, in _execute\n  File \"/usr/lib/python3.10/subprocess.py\", line 421, in check_output\n    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,\n  File \"/usr/lib/python3.10/subprocess.py\", line 503, in run\n    with Popen(*popenargs, **kwargs) as process:\n  File \"/usr/lib/python3.10/subprocess.py\", line 971, in __init__\n    self._execute_child(args, executable, preexec_fn, close_fds,\n  File \"/usr/lib/python3.10/subprocess.py\", line 1847, in _execute_child\n    raise child_exception_type(errno_num, err_msg, err_filename)\nOSError: [Errno 8] Exec format error: '/usr/bin/docker-credential-desktop.exe'\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n  File \"/tmp/.ansible/ansible-tmp-1686758528.644757-23166-178765827922751/AnsiballZ_docker_image.py\", line 107, in <module>\n    _ansiballz_main()\n  File \"/tmp/.ansible/ansible-tmp-1686758528.644757-23166-178765827922751/AnsiballZ_docker_image.py\", line 99, in _ansiballz_main\n    invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)\n  File \"/tmp/.ansible/ansible-tmp-1686758528.644757-23166-178765827922751/AnsiballZ_docker_image.py\", line 47, in invoke_module\n    runpy.run_module(mod_name='ansible_collections.community.docker.plugins.modules.docker_image', init_globals=dict(_module_fqn='ansible_collections.community.docker.plugins.modules.docker_image', _modlib_path=modlib_path),\n  File \"/usr/lib/python3.10/runpy.py\", line 224, in run_module\n    return _run_module_code(code, init_globals, run_name, mod_spec)\n  File \"/usr/lib/python3.10/runpy.py\", line 96, in _run_module_code\n    _run_code(code, mod_globals, init_globals,\n  File \"/usr/lib/python3.10/runpy.py\", line 86, in _run_code\n    exec(code, run_globals)\n  File \"/tmp/ansible_community.docker.docker_image_payload_v1a8gthl/ansible_community.docker.docker_image_payload.zip/ansible_collections/community/docker/plugins/modules/docker_image.py\", line 962, in <module>\n  File \"/tmp/ansible_community.docker.docker_image_payload_v1a8gthl/ansible_community.docker.docker_image_payload.zip/ansible_collections/community/docker/plugins/modules/docker_image.py\", line 951, in main\n  File \"/tmp/ansible_community.docker.docker_image_payload_v1a8gthl/ansible_community.docker.docker_image_payload.zip/ansible_collections/community/docker/plugins/modules/docker_image.py\", line 416, in __init__\n  File \"/tmp/ansible_community.docker.docker_image_payload_v1a8gthl/ansible_community.docker.docker_image_payload.zip/ansible_collections/community/docker/plugins/modules/docker_image.py\", line 450, in present\n  File \"/tmp/ansible_community.docker.docker_image_payload_v1a8gthl/ansible_community.docker.docker_image_payload.zip/ansible_collections/community/docker/plugins/modules/docker_image.py\", line 760, in build_image\n  File \"/tmp/ansible_community.docker.docker_image_payload_v1a8gthl/ansible_community.docker.docker_image_payload.zip/ansible_collections/community/docker/plugins/module_utils/_api/api/client.py\", line 509, in _set_auth_headers\n  File \"/tmp/ansible_community.docker.docker_image_payload_v1a8gthl/ansible_community.docker.docker_image_payload.zip/ansible_collections/community/docker/plugins/module_utils/_api/auth.py\", line 299, in get_all_credentials\n  File \"/tmp/ansible_community.docker.docker_image_payload_v1a8gthl/ansible_community.docker.docker_image_payload.zip/ansible_collections/community/docker/plugins/module_utils/_api/credentials/store.py\", line 83, in list\n  File \"/tmp/ansible_community.docker.docker_image_payload_v1a8gthl/ansible_community.docker.docker_image_payload.zip/ansible_collections/community/docker/plugins/module_utils/_api/credentials/store.py\", line 114, in _execute\nansible_collections.community.docker.plugins.module_utils._api.credentials.errors.StoreError: Unexpected OS error \"Exec format error\", errno=8

Other informations :

molecule.yml

---
dependency:
  name: galaxy
driver:
  name: docker
scenario:
  test_sequence:
    - destroy
    - dependency
    - syntax
    - create
    - check
    - converge
    - idempotence
    - verify
    - destroy
platforms:
  # Ubuntu Docker images
  - name: ubuntu-bionic
    image: ubuntu:bionic
    dockerfile: ../Dockerfile.j2
    privileged: true
    volumes:
      - "/sys/fs/cgroup:/sys/fs/cgroup:rw"
  - name: ubuntu-focal
    image: ubuntu:focal
    dockerfile: ../Dockerfile.j2
    privileged: true
    volumes:
      - "/sys/fs/cgroup:/sys/fs/cgroup:rw"
    command: "/sbin/init"
  - name: ubuntu-jammy
    image: ubuntu:jammy
    dockerfile: ../Dockerfile.j2
    privileged: true
    volumes:
      - "/sys/fs/cgroup:/sys/fs/cgroup:rw"
    command: "/sbin/init"
  # Debian Docker images
  - name: debian-11
    image: debian:11
    dockerfile: ../Dockerfile.j2
    privileged: true
    volumes:
      - "/sys/fs/cgroup:/sys/fs/cgroup:rw"
    command: "/sbin/init"
  - name: debian-12
    image: debian:12
    dockerfile: ../Dockerfile.j2
    privileged: true
    volumes:
      - "/sys/fs/cgroup:/sys/fs/cgroup:rw"
    command: "/sbin/init"
provisioner:
  name: ansible
  config_options:
    defaults:
      remote_tmp: /tmp/.ansible
  playbooks:
    converge: converge.yml
    verify: verify.yml

Dockerfile.j2

# Molecule managed

{% if item.registry is defined %}
FROM {{ item.registry.url }}/{{ item.image }}
{% else %}
FROM {{ item.image }}
{% endif %}

{% if item.env is defined %}
{% for var, value in item.env.items() %}
{% if value %}
ENV {{ var }} {{ value }}
{% endif %}
{% endfor %}
{% endif %}

RUN \
  # Debian/Ubuntu
  apt-get update \
  && DEBIAN_FRONTEND=noninteractive apt-get install -y dbus aptitude bash dirmngr iproute2 python3 python3-apt procps sudo systemd systemd-sysv \
  && apt-get clean; \

Before upgrading the Molecule and the Ansible version it was working perfectly. Maybe there is an issue with a Python conflict packages such as requests and docker.
pip freeze
ansible==7.6.0
ansible-compat==3.0.2
ansible-core==2.14.6
ansible-lint==6.16.2
cookiecutter==2.1.1
cryptography==41.0.1
distro==1.8.0
docker==6.1.3
enrich==1.2.7
Jinja2==3.1.2
jinja2-time==0.2.0
molecule==5.0.1
molecule-plugins==23.4.1
netaddr==0.8.0
PyYAML==6.0
requests==2.31.0
urllib3==1.26.16
yamllint==1.32.0

I have no idea what's going on and why this is happening and I'll appreciate some help on the subject. :)
Kind regards,
Tom

You're probably running into https://github.com/microsoft/WSL/issues/8952 when it tries to use a credentials helper since the error is: Exec format error: '/usr/bin/docker-credential-desktop.exe'. Try the fix mentioned in the issue I linked and see if it will work.


Issue with feeding data

My problem:
I have a program which implements your capsule network to classify images. The images are divided into three categories so it is a three way classification task. I use data generators to feed data to the capsule net model but it throws up the error given below. I have been stuck with this error for a long time, I have found some solutions to these types of problems but they all involve in using the fit() method belonging to the Sequential model api of keras. My understanding of the usage of fit method tells me that I would have to pass my data in some format as to satisfy the arguments of x and y of the fit method. I tried making a list of all the images I had by reading them using keras.preprocessing.image.load_img() into a list but I quickly found out that I won't be able to accomplish the task this way as I ran into memory errors while making the list. If someone could help me with this, I would be extremely grateful.
My data set:
Two folders, one for training images and one for testing images.
Further both of them are divided into three sub-folders each, namely Type 1, Type 2 and Type 3.
The error I'm getting :
ValueError: Error when checking model input: the list of Numpy arrays that you are passing to your model is not the size the model expected. Expected to see 2 array(s), but instead got the following list of 1 arrays:
[array([[[[0.36862746, 0.25882354, 0.35686275],
[0.37254903, 0.24705884, 0.3372549 ],
[0.28235295, 0.16862746, 0.25490198],
..., [0.87843144, 0.7803922 , 0.9333334 ...
Here is the partial code that I modified:
def CapsNet(input_shape, n_class, routings):
    x = layers.Input(shape=input_shape)

    conv1 = layers.Conv2D(filters=256, kernel_size=9, strides=1, padding='valid', activation='relu', name='conv1')(x)

    # Layer 2: Conv2D layer with `squash` activation, then reshape to [None, num_capsule, dim_capsule]
    primarycaps = PrimaryCap(conv1, dim_capsule=8, n_channels=32, kernel_size=9, strides=2, padding='valid')

    # Layer 3: Capsule layer. Routing algorithm works here.
    digitcaps = CapsuleLayer(num_capsule=n_class, dim_capsule=16, routings=routings,
                             name='digitcaps')(primarycaps)

    # Layer 4: This is an auxiliary layer to replace each capsule with its length. Just to match the true label's shape.
    out_caps = Length(name='capsnet')(digitcaps)

    # Decoder network.
    y = layers.Input(shape=(n_class,))
    masked_by_y = Mask()([digitcaps, y])  # The true label is used to mask the output of capsule layer. For training
    masked = Mask()(digitcaps)  # Mask using the capsule with maximal length. For prediction

    # Shared Decoder model in training and prediction
    decoder = models.Sequential(name='decoder')
    decoder.add(layers.Dense(512, activation='relu', input_dim=16 * n_class))
    decoder.add(layers.Dense(1024, activation='relu'))
    decoder.add(layers.Dense(np.prod(input_shape), activation='sigmoid'))
    decoder.add(layers.Reshape(target_shape=input_shape, name='out_recon'))

    # Models for training and evaluation (prediction)
    train_model = models.Model([x, y], [out_caps, decoder(masked_by_y)])
    eval_model = models.Model(x, [out_caps, decoder(masked)])

    # manipulate model
    noise = layers.Input(shape=(n_class, 16))
    noised_digitcaps = layers.Add()([digitcaps, noise])
    masked_noised_y = Mask()([noised_digitcaps, y])
    manipulate_model = models.Model([x, y, noise], decoder(masked_noised_y))
    return train_model, eval_model, manipulate_model

def margin_loss(y_true, y_pred):
    L = y_true * K.square(K.maximum(0., 0.9 - y_pred)) + \
        0.5 * (1 - y_true) * K.square(K.maximum(0., y_pred - 0.1))
    return K.mean(K.sum(L, 1))

train_data_directory = "*restOfThePath*/train_roi_0.15"
test_data_dir = "*restOfThePath*/test_roi_0.15"

train_datagen = ImageDataGenerator(rescale=1. / 255)
test_datagen = ImageDataGenerator(rescale=1. / 255)
train_model, eval_model, manipulate_model = CapsNet(input_shape=(32, 32, 3), n_class=3, routings=3)
# compile the model
train_model.compile(optimizer=optimizers.Adam(lr=0.001), loss=[margin_loss, 'mse'],  # loss_weights=[1., 0.392]
                    metrics={'capsnet': 'accuracy'})
train_model.summary()

train_generator = train_datagen.flow_from_directory(train_data_directory, target_size=(32, 32), batch_size=32,
                                                    class_mode='categorical', shuffle=True)
test_generator = test_datagen.flow_from_directory(test_data_dir, target_size=(32, 32), batch_size=32,
                                                  class_mode='categorical', shuffle=True)

train_model.fit_generator(train_generator, validation_data=test_generator,
                          validation_steps=15,  # validation data size//batch size, placeholder values given
                          epochs=100,  # placeholder values given,
                          steps_per_epoch=45,  # train data size // batch size, placeholder values given
                          verbose=1)

The input should be like [[x_train,y_train],[y_train,x_train]]

Hi @RogerSinghChugh , did you find a solution to your problem? I'm stuck with the same error.


Add authentication possibilities

Could it be possible to add some feature for http or other authentication systems?
The feedparser module documentation for that is here: https://pythonhosted.org/feedparser/http-authentication.html#downloading-a-feed-protected-by-basic-authentication-the-easy-way
Thanks,

@tvo6 Can't you just add the necessary authentication information to the beginning of the URL like recommended in your referenced documentation?
<EMAIL_ADDRESS>


skip readline when HOME is not present in environment

this is the error when I was running th under a shell that doesn't have HOME set. (specifically supervisord)
luajit: init.lua:519: attempt to concatenate a nil value
stack traceback:
        init.lua:519: in main chunk
        [C]: at 0x004050b0

It's ok to call luajit directly, but some Torch code expects Penlight library (like 'path'). So it might helps just skip the readline loading and still preserves the same lua environment.

first time I've seen no HOME present :)


support ember-template-lint v4 command-line syntax

Use --format=json for version 4+. Continue using --json for older versions.

version 3.1.0 (2021-03) adds --format=json
https://github.com/ember-template-lint/ember-template-lint/pull/1340
version 3.3.0 (2021-04) deprecates --json
https://github.com/ember-template-lint/ember-template-lint/pull/1907
version 4.0.0 (2022-01) removes --json
https://github.com/ember-template-lint/ember-template-lint/pull/2193

Fixes #428

hmm... am I using this wrong? 🤔

I think it's this issue: https://github.com/JetBrains/gradle-intellij-plugin/issues/990
It works for me after running a clean. I tested against template-lint 2.21 and 4.10.

indeed, a clean run has fixed it. thanks :)


[RFE] Enable Puma Control Server

It would be great to pull more useful metrics off the CloudForms puma environment. This can be done using sensu if the puma control server is available.
https://github.com/puma/puma/tree/a3136985887d44c79e623b1408a41779b71d8b23#controlstatus-server
Stats and GC Stats are available: https://github.com/puma/puma/blob/master/lib/puma/app/status.rb
We are using Sensu to monitor our CloudForms deployment ~250 appliances today.
I wanted to pull more information off the Puma servers themselves to get details such as Ruby GC performance etc.
I am pulling items such as the MIQ Queue size as well as DB connections total, active, waiting.
We were going to deploy the Sensu Puma plugin which pulls all the metrics and stores into Graphite/InfluxDB: https://github.com/sensu-plugins/sensu-plugins-puma.
There is also a metrics plugin for Apache: https://github.com/sensu-plugins/sensu-plugins-apache that uses mod_status.
Adding both the puma socket and mod_status would provide any standards-complient tool such as sensu/collectd/etc to pull data from the appliance.
It would also support using this data internally to have this type of dashboard ultimately be part of the product.

Associated BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1562543


Snapcraft failed with exit code 2

Please describe your issue:
Config, note already install @electron-forge/maker-snap.
"config": {
  "forge": {
    "packagerConfig": {},
    "makers": [
      {
        "name": "@electron-forge/maker-snap",
        "config": {
          "name": "testing"
        }
      },
      {
        "name": "@electron-forge/maker-deb",
        "config": {}
      }
    ]
  }
}

Console output when you run electron-packager with the environment variable DEBUG='electron-forge:*'. Please include the stack trace if one exists.
> electron-forge make

✔ Checking your system
✔ Resolving Forge Config
We need to package your application before we can make it
✔ Preparing to Package Application for arch: x64
✔ Preparing native dependencies
✔ Packaging Application
Making for the following targets: snap, deb
⠋ Making for target: snap - On platform: linux - For arch: x64The browser-sandbox feature will trigger a manual review in the Snap store.
⠇ Making for target: snap - On platform: linux - For arch: x64Cloning into '/tmp/electron-snap-118146s11f3JFNyOr/parts/desktop-gtk3/src'...
⠸ Making for target: snap - On platform: linux - For arch: x64remote: Enumerating objects: 33, done.
remote: Counting objects: 100% (33/33), done.
remote: Compressing objects: 100% (23/23), done.        h: x64remote: Compressing objects:  30% (7/23)
remote: Total 1334 (delta 11), reused 23 (delta 9), pack-reused 1301
Receiving objects: 100% (1334/1334), 241.65 KiB | 4.74 MiB/s, done.
Resolving deltas: 100% (690/690), done.
⠸ Making for target: snap - On platform: linux - For arch: x64Snapcraft failed (2)
Re-run with the environment variable DEBUG=electron-installer-snap:snapcraft for details.
✖ Making for target: snap - On platform: linux - For arch: x64

An unhandled error has occurred inside Forge:
An error occured while making for target: snap
Exited with status 2
Error: Exited with status 2
    at closeArgsToError (/home/andres/testing/node_modules/cross-spawn-promise/lib/index.js:12:17)
    at ChildProcess.closeArgsToError (/home/andres/testing/node_modules/cross-spawn-promise/lib/index.js:66:21)
    at Object.onceWrapper (events.js:317:30)
    at emitTwo (events.js:126:13)
    at ChildProcess.emit (events.js:214:7)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)

npm ERR! Linux 4.15.0-1030-gcp
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "run" "make"
npm ERR! node v8.10.0
npm ERR! npm  v3.5.2
npm ERR! code ELIFECYCLE
npm ERR<EMAIL_ADDRESS>make: `electron-forge make`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>make script 'electron-forge make'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the testing package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     electron-forge make
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs testing
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls testing
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /home/andres/testing/npm-debug.log

What command line arguments are you passing? Alternatively, if you are using the API, what
parameters are you passing to the snap() function?
npm run make

There's not enough information here to help you out. Here's the error extracted from your output:
Snapcraft failed (2)
Re-run with the environment variable DEBUG=electron-installer-snap:snapcraft for details.

Can you please follow the instructions here to see why snapcraft is failing?

Please reproduce the following steps:
System Info: Linux testing 4.15.0-1030-gcp #32-Ubuntu SMP Wed Apr 10 10:27:45 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
npm install -g @electron-forge/cli@beta
electron-forge init testing

Add the following config in package.json
"config": {
  "forge": {
    "packagerConfig": {},
    "makers": [
      {
        "name": "@electron-forge/maker-snap",
        "config": {
          "name": "testing"
        }
      }
    ]
  }
}

Now let's try to execute make with DEBUG=electron-installer-snap:snapcraft
npm run make

Console output
$ npm run make
0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'run', 'make' ]
2 info using<EMAIL_ADDRESS>3 info using<EMAIL_ADDRESS>4 verbose run-script [ 'premake', 'make', 'postmake' ]
5 info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>6 silly lifecycle<EMAIL_ADDRESS>no script for premake, continuing
7 info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>8 verbose lifecycle<EMAIL_ADDRESS>unsafe-perm in lifecycle true
9 verbose lifecycle<EMAIL_ADDRESS>PATH: /usr/share/npm/bin/node-gyp-bin:/home/andres/testing/node_modules/.bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
10 verbose lifecycle<EMAIL_ADDRESS>CWD: /home/andres/testing
11 silly lifecycle<EMAIL_ADDRESS>Args: [ '-c', 'electron-forge make' ]
12 silly lifecycle<EMAIL_ADDRESS>Returned: code: 1  signal: null
13 info lifecycle<EMAIL_ADDRESS>Failed to exec make script
14 verbose stack Error<EMAIL_ADDRESS>make: `electron-forge make`
14 verbose stack Exit status 1
14 verbose stack     at EventEmitter.<anonymous> (/usr/share/npm/lib/utils/lifecycle.js:232:16)
14 verbose stack     at emitTwo (events.js:126:13)
14 verbose stack     at EventEmitter.emit (events.js:214:7)
14 verbose stack     at ChildProcess.<anonymous> (/usr/share/npm/lib/utils/spawn.js:24:14)
14 verbose stack     at emitTwo (events.js:126:13)
14 verbose stack     at ChildProcess.emit (events.js:214:7)
14 verbose stack     at maybeClose (internal/child_process.js:925:16)
14 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
15 verbose pkgid<EMAIL_ADDRESS>16 verbose cwd /home/andres/testing
17 error Linux 4.15.0-1030-gcp
18 error argv "/usr/bin/node" "/usr/bin/npm" "run" "make"
19 error node v8.10.0
20 error npm  v3.5.2
21 error code ELIFECYCLE
22 error<EMAIL_ADDRESS>make: `electron-forge make`
22 error Exit status 1
23 error Failed at the<EMAIL_ADDRESS>make script 'electron-forge make'.
23 error Make sure you have the latest version of node.js and npm installed.
23 error If you do, this is most likely a problem with the testing package,
23 error not with npm itself.
23 error Tell the author that this fails on your system:
23 error     electron-forge make
23 error You can get information on how to open an issue for this project with:
23 error     npm bugs testing
23 error Or if that isn't available, you can get their info via:
23 error     npm owner ls testing

That looks like the npm-debug.log output, not the console output.

That looks like the npm-debug.log output, not the console output.

I'm sorry, I just updated.

Run export DEBUG=electron-installer-snap:snapcraft and then npm run make.

Run export DEBUG=electron-installer-snap:snapcraft and then npm run make.

Yes, please, check again

What version of Ubuntu is this?

What version of Ubuntu is this?

No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 18.04.2 LTS
Release:	18.04
Codename:	bionic

In the config for maker-snap, set the snap config 'base': 'core18' (corresponding to Ubuntu 18.04), which was added to Snapcraft in 3.0: https://snapcraft.io/blog/make-your-snap-development-faster


rmd-22827 Update getBuildList and deleteBuild tasks

Both tasks share the same buildlist response.

Add sample buildlist output file.

Thanks, I do prefer to leave the test for this for the future.


Core cannot delete folders on windows.

See title.

Now we can't delete the folders on Linux/Mac. Need to add some os detection :(

Tested deleting world which was aliased as fish :/ issue is fixed.


Port Conversation Update scenario from C# to JS

https://github.com/microsoft/botbuilder-dotnet/tree/master/tests/Teams/ConversationUpdate

For more context, these helper functions are going to be needed as an extension on the turnContext
public static class TeamsTurnContextExtensions
    {
        public static async Task<ResourceResponse> TeamsSendToChannelAsync(this ITurnContext turnContext, string teamsChannelId, IActivity activity, CancellationToken cancellationToken = default)
        {
            var originalConversationId = turnContext.Activity.Conversation.Id;
            turnContext.Activity.Conversation.Id = teamsChannelId;
            var result = await turnContext.SendActivityAsync(activity, cancellationToken).ConfigureAwait(false);
            turnContext.Activity.Conversation.Id = originalConversationId;
            return result;
        }

        public static Task<ResourceResponse> TeamsSendToGeneralChannelAsync(this ITurnContext turnContext, IActivity activity, CancellationToken cancellationToken = default)
        {
            // The Team Id is also the Id of the general channel
            var teamId = turnContext.Activity.TeamsGetTeamId();

            if (string.IsNullOrEmpty(teamId))
            {
                throw new Exception("The current Activity was not sent from a Teams Team.");
            }

            return turnContext.TeamsSendToChannelAsync(teamId, activity, cancellationToken);
        }
    }

https://github.com/microsoft/botbuilder-dotnet/pull/2605

So there's a lot of overloaded terms here so let me attempt to separate and clarify.
There's 3 separate things that all happened around this ticket. The first thing is a bugfix that ensures the conversationReference is applied in the conversationUpdate and delete scenarios. That was fixed by Kyle in C# here. I looked and I don't see a similar PR in JS. I'm not sure if that's because the issue doesn't exist in JS, or if it just hasn't been done. I would follow up with him to see if he checked JS. If it's not fixed in JS, it likely will need to be.
There is the actual conversationUpdate scenario which is the top link. That scenario covers all of the various flavors of conversation update (add/remove member, Teams channels added/removed/renamed, etc). You should be able to look at the code in that scenario for the method signatures and how to interact with it from the UI. If you have any questions let me know since I wrote that one.
Finally, there's these helper methods which are linked above (which I'll just make their own ticket for clarity). The Teams SDK had 3 helpers that we didn't end up capturing in another structure. Those helpers are SendToChannel, SendToGeneralChannel, and NotifyUser. The first 2 methods are related to the conversation we had about needing to fiddle with the turnContext under the hood. Notify user is a strictly additive function which sets a property on the turnContext. I'll link all of the code in the other ticket. The easiest way to get at these functions is to wireup the onMessage method to accept some keywords. I'll link to the Helper scenario in the other ticket.
If there's anything else I can clarify let me know. I know this isn't always the most straight forward thing.

https://github.com/microsoft/botbuilder-js/commit/61f6115ff8ac5fc794829b3cd0eb66be933707fd

Merged into main with stgum/TeamsHandler branch.


Fix useless-cast warnings

This PR fixes useless-cast warnings. Closes #2893.

Coverage remained the same at 100.0% when pulling 9a459e1bd5b2bbbb5f119085e7d56153cb24638c on issue2893 into a563338039346c9ed722e09547419190b1eeddbe on develop.


Drop the support of PHP 7

Drop the support of PHP 7.

The 6.0.0 release drops the support for PHP 7.


services graph/neighbors fails when curie used for relationshipType

Using the curied form of the IRI for the relationshipType does not work and an error is returned.
Examples: UBERON:0000955 with BFO:0000050 fails the curie for the relationship is present here, and running the query using the expanded iri works as expected here. The example is running on 3e1c0e1ae9bc84ddf11c38d68d1e5bc850cfb9b4, but the issues is still present at 46049b93b3df8c5e8b9756125af99da85c44c078.

This is odd we use these all the time...

This works on our latest build, but it would interesting to track down why this is failing.  Is there anything of interest in the logs?
https://scigraph-data-dev.monarchinitiative.org/scigraph/graph/neighbors/UBERON:0000955?depth=1&blankNodes=False&relationshipType=BFO%3A0000050&direction=BOTH&project=*

I retested this morning on the latest version, and it is definitely working as expected. Some wires must have gotten crossed somewhere in my test code since I was working with 4 different scigraph instances (I think due to a curie that I have in one place but not in another). Closing as fixed. Sorry for the confusion.


When the GPU is occupied

run  evaluation.py
When the GPU is occupied, for example, how big the GPU needs to be in 20 seconds

You mean if you give a 20 seconds track what is the GPU utilization in inference?

I am experiencing CUDA out of memory errors on a GPU with 40gb of memory whenever I perform inference on an audio file longer than 10 seconds. There is a massive spike in GPU memory utilization at this line in evaluation.py:
est_real, est_imag = model(noisy_spec)
Any suggestions for how to reduce peak memory usage would be greatly appreciated. Thank you

I am experiencing CUDA out of memory errors on a GPU with 40gb of memory whenever I perform inference on an audio file longer than 10 seconds. There is a massive spike in GPU memory utilization at this line in evaluation.py: est_real, est_imag = model(noisy_spec)
Any suggestions for how to reduce peak memory usage would be greatly appreciated. Thank you

Just reshape the input, for example you have 20 seconds track, then reshape it from (1, 1600020) to (2, 1600010) or (4, 16000*5), and reshape it back in the output. Since the computational complexity increase quadratically with the increase of the input length.


[Feature] Support rollback to snapshot that rollback a table to a specific snapshot ID

Search before asking

[X] I searched in the issues and found nothing similar.

Motivation
At present, when certain snapshot is destroyed, Paimon doesn't support rollback a table to a specific snapshot ID which may cause the table unavailable.
Solution
We could support rollback to snapshot that rollback a table to a specific snapshot ID.
Anything else?
No response
Are you willing to submit a PR?

[X] I'm willing to submit a PR!

fixed with #1179


Client: Hide or somewhat mark as inavailable buildings with missing cost production line

For example when I've an Inn, it should be hidden if there is nobody producing material required for building.
Also there could be filter when building could be built only when material cost is available AND all production buildings are built too (for example butcher for Inn, pig farm for butcher and so on...).

/cib


[bug] publishData fails with >=2kb payload sizes; publishData fails with many sequential payloads

Describe the bug
Small payloads with >10ms delays interspersed works fine. But when you try to send a payload >=2kb, it seems to block the data buffer silently. After a large payload silently hangs, even subsequent small payloads won't work.
I tried to work around this by chunking my 50kb payload into many smaller payloads of 0.5kb, but only some are transmitted properly. Only by adding a >10ms delay will it succeed to transmit each one safely.
To Reproduce
You can just do this to see the 2kb payload fail:
const bytes = 1024 * 2;
await _room?.localParticipant?.publishData(Uint8List.fromList(('a' * bytes).codeUnits));

Or this to see the many sequential payloads fail (you'll have to count the payloads received server-side and see that only a few percentage are received):
const bytes = 512;
const payloadCount = 50;
for (int i = 0; i < payloadCount; i++) {
   await _room?.localParticipant?.publishData(Uint8List.fromList(('a' * bytes).codeUnits));
}

In these examples, I am sending the payloads to a livekit-agent container to validate receipt:
message_count = 0

def on_data_received(data_packet: Any) -> None:
    global message_count
    message_count += 1
    print(message_count)
ctx.room.on(event="data_received", callback=on_data_received)

I made a simple repro repo here (make sure to use payload_repro branch): https://github.com/willsmanley/echo-repro/tree/payload_repro
It assumes you have a livekit token server running locally to connect to a room where you have the data event listener.
Expected behavior
Livekit JS client can send a maximum of 64kb, so I think this would be a good threshold for this SDK to also support.
I confirmed that the same payload pattern works on the JS client, so it is not a recipient-side issue.
Platform information

Flutter version: 3.22.2
Plugin version: 2.2.3
Flutter target OS: ios simulator
Flutter target OS version: 17.4
Flutter console log: n/a

@cloudwebrtc would love your help with this one! let me know if there's anything i can do to help investigate further. not exactly sure where to start

closing this one - turns out the issue is the ios simulator was the bottleneck for some reason. it works great on a physical device.


Error when invoking locally without credentials

If I invoke locally without any AWS credentials, e.g. sls invoke local --function foo, an error is thrown:
Error: ENOENT: no such file or directory, open '~/.aws/credentials'
A workaround for this is to just create invalid AWS credentials:
serverless config credentials --provider aws --key NA --secret NA
The obvious answer is that I should just have actual credentials, but I don't think the plugin should throw an error if no credentials are found when invoking locally.

Hey there- thanks for reporting.
It's definitely an interesting edge case; I'll admit I don't actually use invoke local, and as far as I'm aware it's impossible for a deployed lambda to run without any credentials (even if they're just for a role which isn't doing anything).
As you note - mixing in some credentials (either using the cli arguments, or you could have a default profile configured or enviornment variables) is a workaround.
I'm not against a PR - although it's quite possible the error is being thrown from the aws-sdk itself - but I don't have the bandwidth to fix it myself.

I'm going to close this as a bit of house keeping.
Thanks again for reporting, though.

Hey, I have the same problem. I use this plugin to try to deploy my app using aws SSO. But I develop using serverless-offline.
Whith this plugin, it's not possible to use serverless-offline. I have an error on credentials or profile

I am running into the same issues as @throrin19
@thomasmichaelwallace what are your thoughts on a PR that no-ops this plugin if the IS_OFFLINE variable is set? That's what serverless-offline uses to signal it's running

@thomasmichaelwallace PR for you here! https://github.com/thomasmichaelwallace/serverless-better-credentials/pull/33
I plan to use this to enable everywhere except local, where I don't need AWS creds:
params:
  default:
    better-credentials-enabled: true
  local:
    better-credentials-enabled: false

plugins:
  - serverless-better-credentials

custom:
  betterCredentials:
    enabled: ${param:better-credentials-enabled}


[Impeller] Implement the FragmentProgram API.

[x] https://github.com/flutter/flutter/pull/102674
[ ] When Impeller is enabled with the tool flag --enable-impeller, the impellerc invocation should pass the correct backend-specific flags
[ ] When Impeller is enabled in the Engine, the Engine should assume that byte buffers passed to the FragmentProgram API are shaders that are appropriate for the current backend rather than spir-v bytecode that has to be transpiled.
[ ] https://github.com/flutter/flutter/issues/104750

Assigning to myself initially to finish the first tickybox.

I'm very excited about this feature.

Closing this as done for Metal and we have separate issues for other backends as we attempt them.


Rethink usage pattern

At the moment, you have to import two crates in order to use an image.

testcontainers
the image crate itself

This can lead to problems when the versions of the transitive dependency on testcontainers in the image crate doesn't match the one you are depending on explicitly.
There are several ways on how to proceed with this:

Introduce a method start / run / deploy on the Image trait that uses testcontainers under the hood to start the image. This way, you don't have to depend on testcontainers in the user code.
Re-export testcontainers from every image so that one can import from the transitive dependency.

A problem with solution 1 is that in order for it to make sense, it have to be implemented on the Image trait like this:
pub trait Image
where
    Self: Sized + Default,
    Self::Args: IntoIterator<Item = String>,
{
    type Args;

    fn start(self) -> Container<DockerCli, Self> {
        let docker = DockerCli::new();

        docker.run(self)
    }

    ...
}

This forces the usage of a specific Docker client (not nice but would be ok)
In order to use methods from a trait, the trait needs to be in scope. Here we are back again with a necessary import from testcontainers.

I might be thick but I don't really get the issue. Can't the image crate just compile with whatever testcontainers version you're using assuming the minor versions are the same?

It needs to be the exact same version actually: Cargo needs to be able to find a match between the semver range of the testcontainers dependency for the image crate as well as the one that the user code depends on which tries to start the image.
If the two don't match, the code will not compile because the stuff you import directly from testcontainers is different from what the image crate gets compiled against.

So if we change the dependency on things to something like:
[dependencies]
testcontainers = { path = "../../testcontainers", version = "0.2" }

for the images. And a user uses testcontainers version "0.2.2" then it won't just work? Why would it not compile the image against 0.2.2 then as well?

You cannot use path in combination with version

You can, cargo will use the version upon publishing and the path for local development.


feat add nonce in block

fixes #7

Coverage decreased (-1.5%) to 82.353% when pulling d3559aaaa8e188d110bfe03b1bc66a6d87983d50 on feat/add-nonce-#7 into 3b6d57e91d496dbf972e33005a18981f7b80077c on development.


InstancePlaceholder doesn't assign Resource to instance

Tested versions
These versions work fine:
v4.2.2.stable.official [15073afe3]
v4.3.dev1.official [9d1cbab1c]
v4.3.dev2.official [352434668]
v4.3.dev3.official [36e943b6b]
v4.3.dev4.official [df78c0636]
v4.3.dev5.official [89f70e98d]
v4.3.dev6.official [89850d553]
Bug appears with:
v4.3.beta1.official [a4f2ea91a]
System information
Windows 11 - v4.3.beta3.official [82cedc83c]
Issue description
Node instantiated via InstancePlaceholder is missing Resource assigned in editor.
Steps to reproduce
A node that is a scene root has an export var that defaults to null such as
@export var res:Resource
That scene is placed in the editor in another scene, marked 'Load as Placeholder', and there we assign a new resource to 'res'.
After using create_instance on it at runtime, we observe the assigned resource is null.
Minimal reproduction project (MRP)
instanceplaceholder_bug.zip
Run and read console.

Bisecting points to #90306 as the culprit:


replace domain name in sitemap.xml

An example sitemap.xml in the wild: http://wander.dbbs.co/sitemap.xml
notice the appearance of wander.localhost in  below
<url>
<loc>
http://wander.localhost/against-the-rules-podcast.html
</loc>
<lastmod>2022-04-18</lastmod>
</url>

Will need to transform the contents, not just copy the file here:
https://github.com/fedwiki/wiki-ssg/blob/main/index.js#L205C9-L207

It occurs to me today, that this bug almost certainly makes search engines ignore our statically generated wiki sites.


have Graph extend EventEmitter

what about having Graph be an EventEmitter so we can fire events such as when a node is added?

EventEmitter would tie this to node, but graphilb is used in non-node environments. I could see using a node specific plugin that wrapped Graph and gave you an emitter. I could also potentially see adding a callback to Graph that you could use to push events into an emitter (again with the emitter outside of the core code base).

adding a callback to graph that could be called with event-type, and data such as the node affected would be just fine. I'm not tied to events. Just want the notification itself.

Would we be talking about something like this:
var graph = new graphlib.Graph({
   directed: true,
   compound: true,
   multigraph: false,
   eventCallback: function() {}
});

What events would you like to see this used with? A generic eventCallback doesn't seem to be so helpful. It would seem that more specific events such as onNodeAdded, onEdgeAdded, onNodeRemoved, onEdgeRemoved and so on may be more helpful.

I'd be really interested to see this happen.
We're developing a project where this library can be really useful. However right now I'm basically creating another wrapping object just for the sake of emitting events which turns out to be a little bit inappropriate.
In general the events you listed make sense to me — although I'd also add when a node is overwritten (which is when adding a node that already exists).
Thoughts? @dionyziz


python310Packages.marshmallow-dataclass: 8.5.10 -> 8.5.11

Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 210693 run on x86_64-linux 1

9 packages built:

home-assistant-component-tests.renault
python310Packages.cairo-lang
python310Packages.lektor
python310Packages.marshmallow-dataclass
python310Packages.renault-api
python39Packages.cairo-lang
python39Packages.lektor
python39Packages.marshmallow-dataclass
python39Packages.renault-api


Created PR for support for the AWS EBS CSI driver

PR #23 opened to add support for the AWS EBS CSI driver.
I have verified creating, attaching and deleting EBS volumes via the CLI.  docker compose support for cluster volumes seems spotty/broken.

Ok. Thanks


VIM-2773: Include empty lines in the selection when dragging backwards from EOL

A fix for an issue I raised on YouTrack.
In Vim, when starting a selection from an empty line and dragging backwards (or vertically upwards), the entirety of the empty line (including the EOL character) should be included as part of the selection. Hence when deleting the block, the empty line should also get removed. IdeaVim didn't adhere to this behaviour. This PR fixes it.
Before:

After:

I used to think I caught all mouse-selection related bugs. Thank you for the fix!


The shapes of U+27EC..27EF are incorrect

Compare with Unicode chart, and the glyphs in Noto Sans Symbols and Segoe UI Symbols:
Roboto:

Noto Symbols:

Segoe UI Symbols:

Internal tracker b/21500703
/cc @xiangyexiao

has been fixed in the next update


Widen the bonding modal

What does this pull request do? Explain your changes. (required)

Addresses #346 by increasing the bonding modal width to 600px from 440px.
This allows for significantly more digits in the LPT amount to read on one line, including the full 18-decimal.
I've also made a styled EditButton that I subjectively think ties this change together nicely design-wise, but feel free to offer feedback.
Specific updates (required)

Make BasicModal 600px wide (from 440px)
Make a new EditButton that extends the styles of Button with these styles:

  margin-top: 0;
  margin-left: 0;
  width: 100%;
  text-align: center;
  justify-content: center;

How did you test each of these updates (required)
I forced large LPT amounts with 18-decimal LPT to be visible in the modal and visually tested if it was wider enough to read on one line.
Does this pull request close any open issues?
#346
Screenshots (optional):

Checklist:

[X] I have read the CONTRIBUTING document.

LGTM, thanks much!


Exclude columns that are not one-dimensional

I think I found a much better solution than the previous one.
It should not perform any unnecessary copies.
I am unsure if I should inline the get_nonscalar_columns() function or if I should even put it into module scope.
I will close the other pull request because I think this here is a much better solution.

This is great!
Can you also add a few tests to https://github.com/ibab/root_pandas/blob/master/tests/test.py that make sure that nonscalar columns are dropped and that there are no errors?

I hope this is fine?

Yes, looks good!
We should think about how to make this work better with the flatten feature, but this is fine for now.

I agree regarding the flatten feature. I agree that requiring the user to specify the columns he wants to flatten would be a nice solution would be (also to avoid unexpected consequences of the flattening). If the user attempts to flatten an column with higher-dimensional arrays, we can simple throw an error.