revert to an assertion value of 0.57 in the function test_run_ppmi_ls…

…a_pipeline
Based on this comment -> https://xcs224u-scpd.slack.com/archives/CTD43MFUJ/p1582832331041400

It seems like

In the Feb 26th commit, the assertion value in the function test_run_ppmi_lsa_pipeline reverted to 0.16.


Implement plugin UI and support user params

We should expose params as a global samplePluginParams in a plugin. We can accept boolean or number params. Not sure if we should specify ranges or not.
The params should remain editable if a plugin unloads so they can be fixed before reloading.

All sampleparam numbers are values between 0 and 1

Plugins can return either AudioBuffer or AudioNode. If the return value is an AudioNode we pipe it to a ScriptProcessorNode that records the output.
We also need to enforce for samplePlugin that the length of the output is the same as the input. Otherwise it gets complicated to track duration.

I decided not to enforce that the returned audiobuffer needs to have the same length. This would proclude that a plugin that could, for example, timestretch audio, which might be desired.
In order to make this all work, I need to remove the duration cached field, which can be computed at runtime, and replace it with a pluginDurationCoefficient which can be multiplied against the duration to get the untrimmed duration of the processed sample. Whenever this coefficient changes we also need to update the trim frames to a rounded new value as a function of the ratio between the old and new coefficients. One advantage of storing this ratio is that it makes it simpler to decide later to apply plugins post-trim, but to start we can apply plugins before any other processing.
Plugins will be javascript files and we can use their filename as the plugin name. We can uniquely identify plugins with a content hash.
We will need a plugin indexeddb store that includes ids (hashes), filenames, and file content. We can validate hashes against their content after lookup as needed. The plugins should be included in a subdirectory of the export zip.
To the sample metadata, besides the coefficient in the cachedData we will want to add a list of plugins. It can include filenames (unused for lookup but helpful for reading), id hashes, and plugin params for each plugin.
Finally perhaps as a runtime field on the SampleContainer we might want a field for checking if there are any broken plugins. We will avoid allowing playback or transfer until the plugin is fixed or removed.

For demo sample transform plugins we can have four:

A simple gain control that allows variable gain adjustment (done by iterating over audio buffer), exposes a gain parameter.
One demonstrating the use of an embedded third party library Kali timestretch on the Audio Buffer content to implement Varispeed, exposing a speed parameter: https://github.com/Infinity/Kali
One using Web Audio API to implement a simple reverb with a convolver node
One using Web Audio API to implement a pipeline of effects (filter, compressor, delay)

Other things left to consider are graceful updates when new samples are imported (for names, replacement, params in UI, params in code) to make sure nothing breaks. And we also want to handle batches of many samples sent to the iframe at once (probably)

When we import a new plugin, we save the filename to a variable PLUGIN_NAME
Now we check if the PLUGIN_NAME exists in the store.
label CONFLICT_RESOLUTION: If the a plugin with the name PLUGIN_NAME exists already:
If the content hash matches the existing plugin:
We tell the user that the plugin is already added.
Exit.
If the content hash does NOT match:
We ask if they want to RELACE the existing plugin or else ADD NEW.
If they want to REPLACE:
  We have to go through all existing references to PLUGIN_NAME and update their plugin ids to the new content hash.
  Exit.

If they want to ADD NEW:
  Update PLUG_NAME to NOT match the previous filename.
  Continue.

Now we have a dialog for confirming PLUGIN_NAME and possibly updating it.
Now we check again if a plugin with name PLUGIN_NAME exists.
Go back to CONFLICT_RESOLUTION and repeat as many times as necessary.

For now I'm not implementing the import plugins yet and not supporting non-number params yet. We'll see what feedback there is from users.

What's left to do is:

I need to remove the duration cached field, which can be computed at runtime, and replace it with a pluginDurationCoefficient which can be multiplied against the duration to get the untrimmed duration of the processed sample. Whenever this coefficient changes we also need to update the trim frames to a rounded new value as a function of the ratio between the old and new coefficients.
To the sample metadata, besides the coefficient in the cachedData we will want to add a list of plugins. It can include plugin names and plugin params for each plugin.
The plugins should be included in a subdirectory of the export zip and re-instantiated on import. During import we may need to resolve duplicate plugin names, and if so, we will need to update the plugin names in the samples that use that plugin (unless we choose to replace the plugin).
When implementing the UI we need to make sure to display a plugin as broken if the getParams promise fails or if onError triggers.
We need to implement a UI modal for managing the list of added plugins (adding, removing)
We need to implement UI in the configure section for including or removing plugins on a sample, including sliders with direct input for each parameter (we might want to add the direct input to the other sliders while we're at it?), a dropdown for choosing from the list of available plugins, an option to go to the plugin management view, and some info on what plugins are and how they work. We might want all of this to live in a modal since it would make the main view kind of crowded, then we can show a brief plugin summary with parameters (non configurable) in the main view.
Plugin configuration (as well as clearing space on the volca) are things that should probably be accessible from other places than just contextual, but it's hard to know where. We need to think about this.

Fatal flaw of "pluginDurationCoefficient" plan is that it's dependent on the result of running the plugins which happens after the metadata changes, so it will cause the audio computation to run in a loop (possibly stopping after two times if we deal with updates intelligently). Also we will have the same problem with waveformPeaks because it will now rely on the plugin result instead of the source data. The simplest solution is to get rid of the cachedData property and store this data separately.
We could have all of this data returned by the getTargetWavForSample function. The src duration is trivial to have since we already read the source buffer (although at this point we still haven't used it, so we could drop it for now). The waveformPeaks can be computed from the plugin result during the function, and the final duration is easy to know by dividing the final samples length by the sample rate.
It's worth thinking about when each of these two pieces of data is needed. The cached duration is needed for estimating transfer time and file size before a transfer (before all the audio is computed). The cached waveformPeaks are needed by the WaveformDisplay (it also needs the normalize boolean, which we could cache along with the cached info so it's consistent).
There are a few times this cached data needs to be saved:

When we add a new sample (easy)
When the audio preview gets reloaded for WaveformEdit
When we bulk import samples

We need to make sure the SampleList knows when cached data is updated, and the thing that computes sample time, but ideally other parts of the UI aren't disturbed. So we might want a React Context for this.
The final sample metadata upgrade should just correct the old duration value by taking the pitch adjustment into account, save it, and pull that info out of the metadata.

So to address the previously mentioned issue, we'll need to create a new store sort of like SampleMetadata but called SampleCache. It will contain the cachedInfo property as well as a method called getTargetWavData (or similar) that either returns a cached copy of the wav data or recomputes it, saves it to the cache and returns it. The audio cache will be similar to the one for source file data. We will construct the object using cachedInfo, and its update method, which is async, will take a SampleMetadata, recompute the wav data, cache it, and return a new object with the new cached info.
The map from sample ID to cachedInfo will be managed at the top of the app like the regular samples. We will no longer use the react hook for getting target WAV data, and the getTargetWavData function should be called only from syro utils and from SampleCache.

A few other notes:

persist SampleCache only on update, not load
on sample duplicate we can persist the cached info but we copy the old SampleCache to the new somehow
we need to deal with deletion as well
tab sync needs to be accounted for
we can take this occasion to re simplify the trim property on the metadata

Looks like we can remove the normalizationCoefficient from waveform peaks, it's not always correct anyway. We'll just compute the sample peaks after normalization in the audio computation function.

We need to use a pluginless waveform peaks and duration as a backup when there is an error computing the audio. It's important to handle this case when first creating a sample (which will be the default since we won't have any plugins or pitch adjustment), as well as when importing samples (in this case we will try with plugins first, then fall back if needed).
Before I had mentioned maybe needing a property to flag that plugins failed to run. Instead of including this on sample metadata I will include it as part of cacheddata. It can be set on sample update or on import.

When multi transferring we need to handle an error case for failedPluginIndex.

Taken care of here https://github.com/benwiley4000/volca-sampler/issues/107


[BUG] Rocket stats all go to 0 when built

#1341  Version of Advanced Rocketry

1.6.0-160

Have you verified this is an issue in the latest unstable build

N

Version of LibVulpes

0.4.1-60

Version of Minecraft

1.12.2

Does this occur without other mods installed

N/A

Crash report or log or visualVM (if applicable)
http://pastebin.com is a good place to put them
crash reports that are put in the issue itself are
hard to read

N/A, on a server

Description of the problem

Have a 5x5 launch pad with a built rocket. Place and power a rocket assembler like normal.
Also have a structure tower. Build the rocket with the assembler. Stats all go to 0.

Forgot to add that it is on all the mods 3 remix version 1.4.9 if that helps

In the 2nd screenshot it also says there is no guidance computer while the rocket it built. (It does have one and with a satellite chip inside).

I should mention that the rocket doesn't launch when full of fuel and has the space station chip inside.
On the screen it says the destination is the space station


Update README.md

We have to update README.md for renamed python-hydra-agent->hydra-python-agent.

@Mec-iS kindly change the code in README. It hasn’t been changed from python-hydra-agent.

The README in master is correct. This issue is closed.

The link provided in the demos haven't been changed. Kindly take a look.
Specifically  --
git clone https://github.com/HTTP-APIs/python-hydra-agent.git should be
git clone https://github.com/HTTP-APIs/hydra-python-agent.git

Fixed


Controller is loaded twice

Submit a feature request or bug report

[X] I've read the guidelines for Contributing to Roots Projects
[ ] This is a feature request
[X] This is a bug report
[X] This request isn't a duplicate of an existing issue
[X] I've read the docs and NPM Debugging Guidelines post and followed them (if applicable)
[X] This is not a personal support request that should be posted on the Roots Discourse forums

I installed master branch.
I modified FrontPage controller to :
<?php
namespace App\Controllers;

use Sober\Controller\Controller;

class FrontPage extends Controller
{
	public function __construct(){
		echo 'test';
	}
}

(This code is only to see the problem, it is not "production code")
What is the current behavior?
On the frontpage, I see "testtest", Which means that FrontPage is instantiate twice.
What is the expected or desired behavior?
On the frontpage, I should see "test". Which means that FrontPage is instantiate only once.

Bug report

Please provide steps to reproduce, including full log output:
Just install sage with command  composer create-project roots/sage sage-master dev-master
Switch to this theme.
Maybe you should set a static page as homepage in WP settings.
Go to website url root.
I looked backtrace and a first loaded is due to soberwp/Controller filters : https://github.com/soberwp/controller/blob/master/controller.php#L107
and a second load is due to this apply_filters : https://github.com/roots/sage/blob/master/app/filters.php#L51
Copy of the sage issue : https://github.com/roots/sage/issues/2126

