Reolink Doorbell Onvif Error in 2 Way Audio

Hello,
when I use the Frigate card to connect a 2-way audio to the Reolink Doorbell camera, I see the following error message in the Frigate AddOn logging:
error 2024-12-23 13:00:05 frigate.ptz.onvif Onvif is not setup for reolink
error 2024-12-23 13:01:08 frigate.ptz.onvif Onvif is not setup for reolink
error 2024-12-23 13:47:26 frigate.ptz.onvif Onvif is not setup for reolink
error 2024-12-23 13:58:49 frigate.ptz.onvif Onvif is not setup for reolink

If I establish the 2-way connection via the Frigate AddOn then I don't see any error message.
homeassistant:/config# cat frigate.yml
mqtt:
  host: <IP_ADDRESS>            # YOUR MQTT IP
  user: #####_mqtt             # YOUR MQTT USERNAME
  password: Marlies(12)        # YOUT MQTT PASSWORD
go2rtc:
  streams:
    webrtc:
      candidates:
      - <IP_ADDRESS>:8555
      - stun: 8555
    reolink:
      - ffmpeg:https://<IP_ADDRESS>/flv?port=1935&app=bcs&stream=channel0_ext.bcs&user=#####&password=Marlies1234#video=copy#audio=copy#audio=opus
      - rtsp://#####:Marlies1234@<IP_ADDRESS>:554/h264Preview_01_sub
  ffmpeg:
    bin: ffmpeg
    volume: "-af \"volume=30dB\""
cameras:
  reolink:
    ffmpeg:
      inputs:
        - path: rtsp://<IP_ADDRESS>:8554/reolink?
          roles:
            - detect
            - record
      output_args:
        record: preset-record-generic-audio-copy
    zones:
      reolink_zone:
        coordinates: 0,480,800,480,543,323,362,329,0,61     # WATCH MY FRIGATE VIDEO SHOWING YOU WHAT THIS IS
    motion:
      mask:
        - 613,309,275,0,297,339                             # WATCH MY FRIGATE VIDEO SHOWING YOU WHAT THIS IS
objects:
  track:
    - person
  filters:
    person:
      threshold: 0.7
detect:
  width: 800
  height: 400
snapshots:
  enabled: true
  timestamp: true
  bounding_box: true
  retain:
    default: 7
record:
  enabled: true
  retain:
    days: 7
  events:
    retain:
      default: 7
detectors:
  ov:
    type: openvino
    device: CPU
    model:
      path: /openvino-model/ssdlite_mobilenet_v2.xml
model:
  width: 300
  height: 300
  input_tensor: nhwc
  input_pixel_format: bgr
  labelmap_path: /openvino-model/coco_91cl_bkgr.txt
version: 0.14

frigate card
type: custom:frigate-card
cameras:
  - camera_entity: camera.reolink
    live_provider: go2rtc
    go2rtc:
      modes:
        - webrtc
menu:
  buttons:
    microphone:
      enabled: true
      alignment: opposing
      type: toggle
    timeline:
      enabled: false
    cameras:
      enabled: false
    frigate:
      enabled: false
    download:
      enabled: false
    media_player:
      enabled: false
    mute:
      enabled: true
      alignment: opposing
    camera_ui:
      enabled: false
  style: overlay
  position: left
live:
  controls:
    thumbnails:
      mode: none
  preload: false
dimensions: {}
media_gallery:
  controls:
    thumbnails:
      size: 140
      show_favorite_control: false
      show_timeline_control: false
      show_download_control: false
    filter:
      mode: none

Reolink Firmware: v<IP_ADDRESS>10_2410111119
Frigate Version: 0.14.1
go2rtc Version: 1.9.7 from AlexIT
HACS Frigate Card Version: 6.1.0
I have a WIFI doorbell that is connected to the WLAN via 5Ghz. I get an echo in the 2-way communication when I say something from the end device (web browser, iPhone, Android phone, tablet, etc.).
There doesn't seem to be a working solution with this camera. Do you have any other experiences?
ccab4aaf_frigate_2024-12-23T13-24-49.955Z.log
Greetings from Stefan Harbich

https://card.camera/#/support?id=diagnostics-missing-in-issue

error 2024-12-23 13:00:05 frigate.ptz.onvif Onvif is not setup for reolink

This is just Frigate being too loggy. This was fixed in more recent Frigate builds.

I get an echo in the 2-way communication when I say something from the end device (web browser, iPhone, Android phone, tablet, etc.).

So the 2-way communication works, but has an echo?


Adds Warden::GitHub's new verified serializer

Coverage decreased (-1.94%) to 96.69% when pulling 88e33552bc628c252df7c080d8ed46a313ab321e on huboard:huboard/properly-serialize-warden-user into aacfd7380a90230f84917f23ca15661ced6cbeb0 on fphilipe:master.

Coverage decreased (-1.94%) to 96.69% when pulling 88e33552bc628c252df7c080d8ed46a313ab321e on huboard:huboard/properly-serialize-warden-user into aacfd7380a90230f84917f23ca15661ced6cbeb0 on fphilipe:master.

Coverage decreased (-1.94%) to 96.69% when pulling 88e33552bc628c252df7c080d8ed46a313ab321e on huboard:huboard/properly-serialize-warden-user into aacfd7380a90230f84917f23ca15661ced6cbeb0 on fphilipe:master.

howdy @fphilipe
Not sure why the travis tests didn't pass, all the tests pass locally
Thanks

Not sure why the tests failed. Could you explain to me what this does exactly and why it's needed? Thanks :blush:

@fphilipe
I believe this is a step towards fixing https://github.com/fphilipe/warden-github-rails/issues/10. At least I was searching for a way to setup Warden::GitHub::Verifier in order to solve it.
Note atmos/warden-github@bd1596a indicates that WARDEN_GITHUB_VERIFIER_SECRET needs be set in order for this to work. Also, I suspect this change invalidates existing sessions.
@rauhryan
The tests are failing for Rails 3.1 although passing for 3.2 and 4.0. Maybe the serializer didn't work before 3.2?

@rauhryan I'm not sure it makes sense to add this since rails encrypts the cookies anyways. See https://github.com/atmos/warden-github/pull/43#issuecomment-142509155. What do you think?

@rauhryan Sorry to not have looked closer into this PR. I was fixing the issue and dug deeper and now fully understand the issue at hand, which led me to write a fix for this in #19. Might want to try that out if you want.


GSoC Ideas: oftp, OpenDAL FTP Server

Background
OpenDAL is a data access layer that allows users to easily and efficiently retrieve data from various storage services in a unified way. oftp can expose OpenDAL power in FTP way that allow users to access storage services via FTP protocol.
Objectives
Features

Impelment a FTP Server based on opendal

Tasks

Implement features that in scope
Implement tests suite

Recommended Skills

Familiar with Rust
Familiar with basic ideas of FTP protocol
Familiar with OpenDAL Rust Core

Mentor
Mentor: PsiACE, Apache Apache Member<EMAIL_ADDRESS>Mailing List<EMAIL_ADDRESS>Please leave comments if you want to be a mentor

cross posted at https://issues.apache.org/jira/browse/GSOC-256

I'm interested to work on this as a contributor. I'm very familiar with rust lang but no so much with ftp, but I can read through the protocol before the program started and come up with a doable proposal.

I'm interested to work on this as a contributor. I'm familiar with rust lang but no so much with ftp, but I can read through the protocol before the program started and come up with a doable proposal.

Thanks for your interest!

Part of https://github.com/bolcom/unFTP now!


BITMAKER-2117: Configure WebPack to use Micro-frontend

Description
Add env variables and define a standard to use Micro-frontend, configure estela-web to be able to use Module-Federation and use external code.
Issue

Issue ID.

Checklist before requesting a review

[x] I have performed a self-review of my code.
[x] My code follows the style guidelines of this project.
[x] I have made corresponding changes to the documentation.
[x] New and existing tests pass locally with my changes.
[x] If this change is a core feature, I have added thorough tests.
[x] If this change affects or depends on the behavior of other estela repositories, I have created pull requests with the relevant changes in the affected repositories. Please, refer to our official documentation.
[x] I understand that my pull request may be closed if it becomes obvious or I did not perform all of the steps above.

@Adriana618 , @rodp63, It's ready to review.


php artisan clear-compiled on missing service provider

When a service provider is already in the compiled and you attempt to php artisan clear-compiled it will error. This is because Laravel needs to bootstrap before it can even run the command. This makes the command quite unreliable and a bit flawed as it cannot be used when you have removed a service provider.
Maybe the command could somehow be a stand-alone thing and not require bootstrapping of Laravel in order to run? @taylorotwell

Thanks for reporting @garygreen, but we already know about this, and I already suggested we change this to be stand alone, but Taylor didn't like the idea. The best work around is for you to just do something like this: https://github.com/StyleCI/StyleCI/blob/master/composer.json#L67.

Thanks @GrahamCampbell. It's a pretty simple fix really, suprised Taylor didn't like the idea as the command is pretty flawed imo.
I've decided to implement it a slightly different way than you suggested so that's it's both Windows/Unix friendly by having a clear-compiled file alongside artisan in my base directory.
Instructions below just in case anyone else stumbles across this and would like the clear-compiled command to always work! :smile:
clear-compiled
#!/usr/bin/env php
<?php
foreach (glob(__DIR__ . '/bootstrap/cache/*.*') as $file) {
	@unlink($file);
}
echo 'Cleared compiled directory.';
exit();

Then in composer.json change php artisan clear-compiled to simply php clear-compiled
"scripts": {
	"pre-install-cmd": [
		"php clear-compiled"
	],
	"post-install-cmd": [
		"php clear-compiled"
	]
},

I've created a repository for this in case anyone would like to use the standalone clear-compiled command in their app :+1:
https://github.com/garygreen/clear-compiled

@GrahamCampbell have you at least tested that rm command?
rm is not supposed to work like that, you have to tell which folders you want to remove:
rm -f bootstrap/cache/compiled.php bootstrap/cache/config.php bootstrap/cache/routes.php bootstrap/cache/services.json

or use find to delete some files
find bootstrap/ -type f -name "compiled.php" -exec rm -f {} \;
find bootstrap/ -type f -name "routes.php" -exec rm -f {} \;
find bootstrap/ -type f -name "services.json" -exec rm -f {} \;

