Set key with $firebaseArray.$add()

In certain places, I would like to be able to specify the key when using $firebaseArray.$add().  I think it would be handy to have the ability to do this added to the function.
I can think of 2 different ways to allow this, either adding an $id property to the data being added and have that used as the key, or alternately calling $add(dataObject, key).  Either one of these approaches would default to the existing behaviour if no key was specified, so this change would not break any existing code.
Is this something that could be added?  I could make the change and create a pull request if it would be accepted.

Thanks for the feature suggestion. We actually have heard this one before, although I can't pull up the past issue. In general, I would say that if you need to specify the key, you should probably be using $firebaseObject instead of $firebaseArray. Would you mind explaining your use case and we can see if $firebaseObject is more appropriate?

Also, adding a record with a specific key can be done as follows: 'firebaseArray.$ref().child( newKey ).set(newData);'

ok, thanks katowulf, I will use that suggestion,
jwngr, I definitely want to use $firebaseArray, not $firebaseObject.  One reason for wanting to do this is to use single character strings as keys for arrays whose values may be changing very frequently, in order to minimize data transfer.  Each update of a value contains the path as part of the message sent to the client, so keeping the path length as short as possible can make a potentially meaningful difference over a very large number of updates.

I'm not sure $firebaseArray or $firebaseObject make any difference in the efficiency of downloading frequently changing data. Generally speaking, use array for collections, use object for key/value pairs and records. If you run into performance issues or bandwidth concerns, deal with those later (usually by reducing the amount of information you monitor).

@katowulf firebaseArray.$ref().child(newKey ).set(newData); does not work does it?
Uncaught TypeError: memberWhatsNewList.$ref(...).child is not a function
Is there another way to do this. Having a master list of items (for a eg: group) and then adding that to a member requires this technique.
One often wants to add to an array specified your own key (for small lists)
Any suggestions otherwise please?

This original thread is almost a year and a half old. Please start a new topic. And since this is a usage question, it is better suited for Stack Overflow or the Firebase Google Group. Please re-post on one of those forums? Please also remember to include version information and a code sample (if relevant) to help us resolve your issue.

@jwngr , yes, old topic, but still outstanding in my view. And not so much a usage issue as a feature that is missing on the $firebaseArray. If the Firebase guys thinks is is never going to be addressed, then fine, but it seems like a very simple feature missing on the array handling.
No point in asking Stack Overflow, it either gets solved here at the core, or we live without it and hack our way around it.

This question was initially asked on October 27, 2015, when the API was versioned as 1.x.x, not 2.x.x as it currently is. So, it is not surprising that code samples for the legacy version of this library do not work with the current version.
We'd be happy to help you out if you start a new thread on Stack Overflow or the Firebase Google Group.


add faq about CRDS error

adds a reminder to the faqs to source the shell profile to make sure the CRDS environment variables are found

Codecov Report

Merging #446 (abb6ac2) into main (2f48be6) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #446   +/-   ##
=======================================
  Coverage   58.29%   58.29%
=======================================
  Files          71       71
  Lines        7601     7601
=======================================
  Hits         4431     4431
  Misses       3170     3170

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more


Error in collection sample code

Hi
While I was trying to implement validation for my collection fields, I detected one mistake in the collection sample code you provide in the documentation.
I replaced
{%- set attr = attr|merge({'data-prototype': form_row(prototype) ~ '<script>' ~ form_jquery_validation(form) ~ '<script>' }) -%}
by
 {%- set attr = attr|merge({'data-prototype': form_row(prototype) ~ '<script>' ~ form_jquery_validation(form) ~ '</script>' }) -%}
to make it work.
Do you confirm this is the way it should be ?

@BboyKeen Thanks for reporting!


