Docker Swarm or Kubernetes or both?

Should we rely on Docker Swarm or Kubernetes for container orchestration.
Also see #3
A showcase of both would be good. We could use https://github.com/prooph/micro-do as example project and see how it would be effected by using Swarm or Kubernetes.
Also we should compare integration possibilities with prooph/micro-cli

service set up
service registration
orchestration
...

@bweston92 can you take over the Kubernetes showcase?
@sandrokeil same question but for Docker Swarm?
Let me know what you need to get started.
Fight! :D

On Fri, 17 Feb 2017 at 17:17, Alexander Miertsch<EMAIL_ADDRESS>wrote:

@bweston92 https://github.com/bweston92 can you take over the
Kubernetes showcase?
@sandrokeil https://github.com/sandrokeil same question but for Docker
Swarm?
Let me know what you need to get started.
Fight! :D
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/prooph/micro-cli/issues/4#issuecomment-280710758, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABrq2bIICJkuQTll0ZB2T_QYistQJPOQks5rddYegaJpZM4MEhcD
.

Kubernetes is the biggest project on GitHub, support more container engines
then just Docker need I say more.

With Docker Swarm you can use the same docker commands like you already know. It is easier to learn for new developers/DevOps and that is still a good argument for Docker Swarm I think.
Anyway, a small showcase would be great. I need something to play with. I'm familiar with docker and docker-compose for development environments and we run Docker on AWS in production but neither Docker Swarm nor Kubernetes
I really enjoy working with docker-compose. How is that different when working with Kubernetes @bweston92 ?

Kubernetes is difficult to get started with normally. On your local machine
I recommend using minikube which will provision it for you.
On Fri, 17 Feb 2017 at 18:20, Alexander Miertsch<EMAIL_ADDRESS>wrote:

With Docker Swarm you can use the same docker commands like you already
know. It is easier to learn for new developers/DevOps and that is still a
good argument for Docker Swarm I think.
Anyway, a small showcase would be great. I need something to play with.
I'm familiar with docker and docker-compose for development environments
and we run Docker on AWS in production but neither Docker Swarm nor
Kubernetes
I really enjoy working with docker-compose. How is that different when
working with Kubernetes @bweston92 https://github.com/bweston92 ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/prooph/micro-cli/issues/4#issuecomment-280726777, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABrq2TkWlcBFPDa_6F8dyFHEUGhfMzSoks5rdeTrgaJpZM4MEhcD
.

Also I don't know how Docker swarm does it's bin packing. But kubernetes is
good and when using GKE it will even tell you you can spend less.
On Fri, 17 Feb 2017 at 18:23, Bradley Weston<EMAIL_ADDRESS>wrote:

Kubernetes is difficult to get started with normally. On your local
machine I recommend using minikube which will provision it for you.
On Fri, 17 Feb 2017 at 18:20, Alexander Miertsch<EMAIL_ADDRESS>wrote:
With Docker Swarm you can use the same docker commands like you already
know. It is easier to learn for new developers/DevOps and that is still a
good argument for Docker Swarm I think.
Anyway, a small showcase would be great. I need something to play with.
I'm familiar with docker and docker-compose for development environments
and we run Docker on AWS in production but neither Docker Swarm nor
Kubernetes
I really enjoy working with docker-compose. How is that different when
working with Kubernetes @bweston92 https://github.com/bweston92 ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/prooph/micro-cli/issues/4#issuecomment-280726777, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABrq2TkWlcBFPDa_6F8dyFHEUGhfMzSoks5rdeTrgaJpZM4MEhcD
.

Kubernetes is difficult to get started with normally. On your local machine
damn, that is a problem. Docker (Swarm) also makes trouble at least on OSX and M$ but sounds like Kubernetes is even more difficult. We need to take that into account, because we want to provide an easy way to get started with prooph/micro and the overall concept.

Not sure if we can provide a production-ready and secure set up, that is also easy to use for new devs.
Let's take mongoDB as an example. When you want to try mongo you install it and just use it. No auth, no schema creation, just install it and play with it. But of course, before you use it in production, you need to set up auth, mongo cluster/Replicatset and backup.
I'd like to have a similar thing for prooph/micro:

Install it
run it with a few commands
get used to it
take the next steps to put it to production

Minikube is easy. Plus kubernetes has a nice dashboard you can validate and
see all logging etc in. I'm not aware of the tooling around Docker swarm
but kubernetes is minted.
On Fri, 17 Feb 2017 at 18:35, Alexander Miertsch<EMAIL_ADDRESS>wrote:

Kubernetes is difficult to get started with normally. On your local machine
damn, that is a problem. Docker (Swarm) also makes trouble at least on OSX
and M$ but sounds like Kubernetes is even more difficult. We need to take
that into account, because we want to provide an easy way to get started
with prooph/micro and the overall concept.
Not sure if we can provide a production-ready and secure set up, that is
also easy to use for new devs.
Let's take mongoDB as an example. When you want to try mongo you install
it and just use it. No auth, no schema creation, just install it and play
with it. But of course, before you use it in production, you need to set up
auth, mongo cluster/Replicatset and backup.
I'd like to have a similar thing for prooph/micro:

Install it
run it with a few commands
get used to it
take the next steps to put it to production

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/prooph/micro-cli/issues/4#issuecomment-280730437, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABrq2Yvo7VPykC0Yib7Fx_ucLlZoDu2bks5rdehtgaJpZM4MEhcD
.

sounds good @bweston92


Notification message for new messages

Is your feature request related to a problem? Please describe.
When user messages in the chat. The other should know that message has arrived. So, this feature can be added.
Describe the solution you'd like
Showing a notification type message
Are you willing to contribute to this issue? [Yes/No]
Yes

Sure, please go ahead @AmeyaJain-25, I am assigning this issue to you


state: Apply indentation to the state output.

The json displayed with container state command is
not idented. Apply indentaion for readability.
Fixes #445
Signed-off-by: Archana Shinde<EMAIL_ADDRESS>

Coverage remained the same at 55.644% when pulling 75bf2b7bf56061381e2893250460b0b230cff7b8 on amshinde:indent-state-output into 80cee62d9b8672884f7e389633c9e8d78e6d1040 on clearcontainers:master.

Coverage remained the same at 56.406% when pulling 29e3d90f161c0ce72c65c8a98f5ee75405c9bc80 on amshinde:indent-state-output into 4e9e1b6e707ae7f83121a4ef6d2731d539c472aa on clearcontainers:master.

Coverage remained the same at 56.406% when pulling 29e3d90f161c0ce72c65c8a98f5ee75405c9bc80 on amshinde:indent-state-output into 4e9e1b6e707ae7f83121a4ef6d2731d539c472aa on clearcontainers:master.

lgtm


Game crashes on launch.

Validation