if you don`t want to delete them all:
rm -f bootstrap/cache/*

This last command will not delete the .gitinore file.

@antonioribeiro I did think those commands @GrahamCampbell posted example of was weird and thought you should tell it the paths as well... but in any case I think rm is not a good option because it isn't available on Windows (unless thru Cygwin or something). Using this script is more reliable for cross OS and keeps it pretty much identical in usage to the php artisan clear-compiled vs just php clear-compiled.

@GrahamCampbell have you at least tested that rm command?

Yeh. I use it in production...

Ok, I've made a new issue for this: https://github.com/laravel/framework/issues/9678.


:FlutterRun fails on windows

Hi.
I found that :FlutterRun fails on windows with this error.
E5108: Error executing lua ...\site\pack\packer\start\plenary.nvim\lua\plenary\job.lua:400: Failed to spawn process: {
  _additional_on_exit_callbacks = {},
  _shutdown_check = <userdata 1>,
  _stderr_results = {},
  _stdout_results = {},
  _user_on_exit = <function 1>,
  _user_on_stderr = <function 2>,
  _user_on_stdout = <function 3>,
  args = { "run" },
  command = "C:\\flutter\\bin\\flutter",
  enable_handlers = true,
  enable_recording = true,
  interactive = true,
  pid = "ENOENT: no such file or directory",
  stderr = <userdata 2>,
  stdin = <userdata 3>,
  stdout = <userdata 4>,
  user_data = {},
  <metatable> = <1>{
    __index = <table 1>,
    _create_uv_options = <function 4>,
    _execute = <function 5>,
    _pipes_are_closed = <function 6>,
    _prepare_pipes = <function 7>,
    _reset = <function 8>,
    _shutdown = <function 9>,
    _stop = <function 10>,
    add_on_exit_callback = <function 11>,
    after = <function 12>,
    after_failure = <function 13>,
    after_success = <function 14>,
    and_then = <function 15>,
    and_then_on_failure = <function 16>,
    and_then_on_failure_wrap = <function 17>,
    and_then_on_success = <function 18>,
    and_then_on_success_wrap = <function 19>,
    and_then_wrap = <function 20>,
    chain = <function 21>,
    chain_status = <function 22>,
    co_wait = <function 23>,
    is_job = <function 24>,
    join = <function 25>,
    new = <function 26>,
    pid = <function 27>,
    result = <function 28>,
    send = <function 29>,
    shutdown = <function 30>,
    start = <function 31>,
    stderr_result = <function 32>,
    sync = <function 33>,
    wait = <function 34>
  }
}

The executable file name for flutter in windows is flutter.bat, but flutter is running, which is probably causing this problem.

@nazo6 thanks for reporting this issue.
I'm not very familiar with windows so there are always likely to be some edge cases on that OS unless I get contributions/issues from windows users.
Regarding the executable name is this universal for all windows installations? If I change this for all windows users is there some type/version of windows that will break?
Do you have flutter in your $PATH? if you do this plugin should just take the path returned by vim without snipping the extension? are you setting flutter_path or flutter_lookup_cmd?

I found out that the problem was caused by resolve(exepath("flutter")) returning a path without extension, but when I tried it with vanilla neovim, it returned the correct path with extension. It seems to be a problem with my configuration, so I'm closing this issue.
Thanks for making such a great plugin!


Refresh token - Old Token scope validation

During token refresh if in request there is no "scope" parameter library try to parse old token scopes
getRequestParameter accepts as parameter an array as strings while oldToken.scopes is {name: string}[]
i thing it can be fixed with a little change in   RefreshTokenGrant#respondToAccessTokenRequest
const scopes = await this.validateScopes(this.getRequestParameter("scope", request, oldToken.scopes.map(s=>s.name)));

Thank you for reporting this, and even more importantly, helping me attempt to solve it! I will verify and push a PR as soon as possible (likely EOD today or tomorrow).

You are also more than welcome to push a PR if you want to be a contributor :D

thanks for your quick reply, you have made a great job with this library.
I'm not pushing at the moment ta PR just because i'm not sure i can test all use cases/paths it was designed for :-)

This fixed in #13 and available in v1.0.2

thanks for quick update on npm, now it works like a charm. Sorry for for messing up with PR. Once again great job.

Awesome glad it works, thanks for the kind words!
On March 16, 2021, GitHub @.***> wrote:

thanks for quick update on npm, now it works like a charm. Sorry for
for messing up with PR. Once again great job.

—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<https://github.com/jasonraimondi/typescript-oauth2-
server/issues/8#issuecomment-801022169>, or unsubscribe
<https://github.com/notifications/unsubscribe-
auth/ABMFCP7WGERLDEDUNEDQTTLTECJ5ZANCNFSM4ZJA4FQA>.


Link icons to aoe4world explorer

Maybe its a lot of work and not worth it...
I like to learn new civs with the help of a build order. For this reason I dont know the exact function for every technology. It would be helpful to click on the icon and get directly to the aoe4world explorer page.

Good idea.
The data that I am using started off with the overlay tool structure and is hand crafted. At some point I wanted to use the aoe4 data project which backs everything on aoe4world. (it's also on github)
However, replacing / transforming all icon descriptors or enriching it is indeed a lot of tedious work.
I thought that having the Information in the popup would be sufficient instead of linking to aoe4world.
So, at some point it might be a thing. But not anytime soon I guess.

Implemented in version 1.7.12
Tooltip + Naviagation to aoe4worl explorer on click:


Remember recently connected wallet

Is your feature request related to a problem? Please describe.
There are hundreds of wallets available, and users need to spend several moments searching or scrolling to find their favorite wallet.  Users have to do this for every single dapp they visit.
Describe the solution you'd like
User goes to dapp A, and selects a wallet
When user goes to dapp B, the previously selected wallet is shown first in the list.
This is a huge timesaver, win for the user, win for the wallets, and win for the dapps.

Describe alternatives you've considered
none

@chadyj I changed scope of this issue to remember recently connected wallet. This will be per dapp for 2.0.0. Remembering this setting across dapp is impossible as of now. If / when we get to that stage, another issue can be created.


Add namespace to flip events

This is from https://github.com/nnattawat/flip/issues/49. Now flip can be easily unbind with $(element).off('.flip')

My change is quite minor and should not effect anything. I will merge it for now.


❌ Software Removal | fried.com's link from PT.IO site

Description
The homepage of pt.io contains "The Ultimate Guide to Online Privacy - Comprehensive "Ninja Privacy Tips" and 150+ tools."
But, from visiting site, I found that site is not getting updated for a long time.
Besides, this site is also recommending Ghostery and AdBlockPlus.
These are NOT acceptable because Ghostery has turned into an ad company and ABP 'Allows acceptable ads'!
Why I am making the suggestion
Mentioned above.

My connection with the software
Nothing, ex-user of the softwares mention above.

No
I will keep the issue up-to-date if something I have said changes or I remember a connection with the software.

I agree, the site is just shilling VPNs left and right. Affiliate links galore!

I think this can be dealt with in #1984

Agreed we need to be removing this.


ci: set the swap file size to 10 GB for GitHub runners

This will hopefully alleviate the issue of some tests causing
out of memory crashes on the 7.5GB RAM GitHub Action Runners.
Could of course have a domino effect where the swap kicks in
and slows everything down so much that the tests just start
timing out instead of crashing with OOM ¯_(ツ)_/¯
Signed-off-by: Peter Somogyvari<EMAIL_ADDRESS>

Codecov Report

Merging #1342 (c5259c2) into main (8a4222a) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #1342   +/-   ##
=======================================
  Coverage   67.95%   67.95%
=======================================
  Files         301      301
  Lines       10948    10948
  Branches     1347     1347
=======================================
  Hits         7440     7440
  Misses       2817     2817
  Partials      691      691

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 8a4222a...c5259c2. Read the comment docs.


Add command line arguments to the debug project.

When generating the debug solution the command line arguments that are currently being used are also added to the start arguments of the debug project. I've excluded /sources (because it's already added) and /generateDebugSolution (because it can trigger reloads of the debug project during debugging).

It looks like /debugSolutionStartArguments could technically do the same thing already, so let me know if this change is not needed anymore so the PR can be closed.

@Michron  Can we close this one? a way to specify arguments for debug solution now exist.


Removing transform module in favor of numpyro.distributions.transforms

[x] Removes the module, tests, and documentation section on the sphinx website.
[x] Updates the functions using the module and replaces them with numpyro.distributions.transforms.
[x] Updates calls using transform.inverse() to transform.inv().
[x] Adds a new class to mimic pyrenew.transform.LogTransform using numpyro's ExpTransform as baseline instance.

I think any custom transforms we want to keep should still be in their own module.
Can we not just define LogTransform as ExpTransform().inv? Perhaps that doesn't get us all the functionality of a true numpyro transform (maybe it does), but it at least gives us the transform and its inv, which is all we need.

import numpyro.distributions.transforms as nT
import pyrenew.transform as pT
import jax.numpy as jnp
from numpy.testing import assert_array_almost_equal

test_array = jnp.array([0.1, 0.2, 0.4])

LogTransform = nT.ExpTransform().inv

LogTransform(test_array)
LogTransform.inv(test_array)

I think any custom transforms we want to keep should still be in their own module.
Can we not just define LogTransform as ExpTransform().inv? Perhaps that doesn't get us all the functionality of a true numpyro transform (maybe it does), but it at least gives us the transform and its inv, which is all we need.

import numpyro.distributions.transforms as nT
import pyrenew.transform as pT
import jax.numpy as jnp
from numpy.testing import assert_array_almost_equal

test_array = jnp.array([0.1, 0.2, 0.4])

LogTransform = nT.ExpTransform().inv

LogTransform(test_array)
LogTransform.inv(test_array)

I updated the code to use ExpTransform().inv. About the other transforms, maybe the scaledlogit is the one to keep? But I have my doubts as to where to put it, as it would be a module with a single function.
#140  ScaledLogitTransform
assert_array_almost_equal(
    pT.ScaledLogitTransform(4)(test_array),
    nT.ComposeTransform([nT.AffineTransform(0,1/4), nT.SigmoidTransform().inv])(test_array)
)

assert_array_almost_equal(
    pT.ScaledLogitTransform(4).inverse(test_array),
    nT.ComposeTransform([nT.AffineTransform(0,1/4), nT.SigmoidTransform().inv]).inv(test_array)
)

I updated the code to use ExpTransform().inv. About the other transforms, maybe the scaledlogit is the one to keep? But I have my doubts as to where to put it, as it would be a module with a single function.

I don't think we want to make the user remember which transforms are in numpyro.distributions.transforms and which are in pyrenew.transform. Counterproposal: expose transforms from numpyro.distributions.transforms to the user via pyrenew.transform:
That is: have a pyrenew/transform module that's a folder, with an __init__.py that reads something like:
from pyrenew.transfom.scaledlogittransform import ScaledLogitTransform
from numpyro.distributions.transforms import ExpTransform

__all__ = [
    "ScaledLogitTransform",
    "ExpTransform"
]

Then the user can do
from pyrenew.transform import ExpTransform

Are there reasons not to do this? Documentation? politeness/attribution?

@dylanhmorris I would want to ensure that all transforms from numpyro are re-exported in our module. Ideally, without having to list them all out.

This is a case in which an import * might be allowed. Something like:
pyrenew/transform/__init__.py:
from numpyro.distributions.transforms import *
from numpyro.distributions.transforms import __all__ as numpyro_public_transforms

from pyrenew.transform.scaledlogittransform import ScaledLogitTransform

__all__ = [
    "ScaledLogitTransform"
] + numpyro_public_transforms


Fix file updater removing variants from docker tags

It was only using the last new requirement while I believe it should be using the corresponding updated requirement for each old requirement.
Fixes #5538.

@deivid-rodriguez we might need to re-evaluate this one... I just noticed the long thread here:

https://github.com/dependabot/dependabot-core/issues/3261

That resulted in a very similar PR here:

https://github.com/dependabot/dependabot-core/pull/3627

Which was then reverted here:

https://github.com/dependabot/dependabot-core/pull/3686

I only took a cursory glance at the code, but the reverted PR has test cases that look very similar to this one... 😢
See the full discussion in the original issue...


handle Mac cmd + Q not saving setting bug

🐎 fix that bug!
Thank you @cal2195 for catching it and for suggesting the fix in the issue.
This PR will close https://github.com/whyboris/Video-Hub-App/issues/31

Nice!! 🎉 I tried to fix this myself, but I couldn't get it working!
Thanks for that! 👍


VM is mentioned but not relevant to this page?

"Delete the resource group, virtual machine, and all related resources when you no longer need them. To do so, select the resource group for the VM and select Delete."

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

ID: bc43d849-5b06-7185-0c9e-aaf240363aca
Version Independent ID: 385f4dfe-326a-9e63-80ce-3c71903edf3c
Content: Quickstart: Set and retrieve a secret from Azure Key Vault by using a .NET web app - Azure Key Vault
Content Source: articles/key-vault/quick-create-net.md
Service: key-vault
GitHub Login: @msmbaldwin
Microsoft Alias: barclayn

@hansmbakker Thanks for reporting this. I have updated the doc and it will be published shortly.


Alternative project: https://github.com/nimiq/promptastic

I have been using powerline-shell for a while and, as we all see, it is a great project but unfortunately the development is kind of stuck and the software is a bit buggy. So I started an alternative project, heavily inspired by powerline-shell, take a look:
https://github.com/nimiq/promptastic

@nimiq I am thinking about switching over. Are there any big obvious differences in terms of features currently supported on powerline-shell vs your project (promptastic) ?
Thanks!

Not much difference between powerline-shell and promptastic in terms of features. I believe promptastic has a better layout and the project itself is more actively maintained (so less buggy), but I am the author of promptastic so my point of view is biased of course. If you have used powerline-shell for a while and you are happy with that then do not switch over, in all other cases go for promptastic!

Thanks. Yeah I am mostly happy with it except it is no longer maintained. I still plan to check out your project and maybe switch over :smile:

Well done @nimiq! Glad it works with Python 2 and 3 out of the box! Nice!

Is it possible to merge the projects ?

Hey @nimiq -- I have been trying to get this repo back into shape. Part of that process is closing out old issues. So while your project looks pretty nice, I don't think this issue need stay open.

Alright, good luck!!

@b-ryan awesome !!!


⚠ Processors has degraded performance

In 637db99, Processors ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 61 ms

Resolved: Processors performance has improved in d76d65b.


Unnecessary call to base.OnConnectedAsync and base.OnDisconnectedAsync

In https://docs.microsoft.com/en-us/aspnet/core/signalr/hubs?view=aspnetcore-2.2#handle-events-for-a-connection
There is a call to base.OnDisconnectedAsync(exception) and one to base.OnConnectedAsync(). However when you go to those virtual methods they just return Task.CompletedTask. Is there something I am missing or the calls to the base Hub base methods are completely unnecessary in the overridden OnDisconnectedAsync and OnConnectedAsync methods?

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

ID: 1387f556-b4b7-70f9-5bd0-f0bccc597689
Version Independent ID: fb016cdc-d281-6b5b-7466-2c718e7274b4
Content: Use hubs in ASP.NET Core SignalR
Content Source: aspnetcore/signalr/hubs.md
Product: aspnet-core
Technology: aspnetcore-signalr
GitHub Login: @bradygaster
Microsoft Alias: bradyg

I see this as one of those "the specification is rigid, the implementation is lenient" cases :). We generally want to remind and encourage authors of Hubs that you should call the base method (especially if you have your own derived Hub class). Thus the sample shows all examples doing this (the "specification" here, the doc, is strictly adhering to our guidance).
However, as you noted, our base implementation doesn't do anything, and we will likely never have it do anything because often users do fail to call the base methods (the "implementation" knows people may forget and thus we put any important logic outside of this virtual method).
So yes, you are correct. Calling the base method doesn't do anything and could be omitted. Is there a specific concern you have about calling the base? (Observable performance impact, etc.)

Mainly that code example made me wondered if there is a plan for changing the implementation in the future to have logic in the base methods, which was what caused me to ask this question.
My other concern around unnecessary calls is the confusion that it can cause for the beginners and long term maintainers of the code.

Closing based on the remarks made by Andrew Stanton-Nurse.


Add flag score

Be able to view flag scores for completed contests

The actual scores are obfuscated, so it's not feasible to display the actual scores each flag has.


Expose transport port 9300 on client service (ClusterIP)

What this PR does / why we need it:
This PR allow to expose transport port 9300 on client service (ClusterIP) based on new configration parameter.This port can be used by application for integration purposes.
Special notes for your reviewer:

Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[ ] DCO signed
[ ] Chart Version bumped
[ ] Variables are documented in the README.md

Thanks!
/assign
/ok-to-test

/assign @desaintmartin

It would be perfect if you could add a test in the ci directory!
Appart from that, looks good.

@desaintmartin  Test values added to ci directory, please check.

Thanks!
/lgtm


MapArray errors to map null/None value

Describe the problem
I am trying to export Components field for Jira issues. In some issues, the components field value set from a value to null/empty/none in one of the revisions.
However when exporting the Components field, its failing to map the None value and produces the following error.
[E][11:48:36] Error mapping field 'Custom.Components' on item 'DSPUBI-2133'.
[System.ArgumentNullException] System.ArgumentNullException: Value cannot be null.
To Reproduce
Steps to reproduce the behavior:

Create a Jira user story
Set components field to a value and Save
Remove value for components field and Save
Set Components field to a value and Save
Run the export process

Tool version

jira-azuredevops-migrator-3.0.422

Attachments
Please attach the following files:
jira-export-log-240613-114833.txt
config-agile.json
Screenshots

Something likely is not working as expected with the Array mapper. All of the above repro steps are really helpful in troubleshooting this issue, so thanks for that!
Marking as a bug.
Have you tried to omit the following line in your field map?
"source-type": "name",

Hi @Alexander-Hjelm ,
Haven't tried omitting the source-type but I have commented our a line of code in MapArray method where its checking for null and throwing the exception and add to set the value to null. It seems to work fine for me now.

Thanks,
Thiru

Hum, ok! Good catch. It feels like there might be a deeper underlying issue to this, so we might not want to create a PR with your fix right away.
Have you noticed anything about under what conditions the Array-type field becomes null?


I would like to request your permission as author so that I can translate some parts of your book

Dear Nick,
I started reading your book entitled “TensorFlow Machine Learning Cookbook” about a month ago, and I should say it's a well-written book.
I really liked some of the ideas that you wrote and I would like to share them with students in my country.  I would like to request your permission as author so that I can translate some parts of your book into the Persian language with some modifications.  The modifications are required to provide context to ensure the translation is understood correctly. I am not doing this for financial gain; I would just like students in my country become more familiar with the topic and your book provides an excellent resource on this subject.  Needless to say, I will keep all links and give proper attribution to you as the author.  The translated sections will be published on my blog, and I can provide you with the link once complete.
I really appreciate you considering my request.  If you have any questions regarding the intent of my translation or the exact sections I wish to translate, please do not hesitate to ask.  I look forward to receiving your response.

Hi @AlisterTA , thanks for your interest! It is fine if you want to translate it.  I appreciated you intentions and feel free to translate the text and use the Python scripts you find here.  Please let me know if I can provide clarification on anything in the process.  I'm going to close this issue and please reopen it if you have any questions.  Thanks!


Downloading the dataset from pan.baidu.com

I followed the steps in issue#3 and still having an issue with the download.
@brightmart Can you please provide steps to download and/or to run with another dataset?

what the problem?


Refactor

Add type hinting where it possible;
Improve docstrings for some functions or classes;
Add new tests and improve old ones;
Replace all tests to tests folder.


When changing language, menu items does not change language

Reproduce:

Change language on the flag icon
Open right menu
See that the language is not changed on items, even though they are translated

See the code
This menu should also be an own compoenent.

@maccyber  do you can check my https://github.com/rubynor/bigfive-web/pull/66/files


Can't download sympbols

Powershell:
New-BCContainer -accept_eula -accept_outdate -containerName 'BCTest' -updatehosts -imageName 'mcr.microsoft.com/businesscentral/onprem:14.10.40471.0-be'
Output:
`Container Hostname  : BCTest
Container Dns Name  : BCTest
Web Client          : http://BCTest/NAV/
Dev. Server         : http://BCTest
Dev. ServerInstance : NAV
Files:
http://BCTest:8080/al-3.0.193882.vsix`
I downloaded the VSIX and installed as extension in VS Code.
Launch.json
{     "version": "0.2.0",     "configurations": [         {             "name": "Launch",             "type": "al",             "request": "launch",             "server": "http://BCTest/",             "serverInstance": "NAV",             "port": 80,             "authentication": "Windows"         }     ] }
app.json
  "id": "21e33d18-65f0-49fc-be84-8e571d899b66",   "name": "Base",   "publisher": "Default publisher",   "version": "<IP_ADDRESS>",   "brief": "Extension",   "description": "Extension",   "privacyStatement": "",   "EULA": "",   "help": "",   "url": "",   "logo": "./resources/Logo_group.png",   "dependencies": [],   "screenshots": [],   "platform": "<IP_ADDRESS>",   "application": "<IP_ADDRESS>",   "idRanges": [     {       "from": 50100,       "to": 2001299     }   ],   "contextSensitiveHelpUrl": "",   "showMyCode": true,   "runtime": "3.0",   "features": [],   "target": "Internal"

