Support /system/info endpoint

We need to support the /system/info endpoint which has been updated in the latest release of faas-provider
Tasks:

Update vendored package for https://github.com/openfaas/faas-provider to 0.6
Add new handler for system info endpoint included in faas-provider package
Inject build version and SHA into binary at build-time (look at faas-cli as an example of how to do this)
Add unit test for the HTTP handler

This is my PR to faas-nomad - I think the implementation would be similar minus all the logging/stats which are specific to Nomad.
https://github.com/hashicorp/faas-nomad/pull/36/files#diff-a31692c2f19298fb01f34a8683e5969c

I will give it a try


would be nice to support brew install tmux-copycat

Since this is a Tmux plugin, not a OS package, I think it makes more sense to install it using the package manager for tmux plugins, which his TPM


DeprecationWarning for xonsh completers

Error shown:
/usr/local/lib/python3.6/dist-packages/xonsh/built_ins.py:1467: DeprecationWarning:
__xonsh_completers__ has been deprecated, please use __xonsh__.completers instead.

In order to fix it, change:
__xonsh_completers__["auto_apt"] = apt_completer

By:
__xonsh__.completers["auto_apt"] = apt_completer

In:
xontrib/apt_tabcomplete.xsh

Hi @DangerOnTheRanger, when you have a moment, could you take a look and merge if proceeds, please?
Thank you.

Closing, fixed by #6 - thanks again!


nexus: 3.29.2-02 -> 3.30.0-01

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/nexus/versions.
meta.description for nexus is: "Repository manager for binary software components"
meta.homepage for nexus is: "http://www.sonatype.org/nexus"
meta.changelog for nexus is: ""
Updates performed

Version update

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 3.30.0-01 with grep in /nix/store/xprdd1qd4rb3n8mfyalfy6w7mgqpppsv-nexus-3.30.0-01

directory tree listing: https://gist.github.com/b64ef753e1f62e5ab0b345067e6d4910

du listing: https://gist.github.com/1b209f4d41026050422ec804cd5620bc

Rebuild report (if merged into master) (click to expand)

5 total rebuild path(s)

2 package rebuild(s)

2 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
1 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
nexus
tests.nixos-functions.nixos-test

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/xprdd1qd4rb3n8mfyalfy6w7mgqpppsv-nexus-3.30.0-01 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A nexus https://github.com/r-ryantm/nixpkgs/archive/87d00e5e8df794530089eb11a61a254eb4bb2687.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/xprdd1qd4rb3n8mfyalfy6w7mgqpppsv-nexus-3.30.0-01
ls -la /nix/store/xprdd1qd4rb3n8mfyalfy6w7mgqpppsv-nexus-3.30.0-01/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

nexus

Maintainer pings
cc @aespinosa @ironpinguin @zaninime for testing.

Result of nixpkgs-review pr 116028 at 87d00e5e run on aarch64-linux 1

1 package built successfully:

nexus

2 suggestions:

warning: missing-patch-comment
Please add a comment on the line above, explaining the purpose of this patch.
Near pkgs/development/tools/repository-managers/nexus/default.nix:18:15:
   |
18 |   patches = [ ./nexus-bin.patch ./nexus-vm-opts.patch ];
   |               ^

warning: missing-patch-comment
Please add a comment on the line above, explaining the purpose of this patch.
Near pkgs/development/tools/repository-managers/nexus/default.nix:18:33:
   |
18 |   patches = [ ./nexus-bin.patch ./nexus-vm-opts.patch ];
   |                                 ^


Question: What is LeaderF's "default command"?