It's true that __construct is run twice, it was related to this issue;
https://github.com/soberwp/controller/issues/82
The reason was so that users could use __construct and have access to $post from there. This can only happen in this filter, add_filter($location, function ($data) use ($container, $class) {}, but I needed to init the class prior to that to get certain config options.
The solve would be for users to use the __before hook as that has been implemented in later versions, but this would be a breaking change for many users, although I agree it's the correct route.


(DO NOT MERGE) Testing bulk information pulls for IP Addresses

Hey All,
TL;DR:
My goal here is to make an efficient as possible pull for bulk data about IP Assignments.
Reasoning:
Calico's back-end is quite flexible, considering the number of front-ends (clients?) we have such as calico-docker, calico-mesos, etc. So far, I haven't seen any reason not to use multiple calico front-ends and/or other IPAM consumers against the ETCD datastore, barring the consistent use of the database driver, libcalico. However, with increased consumers, it would be nice to tell at a glance what is consuming what IPs. The most logically solution for this would be to include this data within the IP attributes.
Later on, Users could even include things like services, DC locations, etc, and the front-ends would be able to filter on those attributes.
Currently however, I've only found the means to pull IP attributes is singular (pycalico.ipam.IPAMClient.get_assignment_attributes). This would result the number of requests against ETCD to equal the number of IPs in question, which could get quite large. Thus, the trade-off here being the number of request versus the size of the request. My sample code code included is designed to limit the number of requests to 2 + # of blocks that are inside the provided CIDR.
So please, take a look and comment as to whether this idea is totally insane and without merit, or if I should continue working on it and adding tests/validation.
Thanks!
Josh

I can definitely see the value in being able to pull this data in bulk to use for diagnostic and operational reports.  I'll add a couple inline comments that will hopefully help steer your implementation.

Thanks for sanity check, @spikecurtis! I'll make the suggested changes and start in on tests, hopefully later tonight.

And by tonight, I meant 3 days later :/. Work keeping me busy.

Sorry for the delay, but work has me literally working until midnight every night. I likely won't be able to wrap this up until Sunday.

Again, sorry for my fantastic amount of slacking. I'll for sure be working on this over the next week.

Going to close this for now until I find the time for this. I've been piecemealing it, but not making real headway. Need a quiet day to just work through it. Hopefully I'll be back soon.


Add efficientnet backbone and pretrained models converted from tensorflow.

Add efficientnet backbone and pretrained models converted from Tensorflow (https://github.com/tensorflow/tpu/tree/master/models/official/efficientnet).

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: xiaojieli0903:x: lixiaojielixiaojie seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

Errors in the workflow show that "swish" can not be used.
It seems that mmcv used in unit tests is not the latest version, which supports using "Swish" activation. Is the installing package of mmcv is the latest version? @hellock

Please kindly resolve the conflicts with master.

@yl-1993  Hi, I have resolved the conflicts with the master branch. Please have a check.

@xiaojieli0903 Sorry for the late reply. It looks good to me, except the new conflicts with current master. BTW, it seems that CLA is not signed completely.
As I am not involved in this project for a while, I am not sure mmcls/models/backbones/efficientnet.py is still compatible with the master. Could you please take a look? @ycxioooong @wangruohui

@yl-1993 hi, thanks for your reply. I have signed the CLA and solved the conflicts. If any further changes need to be made to this MR, I am willing to cooperate with the modification.

Close this PR since the current PR has too many conflicts with the current version. Use #289 instead. Thanks.


[BUG] Spring Boot default login page missing links

Describe the bug
Following the tutorial https://learn.microsoft.com/en-us/azure/developer/java/spring-framework/configure-spring-boot-starter-java-app-with-azure-active-directory-b2c-oidc has a login page with 3 links:

To Reproduce
With the configuration:

It will create a login page with only 1 link:

1-) How can I create the links to profile-edit and password-reset?
2-) How can I customize the login page to use my look and fell?

Hi @aldosilva6 , Sorry for the late reply and we will take a look.
Please feel free to provide any additional information or context that you think may be helpful. We'll keep you updated on the progress of our review.
Thank you for your contribution to improving our project.


Updating Matplotlib notebook for novice course

Following on from #26, this updates the previous Matplotlib notebook 02-novice/072plotting.ipynb to build upon the introduction to the pyplot Matplotlib interface in the beginner course notebook, by introducing the object oriented Matplotlib interface. As part of this I have added quite a lot more explanatory text introducing the various objects and methods used and also changed the examples. The file name used to save an example figure to in the notebook has also been updated so I've also updated the clean target in the Makefile accordingly.
I have also added the Jekyll metadata to the 01-beginner/060MatplotlibPyplot.ipynb notebook that I believe is necessary for it to appear in the sidebar in the autogenerated HTML notes.
As the updated novice Matplotlib notebook now expects familiarity with both NumPy and object oriented programming, some rearranging of the ordering of the notebooks will also be needed, however I will defer that to a separate PR.

@dpshelio
The checks are failing due to an error when building the website
  Liquid Exception: Liquid syntax error (line 482): Variable '{{{exponent}' was not properly terminated with regexp: /\}\}/ in 02-novice/072plotting.html

I believe this is may be due to a clash between my usage of escaped braces in a format string here
f'$y = {coefficient} x^{{{exponent}}}$'

and the interpretation of braces by the Liquid templating language?
Not sure if this is something that can be resolved on the build side going forward by forcing code segments to be wrapped in {% raw %} tags; if so I'll make an issue.
For now I'll just remove the double braces from the format string as they're no longer actually needed (I'd earlier used negative exponents as well) and I don't actually explicitly introduce the syntax anywhere.

I missed another couple of usages of escaped braces in format strings, now fixed, 🤞 the build now succeeds...
I have also reverted the addition of the Jekyll metadata field to the beginner course Matplotlib notebook here, and instead created a new PR #31 with just this change.

Wow! Mixing python, latex, json and ruby! Yay!! {} for all, what could go wrong? :joy:
I think I've seen the raw tags in the carpentries material sometimes. But certainly something we will need to keep an eye in the future. Maybe we can have an issue with that problem and the possible work arounds.


[🐞] Cookie headers don't set if the page reloaded on dev-server

Which component is affected?
Qwik City (routing)
Describe the bug
Cookies set in server side such as loader$ or  onGet never set if using dev-server.
Looking into the source code, it seemed that the headers from cookies are ignored from response header generation.
https://github.com/BuilderIO/qwik/blob/14f3256dab95ae8f5ab336826cff28f6995e8225/packages/qwik-city/buildtime/vite/dev-server.ts#L100-L109
I've sent a PR (https://github.com/BuilderIO/qwik/pull/2835) to solve it.
Reproduction
https://stackblitz.com/edit/qwik-starter-k8umdt?file=src/routes/index.tsx
Steps to reproduce
Please check above link.
System Info
System:
    OS: macOS 13.1
    CPU: (8) arm64 Apple M2
    Memory: 83.48 MB / 24.00 GB
    Shell: 3.5.1 - /opt/homebrew/bin/fish
  Binaries:
    Node: 19.5.0 - /opt/homebrew/bin/node
    Yarn: 1.22.19 - /opt/homebrew/bin/yarn
    npm: 9.3.1 - /opt/homebrew/bin/npm
  Browsers:
    Chrome: 109.0.5414.119
    Firefox: 109.0
    Safari: 16.2
  npmPackages:
    @builder.io/qwik: file:../clone/qwik/packages/qwik => 0.17.4
    @builder.io/qwik-city: file:../clone/qwik/packages/qwik-city => 0.1.0-beta13
    undici: 5.14.0 => 5.14.0
    vite: 4.0.4 => 4.0.4

Additional Information
No response

I have confirmed this issue is happening conditionally.
If a page that is rendered after navigation such as clicking <Link> properly set cookie headers,
but the page is reloaded by browser or HMR then the headers never set.
I guess getWritableStream in fromNodeHttp is not called in the second situation.

We have e2e tests including the dev server and the cookies are getting set, how can we reproduce exactly?

I see, the qwik-starter seemed not permit us to access document.cookie.
I will made an simple app that reproduces it.

@manucorporat I've made it :)
https://github.com/genki/qwik-test/tree/cookie-test
This app supposes to use with qwik-0.17.5-dev20230207033045 installed at ~/project/clone/qwik.
Please rewrite package.json for your env.
My env is:
  System:
    OS: macOS 13.1
    CPU: (8) arm64 Apple M2
    Memory: 84.09 MB / 24.00 GB
    Shell: 3.5.1 - /opt/homebrew/bin/fish
  Binaries:
    Node: 19.5.0 - /opt/homebrew/bin/node
    Yarn: 1.22.19 - /opt/homebrew/bin/yarn
    npm: 9.3.1 - /opt/homebrew/bin/npm
  Browsers:
    Chrome: 109.0.5414.119
    Firefox: 109.0
    Safari: 16.2
  npmPackages:
    @builder.io/qwik: file:~/project/clone/qwik/packages/qwik => 0.17.5
    @builder.io/qwik-city: file:~/project/clone/qwik/packages/qwik-city => 0.1.0-beta14
    undici: 5.16.0 => 5.16.0
    vite: 4.0.4 => 4.0.4

You can reproduce the issue npm run dev and open  browser.

+1, facing the same issue

This has been fixed in the most recent release, thanks for opening the issue.


Insert media modal in react

This is part of the work to give us the new styled insert media modal.
It covers inserting images (embeds are not in this pull request)
For more details, see https://github.com/silverstripe/silverstripe-asset-admin/issues/173
Merge this afterwards: https://github.com/silverstripe/silverstripe-asset-admin/pull/307

@clarkepaul Did you leave out a "close" trigger on the "insert media" panel on purpose? It's a bit weird that you have to click on the ~10px wide background on either side as the only way to get out of the panel, right?

@chillu I was discussing with @clarkepaul about this, at the moment the Modal close button is re-added and now it has a "Close Editor" button under the "Close Modal" button and seems confusing, we're going to try out hiding the "Close Editor" button.

@chillu  It was an oversight leaving it out of the designs, added in now in code.

Looks good to me, thanks for the modifications Chris!


bug: Vertical scroll not functional when drawer is open on screens under 1024px width

What version of daisyUI are you using?
4.12.10
Which browsers are you seeing the problem on?
Chrome, Firefox
Reproduction URL
https://daisyui.com/components/drawer/
Describe your issue
On screens with a width of less than 1024px, when the drawer is opened, the vertical scroll for the main page content becomes unresponsive. This prevents users from scrolling through the content unless the drawer is closed.
Steps to Reproduce:

Resize the browser window to a width of less than 1024px.
Open the drawer (side menu).
Attempt to scroll vertically through the main page content

Why would you want to scroll the backdrop?

I want to continue scrolling the page because no other content or element is being interacted with or modified. The drawer only affects part of the layout, and the rest of the page should still remain accessible without the need to close the drawer. This allows for a smoother and uninterrupted browsing experience.

I see. Thanks for the video.
Let me find a way...

Hello.
After upgrading from 4.12.10 to 4.12.13 I started having problems with drawer, which had been working without problems for many months before.
The problems are related to those described in this thread, so I decided to post here and ask for advice in solving them.
The problem is the appearance of inactive scrolling, even when the content of the drawer and the whole page is insufficient for scrolling.
When opening a drawer, the scroll just always appears. Even though it is not needed on the page, as there is not enough content.
I tried to show the problem in the video more clearly.


Add reorder

Add to master

Coverage remained the same at 93.55% when pulling 4c5b0ac9acb35aa93cb39ff3dc2cb2e88afb9c19 on add-reorder into 362bfd7c4d0b4b2dd9c9a85e1392b81d71f57919 on master.


[docker image] Create "stable" flag for docker images

Hi,
I see you have the latest and a 7 tag for the datadog-agent image, however there's no non-breaking "stable" image tag to use. Could you create one? My use case is having a default image I can "set and forget". Pinning to a newly released image in :7 could still have an unknown bug upon release. Maybe you could do something similar to how AWS do with their fluent bit image, where a stable image will be promoted after X time with no breaking issues reported? https://github.com/aws/aws-for-fluent-bit#using-the-stable-tag
Thanks

Hello, could this be looked at? Thanks!


Lights doesn't show up?

Do I have to connect them somehow or something? The Control center is just a blank window and nothing in it. I have Keylight and ringlight

You have to connect them first into your WLAN using the Smartphone App from elgato or the Windows app

Already done that. I can control them via smartphone. Part and Yay shows an update in AUR but it won't update. Skipping key light-control all the time.

in keylight-control there is a timeout of 10secs to discover the lights. Are you able to ping the lights using your linux pc?

How I can ping my lights?

you have to get the IP addr's of the lights from your Router (DHCP Server), then ping them in command line.

maybe an factory reset of a light works (then reconnect to wlan), the wlan has to be the same as the linux pc

Reseting doesnt help

But is there a reason why it wont update

do you have any firewalls running on your linux pc? maybe they block the discover. Does keylight-systray shows the devices? Or other keylight cli tools for linux?

No lights doesnt show up on my pc at all. No firewall. I have leglight but have no idea how to use it

then i would first try to find the ip and ping the devices to make sure the network connection is fine to the devices.

@nikdikpik You could have a look with some Avahi browser for your device to show up.
They should register below local._elg._tcp

@nikdikpik I had the same problem as you and I solved it.
The keylight-control software makes use of the github.com/endocrimes/keylight-go library and to detect the keylights this library has to search/query the zeroconf/avahi mdns settings. On my computer the nss-mdns package was missing so the library could not detect my keylight.
After the installation and configuration of the nsswitch.conf for mdns usage everything works:
❯ grep mdns /etc/nsswitch.conf hosts: mymachines mdns4_minimal resolve [!UNAVAIL=return] files myhostname DNS ❯ host elgato-key-light-air-64b0.local elgato-key-light-air-64b0.local has address <IP_ADDRESS>
And with this keylight-control started working correctly for me, have a look at your name resolution settings.


Arduino Uno with ESP01

Can I use this libray with Arduino Uno that connect to ESP01?
If yes, how to set that?
Thank you.

I also wanted to use so if any one has the useful link please inform me thanks ....

You have to communicate between Arduino Uno and ESP-01 using serial com or via I2C. I'm currently working on serial based Uno & ESP-01 integration. I'll be uploading the source once my project completes. Keep subscribed...

Make a comment on a similar issue in https://github.com/firebase/firebase-arduino/issues/280#issuecomment-328011118.
Please have a look :)