and what error do you get?
You could try to change your container to username/password auth - and the same in app.json - windows auth has caused a lot of issues.

Stumpled over this one - in launch.json - you have port 80 - the port should be the Developer endpoint - typically 7049. You should delete the port in launch.json unless you have specifically changed something.


Remove votes once ≥1 vote has been registered for each option

poll: 🍕?
P)apa John's Papa bless
D)ominoe's
G)iordano's

If someone clicks the P, D, and G emoji it's not necessary for the bot to also react with those.
Remove them.

But then someone could retract their vote, and an option would be missing.


Fixed incorrect indexing of the command line arguments

Fixed SimpleIngestIndexWriter example to index command line arguments correctly

Coverage decreased (-0.002%) to 51.636% when pulling 27b210bccc7d341148ca5edc20227a45fe04c0a2 on ashish217:master into e74581c8cf408f99d71ac216eb0b808de3c6bfce on ngageoint:master.

Coverage decreased (-4.1%) to 47.522% when pulling 27b210bccc7d341148ca5edc20227a45fe04c0a2 on ashish217:master into e74581c8cf408f99d71ac216eb0b808de3c6bfce on ngageoint:master.

Coverage decreased (-4.1%) to 47.522% when pulling 27b210bccc7d341148ca5edc20227a45fe04c0a2 on ashish217:master into e74581c8cf408f99d71ac216eb0b808de3c6bfce on ngageoint:master.


Catch errors in deploy.yml ERB better

If you make a mistake in deploy.yml, especially with the ERB definitions, like referencing missing credentials, the error message is obtuse and the backtrace hard to parse. Let's improve this and make it easier to know exactly what went wrong.

What about validating raw_config with json-schema?
https://github.com/voxpupuli/json-schema

Interesting idea. Worried it might be too heavy, but we could try!

Don't actually need ERB now by default. So not really relevant. Still should validate the schema, though.


maximum height from initial velocity

Add  maximum height from initial velocity to kinematic laws

Removed unrelated comments
Added tests
Used free fall acceleration from sympy

updated law and test, added test to test folder


wandb: Network error (TransientError), entering retry loop[Q]

当我在autodl云服务器上使用wandb时候，报这个错误
wandb: Network error (TransientError), entering retry loop

Hi @SXQ-STUDY , since we have not heard back from you we are going to close this request. If you would like to re-open the conversation, please let us know!


Cleanup AppVersionInfo and turn it into a singleton

This should fix the linking issues with appVersionInfo having to be defined all over.

[approve ci centos]

[approve ci autest]

[approve ci autest]

[approve ci autest]


Getting connection errors when trying to get voices

raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='api.elevenlabs.io', port=443): Max retries exceeded with url: /v1/voices/pNInz6obpgDQGcFmaJgB/settings (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0xef40f9e8>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))

Could you provide the code that raises this error?

This only started recently.
from elevenlabs import save, generate, set_api_key, stream, voices
set_api_key(<My api key>)