I would like to configure LeaderF to use a custom query/command (like FZF's FZF_DEFAULT_COMMAND), however, I couldn't find the equivalent no matter how much I try.
How can I define my own command? Can I use tools other than RipGrep for it (e.g find, fd, etc.)?
Thanks!

https://github.com/Yggdroot/LeaderF/blob/bc1ed5291191663fa3136f29bb07b8874d1226c3/doc/leaderf.txt#L381-L413
Maybe g:Lf_ExternalCommand is what you want.

Ah, cool, thanks.
Though I'm guessing from the text that fd isn't supported (yet)?
I guess I can alias find to fd if I must, though I would like to keep them separate.
Anyway, since I do have rg, I guess the results I'm getting are the default rg settings... I'll adjust those via .ripgreprc then.
Thanks again.


Display installed scripts

BBBUserScriptManager.user.js line 112 & 113
        console.log('Extension installed: ' + scriptInstalled);
        console.log('Version: ' + scriptVersion);

add logic to display the installed scripts

Do it yourself @black-backdoor . It's too complicated for me.

nvm


Forget include generated .rc file to project

You should mention include generated .rc file to visual studio project. Otherwise, it will report "resources could not be found or are not accessible" when install the manifest file.

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

ID: 2f93c1d9-ccc3-bc8a-14d9-7b23df2773c0
Version Independent ID: 50326231-07f4-0f95-3dec-76fc49a75612
Content: Adding Event Tracing to Kernel-Mode Drivers
Content Source: windows-driver-docs-pr/devtest/adding-event-tracing-to-kernel-mode-drivers.md
Service: unspecified
GitHub Login: @nabazan-microsoft
Microsoft Alias: windowsdriverdev

Thanks, @hansel163. This should be live shortly.

Now there is a note saying that you may get errors if the .rc file is not added. It would be more helpful to say how it should be added. One issue is for example that by following the instructions, the .rc file will be generated to different locations depending on build type (e.g. Debug/Release).


TypeSpec models for Assistants streaming

This change adds the basic conversion of the recent OpenAPI update for Assistants streaming:
https://github.com/openai/openai-openapi/pull/209/files

Closing in favor of the ongoing tool-generated approach in
https://github.com/joseharriaga/openai-in-typespec/pull/66


AI logs are not flushed when process exits

Description
We have a .NET 8 function app (isolated). When the app starts we register this lifetime callbacks:
    public static IHost InitializeLogging(this IHost @this)
    {
        var logger = @this.Services.GetRequiredService<ILogger<ApplicationLog>>();
        var lifetime = @this.Services.GetRequiredService<IHostApplicationLifetime>();
        lifetime.ApplicationStarted.Register(() => logger.LogInformation("Application started"));
        lifetime.ApplicationStopping.Register(() => logger.LogInformation("Application stopping"));
        lifetime.ApplicationStopped.Register(() => logger.LogInformation("Application stopped"));
        return @this;
    }

In this application we also have configured Application Insights logging using services.AddApplicationInsightsTelemetryWorkerService()/services.ConfigureFunctionsApplicationInsights().
All in all, logging works just fine and we get all our log in AI. "Application started" is getting to AI as well. But we never get "Application stopping"/"Application stopped" in AI. My assumption is that the function app exits before those message are actually transmitted to AI server. Is this correct? Is there any way to fix this behavior?
Steps to reproduce

Create an Azure Function app.
Add Application insights logging.
Log lifetime events
Deploy Function app to Azure and run it.
Make sure its stopped.
Examine AI logs.

@liliankasem I've done some additional testing and i can confirm that ApplicationStopping & ApplicationStopped events are fired indeed. So the problem (most likely) is in some events not reaching AI indeed.  I think, we need some fix for this

Is there any chance this gets worked on any time soon?

Hi @dmytro-gokun I reviewed the AppInsights logs, and I see that the telemetry skink was disposed before lifetime.ApplicationStopped event occurred. Since ApplicationStopped is supposed to be triggered when the host has performed a graceful shutdown. So the behavior seems as expected.
2024-09-11T22:51:45.1969101Z:{e6e8119f-dc04-4455-a5ba-de1517ce7557}{System.Object[]}{System.Diagnostics.Tracing.EventPayload}{0}
2024-09-11T22:51:45.1969147Z:Ignoring event written from EventSource: {0} as no counters from this event source are configured to be collected.{Microsoft-ApplicationInsights-Data}{FunctionApp}
2024-09-11T22:51:45.1969804Z:Process was called on the TelemetrySink after it was disposed, the telemetry data was dropped.{FunctionApp}

@RohitRanjanMS But i did not Dispose it. All i have in this app is "stock" Microsoft code. Do not you think it should work as expected out of the box? I do not understand why you closed the issue. Nothing has been fixed.

@liliankasem Why this got closed? It has not been fixed

During the application shutdown process, .NET disposes of services that are registered with the dependency injection container. Since the ApplicationStopped event is often triggered too late (after services have already been disposed), it's advisable to log critical shutdown events in the ApplicationStopping event instead. The behavior you've observed is expected; the Application Insights telemetry sink, as part of the logging infrastructure, is typically disposed of when the application is stopping.

@RohitRanjanMS > it's advisable to log critical shutdown events in the ApplicationStopping event instead
But  logs ApplicationStopping do not come to AI as well. That is a problem, is not it?

Hi @dmytro-gokun, I was able to get my logs from the ApplicationStopping event but I acknowledge that there's no way to reliably get these logs as ApplicationLifetime is not tied to how services are disposed.
Can you elaborate your scenario?

@RohitRanjanMS The scenario is that we are trying to troubleshoot function timeouts in production. For that we are doing some logging, but those logs do not end up in AI as the app exits before the latest log events are flushed. So, not only the logging statement from ApplicationStopping is lost, but all some prior messages as well (few seconds/minutes)

Hi @dmytro-gokun , there's something going on otherwise you shouldn't miss logs prior logs. You have full control over the worker process and the dependency injection. I will suggest you write the diagnostic events coming from AppInsights SDK to a storage (or to a file if running locally) and see what's happening with the AppInsights SDK.
See a reference implementation here - https://github.com/Azure/azure-webjobs-sdk/blob/3309c1c57ea1e207772fcbb066d88f588ab8a1c0/src/Microsoft.Azure.WebJobs.Logging.ApplicationInsights/SelfDiagnostics/ApplicationInsightsEventListener.cs#L26

@RohitRanjanMS In my first comment in this thread i've posted reproduction steps. Have you tried them? Are you able to get 'stopping' entry in AI reliably?

yes, I tried the code locally and I do see the log from the stopping most of the time.

@RohitRanjanMS Try running it on Azure. Also, "most of the time" is not a reliable result. It should always be there, right? We are computer people, we want computers do their thing in a reliable manner, not "most of the time".

@RohitRanjanMS And? Have you tried running it on Azure?


Improve error messages from pallet errors.

Errors in the pallet that are thrown with:
ensure!(<encointer_scheduler::Module<T>>::current_phase() == CeremonyPhaseType::REGISTERING,
     participants can only be done during REGISTERING phase");

result in app errors {"Other":null}, as polkadot-js/api is unable to extract data from them.
This needs to be fixed in the pallets, see: https://github.com/encointer/pallets/issues/30

closing this in favor of encointer/pallets#30


Create new DMOD class for subset of config details from NextGen realization config

Create new, serializable DMOD class, similar in purpose to NgenRealization from ngen.config package.  It should be composed of classes from ngen.config as well.  The class will represent job config details provided by user, but it will not required certain information required by a NextGen realization config that DMOD can automatically determine.
The prime example is forcing configuration details, since these are subject to the details of the associated DMOD forcing dataset.

For history sake, this issue surfaced out of conversation in #251.

Changing the status of this issue to Blocked.  Much of the work is done and pushed to the i/post_agu22/5/request_config branch in my fork.  However, it really needs the Pydantic work (#279) finalized and committed first.

This is no longer blocked.
After getting back into this, it looks like it might now make more sense to finish the Pydantic stuff in #279 first.  The implementation I have thus far has an intermediate serialized state expected to be generated by Pydantic at the GUI but not aware of it at this level, which isn't ideal.
There needs to be some more (fairly complicated) rebasing done for #279, though.  Going to give that a shot first, and if it looks too complicated, I will return to this in its less refined first form, which we can improve later.


update to latest schema jar

Status
READY
Description
This upgrades the sdk to use the latest schema jar.  It also refactors the build to pull this jar from the boundless maven repo instead of packaging within the sdk

Probably should coordinate this update with spatialconnect-ios-sdk as well

This looks good to me. Bumping the version number is probably right, we'll need to bump react-native-sc, etc on down the line as well.

iOS is ready

On Aug 16, 2017, at 7:42 AM, Josh Kendrick<EMAIL_ADDRESS>wrote:
@joshkendrick approved this pull request.
Bumping the version number is probably right, we'll need to bump react-native-sc, etc on down the line as well.
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub, or mute the thread.

iOS PR: https://github.com/boundlessgeo/spatialconnect-ios-sdk/pull/191/files

Also related: https://github.com/boundlessgeo/react-native-spatialconnect/pull/18/files#diff-7ae5a9093507568eabbf35c3b0665732R55


Fix byteswap for BF16 tensor on big-endian machine

What does this PR do?

This PR fixes an incorrect Tensor's data swap in BF16 on a big-endian machine. It uses Storage.byteswap(datatype) in PyTorch instead of numpy.byteswap(). This is because numpy does not support BF16. Unnecessary data conversions between BF16 and F16 caused incorrect results.

Fixes #448

@Narsil Do you have time to look at this PR?

@Narsil Do you have time to look at this PR?

@Narsil Do you have time to look at this PR?

@Narsil Do you have time to look at this PR?

@Narsil Do you have time to look at this PR?

@Narsil Would it be possible to look at this PR?

Can we kindly ask someone to review and merge this PR?

Hi @kiszk,
Sorry about the delay, I haven't been able to check every place I'm being pinged on (and far from it).
I understand the issue and the fix.
From what I understand, the fix introduced 2 issues imho:

It limits byteswap to torch 2.1 which is not required (for all the other dtypes other than bf16).
It introduces a clone operation, which is something I've vividly tried to avoid (given the size of the objects, cloning is super costly).

I'll try to take a look at how I can improve that solution if you're ok with my assumptions.
Also there is a test that was supposed to catch that: https://github.com/huggingface/safetensors/blob/7d29f617a33251a8b5f9e8228c004edc3a730f4a/bindings/python/tests/test_pt_comparison.py#L53
I am guessing it didn't because it used zeros instead of randn, and bfloat16 is specifically the same bytes for the zero representation :( Therefore we could just update that test.

Managed to trigger the issue https://github.com/huggingface/safetensors/actions/runs/10109667229/job/27958053499?pr=507 on old tests with random values.

@Narsil, thank you for your response while you were super busy.
Your points are correct:

Since the prior to PyTorch 2.1 does not support Big Endian correctly, I chose the implementation to throw an exception. We can implement the same feature using Rust (Python was too slow) in safetensors since this swap function exists in 2.1 or later.
I chose the conservative implementation to avoid a destructive operation. It is fine if we can avoid the clone operation.

For testing point, I think that this test uses 1.0 instead of zero. Anyway, I just realized this code does not update the original model. I agree that we have to update the test code.
I will work to update some of them if you are still super busy.

@kiszk Can you check the last implementation ?
I think numpy byteswap can still work, since bf16 byteswap and f16 byteswap are the same. The only thing necessary is those .view(..) which are just reinterpreting arrays.
No issue with torch version, no clone, faster byteswap.
Could you confirm the branch works for you (all the tests should show issues now).

Sure, I will check the latest main soon.

As you said, byteswap is the same between f16 and bf16.
IMHO, the problem may come from data conversion from bf16 and f16 / from f16 to bf16. We have to do byteswap without any data conversion.
In detail, on a big-endian platform, at the beginning, an element in bf16 tensor has an uninterpretable value since its format is bf16 in little-endian. In the current implementation, an uninterpretable value is interpreted as bf16, and then it is converted from bf16 to f16. The value in f16 is not meaningless. Then, it is byteswaped for big-endian in numpy. After byteswap, in numpy, the value is not good in bf16 on a big-endian platform.

@Narsil If I make mistakes, could you please let me know?

@kiszk I didn't say main branch, sorry I was referrring to  https://github.com/huggingface/safetensors/pull/507

Superseeded by https://github.com/huggingface/safetensors/pull/507
Basically the issue is that previous code was doing (bf16) -> to -> (f16) -> byteswap -> to -> (bf16).
to is a cast operator which changes the underlying bits of the vectors which is not desired.
Changing to view (which is torch reinterpret operator) does not change the bits anymore, meaning the byteswap is valid.
Closing this assuming the bug is fixed. Let's reopen something if itś  not.


Update JDBC to 42.3.4

retest this please

retest this please

@seut, I saw io.crate.integrationtests.disruption.discovery.DiskDisruptionIT.testGlobalCheckpointIsSafe failure 3 times on this PR, not sure how it's related to JDBC update though but a bit worrying to merge it

@BaurzhanSakhariev yes I think we should look closer into this and such postpone after the 4.8 release

I saw io.crate.integrationtests.disruption.discovery.DiskDisruptionIT.testGlobalCheckpointIsSafe failure 3 times on this PR, not sure how it's related to JDBC update though but a bit worrying to merge it

Something changed in the jdbc client regarding setting the default schema. The DiskDisruptionIT failed because all inserts failed due to unknown table errors. Fixed it now.


Game won't compile after updating to Haxe 5.1.0

Describe your problem here.
So I was working on a mod and there was this issue where the camera and hud would zoom out really far for some reason and this would happen on every song. And my team said that updating Haxe fixed the issue, so after I updated it wouldn't let me compile the build

anyone know how to fix this? We are on a tight schedule rn
Are you modding a build from source or with Lua?
Source
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
No response

Reinstall flixel
haxelib remove flixel

haxelib install flixel

just tried that, same issue.

it only compiles using flixel 4.9.0 but the camera is all zoomed out for some reason


Generates blank images when using B&W source

The IR sensors on METEOR-M2 finally came back online so I am generating black and white images at night now.  Unfortunately it seems like rectify.py is uncertain how to handle the generated files and I only get a blank image produced.
As an example, here's how I processed an image last night:
medet METEORM2-20200930-2051.dec METEORM2-20200930-2051 -r 68 -g 68 -b 68 -d -q
convert -rotate 180 -channel rgb -auto-level -normalize METEORM2-20200930-2051.bmp METEORM2-20200930-2051.jpg
./rectify.py METEORM2-20200930-2051.jpg
The resulting files can be viewed here:
http://sourpuss.net/projects/rtl-sdr/METEORM2-20200930-2051.bmp
http://sourpuss.net/projects/rtl-sdr/METEORM2-20200930-2051.jpg
http://sourpuss.net/projects/rtl-sdr/METEORM2-20200930-2051-rectified.png
Now the interesting thing is that rectify.py has no trouble processing the .bmp file here.  And I use the exact convert line on the daytime files (which process in color), and those .jpg images are able to be processed by rectify.py with no trouble.  It's only the B&W images generated from the IR channel which are resulting in blank rectified images.

Try this #4

I tried swapping in the changed lines, then I tried grabbing the entire raw file, but I still get a blank image returned when using the same jpg source above.  I also tried just using the two lines for int processing, but still only get a blank image.  Perhaps imagemagick is changing the jpg in some way that rectify.py doesn't recognize?

Yeah, seems to be something on the bmp to jpg conversion.
using the bmp file as the source: https://i.imgur.com/2rwD9dE.jpg

Which is odd, because as I showed above I am processing all of the daytime photos with the exact same imagick command, and those get stretched by rectify.py without any problem.  I also spent some time with various other commands to convert the bitmap file into 24-bit and 32-bit sRGB images (jpg and png format), but rectify.py was still unable to process the output.  All attempts yielded either a light gray or dark gray image from both the original and new version of the code.


lazy update ink's size

Sometime the ink's size cant be populated when document is loading, so we need to calculate the size later.

Hello @vanhoavn.
Thank you for the PR. I will deny it for one reason: I'm developing a new ripple system.
The idea is to have a reactive ripple, with better touch response, better perfomance, component based and optional in every single component, with a flag to disable it.
I'm sorry about that.

Ah. I forgot to mention. Will be present in the very next version.


For all the articles from the source https://ognnews.com/ the extracted title is not right.

Although the site has poor structure, the description is being extracted just fine.

Source: https://ognnews.com/


UI - Navigation

I realize this is a single page bootstrap template, but is there a way to keep those menu headers persistent? if not on the top, make a left-hand nav panel? The scrolling is not ideal.

Hmm...the navigation UX is still off - take a look at rotundasolutions.ai - let's do something similar to that top menu as far as how it persists and is displayed.


Text wrap?

Hello, thanks for this great tool!
As lf plugin, on text previews, It would be nice to have some sort of text wrap (or maybe thats a lf thing?)

it wraps correctly as standalone though

That needs to be implemented into preview. Which one of text preview programs do you have installed on the system? You can see the list of all the available ones in the README.

The problematic one is highlight. Removed that, installed bat and works as expected, also found some error messages with source-highlight only. #2
Thanks!!

It turns out highlight doesn't have an option to set output width (to enable text wrapping) while bat does. I could pipe output of highlight into some external program to add it but I think it would be better to leave it as is. Those who need text wrapping can use bat as you do.


Option to disable/adjust blur level

Just noticed that my older laptop encounters a significant amount of lag once the blur has activated.
An option to adjust the value would be much appreciated. Might could add it to the palette menu.

This was added in 3.2.0, thanks for your suggestion!


[release-4.12] OCPBUGS-15771: Fix flake MetalLB resources should have correct statuses

cherry-pick of: #182
Note:

The fix for the flake is in the commit: "Use the DeployTimeout const in e2etest".
The other commits are different improvements that were add together with the fix,
that makes sense to include them here as well.
The commit "Update kind's node image" was omitted deliberately.

/lgtm

/retest

/approve

/label backport-risk-assessed

/override ci/prow/ci-index-upgrade-bundle

/label cherry-pick-approved


Move gateway-queue to a seperate crate

The title should explain it all. I might have missed out something, tests pass fine and it compiles.
I hope there are no breaking changes with this but I might be wrong

Should we pub use the crate in the gateway?

Should we pub use the crate in the gateway?

Yea probably better. Right now I pub use the contents

Ahh I missed that, I think that is fine for now, then we can change it when we do a breaking release

My only concern is that twilight_gateway::queue::Queue won't work, I think a pub mod that just uses those should be fine for backwards compatibility.

Addressed the comments.


Handle map layers in URL

Add parameters in URL to select layers.

Note:
Parameter could handle futur layers:

bitmap layers like satellite view, topographic map, IGN in France…
vector styles
customs bitmap tiles or vector styles
overlays:

Waymarked Trails hiking tiles…
gpx tracks
kml
geojson

…

Related to #386, #275

Implemented in v4.3.38.
Changed for location, subset, network, node, route and monitor map pages.


[bug] Everything stopped responding

Version
Checklist:

[x] I am not using HomeAssistant. Or: a developer has told me to come here.
[x] I have checked the troubleshooting section and my problem is not described there.
[x] I have read the changelog problem was not mentioned there.

Build/Run method

[x] Docker
[ ] PKG
[ ] Snap package
[ ] Manually built (git clone - yarn install - yarn run build )

zwavejs2mqtt: 5.6.0
zwave-js: 8.3.1
home id:<PHONE_NUMBER>
home hex: 0xcd00c016
Describe the bug
All nodes stop responding to switch on/off requests. Not via the control panel, not via home assistant. Sensor data still gets send but, nothing else. No commands. Everything worked fine until I tried to add a new Qubino Mini Dimmer with S2 mode. The inclusion window appeared but nothing came asking for a S2 key. I then reset the device and tried to add it again via S0 mode, but the same happend.
Yet when restarting the docker container, the node showed up but as unknown. it also stayed like that. Since then nothing is working correctly. The "death" nodes have been removed.
I'm unsure what is going on.
Unplugged the aotec stick, restarted the docker container. Switched the breaker off and on again, doesn't help. I can only assume this a bug somewhere..
zwavelog.txt
I did notice that NODE 30 times out, yet when switched on via a physical switch it responds back. Then minutes later a light suddenly goes on (that I requested minutes ago). What is going on?
2021-09-17T12:40:09.561Z SERIAL « 0x01090004001e032503ff36                                            (11 bytes)
2021-09-17T12:40:09.563Z CNTRLR   [Node 030] [~] [Binary Switch] currentValue: false => true        [Endpoint 0]
2021-09-17T12:40:09.566Z SERIAL » [ACK]                                                                   (0x06)
2021-09-17T12:40:09.568Z DRIVER « [Node 030] [REQ] [ApplicationCommand]
                                  └─[BinarySwitchCCReport]
                                      current value: true
2021-09-17T12:40:10.563Z SERIAL « 0x01100004001e0a32022134000000360000ec                              (18 bytes)
2021-09-17T12:40:10.564Z CNTRLR   [Node 030] [~] [Meter] value[66049]: 1.5 => 5.4                   [Endpoint 0]
2021-09-17T12:40:10.568Z SERIAL » [ACK]                                                                   (0x06)
2021-09-17T12:40:10.570Z DRIVER « [Node 030] [REQ] [ApplicationCommand]
                                  └─[MeterCCReport]
                                      type:       Electric
                                      scale:      W
                                      rate type:  Consumed
                                      value:      5.4
                                      time delta: 0 seconds
2021-09-17T12:40:13.139Z SERIAL » 0x010900131e02260225f008                                            (11 bytes)
2021-09-17T12:40:13.140Z DRIVER » [Node 030] [REQ] [SendData]
                                  │ transmit options: 0x25
                                  │ callback id:      240
                                  └─[MultilevelSwitchCCGet]
2021-09-17T12:40:13.143Z CNTRLR   [Node 030] Timed out while waiting for a response from the node
2021-09-17T12:40:13.145Z SERIAL « [ACK]                                                                   (0x06)
2021-09-17T12:40:13.149Z SERIAL « 0x0104011301e8                                                       (6 bytes)
2021-09-17T12:40:13.150Z SERIAL » [ACK]                                                                   (0x06)
2021-09-17T12:40:13.151Z DRIVER « [RES] [SendData]
                                    was sent: true
2021-09-17T12:40:13.251Z SERIAL « 0x01070013f000000b10                                                 (9 bytes)
2021-09-17T12:40:13.252Z SERIAL » [ACK]                                                                   (0x06)
2021-09-17T12:40:13.253Z DRIVER « [REQ] [SendData]
                                    callback id:     240
                                    transmit status: OK
2021-09-17T12:40:23.261Z SERIAL » 0x010900131e02260225f109                                            (11 bytes)
2021-09-17T12:40:23.262Z DRIVER » [Node 030] [REQ] [SendData]
                                  │ transmit options: 0x25
                                  │ callback id:      241
                                  └─[MultilevelSwitchCCGet]
2021-09-17T12:40:23.264Z CNTRLR   [Node 030] Timed out while waiting for a response from the node
2021-09-17T12:40:23.268Z SERIAL « [ACK]                                                                   (0x06)
2021-09-17T12:40:23.272Z SERIAL « 0x0104011301e8                                                       (6 bytes)
2021-09-17T12:40:23.274Z SERIAL » [ACK]                                                                   (0x06)
2021-09-17T12:40:23.275Z DRIVER « [RES] [SendData]
                                    was sent: true
2021-09-17T12:40:23.314Z SERIAL « 0x01070013f10000051f                                                 (9 bytes)
2021-09-17T12:40:23.315Z SERIAL » [ACK]                                                                   (0x06)
2021-09-17T12:40:23.316Z DRIVER « [REQ] [SendData]
                                    callback id:     241
                                    transmit status: OK

This file is a json so rename the extension. nodes_dump.txt
//edit: disabling the ws socket to home assistant and subsquent reboot of the zwavejs driver, resulted in everything working after a re-interview of some nodes. Now i'm baffled as to why this is happend.
//edit2: after connecting back the WS socket option and reboot of the driver, I've now lost the dimming entities for the qubino dimmer (node 30)... is there something corrupted? I have already re-interviewd it. A lot of the parameters are mentioned as "0 custom"?

Please make a driver log which captures the problem, loglevel debug or silly and attach it here as a file.

Please make a driver log which captures the problem, loglevel debug or silly and attach it here as a file.
zwave_js.log

Attached is the log when the re-interview has taken place.
The multilevel switch is gone.

Below the same device but how it should be (and how it was).

The multilevel switch is gone.

That is because the device says so:
2021-09-17T19:31:11.277Z DRIVER « [Node 030] [REQ] [ApplicationCommand]
                                  └─[VersionCCCommandClassReport]
                                      CC:      Multilevel Switch
                                      version: 0
2021-09-17T19:31:11.280Z CNTRLR   [Node 030]   does NOT support CC Multilevel Switch (0x26)

According to the device manual, the CC is only present in dimmer mode:
https://qubino.com/wp-content/uploads/2019/09/Qubino_Mini-Dimmer-PLUS-extended-manual_eng_3.4_09092019.pdf

Is it possible that you changed that parameter at some point and did not exclude and re-include the device?

The multilevel switch is gone.

That is because the device says so:
2021-09-17T19:31:11.277Z DRIVER « [Node 030] [REQ] [ApplicationCommand]
                                  └─[VersionCCCommandClassReport]
                                      CC:      Multilevel Switch
                                      version: 0
2021-09-17T19:31:11.280Z CNTRLR   [Node 030]   does NOT support CC Multilevel Switch (0x26)

According to the device manual, the CC is only present in dimmer mode:
https://qubino.com/wp-content/uploads/2019/09/Qubino_Mini-Dimmer-PLUS-extended-manual_eng_3.4_09092019.pdf

Is it possible that you changed that parameter at some point and did not exclude and re-include the device?

That will be the reason. I have excluded and included the device back and now it´s back.
I also think I know why everything stopped working: when installing the new dimmer I disabled the breaker (for obvious reasons), in the background HA was still trying to poll one dimmer every second. After time all those messages became back logged. When the power came back on, HA or zwavejs2mqtt tried to send them out.
Now everything works fine.


Experimental: First pass at bidi streaming routing

This basically allows a "sample request" to be passed in the initial call. That request is only used for extracting routing headers.
I think this would work, but requires significant documentation.

Closing for now, but leaving the branch present to examine later.


Infinite & persistent undo history

I'm always frustrated when my kids loose half a day of daddy support work.
Describe the solution you'd like
Make the "undo" history keeping every step, flushing only on request (in the settings).
Describe alternatives you've considered
I could copy the results of every project to a Google-Docs or my own GitHub files, but probably I will be mostly to lazy for this.

This seems like an interesting enhancement.
Since there is not a login for MakeCode Arcade, the only means to keep the "undo" history would be in the browsers local storage along. However every individual project is stored, we'd need to add a stack data structure to act as the "undo" history. This stack would just take some sort of screenshot of the state of the project at every change, optimally just saving the TypeScript code.
I'll look into it!


Feature request: support key-value secrets

Currently plain text secrets from secrets manager can be used. I think quite often it's easy to collect key-value pair secrets to have e.g. username, password and some tokens separated in single secret.

I think this is something that would make construct a lot more usable.


Lags in newest versions

Within 2-3 month this addon were useless cause create lags on youtube, all videos loading through time.
Was best plugin, but now its totally broken crap

Bluntly, I don't have a problem with ytc at all.  I skip all the beginning
and ending adverts (seriously annoyed at being forced to watch a 2 minute
advert for a 30 second cat video), and MOST if not all annotations are
gone.  Once in a blue moon I'll have a small issue with a video being off
center, but my fix is either switch to full screen, download and watch
later, or click the resize button inside the player twice.

Was best plugin, but now its totally broken crap
—
Reply to this email directly or view it on GitHub
https://github.com/YePpHa/YouTubeCenter/issues/1908.

It appears to be caused by some sort of major resource leak.
I am going to crash-test this, but do you or anybody else know which settings in particular is causing problems?

OK, I have done the run through.
It turns out that the YT slows down to a crawl even with default options, and other scripts disabled. So I can only conclude that the issue is with the code of the program itself.

I can vouch for this issue.
Huge lag with Youtube on Firefox over the past few weeks. Finally narrowed it down to Youtube Center, as things have been good with it disabled.
Flash or HTML5, same problem. Video starts okay, but either as it buffers (Dash playback on or off, either way) or as I watch it, it becomes laggy. Not the video itself, but the UI and scrolling the page or coming in/out of fullscreen - it's just a lagfest.

I guess I am experiencing the same issue. I think I "captured" the problem with Firebug:

On the screenshot you see that with YTC enabled there will be a call to /generate_204 which blocks for 30sec. I didn't see such calls yet when YTC was disabled.

There's always  +  to have close to all options YTC gave you when it was still maintained, the only main differences are these are cleverly programmed extensions and not snail language programming.

I can also add that the userscript (Running on FireFox 40beta) increases the memory usage vastly - possibly a memory leak? I can see that the memory usage can increase by 1GB with it installed.


fix: use system clock for timestamps and perf clock for durations

Fixes #852
Because the timestamps generated from the performance timer cannot be trusted, we can only use them to generate durations, not real timestamps. This PR introduces the following behavior:
User provides start AND end timestamps

Start Time from user
Duration is calculated from input times
End time is calculated from start time input and duration

User provides start timestamp

Start time from user
Duration calculated from input start time and system clock
End time is calculated from start time input and duration

User provides end timestamp

Start time from system clock
Duration calculated from system clock start time and input end time
End time is calculated from system clock start time and duration

User provides no timestamps

Start time from system clock
Duration is calculated using the performance clock
End time is calculated using system clock start time and duration

Codecov Report

Merging #1019 into master will increase coverage by 0.29%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1019      +/-   ##
==========================================
+ Coverage   95.00%   95.30%   +0.29%
==========================================
  Files         212       71     -141
  Lines        8806     3022    -5784
  Branches      796      210     -586
==========================================
- Hits         8366     2880    -5486
+ Misses        440      142     -298

Impacted Files
Coverage Δ

...ry-resources/src/platform/node/detect-resources.ts

...-plugin-http/test/functionals/http-package.test.ts

packages/opentelemetry-metrics/src/Meter.ts

...y-plugin-http/test/functionals/http-enable.test.ts

...ntelemetry-metrics/src/export/aggregators/index.ts

...ntelemetry-resources/test/detect-resources.test.ts

...rces/src/platform/node/detectors/AwsEc2Detector.ts

...-metrics/test/export/ConsoleMetricExporter.test.ts

...ages/opentelemetry-metrics/src/MetricObservable.ts

...ackages/opentelemetry-core/src/trace/TraceState.ts

... and 128 more

My feeling is that this is quite a heavy change for a bug which was fixed in NodeJs 8.12.0.
For browsers this may be different as they run on machins getting hibernated frequently.
Mixing different time sources tends to be problematic.
What about making the time source to use configurable? I could even think about allow users to provide their time provider.

Looks like this was replaced by #3129, which was replaced by #3134, should we close this @dyladan? Looks like stale bot never gets so far. :slightly_smiling_face:


add server side pagination

Description

Add server-side pagination in the list widget

Fixes #5857
Type of change

New feature (non-breaking change which adds functionality)

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[ ]  I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes

@techbhavin jest test failing, Please check
Also the title is semantically not correct, Kindly rectify

LGTM!
there is one merge conflict, I think we can resolve that later.

@techbhavin @jsartisan Tested this feature and please find the issues identified
1.The following error occurred "Error occurred while evaluating trigger: Cannot read properties of undefined (reading 'replace')" - when list widget is binded with query.1 and OnPageChange and OnPageSizeChange is set to execute query.1 and clicking on JS button twice on OnPageSizeChange action and resetting the OnPageSizeChange to no actions and on resizing the list widget the above error occurs and due to which 'Cycling Dependency' error occurs on performing any actions
https://loom.com/share/bf1304c75ec54c028a28a2673ecbe019
2.Suggestion similar to table server side pagination - When there is more number of data and on enabling ServerSide Pagination - user should be able to scroll till the last data

@techbhavin @jsartisan Verified the fix and it is working as expected now. We can proceed further


Implement LastComment.java

Class that holds the last comment where the agent was mentioned. This is the comment that the agent will reply to/take action about.

Implementation:

we have the issue where the agent was mentioned (from the notification) .
We check the notification to see if the mention was done in the latest_comment_url. If yes, then that is considered the comment to be answered, the LastComment
if latest_comment_url did not contain a mention of the agent, we iterate the issue's comments backwards and take the first comment that has a mention in it and that is not precedded by a comment of the agent.
e.g. if the agent receives more consecutive commands it will answer only the last one.

done


Serial pub sub

Adding in the Serial pub/sub with capabilities to send and decode arbitrary C Structs

Also for ultimately adding tests for serial pub/sub it looks like https://linux.die.net/man/1/socat will let you join two serial ports on your computer.


Sunset/Sunrise times

Are the sunset and sunrise displayed times controlled? I'm noticing that it changes from one to the other rather early in my opinion. For example, sunset for me would be 7:51 PM tonight, however it changed to showing the sunrise time around or shortly after 6pm (I wasn't looking exactly when it changed). So now it displays the sunrise time, 6:06 AM, but it's just past 6pm still ... why wouldn't it keep the sunset time displayed longer before changing it to sunrise?

It looks like this may be a bug. The mirror shouldn't display the sunrise time until it is after sunset.

I was going to pay closer attention today when I get home, but I wondered if it was changing it to sunrise (or sunset) when it hits a specific time. For example, sunrise would've been at 6:06am this morning, and the mirror changed around that time last night ... so is it possible that it's doing it at the 12 hour mark? As in, if it's 12 hours or less to sunrise, change to display that. If it's 12 hours or less to sunset, change to display sunset. I suspect something would be off at some point though as sunset and sunrise aren't exactly 12 hours apart ...

I think I might know the cause of this issue. I'll mark it as a bug and look into it whenever I have time.

Ok, just to be sure ... which version of the MM are you using. The issue @Bibliofile references is in the 'old' version. The new version uses the correct date compare and should be working fine.

This is on v2-beta.

In that case, it should switch depending on the time of the sunset/sunrise. You are talking about the "12 hour mark" but this isn't how it works. Whenever the sun went down, it will show the sunrise time. When the sun came up, it will show the sunset time. - Are you experiencing anything else?

The time changes before the event, essentially. So if sunset is at 7pm, some time before that (currently over an hour before), it would change to the sunrise time. And I'm not awake to see if it does the same at sunrise...

Than you will need to set your alarm to check it in the morning ... 😂
Will keep an eye on my mirror tonight to check it.
Any other users experiencing this issue?

Yes, waking up early enough to see it has been on my TODO list ... I'm going to watch it closely tonight, see if I can catch it again, or if some recent update might've inadvertently fixed it. It also makes me wonder if this has anything to do with our timezone changes twice a year ...

Yep, this is a problem. Sunset is at 8pm ... it's not 8pm yet, and it's already showing sunrise.

The joys of scripting things ... rather than taking @MichMich's suggestion of waking up early to see the change, I just scripted a 1-minute interval capture. So this is what I'm seeing. From PM to AM, the sunset/sunrise displayed time changes BEFORE sunset happens (oh, and blame OpenWeatherMap for the drastically different temperature display ... I hate their web site to be honest):

However, in the morning, it happens within the refresh interval and it pretty close to what it should be:

This is what decides what it needs to show:
    var now = new Date();
    var sunrise = new Date(data.sys.sunrise * 1000);
    var sunset = new Date(data.sys.sunset * 1000);
    this.sunriseSunsetIcon = (sunrise < now && sunset > now) ? "wi-sunset" : "wi-sunrise";

So as far as I can think of, this could not cause the issue. I got the feeling open weather feeds the wrong times around the moment the issue occurs.

Hrm, I'll see about logging that time stamp as well, and see what I get from them.

Well, I've started to Log the data as it shows up in processWeather(). I put a Log call as soon as you fetch the sunset and sunrise times from data.sys.sunset and data.sys.sunrise:
var now = new Date();
var sunrise = new Date(data.sys.sunrise * 1000);
var sunset = new Date(data.sys.sunset * 1000);

Log.info("Refreshed at: " + moment(now).format('hh:mm A'));
Log.info("Sunset time: " + moment(sunset).format('hh:mm A') + "\nSunrise time: " +  moment(sunrise).format('hh:mm A'));

And then another Log call as soon as you set the sunriseSunsetDateObject variable:
var sunriseSunsetDateObject = (sunrise < now && sunset > now) ? sunset : sunrise;
Log.info("Displaying: " + moment(sunriseSunsetDateObject).format('hh:mm A'));

This is what I see:

Notice the 'Displaying' time changing from sunset to sunrise, but sunset hasn't happened yet. From what I can tell, OpenWeatherMap isn't changing their data when the change happens locally. Which makes me think, somehow, somewhere, that sunriseSunsetDateObject condition isn't being set right.

Note that the change does happen correctly in the morning, in that it will not change to displaying sunset till after sunrise actually happened.

I followed a debugging method similar to @KirAsh4, looking at the entire date string instead of just the time.  I found that OpenWeatherMap is rolling over to the next day's sunrise/sunset times sometime shortly before today's sunset.  In my case, the rollover only occurred 1-3 min before actual sunset, not the hour that's been reported.  I'll check a few more days samples to see if variation in that rollover time would explain the discrepancy.

In the meantime - If there's no objections, I'd like to take a stab at a change to keep a reference to "Next Sunrise" and "Next Sunset", in order to work around the early rollover

@KirAsh4 Is this still an issue?

Oh yes ... it was never addressed, or more accurately, I never looked into what's causing the early rollover.

I recently changed the endpoint urls for the weather modules. Could you check of that solves the issue? (Dev branch)

Yeah, this is still an issue. It flips to sunrise well before sunset. And unfortunately I've been too busy to look into it. I will also be gone all of next week.

@KirAsh4 @MichMich Have we fixed this issue?

Not that i know...

@MichMich @KirAsh4 I looked at my mirror (it is up to date) and the time changed accordingly. I think this can be closed.

Didn't got any more reports of this issue. I close it for now. Fee free to reopen if necessary.


Further audio improvements

Dynamic jitter buffers.
Fade volume to zero.

Moved into two separate issues:

https://github.com/vircadia/vircadia-web-sdk/issues/223
https://github.com/vircadia/vircadia-web-sdk/issues/224


govendor add not respecting origin

I forked https://github.com/vharitonsky/iniflags into https://github.com/kaedys/iniflags so I could make some changes to it for a pull request.  After making the changes, I wanted to test them against the app I'm going to be using them with, so I ran the following commands in my project repo:
govendor remove github.com/vharitonsky/iniflags
govendor add github.com/vharitonsky/iniflags::github.com/kaedys/iniflags
This properly changes my vendor file to track the new origin:
		{
			"checksumSHA1": "P4bGrIGNWMPXf4jT+iKdqH4ba4g=",
			"origin": "github.com/kaedys/iniflags",
			"path": "github.com/vharitonsky/iniflags",
			"revision": "94db042d45d83a94a8cfc494a6800ce1b5edd5e4",
			"revisionTime": "2016-12-07T13:06:51Z"
		},

However, the revision is wrong.  It's still vendoring the original source (94db042 is the latest revision on github.com/vharitonsky/iniflags, but not on my local version of github.com/kaedys/iniflags).  I have to make an additional call, govendor update github.com/vharitonsky/iniflags, before it updates properly to the latest commit on my version of the repo:
		{
			"checksumSHA1": "tGs90CgLkm8bIonYXXYfkQGLlLE=",
			"origin": "github.com/kaedys/iniflags",
			"path": "github.com/vharitonsky/iniflags",
			"revision": "5c1bf5c657c4188b4e9949b4c584116e4809427b",
			"revisionTime": "2016-12-13T19:23:15Z"
		},

+1, I am experiencing this as well.

Actually it looks like it works if you use govendor fetch github.com/foo/... instead of govendor fetch -tree github.com/foo.

yes fetch works, but this issue is with add


open source code

Hi, I noticed yours paper. It's interesting, and when will you open your source code?

Thanks for your appreciation! I am currently working towards a conference deadline on October 15th:( So the codes will be realised at before 20, Oct.

Hi there! We're excited to share that our code for ROLeR is now available. Thank you for your support and patience! If you have any questions, please don't hesitate to reach out to us.

Great! Thank you for sharing, it's an excellent job!


Is this plugin deprecated?

As I've seen this package is not updated for about 2 years, many non-provided packages is not included (such as sql-kafka) and a lots of other issues.
Does databricks have plan to continue it or we have to do old fashion?

Looks dead to me. Pointing to an empty repo: [error]   not found: https://repo1.maven.org/maven2/org/spark-packages/sbt-spark-package_2.12_1.0/0.2.6/sbt-spark-package-0.2.6.pom (the spark-packages directory/repo does not exist).


Update sbt-izumi to 0.0.84

Updates io.7mind.izumi.sbt:sbt-izumi from 0.0.83 to 0.0.84.
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!

Files still referring to the old version number
The following files still refer to the old version number (0.0.83).
You might want to review and update them manually.
build.sbt
project/Deps.sc

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "io.7mind.izumi.sbt", artifactId = "sbt-izumi" } ]

labels: sbt-plugin-update, early-semver-major, semver-spec-patch, old-version-remains

Superseded by #297.


Using Redoc.init with scrollYOffset does not offset middle panel

I have the following setup:

When the page loads, only the left menu is offset. The middle panel is still starting at top: 0
Am I missing something, or is this a potential issue?

This is an expected behavior.
You can offest middle panel by using e.g. padding-top on body or on a wrapping container.
This option controls the offset of fixed or absolute positioned elements.

@RomanHotsiy can you please provide an example? I can't seem to get this to work properly


Makefile modified to build shared library and pkg-config integration

I'm currently working on one of my own programs that can benefit from compression. This library provides something that I do not want to write myself. Thanks for making it!
I modified the makefile to also build a shared library. I also added pkg-config integration. pkg-config is a much needed tool when working with shared libraries. I also modified the makefile with an install and uninstall section. This allows it to be packaged for release.

Thank you, but I have to reject due to the changes being too GNU-specific. I’ve updated the Makefile:
$ make shared
$ make test_shared LDLIBS=`pkg-config --libs-only-l zlib`


423 external links media variant

Fix #423
Test URLs
Before

https://main--hlx-test--urfuwo.hlx.page/design/design-system
https://main--hlx-test--urfuwo.hlx.page/design/about

After

https://423-external-links-media-variant--hlx-test--urfuwo.hlx.page/design/design-system
https://423-external-links-media-variant--hlx-test--urfuwo.hlx.page/design/about

Block

Block Name: link-list
Documentation: https://423-external-links-media-variant--hlx-test--urfuwo.hlx.page/tools/sidekick/blocks/link-list
Library Link: https://423-external-links-media-variant--hlx-test--urfuwo.hlx.page/tools/sidekick/library.html?plugin=blocks&path=/tools/sidekick/blocks/link-list&index=0

Description

As discussed with @mhaack, this first version replaces the given img element with the corresponding svg markup, so the CSS is capable of manipulating the fill color for hover effects).
The JS fetches all the icons in the block, replaces the given img tag with the svg markup and strips all the fill attributes, so the CSS can change the color.
The image is optional.
2024-04-15: As discussed: moving on with img and CSS filter solution (take a look on the CSS).