Hola, estoy desarrollando un proyecto de una alarma a la cual le quiero integrar FireBase para registrar los eventos de esta y ademas que maneje notificaciones en plataforma Android. Lo que cuenta actualmente es con Arduino Uno + un modulo ESP01. Como puedo conectar el modulo ESP01 al Arduino Uno.
Gracias.
Gonzalo Dutra
Hello, I am developing a project of an alarm to which I want to integrate FireBase to record the events of this and also to handle notifications on Android platform. What counts now is with Arduino Uno + an ESP01 module. How can I connect the ESP01 module to the Arduino Uno?
Thank you.
Gonzalo Dutra


Support 'debug' events on pgSocket

Allows to show low level messages being generated on the socket, giving you insight into eg the savepoint commands the module may send, eg:
pgSocket.sendQueryMessage SAVEPOINT SP_11949384
pgSocket.sendQueryMessage SAVEPOINT SP_11036818
...
pgSocket.sendQueryMessage RELEASE SP_11949384;
pgSocket.sendQueryMessage RELEASE SP_11036818;
pgSocket.sendCloseMessage { type: 'S', name: 'S_54' }
pgSocket.sendSyncMessage undefined
pgSocket.sendQueryMessage ROLLBACK TO SP_11036818;

This does not add a public API to enable the debug events - i'm using the getIntlConnection API
      getIntlConnection(this.pgclient).socket.on("debug", (evt) => this.onDebug(evt));

Using exact case for class names may be better. Instead of "pgSocket.sendParseMessage" please use "PgSocket.sendParseMessage"

v2.8.1 has just released. Contains this patch!


Docs cleanup

Making the docs work within our site (file name: README.md)
Applying some conventions for code blocks
Consistent naming of command line "argument"
Readability improvements
corrections where I think they should be done

RFR @hectorj2f @htr

@marians LGTM


Registering service with multiple properties

Hi,
Was just wondering if it was possible to register a service with a list of properties?
The aim is to be able to obtain an service that registered with a particular property..
Any thoughts ?
Thanks

Not currently

Ok...
If I wanted to do this, would I be right in thinking it be EtcdLifeCycle class and it's register method.


Zip store and deps together

Addressing #52
Also removing artifacts.xml from the runtime store zip.
This needs to be approved for rel/2.0.0-preview1

The zip structure is
$(zipRoot)
\_ store
  \_ x64
    \_ ...
  \_ x86
    \_ ...
\_ additionalDeps
  \_ Microsoft.NETCore.App
    \_ 2.0.0
      \_ *.deps.json

cc @BillHiebert @barrytang

It was supposed to be:
\_ additionalDeps
  \_ [PackageName]
    \_ Microsoft.NETCore.App
      \_ 2.0.0
        \_ deps.json

@glennc

@BillHiebert e.g.
c:\program files\dotnet\additionalDeps\Microsoft.AspNetCore.ApplicationInsights.HostingStartup

:up::date:


OpenXR: catch null profile_def causing crash on startup

Catch null profile_def crash on project startup utilizing openxr action map, reproduced by starting godot4 openxr demo.
Simplified from: https://github.com/godotengine/godot/pull/60014#issue-1197028266 which added too much. Profile implementations are better handled by: https://github.com/godotengine/godot/pull/59940#issue-1194587015

This is the crash backtrace which prompted the fix, this occurs when opening the openxr demo project:
CrashHandlerException: Program crashed
Engine version: Godot Engine v4.0.alpha.custom_build (eb6ebdc4aff88de8da4217dfe1c4f226a1fd2132)
Dumping the backtrace. Please include this when reporting the bug on https://github.com/godotengine/godot/issues
[0] OpenXRInteractionProfileEditor::_update_interaction_profile (C:\MyStuffSamsung\Godot\Godot4Source\modules\openxr\editor\openxr_interaction_profile_editor.cpp:221)
[1] OpenXRInteractionProfileEditor::OpenXRInteractionProfileEditor (C:\MyStuffSamsung\Godot\Godot4Source\modules\openxr\editor\openxr_interaction_profile_editor.cpp:271)
[2] OpenXRActionMapEditor::_add_interaction_profile_editor (C:\MyStuffSamsung\Godot\Godot4Source\modules\openxr\editor\openxr_action_map_editor.cpp:110)
[3] OpenXRActionMapEditor::_update_interaction_profiles (C:\MyStuffSamsung\Godot\Godot4Source\modules\openxr\editor\openxr_action_map_editor.cpp:139)
[4] OpenXRActionMapEditor::_notification (C:\MyStuffSamsung\Godot\Godot4Source\modules\openxr\editor\openxr_action_map_editor.cpp:70)
[5] OpenXRActionMapEditor::_notificationv (C:\MyStuffSamsung\Godot\Godot4Source\modules\openxr\editor\openxr_action_map_editor.h:47)
[6] Object::notification (C:\MyStuffSamsung\Godot\Godot4Source\core\object\object.cpp:850)
[7] Node::_propagate_ready (C:\MyStuffSamsung\Godot\Godot4Source\scene\main\node.cpp:188)
[8] Node::_propagate_ready (C:\MyStuffSamsung\Godot\Godot4Source\scene\main\node.cpp:180)
[9] Node::_propagate_ready (C:\MyStuffSamsung\Godot\Godot4Source\scene\main\node.cpp:180)
[10] Node::_propagate_ready (C:\MyStuffSamsung\Godot\Godot4Source\scene\main\node.cpp:180)
[11] Node::_propagate_ready (C:\MyStuffSamsung\Godot\Godot4Source\scene\main\node.cpp:180)
[12] Node::_propagate_ready (C:\MyStuffSamsung\Godot\Godot4Source\scene\main\node.cpp:180)
[13] Node::_propagate_ready (C:\MyStuffSamsung\Godot\Godot4Source\scene\main\node.cpp:180)
[14] Node::_propagate_ready (C:\MyStuffSamsung\Godot\Godot4Source\scene\main\node.cpp:180)
[15] Node::_propagate_ready (C:\MyStuffSamsung\Godot\Godot4Source\scene\main\node.cpp:180)
[16] Node::_propagate_ready (C:\MyStuffSamsung\Godot\Godot4Source\scene\main\node.cpp:180)
[17] Node::_propagate_ready (C:\MyStuffSamsung\Godot\Godot4Source\scene\main\node.cpp:180)
[18] Node::_propagate_ready (C:\MyStuffSamsung\Godot\Godot4Source\scene\main\node.cpp:180)
[19] Node::_propagate_ready (C:\MyStuffSamsung\Godot\Godot4Source\scene\main\node.cpp:180)
[20] Node::_set_tree (C:\MyStuffSamsung\Godot\Godot4Source\scene\main\node.cpp:2481)
[21] SceneTree::initialize (C:\MyStuffSamsung\Godot\Godot4Source\scene\main\scene_tree.cpp:400)
[22] OS_Windows::run (C:\MyStuffSamsung\Godot\Godot4Source\platform\windows\os_windows.cpp:675)
[23] widechar_main (C:\MyStuffSamsung\Godot\Godot4Source\platform\windows\godot_windows.cpp:169)
[24] _main (C:\MyStuffSamsung\Godot\Godot4Source\platform\windows\godot_windows.cpp:191)
[25] main (C:\MyStuffSamsung\Godot\Godot4Source\platform\windows\godot_windows.cpp:205)
[26] WinMain (C:\MyStuffSamsung\Godot\Godot4Source\platform\windows\godot_windows.cpp:219)
[27] __scrt_common_main_seh (d:\a01_work\12\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288)
[28] BaseThreadInitThunk
-- END OF BACKTRACE --