def startVoice():
        print("Trying to get voices")
        voiceList = voices()
        # print(voices[12])

        my_voice = voiceList[12]
        my_voice.settings.stability = 0.8
        my_voice.settings.similarity_boost = 0

        return my_voice

my_voice = startVoice()

Unfortunately I cannot replicate, this looks like a connection issue on your end.


Update google test + give the flexibility to build in sub directory

Hi,
I've performed the two following improvements:

I've updated google test to the last revision available today (Sep 29th)
I gave the possibility to build the software under a sub directory
e.g

mkdir build
cd build
../configure
make

Kind regards,
Laurent

I made a mistake, I forgot to add some file. I'll reissue a pullme


Explanation for "Provide the Azure subscription ID, resource group name and location" (Heading: Create enterprise policy).

Hello,
there is mentioned in this page (Heading: Create enterprise policy): Provide the Azure subscription ID, resource group name, Azure resource group location" .
1/ Can you please specify which subscription and resource group is it?
- a/ Is it same subscription / resource group as Synapse Analytics workspace is placed?
- b/ Or it could be deployed into any subscription / resource group?
2/ Can you please specify what do you mean by "Locations available for enterprise policy"?
- There is mentioned Europe, but is it supported "North Europe" / "West Europe" or just "Europe"?
Thank you,
Erik

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

ID: 27e52c30-3d07-248e-d188-92ff021c5e5d
Version Independent ID: 27e52c30-3d07-248e-d188-92ff021c5e5d
Content: Use managed identities for Azure with your Azure data lake storage - Power Apps
Content Source: powerapps-docs/maker/data-platform/azure-synapse-link-msi.md
Service: powerapps
Sub-service: dataverse-maker
GitHub Login: @JasonHQX
Microsoft Alias: jasonhuang

Thanks for your comment, @eerik47. This issue has been assigned to the doc author for review.


Neo Sonic Universe Game

CNCDraw
add neo sonic universe to the list of games so it works on full screen and not on small screen

I added a preset for it, to have it in fullscreen without blackbars you had to config the game with "Windowed Mode" and "DirectDraw" - cnc-ddraw will then start it in fullscreen, but you can also press alt+enter to switch to windowed mode
Download: https://github.com/FunkyFr3sh/cnc-ddraw/releases/download/experimental/cnc-ddraw-experimental-release.zip

will it work with this game too?

This game is Commando 2004

This game also got the same code, but my version doesn't have a launcher to enable DirectDraw so I had to patch it to enable it.
But my game is crashing when I try to start the gameplay (even without cnc-ddraw) so I can't test it.
Here are my files:
commando04.zip

the first method worked in windowed mode but when it comes to full screen it's still the same and I want the game to run in full screen

hm strange. It does work for me.
Can you do a test run with the debug build and upload me the log files here? Download: https://github.com/FunkyFr3sh/cnc-ddraw/issues/44

You didn't get fullscreen by default with my .zip for this one either?

cnc-ddraw-nsu-1.zip

W moim pliku .zip też nie masz domyślnie włączonego trybu pełnoekranowego?

No

in your log it says you got "windowed=true" in ddraw.ini - can you set that to "windowed=false" and upload me a new log?

Wait

with the game ninja jonder deluxe ddraw it worked great it works in full screen without any problems with the image jumping

cnc-ddraw-nsu-1.zip

hm, it still says "windowed=true" in the log, are you sure you changed that?

Yes

What happens when you set "windowed=true" and "fullscreen=true"? can you upload me a log of that as well?

and should directdraw be selected in the launcher and windowed or fullscreen

in the launcher always "windowed" and always "directdraw"! only change ddraw.ini settings

https://github.com/user-attachments/assets/a0b85669-7ad4-4cd3-a767-f706a11d204c

Yeah, your settings are all wrong. You had fullscreen in the launcher set and you had windowed=true in ddraw.ini - It's not working like this
Launcher must always be Windowed+DirectDraw - You can change ddraw.ini settings though
Try a test run with "windowed=true" and "fullscreen=true" set in ddraw.ini and upload me a log of that so I can check what happens

https://github.com/user-attachments/assets/33a5264f-4550-4028-8fd5-a4b7fd59350c

you use winelator ?

Your launcher was again set wrong, it must be Windowed. Not fullscreen.
And your ddraw.ini is also broken you got 2 times "fullscreen=" in there, that will not work
Try this one:
cnc-ddraw-experimental-release.zip

YEEEEEY THANKS

could you add these 1 game also they use directdraw
Mario Sorb 3

https://github.com/user-attachments/assets/fd673e32-e16a-4942-9794-be3b9107a2dc

nice!!
Can you do more one test run for me so I can fix that bug? Run it with this one here and upload me the log files:
log-file-test.zip

could you add these 2 games also they use directdraw Mario Sorb 3 Ninja Jonder Deluxe

Yes, I will have a look into them

logs games.zip

Please logs 3 games
Mario Sorb 3
Commando
Ninja Jonder Deluxe

I wonder if these games will also work in directdraw mode
bejeweled 2
bejeweled 3
Platypus

I wonder if these games will also work in directdraw mode
bejeweled 2
bejeweled 3
Platypus

hm, I don't understand why the problem happens. Will do some more testing later tomorrow

I wonder if these games will also work in directdraw mode bejeweled 2 bejeweled 3 Platypus

yes, i will check them too!

I found a solution on google, someone said this:
Match the game resolution to the container resolution
So you just have to change a setting in winlator and most of these games will work fine

@brunodev85 sorry to ping you - but I would like to improve winlator support. Is this a common issue? Is there any ENV var you can set so cnc-ddraw can detect winlator and enable automatic upscaling?

Yes

@brunodev85 Hello, I have a question. Will midi be added in your version of Winelator?

hello i have a question will midi be added in your version of Winelator to support sf2 midi files

please create a separate issue for that as it's not related to the topic and not related to cnc-ddraw

OK

@FunkyFr3sh ok what about these 3 games that support directdraw

@FunkyFr3sh you looked what was going on with them

@FunkyFr3sh ok what about these 3 games that support directdraw

Not yet, but the logs look fine. Are they all working but displayed in the top left small?

All games are working, except bejeweled 3 (that one doesn't use DirectDraw, it's too new)
I pre-configured it with upscaling for you so you don't get the winlator bug:
cnc-ddraw-borderless.zip
For commando you need to use the exe I posted before, otherwise it doesn't use DirectDraw

Thanks

you will have to fix the problem with commando because when I added your file this happens
Uploading Screenrecorder-2024-12-25-10-47-28-238.mp4…

you will have to fix the problem with commando because when I added your file this happens
https://github.com/user-attachments/assets/822db989-db6a-4efa-9def-fea9d78e32f7

you need to use the patched commando exe I gave you, otherwise it will not use DirectDraw

yes but I used your file and something like this happens

this one here?
commando04.zip

YES

Look I tried to replace direct draw but there is a small screen on full screen
https://github.com/user-
attachments/assets/0135de27-398e-432a-a8b9-e7d078b5e342

you had it working before, it was using cnc-ddraw. you also posted a screenshot here: https://github.com/FunkyFr3sh/cnc-ddraw/issues/370#issuecomment-2560797944
Did you change something?

you need to use this ddraw: https://github.com/user-attachments/files/18241995/cnc-ddraw-borderless.zip
and this exe: https://github.com/user-attachments/files/18245259/commando04.zip

I copied your exe file only this happened and then I tried to replace the directdraw files from the last patch you gave me

nothing, it's still the same

nothing, still the same, I replaced the 2 files you gave me now and the same

try this one:
cnc-ddraw-borderless (1).zip

YeeeY thanks friend :) does it work or are you going to apply all 4 games to the list so that they work after downloading cnc draw?

I have a request, could you check why mario sorb 3 hangs on the map screen but not in the menu?
https://github.com/user-attachments/assets/42c63dfd-184d-4bc0-8b65-fd1f60c36513

I found a solution on google, someone said this:
Match the game resolution to the container resolution
So you just have to change a setting in winlator and most of these games will work fine
@brunodev85 sorry to ping you - but I would like to improve winlator support. Is this a common issue? Is there any environment variable you can set so cnc-ddraw can detect winlator and then cnc-ddraw would enable automatic upscaling?
Or do you have plans to fix this problem for low resolution games on your own so users don't have to change any settings manually?

Hello FunkyFr3sh, I noticed that other games like GEX also have upscaling issues, maybe this could be a rendering issue on the xserver, I need to do more testing, there is no environment variable for now, i can add it if it helps in any way.

YeeeY thanks friend :) does it work or are you going to apply all 4 games to the list so that they work after downloading cnc

They all do work with cnc-ddraw already, if you run them on windows/linux/macOS they'll work fine. It's just a bug on winlator that has to be fixed somehow. Right now you have to set "fullscreen=true" in ddraw.ini to enable upscaling to workaround the bug.

I have a request, could you check why mario sorb 3 hangs on the map screen but not in the menu?

I'm not sure, it works fine for me. You can try to do a test run with the debug build and upload me the logs. Also, record a video so I can see the numbers in the top left too.
Download: https://github.com/FunkyFr3sh/cnc-ddraw/releases/download/experimental/cnc-ddraw-experimental-debuglog.zip

Hello FunkyFr3sh, I noticed that other games like GEX also have upscaling issues, maybe this could be a rendering issue on the xserver, I need to do more testing, there is no environment variable for now, i can add it if it helps in any way.

These games have a very low resolution, maybe that's the issue? They run at 320x240. Anyways, even if you can figure it out and fix it, might still be cool to have a environment variable for future use (This way I may be able to tweak the default settings / improve the performance)

I have a question for you, will you add the last game that uses directdraw and 320x200 resolution, I mean the game clouds kingdom 3, this game has the same problem as the others

I'll tell you this, the problem is probably with cncdraw's DX Wrapper because when I set it, games with 320x200 resolution run normally but they are full screen on a small screen

https://github.com/user-attachments/assets/84a0ae6e-6d45-4afc-9bea-fcfa81e119ea
cnc-ddraw-mario3-1.zip

I have a question for you, will you add the last game that uses directdraw and 320x200 resolution, I mean the game clouds kingdom 3, this game has the same problem as the others

This game is also not using DirectDraw by default, i had to patch it as well:
Clouds Kingdom 3.zip

Screenrecorder-2024-12-26-18-02-01-996.mp4
cnc-ddraw-mario3-1.zip

Problem is that on the map screen the game is running without a limiter it seems. I enabled a faster shader, added a game speed limiter and also limit the frame rate as well, does it work better now?
cnc-ddraw-mario.zip

Test 1
https://github.com/user-attachments/assets/e178d8a1-4b09-41ab-b4c2-1e743448d4a4

Test 2
https://github.com/user-attachments/assets/954257ab-b1f4-4379-94e6-44c70b60c444

Test 3
https://github.com/user-attachments/assets/fa11537d-3118-4de7-bdc0-e21a54575212

I'll say this, I did 3 tests and in all 3 tests it was the same, it sped up the game a little but not much

Ah... yeah it looks a bit better now. There's probably not much more I can do, so you'll have to keep it like this.
You could try different wine versions maybe, but that's it

https://github.com/user-attachments/assets/6681010f-8bc5-4e88-b77a-38b2c1b7fb40

clouds kingdom 3 works in full screen thanks

quick question did you add clouds kingdom 3 to your games list ?

quick question did you add clouds kingdom 3 to your games list ? And Commando

no. Because they need game patches to work. You can't use them with cnc-ddraw without a custom exe

hey but when I used your file it worked and there will be no patch for the game because this game is from 2004