@eduardseifert Congrats on the first PR :)
Please provide before and after state for all test Urls so reviewers can check what has changed in the PR. E.g. https://github.com/urfuwo/hlx-test/pull/450
Also for this specific PR please add link to the page which has link with icon in this block.

As discuessed with @mhaack, I will move the icons inside the link, change a few lines of CSS and revert the img handling to be directly embedded SVG's in the markup (DOM) (insted of referencing them in the src attribute).

Updated the PR and description
Removed img to svg transformation
Using CSS filter for color change
clean up

Infact we don't need the js at all. I just commented it and the default decorateIcons kicks in because you added icons in the content

I compared the existing block with the new block and there are many design changes. Please keep the external links block until we get the feature parity in the new block. Make sure existing content is not impacted.
Reference page: http://localhost:3000/draft/skhare/content-list-test

@mhaack + @saurabh-khare Please have again a look at the change.

Changed to dom-builder.js (thanks for the hint).
I need the additional span for the text to be able to set margin to the left or right (depends on icon position).
I have renamed the block as discussed in Slack to link-list and changed all the necessary files as well. If you want to have it back to links-external, I need to revert it again.


[Feature][UI Next] Add DEPENDENT.

Purpose of the pull request
This pull request adds DEPENDENT into task.
Brief change log