OK, that looks like there is a profile in the action map that is unknown. makes sense if you're using the current master of the test project seeing the new profiles have not been merged in. A classic case of me "improving the demo before the project is updated" :)
Instead of if (profile_def != nullptr) { I would just put an ERR_FAIL_NULL(profile_def); at the top of the method, that way there is output to the log that there is something wrong with the data. But adding the if may prevent a bunch of needless error spam I guess.

Approving this, an ERR_FAIL_NULL check may be better but I'm happy with just the if check too.

Well I'd prefer an ERR_FAIL_NULL too if this is an error case, it shouldn't fail silently. And that reduces the diff from indenting all the code to just adding one line.

@HookJabs are you able to revise this?

@HookJabs are you able to revise this?

I will attempt to revise it with ERR_FAIL_NULL now

@HookJabs are you able to revise this?

I will attempt to revise it with ERR_FAIL_NULL now

A new commit has been added, with ERR_FAIL_NULL(profile_def); at the top of the subprogram, replacing the if(profile_def != nullptr) used in the first commit! 🙂

Changes look good, could you squash the commits together? See PR workflow for instructions.

@akien-mga squashed!

Thanks! And congrats for your first merged Godot contribution :tada:

Thanks! And congrats for your first merged Godot contribution 🎉

Thank you all for helping me out! This has been so cool!! 😄


not working on intercelestial site

Domain
ntercelestial.com
Link
https://intercelestial.com/the-birth-of-a-star/#generate
Version
0.0.0
What browsers are you seeing the problem on?
Chrome
What OS are you seeing the problem on?
Windows
Anything else?
Blank screen when on the site.

Duplicate of #816.


oref0-reset-git cron example

You should merge master/dev to your branch to clean up these duplicate commits.

New stuff looks good: will merge after you do that.

Happy to do it, once I understand what you mean.   Am I out of sync somewhere?  If I am, how to best check on that/fix it?

https://github.com/Spazholio/docs/pull/1


Sorry that I have to revert this change. I get it wrong that gflags and absl_flags could be used together during migration.
There might be conflicts:

Both of them need to parse command line arguments, i.e., google::ParseCommandLineFlags and absl::ParseCommandLine(). They'll confuse.
Both of them need to parse --flagfile.

So as to make it safe, we have to migrate the whole repo all at once I guess.


Migrations - Does CompositeDB create table schemas?

Question:
Short version:
Can CompositeDB create tables and table schemas?
Long version
In the readme, you specify...
It also has many popular features such as:
- Migrations - synchronise your php entities with database tables

I also followed the migration guide here:
https://github.com/compositephp/db/blob/master/doc/migrations.md
Following that guide, I can generate a TableClass from a Class.
php cli.php composite:generate-table 'App\Application\Contact'

(Small sidenote, the connection_name parameter does not work, as specified in the guide)
php cli.php composite:generate-table connection_name TableName 'App\Models\EntityName'

But when I run sample code, but the database is not being updated.
The error complains the table could not be found.
PHP Fatal error:  Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'compositedb.Contact' doesn't exist in ....

Sample project is here:
https://github.com/tno2007/composite-db-generate-tables
It does not seems like Composite does not create any tables, so I just want to confirm, can CompositeDB create tables and table schemas?

Hi there!
Yes, sorry I fixed the "copypasta" mistake in the documentation about using "composite:generate-table" command.
Thanks for the report!
Regaring your main question:

Can CompositeDB create tables and table schemas?

The answer is yes, Composite DB supports migrations with automatic schema generation.
To do this please apply the next diff to your project:
diff --git a/cli.php b/cli.php
index ce0fef7..e1159c7 100644
--- a/cli.php
+++ b/cli.php
@@ -8,10 +8,14 @@ use Symfony\Component\Console\Application;

 //may be changed with .env file
 putenv('CONNECTIONS_CONFIG_FILE=./config.php');
+putenv('ENTITIES_DIR=./src');
+putenv('MIGRATIONS_DIR=./src/Migrations');
+putenv('MIGRATIONS_NAMESPACE=App\Migrations');

 $app = new Application();
 $app->addCommands([
      new Commands\GenerateEntityCommand(),
      new Commands\GenerateTableCommand(),
+     new Commands\MigrateCommand(),
 ]);
 $app->run();
\ No newline at end of file

And then call php cli.php composite:migrate twice.
The first will generate migration files and the second will execute them.
After that, you can generate table class with command php cli.php composite:generate-table 'App\Application\Contact'

And yes, it's a significant oversight that the documentation lacks this information; I'll definitely add it soon.

Your instructions worked perfectly!
Thanks for your assistance.


[ClassNotFoundException: ghidraRun.bat, launch.bat] Cannot run Ghidra on Windows 11 with JDK 21

Describe the bug
Windows 11 machine with JDK 21.0.2 (LTS). Double clicking or running the ghidraRun.bat from cmd/terminal gives the following error when run in fg mode (the default bg mode suppresses the error message):
Error: Could not find or load main class C:\Users\username\Desktop\ghidra
Caused by: java.lang.ClassNotFoundException: C:\Users\username\Desktop\ghidra
Press any key to continue . . .

To Reproduce
Steps to reproduce the behavior:

Download ghidra_11.0.1_PUBLIC_20240130.zip from the GitHub repo.
Extract and run the ghidraRun.bat script.

Expected behavior
Ghidra would run successfully and greet me with the license agreement prompt.
Screenshots
<none that would add any more context to the problem>
Attachments
<none that would add any more context to the problem>
Environment (please complete the following information):

OS: Windows 11 (Windows Version 10.0.22631.3155)
Java Version: Oracle JDK 21.0.2
Ghidra Version: 11.0.1
Ghidra Origin: official GitHub distro

Additional context
I added JAVA_HOME, CLASSPATH to path and added all /bin and home directories and the explicit path to the utility.jar file to PATH. Tried checking into some of the files in Utility-src.zip (such as Ghidra.java, GhidraClassLoader.java, GhidraLauncher.java, GhidraLaunchable.java, etc.) but could not resolve the issue. I also tried running directly from the launch.bat script but failed with the same error. Maybe I overlooked something? Incompatibility with Java version?
Any and all help would be appreciated! Thank you in advance.

@DataGhost4B3 Hey and sorry to hear you're having problems!  I haven't been able to reproduce or diagnose your problem, and may have to discuss it with other on the team on Monday.
Just as a data point, I downloaded the same version of java (21.0.2) and same version of Ghidra (11.0.1 from https://github.com/NationalSecurityAgency/ghidra/releases) on the same version of WIndows, extracted the distro to my Desktop, and successfully launched Ghidra via double-click and the command line, fg and bg.  I know that doesn't help you at all, but it does rule out the jdk as being the problem.
Two things I might suggest if you haven't already done so:
(1) Pull up the application.log in C:\Users\username.ghidra.ghidra_10.0.1_PUBLIC and check for any obvious error messages (other than the one you listed).  Also, maybe copy the last dozen or so lines and paste them here.
(2) Try moving your .ghidra to .ghidra.save and start with a completely fresh project.
(3) Try grabbing a new copy from github.  I know that seems a bit stupid, but I'm reaching.

@DataGhost4B3 Apologies GitHub syntax parsing left us hanging there - the “application.log” file should be in the folder named “.ghidra_11.0.1_PUBLIC” in the folder named “.ghidra” in the user’s home directory.  Note the leading periods in the names of both folders (which may make them undiscoverable depending on how you searched).  That said, it’s quite possible Ghidra died before even generating the log file.  Will see if anyone else on the team has better ideas about what’s going on tomorrow!

Before proceeding with debugging, it is likely going to be necessary to revert every debugging change you made to environment variables, and the Ghidra installation directory itself.  If you have JDK 17 or later on your PATH, you shouldn't need to change anything about your system or Ghidra for it to launch.
Can you paste in your output of both the java and javac commands?

OK, something in your environment has to be amiss.  If you open a "cmd" prompt and enter "set", what do you get?

Also, FYI, in the future you can run support/ghidraDebug.bat so it runs in the foreground.

I'd get rid of that CLASSPATH environment variable that you have set up.  You don't want that to interfere with anything.

@ryanmkurtz Yes it is just ghidra/. Actually the directory is in the Desktop so the full path is C:\Users\username\Desktop\ghidra.
Should I try extracting the zip directly into C:\ or smth?

Sure, that would be a worthwhile test.

Wow - more guessing....
Line 185 of your launch.bat reads:
set CMD_ARGS=%FORCE_JAVA_VERSION% %JAVA_USER_HOME_DIR_OVERRIDE% %VMARG_LIST% -cp "%CPATH%" ghidra.Ghidra %CLASSNAME% %ARGS%

Sorry, I just wanted to confirm your launch.bat had “ghidra.Ghidra” before %CLASSNAME% as the error message suggests your’s might just have “ghidra”.

Can I assume that’s Ghidra, not Gihdra?  😊

On line 186 of launch.bat (right before if "%BACKGROUND%"=="y" (, can you add this line:
echo "%JAVA_CMD% %CMD_ARGS%

and show us your output?

The problem is this part: C:\ghidra jn=jupyter notebook  C:\ghidra jl=jupyter lab.  Those should not be there.  Did you add anything to your support/launch.properties file?

So you had something set in the Windows Registry?
The issue is that they were being passed to java as command line arguments, but because they didn't start with -D or -X, java assume they weren't properties, but rather the name of the class to try to launch.


Update http4s-backend to 3.3.17

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

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.softwaremill.sttp.client3", artifactId = "http4s-backend" } ]

labels: library-update, early-semver-patch, semver-spec-patch

@Mergifyio rebase


Create "uses puf" flags for tests

Currently we have markers for "full run" and "regression" tests.  It maybe helpful to decompose the "full run" group into those that require the PUF and those that take a long time to run.  This would be useful because contributors without the PUF should run the longer running tests (that are too long for CI testing in GH Actions) locally, but they may be unable to run the PUF-based tests.

Addressed in PR #718


UPG:Add Webpack5 support

Make the plugin support both webpack4 and webpack5

@ThornWu 🎉 Thank you very much！


REST client: unable to load root certificates: unable to parse bytes as PEM block

I have installed kubemod using the this file:
https://raw.githubusercontent.com/kubemod/kubemod/v0.19.1/bundle.yaml
Afterwards I cannot start any pod due to this error:
│   Warning  FailedScheduling  6s (x13 over 105s)  default-scheduler  binding rejected: running Bind plugin "DefaultBinder": Internal error occurred: failed calling webhook "podbinding.kubemod.io": could not get  │
│ REST client: unable to load root certificates: unable to parse bytes as PEM block

What could be wrong here?
This is happening in an EKS 1.23 cluster.

Looks like that the job which is supposed to generate the TLS certificate used by KubeMod, did not do so.
I'd look at the logs of the kubemod-crt-job job pod(s) and the kubemod pod logs. Both of them are in namespace kubemod-system.

I do not know the reason but the problem occurs if you install kubemod with flux.
The funny thing is that the pod contains a certificate and the crt job succeded:
/ $ ls -la /tmp/k8s-webhook-server/serving-certs
total 0
drwxrwxrwt    3 root     root           120 Jan 27 11:35 .
drwxr-xr-x    3 root     root            27 Jan 27 11:35 ..
drwxr-xr-x    2 root     root            80 Jan 27 11:35 ..2023_01_27_11_35_57.3859343671
lrwxrwxrwx    1 root     root            32 Jan 27 11:35 ..data -> ..2023_01_27_11_35_57.3859343671
lrwxrwxrwx    1 root     root            14 Jan 27 11:35 tls.crt -> ..data/tls.crt
lrwxrwxrwx    1 root     root            14 Jan 27 11:35 tls.key -> ..data/tls.key
/ $ cat /tmp/k8s-webhook-server/serving-certs/tls.crt
-----BEGIN CERTIFICATE-----
MIIEFTCCAv2gAwIBAgIUMwSIOX2axzynpAQ7e+PZnkT3vo0wDQYJKoZIhvcNAQEL
BQAwZDELMAkGA1UEBhMCVVMxETAPBgNVBAgTCE5ldyBZb3JrMREwDwYDVQQHEwhO
ZXcgWW9yazEQMA4GA1UEChMHS3ViZU1vZDELMAkGA1UECxMCQ0ExEDAOBgNVBAMT
B0t1YmVNb2QwHhcNMjMwMTI3MTEzMTAwWhcNMjUwMTI2MTEzMTAwWjBrMQswCQYD
VQQGEwJVUzERMA8GA1UECBMITmV3IFlvcmsxETAPBgNVBAcTCE5ldyBZb3JrMRAw
DgYDVQQKEwdLdWJlTW9kMRAwDgYDVQQLEwdLdWJlTW9kMRIwEAYDVQQDEwlhZG1p
c3Npb24wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCuHzVN9ERdwWUM
G+Jpb+DUa34GyHhlE70IR+gGIkBSP6Te6BjqBc+W5zol8R1VNrNcZvB9Zpcge5VG
dxiXn/w2KAIN3Xh3G/OaKxvVe7mWhDDW69b0tKtHA8GwraIoGGZF1ij9Y2I55IHP
mEz5IdL9Aezq1pTjqHLkvnnOEcvH0NKlwwkG5PWBwv4e0d6e+FOrIeM4EIFIpGIn
5a+vE2hvqZ6XBuUv7sPGVykkm0mvxM0veK6auul1k8QreSa+J/ps2ZhcRz7GPIGQ
+JsuJSFPIFazyVEQ6AB2zsF9FvI+J/wo3/rMqaVn2FFG21BbldzJm1x0I/u9JgLq
2piNuPlHAgMBAAGjgbcwgbQwDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsG
AQUFBwMBBggrBgEFBQcDAjAMBgNVHRMBAf8EAjAAMB0GA1UdDgQWBBRls1pwPsy0
ws1fTt1SazLPkF/J3TAfBgNVHSMEGDAWgBQTXWsukMi+5U8/WVYiDbRFbd5RNTA1
BgNVHREELjAsgiprdWJlbW9kLXdlYmhvb2stc2VydmljZS5rdWJlbW9kLXN5c3Rl
bS5zdmMwDQYJKoZIhvcNAQELBQADggEBAKIgd+iCyhgCE888Cfgm53U4vK4hDV+e
jcXLGipLU7GhfI4NLRJDD91LnPzRUrPj1cqr6qTXxnVC50KmKJMRUs45NwKFJnlO
mTUNVLQsoHmD+EJqRK1nKJcGw61D3oKBfv8O4G1zpU+bcxARrvuIipG40zplq1Z1
iAryKk9cu+k9iiSD5v3yqlmips1tSrcQedgIknkxZExsmfhF0TJveXnkYFKhASsO
2UVkZJAZZ7KXeNrLJINinfGNcvFiNusqgDPUBPqLC4TsAtqbL6prEdgmFze+evcT
gdAunLkbVcwO4Yw7Z6nvbXZRRVDcT3Pckw952ZEejmDOGj/w0SsP6aw=
-----END CERTIFICATE-----

Maybe it is some race condition? Would it make sense to implement an init container in the kubemod pod which waits for a valid certificate to appear?
These are the kubemod logs:
kubectl logs kubemod-operator-566f44c866-cmnxb -n kubemod-system
{"level":"info","ts":"2023-01-27 12:48:34.189Z","logger":"webapp-setup","msg":"web app server is starting to listen","addr":":8081"}
I0127 12:48:35.338803       1 request.go:621] Throttling request took 1.050004559s, request: GET:https://<IP_ADDRESS>:443/apis/karpenter.sh/v1alpha5?timeout=32s
{"level":"info","ts":"2023-01-27 12:48:38.891Z","logger":"controller-runtime.metrics","msg":"metrics server is starting to listen","addr":":8082"}
{"level":"info","ts":"2023-01-27 12:48:38.891Z","logger":"operator-setup","msg":"health server is starting to listen","addr":":8083"}
{"level":"info","ts":"2023-01-27 12:48:38.891Z","logger":"controller-runtime.builder","msg":"Registering a mutating webhook","GVK":"api.kubemod.io/v1beta1, Kind=ModRule","path":"/mutate-api-kubemod-io-v1beta1-modrule"}
{"level":"info","ts":"2023-01-27 12:48:38.891Z","logger":"controller-runtime.webhook","msg":"registering webhook","path":"/mutate-api-kubemod-io-v1beta1-modrule"}
{"level":"info","ts":"2023-01-27 12:48:38.891Z","logger":"controller-runtime.builder","msg":"Registering a validating webhook","GVK":"api.kubemod.io/v1beta1, Kind=ModRule","path":"/validate-api-kubemod-io-v1beta1-modrule"}
{"level":"info","ts":"2023-01-27 12:48:38.891Z","logger":"controller-runtime.webhook","msg":"registering webhook","path":"/validate-api-kubemod-io-v1beta1-modrule"}
{"level":"info","ts":"2023-01-27 12:48:38.891Z","logger":"operator-setup","msg":"registering core mutating webhook"}
{"level":"info","ts":"2023-01-27 12:48:38.891Z","logger":"controller-runtime.webhook","msg":"registering webhook","path":"/dragnet-webhook"}
{"level":"info","ts":"2023-01-27 12:48:38.891Z","logger":"controller-runtime.webhook","msg":"registering webhook","path":"/podbinding-webhook"}
{"level":"info","ts":"2023-01-27 12:48:38.891Z","logger":"operator-setup","msg":"starting manager"}
{"level":"info","ts":"2023-01-27 12:48:38.891Z","logger":"controller-runtime.manager","msg":"starting metrics server","path":"/metrics"}
{"level":"info","ts":"2023-01-27 12:48:38.891Z","logger":"controller-runtime.webhook.webhooks","msg":"starting webhook server"}
{"level":"info","ts":"2023-01-27 12:48:38.891Z","logger":"controller","msg":"Starting EventSource","reconcilerGroup":"api.kubemod.io","reconcilerKind":"ModRule","controller":"modrule","source":"kind source: /, Kind="}
{"level":"info","ts":"2023-01-27 12:48:38.891Z","logger":"controller-runtime.certwatcher","msg":"Updated current TLS certificate"}
{"level":"info","ts":"2023-01-27 12:48:38.891Z","logger":"controller-runtime.webhook","msg":"serving webhook server","host":"","port":9443}
{"level":"info","ts":"2023-01-27 12:48:38.892Z","logger":"controller-runtime.certwatcher","msg":"Starting certificate watcher"}
{"level":"info","ts":"2023-01-27 12:48:38.998Z","logger":"controller","msg":"Starting Controller","reconcilerGroup":"api.kubemod.io","reconcilerKind":"ModRule","controller":"modrule"}
{"level":"info","ts":"2023-01-27 12:48:38.998Z","logger":"controller","msg":"Starting workers","reconcilerGroup":"api.kubemod.io","reconcilerKind":"ModRule","controller":"modrule","worker count":1}
2023/01/27 13:13:37 http: TLS handshake error from <IP_ADDRESS>:42996: remote error: tls: bad certificate
2023/01/27 13:13:37 http: TLS handshake error from <IP_ADDRESS>:43004: remote error: tls: bad certificate
2023/01/27 13:13:38 http: TLS handshake error from <IP_ADDRESS>:43064: remote error: tls: bad certificate
2023/01/27 13:13:38 http: TLS handshake error from <IP_ADDRESS>:43048: remote error: tls: bad certificate
2023/01/27 13:13:38 http: TLS handshake error from <IP_ADDRESS>:43016: remote error: tls: bad certificate
2023/01/27 13:13:38 http: TLS handshake error from <IP_ADDRESS>:43032: remote error: tls: bad certificate
2023/01/27 13:13:38 http: TLS handshake error from <IP_ADDRESS>:43170: remote error: tls: bad certificate
2023/01/27 13:13:38 http: TLS handshake error from <IP_ADDRESS>:43108: remote error: tls: bad certificate
2023/01/27 13:13:38 http: TLS handshake error from <IP_ADDRESS>:43096: remote error: tls: bad certificate
2023/01/27 13:13:38 http: TLS handshake error from <IP_ADDRESS>:43112: remote error: tls: bad certificate
2023/01/27 13:13:38 http: TLS handshake error from <IP_ADDRESS>:43136: remote error: tls: bad certificate
2023/01/27 13:13:38 http: TLS handshake error from <IP_ADDRESS>:43120: remote error: tls: bad certificate
2023/01/27 13:13:38 http: TLS handshake error from <IP_ADDRESS>:43094: remote error: tls: bad certificate
2023/01/27 13:13:38 http: TLS handshake error from <IP_ADDRESS>:43156: remote error: tls: bad certificate
2023/01/27 13:13:38 http: TLS handshake error from <IP_ADDRESS>:43144: remote error: tls: bad certificate
2023/01/27 13:13:38 http: TLS handshake error from <IP_ADDRESS>:43236: remote error: tls: bad certificate
2023/01/27 13:13:38 http: TLS handshake error from <IP_ADDRESS>:43080: remote error: tls: bad certificate
2023/01/27 13:13:38 http: TLS handshake error from <IP_ADDRESS>:43074: remote error: tls: bad certificate
2023/01/27 13:13:38 http: TLS handshake error from <IP_ADDRESS>:43162: remote error: tls: bad certificate
2023/01/27 13:13:38 http: TLS handshake error from <IP_ADDRESS>:43200: remote error: tls: bad certificate
2023/01/27 13:13:38 http: TLS handshake error from <IP_ADDRESS>:43178: remote error: tls: bad certificate
2023/01/27 13:13:38 http: TLS handshake error from <IP_ADDRESS>:43184: remote error: tls: bad certificate
2023/01/27 13:13:38 http: TLS handshake error from <IP_ADDRESS>:43182: remote error: tls: bad certificate
2023/01/27 13:13:38 http: TLS handshake error from <IP_ADDRESS>:43212: remote error: tls: bad certificate
2023/01/27 13:13:38 http: TLS handshake error from <IP_ADDRESS>:43214: remote error: tls: bad certificate
2023/01/27 13:13:38 http: TLS handshake error from <IP_ADDRESS>:43222: remote error: tls: bad certificate
2023/01/27 13:13:42 http: TLS handshake error from <IP_ADDRESS>:57504: remote error: tls: bad certificate
2023/01/27 13:13:42 http: TLS handshake error from <IP_ADDRESS>:57498: remote error: tls: bad certificate
2023/01/27 13:13:42 http: TLS handshake error from <IP_ADDRESS>:57510: remote error: tls: bad certificate
2023/01/27 13:13:42 http: TLS handshake error from <IP_ADDRESS>:57524: remote error: tls: bad certificate
{"level":"info","ts":"2023-01-27 13:13:45.072Z","logger":"controller-runtime.certwatcher","msg":"Updated current TLS certificate"}
{"level":"info","ts":"2023-01-27 13:13:45.072Z","logger":"controller-runtime.certwatcher","msg":"Updated current TLS certificate"}
2023/01/27 13:13:49 http: TLS handshake error from <IP_ADDRESS>:57736: EOF
2023/01/27 13:13:55 http: TLS handshake error from <IP_ADDRESS>:45152: EOF
2023/01/27 13:15:00 http: TLS handshake error from <IP_ADDRESS>:46442: EOF
2023/01/27 13:15:00 http: TLS handshake error from <IP_ADDRESS>:46432: EOF
2023/01/27 13:15:00 http: TLS handshake error from <IP_ADDRESS>:46446: EOF

after some time the error with the unable parse PEM block return, running the cert cronjob did not help this time:
Warning  FailedScheduling  4s (x4 over 14s)  default-scheduler  binding rejected: running Bind plugin "DefaultBinder": Internal error occurred: failed calling webhook "podbinding.kubemod.io": failed to call webhoo │
│ k: Post "https://kubemod-webhook-service.kubemod-system.svc:443/podbinding-webhook?timeout=10s": x509: certificate signed by unknown authority (possibly because of "crypto/rsa: verification error" while trying to ve │
│ rify candidate authority certificate "KubeMod")

This is odd. Is flux supposed to keep overwriting mutable resources? It is common to have secrets injected/rotated at runtime. How do people use flux and cert-manager? Or flux and external-secrets operator?

We install cert manager and externals secrets operator using a helm chart with flux.
In a helm chart you can specify a resource to be a hook which is only touched during pre/post install or upgrade.

I'm having a similar issue with argocd after upgrading. I had it working on prior version. I've traced mine down to the job failing and a default fail rule
❯ kubectl logs  kubemod-crt-job-q9nd5
Generating certificates...
2023/01/30 16:35:04 [INFO] generating a new CA key and certificate from CSR
2023/01/30 16:35:04 [INFO] generate received request
2023/01/30 16:35:04 [INFO] received CSR
2023/01/30 16:35:04 [INFO] generating key: rsa-2048
2023/01/30 16:35:04 [INFO] encoded CSR
2023/01/30 16:35:04 [INFO] signed certificate with serial number<PHONE_NUMBER>74501653848592363935824122139006138191
2023/01/30 16:35:04 [INFO] generate received request
2023/01/30 16:35:04 [INFO] received CSR
2023/01/30 16:35:04 [INFO] generating key: rsa-2048
2023/01/30 16:35:05 [INFO] encoded CSR
2023/01/30 16:35:05 [INFO] signed certificate with serial number<PHONE_NUMBER>43197278835251004974010332205447956562
Generating Kubernetes certificate secret...
Applying certificate...
secret/webhook-server-cert configured
Extracting previous CA certificate...
No previous CA certificate found in MutatingWebhookConfiguration/kubemod-mutating-webhook-configuration
Applying mutating webhook configuration patch...
The request is invalid

It might be safer to have this default to ignore, and add a note to change it after tested. Not sure if it logs out when the ignore is hit, but that would be good too.
https://github.com/kubemod/kubemod/blob/master/bundle.yaml#L560-L588

I figured out the job error. I tried removing that part that I didn't like above, and that broke the job, I had to set it to ignore

Another option would be to use the certmanager:
Certificate managers like cert-manager supports automatic CA injection into webhook configurations and custom resource definitions. If you are not using a certificate manager, you need to manually specify the caBundle field in ValidatingWebhookConfiguration, MutatingWebhookConfiguration and CustomResourceDefinition.

@runningman84 Which would not help much. One of the use cases I see for kubemod is the validation of Certificate Requests in self-service scenarios... And this is where it collides with the rather obvious use case of enforcing company policies and goes all "chicken and egg".  I wonder whether it is possible to annotate or label resources to indicate that flux should ignore certain field changes - it would not be an ideal idea to have the web hook ignored altogether.

I thought we could solve this by utilizing flux2's annotation kustomize.toolkit.fluxcd.io/ssa and set it to merge. If I am not mistaken, that should allow for additional fields to be set. In this case, we are talking of various webhook/*/clientConfig/caBundles:
https://github.com/kubemod/kubemod-crt/blob/a70054bc0002df8c709bd609c0e3d9a3e0bb0e5b/files/patch-mutating-webhook-configuration.json#L2-L4
https://github.com/kubemod/kubemod-crt/blob/a70054bc0002df8c709bd609c0e3d9a3e0bb0e5b/files/patch-validating-webhook-configuration.json#L2
However, these are already present in the default config. For a reason, I guess - without them, iirc a webhook is invalid.
The other options for the ssa annotation are not looking good, either: IfNotPresent would break any future updates, let alone Ignore. And Override is the exact opposite of what we need here.
I guess one solution would be to have the Webhook-Configurations created by the controller, with kubemod-crt (or some other container) just providing the certificates. That, however, would need a change in the RBAC configuration.
So the steps would be:

An init-container for the controller either creates certificates and puts them into a secret or requests one from cert-manager.
Now that the ca-bundle is known, it is stored in either a secret or in a shared volume.
The operator creates the web hooks based on this data.
Probably, an owner should be declared for the web hooks, but I am not too sure which resource would be reasonable here. Probably the deployment of the operator.

FWIW, setting the annotation kustomize.toolkit.fluxcd.io/ssa to IfNotPresent is a confirmed workaround for the following setup:

kubemod: v0.20.0
flux: v2.1.1

helm-controller: v0.36.1
kustomize-controller: v1.1.0
notification-controller: v1.1.0
source-controller: v1.1.1

---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: kubemod-system
resources:
  - label-kubesystem-job.yaml
  - rbac.yaml
  - https://raw.githubusercontent.com/kubemod/kubemod/v0.20.0/bundle.yaml
patchesStrategicMerge:
  # Add "kustomize.toolkit.fluxcd.io/ssa: IfNotPresent" to the webhooks.
  # This is necessary because the webhooks are mutated by a job, and
  # fluxcd will revert the changes if the annotation is not present.
  #
  # See https://github.com/kubemod/kubemod/issues/112
  - ./annotate-mutatingwebhook.yaml
  - ./annotate-validatingwebhook.yaml

---
apiVersion: admissionregistration.k8s.io/v1
kind: MutatingWebhookConfiguration
metadata:
  name: kubemod-mutating-webhook-configuration
  annotations:
    kustomize.toolkit.fluxcd.io/ssa: "IfNotPresent"

---
apiVersion: admissionregistration.k8s.io/v1
kind: MutatingWebhookConfiguration
metadata:
  name: kubemod-mutating-webhook-configuration
  annotations:
    kustomize.toolkit.fluxcd.io/ssa: "IfNotPresent"


[cxx-interop] Improve the warnings for unannotated c++ APIs returning…

Improve the the diagnostic messages introduced by https://github.com/swiftlang/swift/pull/76798. Also warn for only those cases of unannotated c++ APIs for which we provide a way to annotate.

Gabor's suggestion: I think we should be able to annotate some of the examples below. E.g., I do not see why overloaded operators would not work. In these cases I think it might be more valuable to add a test rather than an exclusion.
Also, I doubt that we would ever import deleted functions into Swift since those cannot be called, since they are deleted.

Gabor's suggestions:
If the only difference is the diagnostic code, maybe you can simplify a bit by selecting the right diag into a variable and calling diagnose once.
I think it might be cleaner to put every logic about determining whether we want to warn in a separate function instead of having the logic split between below and a separate function (isNormalCxxMemberMethod).

@swift-ci please test

@swift-ci please smoke test

@swift-ci please smoke test

@swift-ci please smoke test

@swift-ci please smoke test

@swift-ci please smoke test

@swift-ci Please Build Toolchain macOS


registration added

Added ticket registration link and page: https://deploy-preview-33--pwasummitorg.netlify.app/
@aarongustafson could you please review

LGTM. Feel free to merge. Thanks!


Http trigger run pane : incorrect route parameter label

Still some parsing errors here. E.g. for route products/{category:alpha}/{id} there is an extraneous "}":

I think this is preventing the request builder/run from actually working. I always get a 502 Bad Gateway when trying to run from there, however from Postman the function works fine.


Make it work for all current, non-EOL versions of PG

Currently, this wonderful tool works for PG12 and up.  Would it be too much work to make it work for the other non-EOL version, PG v11?

#166 and #167 added compatibility with v13 and v12 respectively. Are there any other versions you are looking for?

@MichaelDBA Is there a specific reason why you are looking for v11 support? v11 is going to be EOL in Nov 2023 and I'd be curious to understand the use case around supporting pg_tle for v11 particularly for new development.

@MichaelDBA Thanks for the info. #170 adds compatibility with v11.
If you're willing to share, I'd love to learn more about your use-cases to understand what we can to do continue to improve pg_tle.

One major thing I noticed is that the body of the pgtle.install_extension API is not compiled for syntax.  You need to test your funcs, types, etc outside the body of the install extension for compile errors.  Would it be too hard to do that?

One thing I have done with this extension is write wrappers (views) around metadata queries to assist newbies to the PG world.  Also providing common functionality not available in PG:

change owner for all objects in a schema
clone a schema
get table ddl, interesting how there are a lot of functions like getViewDef, etc., but none for tables

One major thing I noticed is that the body of the pgtle.install_extension API is not compiled for syntax. You need to test your funcs, types, etc outside the body of the install extension for compile errors. Would it be too hard to do that?

On one hand, that is no different than when you develop a normal/file-based extension. On the other, it sounds useful.
Maybe something like "BEGIN; CREATE EXTENSION ; ABORT" (programmatically as part of pgtle.install_extension) could be used to proactively catch extension script errors somehow?
Seems like a bit of a hack though...


Add types to package.json exports mapping

Currently, preact-router errors when in TypeScripts config the moduleResolution is "bundler", "Node16" or "NodeNext". See example of error message here: https://github.com/preactjs/preact-router/issues/443
One proposed fix is to include types in the package.json's exports mapping. See example here: https://github.com/preactjs/preact-router/issues/429
This proposed fix is implemented in this pull request. If this is not a reasonable fix, some other fix should be introduced.
Related: https://github.com/microsoft/TypeScript/issues/52363

Thanks!


Hide invite teams without teams

While investigating a flakey spec I noticed the invite page shows a Teams section even if the organization doesn't have teams enabled:

This just checks the teams count and hides teams if there aren't any at all, which should be a reasonable check because there should at least be an Everyone team at the moment, and at least one team otherwise:

Which reminds me, we should probably make sure there is always at least one team in an organization.

Oops! Good catch! 😄


[BUG] Drone unable to pick up asset.

Describe the bug
A bug was discovered when trying to pick up any asset on the ballfield. Referencing older demo videos, this capability was solved but there is a new issue that is not letting the drone pick up any asset.
To Reproduce
Steps to reproduce the behavior:

Using a controller fly the drone.
Navigate over an asset
Press the "Y" button to grab the asset.
Verify there is a red line that signals the asset is below the drone and it is able to be picked up.

Expected behavior
After pressing the "Y" button the drone should pick up the asset. You should be able to fly the drone with the asset secured.

Works - not broken


Add support for requesting GPUs

Hi, this PR adds support for requesting nvidia GPUs, according to https://github.com/GoogleCloudPlatform/spark-on-k8s-operator/issues/426.
It might be useful for ML programs. And I'm not sure it's good enough, so please help me check it again.
Thanks!

I signed it!

Thank you for your patience! The latest commit adds GPUSpec type and refines corresponding unit tests. Users can specify gpu field, just like this:
  executor:
   # cores: 1
    instances: 1
   # memory: "512m"
    gpu:
      name: example.com/gpu
      quantity: 1

Hi, the latest commit added user guide on how to use gpus and refined code format.     :)

How to add multiple GPU parameters to support bitfusion, like
limits:
bitfusion.io/gpu-amount: 2
bitfusion.io/gpu-percent: 50
thanks.


how to make pl2303 usb serial?

Version
Windows 10.0.19045.2364
WSL Version

[X] WSL 2
[ ] WSL 1

Kernel Version
<IP_ADDRESS>
Distro Version
Ubuntu 20.04
Other Software
No response
Repro Steps
1.download linux-msft-wsl-<IP_ADDRESS>
(1).make -j$(nproc) KCONFIG_CONFIG=Microsoft/config-wsl
(2).sudo make modules_install
(3)sudo make install
2.copy WSL2-Linux-Kernel-linux-msft-wsl-<IP_ADDRESS>\drivers\usb\serial\pl2303.c and pl2303.h to my folder
3.the Makefile is
obj-m	+= pl2303.o all: 	make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules clean: 	make -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean

make all && sudo insmod pl2303.ko
error message is "insmod: ERROR: could not insert module pl2303.ko: Invalid parameters"

what's wrong with me? please help, thanks!
Expected Behavior
need pl2303.ko run
Actual Behavior
sudo insmod pl2303.ko
insmod: ERROR: could not insert module pl2303.ko: Invalid parameters
Diagnostic Logs
No response

demesg -T is
[Mon Dec 19 11:09:40 2022] pl2303: loading out-of-tree module taints kernel.
[Mon Dec 19 11:09:40 2022] BPF:[135029] STRUCT
[Mon Dec 19 11:09:40 2022] BPF:size=16 vlen=4
[Mon Dec 19 11:09:40 2022] BPF:
[Mon Dec 19 11:09:40 2022] BPF:Invalid name
[Mon Dec 19 11:09:40 2022] BPF:
[Mon Dec 19 11:09:40 2022] failed to validate module [pl2303] BTF: -22

obj-m	+= pl2303.o all: 	make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules clean: 	make -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean

i have try to
make menuconfig KCONFIG_CONFIG=Microsoft/config-wsl to enable PL2303, then sudo insmod drivers/usb/serial/pl2303.ko,  same result.

wsl --version
<IP_ADDRESS>

@shiqx429 asked what's wrong with me?  I can't tell what's wrong with you but have a suggestion about your module loading issue. You need to have the running kernel and module(s) from the same build.
In the top directory of your kernel source code copy Microsoft/config-wsl to .config and run make menuconfig. Select USB Prolific 2302 Single Port Serial Driver to be build as a module. Save your new config. Run make modules and make modules_install to add the module to /lib/modules along with all dependencies. Then build a new kernel with make bzImage and copy it to your C:\ driver. Add kernel=C:\\some_folder_name\\bzImage to your .wslconfig and shutdown WSL to take effect.
After this you'll be able to load/unload the module. Sample dmesg output after running modprobe:
[   37.162338] usbcore: registered new interface driver pl2303
[   37.162348] usbserial: USB Serial support registered for pl2303

and lsmod output:
elsaco@toto:~$ lsmod
Module                  Size  Used by
pl2303                 24576  0

@shiqx429 asked what's wrong with me? I can't tell what's wrong with you but have a suggestion about your module loading issue. You need to have the running kernel and module(s) from the same build.
In the top directory of your kernel source code copy Microsoft/config-wsl to .config and run make menuconfig. Select USB Prolific 2302 Single Port Serial Driver to be build as a module. Save your new config. Run make modules and make modules_install to add the module to /lib/modules along with all dependencies. Then build a new kernel with make bzImage and copy it to your C:\ driver. Add kernel=C:\\some_folder_name\\bzImage to your .wslconfig and shutdown WSL to take effect.
After this you'll be able to load/unload the module. Sample dmesg output after running modprobe:
[   37.162338] usbcore: registered new interface driver pl2303
[   37.162348] usbserial: USB Serial support registered for pl2303

and lsmod output:
elsaco@toto:~$ lsmod
Module                  Size  Used by
pl2303                 24576  0

ok,thank you!


Add a pointer(s)

Thanks for the great component!
What do you think about adding a pointer(s) to the map via attribute?

like this one?
https://github.com/keanulee/good-map/blob/d17bd14c3d07e4f4be0ac35d3a5b177dc4a8a69e/good-map.js#L62


jsonpb: add option to marshal int64 types as unquoted numbers

The jsonpb package is intended to the be faithful implementation of the proto<->JSON specification, for which the C++ implementation is considered the canonical "reference" implementation.
The C++ implementation only has small set of options and we (the Go implementors of protobuf) have no intention of adding features that are beyond what C++ provides. The EmitDefaults option in Go is analogous to the always_print_primitive_fields option in C++. The other options that Go currently has are a historical mistake.
You're welcome to petition for this option in the reference implementation at https://github.com/protocolbuffers/protobuf/issues


Modify which and how often data is logged?

Hi,
is there a way to modify what information (tables) is logged and in which intervals that is happening?
I would like to know this for estimating costs before we adopt our processes and use this monitoring tool.
The default behavior seems to be logging all (default) information every minute.
e.g.

ContainerImageInventory
ContainerInventory
ContainerProcess_CL
...

In my workspace I can alter some information and the interval (advanced settings -> data)

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

ID: 7783cfe9-0508-9a73-3923-597cbc523cda
Version Independent ID: e2dba78f-0f1a-20d1-54d8-f30084328bb0
Content: Container Monitoring solution in Azure Monitor - Azure Monitor
Content Source: articles/azure-monitor/insights/containers.md
Service: azure-monitor
Sub-service: logs
GitHub Login: @MGoedtel
Microsoft Alias: magoedte

@TobiRoby Thanks for your comment. We will review the issue and get back to you shortly.

@TobiRoby Thanks for your comment. We will review the issue and get back to you shortly.

@TobiRoby By default, data is collected every three minutes. Here is a document which might help you in controlling ingestion of records to reduce cost. Kindly check and revert if you have further questions.
@MGoedtel Can you please provide your insights on this issue?

@TobiRoby By default, data is collected every three minutes. Here is a document which might help you in controlling ingestion of records to reduce cost. Kindly check and revert if you have further questions.
@MGoedtel Can you please provide your insights on this issue?

@TobiRoby & @SwathiDhanwada-MSFT - The Container Monitoring solution, as Swathi points out, collects data every 3 minutes from the cluster nodes by default. I am not intimately familiar enough with this solution to say with certainty that you can or cannot modify the collection settings.  The article that is referenced to control the collection settings is not applicable in this case, that is specific to the Azure Monitor for containers insight, which is a different feature of AzMon for K8s containers. In your case, it will be necessary to follow the foundational manage log usage cost guidance here and focus on those tables. Is there a reason you are using this solution as opposed to AzMon for containers?  The PG isn't investing in this solution any more and AzMon for containers is what customers should be using for clusters hosted in Azure or in hybrid scenario as long as it supports your scenario and meets your requirements.

@TobiRoby & @SwathiDhanwada-MSFT - The Container Monitoring solution, as Swathi points out, collects data every 3 minutes from the cluster nodes by default. I am not intimately familiar enough with this solution to say with certainty that you can or cannot modify the collection settings.  The article that is referenced to control the collection settings is not applicable in this case, that is specific to the Azure Monitor for containers insight, which is a different feature of AzMon for K8s containers. In your case, it will be necessary to follow the foundational manage log usage cost guidance here and focus on those tables. Is there a reason you are using this solution as opposed to AzMon for containers?  The PG isn't investing in this solution any more and AzMon for containers is what customers should be using for clusters hosted in Azure or in hybrid scenario as long as it supports your scenario and meets your requirements.

@TobiRoby - To expand one of my points further, with AzMon for containers, you can control most of the types of data collected from the cluster. If your cluster is on the list of supported configurations, I would recommend you consider and evaluate using that feature instead of this solution. I'm looping in @saaror from the PG to clarify or provide additional feedback based on your original question.

@TobiRoby - To expand one of my points further, with AzMon for containers, you can control most of the types of data collected from the cluster. If your cluster is on the list of supported configurations, I would recommend you consider and evaluate using that feature instead of this solution. I'm looping in @saaror from the PG to clarify or provide additional feedback based on your original question.

Thanks for taking the time answering my question.
I wasn't 100% aware that azure monitoring is the preferred tool (even though it is stated quite clear in the documentation).
I probably missed it due to the fact, that my testing scenario was focused on single container on azure vm.
This use case does not seem to be covered by the azure monitoring documentation, or am I missing something here?
Thus, we will extend our test from using a vm to using a hosted kubernetes cluster from azure being able to use azure monitoring instead!
Tobi

Thanks for taking the time answering my question.
I wasn't 100% aware that azure monitoring is the preferred tool (even though it is stated quite clear in the documentation).
I probably missed it due to the fact, that my testing scenario was focused on single container on azure vm.
This use case does not seem to be covered by the azure monitoring documentation, or am I missing something here?
Thus, we will extend our test from using a vm to using a hosted kubernetes cluster from azure being able to use azure monitoring instead!
Tobi


Hei tracker

[Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.]
https://link.to/ticket
Type of change
Please delete options that are not relevant.

[x] New feature (non-breaking change which adds functionality)

How Has This Been Tested?
What tests did you run to verify your changes? Provide instructions so we can reproduce. Please also list any relevant
details for your test configuration
Checklist:

[x] This review follows the Google Python Style Guide
[x] I have performed a self-review of my own code
[x] My changes generate no new warnings

@KorirC Also, do your PRs to upgrade, not main. Thanks

@KorirC Your code seems to be mixed up between hei_tracker and hiv_risk_screening tool. Please review and if you are working on the two forms, separate and commit in two branches. If not correct. Kindly but urgently finalize on this by 4 pm today. @mugaya Review once submitted back

There was a conflict where the upgrade had the hiv_risk_screening tool while on my branch didn't and i did resolve it by accepting the new changes merged to the main

@KorirC Also, do your PRs to upgrade, not main. Thanks

Alright, will work on that


Issue#533: Bug in using Parm-Z algorithm parameter fo GOST28147 engine

Seee Issue 533 (https://github.com/bcgit/bc-java/issues/533)

Merged with minor changes. Thanks!


Cors problem on 1.0-beta

Hi,
it seems on trickster 1.0-beta there is a problem with cors origin.
I'm running trickster inside a container.
I tried to setup this one with grafana and I have cors error.

Maybe I miss something in the configuration.
my config:
[caches]

    [caches.default]
    type = 'redis_cluster'
    compression = true
    timeseries_ttl_secs = 21600
    fastforward_ttl_secs = 15
    object_ttl_secs = 30
        [caches.default.index]
        reap_interval_secs = 3
        flush_interval_secs = 5
        max_size_bytes = 536870912
        max_size_backoff_bytes = 16777216
        max_size_objects = 0
        max_size_backoff_objects = 100

        [caches.default.redis_cluster]
        endpoints = ['${redis_endpoint}']
        password = ''

I don't have the problem with version 0.1.7

@Dudesons Damien, thanks for the report! I have entered PR #195 to add back the CORS header that we had been setting in the 0.1.x branch. It looks like you have configured Trickster/Prom in Grafana as direct/browser access mode in rather than via the grafana proxy. Totally legit usecase and we're happy to add back the CORS.  Once PR is merged, we'll spin up another beta release for you to confirm it is resolved. Thanks again! JR

@Dudesons the 1.0-beta3 release image is added and 1.0-beta tag is refreshed (if you just want to re-pull) and should address. this. thanks again!


[Network] az vm nic commands should combine '--nic-names' and '--nic-ids' into '--nics'

There are many many places in the CLI that accept a name or ID as a parameter. We don't use the Xplat convention of exposing foo-name and foo-id. Instead we expose foo: Name or ID of the foo. Similarly, we should simply expose --nics and have the validation convert any names into valid IDs.

Reasonable suggestion. The one thing I’d like to point out is that it can make statement/tab completion more cumbersome to implement correctly/make useful.
From: Travis Prescott<EMAIL_ADDRESS>Sent: Monday, August 29, 2016 3:47 PM
To: Azure/azure-cli<EMAIL_ADDRESS>Subject: [Azure/azure-cli] [Network] az vm nic commands should combine '--nic-names' and '--nic-ids' into '--nics' (#785)
There are many many places in the CLI that accept a name or ID as a parameter. We don't use the Xplat convention of exposing foo-name and foo-id. Instead we expose foo: Name or ID of the foo. Similarly, we should simply expose --nics and have the validation convert any names into valid IDs.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/Azure/azure-cli/issues/785, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AOaPgvA5rEtLceAaUbJ3LYib8yd9bukfks5qk2FLgaJpZM4Jv-aV.

@johanste I believe that currently we do tab-completion on the name only. I don't know of anywhere we currently have tab completion on whole IDs.


[341] Update service information banner text and to support interface

Context
We are planning some downtime to take place early Wednesday morning to scale down the database.
Changes proposed in this pull request

Changed the text of the service banner to reflect the planned downtime
Added banner to the support landing page so they will also be reminded of the downtime.

Guidance to review
Locally or on the review app

In support, activate the Service information banner feature flag
Login as a candidate / provider / support. You should see the banner.

https://github.com/user-attachments/assets/0c51c60a-ab0a-48c8-a9ab-55e820c80f12
Things to check

[ ] If the code removes any existing feature flags, a data migration has also been added to delete the entry from the database
[ ] This code does not rely on migrations in the same Pull Request
[ ] If this code includes a migration adding or changing columns, it also backfills existing records for consistency
[ ] If this code adds a column to the DB, decide whether it needs to be in analytics yml file or analytics blocklist
[ ] API release notes have been updated if necessary
[ ] If it adds a significant user-facing change, is it documented in the CHANGELOG?
[ ] Required environment variables have been updated added to the Azure KeyVault
[ ] Inform data insights team due to database changes
[ ] Make sure all information from the Trello card is in here
[ ] Rebased main
[ ] Cleaned commit history
[x] Tested by running locally
[ ] Add PR link to Trello card

 Decide whether or not to maintain current database CPU levels.


Change Public Network Access via PowerShell

[Enter feedback here]
For the PowerShell command version of changing Public Network Access issue:
Set-AzSqlServer -ServerName sql-server-name -ResourceGroupName sql-server-group -SqlAdministratorPassword $SecureString -PublicNetworkAccess "Enabled"
Based on my test Az.Sql 2.5.0 and 2.7.0 is working, but 2.6 version doesn't work. Is it possible to list the version or give a friendly tips about working version of PowerShell command on this documentation?
--Please help to double confirm which version is working. If anything is wrong, feel free to correct me.

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

ID: 23b783bd-c5bc-8c0c-eb78-eebdfbb03679
Version Independent ID: 65d9e215-542b-66ef-4797-e5781930cfea
Content: Connectivity settings for Azure SQL Database and Data Warehouse - Azure SQL Database and SQL Data Warehouse
Content Source: articles/azure-sql/database/connectivity-settings.md
Service: sql-database
GitHub Login: @rohitnayakmsft
Microsoft Alias: rohitna

@zqyAmy Thank you for making us aware of nuance. You can run the following command: az --version to identify your currently installed version and extensions. Please see: Azure CLI Release Notes, please see: for version information, release date, and fixes.

@zqyAmy I apologize for the delay on getting back to you on this issue. I spent some time going through this in PowerShell and was unable to reproduce any issue with Az.sql 2.6. Is there something specific that was occurring? I set up an environment where I could toggle the public network access Enable/Disable.

@zqyAmy If you do happen to find a bug with a PowerShell cmdlet, please feel free to log an issue in the Azure PowerShell repository. We will now proceed to close this thread. If there are further questions regarding this matter, please comment and we will gladly continue the discussion.


Unified the way we display tooltips

Description
We need to use just one way of displaying tooltips. See recommended option in screenshots.
Reasons
UX needs to be consistent so that users does not get confused
.Acceptance Criteria

[ ] All input fields are checked, and we use the recommended ui display delay 1.5-2sec with the help insights
[ ] We remove all the info icons and ? icons
[ ] If the help content is too long for a tooltip or with deep expert information we need to identify and capture those sections and work with a TW to reduce the size

Attachments

Please add tooltip for inactive Expose Function button.

https://github.com/kyma-project/busola/pull/297


Permanently enable vscode-file:// origin

This PR fixes #98682 and will land after we had 1 milestone of vscode-file:/ usage in stable.

Continues in https://github.com/microsoft/vscode/pull/130088


Calling of Java 8 method throws a runtime error in Android API < 24

I was seeing a crash on older Android devices and it turned out to be a subtle destructuring-related issue.
It's pretty easy to reproduce as long as you have the right device (anything less than API 24). I was seeing the exception in the error handling function I register with setDefaultUncaughtExceptionHandler, but if you don't register I expect the app would just crash.
I can't think of a good way to add a unit test because of the platform dependency.

👍 good catch


control_flow_ops_test unit test is flaky

Click to expand!
Issue Type
Bug
Have you reproduced the bug with TF nightly?
Yes
Source
source
Tensorflow Version
git HEAD
Custom Code
No
OS Platform and Distribution
Ubuntu 20.04
Mobile device
n/a
Python version
3.9.16
Bazel version
5.3.0
GCC/Compiler version
10.2.1
CUDA/cuDNN version
n/a
GPU model and memory
n/a
Current Behaviour?
//tensorflow/python/ops/parallel_for:control_flow_ops_test fails occasionally due to difference exceeding tolerance.
See https://github.com/tensorflow/tensorflow/actions/runs/5012758324/jobs/8985082872#step:5:29789
Standalone code to reproduce the issue
bazel test --build_tests_only --config=mkl_aarch64_threadpool --copt=-flax-vector-conversions --test_env=TF_ENABLE_ONEDNN_OPTS=1 --test_env=TF2_BEHAVIOR=1 --define=no_tensorflow_py_deps=true --test_lang_filters=py --test_size_filters=small,medium --test_output=errors --verbose_failures=true --test_keep_going --notest_verbose_timeout_warnings --local_test_jobs=64 --test_tag_filters=-nopip,-no_pip,-oss_serial,-no_oss,-oss_excluded,-v1only,-benchmark-test,-no_aarch64,-no_oss_py38,-no_oss_py39,-no_oss_py310 -k -- //bazel_pip/tensorflow/... -//bazel_pip/tensorflow/compiler/tf2tensorrt/... -//bazel_pip/tensorflow/compiler/xrt/... -//bazel_pip/tensorflow/core/tpu/... -//bazel_pip/tensorflow/go/... -//bazel_pip/tensorflow/java/... -//bazel_pip/tensorflow/python/integration_testing/... -//bazel_pip/tensorflow/tools/toolchains/... -//bazel_pip/tensorflow/lite/... -//bazel_pip/tensorflow/python/kernel_tests/nn_ops:atrous_conv2d_test -//bazel_pip/tensorflow/python/kernel_tests/nn_ops:conv_ops_test

Relevant log output
AssertionError:
Not equal to tolerance rtol=0.0001, atol=1e-05
Mismatched value: a is different from b.
not close where = (array([0]), array([0]), array([0]), array([1]), array([4]), array([0]))
not close lhs = [0.]
not close rhs = [0.77603436]
not close dif = [0.77603436]
not close tol = [8.760343e-05]
dtype = float32, shape = (3, 3, 2, 12, 12, 3)
Mismatched elements: 1 / 7776 (0.0129%)
Max absolute difference: 0.77603436
Max relative difference: 1.
 x: array([[[[[[0.      , 0.      , 0.712515],
           [0.      , 0.889897, 0.      ],
           [0.      , 0.      , 0.      ],...
 y: array([[[[[[0.      , 0.      , 0.712515],
           [0.      , 0.889897, 0.      ],
           [0.      , 0.      , 0.      ],...

Fixed by merge of #60638

#60638 was undone along with removing flaky flag from other tests, so this issue still needs addressing.


Search SDK: Adding migration guide for v1.0.0-preview of the .NET SDK

Hi @brjohnstmsft, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

It looks like you're working at Microsoft (brjohnst). If you're full-time, we DON'T require a contribution license agreement.

If you are a vendor, DO please sign the electronic contribution license agreement. It will take 2 minutes and there's no faxing! https://cla.azure.com.

TTYL, AZPRBOT;

@brjohnstmsft
Hello, Bruce. This is a new article and needs to be submitted for publication through the private repo azure-content-pr (which will put it though validation).
For guidance see the following:
https://github.com/Azure/azure-content/blob/master/contributor-guide/tools-and-setup.md
https://github.com/Azure/azure-content/blob/master/contributor-guide/git-commands-for-master.md
https://microsoft.sharepoint.com/teams/azurecontentguidance/wiki/Pages/Documentation training + best practices for partners.aspx
Thanks.

@brjohnstmsft
Hello, Bruce. This is a new article and needs to be submitted for publication through the private repo azure-content-pr (which will put it though validation).
Please close this pull request using the Close and comment button at the bottom of this page and submit a new pull request using the guidance below. Thanks for your contribution.
For guidance see the following:
https://github.com/Azure/azure-content/blob/master/contributor-guide/tools-and-setup.md
https://github.com/Azure/azure-content/blob/master/contributor-guide/git-commands-for-master.md
https://microsoft.sharepoint.com/teams/azurecontentguidance/wiki/Pages/Documentation training + best practices for partners.aspx

I'll re-submit using the private repo.


Parallel HTTP requests

When we have multiple parallel HTTP requests, the assumption that a stack resembles the usage is wrong. Our API needs a way to

tell the fetch request, that it is triggered by this span
tell react-tracing that it should finish the right fetch request
...?

We should try a sequence graph with different variations, add tests for it and find a convenient API to resolve this issue.
     │
     │
┌────┴───┐
│Span1   │
│        │
│        │
│        │
└────┬───┘
┌────┴───┐
│HTTP    │
│Request │
│        │────────────────────────────────────────┐
│        │                                        │
└────┬───┘                                        │
     │                                            │
     │                                            │
     │                                            ▼
┌────┴───┐                                   .─────────.
│HTTP    │                                  ╱           ╲
│Request │                                 (   Server    )
│2       │────────────┐                     `.         ,'
│        │            │                       `───────'
└────┬───┘            │        ┌────────────────────
     │                │        │     .─────────.
     │                │        │    ╱           ╲
 ┌───┴────┐           └────────┼───▶   Server    )
 │Answer  │                    │    `.         ,'
 │Request │                    │      `───────'
 │2       │◀───────────────────┘          │
 │        │                               │
 └───┬────┘                               │
     │                                    │
     │                                    │
 ┌───┴────┐                               │
 │Answer  │                               │
 │Request │                               │
 │2       │◀──────────────────────────────┘
 │        │
 └───┬────┘
     │
     │
     │
     ▼

Created with Monodraw

Possible solution, save spans in a map and use  request info as key or let the user give you the detail. That only solves finishing of wrong spans, not the parent issue

Solution: use promises to start spans, allowing, meaning they close them selves on resolve.
We need to change the advanced API to only work with promises and we need an adapter for XHR.

Tests are written, we need to:

Move the stack implementation details to "private" methods in the public API for testability (stack size & is element with name in stack)
Move stack implementation to Map with promise based finishing. p-finally should come in handy

Possibility: Use a n-tree to display the possible span structure and "inject" the subtree or a reference into the callback context. We control the only calls of async functionality we currently care about here and we might think of a more generalized solution, once the problem emerges
           ┌──────┐                          .─────────.
           │Root  │                         ( Root Span )
           └──────┘                          `─────────'
               │                                  │
               │                                  │
               │                                  │
               │                                  ▼
          ┌────────┐                          .───────.
    ┌─────│Function│───┐               ┌─────(  Span1  )─────┐     ┌─────────────────┐
    │     └────────┘   │               │      `───────'┌─────┼─────│Gets new Subtree │
    ▼                  ▼               ▼               │     ▼     └─────────────────┘
┌──────┐           ┌──────┐        .───────.           │ .───────.          │
│fetch1│           │fetch2│       ( Span2.1 )◀─────────┘( Span2.2 )◀────────┘
└──────┘           └──────┘        `───────'             `───────'
    │                  │               │                     │
    │                  │               │                     │
    ▼                  ▼               ▼                     ▼
┌───────┐          ┌───────┐       .───────.             .───────.
│finish1│          │finish2│      (Finish2.1)           (Finish2.2)
└───────┘          └───────┘       `───────'             `───────'
                                       │                     │
                                       │                     │
                                       │       .───────.     │
                                       └─────▶( Finish1 )◀───┘
                                               `───────'
                                                   │
                                                   ▼
                                               .───────.
                                              ╱         ╲
                                             (Finish Root)
                                              `.       ,'
                                                `─────'

Created with Monodraw

One thing to bare in mind is to get an idea of which scenario we want tracing wise:

Callbacks invoking new fetch requests "count" lead to the span of the first fetch to be longer (as in until the promise finally resolves)
Fetch & Promise resolution are independent: upon fetch there is always a span opened for the promise and then one for the fetch, making this visible for the user
We advice the user to manage a root span on their own or treat these requests seperately

Anyways, we need to take a look at this test and fix the asserions

Option 3 seems to be the most promising one, as the user can control the most in this process. We can find common abstractions later