Yes I know. Only option is that someone will re-upload the games somewhere with my patched exe and cnc-ddraw included

thanks


Preselect community/collection in search page

Now :
When someone navigates to a community or collection and writes a term in the search field that is in the header and executes search, in the search page only search string is filled. This searches over whole repository.
A very useful improvement could be :
When someone navigates to a community or collection and writes a term in the search field that is in the header and executes search, in the search page search string is filled and the community/collection filter is set to originating community/collection. This searches only in the community/collection where search was called from.

Adding a correction to this "bug" - the functionality of pre-selecting community/collection does work on "title" / "author" / "date" and "subject" filter tabs, but it does not pre-filter on the "Recent Submissions" in collections and on "Subcommunities and Collections" in communities.

Was able to reproduce this locally & on demo site.

Visit a Community page (defaults to the "Subcommunities and Collections" browse option)
Click on the search icon in the header, and enter in a term.  The search will be site-wide.
Go back to the same Community, and click on "By Title" browse option.
Again, click on the  search icon in the header, and enter in a term.  The search will be community specific.

The ideal behavior is to have the search be specific to that community.  However, as noted above, it doesn't work if you search from the "Subcommunities and Collection" browse option.
This same behavior is also reproducible on Collection pages.  However, there the default browse option is "Recent Submissions" (which doesn't work and results in a site-wide search). But, if you switch to "By Title" it works (and the search is collection specific).


Migrate documentation to asciidoc format

https://github.com/testcontainers/testcontainers-spring-boot/blob/8370f031b5470a127917d449834e0488484965ab/README.adoc#list-of-properties-per-data-service
Include directive is not working on Github for security reasons.
@vasilievip should I leave one big readme.adoc or split it?
also table of contents is not displayed as expected. will fix that

Codecov Report

Merging #156 into develop will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             develop     #156   +/-   ##
==========================================
  Coverage      84.49%   84.49%
  Complexity       378      378
==========================================
  Files            103      103
  Lines           1245     1245
  Branches          12       12
==========================================
  Hits            1052     1052
  Misses           186      186
  Partials           7        7

Impacted Files
Coverage Δ
Complexity Δ

...aytika/test/aerospike/AerospikeTestOperations.java
100% <ø> (ø)
8 <0> (ø)
:arrow_down:

Continue to review full report at Codecov.

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

Can we talk about this? If you follow the approach we’re using for testcontainers-java and use MkDocs it’ll be a lot easier for us to integrate documentation. My plan is to get all the various Testcontainers projects to be searchable and discoverable via one root domain.
Sent with GitHawk

@rnorth I'm sorry I somehow missed your message! Let's discuss. In Slack?


Proper Handling of IA5String in dNSName field

I think we should not process dNSName entries that have characters >= 0x80. Though I don't think this should be a problem because presumably we would never pass unicode names into the verifier only punycode names.

I think this generaly related to #8. I'm thinking about diving into erlang source base one more time. In fact asn1 and public_key apps look promising. I mean erlang already capable to decode certificates and maybe it does all validations already or maybe there can be something like helpers
Take a look here for example: https://github.com/erlang/otp/blob/172e812c491680fbb175f56f7604d4098cdc9de4/lib/asn1/src/asn1ct_imm.erl#L686


Need sample

Hi @stylesuxx , thank you for the awesome generator.
I am having some problems starting a new project. As a start, I'm going to create a button & label control.
Based on button click, I'm going to show/hide label control.
I was able to create actions & reducers but onClick is not triggering actions.

I get this error refresh the page.
Do you mind upload the sample project where actions, reducers & state changes are working?
Thank you

Please take a look at the example branch.
Let me know if that helps.

I am closing this question for lack of activity, feel free to re open.


Feature/3417 drawer subheader playground

Fixes 3417 .

Changes proposed in this Pull Request:

Subheader playground

Screenshots:

To Test:

components/drawer-sub-header/playground

It will merge after https://github.com/brightlayer-ui/react-component-library/pull/492

Hmm... this is a really complicated playground. I encourage you to save the code for the examples page and use only the minimum code for the playground.
Meanwhile, I have created a story (BLUI-3465) to develop a better plan for what to show on the examples page.

I have also noticed a strange scrolling behavior that may be linked to container sizing
https://user-images.githubusercontent.com/8997218/187756070-c5d032e4-d530-41e0-9d83-b1760ed5a4d7.mov

Hmm... this is a really complicated playground. I encourage you to save the code for the examples page and use only the minimum code for the playground. You shall take a look at what happens on the Angular side.
Remember that the goal for the playground should be to focus on what those props can do, not to showcase what kind of customization you can inject, which should be the task of the Examples page.
Meanwhile, I have created a story (BLUI-3465) to develop a better plan for examples on the Examples page. It will be included in the next sprint.

removed filter and accordion thing.

Looks like the preview component height in this PR has some issues for the drawer playground... but not sure

Looks like the preview component height in this PR has some issues for the drawer playground... but not sure

This was from my browser settings being zoomed in at 110% Guess we need to figure out the layout stuff here because I can zoom in to the point the entire top half of the drawer is chopped off. On the Angular playground I can zoom in and the entire drawer is viewable
angular at 125%

react at 125%

I have updated drawer playground to match angular drawer playgrond.
React at 125%

One more item, the divider under the Optional Props section disappears when the Optional section is expanded.

Not sure how detailed we want to get with design right now, but when there's a short view height, you can't view the entire code snippet and the absolutely positioned button appears in a strange place.

https://blui-react-docs--pr493-feature-3417-drawer-kf8cgbif.web.app

I have fixed this https://github.com/brightlayer-ui/react-component-library/pull/493/files#diff-533290a5687754bc4c48d7ba3eec178283950fccf4d641265fb2fe60d5e2d5a9R20. Looks like hosting URL is not updated. Could you please check on local?

Not sure how detailed we want to get with styles right now, but when there's a short view height, you can't view the entire code snippet and the absolutely positioned button appears in a strange place.

@daileytj right now we are mostly focusing on desktop. @huayunh / @emclaug2  any thoughts on this?

One more item, the divider under the Optional Props section disappears when the Other section is expanded.

Not able to reproduce this? Can you try it on local once?

@ektasawant, things look good regarding the previous things I brought up. If you could take a look at the disappearing divider that would be great. The default behavior of the mui accordion is to show a border above when closed (applied via a :before pseudo selector style) and no border when closed. My recommendation would be to remove the default accordion style and add a divider at the bottom of each section to provide the permanent divider style we want.

@ektasawant, things look good regarding the previous things I brought up. If you could take a look at the disappearing divider that would be great. The default behavior of the mui accordion is to show a border above when closed (applied via a :before pseudo selector style) and no border when closed. My recommendation would be to remove the default accordion style and add a divider at the bottom of each section to provide the permanent divider style we want.

My bad I couldn't understand earlier comment :(. I have added permanent divider. Please review.

@ektasawant, things look good regarding the previous things I brought up. If you could take a look at the disappearing divider that would be great. The default behavior of the mui accordion is to show a border above when closed (applied via a :before pseudo selector style) and no border when closed. My recommendation would be to remove the default accordion style and add a divider at the bottom of each section to provide the permanent divider style we want.

My bad I couldn't understand earlier comment :(. I have added permanent divider. Please review.

If there is anything related to styling please ignore. I will fix this in BLUI-3471.


Update defender-for-office-365-whats-new.md

Create simulation functionality in Attack Simulation Training is now supported through Graph API. Made generally available in v1. cc: @chrisda

@denisebmsft the 'Learn more' link is throwing a 404 page not found error. Here is the correct link https://learn.microsoft.com/graph/api/attacksimulationroot-post-simulation?view=graph-rest-1.0&tabs=http


Productionize CDC sources

verify

verify

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

OBSOLETE, replaced by Jet #2142.


Fix update installplan status conflict

Signed-off-by: aiyijing<EMAIL_ADDRESS>
Description of the change:
Fix update installplan status conflict.
Motivation for the change:
Empty installplan will cause the Subscription status to block in UpgradePending
Architectural changes:

Testing remarks:

Reviewer Checklist

[ ] Implementation matches the proposed design, or proposal is updated to match implementation
[ ] Sufficient unit test coverage
[ ] Sufficient end-to-end test coverage
[ ] Bug fixes are accompanied by regression test(s)
[ ] e2e tests and flake fixes are accompanied evidence of flake testing, e.g. executing the test 100(0) times
[ ] tech debt/todo is accompanied by issue link(s) in comments in the surrounding code
[ ] Tests are comprehensible, e.g. Ginkgo DSL is being used appropriately
[ ] Docs updated or added to /doc
[ ] Commit messages sensible and descriptive
[ ] Tests marked as [FLAKE] are truly flaky and have an issue
[ ] Code is properly formatted

Close https://github.com/operator-framework/operator-lifecycle-manager/issues/2795

/assign @exdx

/ok-to-test

The PR looks good but need to correct/investigate the unit test failure.

@aiyijing can you please rebase?

closing PR as stale. Please re-open if it's still important.


Boot messages are lost due to tinyUSB detaches (to write boot log and secrets if required). It would be nice if they were buffered / displayed later

As part of the PR to fix file system corruption when devices brownout, I've decided to split off this piece of work that would buffer log output until usb serial is reattached.
This is a ticket for that work.

Side quest, the SAMD (m4 airlift) seems to be truncating the initial bit of the device info in serial, the firmware version line gets the label merged with Adafruit WipperSnapper line from the parent calling method, and the title ------Device Information--- is lost completely. I tried adding flushing but no difference


HTML+CSS is reusable?

I would love to make a similar timeline for the Drupal project, which will soon have its 20th anniversary. Is it possible to reuse the HTML/CSS for the timeline? I have no ability to design one as pretty as Jetbrains. If not easily reused, maybe Jetbrains can host it and the Drupal community just works on a new php-timeline.json for it?
FYI I'm a long time Drupal contributor and can rally support behind this effort.

Hi @weitzman,
Let me check with the team what is possible here and I'll come back to you soon.
-Roman

Any news here? Jetbrains is a sponsor for the Drupal conferences every year so it makes sense to me that you'd be interested in hosting the timeline. /cc @pronskiy

Hi @weitzman,
You are free to reuse the HTML+CSS.
You can take the HTML/CSS and JSON and implement rendering/generating yourself.
Or we could probably share some generating parts.
As for hosting it, that might require additional maintenance resources from us, so I'm not sure about this.

Or we could probably share some generating parts.

This would be great!


WIP: NATIVE-207: Design feedback modal

This is still WIP, right?

Yep

As this PR already touches > 500 lines of code, I decided to develop the feedback modal for the Search Route in another issue.


test file

For the moment we are using as test case a dataset of GLAD removing the pdfs to make it lighter. @okworx should the importer be able to handle the example of extended format of the "software development kit" ?
https://eplca.jrc.ec.europa.eu/LCDN/developerILCDDataFormat.xhtml

The "extended ILCD format" a.k.a. eILCD is basically simply adding another dataset type "life cycle model dataset" which allows for connecting different process datasets to a product model. My suggestion would be to focus now on the import and proper digestion of process datasets and add support for life cycle models at a later stage.

ok, right now the library can handle the SDK file if I erase the doc, META-INF and schemas.
I'll modify the extract_zip function to look only inside the ILCD folder

another source of examples: https://eplca.jrc.ec.europa.eu/LCDN/contactListEF.xhtml


OOPS src/unify.c 1267

v2.20.8
?- B = a([B]), A = [a([B])], A = [a(A)].
   B = a([B]), A = [a([a([B])])].

?- B = a([B]), A = [a(A)], A = [a([B])].  % A = ... swapped
*** OOPS src/unify.c 1267
   error(representation_error(term),(=)/2).

Swapping around continued
?- A = [a(A)], A = [a([B])], B = a([B]).
   A = [a([a([a(...)])])], B = a([a([a([a(...)])])]).

?- A = [a(A)], B = a([B]), A = [a([B])].
*** OOPS src/unify.c 1267
   error(representation_error(term),(=)/2).

Don't know if the issue is related to #202
?- A=B*A, A=B*B*B.
*** OOPS src/unify.c 1267
   error(representation_error(term),(=)/2).

?- A=B*B*B, A=B*A.
   A = B*B*(B*B)*(B*B), B = A. % expected?

v2.20.10
Nothing has changed.
?- B = a([B]), A = [a(A)], A = [a([B])].
*** OOPS src/unify.c 1262
   error(representation_error(term),(=)/2).

?- A = [a(A)], B = a([B]), A = [a([B])].
*** OOPS src/unify.c 1262
   error(representation_error(term),(=)/2).

Sorry I had to revert the fix for that.
On Sun, 25 June 2023, 21:48 flexoron, @.***> wrote:

v2.20.10
Nothing has changed.
?- B = a([B]), A = [a(A)], A = [a([B])].
*** OOPS src/unify.c 1262
error(representation_error(term),(=)/2).
?- A = [a(A)], B = a([B]), A = [a([B])].
*** OOPS src/unify.c 1262
error(representation_error(term),(=)/2).
—
Reply to this email directly, view it on GitHub
https://github.com/trealla-prolog/trealla/issues/203#issuecomment-1606053673,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFNKSET5GXUFEK2VWX232A3XNAQPPANCNFSM6AAAAAAZSXGMEA
.
You are receiving this because you commented.Message ID:
@.***>

OOPS fixed, output same.
On Sun, Jun 25, 2023 at 9:45 AM flexoron @.***> wrote:

Don't know if the issue is related to #202
https://github.com/trealla-prolog/trealla/issues/202
?- A=BA, A=BB*B.
*** OOPS src/unify.c 1267
error(representation_error(term),(=)/2).
?- A=BBB, A=BA.
A = BB*(BB)(B*B), B = A. % expected?
—
Reply to this email directly, view it on GitHub
https://github.com/trealla-prolog/trealla/issues/203#issuecomment-1605778536,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFNKSERFLUND34NOKWAE3ETXM532LANCNFSM6AAAAAAZSXGMEA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Fixed with v2.20.13. Many thanks!
?- B = a([B]), A = [a([B])], A = [a(A)], A=[B].
   B = a([B]), A = [a([a([B])])].

?- B = a([B]), A = [a(A)], A = [a([B])], A=[B].
   B = a([B]), A = [a([a([a(...)])])].

?- A = [a(A)], A = [a([B])], B = a([B]), A=[B].
   A = [a([a([a(...)])])], B = a([a([a([a(...)])])]).

?- A = [a(A)], B = a([B]), A = [a([B])], A=[B].
   A = [a([a([a(...)])])], B = a([B]).


Upgrade to LLVM 6.0

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

Thanks for doing all of these @inducer.
Would you have time to update openmp as well? If not, that's ok. Just thought I would ask. :)

I can do the version bump, but if it doesn't build for some reason, I'll have to punt.

Sure, that seems perfectly reasonable. Thanks. :)