[X] Game has been updated to the latest RE4HD release (v1.1: https://www.re4hd.com/?p=9552)
[X] Data has been validated with SFV (a guide to using QuickSFV is available at that link, use that with this 1.1 SFV: BIO4-HDProject1.1-SFV.zip)

Describe your issue here (drag+drop ZIP to attach it)
The game crashes right after I launch it. I'm playing on steam by the way.
I don't know if this will shed more light into what's going on.. but here are some details:
I had some problems with slowdowns in certain areas (this happened with and without re4 tweaks). I didn't mind initially, since it would rarely happen. But as I continued to play, it would happen more and more before El Gigante (I would fix this in the merchant area located right after the area where you encounter him for the first time).
I figured I expected too much from my PC, but I noticed that it would also happen in deserted areas too (merchant area).
So I tried updating my graphics card drivers (GTX 1050) and that was it (I updated it and then launched the game).
Constant 60.
I played a lot after that and got to the castle. Saved the game. Turned off my PC. Next day, it would start to crash on launch.
The re4 icon appears for about 1 sec on my toolbar (windows10), but that’s as far as I can get.
I'm playing re4 for the first time and I'm loving it. Thank you for offering us help and just extremely improving my experience.
bio4.exe.20230125125049.zip

Crash looks vulkan related, not really sure what the cause is though, but maybe see if editing dinput8.ini and changing UseVulkanRenderer = true to false at the top can let it launch for you.

Jackpot! It's working again, thanks!


fix(lldb) Configured launch.json to use LLDB in macOS and gdb in linux/Windows

Description of the feature or fix
Since lldb-mi is not present in macOS we can use the default lldb to launch debug.
Added linux/windows support for gdb

Tested on Linux, and it worked well! Thanks!


Server generated incorrect design

Server generates not a number beetween 0-3 but null or NaN

Issue was fixed in e45d59f


Adding support for autoscale throughput

Autoscale/Autopilot support

Added ThroughputProperties class which contains factories for creating autoscaled or fixed throughput
Added ThroughputResponse class to fetch relevant details of offer response
Added overloads to create database and container using throughput properties
Added read and replace overloads for database and container to read or replace throughput response

/cc: @j82w

/azp run java - cosmos - tests

/azp run java - cosmos - tests

/azp run java - cosmos - tests

/azp run java - cosmos - tests

/azp run java - cosmos - tests

/azp run java - cosmos - tests

Failing Single_Region_Strong_Https Https_E2E is due to netty ssl exception
2020-05-08T16:43:40.7670531Z 2020-05-08 16:40:08,961       [reactor-http-epoll-1] WARN  reactor.netty.http.client.HttpClientConnect - [id: 0xe2889963, ***] The connection observed an error
2020-05-08T16:43:40.7672042Z javax.net.ssl.SSLException: SSLEngine closed already
So merging this.


[bug]: png_compress_level variable in the config service has no effect on image compression level

Is there an existing issue for this?

[X] I have searched the existing issues

OS
Linux
GPU
cuda
VRAM
8GB
What version did you experience this issue on?
3.6.0
What happened?
I'm doing some work on the upload process and while testing the code I noticed that the save method of PIL takes a long time to save a new image so I tested a change of the compress_level variable coming from the configuration service, the value is called 'png_compress_level' and its between 0 and 9. I found out that changing this value doesn't affect the compression level of PIL, only hardcoding it does.
"invokeai/app/services/image_files/image_files_disk.py"
image.save( image_path, "PNG", pnginfo=pnginfo, compress_level=self.__invoker.services.configuration.png_compress_level, )
"invokeai/app/services/config/config_default.py"
png_compress_level  : int = Field(default=6, description="The compress_level setting of PIL.Image.save(), used for PNG encoding. All settings are lossless. 0 = fastest, largest filesize, 9 = slowest, smallest filesize", json_schema_extra=Categories.Generation)
Screenshots
No response
Additional context
No response
Contact Details
No response

I think you have a problem with your local configuration. This definitely works.
Please either run app in a python debugger and set a breakpoint when saving to inspect the value coming from the config (or just print it). I imagine you'll find that it is the default 6 and not whatever you have set to the config.
Your PR for multiple image uploads appears to have an invoke root dir (your user data) in the repo itself (and a lot non-codebase files are committed in that PR). The root dir should be in a separate folder, not in the repo hierarchy. Probably you are setting the config in the wrong yaml file.

I think you have a problem with your local configuration. This definitely works. To double check, I tried setting it to 0 and 3 and uploading the same image. I get a 23mb image w/ 0, and a <1mb image with 3.
Please either run app in a python debugger and set a breakpoint when saving to inspect the value coming from the config (or just print it). I imagine you'll find that it is the default 6 and not whatever you have set to the config.
Your PR for multiple image uploads appears to have an invoke root dir (your user data) in the repo itself (and a lot non-codebase files are committed in that PR). The root dir should be in a separate folder, not in the repo hierarchy. Probably you are setting the config in the wrong yaml file.

cant reproduce it now and you are correct it is working for me now so I'm closing this bug.
As for the PR - fixed.


Nuxt is packaged as an external chain. Is there a configuration you can refer to?

To optimize seo, you need to package pages JS and CSS as external introductions. Is there a way to achieve this?

This question is available on Nuxt community (#c8861)

I think you are looking for this https://nuxtjs.org/api/configuration-build/#filenames


WIP - Don't send nil DIBELS assessments to UI, fix validation on StudentAssessment to guard

This starts updating the controller and UI code to filter out DIBELS assessments that have nil performance_level values, and updates the demo data generator to not create records like this.
There is a validation on the StudentAssessment model that looks like it's trying to enforce this, but a bug prevents this from actually being enforced.  This PR fixes the bug, but I got stuck on updating the associated RSpecs and need to take a break.  This just pushes the current progress.
Related to https://github.com/studentinsights/studentinsights/issues/291.

Related to https://github.com/studentinsights/studentinsights/pull/303.

My mistake here @kevinrobinson — I noticed this validation issue last week, but failed to document it in a timely way or push my fix-it-up branch to GitHub.
😕
Just pushed my own WIP branch up here, here's the commit that fixes the validation issue: b81b524ee3766a3687757d6b6f018d6918a53013.
It breaks a bunch of specs because of the assessment factories don't have the correct attributes, as I'm sure you noticed!

@alexsoble This has a bunch of commits on top updating specs and related code.  It could use some additional eyes, and almost certainly we'll need to investigate a little bit further to understand the state of the production DB in order to actually ship this as it is.
Main points:

The importer code right now would raise on trying to import rows without all valid data, now that the validations are being enforced.  I updated the importer code to catch this for each row, log it and carry on.
I'm not sure if we can expect all MCAS scores to have growth percentiles (maybe only recent years have it?), so we might need to relax that and a quick check of the DB should help us learn more.
There's some simplification we could do to the factory classes, but not important to do now.

If this seems good to you, next steps would be to poke around the production DB and see how many records would not pass this new validation, or re-run the import task in staging to see what happens.

Going to comment out actual validation for now, so we can get this code into production safely, and investigate how many validations errors there would be and fix them up before flipping them on.  Thanks for the helpful rubber-ducking @eudaimonious!

Dropping this since I let it get stale and this isn't something I'm going to do in the short term.


Question: ToolBar, TabControl, HeaderedContentControl, DataGrid => Types not available in Microsoft.UI.Xaml.Controls

Hi,
I am currently doing some prototypes migrating custom controls available in our end from WPF to WinUI.
During prototype I noticed that, in our end there are some WPF custom controls inheriting ( or using )
from ToolBar, TabControl, HeaderedContentControl, DataGrid ( available in System.Windows.Controls ) and when we try to migrate those custom controls to WinUI then ScrollViewer, TextBlock and TickBar control types are not available in Microsoft.UI.Xaml.Controls.
These implementations will be available soon from your end in near WinUI Preview release ?
I am using right now
VS => Version 16.7.0 Preview 5.0
.Net SDK => dotnet-sdk-5.0.100-preview.4.20268.1-win-x64 / dotnet-sdk-5.0.100-preview.4.20268.1-win-x86
Thanks in advance.

You can use WinUI's TabView control instead of WPF's TabControl. Fot the ToolBar control, you could use the CommandBar control.
You will find controls like DataGrid and HeaderedContentControl in the Windows Coomunity Toolkit.
Controls like the DataGrid are on the mind of the team though the WinUI team has not yet committed itself to a specific WinUI version (so it might arrive only arrive post WinUI 3.0).

Don't forget Pivot was the original replacement for TabControl. Pivot has some issues like it can't hide tabs though. The UI will have to be redesigned in this area migrating from WPF to WinUI.

Also, I did a comparison of controls between WPF/UWP right now this still applies for the most part with WinUI. Some (like DataGrid) are available in the community toolkit which does have a WinUI preview as well.
https://github.com/robloo/PublicDocs/blob/master/UWPvsWPF.md#Controls

For HeaderedContentControl, a Header property has been added to most controls instead.

We have similar controls available in Winui or the Windows Community toolkit.
TabControl -> TabView/Top Navigation View
ToolBar -> CommandBar
DataGrid -> published in the Windows Community Toolkit
HeaderedContentControl -> published in the Windows Community Toolkit
If these are not sufficient we'd like to know why.


Make API docs suitable for Slate

Per issue #1243, this generates api.md and cli.md in the root of the project folder, which will used as a base for Slate documentation.

@eukreign is this mergable? What is status of this?
@NetOperatorWibby is waiting on green light from daemon team to finish API page

I generated a new api.md using the latest script and it's still pretty far from what's here: https://github.com/lbryio/lbry.tech/blob/master/content/.vuepress/public/api.md
I will continue working on it from where @Krisseck left off.

After discussing this with @NetOperatorWibby we decided it would be better to generate HTML directly instead of having an intermediate step of Markdown. Markdown is great if humans will be editing the file but in the case of the API it's completely generated and not intended to be interacted with directly. Further discussion here: https://github.com/lbryio/lbry.tech/issues/118


CHG migrate docker images from buster to bullseye

Overview
Debian Bullseye was released yesterday (August 14th). We should migrate our images that are on buster to bullseye. This should be as simple as changing the tag on the docker images, rebuilding, and testing to make sure everything is still working right.
TODO

[ ] Change Dockerfiles to be debian:bullseye from debian:buster
[ ] Build new imagess
[ ] Test to make sure everything still works (most notably libmagic)
[ ] Push & Re-deploy

https://github.com/AnubisLMS/Anubis/commit/f5ddaf54e6009bbd65fc6d44e8442d76044a33bb


Can support AzureChinaCloud?

Can I set the enviornment to AzureChinaCloud in this tool?

I found it. Sry....


How to select python interpreter 3.7.5?

ubuntu18.04,vscode 1.52.1
note:I reinstalled Win10
I install python3.7.5 in /home/william/python3.7.5 .then make python3.7.5 env in /home/william/env37, and make python3.6.9 env in /home/willaim/env36
Now VScode can recognize env36 ,but can not recognize env37. How to select python interpreter 3.7.5?

I reinstalled vscode to solve the problem


missing script: sls-client-deploy

From your readme:
% npm run sls-client-deploy
npm ERR! missing script: sls-client-deploy

@tvb Just install https://github.com/fernando-mc/serverless-finch

@maxkostinevich I figured, can you please update the serverless.yml file to include the custom/client parameters. Thanks!

This client is optional, and not required.

I see. Well for your convinience you could update the readme as it seems I am the second one asking this question 😉


Does it take more than 30 seconds for Windows to scan once now?

I haven't used this library for a long time, I'm not sure if there have been any improvements.
Can I connect 10 devices simultaneously with one Bluetooth device?

When targeting Windows 10 or later the library uses the WinRT API rather than the Win32 API and this uses DeviceInformation.FindAllAsync to perform discovery. This approach is limited to a fixed timeout and it cannot be stopped after partial results. The aim is to move to a more complex implementation using DeviceWatcher so that you can get devices as they are returned and specify a maximum time to perform discovery.


fix(reth): bin/reth missing help msg of segment

As found in https://github.com/paradigmxyz/reth/pull/10856#issuecomment-2345964613
when building reth without --workspace, the output of the binary doesn't have the help message of SEGMENT:
$ ./target/release/reth db get static-file --help | head
Gets the content of a static file segment for the given key

Usage: reth-debug-without-segment db get static-file [OPTIONS] <SEGMENT> <KEY>

Arguments:
  <SEGMENT>

  <KEY>
          The key to get content for

but when building with --workspace, ref https://github.com/paradigmxyz/reth/blob/817b1527e9daf30e838e14b49171db86be266219/.github/workflows/lint.yml#L143-L149
then it contains the segment info:
$ ./target/release/reth db get static-file --help | head
Gets the content of a static file segment for the given key

Usage: reth db get static-file [OPTIONS] <SEGMENT> <KEY>

Arguments:
  <SEGMENT>
          Possible values:
          - headers:      Static File segment responsible for the `CanonicalHeaders`, `Headers`, `HeaderTerminalDifficulties` tables
          - transactions: Static File segment responsible for the `Transactions` table
          - receipts:     Static File segment responsible for the `Receipts` table

Then found the define of StaticFileSegment has an cfg_attr https://github.com/paradigmxyz/reth/blob/817b1527e9daf30e838e14b49171db86be266219/crates/static-file/types/src/segment.rs#L24-L26.
So I think we need to implictly import the reth_static_file_types crate

@mattsse ptal


Validate from non-contiguous input "streams"

The problem
So far all applications of EverParse have been reading and validating input bytes from a single contiguous buffer.
However, other applications present input data using different, maybe non-contiguous, data structures. So, to handle them, we aim to evolve EverParse so that it too is parametric in a user-chosen input layout.
We want to handle such data structures without integrating their specifics into the actual implementations of EverParse validators.
This PR: input "stream" interface
We propose to design an interface to the input buffer as a "stream". The only operations we need are:

bool has(input_buffer_t buf, uint32_t n);
Returns true if and only if the input buffer buf has at least n bytes available, but without reading them or advancing the input buffer.

void read(input_buffer_t buf, uint32_t n, uint8_t *out);
reads n bytes into out and advances the input buffer so that the next call to that function will read the next byte (thus ensuring absence of double-fetches.)

void skip(input_buffer_t buf, uint32 count);
advances the input buffer by count bytes, without reading them. Useful when validating an integer field when its actual value does not matter.

Status as of 2021-01-07
At this point, I provide a Low* interface for input streams and a verified implementation for the "flat buffer" case, and I have reimplemented validators and actions (except field_ptr) following this interface. The next steps are:

[x] Recover field_ptr, but only in the case of the "flat buffer" implementation
[ ] Allow linking with an extern input stream implementation, and allow the user to choose between that and the verified "flat buffer" implementation
[ ] Widen some integers: get_read_count, arguments to has, read, skip, etc.
[x] Avoid double copies for readers (one coming from read, another coming from kremlib (https://github.com/FStarLang/kremlin/blob/986bd298eecedc96278e1ba712fadd7c5f7d276b/include/kremlin/lowstar_endianness.h#L157 sqq.)

07890a4974aa8659b1eaf7b6e480ed5feb167d75 is not very satisfactory, since it requires a lot of friending, and also removes the need for read in the type class. So I'm going to force-push with a more generic version of read that either returns a slice of the input buffer or copies its contents to the destination buffer provided by the user.

Compared to master, the error handler lost track of the end position, i.e. the number of bytes read from the input buffer at the time the error is raised. In fact, it turns out that such number of bytes read can be tracked by validators just as before, instead of a reference attached to the input stream. So I should:

[ ] Remove get_read_count and have the position tracked by validators

I can now link with a custom unverified input stream implementation, but such a custom implementation has to provide a struct EverParseInputStream_s * type, which is quite restrictive. Instead, I should:

[ ] Ask for a header file name (via EverParse command-line options) to #include into every produced .h file; this header file is supposed to contain a typedef ... EverParseInputStream declaration.


Better threading

This PR adds a custom task runner to eliminate the deprecated call to __FlutterEngineFlushPendingTasksNow. The task runner will let glfw wait indefinitely for window events if no tasks have been posted. This improves performance by polling glfw events less often. There's also a new function available to plugins that allows tasks to be posted to the render thread. Plugins can use this function to do full OpenGL rendering to the resource window.
I have also formatted the code and fixed some warnings.

Wow, this is a huge improvement. Didn't notice this embedder api change. Do you have example how plugin can do OpenGL rendering?

Why not just merge this into master?

I'm still working on implementing the default video player plugin that needs to render to OpenGL, so I don't have an example ready right now.
Well I started working on develop instead of master because that's what I thought was correct. If you want, I can of course merge the current develop branch into master.

OK. This workflow is cool. Feature branch -> develop -> master, Once we merge into master, we make a release. Small fixed can go directly to develop.
Had pushed a few directly into master. My bad.

Lots of conflicts when merging into master. Can you that PR to master please? I'll make a new develop branch.

Yeah, I just wrote on the Gitter channel about that. I'll resolve the conflicts in #76


Update stacks API to include isolated worker types

Currently the stacks API does not include Isolated workers, and it probably should. There will be some naming that we need to resolve for the various versions, just for display purposes in consuming tooling. The primary tools which consume this are the portal and Azure CLI.
Within host v4, we'd want to add:

.NET 6 Isolated
.NET Framework Isolated - (not yet available, but we would want to make sure we can specify that this version would not support Linux as a valid target OS)

Work would take place here (that repo doesn't take issues): https://github.com/Azure/azure-functions-ux/blob/dev/server/src/stacks/2020-10-01/stacks/function-app-stacks/Dotnet.ts
There are processes for us to validate these changes privately before pushing them out in full. This requires that we include the hidden flag in the initial changeset.

This has a dependency on improvements we need to make to the host behave as expected when the runtime is set to dotnet-isolated and no payload is deployed.

Depends on https://github.com/Azure/azure-functions-host/issues/8311


Impossible to download MP model using Streamlit

Have I written custom code (as opposed to using a stock example script provided in MediaPipe)
None
OS Platform and Distribution
Web app on streamlit
MediaPipe Tasks SDK version
No response
Task name (e.g. Image classification, Gesture recognition etc.)
Pose estimation
Programming Language and version (e.g. C++, Python, Java)
Python
Describe the actual behavior
Error13 : Permission denied
Describe the expected behaviour
Working well
Standalone code/steps you may have used to try to get what you need
https://github.com/dflneoibnm/stre

I made an app on streamlit using mediapipe pose estimation model.
But when Streamlit try to import the model (mp.solutions.pose.Pose(_download_model...)), it must have not the right to do so and I get an error of permission.
It works on local fine, others people managed to have it working aswell.
Is there a way to download it? Or is there a function to use mediapipe with the model directly (I downloaded the .tflite and .task files?

Thanks

Other info / Complete Logs
Traceback (most recent call last):

  File "/home/adminuser/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 535, in _run_script

    exec(code, module.__dict__)

  File "/mount/src/stre/0.py", line 12, in <module>

    pose = mp_pose.Pose(model_complexity=2)

  File "/home/adminuser/venv/lib/python3.9/site-packages/mediapipe/python/solutions/pose.py", line 145, in __init__

    _download_oss_pose_landmark_model(model_complexity)

  File "/home/adminuser/venv/lib/python3.9/site-packages/mediapipe/python/solutions/pose.py", line 100, in _download_oss_pose_landmark_model

    download_utils.download_oss_model(

  File "/home/adminuser/venv/lib/python3.9/site-packages/mediapipe/python/solutions/download_utils.py", line 32, in download_oss_model

    with urllib.request.urlopen(model_url) as response, open(model_abspath,

PermissionError: [Errno 13] Permission denied: '/home/adminuser/venv/lib/python3.9/site-packages/mediapipe/modules/pose_landmark/pose_landmark_heavy.tflite'

Hi @dflneoibnm,
Currently, you are using the legacy pose solution, it has been upgraded and is now part of the Pose Landmarker Task API, offering enhanced capabilities. Please upgrade to the new API. Find documentation here and a Python implementation guide here.
For Legacy Solutions, the libraries, documentation, and source code will remain available on GitHub and through services like Maven and NPM. However, support for upgraded solutions has been discontinued. Refer to our documentation for more information. If you face issues with the new Pose Landmarker Task API implementation, report them here for assistance.
Thank you!!

Do you have a real code exemple using poselandmarker task, because the one on the MP site that you sent is more than unuseful and can't be more unclear.
Has someone actually used it instead of old solutions legacy?
Thanks

thanks,
Btw, is there a way to use a model the old model .tflite if i have downloaded it.
Like don't use solutions.pose.Pose() which will try to download the model but the same i will import before?

Regrettably, the current functionality does not support the separation of the new .tflite from the bundle, identified as ".task". Referencing thread (https://github.com/google/mediapipe/issues/4939). we have categorized this as a feature request. It's worth noting that a similar situation may exist with the old .tflite as well.


Use user's nickname if present instead of their username

https://github.com/joshbuker/discord-bot/blob/main/lib/discord_bot/events/message.rb#L24
https://discordpy.readthedocs.io/en/stable/api.html?highlight=message#discord.abc.User
https://discordpy.readthedocs.io/en/stable/api.html?highlight=message#discord.Member
Looks like the implementation would be pretty close to 1:1 between Ruby and Python for this.


Fix newlines in processes name (cmdline) aren't escaped

Fix #175

Remove carriage return in process cmdline.

moving the target of the PR from main to dev had a behavior I didn't fully understand.
I manually copy your code in dev to make sure we don't have side effects.
Sorry about that, I close the PR, but consider it successful.
Thanks a lot !


zephyr: MAINTAINERS: correct maintainer name

ulipe was typed wrongly, the correct is uLipe.
Signed-off-by: Felipe Neves<EMAIL_ADDRESS>

This PR was originated from this @cfriedt suggestion: https://github.com/zephyrproject-rtos/zephyr/pull/40203#issuecomment-964503183


Document version auto-increment and fix typos.

Description
Document version auto-increment and fix typos.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@reta @Xtansia  I think I am getting confused to what's supposed to happen in which order for the release.

If I am releasing a 2.10.5, which branch is that supposed to happen on?
If I am releasing a 2.11.0, which branch is that supposed to happen on?
How do the instruction change for CHANGELOG, where do you make the changes first?

@reta @Xtansia I think I am getting confused to what's supposed to happen in which order for the release.

I think the branch versioning was a bit messed up:

main should be 3.0
2.x should have technically be 2.10.5-SNAPSHOT (but it was 2.11.0)

So the sequence we follow for releases is:

branch of next release out of 2.x (for example 2.11.0)
update CHANGELOG in 2.11.0 (we need the commit for release)
push release tag (v2.11.0)
forwardport to 2.x and main

Ok, @reta take a look at the updated instructions, does this capture this process?

Ok, @reta take a look at the updated instructions, does this capture this process?

It does (in my opinion), thanks @dblock !

I don't know about the Java client, it looks like it's been doing branches per patch version off of 2.x. Normally for OpenSearch and at least the Rust & .NET clients, the branching is (assuming 2.10.4 is latest released):

main: next major i.e. 3.0.0-SNAPSHOT
2.x: next minor i.e. 2.11.0-SNAPSHOT
2.10: next patch i.e. 2.10.5-SNAPSHOT

Then releasing a new patch is:

Commit changelog to 2.10
Tag v2.10.5 on 2.10
Auto build & release v2.10.5
Auto-increments 2.10 to developing 2.10.6-SNAPSHOT

Releasing a new minor:

Commit changelog to 2.x
Tag v2.11.0 on 2.x
Auto build & release v2.11.0
Auto-increment 2.x to developing 2.12.0-SNAPSHOT
Auto-branch and increment 2.11 to developing 2.11.1-SNAPSHOT

Releasing a new major:

Commit changelog to main
Tag v3.0.0 on main
Auto build & release v3.0.0
Auto-increment main to developing 4.0.0-SNAPSHOT
Auto-branch and increment 3.x to developing 3.1.0-SNAPHOT
Auto-branch and increment 3.0 to developing 3.0.1-SNAPSHOT

.NETs Bump Version Workflow: https://github.com/opensearch-project/opensearch-net/blob/main/.github/workflows/bump-version.yml

@Xtansia I think yours is clearer, take a look at the update please?


iOS Working Download & Upload

working download speed test (iOS)
working upload speed test (iOS)
additional option of filesize (flutter)

Thanks for the contribution again!
I've tried merging it on a local branch to try it, the test is completing immediately!
Have you tried it?
I've tried setting up the fileSize to 20,000 Bytes, which must take sometime to finish, please confirm if you're facing the same issue

You are Welcome.
Yes, I have tried it and am using it in a live project.
I am not facing such issue.
Please try again using my git branch in your pubspec.yaml.
internet_speed_test:     git:       url: https://github.com/aks3800/internet_speed_test       ref: master

Same issue, after one second from starting the test, the final closure gets called from both runDownloadTest and runUploadTest

Did you give fileSize argument to the startDownloadTesting function?
Default value to this parameter is 200.

Yes, it's the same as your commit


Use updated OpenAI GPT 4 turbo and 3.5 Turbo

It's using an older version of GPT 4 turbo and GPT 3.5 turbo.
Here we update to the latest pinned version of GPT 4 turbo. For 3.5 turbo, we utilize a snapshot as the latest pinned version is not using it yet.
See also https://platform.openai.com/docs/models

@mkorpela Great to see gpt-3.5-turbo now points already to gpt-3.5-turbo-0125 (see https://platform.openai.com/docs/models/gpt-3-5-turbo).
Or do you mean you want to explicitly keep gpt-3.5-turbo-1106? Even with that discussion, I see little reason why one would want to use an older model.

@japborst thanks for the contribution. I think your correct!


⚠ ClamAV has degraded performance

In cc1c6a9, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 56 ms

Resolved: ClamAV performance has improved in 85725f3.


Move tests into their own project

This is to prevent the test dependencies showing up in the pox.xml, helpful for @fommil in spray-json. See https://github.com/spray/spray-json/issues/232#issuecomment-312275553

It's not for me. It's for the entire community. You'll understand when 2.13.0 is released.
Releasing untested software is not the solution here. You need to rewrite your tests to be zero dependency other than scala-lang.

Releasing untested software is not the solution here.

Thats not the idea, the idea is to remove the tests from the pom.xml (travis will be changed so it will always run the tests from the subproject)

You'll understand when 2.13.0 is released.

Afaik, the major testing frameworks were doing their releases well before the actual release of a Scala major was done for this exact reason

Also https://github.com/spray/spray-json/blob/master/build.sbt#L23-L27 ?
In fact these are the same test dependencies that ScalaJSON AST uses, scala.js plugin also does not effect the pom.xml for JVM artifacts ( see https://search.maven.org/#artifactdetails|org.scala-lang.platform|scalajson_2.11|1.0.0-M2|jar )

I am going to close this because @fommil doesn't seem to be entirely consistent with the problem and this appears to be a non issue in reality

Spray-json also has these same test dependencies (see https://github.com/spray/spray-json/issues/232#issuecomment-312285322)
Regarding https://github.com/ensime/ensime-server/issues/1821 and https://github.com/ensime/ensime-server/issues/1398, some typelevel projects also contain the same test dependencies as ScalaJSON ast

I don't want to be involved with this project, please leave me out of it.

I don't want to be involved with this project, please leave me out of it.

Thats why this issue is closed as a non issue ;)


win_wait_active

Could you please edit "win_wait_active" in win.py with 3 parameters
title, text, and time out?. The original one have only two parameters title and time out. Thanks

you can call this interface like autoit.win_wait_active("title", 3, text="foo")

Thank you very much, jacexh. It works well.


Update dependencies

Hello, I can't install this library with the latest version of phoenix, due to outdated versions of poison and httpoison. In this pull request dependencies have been updated.

@DanToml ping

@mendab1e Sorry, I was on vacation last week, merging now!

@mendab1e I've added a note to push out a release tonight


Attempt to un-break Appveyor:

Put _testing on PYTHONPATH only for Py3k (debug grpico-on-Py3k issues later).
Use setup.py develop rather than setup.py build to get dependencies installed.
Run pip list afterwards to show what got installed.

Toward #1863.

Now we see if it works.

@tseaver, I get those timestamp_pb2 errors locally on my machine with a fresh venv and doing a python setup.py install.
I have to import them first before I make a client...really weird. I thought it was just something with my machine.
>>> from gcloud import storage
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "gcloud/storage/__init__.py", line 43, in <module>
    from gcloud.storage.blob import Blob
  File "gcloud/storage/blob.py", line 30, in <module>
    from gcloud._helpers import _rfc3339_to_datetime
  File "gcloud/_helpers.py", line 28, in <module>
    from google.protobuf import timestamp_pb2
ImportError: cannot import name timestamp_pb2

If I import timestamp_pb2 before I import gcloud.storage it works...
pip install protobuf==3.0.0b2

>>> from google.protobuf import timestamp_pb2
>>> from gcloud import storage
>>>

Hmmm.  Installing from PyPI works:
$ /tmp/fscked/bin/pip install gcloud
Collecting gcloud
  Downloading gcloud-0.17.0.tar.gz (458kB)
    100% |████████████████████████████████| 460kB 1.5MB/s
Collecting httplib2>=0.9.1 (from gcloud)
Collecting googleapis-common-protos (from gcloud)
Collecting oauth2client>=2.0.1 (from gcloud)
Collecting protobuf!=3.0.0.b2.post1,>=3.0.0b2 (from gcloud)
  Using cached protobuf-3.0.0b3-py2-none-any.whl
Collecting six (from gcloud)
  Using cached six-1.10.0-py2.py3-none-any.whl
Collecting grpcio>=0.14.0 (from gcloud)
  Using cached grpcio-0.15.0-cp27-cp27m-manylinux1_x86_64.whl
Collecting google-gax>=0.12.1 (from gcloud)
Collecting gax-google-pubsub-v1>=0.7.10 (from gcloud)
Collecting gax-google-logging-v2>=0.7.10 (from gcloud)
Collecting rsa>=3.1.4 (from oauth2client>=2.0.1->gcloud)
  Using cached rsa-3.4.2-py2.py3-none-any.whl
Collecting pyasn1-modules>=0.0.5 (from oauth2client>=2.0.1->gcloud)
  Using cached pyasn1_modules-0.0.8-py2.py3-none-any.whl
Collecting pyasn1>=0.1.7 (from oauth2client>=2.0.1->gcloud)
  Using cached pyasn1-0.1.9-py2.py3-none-any.whl
Requirement already satisfied (use --upgrade to upgrade): setuptools in /tmp/fscked/lib/python2.7/site-packages (from protobuf!=3.0.0.b2.post1,>=3.0.0b2->gcloud)
Collecting enum34>=1.0.4 (from grpcio>=0.14.0->gcloud)
  Using cached enum34-1.1.6-py2-none-any.whl
Collecting futures>=2.2.0 (from grpcio>=0.14.0->gcloud)
  Using cached futures-3.0.5-py2-none-any.whl
Collecting ply==3.8 (from google-gax>=0.12.1->gcloud)
Collecting grpc-google-pubsub-v1>=0.7.11 (from gax-google-pubsub-v1>=0.7.10->gcloud)
Collecting grpc-google-logging-v2>=0.7.11 (from gax-google-logging-v2>=0.7.10->gcloud)
Building wheels for collected packages: gcloud
  Running setup.py bdist_wheel for gcloud ... done
  Stored in directory: /.../.cache/pip/wheels/d3/00/37/a3194dbb53f305c998b78c6d6b74af80dff545207a7909f45a
Successfully built gcloud
Installing collected packages: httplib2, six, protobuf, googleapis-common-protos, pyasn1, rsa, pyasn1-modules, oauth2client, enum34, futures, grpcio, ply, google-gax, grpc-google-pubsub-v1, gax-google-pubsub-v1, grpc-google-logging-v2, gax-google-logging-v2, gcloud
Successfully installed enum34-1.1.6 futures-3.0.5 gax-google-logging-v2-0.7.11 gax-google-pubsub-v1-0.7.11 gcloud-0.17.0 google-gax-0.12.2 googleapis-common-protos-1.2.0 grpc-google-logging-v2-0.7.11 grpc-google-pubsub-v1-0.7.11 grpcio-0.15.0 httplib2-0.9.2 oauth2client-2.2.0 ply-3.8 protobuf-3.0.0b3 pyasn1-0.1.9 pyasn1-modules-0.0.8 rsa-3.4.2 six-1.10.0

As does installing from Github with pip:
$ /opt/Python-2.7.11/bin/virtualenv /tmp/borked
New python executable in /tmp/borked/bin/python
Installing setuptools, pip, wheel...done.
$ /tmp/borked/bin/pip install git+https://github.com/GoogleCloudPlatform/gcloud-python.git
Collecting git+https://github.com/GoogleCloudPlatform/gcloud-python.git
  Cloning https://github.com/GoogleCloudPlatform/gcloud-python.git to /tmp/pip-rhbBzC-build
Collecting httplib2>=0.9.1 (from gcloud==0.17.0)
Collecting googleapis-common-protos (from gcloud==0.17.0)
Collecting oauth2client>=2.0.1 (from gcloud==0.17.0)
Collecting protobuf!=3.0.0.b2.post1,>=3.0.0b2 (from gcloud==0.17.0)
  Using cached protobuf-3.0.0b3-py2-none-any.whl
Collecting six (from gcloud==0.17.0)
  Using cached six-1.10.0-py2.py3-none-any.whl
Collecting grpcio>=0.14.0 (from gcloud==0.17.0)
  Using cached grpcio-0.15.0-cp27-cp27m-manylinux1_x86_64.whl
Collecting google-gax>=0.12.1 (from gcloud==0.17.0)
Collecting gax-google-pubsub-v1>=0.7.10 (from gcloud==0.17.0)
Collecting gax-google-logging-v2>=0.7.10 (from gcloud==0.17.0)
Collecting rsa>=3.1.4 (from oauth2client>=2.0.1->gcloud==0.17.0)
  Using cached rsa-3.4.2-py2.py3-none-any.whl
Collecting pyasn1-modules>=0.0.5 (from oauth2client>=2.0.1->gcloud==0.17.0)
  Using cached pyasn1_modules-0.0.8-py2.py3-none-any.whl
Collecting pyasn1>=0.1.7 (from oauth2client>=2.0.1->gcloud==0.17.0)
  Using cached pyasn1-0.1.9-py2.py3-none-any.whl
Requirement already satisfied (use --upgrade to upgrade): setuptools in /tmp/borked/lib/python2.7/site-packages (from protobuf!=3.0.0.b2.post1,>=3.0.0b2->gcloud==0.17.0)
Collecting enum34>=1.0.4 (from grpcio>=0.14.0->gcloud==0.17.0)
  Using cached enum34-1.1.6-py2-none-any.whl
Collecting futures>=2.2.0 (from grpcio>=0.14.0->gcloud==0.17.0)
  Using cached futures-3.0.5-py2-none-any.whl
Collecting ply==3.8 (from google-gax>=0.12.1->gcloud==0.17.0)
Collecting grpc-google-pubsub-v1>=0.7.11 (from gax-google-pubsub-v1>=0.7.10->gcloud==0.17.0)
Collecting grpc-google-logging-v2>=0.7.11 (from gax-google-logging-v2>=0.7.10->gcloud==0.17.0)
Installing collected packages: httplib2, six, protobuf, googleapis-common-protos, pyasn1, rsa, pyasn1-modules, oauth2client, enum34, futures, grpcio, ply, google-gax, grpc-google-pubsub-v1, gax-google-pubsub-v1, grpc-google-logging-v2, gax-google-logging-v2, gcloud
  Running setup.py install for gcloud ... done
Successfully installed enum34-1.1.6 futures-3.0.5 gax-google-logging-v2-0.7.11 gax-google-pubsub-v1-0.7.11 gcloud-0.17.0 google-gax-0.12.2 googleapis-common-protos-1.2.0 grpc-google-logging-v2-0.7.11 grpc-google-pubsub-v1-0.7.11 grpcio-0.15.0 httplib2-0.9.2 oauth2client-2.2.0 ply-3.8 protobuf-3.0.0b3 pyasn1-0.1.9 pyasn1-modules-0.0.8 rsa-3.4.2 six-1.10.0
$ /tmp/borked/bin/python
Python 2.7.11 (default, Feb 22 2016, 07:44:44)
[GCC 4.8.4] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from gcloud import storage
>>>

Yeah I had the same results with pip. Not sure why python setup.py install does that off master.

setup.py develop doesn't get protobuf installed, either:
$ /opt/Python-2.7.11/bin/virtualenv /tmp/snorged
New python executable in /tmp/snorged/bin/python
Installing setuptools, pip, wheel...done.
$ cd /tmp/snorged/
$ git clone --depth 1 https://github.com/GoogleCloudPlatform/gcloud-python.git
Cloning into 'gcloud-python'...
remote: Counting objects: 409, done.
remote: Compressing objects: 100% (384/384), done.
remote: Total 409 (delta 78), reused 101 (delta 20), pack-reused 0
Receiving objects: 100% (409/409), 5.77 MiB | 779.00 KiB/s, done.
Resolving deltas: 100% (78/78), done.
Checking connectivity... done.
$ cd gcloud-python/
$ ../bin/python setup.py -q develop
...
$ ../bin/python
Python 2.7.11 (default, Feb 22 2016, 07:44:44)
[GCC 4.8.4] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from gcloud import storage
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "gcloud/storage/__init__.py", line 43, in <module>
    from gcloud.storage.blob import Blob
  File "gcloud/storage/blob.py", line 30, in <module>
    from gcloud._helpers import _rfc3339_to_datetime
  File "gcloud/_helpers.py", line 28, in <module>
    from google.protobuf import timestamp_pb2
ImportError: cannot import name timestamp_pb2

Which leads me to a smoking gun:
$ /tmp/snorged/bin/python
Python 2.7.11 (default, Feb 22 2016, 07:44:44)
[GCC 4.8.4] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import google
>>> from google import protobuf
>>> protobuf.__path__
['/tmp/snorged/lib/python2.7/site-packages/gax_google_logging_v2-0.7.11-py2.7.egg/google/protobuf']

Which is Just Wrong (TM).
@bjwatson both gax-google-logging-v2-0.7.11 and gax-google-pubsub-v1-0.7.11 include empty google/protobuf packages (just and empty __init__.py).  ISTM that the protobuf package shouldn't be here:  it isn't declared a namespace package in its real home, and those packages are interfering with a non-coalesced install.

Should we make an issue for this over on gax?

IIUC, this is describing the same issue as https://github.com/GoogleCloudPlatform/gcloud-python/issues/1972, right?

@bjwatson I believe so.

Thanks @daspecster. I shared my opinion in that issue.

@tseaver This didn't seem to do the trick: https://ci.appveyor.com/project/dhermes/gcloud-python/build/job/1n38cps6rh8075g8

@dhermes There are no Py3k Windows wheels published for grpcio 0.15.0, which means it falls back to BFS, and thus needs protoc et al :(

Yup. But the unit tests don't need grpcio to work.

@dhermes If you can figure out a better way to install grpcio and the gaxlibraries on Appveyor only for py27-* builds, please do:  I tried (e.g. #1877) but lack the Powershell-fu.


[PLUGIN, TEMPORAL] After the activity is completed and worker is terminated (graceful), the last event is still ActivityTaskScheduled

Hi @rustatian , thanks for the fix.
But I encountered another issue.
When the activity is complete and the worker is terminated, but in temporal web, the last event in the workflow is still ActivityTaskScheduled.
I expected when the activity is complete and worker is successfully terminated, I can see the last event in temporal web is ActivityTaskCompleted.
I already update my samples code here, if you need it.
I just lower the sleep to 20s.
Originally posted by @khoerintus in https://github.com/spiral/roadrunner/issues/610#issuecomment-827694080

Hi @rustatian, FYI, https://github.com/temporalio/sdk-go/releases/tag/v1.11.0 has been released.

Thanks, I know, updating the rr-temporal: https://github.com/temporalio/roadrunner-temporal/pull/110

Hi @rustatian, anything we can do to help with the PR ?

I'm recovering from the COVID-19, so, 2 weeks at least.

Hope you'll have a speedy recovery 🙏

@changwuf31 We are blocked by the https://github.com/temporalio/sdk-go/issues/636 and this change https://github.com/temporalio/sdk-go/commit/16bb227d85dea95ed89b1fee6d7e04438b50103d. We can't update to v 1.11 and upper with this change, so, let's wait until this issue will be resolved.

@khoerintus , @changwuf31 Updated, could you try the https://github.com/spiral/roadrunner-binary/releases/tag/v2.6.0-rc.1 release? This bug should be fixed in it. temporal go-sdk updated to the latest version.

Hi @rustatian
I've tried the 2.6.0-rc1
The issue is still unresolved yet though ..
Got this in the log
2021-11-29T15:42:30.452Z	INFO	temporal    	Task processing failed with error	{"Namespace": "default", "TaskQueue": "default", "WorkerID": "1197313@fedora@default@2", "WorkerType": "ActivityWorker", "Error": "grpc: the client connection is closing"}

@changwuf31 It's the correct message. What's the last status of the activity?

@changwuf31 It's the correct message. What's the last status of the activity?

Log

Activity

Workflow

# Application configuration
rpc:
    listen: tcp://<IP_ADDRESS>:6001
    # listen: ${ROADRUNNER_RPC_URL}

server:
    command: "php artisan temporal-worker:simple"
    env:
        DEBUG: true

# Workflow and activity mesh service
temporal:
    address: "localhost:7233"
    # address: ${TEMPORAL_GRPC_URL}
    activities:
        num_workers: 3
        # default 0 - no limit
        max_jobs: 50
        # default 1 minute
        allocate_timeout: 60s
        # default 1 minute
        destroy_timeout: 60s
        # supervisor used to control http workers
        supervisor:
            # watch_tick defines how often to check the state of the workers (seconds)
            watch_tick: 1s
            # ttl defines maximum time worker is allowed to live (seconds)
            ttl: 0
            # idle_ttl defines maximum duration worker can spend in idle mode after first use. Disabled when 0 (seconds)
            idle_ttl: 0
            # exec_ttl defines maximum lifetime per job (seconds)
            exec_ttl: 0
            # max_worker_memory limits memory usage per worker (MB)
            max_worker_memory: 128

logs:
    # development / production
    mode: development
    level: debug
    encoding: console
    #channels:
       #activities:
          #mode: none
       #workflows:
          #mode: none

endure:
  # default 30s to finish, possible values 10s,100m,5h
  grace_period: 120s
  # default false, print graph in the graphviz format to the stdout (paste here to visualize https://dreampuf.github.io)
  print_graph: false
  # default error
  log_level: debug

Log with debug level

Ok, thanks, I'll have a look. Looks like the client plugin stops first, preventing other plugins to send the data to the temporal.

@changwuf31 Could you try this version https://github.com/spiral/roadrunner-binary/releases/tag/v2.6.0, I fixed the plugin's stop order, now, the client stopped last in the row.

The last activity is "ActivityTaskCompleted"
The workflow status is "COMPLETED"
The client plugin also is stopped after the workflow plugin.
Looks Good, thank u @rustatian  :+1:

Awesome, thank you @changwuf31 . Closing the ticket.

link: https://github.com/spiral/endure/pull/109


(2.15) Allow "layer" tags alone to resolve building crossing issues

Moved from #6367 to target 2.15.
Closes #5924.

I still think this is actually wrong, but I'm just going to merge it anyway.

I merged this via the 2.x branch, that's why GitHub didn't notice.


[SR-7320] Update the build instrunction in README.md

I got some errors when building as below.
:
:
File "/Users/moatom/Documents/prg/GitHub/swift-source/swift/stdlib/public/core/IntegerTypes.swift.gyb", line 20, in <module>
    from string import maketrans, capitalize
ImportError: cannot import name 'maketrans'
ninja: build stopped: subcommand failed.
utils/build-script: fatal error: command terminated with a non-zero exit status 1, aborting

According to my research, in the case of using PythonInterp module for find_module, CMake could't get any path to Python 2 in my environment whether find_module's version operand is 2.7 [EXACT] or not.
Although it seems good to chenge them to use Python2 module, it is supported only since CMake's version 3.12 (see: https://cmake.org/cmake/help/latest/module/FindPythonInterp.html .)
So I think writing them to README.md is the best choice.

Resolves SR-7320.

There were some previous attempts to support python 3, I guess no one hit this yet (or perhaps @gwynne or @drodriguez did?).
I think that the better thing to do here is to document that python must be python 2.7 rather than as a note that you alter it otherwise.

I think the current description is difficult for beginners to search out what is the problem when a environment problem happen.
I think, at least, we should add some messages to README like "Please make sure you use Python 2.x and your path setting is appropriate. Python 3.x is not supported currently"
'

My efforts to support Python 3 are a little in the backburner, but I was intending to keep going with them.
I would prefer the message proposed by @moatom in their previous comment however, since it is more valuable to any user of Python (it doesn’t matter if you have Anaconda or not, I think). So at least, I would add that phrase (and maybe offer the one in the commit as extra help, but IMO it is quite specific).

@drodriguez
It took me a while to understand what you are saying in the last parentheses.
It seems no need for such an effort because Python 2's support will end next year :'(.

Sorry. What I wanted to say is the previous phrase with Anaconda references was quite specific, it would be better to have one more general (like the one in the last review), but add the Anaconda bit as a secondary paragraph or phrase.
About Python 2 going away next year… one of the main roadblocks keeping things in 2.x is that Apple doesn't ship by default with 3.x, which means a lot of folks here will need an extra step to build the project. Also EOL doesn’t mean it will stop working suddenly. I was trying to upgrade to Python 3 compatible code, because is the future proof thing to do, but it is not essential.

@drodriguez
That's right. I forgot that Python is OSS and we can send patch it by ourselves if a problem occur.
I am interested in that plan because I had trouble in building Swift due to Python 2.
Are there details about it?


docker: Update base OS version

Purpose of pull request
Debian 12 has been released some months ago. So, use Debian 12 instead of old stable.
Building an image and a sdk both on qemu-arm64 and qemu-amd64 were successful. Also, qemu-system-x86_64 and qemu-system-aarch64 work fine.

Thanks!


Bug 9114:Project Logo which is uploaded from local is not visible on the HTML report is fixed

Project Logo which is uploaded from local is visible on the HTML report when sent in Email is Merge pull request #2421 from Ginger-Automation/BugFix/Fix-Release-Issues-Meni
Bug fix/fix release issues meni

Project Logo which is uploaded from local is visible on the HTML report


Possible bug: using user's endpoint in admin-area jobs page

How to reproduce:

log in as an admin
go to the admin area
search for all jobs of a given user (not myself)
find one job which is marked as "done", click on "logs" -> this works
find one job which is marked as "failed" click on "logs" -> this fails

Fractal-web error:

Fractal-server corresponding error

Question: is there a call to some /api/v1 endpoint (notably /api/v1/project/93/job/551) from the admin-area jobs page, triggered by the "logs" button for failed jobs? I think there shouldn't be any, in principle.
Let's review this.

Side comment
When this error takes place, we also have something weird in the modals. There are two "X" button, and clicking the first one only closes the inner modal. Then I have to also click on the most external one:

Important addendum: this error does not take place for all failed jobs, but only for some of them. I am not yet able to see what is the relevant difference.

The cause was the empty log. There was a check inside the logs modal that attempted to fetch the job when the log field wasn't set and it used the default API. I think that this check is not needed anymore, since we are opening the modal passing the log field of an already fetched job, so I removed the check and the call in a6c477d6da5173e03f399e24c406370fa2699698


FetchError: maximum redirect reached

Hello.
Recently all our calls via this lib are failing with FetchError: maximum redirect reached
Example failing code:
import ChromeWebStore from 'webextension-store-meta/lib/chrome-web-store/index.js'

await ChromeWebStore.load({ id: 'iocghaljaochhkgajdilelogdkejkiil' })

Can confirm

Looking into it. Looks like a new Chrome Web Store was launched.

<EMAIL_ADDRESS>

This seems to still be happening for some subset of extensions.
import ChromeWebStore from 'webextension-store-meta/lib/chrome-web-store/index.js'

await ChromeWebStore.load({ id: 'iocghaljaochhkgajdilelogdkejkiil' })

works just fine
but
import ChromeWebStore from 'webextension-store-meta/lib/chrome-web-store/index.js'

await ChromeWebStore.load({ id: 'hkgmldnainaglpjngpajnnjfhpdjkohh' })

still throws FetchError: maximum redirect reached at using v1.1.0

I encountered this problem today with my extension that comes with non-ASCII(id=jklfcpboamajpiikgkbjcnnnnooefbhh).
I debugged the problem and figured out that Chrome Web Store is not properly escaping non-ASCII characters in HTTP response headers. Instead they are encoded in UTF-8 which is not compliant to the standard:
$ curl https://chromewebstore.google.com/detail/jklfcpboamajpiikgkbjcnnnnooefbhh -v
...
< HTTP/2 302
...
< location: https://chromewebstore.google.com/detail/pakku：哔哩哔哩弹幕过滤器/jklfcpboamajpiikgkbjcnnnnooefbhh
...

The builtin http/https package in NodeJS cannot decode this header in UTF-8, leading to wrong redirected URL, as shown in the below screenshot:

From the above mention, it seems that nodejs/undici has just fixed UTF-8 encoding in headers.
I can figure out a PR to use undici for the fetchText function, if that is welcomed.

See #3

Nice catch! PRs are certainly welcomed. Thanks in advance!


Test with Python 3.6 and Django 2.0

@Natim I've made a few more updates meanwhile. Django officially advises projects to drop support for anything older than 1.11.
I have updated the changelog, added a deprecation warning if we're running on version < 2.0 and simplified the testing matrix.

Django officially advises projects to drop support for anything older than 1.11

Do you have a link for that somewhere?

Do you have a link for that somewhere?

https://docs.djangoproject.com/en/2.0/releases/2.0/#third-party-library-support-for-older-version-of-django

@atodorov do you think you could add  # noqa for your deprecation warning branch?

do you think you could add # noqa for your deprecation warning branch

@Natim can you be more precise? Do you want a noqa for the import warnings statement or something else 'cause I don't see flake8 complaining on my end ?

You are right it is not #noqa it is # pragma: nocover for the coverage report.

@Natim what do you think about the latest changes ?

Thanks for your work on this @atodorov :)


feat: add interval field to AnnounceHostRequest

Description
Add interval field to AnnounceHostRequest, so that scheduler can detect peer survivability and clear offline peer metadata.
Related Issue
https://github.com/dragonflyoss/Dragonfly2/issues/3350

Add interval to. proto/scheduler.proto for Rust client.

Done. Please review it again, thanks.

Update crate version in Cargo.toml.

Done @gaius-qi


TypeError: 'type' object is not subscriptable

Hi @mtasic85
I am getting TypeError: 'type' object is not subscriptable error when I try to call ./qjs-cffi -h
~/qjstest$ ./qjs-cffi -h
Traceback (most recent call last):
  File "local/quickjs-cffi/autogen.py", line 87, in <module>
    class CParser:
  File "local/quickjs-cffi/autogen.py", line 203, in CParser
    def pop_processing_context(self) -> dict[str, list[dict]]:
TypeError: 'type' object is not subscriptable

Could you please help me get it running? It's a very interesting idea to create modules for QuickJS using FFI.
Thank you.

Hi @nesbox
Make sure that you use python 3.10.

Just installed Python 3.10
~/qjstest$ python --version
Python 3.10.7

Got the same error, unfortunately I'm not familiar with Python :(

I tried all the Python versions without success :(
Any other ideas?


[ODS-6356] matrix.StandardVersion added in action-download-artifact Name

latest version (v4) of actions/upload-artifact doesn't allow updating same of artifact folder https://github.com/actions/upload-artifact?tab=readme-ov-file#breaking-changes. Build for each standard now needs to be in a separate upload folder. This PR addresses the update to publish artifacts build to publish from each artifact folder.


Cleaned out or moved mapbox dependencies

Coverage decreased (-2.5%) to 37.685% when pulling 6b392bc6f3d245be214d22b7f3dc70d395952810 on bjornreppen:mapbox-cleanup into 6797d4e3c51cc9fe9415dab1ecc7af4c0bb919dc on Artsdatabanken:master.


testing a travis build step to verify CSS

DAMN IT! I'm sorry but I just don't know how to get travis/bash working the way I need to in this. Essentially the whole issue is caused by clean-css-promise deciding to override its base implementations decisions https://github.com/shinnn/clean-css-promise/blob/master/README.md#class-cleancsspromiseoptions
clean-css dangerously ignores these errors but clean-css-promise doesn't that means that the build process doesn't fail on our side but the downstream minification breaks on the consuming apps.
I have a right mind to open an issue / PR on clean-css-promise and bring it up there but I'm kinda maxed out at the moment.

Closing this until I can come up with a better solution 👍


Request to make Jenkins job permissions configurable

https://github.com/adoptium/ci-jenkins-pipelines/pull/154
https://github.com/adoptium/ci-jenkins-pipelines/pull/155
These 2 PRs introduced changes specific to Adopt that do not apply to other consumers of the Jenkins pipelines. Can these be reworked to be configurable via the defaults.json file? Minimum would be a boolean but ideally also moving the hardcoded team name(s) into the config file.

theoretically authorizationMatrix can be applied per jenkins instance from "global config"
so these will be IaC as part of the controller


How to package different JARs based on different classes?

I have a question regarding sbt package.
When I want to deploy the jobs to Flink, I have to submit the each of the job as a JAR.
For example, if I have several different jobs under the module: org.example:

WordCount
SocketTextStreamWordCount
WikipediaEditMonitoring
etc...

My question is: how to package the jobs to each of their separate JARs, so that I can submit each of the jobs to Fink separately, like:

WordCount-%version.jar
SocketTextStreamWordCount-%version.jar
WikipediaEditMonitoring-%version.jar
etc...

More specifically, how to configure the build.sbt or set up the sbt project structure?
For example, in the Apache Flink, there is such flink-examples-streaming module and its pom.xml is here: https://github.com/apache/flink/blob/master/flink-examples/flink-examples-streaming/pom.xml .
Inside its pom, there is a maven-jar-plugin, and it has several different executions for each of the example.  Inside each execution, its corresponding program-class and included files are specified.  Therefore, each execution is going to generate a single JAR file for this individual job.
I would like to know how to do such thing in sbt.
Many Thanks.
sbt version: 0.13.13

We use GitHub issue mostly to track bugs and discuss feature or bugs on sbt.
If you need help, please check this out - http://www.scala-sbt.org/community.html#how-can-I-get-help


Beam centre getting increasing number of calls

When running Hyperion we're getting increasing logs like https://graylog2.diamond.ac.uk/messages/logs_8609/4d842b50-b468-11ee-a034-1866dafadc6c
As in the first run will give one message and the second two etc.
This is likely due to a callback being added somewhere everytime Hyperion is run.
Acceptance Criteria

The callback is only ever added once
There is a test for this

It looks like this is caused by a callback being subscribed on wait_for_connection rather than in init, in OAV

The fix for this is on I03 now. I'll keep an eye on the logs to make sure it's actually fixed


manage LaunchAgent plist file in app via menu item

I'm not sure why I avoided it, but instead of generating a plist file for the user to place at ~/Library/LaunchAgents/com.progrium.Topframe.plist via command line, there should just be a menu item for "Start at login". We'd check if that plist file exists to "checkmark" that menu item. On click, if not checked, it would write that file. If checked, it would delete the file. I know that would remove any edits made to the file, but I don't know of another simple way to do this. Maybe that's why I wanted the user to manage it in the first place. However, I think the convenience for the common case is worth it.

Ok


fix(interactive): fix dead lock caused by write lock

What do these changes do?

Related issue number

Fixes
https://github.com/alibaba/GraphScope/issues/3450

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

Comparison is base (0435bb8) 40.90% compared to head (1beb3b7) 40.90%.
Report is 2 commits behind head on main.

Additional details and impacted files

@@           Coverage Diff           @@
##             main    #3459   +/-   ##
=======================================
  Coverage   40.90%   40.90%
=======================================
  Files         109      109
  Lines       11343    11343
=======================================
  Hits         4640     4640
  Misses       6703     6703

Continue to review full report in Codecov by Sentry.

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


Increase tests coverage

Now that nosetests are running and the master branch will be hopefully changed less, we can think about increasing test coverage. After running nosetests, you get a display of the test coverage (currently 68% in Python 2.7) together with the missed lines in the code. So it is straightforward to read those lines and add tests that cover the functionality in these parts of the code, or to remove the code in case it is obsolete and was simply forgotten to remove.

Working on that right now

I have reached 80 % now
The main areas where code coverage is poor are widgets and lockbox.
Actually, it's easy o increase the coverage of widgets by simply creating them in some unittest, however, this is a bit artificial since we don't really test that the widget is actually working. I guess we could make a series of automatic tests on every single attribute_widgets (for instance, making sure that pressing the up/down button is really changing the value or this kind of things)
Before moving forward, another question I have is about the status of PyQt with Travis. It's working fine right ?

80 % already sounds cool.
Lockbox will be dealt with sometimes next week.
For the widgets, I think a unittest that creates all widgets is still a good idea, basically to make sure that no errors occur at the startup. One could even intercept all logger messages and assert that no errors or warnings are issued during startup. The further tests that you propose are welcome, too, of course. W.r.t. increasing/decreasing values, I am not sure that is straightforward since a lot of values are expected to saturate etc. Also, maybe it is easier/faster/more straightforward to create and somehow record a clicking sequence (by hand) that opens all widgets and does exactly what a human would typically try, and insert assertions on the module values/status at breakpoints of this sequence. Not sure what tool to use there, but I bet there are one or two alternatives out there.
PyQt seems to work fine with Travis, there is no "exclusion" or whatsoever on travis. The only relevant lines are for startup of the display service:
# starts gui support, see https://docs.travis-ci.com/user/gui-and-headless-browsers/
- sh -e /etc/init.d/xvfb start
# give it some time to start
- sleep 3

OK, I am on it right now.
For the widgets, I set every NumberAttributeWidget to (min + max)/2 then

make sure there is less than 0.001 relative error.
click KeyUP for 0.1 seconds, make sure value has increased
click KeyDown for 0.1 seconds, make sure value has decreased

--> I am already finding some bugs here and there with that test.

maybe do KeyUp for a little longer, i.e. 0.2 seconds (the timeout for continuous increase is 0.1 s right now).

@SamuelDeleglise by the way, I also get nosetests errors from the other recent tests in python 3.4, are you aware of those?

I am running the full tests again on my current commit (82% cover).
I found 3 errors with test_load_save that I corrected, and 1 error with the latest test_attribute_widgets.
Unfortunately, I cannot reproduce the last error quickly because it doesn't happen when launching test_attribute_widgets alone, however, I will have to go to catch my flight to Iceland soon. I will be back next saturday... Cheers,
Samuel

ok cheers nice holidays!


The name...

I'm sure you already know, but "Skit" means "Shit" in Swedish.
No matter how good the framework is, you would have a very hard time convincing your boss/project manager to go for this lib.. just saying..

thanks for reporting — going to leave it open in case any other bugs get filed, but I am not going to rename everything just yet. :)

No matter how good the framework is, you would have a very hard time convincing your boss/project manager to go for this lib

You mean:

No matter how good the framework is, you would have a very hard time convincing your Swedish boss/project manager to go for this lib

Luckily, mine isn't Swedish :grimacing:

I actually though it was an April Fools joke or something similar to DICSS. It felt to good to be true sometimes when reading the homepage. I had a hard time to not laugh :)

Considering how I feel when it is time to setup another monolithic framework for a new job, the name is completely appropriate. Great work mate.

At least you get publicity. This framework seems to be spreading like wildfire on swedish chatrooms/forums.

This is wonderful, I always felt that JavaScript was crap, now I can use a framework that acknowledges this!

Haha, good name :)

I disagree with @madr. Skit feels warm, soft and natural. It is clear that the name has gone through a rigorous mental digestive system.

:100: :hankey: :+1:

Seems like a good name to me, rolls off the tongue. Skit'r done.

"Poop" is actually just "poop" in Swedish, however "feces" is "avföring". #TheMoreYouKnow

I also thought this was a joke: "What is skit?", "What's skit made of?", "See skit in action" :D.
I'm from Finland, Sweden is our second official language.
Good to know this is for real. Yet I'm still not 100% sure if I'm getting fooled :)

@bmull Seeing as it's a highly relevant topic, I have to clarify that "poop" is actually "bajs" in Swedish.

This really ought to be closed with a feature, not a bug tag.

@jonahx if I do that, it tends to pop up again when someone else reports it. any way to prevent that?

Oh I was just making a joke.  Not sure what the real answer to your question is, but keeping it open seems fine.
On Jul 9, 2015, at 8:56 AM, Taylor Hughes<EMAIL_ADDRESS>wrote:

@jonahx if I do that, it tends to pop up again when someone else reports it. any way to prevent that?
—
Reply to this email directly or view it on GitHub.

@jonahx oh, I ruined your joke. poop.

http://translate.google.com/#auto/en/skit

@pakastin did you mean http://translate.google.com/#sv/en/skit ? "auto" defaults to english for me

Oh, I didn't realize it varies.. :)

"skit" could be translated to "shit", but when I read "clusterinc/skit", it for me translates more into "crap", kind of like junk.
But keep the name, it draws attention.
/A swedish guy


Recover buffer position after reset

Name/Affiliation/Title
Ella Ferraz/UCSC
Purpose of the PR
Refer to issue #69
Development Environment
Ubuntu 20.04.6 LTS
PlatformIO Core, version 6.1.16
Hardware: 2.2.1
Test Procedure
To verify the functionality of data retrieval from FRAM after power outages, follow these steps:

Run example_retrieve_data

Upload and run example_retrieve_data on the STM32 board. This will initialize the system and write sample data to the FRAM buffer.

Simulate Power Outage

After the initial setup, manually remove power from the STM32 board to simulate an unexpected power outage.

Reconnect power to restart the board.

Alternatively:
Press the Restart button on the STM32 board to simulate a power cycle without physically disconnecting power.

Expected Behavior on Reboot

Upon reboot, the program should retrieve the saved read_addr, write_addr, and buffer_len states from FRAM.
Pressing the Restart button should add additional test data to the FRAM buffer, confirming that data integrity and buffer states are preserved across power cycles.

Unit Test

The test_LoadSaveBufferState function verifies that read_addr and write_addr in FRAM accurately reflect buffer states before and after simulated power outages.

This unit test ensures that the buffer state is correctly saved and reloaded, maintaining data continuity across restarts.

Additional Context
The unit test for this feature validates the implemented methods at a software level when the "Restart" button is clicked. It ensures that the buffer state (read_addr and write_addr) accurately reflects data continuity across simulated restarts.
For a full testing procedure, including power cycle simulation, please refer to the Test Procedure section.
Task List

[ ] Update CHANGELOG.md
[ ] Static code analysis passes
[ ] All environments can be built
[ ] All tests pass
[ ] Clear documentation for new code
[ ] Linting passes
[ ] (If applicable) Version bump python library

Relevant Issues
Closes #69

Try merging upstream changes from release/2.2.0 and it should fix the build errors.


Revert temporary removal of support-analytics trigger

Context
AB#229444 AB#229443 AB#229868 #1381
Change proposed in this pull request
Reverts previous planned change. To be merged once dependent environments stable following removal of dashboard-related resources.
Guidance to review
Reverts 191e6c204bcfb460748d5551189e96471ada14dd
Checklist (add/remove as appropriate)

[x] Work items have been linked (use AB#)
[ ] Your code builds clean without any errors or warnings
[ ] You have run all unit/integration tests and they pass
[x] Your branch has been rebased onto main
[ ] You have tested by running locally

Think this is good to go now?


Read only intent for Invoke-DbaSqlQuery

Feature Request
Ability to execute read only queries against secondary replicas
Problem to solve
Neither Invoke-SqlCmd , Invoke-SqlCmd2 nor Invoke-DbaSqlQuery seems to support the read only application intent at the moment. I would like to be able to choose which replica to run the query against without the need to explicitly check.
Additional information
I was thinking of adding -ReadOnly parameter to Invoke-DbaSqlQuery  rather than piping in filtered results from Get-DbaAgReplica ( or something similar which could get rather complex very soon).  Connect-SqlInstance and Invoke-SqlCmd2 would have to be modified to use read only application intent.
Connect-DbaInstance already implements -ApplicationIntent parameter.
Would it be worth adding MultiSubnetFailover to the connection string too?

guess is a fix for connect-dbainstance more than any other function.
We can't really support every param combination in each function, so if you need "detailed" parameters, your scenario will be
$conn = Connect-DbaInstance .....
Invoke-DbaSqlQuery -SqlInstance $conn

@niphlod is correct on this one. If you need a custom connection property the implemented path is to create your connection first and then pass that connection to the command. The Connect-DbaInstance supports both ApplicationIntent and MultiSubnetFailover.
Invoke-SqlCmd2 utilizes System.Data.SqlClient to make connections. So if you need a custom connection property for that command you would have to pass in that full connection string via SQLConnection parameter.
In reference to ApplicationIntent for Invoke-SqlCmd...we tried to get it added but did not get enough votes or attention. I'm not sure they still utilize Trello so if you want to submit user feedback through the new site you can prompt getting this parameter added there.

I will give it a go but I'm not sure if this will be that simple. I was hopging to be able to run a query against all of the databases in my cluster which hosts multiple AGs. The connection string has to be decided on a database level if we cannot use the correct listener with ReadOnly intent. I'll do some testing when I've got a moment and will post an update here.
As always, thanks for your input, @niphlod, @wsmelton. Much appreciated.

There is a command in the module that will output a connection string, can't recall name. That may help in the process.

It took me a while to get annoyed enough with that parameter not being there to actually do something about it. I have created a pull request with a proposed solution.
There is one small problem, I cannot figure out a way to easily unit test it, without requiring an AG cluster for the test. I don't think there is a way to check from the connection point of view if the connection is actually with read only intent.
And I don't see how one could expose ConnectionContext from Invoke-DbaQuery.
Please let me know what you think.

Since this was left open with a Feature tag and not closed, and in light of the comments made by @wsmelton on the PR #4893 I will try to make my case again here.
As it was pointed out it is possible to create a new read only connection with Connect-DbaInstance -ApplicationIntent ReadOnly and then pass it to the Invoke-DbaQuery. But when you use it a lot, it becomes cumbersome, in scripts it takes too much space for something that could be more elegant to write and read.
Invoke-SqlCmd2 is gone, so the option of using that no longer exists. The only alternative I see is to modify Invoke-DbaQuery and this is using the internal Connect-SqlInstance. I see that the change I made  is causing problems with SQL Authentication. I'll see if that can be resolved, perhaps (my) testing improved. Or is there another way? I think that would require changing how Invoke-DbaQuery works, perhaps make it use Connect-DbaInstance instaed of Connect-SqlInstance?
And is this really a feature issue still open, or should be closed as won't implement?

Invoke-Sqlcmd2 is not gone, it still exist in the module. Not sure why folks think it is, but we did not create Invoke-DbaQuery to replace it; only to simply have a version that matches our standard and that we can expand on. Sqlcmd2 is the original version from the repository in sqlcollaborative/invoke-sqlcmd2.

That problem with SQL Authentication was a line of text (not even code) which I accidentally left in the file. Sorry, I'm a bit out of practice when it comes to debugging this dbatools. But to see how would that work I have removed the changes from the Connect-SqlInstance and used instead Connect-DbaInstance in the Invoke-DbaQuery. It all appears to be working... can you think of any unexpected side effects? @potatoqualitee it looks to be even simpler solution than modifying connection strings, it's done in the Connect-DbaInstance too.

We originally had a rule that we would not use Connect-DbaInstance (public command) within any command.

A fascinating rule, what was the reason behind it?


[NEW] Verify email on sign up

Email verification should be necessary for sign up to restrict the use of fake email address.

Duplicate of: https://github.com/RocketChat/Rocket.Chat.Android/issues/693


pull request for e2e test at 11/21/2016 13:26:05

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

optest/docs/updated_at.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


esutil BulkIndexer Body ReadSeaker is incompatible with JSONReader

I like that the library provides some convenient way to do bulk indexing data.
I think with v8 the BulkIndexerItem.Body has been changed from Reader to ReadSeeker interface for better performance.
This makes it very hard to use the library in a efficient way, even the provided JSONReader is now incompatible.
Setting the body becomes pretty hard with native packages using the Reader interface.
Now we have to buffer/cache the data a lot of times, just so it gets wrapped into the ReadSeeker interface, i am in doubt if this makes it really more efficient.
However, this is not working anymore:
esutil.BulkIndexerItem{
    data: esutil.NewJSONReader(data),
}

instead, i need to do it manually:
indexerData, err := json.Marshal(&cloudEvent.Data)
    if err != nil {
}
esutil.BulkIndexerItem{
    data: bytes.NewReader([]byte(indexerData))
}

Hi @project0
Thanks for raising this, that change was more to align the existing API with the behavior of the indexer rather than a performance optimization.
I do have received parallel requests for a different version of the bulk indexer which I think fits more the use case you are asking for.
This indexer wouldn't keep in memory the sent items beyond the request and would not have per item callbacks. More of a fire&forget type of indexer.
Would you be interested in that ? Let me know what you think!

@Anaethelion my use case is pretty simple. I am just receiving a stream of event data (currently via http requests, hopefully eventually via kafka, etc..) and need to ingest into elasticsearch.
I am not sure what you mean with fire & forget, but i find the per item callback useful to catch and log errors for single items.


Bug: kusion generate cmd generate incorrect format for customized namespace

What happened?
When adding
extensions:
- namespace: xxxx
- kind: kubernetesNamespace to project.yaml, kusion generate command will generate a yaml file with - id: 'v1:Namespace:' on the 2nd line.
What did you expect to happen?
The accurate format for the customized namespace of this yaml file generated by kusion generate command should be - id: v1:Namespace: X, with no single quote, and has the namespace at the end.
How can we reproduce it (as minimally and precisely as possible)?
Add extensions: - namespace: xxxx - kind: kubernetesNamespace to project.yaml, and try kusion generate command afterwards. Check out the 2nd line of the generated file to review this bug.
Anything else we need to know?
No response
Kusion version

$ kusion version
# paste output here

OS version

# On Linux:
$ cat /etc/os-release
# paste output here
$ uname -a
# paste output here

# On Windows:
C:\> wmic os get Caption, Version, BuildNumber, OSArchitecture
# paste output here

Install tools

Thanks for your feedback! We will attempt to reproduce the issue, and if it indeed exists, we will fix it in the next version.

It seems that the problem is due to the unclear documentations of customized namespace in project.yaml and stack.yaml. In fact, the configuration items for customized namespace should be as follows:
# Example `project.yaml` file with customized namespace of `test`.
name: example
extensions:
    - kind: kubernetesNamespace
      kubernetesNamespace:
        namespace: test

The customized Namespace resource will be generated correctly if we configure as the example above. And I have updated the relevant documentations in this PR.


Add dockerfile during release

Currently, the dbt release flow:

adds a requirements file to the dbt repo here
uploads a new image to Docker Hub here

It does not:

add a new dockerfile here

This gives the appearance of our not maintaining docker files / images for each version of dbt, when that's not true. We should either:

add a dockerfile to the release commit
if that's not possible, consider removing dockerfiles from the dbt repo, and instead redirecting community members to use the images

As possible, let's also backfill the missing dockerfiles for v0.17.0 through v0.19.0

As possible, let's also backfill the missing dockerfiles for v0.17.0 through v0.19.0

Update: Per @kwigley's suggestion, we should just maintain the single simple Dockerfile in dbt, not tied to any one specific version. For clarity, we should remove the older versioned Dockerfiles.
We should continue to publish requirements.txt that are specific to each version.

Update: Per @kwigley's suggestion, we should just maintain the single simple Dockerfile in dbt, not tied to any one specific version. For clarity, we should remove the older versioned Dockerfiles.
We should continue to publish requirements.txt that are specific to each version.

@jtcohen6 thanks for the bookkeeping 😄

@jtcohen6 thanks for the bookkeeping 😄

are thoses USER_ID and GROUP_ID supported for the old tags like 0.18.1 ?

are thoses USER_ID and GROUP_ID supported for the old tags like 0.18.1 ?

Cleaned up docker resource in the dbt repo here https://github.com/fishtown-analytics/dbt/pull/3019
Still need to update the dbt-release scripts to use dockerfile in the dbt repo for building and pushing a docker image for releases.

Cleaned up docker resource in the dbt repo here https://github.com/fishtown-analytics/dbt/pull/3019
Still need to update the dbt-release scripts to use dockerfile in the dbt repo for building and pushing a docker image for releases.

are those USER_ID and GROUP_ID supported for the old tags like 0.18.1 ?

@edbizarro are you referring to the development docker image?
https://github.com/fishtown-analytics/dbt/blob/1f927a374c8bd52a12a20d892fed9d59cffd04f4/Dockerfile#L53-L57
If so, I believe the answer is yes.
The Dockerfile we use to publish dbt as a docker image to Docker Hub can be found here https://github.com/fishtown-analytics/dbt/pull/3019/files#diff-f34da55ca08f1a30591d8b0b3e885bcc678537b2a9a4aadea4f190806b374ddc.
Does this help with your question?

are those USER_ID and GROUP_ID supported for the old tags like 0.18.1 ?

@edbizarro are you referring to the development docker image?
https://github.com/fishtown-analytics/dbt/blob/1f927a374c8bd52a12a20d892fed9d59cffd04f4/Dockerfile#L53-L57
If so, I believe the answer is yes.
The Dockerfile we use to publish dbt as a docker image to Docker Hub can be found here https://github.com/fishtown-analytics/dbt/pull/3019/files#diff-f34da55ca08f1a30591d8b0b3e885bcc678537b2a9a4aadea4f190806b374ddc.
Does this help with your question?


Create a generator script that takes certain variables and updates yaml files

like cluster name, cluster trust domain etc.
could be a simple go command line application.

This will also mean injecting the default values of all the environment variables in all projects as yaml entries, so that it will be easier to parse and override.

kustomize can  be a tool for that since it is Kubernetes-native already.

For other things like version numbers etc, something like
make VERSION=v0.6.2 build

would suffice I think.

No need to make things complicated.
I added some shell scripts under ./hack/* to save the day.
I am not going to add further customization scripts or tooling until I feel the pain.


How are images to be loaded onto the Badger2040w?

I have not yet figured out how to load image files onto the Badger2040w and get them to display.
Steps I have taken:
-I read the readme within /examples/image.py """"Images must be 296x128 pixel JPEGs   Create a new "images" directory via Thonny, and upload your .jpg files there."""
-I created what I believe to be a 1bit, 296x128 pixel .jpg image file.  The same file as attached.
-I loaded said file into the /images folder alongside the /images/badgerpunk.jpg file, and got the message, "JPEG: could not read file/buffer. JPEG: could not read file/buffer."
-I have also loaded the image in other locations that did not follow the readme, but have had no success as well.
-I have also separately tried changing which extra data is saved and tried saving the image as grayscale when extracting the image from GIMP.

What's the code you're using to attempt to load the image?
Does a regular open("/images/filename.jpg") work?

As instructed in the readme, and as I am used to using with MicroPython, I loaded the image file using the graphical interface included in Thonny.

What's the code you're using to attempt to load the image?
Does a regular open("/images/filename.jpg") work?

That open line is Python code. For example: open("/images/badgerpunk.jpg") should work in your current setup.
After uploading the file, so should open("/images/CatTree01.jpg") and using the JPEG decoder: jpeg.open_file("/images/CatTree01.jpg")

I recreated the steps I took in this video.
https://youtu.be/Q-kZRGcYm40

If you're still having trouble - it might be worth checking that you're saving your .jpgs as non progressive? The image you posted above didn't work for me, but this one (opened in GIMP and exported without the progressive flag ticked) seems to work OK:


Duplicate Contextmenu

Is there any known issues that would cause duplicate context menus?

Script was included twice, causing to initialize twice


feat: migrate product service to java

Purpose

Migrate product-service from Rust to Java
https://github.com/Azure/AKS-Landing-Zone-Accelerator/issues/76

Does this introduce a breaking change?

[ ] Yes
[x] No

Pull Request Type
What kind of change does this Pull Request introduce?

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Documentation content changes
[ ] Other... Please describe:

How to Test

Get the code then run the containers locally:

docker compose up

Test the code

Test product list through store-front: http://localhost:8080/
Test product creation through admin ui: http://localhost:8081/

What to Check
Verify that the following are valid

Products are listed correctly
Products can be created

Other Information
n/A

Thank you for your contribution. We're in the middle of updating a substantial amount of Azure docs based on this demo. It's not a good time to make any meaningful changes. We will have to hold off on bringing this into the demo.
I'm not sure that we want to remove what we have now. I would suggest making this an optional deployment. There could be a separate java product service and a markdown guide on how to use it. Just a suggestion.

Just added a new commit that makes this an alternative, separate service implementation as per your suggestion. 😊

@aymenfurter   Thank you so much for this effort.
Unfortunately, the product service has continued to evolve (as has the rest of the project) as it is used to demonstrate more use cases.
We don't have the resourcing to maintain the Java version alongside the rest of the application, but would be happy to help you establish the java version in its own repository and help create updated configuration files (manifests/helm charts/etc) that could swap out the Rust-based version for the Java one.
If you wanted to do so, you'd need to update the APIs to also take the following routes:

/ai/health (GET and HEAD)
/ai/generate/description (POST)

Those routes would proxy requests through to the AI service (if available).  That change allows for a simpler reverse-proxy configuration for ingress (as opposed to the dev server/node-based proxy that was initially used).


Broken link

[Enter feedback here]
The link for learning more about deploying Remote Assist is broken.

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

ID: 5d114e81-25d6-54b1-47f3-68305840b8f8
Version Independent ID: 585f1e1a-4d76-27e4-a1b9-4976f413cc9b
Content: Requirements for Dynamics 365 Remote Assist - Dynamics 365 Mixed Reality
Content Source: mr-docs/remote-assist/requirements.md
Service: crm-online
GitHub Login: @sophiasysun
Microsoft Alias: sopsun

Hi all, I no longer work on this team - please follow up with @Amara @.***> instead.
From: Bishal Goswami @.>
Sent: Thursday, June 10, 2021 6:00 PM
To: MicrosoftDocs/dynamics-365-mixed-reality @.>
Cc: Sophia Sun @.>; Assign @.>
Subject: Re: [MicrosoftDocs/dynamics-365-mixed-reality] Broken link (#61)
Assigned #61https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fdynamics-365-mixed-reality%2Fissues%2F61&data=04|01|Sophia.Sun%40microsoft.com|05ad2341198c4d2616cb08d92c744cb3|72f988bf86f141af91ab2d7cd011db47|0|0|637589700295604156|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=3uMiwaMmUHBEa5V1akRtxLLaegLBm2K58J8JQ8Z8APQ%3D&reserved=0 to @sophiasysunhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fsophiasysun&data=04|01|Sophia.Sun%40microsoft.com|05ad2341198c4d2616cb08d92c744cb3|72f988bf86f141af91ab2d7cd011db47|0|0|637589700295604156|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=9QkacOfZRSyfkvdah9zqAV%2FSnUPnibAbaDmAQCshDK8%3D&reserved=0.

You are receiving this because you were assigned.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fdynamics-365-mixed-reality%2Fissues%2F61%23event-4875050734&data=04|01|Sophia.Sun%40microsoft.com|05ad2341198c4d2616cb08d92c744cb3|72f988bf86f141af91ab2d7cd011db47|0|0|637589700295614115|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=eAEYeSt3WbI9scEDQeSzMBdj2LL%2BpD7TF08TdS6KSkM%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAE5DFWAZRSRJVDXZH5724YLTSFN2TANCNFSM46PRIJ3A&data=04|01|Sophia.Sun%40microsoft.com|05ad2341198c4d2616cb08d92c744cb3|72f988bf86f141af91ab2d7cd011db47|0|0|637589700295614115|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=YTnXoS5a%2FogttxFgKXfueU%2BDqrXlpTnXyq%2FHqjMA5TA%3D&reserved=0.

Fixed


[ListItem] Apply paddingRight to automatic expand icon

PaddingRight is not added to the rightIcon when an automatic right icon is created by nested items
Normal

Create a ListItem
Add a full-width child like a <Slider />
Add a rightIcon
Observe that the slider shrinks slightly

Issue

Create a ListItem
Add a full-width child like a <Slider />
Add nestedItems, which will automatically add a rightIcon for the expander
Observe that the slider does not appropriately shrink to leave room for the expander icon

Before:

After:

@thehig That's a good catch!


Please make the container image public and provide some examples

Description
Currently the GCR repository isn't public:
❯ docker pull gcr.io/cloud-sql-connectors/cloud-sql-auth-proxy:2.0.0-preview.0

Error response from daemon: manifest for gcr.io/cloud-sql-connectors/cloud-sql-auth-proxy:2.0.0-preview.0 not found: manifest unknown: Failed to fetch "2.0.0-preview.0" from request "/v2/cloud-sql-connectors/cloud-sql-auth-proxy/manifests/2.0.0-preview.0".

❯ docker pull gcr.io/cloud-sql-connectors/cloud-sql-auth-proxy:latest

Error response from daemon: manifest for gcr.io/cloud-sql-connectors/cloud-sql-auth-proxy:latest not found: manifest unknown: Failed to fetch "latest" from request "/v2/cloud-sql-connectors/cloud-sql-auth-proxy/manifests/latest".

Also, the public documentation mentions $VERSION should be used as image tags. However, it is unclear what format $VERSION should be (with the leading v like the Git version tag, or without?). Some examples would make this a lot clearer.
Solution
Please make the GCR repo public and provide some examples to clarify the doc.
Additional Context
Please reference any other relevant issues, PRs, descriptions, or screenshots here.

Would you mind trying one more time?
docker pull gcr.io/cloud-sql-connectors/cloud-sql-proxy:2.0.0-preview.0
docker pull gcr.io/cloud-sql-connectors/cloud-sql-proxy:2.0.0-preview.0-alpine
docker pull gcr.io/cloud-sql-connectors/cloud-sql-proxy:2.0.0-preview.0-buster

I just tried from my non-work account and saw all three pull successfully.

Yep, that works for me. Thanks

Thanks for helping fix this @tcnghia. Sorry for the trouble.


Re-generate the CRDs and CSV

... using make update-crds update-csv
Signed-off-by: Stephen Kitt<EMAIL_ADDRESS>

It looks like an infra failure while uploading artifacts?
/retest

/retest


Adding features section

Adding features section instead of frequently asked section in home page as Frequently  asked questions already have a separate page .
Please assign me this issue under gssoc'24 EXTENDED, hacktoberfest and also give me the level

@BVaishnavi15 make sure to join the discord server