[x] DEPENDENT

Releated issues
#7928

Codecov Report

Merging #8556 (d73f169) into dev (8ed2eeb) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##                dev    #8556   +/-   ##
=========================================
  Coverage     45.25%   45.25%
  Complexity     4041     4041
=========================================
  Files           690      690
  Lines         26873    26873
  Branches       2884     2884
=========================================
  Hits          12161    12161
  Misses        13564    13564
  Partials       1148     1148

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 8ed2eeb...d73f169. Read the comment docs.


Basic exploration of environment

Eg:

[x] Which fixed strategy is best (at normal progress)
[x] Can acceleration increase the reward (for any scenario)

Note that a graphical approach may be easiest (ie using the plot method), since rewards for the final years (after scenario has been fully implemented) have not yet been sense checked

Results: When reward is total economic impact - emissions, Storm is best and can be accelerated to give even higher reward

Scenario: reward
Storm:  1716016.402636045
Gale:  1510077.4347026614
Breeze:  1325536.6184563776
equal weights (0.33):  1517210.1519316945
Storm at double speed:  2032615.8891008059
Gale at double speed:  1673039.7540278304
Breeze at double speed:  1367718.5179934416
Storm at 5 times the normal speed:  2457918.8178722425
Storm at 10 times the normal speed:  2565770.245708194
Storm at 20 times the normal speed:  2554879.047592515
Storm at 30 times the normal speed:  2689672.960022822