@conda-forge-admin please rerender

The build fails with:
-- The CXX compiler identification is Clang 6.0.0
CMake Error at C:/bld/libcxx_1520729482931/_b_env/Library/share/cmake-3.10/Modules/CMakeDetermineCompilerId.cmake:771 (message):
  The Clang compiler tool
    "C:/bld/libcxx_1520729482931/_b_env/Library/bin/clang-cl.exe"
  targets the MSVC ABI but has a GNU-like command-line interface.  This is
  not supported.  Use 'clang-cl' instead, e.g.  by setting 'CXX=clang-cl' in
  the environment.

Which I read as "clang-cl won't work, use clang-cl instead". As a result,
I'm a little lost for what to do.

See the commit message of https://github.com/Kitware/CMake/commit/f969f1a9ce1d0045b9d056fd08c4683c34c420fa.
I've sent a PR to upgrade cmake to 3.10.2 which includes that commit.
We can try cmake 3.9 which doesn't have this bug, but not sure whether what CMake will do siently.

Thanks for the tip. I've pushed a commit to prevent CMake 3.10 for now.


Prelude does not export BlobSize

Description
I updated some code from 0.10.3 to 0.11.1. The generated entities now have a column type with BlobSize set, but the prelude doesn't contain that export so it causes a compilation error.
Steps to Reproduce

Create Postgres table with a blob
Run the CLI to generate entities

Expected Behavior
Prelude should export the BlobSize or the CLI should generate the proper import for it.
Actual Behavior
BlobSize is missing
Reproduces How Often
Always
Workarounds
You import it manually, but it's not ideal since it gets overridden on the next generation
Versions
├── sea-orm v0.11.1
│   ├── sea-orm-macros v0.11.1 (proc-macro)
│   ├── sea-query v0.28.3
│   │   ├── sea-query-derive v0.3.0 (proc-macro)
│   ├── sea-query-binder v0.3.0
│   │   ├── sea-query v0.28.3 (*)
│   ├── sea-strum v0.23.0
│   │   └── sea-strum_macros v0.23.0 (proc-macro)
├── sea-query v0.28.3 (*)
├── sea-orm v0.11.1 (*)

Hey @Sytten, welcome back! Just open a PR to address this issue

Thanks! Love you guys so much. Didnt have time to contribute much (probably not much until april), but getting back into it.

Has been fixed on 0.11.2


package.json's "main" points to a missing file

In both master and the latest that I pulled from npm (3.0.5), the value of "main" in package.json points to a file that is no longer included:
 "main": "./builds/nlp_compromise.es5.js",

ahhh! thanks!

Thank you for the library :)


Add an option to disable default HTML attributes for images