ACM-2647: Problems with time window links (#2446)

ACM-2647: Problems with time window links

Signed-off-by: Maggie Chen<EMAIL_ADDRESS>
use link with generate path

Signed-off-by: Maggie Chen<EMAIL_ADDRESS>
fix edit issue

Signed-off-by: Maggie Chen<EMAIL_ADDRESS>
Add test cases

Signed-off-by: Maggie Chen<EMAIL_ADDRESS>
Add more test coverage

Signed-off-by: Maggie Chen<EMAIL_ADDRESS>Signed-off-by: Maggie Chen<EMAIL_ADDRESS>https://issues.redhat.com/browse/ACM-2647

/retest

/lgtm


[BUG] Dexios doesn't erase the compressed file on failure.

Describe the bug
I want to pack my directory and Dexios doesn't erase the temporary file on failure.
To Reproduce
Preface: You have data directory with some files.
Option 1:

Run dexios pack -py data data.enc
Dexios will ask you for your user password, but press Ctrl+C (or Cmd-C on Mac)

Option 2:

Run dexios pack -pyk not_exist.txt data data.enc
Dexios cannot find keyfile and will show error.

Expected behavior
Dexios doesn't pack my folder and doesn't create the temporary file (or erase it after fail).
Actual behavior
Dexios doesn't pack my folder but creates the temporary file data.enc.xxxxxx
Screenshots
pc:~/finance$ ll | grep enc
-rw-r--r--  1 user user 552549 business.enc
-rw-r--r--  1 user user   8125 family.enc
pc:~/finance$ dexios -py business business.enc
ℹ Creating and compressing files into business.enc.HbSr3HzN
ℹ Traversing business
✔ Compressed 3 files into business.enc.HbSr3HzN! [took 0.00s]
Password:
Error: Unable to read password

Caused by:
    Error reading password from terminal
pc:~/finance$ ll | grep enc
-rw-r--r--  1 user user 552549 business.enc
-rw-r--r--  1 user user 552405 business.enc.HbSr3HzN  <<<<<
-rw-r--r--  1 user user   8125 family.enc

Desktop (please complete the following information):

OS: Ubuntu
Version: 20.04.4

I am aware of this issue, and it has tripped me up in the past while testing (due to the amount of residual files).
Thank you for opening this, I was going to get around to it at some point - I'm just not too sure of the best way to solve it. Maybe pack/unpack mode will require some manual error intervention, so we can delete the temporary file before exiting.
I'll take a look into it properly in the morning, as it's rather late where I am.
Thank you!

It may be most correct to divide it into a "validation phase", a "setup phase" and a "build phase". The validation phase will check if the data we want to pack exists. The setup phase will ask for additional data in our case the password. If everything is successful, in the last build phase we will already create a temporary archive and directly pack.

It may be most correct to divide it into a "validation phase", a "setup phase" and a "build phase". The validation phase will check if the data we want to pack exists. The setup phase will ask for additional data in our case the password. If everything is successful, in the last build phase we will already create a temporary archive and directly pack.

I think this would be ideal, although there's still room for error. A common error is one also regarding symlinks that point to no valid path. This would be impossible to detect without traversing the directory beforehand, and then another while actually packing the files.
I'll probably need to skip all symlinks entirely.

If you don't mind, I would help you with this issue 🧐

If you don't mind, I would help you with this issue 🧐

That'd be great! I'm taking things easy over the next few days, as it's a holiday and I'm trying to relax a little lol
Thank you 😃


Add aliases for "up" and "down"

I always forget which of “down”, “halt” or “stop” actually stops
dinghy, so I thought it’d be nice to have these as aliases. For good
measure, “start” is also added as an alias for “up”.

yeah, those names made more sense when dinghy was a small wrapper around Vagrant. Thanks, I've merged this into master.


[WEBSITE] Integration testing documentation

Resolves #3578

@gkowalski-google Would you be able to review this PR?

@red2k18 Sorry for the delay in reviewing this. I think it mostly looks good. I will get my comments added by tomorrow. One thing is that I'd prefer to not continue adding any more inspec tests and use pytest for any new tests. Maybe for now we can focus on how to run the tests. Is it OK if I add some commits to this PR?

@gkowalski-google Is it possible for you to add comments instead of commits if it is related to #3578 ? If it is not related, submitting a new PR with your changes would make sense.


feat: support set default environs for nodejs runtime

support set default environs for nodejs runtime

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.xuandao.ws 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.


UI - button for settings menu is too high.

Since the settings button was moved closer to the top of the screen, its position has become a problem on devices with a centered hole punch style camera such as Pixel 6 Pro. The button now appears exactly where the camera is.
See the following issue for screenshots of how the button has moved closer to the top of the screen: https://github.com/GrapheneOS/Camera/issues/68

This is being worked around via the latest development branch changes.


Added splide js

Summary by CodeRabbit

New Features

Introduced an image carousel for displaying board game images, enhancing visual presentation.
Added lazy loading for improved performance.

Chores

Updated project dependencies to include @splidejs/react-splide.

@Shirisha-16 make the height of the images little bit small and auto-scroll on

i have changed the height of images and added autoscroll as well. I have completed another task under this (Addition of login link in signup page).


awscli: set branch parameter in SRC_URI

This is a kirkstone backport of the patch accepted into master-next.
This silences the following warning:
WARNING: awscli-1.20.54-r0 do_cleanall: URL: git://github.com/aws/aws-cli.git;protocol=https does not set any branch parameter. The future default branch used by tools and repositories is uncertain and we will therefore soon require this is set in all git urls.

thank you!


[Bug]: The results filtered through the tag in the findtrace page did not match expectations

What happened?
No data is found when filtering traces through the following tag：
http.url=http://sss.xxx.com/v1/user/spaces/1310e65f-16c6-4502-a9ef-15e0ff38e8b2/zone_roles?service_name=ss.sss.xxx.com,
Is it because the value contains the special symbol = at the end? Because passing the following query is normal：
http.url=http://sss.xxx.com/v2/healthchaeck
Steps to reproduce
Filter traces data through the following tags：
http.url=http://sss.xxx.com/v1/user/spaces/1310e65f-16c6-4502-a9ef-15e0ff38e8b2/zone_roles?service_name=ss.sss.xxx.com,
Expected behavior
Filter out the data correctly
Relevant log output
No response
Screenshot

Additional context
No response
Jaeger backend version
1.49.0
SDK
No response
Pipeline
No response
Stogage backend
No response
Operating system
No response
Deployment model
No response
Deployment configs
No response

did you try the advice in the tooltip?

(the tooltip has a typo, I put a fix https://github.com/jaegertracing/jaeger-ui/pull/2224)

Thank you for your reply.
I used ' to wrap = like '='  for query according to what you said. Unfortunately,  still failed to filter out the data:
http.url=http://sss.xxx.com/v1/user/spaces/1310e65f-16c6-4502-a9ef-15e0ff38e8b2/zone_roles?service_name'='ss.sss.xxx.com

@JaredTan95 What is the backend you are using?

@JaredTan95 What is the backend you are using?

jaeger 1.49.0
jaeger ui 1.33.o

quotes around the value: http.url="http://sss.xxx.com/v1/user/spaces/1310e65f-16c6-4502-a9ef-15e0ff38e8b2/zone_roles?service_name=ss.sss.xxx.com"

quotes around the value: http.url="http://sss.xxx.com/v1/user/spaces/1310e65f-16c6-4502-a9ef-15e0ff38e8b2/zone_roles?service_name=ss.sss.xxx.com"

Thank you for your reply, but according to your reply, it is still not effective

Works for me in the HotROD demo (with memstore)

There is also a problem in my environment:

The version information is:

Which storage backend?

Which storage backend?

ES

I figured it out. The ES tag queries are considered regex queries. So it's not the = sign that trips the search, it's the ?.
Here is example where the search fails:

And here's example where it succeeds, after adding an escape character \\ in front of ?

This is actually documented in the help popup:

Thanks a lot, It works~


Start working on a complete rewrite?

[ ] No regard for backwards compatibility. If user attempts to install old package, tell them to install cc-paw-old and use it. (Make a new style package called that which installs the old version. The new version would have to change where/how it stores data.)
[ ] Modularize components more if possible.
[ ] Use semantic versioning internally.
- [ ] Package definitions will be strings defining the version instead of sequential numbers.
- [ ] Dependencies must be allowed to specify versions they work with (which would be the major version).
[ ] Package definitions should build off of old versions instead of specifying entire requirements of each version. (The way it would be handled is to loop through every version between installed and current, create lists of what to remove and download, then apply removes, then apply downloads. Newer version downloads supersede older downloads. Newer removes .. are the same thing as older removes.)

See cc-paw/cc-paw-new#1


SimpleVideoFileFilter - video orientation is always landscape

Hi Brad,
I'm having trouble understanding how GPUImageMovie/GPUImageView orientation works.
I modify the SimpleVideoFileFilter example to load video using UIImagePickerController so I can test various kind of videos.
And no matter witch video I loaded (portrait, landscape, upsideDown) the result was always a landscape orientation video.
Shouldn't the GPUImageView take care for setting the right orientation automatically?  Should I set its InputRotation ?
Thanks

Hi Eyalc,
Have you got the solution regarding your this issue? I am also struggling with the same issue. If you have any solution then can you help me for resolve it?
Thanx


Safari/iPadOS: no UI affordance when hover on sash

VSCode Version:
OS Version:

Steps to Reproduce:

Open Web/Codespace on iPadOS
Connect external mouse/trackpad
Mouse over sash, there is no UI affordance

In desktop, we change the pointer style but there is no such thing on iPadOS. We may want to change the sash style.

Does this issue occur when all extensions are disabled?: Yes/No

can be a sub set of https://github.com/microsoft/vscode/issues/108832

I think this is solved with the new sash feedback color @rebornix ?

Let's close as dup of https://github.com/microsoft/vscode/issues/120937
Even though that one is newer, it is already assigned to current milestone to look into


render a cog layer with nodata value

I‘m using openlayers 6.14.1 to render a single-band ndvi cog data which has a defined nodata value 65535。The problem is when I used 65535 as nodata value in WebGLTileLayer declaration， the nodata area of the ndvi raster data was rendered with color  but not transparent。Then I changed the nodata value to 0, the nodata area became transparent。I don't know if this is a bug, below is my style expression:
const style = {
  color: [
    "case",
    ["between", ["band", 1], 0, 0.3],
    ["color", 85, 255, 117],
    ["between", ["band", 1], 0.3, 0.6],
    ["color", 125, 255, 125],
    ["between", ["band", 1], 0.6, 0.9],
    ["color", 255, 255, 0],
    ["color", 0, 0, 0],
  ],
};

const source = new GeoTIFFSource({
 normalize: false,
  sources: [
    {
      url,
      nodata: 65535,
    },
  ],
});

const layer = new WebGLTile({
    className: "WebGLTile",
    style: style,
    source: source,
    extent: view.extent,
  });

Are you able to share the GeoTIFF?

Whatever the value, when nodata is specified (or detected) an additional band is returned which can be used as alpha when styling https://codesandbox.io/s/cog-forked-kthbsh?file=/main.js

Are you able to share the GeoTIFF?
Sorry, the GeoTIFF is in a local area network and is not allowed to share. I tried the alpha method suggested by @mike-000  and it works.

Whatever the value, when nodata is specified (or detected) an additional band is returned which can be used as alpha when styling https://codesandbox.io/s/cog-forked-kthbsh?file=/main.js

I tried the alpha method and it worked, thanks a lot.


Eyebrows for my skin?

What eyebrow is needed for this skin

I think you should use the upper mid eyebrows. Look in the wiki to see where to place the extra pixels


requesting a new release and a doc review

We are almost ready to merge the DeepSpeed integration into the HF trainer: https://github.com/huggingface/transformers/pull/9211

since the currently released package doesn't include the recent fixed required for the integration to work we ask if it'd be possible to make a new pypi release. This is the most important part of this request, since we instruct users to pip install deepspeed.

also if it's not too much trouble to have a quick peek at the initial doc that I wrote and perhaps make suggestions that would help HF users to have a better experience getting started with DeepSpeed. The idea behind that document is not to try to document DeepSpeed but to provide a way for users to discover it and redirect to your resources for everything they need.
It's the very first .rst file at https://github.com/huggingface/transformers/pull/9211/files, and you can skip over the short fairscale entry, which was there already, I just moved it so it appears as new.
If you don't have the time, this is much less urgent, as we can easily improve that down the road, so the new release is the critical part.

Thank you very much for all of your awesome support!

Regarding a new release, I was planning to push a new release today actually. Will update this thread when it's live.

Regarding a new release, I was planning to push a new release today actually. Will update this thread when it's live.

v0.3.10 should be live now on pypi: https://pypi.org/project/deepspeed/

v0.3.10 should be live now on pypi: https://pypi.org/project/deepspeed/

Confirming that it works great! thank you very much for the speedy release, @jeffra!

Confirming that it works great! thank you very much for the speedy release, @jeffra!

Got some great feedback from @tjruwase - so I'll close this, but if others get a chance to read are integration doc please do! thank you!

Got some great feedback from @tjruwase - so I'll close this, but if others get a chance to read are integration doc please do! thank you!

btw, just noticed that you front page https://github.com/microsoft/DeepSpeed isn't getting updated with new releases:

it shows 0.3.1 as the latest and Latest links to it, rather than 0.3.10

btw, just noticed that you front page https://github.com/microsoft/DeepSpeed isn't getting updated with new releases:

it shows 0.3.1 as the latest and Latest links to it, rather than 0.3.10

Thanks for the ping on this, I believe this is because releases 0.3.2 -> 0.3.10 didn't have any release notes just tags and for some reason github doesn't show them there unless they have release notes. I've added release notes now for 0.3.10 and it seems to be showing okay.

Thanks for the ping on this, I believe this is because releases 0.3.2 -> 0.3.10 didn't have any release notes just tags and for some reason github doesn't show them there unless they have release notes. I've added release notes now for 0.3.10 and it seems to be showing okay.


Do not count .DS_Store as a file to disqualify a folder during prisma2 init with a Starter Kit

I gather that prisma2 init + Starter Kit only works with empty directories. However, macOS's Finder creates a hidden .DS_Store file that saves metadata about the directory itself (icon positions etc.). When this file is present, prisma2 init + Starter Kit fails with the following message:

, which is technically correct, but I believe we should not count the existence of this .DS_Store file towards being a non-empty directory. I think we should either ignore it or delete it.
Steps to reproduce (only on macOS):

Go to any folder, and create an abcd folder.
Inside the abcd folder, create another folder, then delete it. (Make sure you do this in Finder, mkdir in Terminal will not create the .DS_Store file)
Run ls -a in this abcd folder, and you should see the .DS_Store file.
Try prisma2 init in the abcd folder.

Fixed in latest alpha.
You can try it out with npm i -g prisma2@alpha.


[BUG] - ExtendVariants does not retain applied styles (always reverts to default styles) in 2.2.9

NextUI Version
2.2.9
Describe the bug
I am extending the Button component with some variants and it's been working great:
`import { extendVariants, Button } from "@nextui-org/react";
const base = "wallabie-button relative rounded-[5px] border border-solid shadow-wallabie-light py-2 px-5 text-sm border-[#E9DBCC] bg-wallabie-offwhite text-wallabie-gray hover:border-wallabie-tan/40 hover:shadow-wallabie-dark";
export const ButtonExt = extendVariants(Button, {
variants: {
color: {
light: ${base},
dark: ${base} border-[#E9DBCC] bg-wallabie-teal-100 text-wallabie-black,
},
type: {
icon: ${base} p-2,
text: ${base} p-2 bg-transparent border-none underline hover:text-wallabie-orange shadow-none,
},
},
defaultVariants: {
color: "light"
}
});`
Since updating 2.2.9, the styles apply on first render, but any subsequent renders (e.g. opening a modal) causes reverts the button styles back to the original default gray styling.
On render:

After opening a modal:

Your Example Website or App
No response
Steps to Reproduce the Bug or Issue
Install NextJS with NextUI
Extend variants of Button and apply
Expected behavior
The button styles should be consistent, rather than reverting to the default styles
Screenshots or Videos
No response
Operating System Version
Windows
Browser
Chrome

As an update: it seems the defaultVariant does not retain on render.
<ButtonExt onPress={(e) => console.log(e)}>Get Started</ButtonExt>
If I force a variant, it seems to work fine:
<ButtonExt color="light" onPress={(e) => console.log(e)}>Get Started</ButtonExt>

Having the same issue

Please rewrite compoundVariants
export const EButton = extendVariants(Button, {
    compoundVariants: [
        {
            className: "bg-p-base text-t-100 font-[800]",
        }
    ],
    variants: {
        color: {
            default: "bg-p-base text-t-100 font-[800]"
        }
    },
    defaultVariants: {
        color: "default",
        size: "md"
    }
});

I also encountered this problem and do not know when it will be repaired


[FEATURE] Test SE with 3.5 and above Pyspark

Is your feature request related to a problem? Please describe.
Test all the features of SE with 3.5 and above, make respective changes for it to work. Update documentation accordingly
Describe the solution you'd like
NA
Describe alternatives you've considered
NA
Additional context
NA

I propose we swap out poetry for hatch and introduce matrix testing. That way we can check with all relevant spark and python versions. For reference: https://github.com/Nike-Inc/koheesio/blob/485ee90f9f624897d27800ecc0510df35a2cb707/.github/workflows/test.yml#L62-L103

I propose we swap out poetry for hatch and introduce matrix testing. That way we can check with all relevant spark and python versions. For reference: https://github.com/Nike-Inc/koheesio/blob/485ee90f9f624897d27800ecc0510df35a2cb707/.github/workflows/test.yml#L62-L103

I agree. This will  simplify future testing efforts.

@dannymeijer I agree, let's go with this and implement the hatch.


Document example of using dask_gateway

We ought to provide some example on how to use dask_gateway in the daskhub we provide. This is an preliminary example that has run into issues tracked in #2145.
Action points

[ ] Resolve #2145
[ ] Document this example somewhere
[ ] Verify verifying this example works at ciroh.awi.2i2c.cloud
[ ] Followup with Matt at ciroh.awi.2i2c.cloud in this ticket

Dask gateway example
This usage documentation is similar to dask-gateway's official usage documentation, but is simpler as how to connect to the dask-gateway server is pre-configured via environment variables.
To use dask-gateway from a user server, the user server should have dask-gateway installed, which is a client to communicate with an external dask-gateway-server. The server should also have bokeh, as the image will be used in the scheduler pod that needs bokeh to present dashboards. At the time of writing, only bokeh version 2 is supported.
# Create a pre-configured dask-gateway client to speak with an already running
# dask-gateway server. With this client, you can request that the server creates
# create a dask cluster for you, which means you get one dask scheduler and your
# choice of dask workers to run separate from this server.
#
from dask_gateway import Gateway
gateway_client = Gateway()

# Request options for you to configure on a dask cluster to be created.
#
cluster_options = gateway_client.cluster_options()
cluster_options

# Use the options to create a dask cluster.
#
# After running this cell and a dask-scheduler has started up, you are presented
# with a control panel view to add/remove workers.
#
# Note that the scheduler and workers will run on a separate node/machine that
# likeley needs to start up. When a node needs to be started, expect ~5 minutes
# for it to startup so that the workers can run on it and become registered with
# the scheduler.
#
cluster = gateway_client.new_cluster(cluster_options)
cluster

# dask-gateway has done its job, you now interact with the dask-scheduler of the
# created dask cluster using a dask scheduler client.
#
scheduler_client = cluster.get_client(set_as_default=True)
scheduler_client

Example job to execute
# This defines a dummy task that we could execute:
# - locally without Dask
# - locally using Dask and local workers (dedicated linux processes)
# - remotely using Dask and remote workers (dedicated Kubernetes Pods)
#
import numpy as np
import joblib
from sklearn.datasets import load_digits
from sklearn.model_selection import RandomizedSearchCV
from sklearn.svm import SVC

digits = load_digits()

param_space = {
    'C': np.logspace(-6, 6, 13),
    'gamma': np.logspace(-8, 8, 17),
    'tol': np.logspace(-4, -1, 4),
    'class_weight': [None, 'balanced'],
}

model = SVC(kernel='rbf')
search = RandomizedSearchCV(model, param_space, cv=3, n_iter=50, verbose=10)

# Let's execute the dummy task by using our scheduler client configured to be
# used by default, which in turn delegates work to the clusters workers.
#
# This can for example take 12 seconds with 8 1-CPU workers.
#
with joblib.parallel_backend('dask'):
    search.fit(digits.data, digits.target)

Resolved by @jnywong in https://github.com/2i2c-org/docs/pull/228


[BUG] Model Not Start after complete download on windows

Issue Description
Hi
i install nexa sdk for CPU on windows 10 then run below command
nexa server Octo-planner:q8_0
but no think happen no server start ?
INFO:     Started server process [6796]
INFO:     Waiting for application startup.
2024-09-23 22:00:11,847 - INFO - Model Path: Octo-planner:q8_0
Model Octo-planner:q8_0 already exists at C:\Users\xxx.cache\nexa\hub\official\Octo-planner\q8_0.gguf
same think for command nexa run Octo-planner:q8_0
Steps to Reproduce
i install nexa sdk for CPU on windows 10 then run below command
nexa server Octo-planner:q8_0
but no think happen no server start ?
INFO:     Started server process [6796]
INFO:     Waiting for application startup.
2024-09-23 22:00:11,847 - INFO - Model Path: Octo-planner:q8_0
Model Octo-planner:q8_0 already exists at C:\Users\xxx.cache\nexa\hub\official\Octo-planner\q8_0.gguf
same think for command nexa run Octo-planner:q8_0
OS
Windows 10
Python Version
Python 3.11.4
Nexa SDK Version
<IP_ADDRESS>
GPU (if using one)
No response

@Alias4D Could you please record a short screen record or give us more terminal print details?

OK, after I return from my travel 😊
I will provide short video 👍

Hi , welcom againe
my screen shot

for long time no think happens , no app start or any text printed on terminal

Worked like a charm using version <IP_ADDRESS>

I will try update

Welcome 👋 , again
I update nexaai to last version <IP_ADDRESS> and try again But same state no think happen no server start .....😔

Welcome 👋 , again I update nexaai to last version <IP_ADDRESS> and try again But same state no think happen no server start .....😔

If port 9000 is occupied? Try to use nexa server Llama3.2-3B-Instruct:q4_0 or change another model to start the server.


Refactor

Description in CHANGELOG.md.

Changes Unknown when pulling b21ce4b8eefe024efa684591f129e8af73b74070 on chore/refactor into ** on master**.

Build seems to fail on ESLint trying to lint some node_modules? It seems unrelated to the PR so I'll merge for now (this work is needed for further development) and we can investigate later.

Looks like the failure is due to nvm not installing the appropriate node version. Might be an infrastructure issue on their end, definitely not related to this PR.


Typos in the Complex Numbers and Trigonometry lecture

"The symbol |z|=\bar{z} z=r represents the modulus of z." and "r=|z|=\sqrt{x^{2} + y^{2}}" are not consistent given "z=x+i y=r e^{i \theta}" and "\bar{z}=r e^{-i \theta}". According to Wikipedia, the first equation should be |z|=\sqrt{\bar{z}z}=r.

"\theta=\tan ^{-1}\left(\frac{y}{x}\right)" and "\tan \theta=\frac{x}{y}" are not consistent.  The latter should be "\tan \theta=\frac{y}{x}" to be consistent with the former.

Thanks @QBatista, much appreciated.


Support for Renaming a Privately Shared Folder?

Is it possible to rename a shared folder to include/remove someone for access?
For example, Alice and Bob are in a music group together and are sharing lyrics. Randy joins their band, so without doing a major overhaul they'll do mv /keybase/private/alice,bob /kaybase/private/alice,bob,randy.
It doesn't appear mv is supported in kbfstool.

Hi @foxiae, sorry for the delay.  We don't support adding users to folder names after the fact; you'll have to explicitly move all the data to a new folder.
The reason is that the security of the folder is derived from the name of the folder being explicitly provided by the user/application.  If the name of the folder can change while someone else is writing to it, the security guarantees change and it's not clear what to do with the writes.
However, we will be supporting named groups at some point, which will allow users to be added and deleted after folder creation.  Not sure exactly when yet, though.


adding to .brew/opt path, updating garageband instructions

Hi - thanks for making this repo! I'm a new CS teacher at ACC, and this script is still our go-to for installing code that we need on student macbooks.
There are just two changes that we need to keep this working: first, the method for uninstalling GarageBand has changed.
Second - when students use brew to install programs (like libpq), they aren't automatically appearing in their PATH. I think this change to the *rc files should add the correct folder (.brew/opt, where is where brew symlinks installed programs).
I think this change relates to the fact that brew's install path is different for Apple Silicon computers. See: https://brew.sh/2021/02/05/homebrew-3.0.0/
I'm not positive that this will fix everything, but I think it's better. I'd be happy to hear any feedback!

Howdy, thanks for the PR and email! I added some small changes that I wanted to do a while ago, and thank you for doing the original fixes!

Awesome - thanks!
And as Jeff mentioned in email - don't feel like you have to keep maintaining this forever. Let us know if you'd like to be free of this, and we can figure out the right way to hand it off.


Increase storage efficiency of genomes with Aeron's skipmer approach

https://github.com/cjprybol/sars-cov2-pangenome-analysis/issues/2

Not needed, just store them as the sequences


Update to permissions for disposition

The existing documentation doesn't explicitly call out that a Global Admin user should also be part of the 'Disposition Management' role to see the disposition management in the M365 Compliance Center. This is a big source of confusion and there are customer escalations around this. I am discussing with Roberto on the rationale behind the current design. But, lets have a temporary update to the documentation so that customers are aware.

#sign-off  Thanks for making this update!


Fail if docker desktop is not open

WP Cypress start should fail if docker desktop is not open

Just had a little look into this, the Docker Desktop app is a separate process which serves only as an interface for various Docker services. This is why even if the docker desktop app is closed completely, you can still run and access containers from the CLI.

Docker Desktop is an easy-to-install application for your Mac or Windows environment that enables you to build and share containerized applications and microservices. Docker Desktop includes Docker Engine, Docker CLI client, Docker Compose, Notary, Kubernetes, and Credential Helper.
— https://docs.docker.com/desktop/

So I believe that still being able to run and execute wp-cypress when the desktop app is not active is the actual expected result, as the background services are still running.

I think this issue is more if docker is not running wp-cypress looks to be working but it isn't. With Docker Desktop I think if thats how you've installed docker, if its not open or has been closed then its not possible for wp-cypress to work because background services are not running. I guess maybe we could check to see docker background services are running, if not request them to run.

Given this a try by closing the Docker Desktop app a couple of times and found that containers are still running on occasion. Strange, but the issue makes sense now if the app can close down the background services. Should be easy enough to tackle by checking for the containers.


Module not compatible with Graph SDK V2?

Hi guys,
Trying to run this module to check for inactive users, but coming up with the below error:

It's the same with Powershell 5.1 and 7, any ideas?

+1 from me, previously reported on Mastodon, I should have logged an issue, sorry.

Same here today...
Write-Error: This command is not yet compatible with Microsoft Graph SDK Module v2 and the currently loaded
'Microsoft.Graph.Authentication' module is version '2.8.0'. To resolve, try opening a new PowerShell session, importing
an older version of the module, and running the command again.

Hi @viperthunder, it looks @merill is working on this issue and that Microsoft.Graph.Authentication version 2.8.0 is now added.
Here is what worked for me as a temporary work around.

Clone the repo
Open the vscode workspace
Open the Get-MsIdCrossTenantAccessActvitity.ps1
Replace all occurences for Test-MgCommandPrerequisites with Test-MgBetaCommandPrerequisites
Open Test-MgCommandPrerequisites.ps1
Insert continue on line 54 to skip the test.

51        ## Get Graph Command Details
52        [hashtable] $MgCommandLookup = @{}
53        foreach ($CommandName in $Name) {
54            continue
55            [array] $MgCommands = Find-MgGraphCommand -Command $CommandName -ApiVersion $ApiVersion

Finally, run Connect-MgGraph in terminal and hit F5.

Can you try with the latest published certain? Tx

Hi @merill, I'm getting a different error when running 80bb6c46009f0323c6f653266b88a578b411b103, which appear to be due to the Graph API v1 not supporting the properties used in the filter. I have created a PR if it helps, and below is the rationale.
This is the code I currently get when running your latest commit.
get-msIdCrossTenantAccessActivity
Get-MgAuditLogSignIn_List: C:\Users\MortenHenrichsen\source\repos\MSIdentityTools\src\Get-MsIdCrossTenantAccessActivity.ps1:269:17
Line |
 269 |  …             $Outbound = Get-MgAuditLogSignIn -Filter ("CrossTenantAcc …
     |                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | Invalid filter clause: Could not find a property named 'CrossTenantAccessType' on type 'microsoft.graph.signIn'.  Status: 400 (BadRequest) ErrorCode: BadRequest Date: 2023-10-30T22:26:54  Headers: Transfer-Encoding             : chunked Vary
     | : Accept-Encoding Strict-Transport-Security     : max-age=31536000 request-id                    : 6f4ff6f3-2160-46eb-ab11-08459a73287c client-request-id             : f8bcbed8-4f3c-412a-829a-ed81e03d3d1c x-ms-ags-diagnostic           :
     | {"ServerInfo":{"DataCenter":"West Europe","Slice":"E","Ring":"5","ScaleUnit":"002","RoleInstance":"AM2PEPF0000BE03"}} Date                          : Mon, 30 Oct 2023 22:26:53 GMT
Get-MgAuditLogSignIn_List: C:\Users\MortenHenrichsen\source\repos\MSIdentityTools\src\Get-MsIdCrossTenantAccessActivity.ps1:274:17
Line |
 274 |  …             $Inbound = Get-MgAuditLogSignIn -Filter ("CrossTenantAcce …
     |                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | Invalid filter clause: Could not find a property named 'CrossTenantAccessType' on type 'microsoft.graph.signIn'.  Status: 400 (BadRequest) ErrorCode: BadRequest Date: 2023-10-30T22:26:54  Headers: Transfer-Encoding             : chunked Vary
     | : Accept-Encoding Strict-Transport-Security     : max-age=31536000 request-id                    : a63d4b90-cb52-4f22-b4fc-268d6327f702 client-request-id             : c960af69-b3d7-4684-ad4d-43bd74edaa15 x-ms-ags-diagnostic           :
     | {"ServerInfo":{"DataCenter":"West Europe","Slice":"E","Ring":"5","ScaleUnit":"002","RoleInstance":"AM2PEPF0000BE03"}} Date                          : Mon, 30 Oct 2023 22:26:54 GMT
WARNING: 23.26.54 - No sign-ins matching the selected criteria found.

Graph API v1.0 properties

Name
----
AdditionalProperties
AppDisplayName
AppId
AppliedConditionalAccessPolicies
ClientAppUsed
ConditionalAccessStatus
CorrelationId
CreatedDateTime
DeviceDetail
Id
IPAddress
IsInteractive
Location
ResourceDisplayName
ResourceId
RiskDetail
RiskEventTypes
RiskEventTypesV2
RiskLevelAggregated
RiskLevelDuringSignIn
RiskState
Status
UserDisplayName
UserId
UserPrincipalName

Graph API beta properties
Get-MgBetaAuditLogSignIn | Get-Member -MemberType Properties | ft Name

Name
----
AdditionalProperties
AppDisplayName
AppId
AppliedConditionalAccessPolicies
AppliedEventListeners
AppTokenProtectionStatus
AuthenticationAppDeviceDetails
AuthenticationAppPolicyEvaluationDetails
AuthenticationContextClassReferences
AuthenticationDetails
AuthenticationMethodsUsed
AuthenticationProcessingDetails
AuthenticationProtocol
AuthenticationRequirement
AuthenticationRequirementPolicies
AutonomousSystemNumber
AzureResourceId
ClientAppUsed
ClientCredentialType
ConditionalAccessStatus
CorrelationId
CreatedDateTime
CrossTenantAccessType                             <--- USED IN FILTER
DeviceDetail
FederatedCredentialId
FlaggedForReview
HomeTenantId
HomeTenantName
Id
IncomingTokenType
IPAddress
IPAddressFromResourceProvider
IsInteractive
IsTenantRestricted
Location
ManagedServiceIdentity
MfaDetail
NetworkLocationDetails
OriginalRequestId
OriginalTransferMethod
PrivateLinkDetails
ProcessingTimeInMilliseconds
ResourceDisplayName
ResourceId
ResourceServicePrincipalId
ResourceTenantId
RiskDetail
RiskEventTypesV2
RiskLevelAggregated
RiskLevelDuringSignIn
RiskState
ServicePrincipalCredentialKeyId
ServicePrincipalCredentialThumbprint
ServicePrincipalId
ServicePrincipalName
SessionLifetimePolicies
SignInEventTypes
SignInIdentifier
SignInIdentifierType
SignInTokenProtectionStatus
Status
TokenIssuerName
TokenIssuerType
UniqueTokenIdentifier
UserAgent
UserDisplayName
UserId
UserPrincipalName
UserType


Question RE AO MX formats

I noticed the MX readme has this line: "we match bitwise to other implementations of the OCP MX spec (code not in this repo), with a couple of edge cases left to resolve." Is there a list of edge cases where AO does not match reference implementations? Also, is https://github.com/microsoft/microxcaling the reference implementation AO is trying to match or something else?

I'm also noticing that compiling MXTensor.to_mx on torch 2.4.0 doesn't seem to make it go any faster. Quantizing a 4k x 4k tensor to MXFP4 with to_mx takes much longer than the times reported in https://gist.github.com/vkuzo/83656e4a74777cfc0915de6b27be1ff6.

Hi @tsengalb99 , here is the code we used internally to compare to microxcaling: https://gist.github.com/vkuzo/7bf9a101dd64817c603c6a8417400eda .
In the code above, there is a single instance of pytest.skip, where the numerics do match for very small numbers initialized with x = torch.distributions.uniform.Uniform(0, 1e-38).sample([size]).  I just haven't had time to look into the discrepancy, but it would be great if someone helped out with this.

I'm also noticing that compiling MXTensor.to_mx on torch 2.4.0 doesn't seem to make it go any faster

Sure, I have a couple of thoughts here:

this code is early prototype without any expectation of high performance until the NVIDIA hardware with MX support is officialy released, and we plan to do performance optimizations after we know the exact specs and provided intrinsic functions of the MX support on the released hardware, so we know where the bottlenecks are.
I would use PT nightly instead of 2.4 for more up to date numbers.

please feel free to reopen if needed!


Don't require native-tls-vendored in tokio-tungstenite unless requested

It will get required if one builds with the native-tls-vendored feature, which is actually the default feature for convex-rs.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

This was included in e8bb79767af1237c2c36efe42eeeca23cda92d18.


Performance

Please note
To run this, your computer needs to have about 16gb of RAM, or higher, since using this script will flood the connections with bots, (duplicates), which can be quite resource heavy

Click this video to see how much RAM you have Windows || MacOS

whyd you copy me dude


restore ability specify docker version

Seems now i know when it will be useful

When is it useful? I add to remove it to get things working in the past.

@fboudra for example right now docker 1.12 doesn't accept previous model, so you need set lower docker API version explicitly.

Available long time ago, closing.


Can I keep definition root object after dereference?

If I have this object
"Name": { 					"type": "string", 					"description": "company description", 					"example": "Comercial", 				},
And it is referenced like
"schema": { 								"$ref": "https://raw.githubusercontent.com/totvs/ttalk-standard-message/master/jsonschema/schemas/CampaignTypes_2_000.json#/definitions/Name" 							}
dereference() result will be:
"schema": { 					"type": "string", 					"description": "company description", 					"example": "Comercial", 		} (Root property key was lost)
Is there anyway I can keep the root property key "Name" saved somewhere?

I recommend adding a title to your schema for this.  It's a little redundant, but it's the only way to keep the "Name" value after dereferencing, and it's the recommended way of labeling schemas in both the JSON Schema and the OpenAPI specs.
So, in your case, you would change your object definition to this:
"Name": { "title": "Name", "type": "string", "description": "company description", "example": "Comercial", },


refactoring in preparation to remove tiling

I made these refactoring changes while I was comparing encoders architectures. I think it's clearest if I put these refactoring changes in their own PR and merge it before making substantive changes to the encoder.

The most major change here is the addition of a new method called encode_batch() to the DetectionEncoder. Unlike encode() (which I've renamed to encode_tiled()) , the method encode_batch() takes a batch of untiled images as input. The current implementation of encode_batch() just tiles these images and runs them through the encoder, like we've always done. However, by overriding encode_batch() in a subclass of DetectionEncoder, I've been able to test a new encoder architecture that doesn't create padded tiles, which seems to work much better than our current encoder.

HI @jeff-regier - thanks for this PR. I will review it soon.

I've been able to test a new encoder architecture that doesn't create padded tiles, which seems to work much better than our current encoder.

I'm curious, what do you mean by "work much better"? What tests did you do? Thanks!

I'll open another PR soon with the new encoder but without removing the old one, so we can run both in parallel for a bit before deciding whether to switch. The new one is 4 times faster per iteration (it's fully convolutional, with skip connections, so it doesn't need to form padded tiles) and, at least at detection in synthetic data, it achieves significantly lower training/validation loss. But more validation is needed.
That said, the changes in this PR should be beneficial regardless of whether we adopt the new encoder.


Convert README from Markdown to reStructuredText

This patch improves Python package convention conformance by using the preffered RST format instead of Markdown, allowing clean PyPI page display.
Fixes #37

As a closing note, this could probably be released as 1.2.1 to actually fix the PyPI page:
https://pypi.python.org/pypi/django-health-check

hm... there is nothing wrong with the code, therefore I didn't release it.

Yeah I guess it will be released down the road 👍

@aleksihakli I released your utf-8 commit therefore this is live now :)


Requirements Doc formatting cleanup

Made everything 80 characters and add a print rule so I don't have to go in and change stuff to print it

I didn't approve this :)

At least I waited for the test to finish lol

However what a remarkable way to hide the footer on printing. +1

Thanks, we'll have to remember to do that when we're building the list view pages for the project
⌘-P with no changes to print feels good, man


Menu actions don't work, can't open folder or file

Version 1.26.1
In Developers tool I see several errors:
TypeError: Cannot read property 'getValue' of undefined
at t.getValue (configurationService.ts:255)
at t.initServiceCollection (shell.ts:347)
at t.renderContents (shell.ts:163)
at t.open (shell.ts:459)
at main.ts:104
at Object.g [as _notify] (winjs.base.js:1191)
at Object.enter (winjs.base.js:867)
at n.Class.derive._oncancel._run (winjs.base.js:1089)
at n.Class.derive._oncancel._completed (winjs.base.js:1057)
at runCallback (timers.js:789)
at tryOnImmediate (timers.js:751)
at processImmediate [as _immediateCallback] (timers.js:722)
[uncaught exception]: Error: [createInstance] e depends on UNKNOWN service dialogService.
onError @ index.js:41
(anonymous) @ index.js:160
emitOne @ events.js:116
emit @ events.js:211
window.onerror @ C:\Users\avgre\AppData\Local\Programs\Microsoft VS Code\resources\electron.asar\renderer\init.js:142
Error: [createInstance] e depends on UNKNOWN service dialogService.
at e._createInstance (instantiationService.ts:88)
at e.createInstance (instantiationService.ts:73)
at shell.ts:343
at n.Class.derive._creator.done (winjs.base.js:1545)
at Object.g [as _notify] (winjs.base.js:1201)
at Object.enter (winjs.base.js:867)
at n.Class.derive._creator._run (winjs.base.js:1089)
at n.Class.derive._creator._completed (winjs.base.js:1057)
at Object.g [as _notify] (winjs.base.js:1191)
at Object.enter (winjs.base.js:867)
at n.Class.derive._oncancel._run (winjs.base.js:1089)
at n.Class.derive._oncancel._completed (winjs.base.js:1057)
at Socket. (ipc.net.ts:281)
at Object.onceWrapper (events.js:313)
at emitNone (events.js:106)
at Socket.emit (events.js:208)
at PipeConnectWrap.afterConnect [as oncomplete] (net.js:1169)

I removed all extensions, also I removed entire Code folder in %appdata%, reinstalled Vscode and rebooted system several times.

@GDreyV May I know you see this error when you start VS Code?
@bpasero This can only open if the configuration service is not initialised. Do you know any code paths that code lead to uninitialised configuration service?

Maybe VSCode crashed somewhere on startup but the menu was still there (the native one is always there) and the user could interact with actions with a broken workbench?

@sandy081 yep, when I start vscode the only thing I see is top menu - welcome page is not loaded as well. From system (top) menu I can toggle developer tools, open about popup... When I press check for updates Vscode just closes.

Did you manage to reproduce the issue? Is there any workarounds for that?

@GDreyV No, I could not reproduce it.
Can you please let us know if there was a crash while opening VS Code?
@bpasero Assigning to you.

@sandy081 to be 100% sure that we are on the same page I recorded small video to show how does it work on my side: https://youtu.be/XK-198iSt-k

Somehow there seems to be a NPE happening when accessing the configuration service here:
https://github.com/Microsoft/vscode/blob/26d471d4795dc55d033fa91099593f772428f01b/src/vs/workbench/electron-browser/shell.ts#L357
@GDreyV does it reproduce if you start from the command line pointing to a different user data directory: code --user-data-dir <other dir>

@bpasero yes, it works fine.

@GDreyV what happens if you start with "code -n"? I would still like to understand how you end up with that exception

@bpasero As said earlier, NPE in configuration service can happen only when configuration service is not initialised. There should be an error before this NPE while initialising.

@GDreyV that is too bad. If you can ever reproduce, can you run "code --verbose" from the command line and report back? Closing for now.

@GDreyV actually if you do not mind, maybe send us the logs that got produced. You can find them here:

Sure, here's the link to the log files I found in that folder https://1drv.ms/u/s!AqyaJ9a4KonbnZJPrP6eKj7wMXe7fQ ... hardly think if it will help somehow because they are mostly empty :(

Yeah, does not seem to contain any info :-/


kube-vip only sends gratuitous arp one time

Describe the bug
In arp mode, the kube-vip only sends gratuitous arp one time.
To Reproduce
Steps to reproduce the behavior:

Deploy kube-vip in arp mode.
Deploy a deployment and the related load balancer service.

According to the tcpdump result, we could capture only one gratuitous arp.
Expected behavior
The gratuitous arp should be sent periodically.
Environment (please complete the following information):

OS/Distro: [e.g. Ubuntu 1804] opensuse leaf 15.3
Kubernetes Version: [e.g. v.1.18] rke2
Kube-vip Version: [e.g. 0.2.3] v0.4.2

Additional context
Add any other context about the problem here.

Close the issue due to PR has been merged.


[tutorials]  tutorial

Ported from codelab: https://codelabs.developers.google.com/codelabs/lit-brick-viewer

Do you mind fixing the issue with your package locks? It's preventing the preview link from working


Click menu "View->Other Windows->Python Environment" and create a new one by pointing to a local installed Python like 3.7.0 - this step is not correct since Visual Studio 2015 doesn't support Python greater than 3.5.

az feedback auto-generates most of the information requested below, as of CLI version 2.0.62

Describe the bug
Under Visual Studio 2015 tag,
Click menu "View->Other Windows->Python Environment" and create a new one by pointing to a local installed Python like 3.7.0 - this step is not correct since Visual Studio 2015 doesn't support Python greater than 3.5.
To Reproduce

Expected behavior
Make description correct.
Environment summary

Additional context

hi @lululilliancoding are you using Azure CLI? seems the issue is VisualStudio, not azure cli related. Will triage later when have more info.

I am using VS 2015 but the document said suggest use python 3.7 well VS 2015 doesn't support python 3.7

@lululilliancoding thanks for the info. unfortunately, this repo is for Azure CLI tool. It's not the right place for VS related issue. could  you pls create issue at VS? thanks.

Yes it is VS2015 don't support python 3.7 and you can say it is VS issue rather than Azure CLI tool issue but the documentation/description is on Azure CLI repo right? I mean the description is wrong.

I heart from other dev that how they point VS to python 3.7+ is they install both VS 2015 and VS 2019 then create virtual env via VS 2019 so since it can point to python 3.7+ (VS 2015 can't) then go back to use VS 2015 to run tests. I mean the steps description is not updated for new developers who want to develop CLI cmdlets.


build: x repos build failure on Windows

#!watchflakes
default <- goos == "windows" && repo != "go" && mode == "build"

placeholder for watchflakes.

Looks like the failures have stopped. Assume it is fixed.


Section "SQL Server High Availability features Supported by Team Foundation Server" Removed

I've noticed that the section regarding SQL Server HA features supported by TFS/Azure DevOps Server was removed. Was this intentional?

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

ID: 641b37fc-f117-aca0-32f4-8ea9b73e9d71
Version Independent ID: 211130c6-43b8-f47f-3589-cb4d2a330231
Content: Requirements and compatibility - Azure DevOps Server & Team Foundation Server
Content Source: https://mseng.visualstudio.com/DefaultCollection/TechnicalContent/_git/tfs-docs-pr?path=%2fdocs%2fserver%2frequirements.md&version=GBlive&_a=contents
Product: devops-server
Git Login: elbatk
Microsoft Alias: elbatk

This is the only info I can find around that SQL HA feature table that used to be part of TFS docs, Can Azure Devops support all SQL HA features now including Logshipping?


chore(build): Remove profile disable-javascript-tests

Is your feature request related to a problem? Please describe.
The disable-javascript-tests profile is only active on JDK < 1.8.
<profile>
      <id>disable-javascript-tests</id>
      <activation>
        <jdk>(,1.8)</jdk>
      </activation>

Describe the solution you'd like
Remove the profile from pom.xml files.

Done via #e8a93a9


[Feature suggestion] Make bundler optional

It would be interesting to have an option to disable the internal pkg bundler. This would allow the coupling of an external tool for that purpose, in my case I am using http://fuse-box.org
I made a few attempts to change the code, but it was a bit more complex than expected. If it is in the interest of anyone else I can work on a patch, what do you think?

You can bundle your project with fuse-box, get output bundle file and compile the file with pkg. What do you think of it?

+1. Currently one has to rename require statements to bypass pkg's bundling. For example, if you want to use browserify instead (I'm not familiar with fuse-box but expect it's similar):
browserify --node --no-dg cli.js | derequire > bundle.js
pkg bundle.js

If would be great if:

pkg would accept stdin input
indeed had an option to disable bundling

So you could do something like:
browserify --node --no-dg cli.js | pkg --no-bundle --output my-app

I realize there's more to it: pkg also does asset detection, transforms __filename etc. So you might want options for those too. I'm just spitballing here. Say you want browserify to inline assets:
browserify --node --no-dg -t brfs cli.js | pkg --no-bundle --no-assets --output my-app

Or disable all these pkg features (avoiding an explosion of options):
browserify --node -t brfs cli.js | pkg --bare --output my-app

Alternatively, would it be possible to decouple the pkg bundler? I.e. write a lower-level tool that takes input code as a snapshot as-is?

Well, ok, i understand your points. But why do you need to place everything in one file? Is there a tradeoff when you keep all transformations of your tool, but output the same directory structure to build directory (instead of one file)? This is how pkg was intended to be used with transpilers like babel and flow.

But why do you need to place everything in one file?

That's how browserify works. I admit, it's somewhat a case of "using what I know and love". Generally speaking though, I'm a fan of the unix philosophy. The benefit of a single file - or rather, a standard stream - is you can pipe it into whatever. For example: browserify [..] | derequire | uglifyjs | pkg.
As for transpilers, if I needed it (kind of beats the point of pkg, at least when targeting latest node), I'd probably do browserify -t babelify.

same here, need to exclude quite some stuff from the bundler.


Tabnine still exists on your Mac after you uninstall it

I accidentally uninstalled Tabnine once today, and accidentally found that Tabnine is still running in my local after uninstallation and occupies CPU. Why is this?

gz#24327(related to Zendesk ticket #24327)

Hi @szh-1997
You can fully delete Tabnine from your computer. You need to delete all the folders associated with Tabnine. When you work on Local Model Mode, Tabnine is using your CPU.


Could not found menu UBlockly/Build Block Prefabs using unity 2019.4

Could you please check if there is compiling errors? Because of the different Unity versions, there might be some incompatible api caused errors.

Could you please check if there is compiling errors? Because of the different Unity versions, there might be some incompatible api caused errors.

when upgrade finished. therre is :
An infinite import loop has been detected. The following Assets were imported multiple times, but no changes to them have been detected. Please check if any custom code is trying to import them:
Packages/com.unity.textmeshpro/Editor Resources/Textures/btn_AlignJustified_Light.psd
Packages/com.unity.timeline/Editor/StyleSheets/Images/LightSkin/TimelineHold.png      and so on.    (I think it is uncorrelated)
Asset folder  only has two files: UBlockly and UBlocklyData. Is it normal?

Actually I can’t recognize these two files. They maybe automatically generated by Unity. I think you can just delete them and try again. Also you can delete the Library, Temp folder, and let the Unity reimport the project again.

On Nov 4, 2020, at 4:28 PM, BreakJail<EMAIL_ADDRESS>wrote:
Could you please check if there is compiling errors? Because of the different Unity versions, there might be some incompatible api caused errors.
when upgrade finished. therre is :
An infinite import loop has been detected. The following Assets were imported multiple times, but no changes to them have been detected. Please check if any custom code is trying to import them:
Packages/com.unity.textmeshpro/Editor Resources/Textures/btn_AlignJustified_Light.psd
Packages/com.unity.timeline/Editor/StyleSheets/Images/LightSkin/TimelineHold.png and so on. (I think it is uncorrelated)
Asset folder only has two files: UBlockly and UBlocklyData. Is it normal?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/imagicbell/ublockly/issues/5#issuecomment-721586852, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAQUPRQYCWCEWGGHWVJCYJ3SOEGC5ANCNFSM4TJVQQJQ.

Actually I can’t recognize these two files. They maybe automatically generated by Unity. I think you can just delete them and try again. Also you can delete the Library, Temp folder, and let the Unity reimport the project again.
…
On Nov 4, 2020, at 4:28 PM, BreakJail @.***> wrote: Could you please check if there is compiling errors? Because of the different Unity versions, there might be some incompatible api caused errors. when upgrade finished. therre is : An infinite import loop has been detected. The following Assets were imported multiple times, but no changes to them have been detected. Please check if any custom code is trying to import them: Packages/com.unity.textmeshpro/Editor Resources/Textures/btn_AlignJustified_Light.psd Packages/com.unity.timeline/Editor/StyleSheets/Images/LightSkin/TimelineHold.png and so on. (I think it is uncorrelated) Asset folder only has two files: UBlockly and UBlocklyData. Is it normal? — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#5 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAQUPRQYCWCEWGGHWVJCYJ3SOEGC5ANCNFSM4TJVQQJQ.

Actually I can’t recognize these two files. They maybe automatically generated by Unity. I think you can just delete them and try again. Also you can delete the Library, Temp folder, and let the Unity reimport the project again.
…
On Nov 4, 2020, at 4:28 PM, BreakJail @.***> wrote: Could you please check if there is compiling errors? Because of the different Unity versions, there might be some incompatible api caused errors. when upgrade finished. therre is : An infinite import loop has been detected. The following Assets were imported multiple times, but no changes to them have been detected. Please check if any custom code is trying to import them: Packages/com.unity.textmeshpro/Editor Resources/Textures/btn_AlignJustified_Light.psd Packages/com.unity.timeline/Editor/StyleSheets/Images/LightSkin/TimelineHold.png and so on. (I think it is uncorrelated) Asset folder only has two files: UBlockly and UBlocklyData. Is it normal? — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#5 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAQUPRQYCWCEWGGHWVJCYJ3SOEGC5ANCNFSM4TJVQQJQ.

In your Examples>Assets is also only these two files.
you said:
1.open Examples in Unity.
2.Hit menu UBlockly/Build Block Prefabs and wait to finish prefabs building.
I open Examples which is almost empty except  two files above. There is no UBlockly menu.

The only reason I can find is that there is Unity compiling errors that make the custom menu items unable to show. So could you please check if there are errors?

On Nov 4, 2020, at 5:01 PM, BreakJail<EMAIL_ADDRESS>wrote:
Actually I can’t recognize these two files. They maybe automatically generated by Unity. I think you can just delete them and try again. Also you can delete the Library, Temp folder, and let the Unity reimport the project again.
… x-msg://3/#
On Nov 4, 2020, at 4:28 PM, BreakJail @.***> wrote: Could you please check if there is compiling errors? Because of the different Unity versions, there might be some incompatible api caused errors. when upgrade finished. therre is : An infinite import loop has been detected. The following Assets were imported multiple times, but no changes to them have been detected. Please check if any custom code is trying to import them: Packages/com.unity.textmeshpro/Editor Resources/Textures/btn_AlignJustified_Light.psd Packages/com.unity.timeline/Editor/StyleSheets/Images/LightSkin/TimelineHold.png and so on. (I think it is uncorrelated) Asset folder only has two files: UBlockly and UBlocklyData. Is it normal? — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#5 (comment) https://github.com/imagicbell/ublockly/issues/5#issuecomment-721586852>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAQUPRQYCWCEWGGHWVJCYJ3SOEGC5ANCNFSM4TJVQQJQ https://github.com/notifications/unsubscribe-auth/AAQUPRQYCWCEWGGHWVJCYJ3SOEGC5ANCNFSM4TJVQQJQ.
Actually I can’t recognize these two files. They maybe automatically generated by Unity. I think you can just delete them and try again. Also you can delete the Library, Temp folder, and let the Unity reimport the project again.
… x-msg://3/#
On Nov 4, 2020, at 4:28 PM, BreakJail @.***> wrote: Could you please check if there is compiling errors? Because of the different Unity versions, there might be some incompatible api caused errors. when upgrade finished. therre is : An infinite import loop has been detected. The following Assets were imported multiple times, but no changes to them have been detected. Please check if any custom code is trying to import them: Packages/com.unity.textmeshpro/Editor Resources/Textures/btn_AlignJustified_Light.psd Packages/com.unity.timeline/Editor/StyleSheets/Images/LightSkin/TimelineHold.png and so on. (I think it is uncorrelated) Asset folder only has two files: UBlockly and UBlocklyData. Is it normal? — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#5 (comment) https://github.com/imagicbell/ublockly/issues/5#issuecomment-721586852>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAQUPRQYCWCEWGGHWVJCYJ3SOEGC5ANCNFSM4TJVQQJQ https://github.com/notifications/unsubscribe-auth/AAQUPRQYCWCEWGGHWVJCYJ3SOEGC5ANCNFSM4TJVQQJQ.
In your Examples>Assets is also only these two files.
you said:
1.open Examples in Unity.
2.Hit menu UBlockly/Build Block Prefabs and wait to finish prefabs building.
I open Examples which is almost empty except two files above. There is no UBlockly menu.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/imagicbell/ublockly/issues/5#issuecomment-721603374, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAQUPRU5JXKXTG66CXG6EGTSOEJ65ANCNFSM4TJVQQJQ.

I am facing the same issue here...
Like you said:
1.Open Examples in Unity.
2.Hit menu UBlockly/Build Block Prefabs and wait to finish prefabs building.
I open Examples which is almost empty except for two files (Assets->UBlockly and UBlocklyData). There is no UBlockly menu.

On Windows:
After opening the Examples folder in unity. I can see 1 comment and 1 warning but no errors.
1)Comment --> Rebuilding Library because the asset database could not be found!
2)Warning --> Unity is only able to load mdb or portable-pdb symbols. Packages/com.unity.ext.nunit/net35/unity-custom/nunit.framework.pdb is using a legacy pdb format.

How I fixed this problem:
It's not working on Windows but it's working perfectly on Mac. So I created a custom package of the project on mac and imported that custom package on windows project and it's working fine now. 👍

How I fixed this problem:
It's not working on Windows but it's working perfectly on Mac. So I created a custom package of the project on mac and imported that custom package on windows project and it's working fine now. 👍

Well done! I really appreciate it, and sorry for not replying. I was used to work on Mac, but I believe Unity itself can handle the platform issue, although sometimes it came out with little bugs :)
Thank you very much!


A0-1021: Broadcast all top units

Implements https://cardinal-cryptography.atlassian.net/browse/A0-1021

I wasn't sure what docs to update with this change. Can you point them out to me?

@DamianStraszak I think I addressed all of your comments.


python312Packages.playwrightcapture: 1.25.11 -> 1.25.12

Diff: https://github.com/Lookyloo/PlaywrightCapture/compare/refs/tags/v1.25.11...v1.25.12
Changelog: https://github.com/Lookyloo/PlaywrightCapture/releases/tag/v1.25.12
Description of changes

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

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

Result of nixpkgs-review pr 334788 run on x86_64-linux 1

10 packages built:

lacus
lacus.dist
python311Packages.lacuscore
python311Packages.lacuscore.dist
python311Packages.playwrightcapture
python311Packages.playwrightcapture.dist
python312Packages.lacuscore
python312Packages.lacuscore.dist
python312Packages.playwrightcapture
python312Packages.playwrightcapture.dist


Upgrade to jQuery 1.8.x

We no longer are using any features that were explicitly deprecated in jQuery 1.8, so it should now be time to actually upgrade.  I spent a bit of time today trying to actually do the upgrade, unsuccessfully.
I opened https://github.com/zulip/zulip/pull/1140 just to demonstrate how to upgrade the version of jQuery; it doesn't work.  In particular, the Casper tests go into an infinite loop after less than 10 tests (or you can load the Zulip homepage in the browser and get the same infinite loop).  Here's the repeating section of the infinite loop:
  http://localhost:9981/static/third/jquery/jquery-1.8.3.js:2945
  http://localhost:9981/static/third/jquery/jquery-1.8.3.js:3599
  http://localhost:9981/static/third/jquery/jquery-1.8.3.js:611
  http://localhost:9981/static/third/jquery/jquery-1.8.3.js:241
  http://localhost:9981/static/third/jquery/jquery-1.8.3.js:3600
  http://localhost:9981/static/js/hashchange.js:128
  http://localhost:9981/static/js/hashchange.js:176
  http://localhost:9981/static/js/blueslip.js:217
  http://localhost:9981/static/third/jquery/jquery-1.8.3.js:2945
  http://localhost:9981/static/third/jquery/jquery-1.8.3.js:3599
  http://localhost:9981/static/third/jquery/jquery-1.8.3.js:611
  http://localhost:9981/static/third/jquery/jquery-1.8.3.js:241
  http://localhost:9981/static/third/jquery/jquery-1.8.3.js:3600
  http://localhost:9981/static/js/hashchange.js:128
  http://localhost:9981/static/js/hashchange.js:176
  http://localhost:9981/static/js/blueslip.js:217
  http://localhost:9981/static/third/jquery/jquery-1.8.3.js:2945
  http://localhost:9981/static/third/jquery/jquery-1.8.3.js:3599
  http://localhost:9981/static/third/jquery/jquery-1.8.3.js:611
  http://localhost:9981/static/third/jquery/jquery-1.8.3.js:241
  http://localhost:9981/static/third/jquery/jquery-1.8.3.js:3600
  http://localhost:9981/static/js/hashchange.js:128
  http://localhost:9981/static/js/hashchange.js:176
  http://localhost:9981/static/js/blueslip.js:217

To provide a bit of relevant context, here's some notes on the 2 key lines inside the Zulip code:

The hashchange.js:128 line is $(document).trigger($.Event('hashchange.zulip'));.  This line is a key part of how Zulip implements switching views within the single-page webapp (the hash changes whenever you narrow, go to the settings page, etc.).  If one deletes that line (just to see what happens), the site loads fine, but then changing tabs doesn't work so the tests will still fail starting with the narrowing tests.
blueslip is a Zulip-specific library for catching all javascript tracebacks and reporting them to the server.  Consequently, we have blueslip wrap basically every entry point within our javascript.  In theory, it should do nothing other than wrapping things inside a try/except in production.  Based on the next bullet, it appears the infinite loop here doesn't involve blueslip.
The hashchange.js:176 line is inside the hashchanged function, which is called primarily from a window.onhashchange hook using blueslip around line 185 of that file:
window.onhashchange = blueslip.wrap_function(hashchanged);.  If you remove the blueslip.wrap_function around hashchanged, the infinite loop still happens (and no longer has blueslip in the traceback).

So, in summary, I think somehow the $(document).trigger($.Event('hashchange.zulip')); call is resulting in the hash being (seen as?) changed; I don't understand the mechanism for this.
I'd be super excited if someone was able to debug this infinite loop issue!

Looks like the current behavior is due to this bug in jQuery that was fixed in version 1.8.

Seems plausible, but it's not clear to me why that event bubbling to window would cause the hash to change (or otherwise result in the infinite loop behavior)

I don't think the hash is actually changing, but by calling $(document).trigger($.Event('hashchange.zulip')), a "hash change event" occurs. When that event bubbles up to window, it's caught by window.onhashchange, which then ends up calling $(document).trigger($.Event('hashchange.zulip')) again and the loop continues.
You can also get this same behavior by changing $(document).trigger($.Event('hashchange.zulip')) to $(window).trigger($.Event('hashchange.zulip')) with the older version of jQuery.

Oh.  Try just renaming the event.  I don't think we need it to be called
that.
-Tim Abbott (mobile)
On Jun 29, 2016 3:23 PM, "alexandrinaw"<EMAIL_ADDRESS>wrote:

I don't think the hash is actually changing, but by calling
$(document).trigger($.Event('hashchange.zulip')), a "hash change event"
occurs. When that event bubbles up to window, it's caught by
window.onhashchange, which then ends up calling
$(document).trigger($.Event('hashchange.zulip')) again and the loop
continues.
You can also get this same behavior by changing
$(document).trigger($.Event('hashchange.zulip')) to
$(window).trigger($.Event('hashchange.zulip')) with the older version of
jQuery.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/zulip/zulip/issues/1141#issuecomment-229507534, or mute
the thread
https://github.com/notifications/unsubscribe/ACnm2v_yOilZo-kZgQrZ4Bldtx9E6ar8ks5qQvB3gaJpZM4JAvOu
.

I just tested that out myself, and indeed, it works correctly and now all of Casper tests pass.  Thanks so much for debugging this @alexandrinaw!
I guess jquery's event matching process ignores the .zulip part, and thus treats this as an actual hashchange event, whereas we'd in fact just made the decision to namespace our events used for Zulip to communicate with itself with names of the form name.zulip, where name is what we decided to call that event.

Cool, glad it works!

The event namespaces documentation in http://api.jquery.com/on/ makes pretty clear that the jQuery behavior is what should be expected (any of the .-separated terms matching means an event handler will be run); so if you're doing a totally custom event (as we are here), one should definitely not use a name like hashchange.zulip.  So I think the correct solution is simply to rename the event as we had discussed.  Looks like none of other other custom event names have this problem:
static/js/compose.js:    $(document).trigger($.Event('compose_started.zulip', opts));
static/js/compose.js:    $(document).trigger($.Event('compose_canceled.zulip'));
static/js/compose.js:    $(document).trigger($.Event('compose_finished.zulip'));
static/js/composebox_typeahead.js:        $(document).trigger('usermention_completed.zulip', {mentioned: item});
static/js/hashchange.js:    $(document).trigger($.Event('zuliphashchange.zulip'));
static/js/hashchange.js:    $(document).trigger($.Event('zuliphashchange.zulip'));
static/js/message_list.js:        $(document).trigger($.Event('message_selected.zulip', opts));
static/js/narrow.js:    $(document).trigger($.Event('narrow_activated.zulip', {msg_list: message_list.narrowed,
static/js/narrow.js:    $(document).trigger($.Event('narrow_deactivated.zulip', {msg_list: current_msg_list}));
static/js/server_events.js:    $(document).trigger("home_view_loaded.zulip");
static/js/socket.js:        $(document).trigger('socket_loaded_requests.zulip', {requests: this._requests});
static/js/socket.js:            $(document).trigger($.Event('websocket_postopen.zulip', {}));
static/js/socket.js:            $(document).trigger($.Event('websocket_postopen.zulip', {}));
static/js/subs.js:    $(document).trigger($.Event('sub_obj_created.zulip', {sub: sub}));
static/js/subs.js:    $(document).trigger($.Event('subscription_add_done.zulip', {sub: sub}));
static/js/subs.js:    $(document).trigger($.Event('subscription_remove_done.zulip', {sub: sub}));
static/js/subs.js:        $(document).trigger($.Event('subs_page_loaded.zulip'));
static/third/sockjs/sockjs-0.3.4.js:    $(document).trigger($.Event('websocket_preopen.zulip', {}));

but it's possible it'd still be cleaner to just make the event names of the form zulip_hashchanged to avoid this category of problem entirely.

Fix merged, thanks again @alexandrinaw for your help debugging this!
Next we can work on the jQuery 1.9 upgrade :)


MySQL Client doesn't work with Azure MySQL

It should be noted (probably with a big red alert block) that official mysql client doesn't work with Azure MySQL. We have tried connecting with Linux mysql-client ver 8.0.27 as well as MacOS mysql-client and neither of them were working. There was no error message and the connection was just hanging which cost us countless debugging hours, since we thought this is a Networking issue.
The Azure MySQL version we are using is. 8.0.
This is really weird as mysql-client is one of the most popular clients on the market and support for it should be definitely enabled. If you can point me to a relevant page, I can also submit a issue ticket for Azure MySQL itself.

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

ID: d25d30a7-e345-f1cb-a174-8d64e0ec0993
Version Independent ID: e036c0a5-8f66-06a0-7f09-85bbe933f583
Content: Driver and tools compatibility - Azure Database for MySQL
Content Source: articles/mysql/concepts-compatibility.md
Service: mysql
GitHub Login: @savjani
Microsoft Alias: pariks

@savjani Do you want to update the documentation with a warning until the issue is sorted out?

@Bashar-MSFT is working on it. Doc changes were locked due to Ignite but he plans to add it soon as far as I know

Hello @aleksy-zalenski this is done
https://github.com/MicrosoftDocs/azure-docs-pr/pull/178770

@aleksy-zalenski Appropriate warning messages are added the documentation.
We will proceed to close this issue now.
If there are further questions regarding this issue, please comment and we will gladly continue the discussion.

Is this a permanent issue, as in Azure and MySQL cli will no longer work together?
Or is this something that Oracle will be fixing in due time, and will be resolved with 8.0.28?

Nope, not a permanent issue, until we rollout the fix. Our fix is planned to roll-out by Jan timeframe. Things got delayed due to holidays and no-fly zones for deployments. Sorry for the inconvenience caused.

Thank you I appreciate the quick reply

Nope, not a permanent issue, until we rollout the fix. Our fix is planned to roll-out by Jan timeframe. Things got delayed due to holidays and no-fly zones for deployments. Sorry for the inconvenience caused.

Has this now been resolved?

Unfortunately not yet. Our release trains are running late and we are targeting in Feb for the rollout. Are you able to workaround the issue by using 8.0.27 or lower version of the client

Unfortunately not yet. Our release trains are running late and we are targeting in Feb for the rollout. Are you able to workaround the issue by using 8.0.26 or lower version of the client

Any further news on this?
The "What's new" page indicates this is resolved: https://docs.microsoft.com/en-us/azure/mysql/single-server-whats-new
However, documentation and the Azure portal still display warnings about 8.0.27+, and testing shows this issue is still present on our instances. So, my assumption is this is a phased rollout (which makes the message in the above link rather misleading).
Is there somewhere else I should be looking to track timing of fixes being rolled out in a given region?

Adding @Bashar-MSFT to help with this

This is removed with this PR https://github.com/MicrosoftDocs/azure-docs-pr/pull/189557/files
The bug is not fixed yet

This is removed with this PR https://github.com/MicrosoftDocs/azure-docs-pr/pull/189557/files The bug is not fixed yet

Since the part suggesting a fix has been removed from https://docs.microsoft.com/en-us/azure/mysql/single-server-whats-new I assume there is no bugfix and no release plan anymore, right?

How can such a massive bug be let to linger for so long.
This is unacceptable from Microsoft, and really makes me doubt if Azure was the right call over AWS.

@JimmyBanks @meisterheister - the fix is being rolled out in all the WW Azure region as we speak. We expect the rollout to complete by end of this week but will you all posted


Validate a pattern without providing an instantiation

Feature Request
Description of Problem:
Currently the calm validate command takes a pattern, instantiation and optional set of meta-schemas.
This is fine when validating instantiations, but at pattern development time this isn't great. For example, the CLI is currently not suitable for use in a CI pipeline, safeguarding a repo of CALM patterns, because you need an instantiation for each.
Note that this would also enable #97 to be completed, currently only spectral checks are run.
This is a use case we are not adequately supporting right now; in general the CLI is great for those working on individual architectures, but less feature-rich when looking at patterns.
Running the generate command internally, and then validating with the output as the instantiation, solves this partially.
However there are some problems where regex values and enums are in use.
If the enum is [VALUE1, VALUE2, VALUE3], the generated value will be {{ PARAM_NAME }} - which will then fail validation.
Same for a field with a 'pattern' or regex constraint.
So we need to either

generate something that will actually pass validation when working with enums/regex - this could just be the first value for enums, but regex is harder.
ignore errors from regex and enum checks when running validation on a pattern - given that there's no actual data this doesn't really make sense anyway.

Potential Solutions:

If no instantiation is provided, run the generate command on a given pattern internally when validation is performed.
Disable the error messages that pertain to pattern/enum properties, to avoid any false negatives in pattern validation.

@lbulanti-ms suggested something here - that just doing an 'compile' of the pattern schema will catch most syntactic issues as is. Things like invalid JSON schema keywords or types.
So as a first cut we're going to have it just compile the pattern schema, log any errors that produces, and also run the spectral rules when no instantiation is provided.

#326 addresses this; this is now released as version 0.2.0. Closing the issue for now because the capability is there; we'll re-open if it doesn't catch everything.


Ward edit

Short description

Proposed changes

Side effects

Resolved issues

Fixes: #

Please open this pull request on the fork your group is working on. This repo (and I) are not part of the current Praktikum.


"dcos" library on pypi is unable to be resolved during build

This is a general question about how the dcos python is published to pypi.
Our CI build is failing with:
Reading https://pypi.python.org/simple/dcos/
No local packages or download links found for dcos<0.5.0,>=0.4.14
error: Could not find suitable distribution for Requirement.parse('dcos<0.5.0,>=0.4.14')

I overcame this issue locally via:
pip3 install -e .

I'm thinking that our python setup.py test should be all that is required (Python3).
It seems strange that all of the other packages we have  are able to be located just fine.

This is because python setup.py test doesn't install wheels, but .tar.gz files. We only publish wheels, which is supported by pip, which is why the pip command succeeded.

Is there a reason to not publish tgz files? This appears to be common practice.

Ok we will do that. Python is surprisingly complex in this regard!
Thanks.


Ambient light not affecting gridmap in compatibility renderer

Godot version
4.0.1rc1
System information
Windows10, AMD Ryzen 9 5900X, NVIDIA GeForce RTX 3060 Ti, driver version <IP_ADDRESS>9, compatibility.
Issue description
Ambient lighting set in the environment does not affect gridmaps when using the compatibility render pipeline.
Steps to reproduce
Just add a gridmap and turn up ambient light. See how everything else gets bright but not the gridmap.
Minimal reproduction project
godot_repex.zip

This looks like it may be a duplicate of https://github.com/godotengine/godot/issues/74111


bug: useContractReads doesn't read all contracts (different chains) at once

Is there an existing issue for this?

[x] I have searched the existing issues

Package Version
1.4.3
Current Behavior
I'm calling useContractReads to check if user has any NFT on ANY contract (on 4 different chains)
The contracts are exactly the same (abi) except for the address and are on Ethereum, Polygon, BNB Smart Chain and Arbitrum One
const abi = [
		{
			inputs: [{ internalType: "address", name: "owner", type: "address" }],
			name: "tokensOfOwner",
			outputs: [{ internalType: "uint256[]", name: "", type: "uint256[]" }],
			stateMutability: "view",
			type: "function",
		},
	]

	const read = useContractReads({
		suspense: true,
		enabled: enableRead,
		contracts: [
			{
				address: "0x49cC7de889C1e4bDc1b4156B882cA5c76C668987",
				abi: abi,
				functionName: "tokensOfOwner",
				args: [address],
			},
			{
				address: "0xA42ccA468fd07491824Ab121CB559f1B3791e92C",
				abi: abi,
				functionName: "tokensOfOwner",
				args: [address],
			},
			{
				address: "0x6f2C97dB74D4d3E8A31e628325A39bbef928dd59",
				abi: abi,
				functionName: "tokensOfOwner",
				args: [address],
			},
			{
				address: "0xFA17c9e4f5Ec1A62d032731fE0a9529D7B851BE6",
				abi: abi,
				functionName: "tokensOfOwner",
				args: [address],
			},
		],
		onSuccess(data) {
			console.log(data)
			const successArray = data.filter((item) => item.status === "success")
			setSuccessCount(successArray.length)
		},
	})

I'm also using web3modal and set default chain to Ethereum
When user connects, they get switched to Eth and the hook runs with only checking contracts on ETH and ARBITRUM

If you switch chain to Polygon, the hook will only check contract on Polygon while others would have this error:

"The contract function "tokensOfOwner" returned no data ("0x").

This could be due to any of the following:
  - The contract does not have the function "tokensOfOwner",
  - The parameters passed to the contract function may be invalid, or
  - The address is not a contract.

Contract Call:
  address:   0x6f2C97dB74D4d3E8A31e628325A39bbef928dd59
  function:  tokensOfOwner(address owner)
  args:                   (0x3AcF77a2A3bFC198D5343e420B53AbE0a5f79e9C)

Docs: https://viem.sh/docs/contract/multicall.html
Version<EMAIL_ADDRESS>
I think this is also a related issue: https://github.com/wagmi-dev/wagmi/issues/3201
Expected Behavior
The hook should check all contracts despite user being connected to specific chain
Steps To Reproduce
minimal reproduction: https://github.com/meri-maki/useSwitchNetwork/blob/main/src/ConnectButton.jsx
demo: https://wagmi-read.vercel.app/
You can open demo, connect wallet
you will be switched/connected to ETH
You will see how many contracts have been checked

Switch to Polygon
See that only 1 contract has been checked

Link to Minimal Reproducible Example (StackBlitz, CodeSandbox, GitHub repo etc.)
https://github.com/meri-maki/useSwitchNetwork/blob/main/src/ConnectButton.jsx
Anything else?
	"viem": "^1.16.2",
	"wagmi": "^1.4.3"

	Latest versions of packages didn't help

	Using useContractRead didn't help
	Using only alchemy or infura didn't help

Ok listen I am the owner creater .
Why are you guys helping this girl my ex to hack and still everything my
life means .. she couldn't even tell you the meaning of my art and it's
purpose ..
Stop helping these people still from me or I will do the best I can to sue
you and your organization...
On Wed, Nov 8, 2023, 8:05 AM Ana @.***> wrote:

Is there an existing issue for this?

I have searched the existing issues

Package Version
1.4.3
Current Behavior
I'm calling useContractReads to check if user has any NFT on ANY contract
(on 4 different chains)
The contracts are exactly the same (abi) except for the address and are
on Ethereum, Polygon, BNB Smart Chain and Arbitrum One
const abi = [
{
inputs: [{ internalType: "address", name: "owner", type: "address" }],
name: "tokensOfOwner",
outputs: [{ internalType: "uint256[]", name: "", type: "uint256[]" }],
stateMutability: "view",
type: "function",
},
]
const read = useContractReads({
suspense: true,
enabled: enableRead,
contracts: [
{
address: "0x49cC7de889C1e4bDc1b4156B882cA5c76C668987",
abi: abi,
functionName: "tokensOfOwner",
args: [address],
},
{
address: "0xA42ccA468fd07491824Ab121CB559f1B3791e92C",
abi: abi,
functionName: "tokensOfOwner",
args: [address],
},
{
address: "0x6f2C97dB74D4d3E8A31e628325A39bbef928dd59",
abi: abi,
functionName: "tokensOfOwner",
args: [address],
},
{
address: "0xFA17c9e4f5Ec1A62d032731fE0a9529D7B851BE6",
abi: abi,
functionName: "tokensOfOwner",
args: [address],
},
],
onSuccess(data) {
console.log(data)
const successArray = data.filter((item) => item.status === "success")
setSuccessCount(successArray.length)
},
})
I'm also using web3modal and set default chain to Ethereum
When user connects, they get switched to Eth and the hook runs with only
checking contracts on ETH and ARBITRUM
[image: Снимок экрана 2023-11-08 в 17 04 31]
https://user-images.githubusercontent.com/97887955/281428647-09e0d5bf-68ed-4eaa-9801-91cc3037a6b2.png
If you switch chain to Polygon, the hook will only check contract on
Polygon while others would have this error:
[image: Снимок экрана 2023-11-08 в 17 04 15]
https://user-images.githubusercontent.com/97887955/281428582-9a12a430-1c97-489b-810a-7ca827a521c8.png
"The contract function "tokensOfOwner" returned no data ("0x").
This could be due to any of the following:

The contract does not have the function "tokensOfOwner",
The parameters passed to the contract function may be invalid, or
The address is not a contract.

Contract Call:
address:   0x6f2C97dB74D4d3E8A31e628325A39bbef928dd59
function:  tokensOfOwner(address owner)
args:                   (0x3AcF77a2A3bFC198D5343e420B53AbE0a5f79e9C)
Docs: https://viem.sh/docs/contract/multicall.html
Version: @.***"
I think this is also a related issue: #3201
https://github.com/wagmi-dev/wagmi/issues/3201
Expected Behavior
The hook should check all contracts despite user being connected to
specific chain
Steps To Reproduce
minimal reproduction:
https://github.com/meri-maki/useSwitchNetwork/blob/main/src/ConnectButton.jsx
demo: https://wagmi-read-git-main-meri-maki.vercel.app/
You can open demo, connect wallet
you will be switched/connected to ETH
You will see how many contracts have been checked
[image: Снимок экрана 2023-11-08 в 16 58 32]
https://user-images.githubusercontent.com/97887955/281426269-88b10959-4f09-48d2-9543-56ffb001628e.png
Switch to Polygon
See that only 1 contract has been checked
[image: Снимок экрана 2023-11-08 в 17 00 20]
https://user-images.githubusercontent.com/97887955/281427109-f8f3d78f-7593-45c1-a5de-7cfaa36034cd.png
Link to Minimal Reproducible Example (StackBlitz, CodeSandbox, GitHub repo
etc.)
https://github.com/meri-maki/useSwitchNetwork/blob/main/src/ConnectButton.jsx
Anything else?
"viem": "^1.16.2",
"wagmi": "^1.4.3"
Latest versions of packages didn't help
Using useContractRead didn't help
Using only alchemy or infura didn't help
—
Reply to this email directly, view it on GitHub
https://github.com/wagmi-dev/wagmi/issues/3203, or unsubscribe
https://github.com/notifications/unsubscribe-auth/A6FZ576OZFBFYKHS66AWSFLYDOGSXAVCNFSM6AAAAAA7C6BAY6VHI2DSMVQWIX3LMV43ASLTON2WKOZRHE4DGNRZGIYTQMI
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Please scan the questions she's asking you and be a better judge of her
questions in her intent you f****** are wrong
On Wed, Nov 8, 2023, 8:05 AM Ana @.***> wrote:

Is there an existing issue for this?

I have searched the existing issues

Package Version
1.4.3
Current Behavior
I'm calling useContractReads to check if user has any NFT on ANY contract
(on 4 different chains)
The contracts are exactly the same (abi) except for the address and are
on Ethereum, Polygon, BNB Smart Chain and Arbitrum One
const abi = [
{
inputs: [{ internalType: "address", name: "owner", type: "address" }],
name: "tokensOfOwner",
outputs: [{ internalType: "uint256[]", name: "", type: "uint256[]" }],
stateMutability: "view",
type: "function",
},
]
const read = useContractReads({
suspense: true,
enabled: enableRead,
contracts: [
{
address: "0x49cC7de889C1e4bDc1b4156B882cA5c76C668987",
abi: abi,
functionName: "tokensOfOwner",
args: [address],
},
{
address: "0xA42ccA468fd07491824Ab121CB559f1B3791e92C",
abi: abi,
functionName: "tokensOfOwner",
args: [address],
},
{
address: "0x6f2C97dB74D4d3E8A31e628325A39bbef928dd59",
abi: abi,
functionName: "tokensOfOwner",
args: [address],
},
{
address: "0xFA17c9e4f5Ec1A62d032731fE0a9529D7B851BE6",
abi: abi,
functionName: "tokensOfOwner",
args: [address],
},
],
onSuccess(data) {
console.log(data)
const successArray = data.filter((item) => item.status === "success")
setSuccessCount(successArray.length)
},
})
I'm also using web3modal and set default chain to Ethereum
When user connects, they get switched to Eth and the hook runs with only
checking contracts on ETH and ARBITRUM
[image: Снимок экрана 2023-11-08 в 17 04 31]
https://user-images.githubusercontent.com/97887955/281428647-09e0d5bf-68ed-4eaa-9801-91cc3037a6b2.png
If you switch chain to Polygon, the hook will only check contract on
Polygon while others would have this error:
[image: Снимок экрана 2023-11-08 в 17 04 15]
https://user-images.githubusercontent.com/97887955/281428582-9a12a430-1c97-489b-810a-7ca827a521c8.png
"The contract function "tokensOfOwner" returned no data ("0x").
This could be due to any of the following:

The contract does not have the function "tokensOfOwner",
The parameters passed to the contract function may be invalid, or
The address is not a contract.

Contract Call:
address:   0x6f2C97dB74D4d3E8A31e628325A39bbef928dd59
function:  tokensOfOwner(address owner)
args:                   (0x3AcF77a2A3bFC198D5343e420B53AbE0a5f79e9C)
Docs: https://viem.sh/docs/contract/multicall.html
Version: @.***"
I think this is also a related issue: #3201
https://github.com/wagmi-dev/wagmi/issues/3201
Expected Behavior
The hook should check all contracts despite user being connected to
specific chain
Steps To Reproduce
minimal reproduction:
https://github.com/meri-maki/useSwitchNetwork/blob/main/src/ConnectButton.jsx
demo: https://wagmi-read-git-main-meri-maki.vercel.app/
You can open demo, connect wallet
you will be switched/connected to ETH
You will see how many contracts have been checked
[image: Снимок экрана 2023-11-08 в 16 58 32]
https://user-images.githubusercontent.com/97887955/281426269-88b10959-4f09-48d2-9543-56ffb001628e.png
Switch to Polygon
See that only 1 contract has been checked
[image: Снимок экрана 2023-11-08 в 17 00 20]
https://user-images.githubusercontent.com/97887955/281427109-f8f3d78f-7593-45c1-a5de-7cfaa36034cd.png
Link to Minimal Reproducible Example (StackBlitz, CodeSandbox, GitHub repo
etc.)
https://github.com/meri-maki/useSwitchNetwork/blob/main/src/ConnectButton.jsx
Anything else?
"viem": "^1.16.2",
"wagmi": "^1.4.3"
Latest versions of packages didn't help
Using useContractRead didn't help
Using only alchemy or infura didn't help
—
Reply to this email directly, view it on GitHub
https://github.com/wagmi-dev/wagmi/issues/3203, or unsubscribe
https://github.com/notifications/unsubscribe-auth/A6FZ576OZFBFYKHS66AWSFLYDOGSXAVCNFSM6AAAAAA7C6BAY6VHI2DSMVQWIX3LMV43ASLTON2WKOZRHE4DGNRZGIYTQMI
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

What😆😆😆

You need to add chainId to each contracts item if you want to target a specific chain.


gRPCSampler Metadata can be Json String

Hi @Jayrajgondaliya, thank you for your pull request that will support the JSON option when using metadata.
It will be great if you add a test case for JSON support that is helpful to know how it works. And, an existing test case testCanThrowExceptionWithInvalidMetaData was failed, you can edit the exception message for the test pass. Finally, could you please update the README under Configurations -> Metadata, which describes how to use the JSON format?
Thanks for your contribution. Best Regards. 🎉🎉🎉

Hi @huynhminhtan, thanks for the feedback,
I have Added Test cases, Modified Failing test cases, and added Details in README.md.
Thanks,

Hi @Jayrajgondaliya, thanks for the enhancement.
Just a little bit more, test cases testCanListAllMethodsInProtoWithNullLibFolderPath  and testCanListAllMethodsInProtoWithoutExternalLibs whose methods in the list may be out of order when assertion.
I also try to push the tiny fix but don't have permission. Could you please update the test cases for success. Thanks.
Little tip!
@Test
public void testCanListAllMethodsInProtoWithoutExternalLibs() {
...

   // Assertion
 + Collections.sort(list);
 + Collections.sort(methods);
   Assert.assertEquals(list, methods);
}

Codecov Report

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

@@            Coverage Diff            @@
##             master      #79   +/-   ##
=========================================
  Coverage          ?   96.77%
  Complexity        ?      180
=========================================
  Files             ?       17
  Lines             ?      683
  Branches          ?       41
=========================================
  Hits              ?      661
  Misses            ?       16
  Partials          ?        6

Continue to review full report at Codecov.

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

Hi @Jayrajgondaliya, thanks for the enhancement. It has been merged into master. 🎉🎉🎉