Based on the above: if we want to avoid the trivial solution where the winner is simply Storm at maximum speed, we need a reward which incentivises Breeze and Gale, and also disincentivizes acceleration. One way to achieve this is to reward lower costs, by taking
reward = - cost of solution - emissions


Table views should be sortable

https://datatables.net

Preliminary support on the Events view was added in 1b9cba9


amOutsideAngularApp is needed before all lines

What are you trying to achieve?
I am trying to test a non-angular page with CodeceptJS and Protractor. I expect amOutsideAngularApp to hold it's value until I run amInsideAngularApp. But it does not - it seems.
It works if I add amOutsideAngularApp before the I.see(xxx) line too.

Provide console output if related. Use --verbose mode for more details.

CodeceptJS v0.5.1
Using test root "C:\****"

Testing something basic --
   [1] Starting recording promises
   Emitted | suite.before
   [1] Queued | hook Protractor._beforeSuite()
 test something
 > [Session] Starting singleton browser session
   [2] Starting recording promises
   Emitted | test.before
   [2] Queued | hook Protractor._before()
   Emitted | test.start ([object Object])
   Emitted | step.before (I am outside angular app )
   [2] Queued | amOutsideAngularApp:
   Emitted | step.after (I am outside angular app )
   [2] Queued | return step result
   Emitted | step.before (I am on page "/")
   [2] Queued | amOnPage: "/"
   Emitted | step.after (I am on page "/")
   [2] Queued | return step result
   Emitted | step.before (I see "Login")
   [2] Queued | see: "Login"
   Emitted | step.after (I see "Login")
   [2] Queued | return step result
   [2] Queued | fire test.passed
   [2] Queued | finish test
   Emitted | step.start (I am outside angular app )
 * I am outside angular app
   Emitted | step.start (I am on page "/")
 * I am on page "/"
   Emitted | step.start (I see "Login")
 * I see "Login"
   [2] Error | Error: Error while waiting for Protractor to sync with the page: "window.angular is undefined.  This could be either because this is a non-angular page or because your test involves client-side navigation, which can interfere with Protractor's bootstrapping.  See http://git.io/v4gXM for details"
   [2] Starting <teardown> session
   Emitted | test.failed ([object Object])
   [2] <teardown> Queued | hook Protractor._failed()
   [2] <teardown> Queued | () => done(err)
   [2] <teardown> Stopping recording promises
 > Screenshot has been saved to C:\****\test_something.failed.png
 ├ù FAILED in 5372ms

   Emitted | test.after
   [2] <teardown> Queued | hook Protractor._after()
 > [Session] cleaning cookies and localStorage
   [3] Starting recording promises
   Emitted | suite.after
   [3] Queued | hook Protractor._afterSuite()

-- FAILURES:

  1) Testing something basic: test something:
     Error while waiting for Protractor to sync with the page: "window.angular is undefined.  This could be either because this is a non-angular page or because your test involves client-side navigation, which can interfere with Protractor's bootstrapping.  See http://git.io/v4gXM for details"

  Scenario Steps:

  - I.see("Login") at Test.Scenario (Scripts\test\e2e\first_test.js:8:4)
  - I.amOnPage("/") at Test.Scenario (Scripts\test\e2e\first_test.js:7:4)
  - I.amOutsideAngularApp() at Test.Scenario (Scripts\test\e2e\first_test.js:6:4)

  Error: Error while waiting for Protractor to sync with the page: "window.angular is undefined.  This could be either because this is a non-angular page or because your test involves client-side navigation, which can interfere with Protractor's bootstrapping.  See http://git.io/v4gXM for details"
      at runWaitForAngularScript.then (node_modules\protractor\built\browser.js:461:23)
      at ManagedPromise.invokeCallback_ (node_modules\selenium-webdriver\lib\promise.js:1366:14)
      at TaskQueue.execute_ (node_modules\selenium-webdriver\lib\promise.js:2970:14)
      at TaskQueue.executeNext_ (node_modules\selenium-webdriver\lib\promise.js:2953:27)
      at asyncRun (node_modules\selenium-webdriver\lib\promise.js:2813:27)
      at node_modules\selenium-webdriver\lib\promise.js:676:7
      at process._tickCallback (internal/process/next_tick.js:103:7)

  FAIL  | 0 passed, 1 failed   // 5s
   Emitted | global.result ([object Object])
   [3] Error | WebDriverError: Session ID is null. Using WebDriver after calling quit()?