In reference to my comment in #192 it would be great to have a config option to disable all the automatic HTML attributes (width, height and alt) for images, so that:
{% image src %} and {{ src | image }
would produce a plain:
<img src="file.jpg">
Thanks.

Great, thanks a lot!

I've just tested the new features and they work perfectly, but there is a typo in the documentation:
features:
  automatic_image_size: true | false | default: true
  automatic_image_alt : true | false | default: true

should be:
features:
  automatic_img_size: true | false | default: true
  automatic_img_alt : true | false | default: true


Unable to access storage account using Azure Storage Explorer

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.28.0
Regression From
No response
Architecture
x64
Storage Explorer Build Number
20230214.5
Platform
Windows
OS Version
Windows Server 2022
Bug Description
This request is not authorized to perform this operation.
This storage account's 'Firewalls & virtual networks' settings may be blocking access to storage services. Try adding your client IP address to the firewall exceptions, or by allowing access from 'all networks' instead of 'selected networks'. To learn more about Azure Storage firewalls and virtual networks, visit http://go.microsoft.com/fwlink/?LinkId=845443.
Error Details:
{
"name": "RestError",
"code": "AuthorizationFailure",
"statusCode": 403,
"request": {
"streamResponseStatusCodes": {},
"url": "https://bulkattachment.blob.core.windows.net/?sv=2021-06-08&ss=bfqt&srt=sco&sp=rwdlacupyx&se=2023-02-21T00:14:54Z&st=2023-02-20T16:14:54Z&spr=https&SAS Token Redacted&comp=list&include=metadata",
"method": "GET",
"headers": {
"_headersMap": {
"x-ms-version": {
"name": "x-ms-version",
"value": "2021-10-04"
},
"accept": {
"name": "Accept",
"value": "application/xml"
},
"user-agent": {
"name": "User-Agent",
"value": "Microsoft Azure Storage Explorer/1.28.0 (win32) azsdk-js-storageblob/12.12.0 (NODE-VERSION v16.17.1; Windows_NT 10.0.20348)"
},
"x-ms-client-request-id": {
"name": "x-ms-client-request-id",
"value": "f762b081-4555-4f84-9297-820b0b5568fd"
},
"cookie": {
"name": "Cookie",
"value": ""
}
}
},
"withCredentials": false,
"timeout": 0,
"keepAlive": true,
"decompressResponse": false,
"requestId": "f762b081-4555-4f84-9297-820b0b5568fd"
},
"response": {
"headers": {
"_headersMap": {
"content-length": {
"name": "content-length",
"value": "246"
},
"content-type": {
"name": "content-type",
"value": "application/xml"
},
"date": {
"name": "date",
"value": "Mon, 20 Feb 2023 16:19:48 GMT"
},
"server": {
"name": "server",
"value": "Microsoft-HTTPAPI/2.0"
},
"x-ms-client-request-id": {
"name": "x-ms-client-request-id",
"value": "f762b081-4555-4f84-9297-820b0b5568fd"
},
"x-ms-error-code": {
"name": "x-ms-error-code",
"value": "AuthorizationFailure"
},
"x-ms-request-id": {
"name": "x-ms-request-id",
"value": "10dcf698-601e-004f-5647-45e0f6000000"
}
}
},
"request": {
"streamResponseStatusCodes": {},
"url": "https://bulkattachment.blob.core.windows.net/?sv=2021-06-08&ss=bfqt&srt=sco&sp=rwdlacupyx&se=2023-02-21T00:14:54Z&st=2023-02-20T16:14:54Z&spr=https&SAS Token Redacted&comp=list&include=metadata",
"method": "GET",
"headers": {
"_headersMap": {
"x-ms-version": {
"name": "x-ms-version",
"value": "2021-10-04"
},
"accept": {
"name": "Accept",
"value": "application/xml"
},
"user-agent": {
"name": "User-Agent",
"value": "Microsoft Azure Storage Explorer/1.28.0 (win32) azsdk-js-storageblob/12.12.0 (NODE-VERSION v16.17.1; Windows_NT 10.0.20348)"
},
"x-ms-client-request-id": {
"name": "x-ms-client-request-id",
"value": "f762b081-4555-4f84-9297-820b0b5568fd"
},
"cookie": {
"name": "Cookie",
"value": ""
}
}
},
"withCredentials": false,
"timeout": 0,
"keepAlive": true,
"decompressResponse": false,
"requestId": "f762b081-4555-4f84-9297-820b0b5568fd"
},
"status": 403,
"bodyAsText": "AuthorizationFailureThis request is not authorized to perform this operation.\nRequestId:10dcf698-601e-004f-5647-45e0f6000000\nTime:2023-02-20T16:19:48.7404842Z",
"parsedBody": {
"message": "This request is not authorized to perform this operation.\nRequestId:10dcf698-601e-004f-5647-45e0f6000000\nTime:2023-02-20T16:19:48.7404842Z",
"code": "AuthorizationFailure"
},
"parsedHeaders": {
"errorCode": "AuthorizationFailure",
"content-length": "246",
"content-type": "application/xml",
"date": "Mon, 20 Feb 2023 16:19:48 GMT",
"server": "Microsoft-HTTPAPI/2.0",
"x-ms-client-request-id": "f762b081-4555-4f84-9297-820b0b5568fd",
"x-ms-request-id": "10dcf698-601e-004f-5647-45e0f6000000"
}
},
"details": {
"errorCode": "AuthorizationFailure",
"content-length": "246",
"content-type": "application/xml",
"date": "Mon, 20 Feb 2023 16:19:48 GMT",
"server": "Microsoft-HTTPAPI/2.0",
"x-ms-client-request-id": "f762b081-4555-4f84-9297-820b0b5568fd",
"x-ms-request-id": "10dcf698-601e-004f-5647-45e0f6000000",
"message": "This request is not authorized to perform this operation.\nRequestId:10dcf698-601e-004f-5647-45e0f6000000\nTime:2023-02-20T16:19:48.7404842Z",
"code": "AuthorizationFailure"
}
}
Steps to Reproduce

Launch Storage Explorer
Add the Storage account
Paste the SAS URL
Containers are not getting listed, but the attached error is shown.

Actual Experience
We tried to access a storage account from Azure Storage Explorer using the generated SAS URL of an another subscription on a Windows Server 2022 VM with SQL Server 2019 running on Disk Encryption Sets using CMK.
Expected Experience
No response
Additional Context
No response

Have you checked your storage account's 'Firewalls & virtual networks' settings as suggested by the error details?

Closing due to lack of response. If you are still encountering this issue we recommend opening an Azure support ticket from the Azure Portal. Alternatively you can open a new issue here.


DeepSpeed: Error invalid configuration argument at line 216 in file /<snip>/bitsandbytes/csrc/ops.cu

Please check that this issue hasn't been reported before.

[X] I searched previous Bug Reports didn't find any similar reports.

Expected Behavior
A full finetune job can use both DeepSpeed and a BNB optimizer such as adamw_bnb_8bit
Current behaviour
Job fails with:
(XXXX, pid=118995) Error invalid configuration argument at line 216 in file /mmfs1/gscratch/zlab/timdettmers/git/bitsandbytes/csrc/ops.cu
(XXXX, pid=118995) [2024-02-01 19:59:29,059] torch.distributed.elastic.multiprocessing.api: [ERROR] failed (exitcode: 1) local_rank: 0 (pid: 76) of binary: /root/miniconda3/envs/py3.10/bin/python3
(XXXX, pid=118995) Traceback (most recent call last):
(XXXX, pid=118995)   File "/root/miniconda3/envs/py3.10/bin/accelerate", line 8, in <module>

Steps to reproduce
Container published today (have tried with several published over the last few weeks, both cu121 and cu118):
winglian/axolotl:main-py3.10-cu121-2.1.2@sha256:ec8c30be1c29b11188f0b52df12125d60f511e5d7ef487796974f8fd6d37b8f0
Machine: 2x A100 80GB
Base Model: mistralai/Mistral-7B-v0.1
Configure axolotl job to use a quantized optimizer: adamw_bnb_8bit
Using Deepspeed zero1.json from this repo.

[X] Linux
[ ] macOS
[ ] Windows

Python Version
3.10
axolotl branch-commit
main <- whatever was used to generate the referenced container
Acknowledgements

[X] My issue title is concise, descriptive, and in title casing.
[X] I have searched the existing issues to make sure this bug has not been reported yet.
[X] I am using the latest version of axolotl.
[X] I have provided enough information for the maintainers to reproduce and diagnose the issue.

Did you try upgrading or downgrading bitsandbytes?
On Thu, Feb 1, 2024 at 3:11 PM Daniel Chalef @.***>
wrote:

Please check that this issue hasn't been reported before.

I searched previous Bug Reports
https://github.com/OpenAccess-AI-Collective/axolotl/labels/bug
didn't find any similar reports.

Expected Behavior
A full finetune job can use both DeepSpeed and a BNB optimizer such as
adamw_bnb_8bit
Current behaviour
Job fails with:
(XXXX, pid=118995) Error invalid configuration argument at line 216 in file /mmfs1/gscratch/zlab/timdettmers/git/bitsandbytes/csrc/ops.cu
(XXXX, pid=118995) [2024-02-01 19:59:29,059] torch.distributed.elastic.multiprocessing.api: [ERROR] failed (exitcode: 1) local_rank: 0 (pid: 76) of binary: /root/miniconda3/envs/py3.10/bin/python3
(XXXX, pid=118995) Traceback (most recent call last):
(XXXX, pid=118995)   File "/root/miniconda3/envs/py3.10/bin/accelerate", line 8, in ```
Steps to reproduce
Container published today (have tried with several published over the last few weeks, both cu121 and cu118): @.***:ec8c30be1c29b11188f0b52df12125d60f511e5d7ef487796974f8fd6d37b8f0`
Machine: 2x A100 80GB
Base Model: mistralai/Mistral-7B-v0.1
Configure axolotl job to use a quantized optimizer: adamw_bnb_8bit
Using Deepspeed zero1.json from this repo.
Execute job:
sudo docker run --gpus all
-v ~/XXXX:/XXXXX
-v /root/.cache:/root/.cache
winglian/axolotl:main-py3.10-cu121-2.1.2
accelerate launch -m axolotl.cli.train /XXXX/XXXXXX.yml```
Config yaml
base_model: mistralai/Mistral-7B-v0.1
model_type: MistralForCausalLM
tokenizer_type: LlamaTokenizer
is_mistral_derived_model: true
load_in_8bit: false
load_in_4bit: false
strict: false
datasets:

path: /XXXXXX/train.jsonl
type: alpaca

dataset_prepared_path:
val_set_size: 0.05
output_dir: /XXXXX/models/
hub_model_id: XXXXXX
hub_strategy: end
hf_use_auth_token: true
sequence_len: 1024
sample_packing: true
pad_to_sequence_len: true
eval_sample_packing: false
wandb_project: XXXXXXX
wandb_entity:
wandb_watch:
wandb_name:
wandb_log_model:
gradient_accumulation_steps: 4
micro_batch_size: 8
num_epochs: 4
optimizer: adamw_bnb_8bit
lr_scheduler: cosine
learning_rate: 0.000005
train_on_inputs: false
group_by_length: false
bf16: true
fp16: false
tf32: false
gradient_checkpointing: true
early_stopping_patience:
resume_from_checkpoint:
local_rank:
logging_steps: 1
xformers_attention:
flash_attention: true
warmup_steps: 10
evals_per_epoch: 4
eval_table_size:
eval_table_max_new_tokens: 128
saves_per_epoch: 1
debug:
deepspeed: /XXXXXX/zero1.json
weight_decay: 0.0
fsdp:
fsdp_config:
special_tokens:
bos_token: ""
eos_token: ""
unk_token: ""
Possible solution
No response
Which Operating Systems are you using?

Linux
macOS
Windows

Python Version
3.10
axolotl branch-commit
main <- whatever was used to generate the referenced container
Acknowledgements

My issue title is concise, descriptive, and in title casing.
I have searched the existing issues to make sure this bug has not
been reported yet.
I am using the latest version of axolotl.
I have provided enough information for the maintainers to reproduce
and diagnose the issue.

—
Reply to this email directly, view it on GitHub
https://github.com/OpenAccess-AI-Collective/axolotl/issues/1244, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAC5CSQCINH76WUC6Q6EWH3YRPZFLAVCNFSM6AAAAABCVQWHD6VHI2DSMVQWIX3LMV43ASLTON2WKOZSGEYTGMZYGI2DCMQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

@winglian Yes, I've tried bitsandbytes versions:

main/3ba076d3fb3f1590a049f5715c446514cff3a8c0
0.42.0
0.41.0
and whatever version were used in recent builds of winglian/axolotl:main-py3.10-*

same issue here.
Error invalid configuration argument at line 216 in file /mmfs1/gscratch/zlab/timdettmers/git/bitsandbytes/csrc/ops.cu

got a similar issue while doing full-finetuning with deepspeed
Error invalid configuration argument at line 117 in file /mmfs1/gscratch/zlab/timdettmers/git/bitsandbytes/csrc/ops.cu

Same issue as well with a 7b model:
base_model: <snip>-7b
model_type: LlamaForCausalLM
tokenizer_type: LlamaTokenizer
is_llama_derived_model: true

datasets:
  <snip>

val_set_size: 0.05
output_dir: ./out
dataset_prepared_path: last_run_prepared

load_in_8bit: false
load_in_4bit: false
strict: false

sequence_len: 4096
sample_packing: true
pad_to_sequence_len: true

adapter:
lora_model_dir:
lora_r:
lora_alpha:
lora_dropout:
lora_target_linear:
lora_fan_in_fan_out:

wandb_project:
wandb_entity:
wandb_watch:
wandb_name:
wandb_log_model:

gradient_accumulation_steps: 1
micro_batch_size: 1
num_epochs: 10
optimizer: adamw_bnb_8bit
lr_scheduler: cosine
learning_rate: 0.0002

train_on_inputs: false
group_by_length: false
bf16: auto
fp16:
tf32: false

gradient_checkpointing: true
early_stopping_patience:
resume_from_checkpoint:
local_rank:
logging_steps: 1
xformers_attention:
flash_attention: true
flash_attn_cross_entropy: false
flash_attn_rms_norm: true
flash_attn_fuse_qkv: false
flash_attn_fuse_mlp: true

warmup_steps: 100
evals_per_epoch: 4
eval_table_size:
saves_per_epoch: 1
debug:
deepspeed: zero3.json
weight_decay: 0.1
fsdp:
fsdp_config:
special_tokens:

Deepspeed:
{
  "zero_optimization": {
    "stage": 3,
    "overlap_comm": true,
    "contiguous_gradients": true,
    "sub_group_size": 0,
    "reduce_bucket_size": "auto",
    "stage3_prefetch_bucket_size": "auto",
    "stage3_param_persistence_threshold": "auto",
    "stage3_max_live_parameters": 0,
    "stage3_max_reuse_distance": 0,
    "stage3_gather_16bit_weights_on_model_save": true
  },
  "bf16": {
    "enabled": true
  },
  "fp16": {
    "enabled": false,
    "auto_cast": false,
    "loss_scale": 0,
    "initial_scale_power": 32,
    "loss_scale_window": 1000,
    "hysteresis": 2,
    "min_loss_scale": 1
  },
  "gradient_accumulation_steps": "auto",
  "train_batch_size": "auto",
  "train_micro_batch_size_per_gpu": "auto",
  "wall_clock_breakdown": false
}

Happens with a bitsandbytes source build as well at hash 136721a8c1437042f0491972ddc5f35695e5e9b2

same issue here.
Error invalid configuration argument at line 216 in file /mmfs1/gscratch/zlab/timdettmers/git/bitsandbytes/csrc/ops.cu

same error, have you fix it?

same issue in A800: Error invalid configuration argument at line 216 in file /mmfs1/gscratch/zlab/timdettmers/git/bitsandbytes/csrc/ops.cu


Support for fabric 1.19.3?

Just tried loading on server Fabric 1.19.3, crash on load.
2023-03-19-3.log

im blind sorry downloaded the wrong version, delete issue


Fix incorrect temp path on Windows.

When using the XML import on the Options, Domain or Questions management pages, RDMO uploads the XML file to /tmp/upload_[...]. This fails on Windows and probably some other systems, too. Python will select a suitable temp directory by using tempfile.gettempdir() (https://docs.python.org/3/library/tempfile.html#tempfile.gettempdir). This fixed enabled XML uploads on my Windows machine.

Coverage increased (+0.002%) to 89.836% when pulling eba2056b376107e817a4080fc12245095a907429 on ItsNotYou:master into 30964faa1b33513c064e3baf24a3487edebee184 on rdmorganiser:master.

Thanks for the fix. We missed this. No Windows users 'round here.

Hmm, I think the / will also be problematic. We should use Path() from pathlib.

You are right. I changed it to be using path.join(). Fixed here: 6c9b8406185933c4b9e169fa8813c86e9276a6f2


Add functionality along the lines of "blackbox_encrypt_all_files"

Please consider adding functionality along the lines of "blackbox_encrypt_all_files". We currently have:

"blackbox_update_all_files" which decrypts and re-encrypts all files while overwriting any local changes previously decrypted files.
"blackbox_shreds_all_files" which securely deletes decrypted files.

However, there seems to be no function that would allow to encrypt all "blackboxed" files in the repository en masse. I understand that this is only a convenience functionality, as one can simply call blackbox_edit_end for each file before commiting. It would however great simply the workflow.

To do this right, we really need a script that runs "blackbox_edit_end" on anything that was decrypted AND has been changed.  We don't want to encrypt something that wasn't changed (that just makes the git repo bigger).

Yes, you are of course right. Can we somehow track changes on decrypted files?

There are a few ways to implement this

When the file is decrypted, generate a hash of the file and use that for comparison.
Watch the timestamp of the file to see if it changed.
Decrypt to a temporary file and see if anything has changed.
There are probably other ways too.  git-crypt does a better job of this and someone could investigate how they do it.

However, the point of encrypting a file is often to incorporate new keys. It is a lot more difficult to detect if that is the situation. Therefore, I wouldn't add this logic to blackbox_edit_end, but just to a (new) script such as blackbox_encrypt_all_files.
All of these would be acceptable to me.

Decrypt to a temporary file and see if anything has changed.

This works for me.  I'd love to run blackbox_post_deploy, edit any secret I want, and then re-encrypt everything.  blackbox_edit_* is extremely tedious and error prone when you have lots of secrets.
Even without this, I'd love it if blackbox_post_deploy at least gave a warning when decrypting if a copy of the decrypted file already exists on disk.

One possible workaround for this is:
blackbox_list_files  | xargs -n 1 blackbox_edit_end
Not ideal as it will reencrypt files that haven't changed but if you're touching most of the files, maybe it's worth it.

NOTES.txt

why-is-this-important.md


Allow all lossless image formats to be used for VRS texture project setting

WebP can also be lossy, but the class reference now warns about the requirement to use a lossless format for the VRS texture to work correctly.
Viewport's vrs_texture property already allows any image format to be used, as it requests a Texture2D resource type instead of a file path. Project settings only store a file path though, not the actual resource file.

Thanks!


[T3A4][T11-A2]Sun Mingyang

@nightism Some comments added. Please close the PR after reading comments.


Tab navigation events should pass the tab name property instead of title

Hi,
I'm trying to use the OnShown() event on the Tabs component but the event arguments are providing the tab's Title property instead of the tab's Name property.
The two problems with the title are :

The event TabsEventArgs properties are null if you use a TitleTemplate sub-component.
The Title property is usually localized to the user's language so trying to perform logic on the value may not work.

You have a Name property on each Tab which you do use when calling the ShowTabByNameAsync() method to identify them in code. This should also be the names passed to the event arguments in TabsEventArgs.
I'm not sure if changing this will break other people's code, so maybe adding new ActiveTabName and PreviousActiveTabName properties could be added to the TabsEventArgs class.
Thanks!

@tjdennis Thank you for your valuable feedback. We will incorporate it in the upcoming release.


'DISABLE_EXTRACTION' is not recognized as an internal or external command

Current Behavior
I was following the instructions in the Vite Guide, https://tamagui.dev/docs/guides/vite
After the installation, when I run yarn web, I get the below error -

yarn run v1.22.22
$ yarn dev
$ yarn dev:webpack
$ DISABLE_EXTRACTION=true NODE_ENV=development webpack serve
'DISABLE_EXTRACTION' is not recognized as an internal or external command,
operable program or batch file.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Expected Behavior
No response
Tamagui Version
1.91.3

"dependencies": {
    "@tamagui/animations-css": "^1.91.3",
    "@tamagui/core": "^1.91.3",
    "@tamagui/create-theme": "^1.91.3",
    "@tamagui/react-native-svg": "^1.91.3",
    "react": "^18.2.0",
    "react-dom": "^18.2.0",
    "react-native-web": "~0.19.9",
    "tamagui": "^1.91.3"
  },

Platform (Web, iOS, Android)
I'm trying for Web

Reproduction
1) Ran 'npm create tamagui@latest'
2) Entered app name as 'tamaguitest'
3) Selected 'Learn - Vite + Webpack ...' option
4) After installation, cd into the folder, tamaguitest and run 'yarn web' to see the error -
yarn run v1.22.22
$ yarn dev
$ yarn dev:webpack
$ DISABLE_EXTRACTION=true NODE_ENV=development webpack serve
'DISABLE_EXTRACTION' is not recognized as an internal or external command,
operable program or batch file.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

System Info
System:
    OS: Windows 10 10.0.19045
    CPU: (8) x64 11th Gen Intel(R) Core(TM) i5-1145G7 @ 2.60GHz
    Memory: 1.36 GB / 15.39 GB
  Binaries:
    Node: 20.11.0 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.22.22 - ~\AppData\Roaming\npm\yarn.CMD
    npm: 10.5.0 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Edge: Chromium (122.0.2365.80)
    Internet Explorer: 11.0.19041.3636
  npmPackages:
    @pmmmwh/react-refresh-webpack-plugin: ^0.5.11 => 0.5.11
    @tamagui/animations-css: ^1.91.3 => 1.91.3
    @tamagui/core: ^1.91.3 => 1.91.3
    @tamagui/create-theme: ^1.91.3 => 1.91.3
    @tamagui/react-native-svg: ^1.91.3 => 1.91.3
    @tamagui/vite-plugin: ^1.91.3 => 1.91.3
    @vitejs/plugin-react-swc: ^3.6.0 => 3.6.0
    async-retry: 1.3.1 => 1.3.1
    babel-polyfill: ^6.26.0 => 6.26.0
    css-loader: ^5.2.4 => 5.2.7
    esbuild-loader: ^4.0.2 => 4.1.0
    esbuild-register: ^3.4.2 => 3.5.0
    file-loader: ^6.2.0 => 6.2.0
    html-webpack-plugin: ^5.5.0 => 5.6.0
    mini-css-extract-plugin: ^2.7.2 => 2.8.1
    react: ^18.2.0 => 18.2.0
    react-dom: ^18.2.0 => 18.2.0
    react-native-web: ~0.19.9 => 0.19.10
    react-refresh: ^0.14.0 => 0.14.0
    style-loader: ^3.3.1 => 3.3.4
    tamagui: ^1.91.3 => 1.91.3
    tamagui-loader: ^1.91.3 => 1.91.3
    thread-loader: ^3.0.4 => 3.0.4
    url-loader: ^4.1.1 => 4.1.1
    vite: ^5.0.2 => 5.1.6
    webpack: ^5.74.0 => 5.90.3
    webpack-bundle-analyzer: ^4.5.0 => 4.10.1
    webpack-cli: ^4.9.2 => 4.10.0
    webpack-dev-server: ^4.8.1 => 4.15.1

for Windows try this
npx cross-env DISABLE_EXTRACTION=true NODE_ENV=development webpack serve


Python API instructions for M1 build

The installation instructions for the M1 build need to specify that we use channel/osx-arm64, not channel/osx-64.
Just noting this for later because my development machine is in an infinite reboot loop and I'm waiting on support :\

conda handles which channel to download from automatically, so as long as we have an M1 installer on anaconda.org, we do not need to document with special instructions.


Test sorting filter

Fixed different APIs for dev/test and prod.
Show tiles and change opacity in layer details.

Note: sorting and filtering is already tested in unit tests, no need to add them to Cypress too.

Test den: https://okologiskegrunnkart.test.artsdatabanken.no/pr/439

Test den: https://okologiskegrunnkart.test.artsdatabanken.no/pr/439


Increase Proxy Verifier caching delay.

Increasing the Proxy Verifier caching delay from 50ms to 100ms to
accommodate slow IO situations.

This should merge cleanly to our various 9.x branches and can save headaches if we do.

Cherry-picked to v9.0.x branch.
Cherry-picked to v9.1.x branch.


GO:0007093    mitotic cell cycle checkpoint

This term should be "do not annotate"
GO:0007093    mitotic cell cycle checkpoint
because it should always be possible to be more specific....(i.e which checkpoint?)

and GO:0000075  cell cycle checkpoint
should be do not annotate


log metrics felix_log_errors maybe error count

rate(felix_log_errors) > 0  always , but we can not find any error about it ....

we should see source code !
https://github.com/projectcalico/calico/blob/master/libcalico-go/lib/logutils/logutils.go#L496
func (h *BackgroundHook) Fire(entry *log.Entry) (err error) {

        ........

	for _, dest := range h.destinations {
		if ql.Level > dest.Level {
			continue
		}
		if waitGroup != nil {
			// Thread safety: we must call add before we send the wait group over the
			// channel (or the background thread could be scheduled immediately and
			// call Done() before we call Add()).  Since we don't know if the send
			// will succeed that leads to the need to call Done() on the 'default:'
			// branch below to correctly pair Add()/Done() calls.
			waitGroup.Add(1)
		}

		if ok := dest.Send(ql); !ok {
			// Background thread isn't keeping up.  Drop the log and count how many
			// we've dropped.
			if waitGroup != nil {
				waitGroup.Done()
			}

			// #######################################################
			// ###  here  dest.counter == felix_log_errors
			// ###  it maybe h.counter == felix_logs_dropped like annotation said distribute log error not I/O writer error

			// Increment the number of dropped logs
			dest.counter.Inc()
		}
	}
        ........
}

Steps to Reproduce (for bugs)

it is difficult to reproduce,  I meet onlyone  thousand of instance ....

maybe IOLoopWrite grotinue have block case ....

Your Environment

Calico version  3.21
Orchestrator version (e.g. kubernetes, mesos, rkt):  kubernetes
Operating System and version:  Linux 4.19

@gaopeiliang I'm sorry but I don't understand the issue you're facing. Could you share some more details please?

@gaopeiliang I'm sorry but I don't understand the issue you're facing. Could you share some more details please?

just code maybe mistake ....
send to different log writer error, should add metrics felix_logs_dropped , not felix_log_errors

@gaopeiliang unfortunately it's hard for me to follow the issue, and understand it. Please follow the template, and be more clear about what you are stating.


The methods in arrProxy did not return, such as sort, which resulted in an undefined being returned

https://github.com/nuejs/nue/blob/638c181a160f1cde4ad4cce82f50666fc1fc71ad/packages/nuejs/src/browser/for.js#L49-L93

What does the source code of the component look like?

app.nue
<div @name="app">
    <div :for="item in list" @click="handleClick">
        {item}
    </div>

    <script>
        list = [1, 3, 2];
        handleClick() {
            console.log('right => ', [...this.list].sort((a, b) => a - b));
            console.log('wrong =>', this.list.sort((a, b) => a - b));
        }
    </script>
</div>

click number，console output：

By Afterwards, using native methods is correct, but using proxy methods returns undefined.

Nice. This helps! Note that I added a low priority tag here, since the single-page application stuff comes later on my personal todo list. I'm following this roadmap. Thanks


cmd/govim: work out how to use previewpopup for completions

As of https://github.com/vim/vim/commit/7964873afe59d0896a921b7c585167674bb784d5, Vim can now use a preview popup to show information at complete time (assuming completeopt includes preview).
Investigate whether/how we should best leverage this, by perhaps putting docs in the preview popup?

Setting completeopt+=popup works, but per https://groups.google.com/d/msg/vim_dev/ur3SH_y1bN8/sZg4ISTBAgAJ we're just waiting on a way to align the extra info popup with the completion menu.

Actually it transpires we do now have everything we need:
set completeopt+=popup
set completepopup=align:menu,border:off " or some variation thereof

The align:menu capability appeared to land in v8.1.1904.

Currently blocked on https://github.com/vim/vim/issues/4907