Build info: version: '3.3.1', revision: '5234b32', time: '2017-03-10 09:04:52 -0800'
System info: host: 'KT-LENOVO', ip: '<IP_ADDRESS>', os.name: 'Windows 10', os.arch: 'x86', os.version: '10.0', java.version: '1.8.0_121'
Driver info: driver.version: EventFiringWebDriver
   [3] Stopping recording promises

Provide test source code if related

Feature("Testing something basic");

Scenario("test something", (I) => {
	I.amOutsideAngularApp();
	I.amOnPage("/");
	I.see("Login");
});

Details

CodeceptJS version: 0.5.1
NodeJS Version: 6.10
Operating System: Windows 10
Protractor version: 5.1.1
Configuration file:

{
	"tests": "./Scripts/test/e2e/*_test.js",
	"timeout": 10000,
	"output": "./Scripts/test/e2e/output",
	"helpers": {
		"Protractor": {
			"url": "http://***",
			"driver": "hosted",
			"browser": "firefox",
			"rootElement": "body"
		}
	},
	"include": {},
	"bootstrap": false,
	"mocha": {},
	"name": "***"
}

I am in an Ionic app and once the test finishes I am getting:
WebDriverError: Session ID is null. Using WebDriver after calling quit()?
Driver info: driver.version: RemoteWebDriver
From: Task: WebDriver.manage().timeouts().setScriptTimeout(10000)


Downloading champion updates freezes the internet connection

When I'm updating champion builds, after a short time the download stops and completely freezes my internet: I can't even open the Google front-page in my browser and ping reports 100% package loss, but as far as I know other devices in the same network are not affected by that.
After a while the download slowly continues, recovers its initial speed after a few processed champions to then freeze again after a short time.
Despite the internet freeze, Championify seems to work correctly: Builds are updated and are available in game.
championify.log.txt

Had the same issue. After restartung Championify it continued downloading as expected and finished properly.

Are you on some kind of school/corporate network? Your log shows a lot of timeout errors. Championify is making quite a lot of concurrent calls at a time, especially when using more than one source. If your entire internet connection on your system is slowing down, it sounds like something external is limiting the amount of concurrent connections.

I'm at home, not in any school/corporate network. As far as I know my local network configuration does not limit the number of concurrent downloads, so it's most likely my network provider.
My suggestion on this issue: Add a configuration option to limit the number of concurrent downloads.

Fixed in https://github.com/dustinblackman/Championify/pull/342


Use bash for scheduler

fixes #66 (and hopefully #47) -- This PR replaces the Python script for scheduling queries with a bash script that wraps the bq CLI. In my testing, it has been more reliable. We need to see if this method works for others.
The schedule.sh script can also be run independently of setup.sh, by passing a few flags (see schedule.sh --help for info).
Additionally, this PR adds support for a bulk cleanup mode to the cleanup script: cleanup.sh -b will purge all GCP projects whose ids start with fourkeys_ or helloworld_

Awesome!  We need to update here, too: https://github.com/GoogleCloudPlatform/fourkeys#reclassifying-events--updating-your-queries

Awesome!  We need to update here, too: https://github.com/GoogleCloudPlatform/fourkeys#reclassifying-events--updating-your-queries

Awesome! We need to update here, too: https://github.com/GoogleCloudPlatform/fourkeys#reclassifying-events--updating-your-queries

Fixed in 8881e4c

Awesome! We need to update here, too: https://github.com/GoogleCloudPlatform/fourkeys#reclassifying-events--updating-your-queries

Fixed in 8881e4c

Do we want to delete the python script?

Do we want to delete the python script?

Awright, I'm merging. If there are any lingering fixes to do, we can open new issues.

Awright, I'm merging. If there are any lingering fixes to do, we can open new issues.


Cannot list file share with Reader and Storage File Data SMB Share Reader

Preflight Checklist

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

Storage Explorer Version
1.34.0
Regression From
No response
Architecture
x64
Storage Explorer Build Number
20240523.2
Platform
Windows
OS Version
No response
Bug Description
I have a user which has roles over a storage account
Reader
Storage File Data SMB Share Reader
The user can view file share and files from Azure Portal
In azure portal, it calls the REST API to list file shares and it succeeded.
https://management.azure.com/subscriptions/1ccb1bf8-f93f-42dc-886b-acdbc6f972eb/resourceGroups/testrg1/providers/Microsoft.Storage/storageAccounts/yangchengtest1/fileServices/default/shares?%24skipToken=&%24maxpagesize=20&%24filter=&%24expand=&api-version=2019-06-01
From storage explorer version 1.34.0, it cannot list file shares.
Unable to retrieve child resources
ProducerError:{
"name": "Error",
"message": "Unable to perform operation 'FileServiceClient.listSharesSegment'. No suitable credentials provided.",
"stack": "Error: Unable to perform operation 'FileServiceClient.listSharesSegment'. No suitable credentials provided.\n    at sl.runOperation (C:\Users\yangshen\AppData\Local\Programs\Microsoft Azure Storage Explorer\resources\app\node_modules\@storage-explorer\file-extension\dist\src\index.js:38:5815)\n    at sl.listSharesSegment (C:\Users\yangshen\AppData\Local\Programs\Microsoft Azure Storage Explorer\resources\app\node_modules\@storage-explorer\file-extension\dist\src\index.js:77:17070)\n    at FileShareNodeProducer.produceFileShareNodes (C:\Users\yangshen\AppData\Local\Programs\Microsoft Azure Storage Explorer\resources\app\node_modules\@storage-explorer\file-extension\dist\src\index.js:77:64687)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async Azure.Storage.FileShareProducer.produceFileShareNodes (C:\Users\yangshen\AppData\Local\Programs\Microsoft Azure Storage Explorer\resources\app\node_modules\@storage-explorer\file-extension\dist\src\index.js:80:13570)\n    at async Ye.executeOperation (C:\Users\yangshen\AppData\Local\Programs\Microsoft Azure Storage Explorer\resources\app\out\app\node\NodeProcessHostProxy.js:3:2742)\n    at async Vt._handleExecuteRequest (C:\Users\yangshen\AppData\Local\Programs\Microsoft Azure Storage Explorer\resources\app\out\app\node\NodeProcessHostProxy.js:7:915)\n    at async Vt._handleMessage (C:\Users\yangshen\AppData\Local\Programs\Microsoft Azure Storage Explorer\resources\app\out\app\node\NodeProcessHostProxy.js:6:30805)\n    at async C:\Users\yangshen\AppData\Local\Programs\Microsoft Azure Storage Explorer\resources\app\out\app\node\NodeProcessHostProxy.js:6:28316"
}
Steps to Reproduce

Launch storage explorer.
Login with Microsoft Entra Id, the user has Reader and Storage File Data SMB Share Reader.
Go to file share to list file shares.

Actual Experience
Unable to retrieve child resources
ProducerError:{
"name": "Error",
"message": "Unable to perform operation 'FileServiceClient.listSharesSegment'. No suitable credentials provided.",
"stack": "Error: Unable to perform operation 'FileServiceClient.listSharesSegment'. No suitable credentials provided.\n    at sl.runOperation (C:\Users\yangshen\AppData\Local\Programs\Microsoft Azure Storage Explorer\resources\app\node_modules\@storage-explorer\file-extension\dist\src\index.js:38:5815)\n    at sl.listSharesSegment (C:\Users\yangshen\AppData\Local\Programs\Microsoft Azure Storage Explorer\resources\app\node_modules\@storage-explorer\file-extension\dist\src\index.js:77:17070)\n    at FileShareNodeProducer.produceFileShareNodes (C:\Users\yangshen\AppData\Local\Programs\Microsoft Azure Storage Explorer\resources\app\node_modules\@storage-explorer\file-extension\dist\src\index.js:77:64687)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async Azure.Storage.FileShareProducer.produceFileShareNodes (C:\Users\yangshen\AppData\Local\Programs\Microsoft Azure Storage Explorer\resources\app\node_modules\@storage-explorer\file-extension\dist\src\index.js:80:13570)\n    at async Ye.executeOperation (C:\Users\yangshen\AppData\Local\Programs\Microsoft Azure Storage Explorer\resources\app\out\app\node\NodeProcessHostProxy.js:3:2742)\n    at async Vt._handleExecuteRequest (C:\Users\yangshen\AppData\Local\Programs\Microsoft Azure Storage Explorer\resources\app\out\app\node\NodeProcessHostProxy.js:7:915)\n    at async Vt._handleMessage (C:\Users\yangshen\AppData\Local\Programs\Microsoft Azure Storage Explorer\resources\app\out\app\node\NodeProcessHostProxy.js:6:30805)\n    at async C:\Users\yangshen\AppData\Local\Programs\Microsoft Azure Storage Explorer\resources\app\out\app\node\NodeProcessHostProxy.js:6:28316"
}
Expected Experience
I can view file shares as I can view and list from azure portal
Additional Context
No response

@yangchengs Storage Explorer hasn't implemented the OAuth support for file share yet. As of today you will need storage account keys to access file share resources in Storage Explorer.


Viewall controller

@aniarya82

Please see why the TravisCI build is failing. AFAIK, this is because of a problem in the files inside the directory test/. See this, and confirm what the problem was and how you solved it.

The dataTables CSS files that are there in the Files Changed tab. Please tell me if they are necessary.

Post a screenshot of the working viewall page here.

yeah the complete directory of js and css file is neccesary

@aniarya82

The screen looks good. Please remove the default text that is there. We don't need that. (Viewall#index, etc)

For dataTables, I was going through the documentation and didn't come across the requirement of copying all those files into the CSS directory. Documentation: https://github.com/rweng/jquery-datatables-rails
(I insist on researching this because these files will make our site unnecessarily heavy. Please go through the documentation and tell me if that is absolutely essential.)

@aniarya82
I would like to retract on the issue.
Were you talking about this: https://github.com/rweng/jquery-datatables-rails#responsive-installation
The generator came up with all those files?

yup exactly i needs those files

@aniarya82 Thanks a lot, that's fine then. We have to go along with the files.
Please remove the two default lines and push a commit. I will then check build locally and get back to the discussion here.

This peace..???

@aniarya82
I would actually have the text changed slightly.
Viewall controller-> Complete Alumni Database.
Please also center align this text. That would look better.
(They don't need to know about the controller jargon, as they would not understand it.)

@aniarya82
The front end is fine. :+1:
Please integrate the before_action thing in the controller, so only people who are signed in are able to view this page.

@aniarya82

Build checked. There are errors that are yet to be fixed:

This image came up when I was trying to access /viewall/index/. Please look into this.

@aniarya82
Please check the above comment, that is independent of the travis build. You need not work on the travis build, just make sure that the viewall page is rendering properly on your computer.

I copied the code exactly from the student member but i is not working here ...donno why...!!

@aniarya82
Was the dataTables gem working on your machine?
I just bundle install ed it, and tried it in the browser, but it's not working. Any other special things to be done?
P.S. Also, why did you use the gem? The CDN's are far easier to use.


Exception - Expanding Collapsed Edges of a Collapsed Child

Hello, I have stumbled upon two bugs (possible more) when I try to expand edges that are pointing to a child of a collapsed node:
I have created a small demo file to reproduce the issue - you can check out at https://github.com/sashokbg/cytoscape.js-expand-collapse.git branch bug/child_collapse_edges file: demo/demo-bug.html
Bug 1 Disappearing edges - Steps to reproduce:

Starting graph

Click on "collapse edges" button

Close node 1

Close node a

Click on expand all edges <-- exception

Edges disappear

Stack:
Uncaught Error: Can not create edge `e1` with nonexistant source `1`
    Ee cytoscape.min.js:23
    restore cytoscape.min.js:29
    add cytoscape.min.js:29
    expandEdge expandCollapseUtilities.js:786
    expandEdges index.js:272
    forEach cytoscape.min.js:29
    expandEdges index.js:271
    expandAllEdges index.js:360
    <anonymous> demo-bug.html:151
    EventListener.handleEvent* demo-bug.html:150
    EventListener.handleEvent* demo-bug.html:16

Bug 2 - Expanded edges change source / destination

Starting graph

Click on "collapse all"

Click on "collapse edges"

Click on "expand all" <-- bug
Edges are not having as a source the parent node "a" instead of "1"

Click on "expand edges" <-- bug
Bug persist after expanding edges, now original links are wrongly having node "a" as a source

Observations
If we first collapse all nodes and then we expand them it seems that the exception issue is gone.
I have however still managed to reproduce the second bug in some scenarios when manually expanding and collapsing the child nodes and edges.
Any help or ideas are greatly appreciated !
Have a nice day!
Alex

I have debugged for a while and it seems both problems are coming from barrowEdgesOfcollapsedChildren.
In the case of the first bug, it turns out when collapsing a node, and it has edges that have already been collapsed, we are not properly creating the _cy-expand-collapse-collapsed-edge_s.
A quick fix for this issue is proposed in #129

A better fix is available at #131

Can anyone of the maintainers please take a look ? @metincansiper @hasanbalci

Anyone ?

I came here to report this exact issue. Can we get any insight from the maintainers to respond or accept #131? Or alternatively explain why they cannot/will not use this fix?

I came here to report this exact issue. Can we get any insight from the maintainers to respond or accept #131? Or alternatively explain why they cannot/will not use this fix?

+1

The first bug doesn't seem like a bug to me. It is a misuse of the API. You should not let the user expand a cy-expand-collapse-meta-edge It is a meta edge created after you collapsed a compound node. First, the compound should be expanded since the source/target doesn't exist.
For the second, I can also say this is not a bug if you first expand the collapsed edge. But this time, expanding all the collapsed edges connected to the compounds before it is going to be expanded might be a good use case.

"Collapse/expand edges" feature was added later. It seems that its interaction with the "collapse/expand nodes" feature wasn't considered comprehensively during addition of this new feature. Therefore, these side-effects/bugs are possible. However, expand-collapse is a rather complex extension and solving such bugs requires a detailed analysis and effort. We don't want to add bug-specific patches since they may cause other unexpected issues.
Unfortunately, we currently don't have enough sources to solve this issue. My suggestion for you to avoid these cases is either to use @sashokbg's branch that possibly has a fix (I didn't try it) or to find some workarounds while presenting these features to your users.

The first bug doesn't seem like a bug to me. It is a misuse of the API. You should not let the user expand a cy-expand-collapse-meta-edge It is a meta edge created after you collapsed a compound node. First, the compound should be expanded since the source/target doesn't exist.
For the second, I can also say this is not a bug if you first expand the collapsed edge. But this time, expanding all the collapsed edges connected to the compounds before it is going to be expanded might be a good use case.

I am sorry to disagree but those are obviously bugs. Calling an API function that completely breaks the library, or wrongly reconstructs your edges afterwards is a definition of a bug.
Either the API should not allow such scenarios or if does they should not break anything.


l4casadi on Jetson Nano

Hi Tim,
Thank you for this great work, it helps a lot.
I wish to run l4casadi (with acados) on a Jetson Nano but as you probably know it does not support pytorch > 1.13 since Jetson Nano is limited to CUDA 10.2. Do you think one can "downgrade" l4casadi to pytorch 1.13 ? I naively replaced the following line to make it run with pytorch 1.13 to see if it would work directly:
from torch.func import vmap, jacrev, hessian replaced by from functorch import vmap, jacrev, hessian
But I got a segmentation fault after running simple_nlp.py example (at line 26).
Does it makes sense to make it work with pytorch 1.13 and it is feasible ?
Thanks in advance,
Bryan

Hi Bryan,
Thanks for reaching out! I see that this is a problem. I would be open to seeing if it is feasible for  L4CasADi to be downwards compatible with PyTorch 1.13.
You were correct that the first step is to replace torch.func with the former functorch.
Could you please post the entire error message you are getting with these changes?
Best
Tim

Hi Bryan,
I gave this a very quick try on my Mac. Using PyTorch 1.13 and replacing torch.func with functorch, I can run the simple_mlp example without problems. Wonder if this is a Jetson-specific problem?!

Cool. So, I currently work on the following image https://github.com/Qengineering/Jetson-Nano-Ubuntu-20-image
I created a conda environment with python 3.9 since the image has python 3.8.
I then simply commented the pytorch dependency in pyproject.toml
dependencies = [
   #"torch>=2.0",
    "casadi>=3.6",
    "jinja2>=3.1"
]

It also implies changing import torch.func as functorch to import functorch in l4casadi/realtime/sensitivites.py
And built l4casadi with CUDACXX=/usr/local/cuda/bin/nvcc pip install . --no-build-isolation
However, I only get a minimal error message
$ python examples/simple_nlp.py
Segmentation fault (core dumped)

Reading your previous message, I'll try something else. It might be a Jetson related issue indeed.
Cheers,
Bryan

It could be a Jetson GPU-related problem, too. I would suggest trying CPU-only installation of L4CasADi on the Jetson first to verify that this is working before switching to GPU.
Best
Tim

Yes, I have tried that. Digging deeper I see that I cannot get past line 124 of l4casadi.py.
It fails at this call
self._cs_fun = cs.external(
            f'{self.name}',
            f"{self.build_dir / f'lib{self.name}'}{dynamic_lib_file_ending()}"
        )

It looks similar to this other issue related to casadi. https://github.com/casadi/casadi/issues/2616
After running the code sample I get the same segmentation fault too. I think I will take a moment to look around casadi then, maybe I will find a reason to this issue.
Cheers,
Bryan

Hi Bryan,
Any updates on this?

To do so, I had to upgrade numpy, run pip install importlib-resources and replace the occurrences of importlib.resources with importlib_resources and torch.func by functorch for pytorch 1.13 (I saw that you made theses changes in the meantime :) ) But I believe I could make it work with python 3.9.

I made changes to make L4CasADi compatible with old functorch and importlib_resources out of the box.

I changed the compilation flag -std=c++17 to -std=c++14 , rebuilt it from source with gcc 10.5 and I was able to run the examples.

This is a bit unclear to me. My understanding is that libtorch is compiled with c++17.
Let me know if I can help
Best
Tim

Hi Tim,
Yes, sorry, I didn't make any progress on that. I am not sure what really prevents from installing in GPU mode. Probably a compatibility problem between CUDA 10.2 and gnu version. I will start by updating the repo with your changes and see what happens. I think I will close this issue and eventually raise a new one if the CPU mode is too limited for me.
Thanks again,
Bryan


[release/1.7 backport] oci: Use WithReadonlyTempMount when adding users/groups

backport of https://github.com/containerd/containerd/pull/8351

(cherry picked from commit cab056226fd8cece14d334ebb4f9084d0e3a7f47)

The #8259 change added a new WithReadonlyTempMount that will force the mount to be readonly.
This change removes the tryReadonlyMounts and uses that function.
Relates to #8259 Related: rumpl/moby#92 and moby/moby#45267
Note: once this PR is good to go I will backport these to 1.6 and 1.7, this is needed for moby's migration to the containerd image store and moby uses 1.6.x

/retest

whoop, all green now 🎉


[Feature Request] Official example for streaming PromptFlow using AutoGen

Is your feature request related to a problem? Please describe.
My company is currently using AutoGen.  We send a websocket request to an Azure web app and we get text streamed back in small chunks, around 3 characters.  This works fine for us.  We want to add promptflow.  Promptflow's streaming and AutoGen's streaming rely on completely different mechanisms.  Autogen uses websockets and Promptflow uses a generator with a "yield" statement.  I am not really sure how to integrate the two.
Describe the solution you'd like
An example showing simply and concisely how to create a flow that accepts a request, add a module containing a Python script which creates autogen agents and runs them, and then streams their output back to a frontend as the output is being generated.
Describe alternatives you've considered
I have considered just trying to stream back using autogen alone, and ignoring promptflow's streaming feature.
Additional context
Autogen has an example for working with Promptflow and Redis, but it appears that it only sends complete messages to Redis and not partial messages like I am hoping for.

Promptflow team currently does not have the bandwidth to integrate autogen's streaming with promptflow's built-in streaming feature.
Please feel free to try the workaround you have proposed above, and you're more than welcomed to contribute a sample to us if the proposed workaround actually works.

@0mza987 Hello Honglin.  I do not have time to integrate promptflow with our current streaming autogen implementation, so we won't be using promptflow in our current project.  Thank you for your help.


asm standalone propagation downstream

Motivation
Extend ASM Standalone tests with downstream propagation asserts.
Changes

Workflow

⚠ Create your PR as draft ⚠
Work on you PR until the CI passes (if something not related to your task is failing, you can ignore it)
Mark it as ready for review

Test logic is modified? -> Get a review from RFC owner. We're working on refining the codeowners file quickly.
Framework is modified, or non obvious usage of it -> get a review from R&P team

:rocket: Once your PR is reviewed, you can merge it!
🛟 #apm-shared-testing 🛟
Reviewer checklist

[ ] Relevant label (run-parametric-scenario, run-profiling-scenario...) are presents
[ ] If PR title starts with [<language>], double-check that only <language> is impacted by the change
[ ] No system-tests internal is modified. Otherwise, I have the approval from R&P team
[ ] CI is green, or failing jobs are not related to this change (and you are 100% sure about this statement)
[ ] A docker base image is modified?

[ ] the relevant build-XXX-image label is present

[ ] A scenario is added (or removed)?

[ ] Get a review from R&P team

I got afraid it could yield to 0 by default and make all the assertions span["metrics"]["_dd.apm.enabled"] == 0 succeed by accident. Can you confirm what's the behaviour please?

It would throw the following exception, failing the test:
__________ Test_AppSecStandalone_UpstreamPropagation.test_no_appsec_upstream__no_attack__is_kept_with_priority_1__from_minus_1 __________

self = <tests.appsec.test_asm_standalone.Test_AppSecStandalone_UpstreamPropagation object at 0x112d17d30>

    def test_no_appsec_upstream__no_attack__is_kept_with_priority_1__from_minus_1(self):
        for data, _, span in interfaces.library.get_spans(request=self.r):
            assert span["metrics"]["_sampling_priority_v1"] < 2
>           assert span["metrics"]["_dd.apm.enabled"] == 0
E           KeyError: '_dd.apm.enabled'

Now for "uwsgi-poc" variant and "prod"

I don't see failures related to "prod" (for this scenario), can you provide the link?


Add warning at abapGit startup when edge browser control is used

Would ease root cause analysis for problems like #6253
https://docs.abapgit.org/guide-sapgui.html#sap-gui-for-windows
I already tried cl_gui_frontend_services=>get_gui_properties but it doesn't reveal that information. Maybe there's another way.
https://github.com/christianguenter2/abapGit/tree/debug-sapgui-properties

If there's a way to detect it programmatically we can also issue a warning at startup.

Seems like it's encoded in the browser string:

vs with IE control

Funny, i was working on this yesterday. the browser string is embedded into debug info using JS.
There's get_browser_string for the HTML control. The method returns "MSIE_9.x.y" for IE. Apparently no one has used this method with Chrome control. It completely crashes SAPGUI (I tried 7.70 p 10 and 8.0 p 2). I opened a message... sorry, "case" ... with SAP. Even if we get a fix, we can't use it in abapGit.

Interesting. Same here with get_browser_string.


Devices swapped names

Ok really weird bug. My two Fermentrack devices have swapped names.

OLAG has been fermenting a Kolsch for 2 months, went to start fermenting a new beer and it stopped communicating. I refreshed the devices and then my sous vide seemingly became my fern chamber, but only through name as there isn't any power going to me sous vide as that assigned device isn't on.

Attached are the logs.
Points that might be important..
OLAG had been running/logging for about 2 months.
SOusvide has not been turned on for a few months.
there have been a couple of occasions where OLAG has just stopped communicating with RPI, a reboot has prompted it to kick in again.
SOusvide stderr.log.txt
Sousvide stdout.log.txt
OLAG stderr.log.txt
OLAG stdout.log4.txt

Deleting and reinstalling has solved the issue but still very strange

Not sure if it's related but the device lost connection again after around 18hrs. And uninstall and reinstall of the device restablishes connection with no issues seemingly, even without a reboot so am assuming the wemos device is OK

This is really weird. Out of curiousity, how are you connecting the interface to the script? Do you have "Useinetsocket" checked, or are you connecting via serial?

Both were connected over wifi, I'm not at home to check in more detail at the moment but yes it was very odd.

No worries - I'm thinking of the connection between brewpi-script & fermentrack in this case, so socket vs. serial as opposed to wifi vs. serial for the connection between the firmware and brewpi-script.
Not sure what is getting confused in this case. It might make sense to add some kind of readable "unique identifier" to the firmware to directly validate that the script connected to the firmware it knows. No reason not to, really.

@Mikmonken , Have you had this reoccur recently? I haven't seen this happen on my end, and haven't been able to figure out what could have caused it for WiFi other than the IP addresses being swapped or something.

No nothing recurring although since the issue occurred I’ve not really used the SousVide. I’ve also rebuilt the system.


Fix error setting fan speed

Currently, setting fan speed appears to cause an error: https://github.com/bm1549/frigidaire/issues/27
This fix causes the library to set the fan speed instead of triggering an error.
Tested: https://github.com/rothn/home-assistant-frigidaire/tree/in-tree-frigidaire-for-testing

Thanks for the fix! I'll cut a new release with this now

Released as part of 0.18.16


Add Losscoin and HUGS

http://losscoin.ml
http://gethugs.cf

Also, you can use these graphics to say that your ERC20 token fully compatible with Trust Wallet (https://trustwalletapp.com/logo-assets). Tokens will show up automatically once the user receives them.
Feel free to share this on social media and tag Trust Wallet:
Twitter: @TrustWalletApp
Facebook: @TrustWalletApp


Database target: SUpport connectionStringName on .NET Core

NLog version: 4.7.3
Platform: .NET Core 3
The Database target wiki page says about connectionStringName:

Not supported on NetCore as app.config has been replaced with appsettings.json

While this is true, connection strings are stored in the ConnectionStrings dictionary:
{
  "ConnectionStrings": {
    "SomeName": "Data Source=.;Initial Catalog=SomeDB;Persist Security Info=True;Integrated Security=true;"
  }
}

Wouldn't it be possible to support this by retrieving them from the configuration?

Yes, you need now: https://github.com/NLog/NLog/wiki/ConfigSetting-Layout-Renderer

@leonardder Does it answer your question? so the issue can be resolved/closed

Yes, that's certainly a solution for me. However, may be the docs about connectionStringName should point at this alternative to get a connection string by name?

Good idea. The Wiki is open for editing
Sent from my Sony Xperia
---- Leonard de Ruijter wrote ----
Yes, that's certainly a solution for me. However, may be the docs about connectionStringName should point at this alternative to get a connection string by name?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/NLog/NLog/issues/4075#issuecomment-671742207, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACXZ7HAZA6EAST2XA4QXOPLSADMGXANCNFSM4PXN2DMA.

Done.

Thanks!!


Set cookie for separate domain

I need to be able to set a session for an entirely separate domain that still runs off the same server.  I tried passing a block to sign_in like so:
sign_in(user) {
  cookies[:remember_token] = {
    value: user.remember_token,
    expires: 1.year.from_now.utc,
    domain: ".new-domain.com"
  }
}

and it doesn't work.  Is there a simple way to set cookies on a new domain?

There is a configuration for cookie domain in the README. You should be able to use that. If you are trying to set a cookie for a.com from the site b.com, I'm not sure that's going to work. I doubt browsers will let you do that, but I'm not sure.


Fix bug #741

resolves #741

I have created same fix for Android on my fork https://github.com/igorcrevar/react-native-image-picker/commit/8da44471fe1190fa832665144c4ec6c3cd24c84e

This should have been merged @Johan-dutoit ?

@jordangrant 2.x.x is not longer maintained/supported, which makes this PR no longer relevant.
If the issue still persists in 3.x.x, then a new PR can be submitted with the relevant changes.


v1.6 backports 2020-04-01

#10564 -- test: Update Istio integration to release 1.5.0 (@jrajahalme)
#10730 -- test: Update Istio integration to release 1.5.1 (@jrajahalme)

Once this PR is merged, you can update the PR labels via:
$ for pr in 10564 10730; do contrib/backporting/set-labels.py $pr done 1.6; done

Istio integration is updated to release 1.5.1, with backported fix for GKE/COS.

test-me-please

@jrajahalme it seems only the istio tests have failed: https://jenkins.cilium.io/job/Cilium-PR-Ginkgo-Tests-Validated/18441/testReport/junit/Suite-k8s-1/16/K8sIstioTest_Istio_Bookinfo_Demo_Tests_bookinfo_inter_service_connectivity/

test-me-please

test-me-please

test-me-please

never-tell-me-the-odds

restart-ginkgo

restart-ginkgo

test-missed-k8s

test-missed-k8s

@jrajahalme What's the situation with this backport PR?

test-backport-1.6

Bookinfo test failures in these builds suggest a legitimate breakage from this PR:
https://jenkins.cilium.io/job/Cilium-PR-Ginkgo-Tests-K8s/3163/
https://jenkins.cilium.io/job/Cilium-PR-Ginkgo-Tests-Validated/19717/

closing in favor of #12356


Add some useful files to the docs folder

These will be useful to show what we've done!!

Disregard! Depreciated already 😆


devaultValue for text area or text input

I am trying to edit a document I retrieved from the database.
The "default value" (for eg "First Name, Last Name") for text area and text input isn't working in react-native.
Here is the code:

Is this a known issue? Are there any workarounds at present?

Use value instead of defaultValue, since TextInput is now a controlled component.

Thanks James. It works!


Macro serializer

Overview
This PR introduces compile time macro expansion generating serialisers for types used in the code.
First commit is not related and just to remove InetSocketAddress, which has side application effect (dns resolution), with custom case class.
Main commit is the second one.
// Define your class
final case class MyObject(a: Int, b: String)

// Import derivation macro
import sdk.codec.SerializeInstances.*

// Instance is derived automatically.
val x = implicitly[Serialize[Eval, MyObject]]

In case of missing implicit error if instance cannot be derived, make sure that all fields of the class that are primitives (Int, String, etc) or sum types (Option, List, etc) have instances of Serialize in the specification defined in sdk.codecs.SerializePrimitiveTypes and sdk.codecs.SerializeSumTypes, respectively.

Please make sure that this PR:

[x] includes tests for all added features,
[x] has a reviewer assigned,
[x] has all commits signed.

Very nice that we can use simple macro for serialization! :tada:


Cloud: custom configuration doesn't spin up required config

What's your CLI version?
N/A
Description & steps to reproduce
When I specify a custom config on kurtosis cloud, I still seem to get the default config.
e.g: I have used this config:
{
  "participants": [
    {
      "el_client_type": "geth",
      "cl_client_type": "lighthouse"
    },
    {
      "el_client_type": "besu",
      "cl_client_type": "prysm"
    }
  ],
  "network_params": {
    "deneb_fork_epoch": 1,
    "seconds_per_slot": 9
  },
  "additional_services": [
    "el_forkmon",
    "dora",
    "prometheus_grafana"
  ],
  "mev_type": null
}

See screenshot below:

uuid: 66a897a354f1
Desired behavior
I should see
participants:

el_client_type: geth
cl_client_type: lighthouse
el_client_type: besu
cl_client_type: prysm

(Also I should be able to use yaml, but thats another issue already https://github.com/kurtosis-tech/kurtosis/issues/1785)
What is the severity of this bug?
Critical; I am blocked and Kurtosis is unusable for me because of this bug.
What area of the product does this pertain to?
Frontend: the Graphical User Interface, including the Enclave Manager

Oo thanks for filing @barnabasbusa ; that's definitely a bug! @adschwartz can you take a look at this?

@barnabasbusa Thanks so much for filing this issue. I've submitted a PR that fixes your problem.
Running the ethereum-package with the standard (no) args yields these (relevant) services:

Running the ethereum-package with the args you provided above yields these (relevant) services:

Hopefully this solves your problem. If not, please reach out again. Thanks!