How can I transfer this project to python3, it seems this project is writen in python2, thank you.

There are little difference between python2 and python3 in this project.

1.https://blog.csdn.net/qq_29921623/article/details/80047339
before example = _convert_to_example(filename, bboxes, image_buffer, height, width)
add        filename = filename.encode()
2.deleted  the  Nan  valude in pcd0132cpos.txt and pcd0165cpos.txt file

Thanks, I rewrote some scripts and solved this problem.
谢谢，问题已解决，以后多多交流

Hello, when I run "build_cgd_dataset.py", I met one error as follows:
runfile('F:/robot-grasp-detection/build_cgd_dataset.py', wdir='F:/robot-grasp-detection')
F:\RGB-D_grasp_datasets\        rain-cgd
F:\RGB-D_grasp_datasets
alidation-cgd
Traceback (most recent call last):
File "C:\Users\DSL\AppData\Local\conda\conda\envs\tensorflow\lib\site-packages\IPython\core\interactiveshell.py", line 2879, in run_code
self.showtraceback(running_compiled_code=True)
File "C:\Users\DSL\AppData\Local\conda\conda\envs\tensorflow\lib\site-packages\IPython\core\interactiveshell.py", line 1811, in showtraceback
self._showtraceback(etype, value, stb)
File "C:\Users\DSL\AppData\Local\conda\conda\envs\tensorflow\lib\site-packages\ipykernel\zmqshell.py", line 554, in _showtraceback
dh.parent_header, ident=topic)
File "C:\Users\DSL\AppData\Local\conda\conda\envs\tensorflow\lib\site-packages\jupyter_client\session.py", line 730, in send
to_send = self.serialize(msg, ident)
File "C:\Users\DSL\AppData\Local\conda\conda\envs\tensorflow\lib\site-packages\jupyter_client\session.py", line 625, in serialize
content = self.pack(content)
File "C:\Users\DSL\AppData\Local\conda\conda\envs\tensorflow\lib\site-packages\jupyter_client\session.py", line 103, in
ensure_ascii=False, allow_nan=False,
File "C:\Users\DSL\AppData\Local\conda\conda\envs\tensorflow\lib\site-packages\zmq\utils\jsonapi.py", line 43, in dumps
s = s.encode('utf8')
UnicodeEncodeError: 'utf-8' codec can't encode character '\udcce' in position 1994: surrogates not allowed
Could you give me some suggestions? Thanks very much

I may know why I met this error, but I have another problem as follows"
runfile('F:/robot-grasp-detection/build_cgd_dataset.py', wdir='F:/robot-grasp-detection')
F:\RGB-D_grasp_datasets\train-cgd
F:\RGB-D_grasp_datasets\validation-cgd
Done converting 0 images in TFRecords with 0 train images and 0 validation image
Could you give me some suggestions? Thanks very much.

@dingshenglan Have you modified the line 15 in build_cgd_dataset.py? You should change it to the path on your computer.

@dingshenglan Have you modified the line 15 in build_cgd_dataset.py? You should change it to the path on your computer.

大佬，你知道如何用生成的模型来测试自己的数据吗？

@soldatjiang I have deleted the Nan valude in pcd0132cpos.txt and pcd0165cpos.txt file and run build_cgd_dataset.py.However,when I run grasp_det.py for train,the loss is nan.
Step 0 | loss = nan
| x = [ 97.125 125.65  100.625]
| x_hat = [nan nan nan]
| tan = [ 0.1700947 -5.7376623 -0.2632446]
| tan_hat = [-1.0320765 -1.0320765 -1.0320765]
| h = [10.650811 22.422993 21.715439]
| h_hat = [nan nan nan]
| w = [11.328764  8.444719 17.096458]
| w_hat = [nan nan nan]
| (2.996 sec/batch
When I run grasp_det.py for validation,I get some errors.
No handlers could be found for logger "shapely.geos"
Traceback (most recent call last):
File "grasp_det.py", line 162, in
tf.app.run(main=main, argv=[sys.argv[0]] + unparsed)
File "/home/jinhuan/ENV/Georgia_Tech/local/lib/python2.7/site-packages/tensorflow/python/platform/app.py", line 125, in run
_sys.exit(main(argv))
File "grasp_det.py", line 115, in main
run_training()
File "grasp_det.py", line 99, in run_training
iou = p1.intersection(p2).area / (p1.area +p2.area -p1.intersection(p2).area)
File "/home/jinhuan/ENV/Georgia_Tech/local/lib/python2.7/site-packages/shapely/geometry/base.py", line 620, in intersection
return geom_factory(self.impl['intersection'](self, other))
File "/home/jinhuan/ENV/Georgia_Tech/local/lib/python2.7/site-packages/shapely/topology.py", line 65, in call
self._validate(other, stop_prepared=True)
File "/home/jinhuan/ENV/Georgia_Tech/local/lib/python2.7/site-packages/shapely/topology.py", line 18, in _validate
raise ValueError("Null geometry supports no operations")
ValueError: Null geometry supports no operations
I guess maybe the x_hat,w_hat,h_hat are nan.It could not calculate the value of iou and result in the error.Could you please tell me how to solve the problems?

@jinhuan-hit  In my memory, in cornell dataset, four lines correspod to one bbox, if you delete the NaN lines, you should delete other lines in the same bbox.

@soldatjiang Thanks,I'll check it.

@soldatjiang Thanks,I'll check it.

I have the same problem. How did you solve it in the end?
I have deleted the Nan valude in pcd0132cpos.txt and pcd0165cpos.txt file and run build_cgd_dataset.py.However,when I run grasp_det.py for train,the loss is nan.

@soldatjiang I have deleted the Nan valude in pcd0132cpos.txt and pcd0165cpos.txt file and run build_cgd_dataset.py.However,when I run grasp_det.py for train,the loss is nan.
Step 0 | loss = nan
| x = [ 97.125 125.65 100.625]
| x_hat = [nan nan nan]
| tan = [ 0.1700947 -5.7376623 -0.2632446]
| tan_hat = [-1.0320765 -1.0320765 -1.0320765]
| h = [10.650811 22.422993 21.715439]
| h_hat = [nan nan nan]
| w = [11.328764 8.444719 17.096458]
| w_hat = [nan nan nan]
| (2.996 sec/batch
When I run grasp_det.py for validation,I get some errors.
No handlers could be found for logger "shapely.geos"
Traceback (most recent call last):
File "grasp_det.py", line 162, in
tf.app.run(main=main, argv=[sys.argv[0]] + unparsed)
File "/home/jinhuan/ENV/Georgia_Tech/local/lib/python2.7/site-packages/tensorflow/python/platform/app.py", line 125, in run
_sys.exit(main(argv))
File "grasp_det.py", line 115, in main
run_training()
File "grasp_det.py", line 99, in run_training
iou = p1.intersection(p2).area / (p1.area +p2.area -p1.intersection(p2).area)
File "/home/jinhuan/ENV/Georgia_Tech/local/lib/python2.7/site-packages/shapely/geometry/base.py", line 620, in intersection
return geom_factory(self.impl['intersection'](self, other))
File "/home/jinhuan/ENV/Georgia_Tech/local/lib/python2.7/site-packages/shapely/topology.py", line 65, in call
self._validate(other, stop_prepared=True)
File "/home/jinhuan/ENV/Georgia_Tech/local/lib/python2.7/site-packages/shapely/topology.py", line 18, in _validate
raise ValueError("Null geometry supports no operations")
ValueError: Null geometry supports no operations
I guess maybe the x_hat,w_hat,h_hat are nan.It could not calculate the value of iou and result in the error.Could you please tell me how to solve the problems?

Excuse me，I have the same problem. How did you solve it in the end?

@soldatjiang Thanks,I'll check it.
Excuse me，I have the same problem. How did you solve it in the end?

ValueError: Tensor conversion requested dtype int32 for Tensor with dtype float64: 'Tensor("truediv:0", shape=(), dtype=float64, device=/device:CPU:0)'
May I ask how to solve this problem? Thanks, I've been working on it for a long time!


Exec tachikoma update<PHONE_NUMBER>5758

:hamster::hamster::hamster:   Strategy david
Powered by David Update as a Service - Tachikoma.io Announcement: 2015-06-28 Updated permissions - Tachikoma.io

Coverage remained the same at 78.043% when pulling 9d95289eda3dd211be6400d55b11341ec571ba5c on pazjacket:tachikoma/update-20160925165758 into 561aeec19d8836578f0838fe4cbff883050bb66d on festivals-tech:master.


Fixed Spelling.

@jimmycasey you'll probably want to submit this change upstream instead. Choosealicense.com just uses that code -- it's not developed in this repo.


[18.06 backport] pkg/archive: fix TestTarUntarWithXattr failure on recent kernel

backport of https://github.com/moby/moby/pull/38292 for 18.06 to make CI pass again
Recent kernel has strict check for security.capability value.
Fix #38289
Signed-off-by: Akihiro Suda<EMAIL_ADDRESS>(cherry picked from commit 9ddd6e47a90ac056d242969ff72bf75a43cc0004)
Signed-off-by: Sebastiaan van Stijn<EMAIL_ADDRESS>
- What I did
- How I did it
- How to verify it
- Description for the changelog

- A picture of a cute animal (not mandatory but encouraged)

ping @seemethere @kolyshkin ptal


ttx slow

ttx tool can be very slow for me, especially for the big files (like > 2 minutes for 2mb file). Is there any flag to make it faster, like some multiprocessing or something or some extra library?
I'm installing ttx in alpine linux with apk add --no-cache py3-fonttools --repository http://dl-cdn.alpinelinux.org/alpine/edge/community

Tried installing with apk add -no-cache build-base python3-dev libxml2-dev libxslt-dev + pip3 install fonttools[ufo,lxml,woff,unicode], doesn't seem to be much better. It spends ~1 minute on work, which is ~15s on my machine.
It might be that remote machine has much worse CPU, when I start the docker on my machine it lasts similar as outside of the docker. When looking at my resource manager, it takes ~5% of my CPU on my machine, are ttx very single-processor heavy? That might explain it, as remove single processor might be much worse than mine, if it doesn't parallelize at all...

TTX doesn't parallelize explicitly at all, so it's single CPU indeed.

So, nothing I can do?
My usecase is this: (due to interoperation with some other app) I need to 'prepare' the fonts by explicitly removing complete name table and replacing it with my name table. I do this by creating ttx from ttf/otf, replacing name table with mine, and creating ttf/otf from that ttx again.
Is there any better tool for my usecase?

With TTX you can dump a single table, and merge a modified one with the original TTF. That should be a lot faster. See the -t and -m options.

Thank you very much! I'm just not sure I nailed the syntax, though. Let's say I created ttx file with my desired name table:
<?xml version="1.0" encoding="UTF-8"?>
<ttFont sfntVersion="\x00\x01\x00\x00" ttLibVersion="4.18">

  <name>
    <namerecord nameID="0" platformID="1" platEncID="0" langID="0x0" unicode="True">
      A
    </namerecord>
  </name>

</ttFont>

What's the explicit syntax to merge it with ttf into new ttf file? I tried something like ttx -m change.ttx -o out.ttf in.ttf but that seems slow as well, not sure if I'm using the -m param as intended, as I don't see any examples anywhere.

Something like:
ttx -m org.ttf changedname.ttx

BTW the result of the above will be org#1.ttf. I think Just means org to imply “original” ;)
One way to remember whether -m takes the ttf or the ttx is to recall that ttx always transforms ttx into ttf/otf (or ttf/otf into ttx). All options, including -m, modify how it does that.

Thank you very much, kind gentlemen! It works and is fast now. Thanks!!


PRESERVE shortcut for attachment ops

You can approve it for realz :)
Bors r=grovesNL

On Dec 4, 2018, at 23:16, Josh Groves<EMAIL_ADDRESS>wrote:
@grovesNL approved this pull request.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.


availability Baker dataset

Hi,
I am exploring your wonderful package, and to check whether the format of input data is OK, I would like to run / compare it with the Baker dataset mentioned in Chapter 5.1 of the online documentation (file: uro.deseq.res.rda).
https://noriakis.github.io/software/ggkegg/usecases.html#visualizing-numerical-attributes-from-deseq2
Could you tell me where I can find this file?
Thanks!

Thank you for your inquiry and I apologize for the late response. I
uploaded the corresponding file in the link below. The link may raise
security warnings as it is hosted in our institute at the Human Genome
Center. I hope this helps and thank you for using the package.
https://w5po.myqnapcloud.com/share.cgi?ssid=fb53d8611b774ce8b48170b44b77503b
On Wed, Dec 4, 2024 at 4:28 AM Guido Hooiveld @.***>
wrote:

Hi,
I am exploring your wonderful package, and to check whether the format of
input data is OK, I would like to run / compare it with the Baker dataset
mentioned in Chapter 5.1 of the online documentation (file:
uro.deseq.res.rda).
https://noriakis.github.io/software/ggkegg/usecases.html#visualizing-numerical-attributes-from-deseq2
Could you tell me where I can find this file?
Thanks!
—
Reply to this email directly, view it on GitHub
https://github.com/noriakis/ggkegg/issues/40, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHNHVPZTKN7VDDEPFKDEB2T2DYA43AVCNFSM6AAAAABS6QMJ46VHI2DSMVQWIX3LMV43ASLTON2WKOZSG4YTKOBTGEZTCMY
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


Bisexual  🏳⚥, Transgender  🏳⚧, Intersex  🏳☿ Flag emojis

Ever since the Rainbow Flag emoji 🏳🌈 – which stands variably for the Peace Movement, Gay Pride, the LGBTQ… community etc. – has been documented by Unicode, other sexuality flags or symbols have been requested as well. This includes most prominently Bisexuality and Transsexuality / Transgenderism. Alas, there are often multiple flag proposals for these (which is of no concern to Unicode itself, but to possible implementers who make up that consortium).
The most appropriate Unicode representation for these would probably be a ZWJ sequence as well. They could be using the existing symbols ⚥ U+26A5 Male and Female Sign, ⚤ U+26A4 Interlocked Female and Male Sign, ⚦ U+26A6 Male with Stroke Sign or ⚧ U+26A7 Male with Stroke and Male and Female Sign.  🏳⚥  🏳⚤  🏳⚧  🏳⚧ U+1F3F3[-FE0F]-200D-26A4/5/6/7[-FE0F]. The Mercury symbol ☿ U+263F has also been used to represent Transgenders or Non-Binaries (incl. Intersex), hence  🏳☿ U+1F3F3[-FE0F]-200D-263F[-FE0F].

Also see #329 for more color options.

There apparently have been proposals for flags like these, which have not been published by Unicode (yet), e.g. https://www.tedeytan.com/2017/06/30/22476

Mockups
Emojitwo:

in my own work with Unicode, i have advocated for ☿ to be used for ‘gender inclusive’ representation (more palatable to conservative types than genderqueer). i haven’t been following the ESC discussions very closely recently, sorry for dropping the ball on this.

Any particular reason you're not including the intersex flag, while retaining the references to hermaphrodites (usually considered offensive) and intersexual (which is inaccurate, intersexuality relates to biological selection, ref. Darwin)?

For some of these, there does not seem to be the one and only flag, but several proposed designs used by different groups to different degrees. This is a problem for getting any of them approved, because since there is no central authority defining them (like there is for each national flag) vendors would probably only want to include uncontroversial ones. That means both the flag design and the symbol used in the sequence, perhaps also the English designation, should be well known and generally agreed upon. Above, I relied on sources that provided a wide overview, but obviously not a complete one.

Ah, yeah, that's a good reason short of adding multiple flags.  I only recall two, but one of them's a stripey thing with similar colouring to the trans flag and it's easy to confuse them (which is somewhat ironic, but not really desirable) and the other one is the purple circle on the gold background that I linked to.

The interlocked one means mates, like the other doubled figures ⚣⚢.

The rainbow flag, commonly known as the gay pride flag or LGBT pride flag, is a symbol of lesbian, gay, bisexual and transgender (LGBT) pride and LGBT social movements. Other older uses of rainbow flags include a symbol of peace. The colors reflect the diversity of the LGBT community,

https://en.wikipedia.org/wiki/Rainbow_flag_(LGBT_movement)
The rainbow pride flag is more than sufficient to represent diverse sexualities which are a a definitely fixed construct. Though the rainbow flag already represents all different kinds of sexual orientations other groups however wish to identify with special flags for various political reasons- but I believe it is unnecessary and burdensome to fill up code-points with symbols which may only be temporarily in vogue, and which may hold no meaning in 30 years.

Recent studies have developed a variety of novel classifications, but there is yet to be a strong consensus, especially within human society as a whole.  It would be prudent to revisit the issue 30 years down the line to check and see if the same  classifications and symbologies are used.

Adding even some of these flags would absolutely fill me with joy. I acknowledge fully that these categories are fluid and ever changing, but this is true of language and writing itself as well. As expression, language, and culture changes, so too should the standards we use to write them. I agree with @bbappserver that it will be useful to revisit this thirty years down the line to see if the same categories are still relevant and used, but I see no reason why we can't let people express the categories (many of which I might add do have quite a long history of usage) starting now.

Emoji 13.0 in 2020 added the 🏳⚧ Transgender Flag.

is lesbian flag planned?


[GSOC-72] Migration of Spherical Coordinates Plugin

This PR introduces two main features:

Spherical Coordinates Plugin (ROS 2 Interface):

Migrated services to set, get, and perform transformations regarding spherical coordinates in Gazebo simulation.
The services were added to the dave_interfaces package, and the plugin is implemented in the dave_ros_gz_plugins package.

Example World:

Added the plugin to the dave_bimanual_example world to test the functionality.

Documentation on how to use it: Documentation

@hmoyen Thanks for migrating this! It works fine for me! :)


binwalkv3 build manual do not mention required liblzma-dev

While trying to build binwalkv3 according to main readme - the build failed due to lack of liblzma-dev package:
error: failed to run custom build command for `rust-lzma v0.6.0`

Caused by:
  process didn't exit successfully: `/home/vasiliy.galkin/m/binwalk/target/release/build/rust-lzma-b8109f8e2f29bbaf/build-script-build` (exit status: 101)
  --- stdout
  cargo:rerun-if-env-changed=LIBLZMA_NO_PKG_CONFIG
  cargo:rerun-if-env-changed=PKG_CONFIG_x86_64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_x86_64_unknown_linux_gnu
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG
  cargo:rerun-if-env-changed=PKG_CONFIG
  cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64_unknown_linux_gnu
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH
  cargo:rerun-if-env-changed=PKG_CONFIG_PATH
  cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64_unknown_linux_gnu
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR
  cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64_unknown_linux_gnu
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR

  --- stderr
  thread 'main' panicked at /home/vasiliy.galkin/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rust-lzma-0.6.0/build.rs:19:14:
  Could not find liblzma using pkg-config:
  pkg-config exited with status code 1
  > PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 pkg-config --libs --cflags liblzma

  The system library `liblzma` required by crate `rust-lzma` was not found.
  The file `liblzma.pc` needs to be installed and the PKG_CONFIG_PATH environment variable must contain its parent directory.
  The PKG_CONFIG_PATH environment variable is not set.

  HINT: if you have installed the library, try setting PKG_CONFIG_PATH to the directory containing `liblzma.pc`.

  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...

Running sudo apt install liblzma-dev resolved this issue.

Thank you! I've updated the readme to include this build dependency.


Polygaincorrection

Add a polynomial gain correction filter (cpu + cuda)
Add associated application and test

I have corrected it (next time you do those corrections) and merged. However, I don't think anyone else can use it without an how to. Do you have the data to do a wiki page? That would be great!
Thanks,
Simon


[hotfix] Unsubscribe merged-in user from mailchimp mailing lists

Purpose
Fixes #3289
A user merged into another user account would get its mailing_lists field cleared on the OSF, but would not get unsubscribed on mailchimp.
Changes
Send a user_merged signal from user.merge_user to update_subscription, which updates mailing list subscriptions on both the osf and mailchimp for a user.
Change unsubscribe_mailchimp to take a username as an optional parameter, so that the merged user (whose username gets deleted) can still get removed from the mailing list.

If I add a 2nd email to my account, then make that 2nd email primary, will that action remove the first email from the mailchimp subscription and then subscribe the newly tabbed primary email address?

First pass review complete. I went over it pretty thoroughly to make sure the behavior is consistent, as I wrote much of the code being hotfixed - all is well :)

@samanehsan A test is failing on the build; can you look into it?

If I add a 2nd email to my account, then make that 2nd email primary, will that action remove the first email from the mailchimp subscription and then subscribe the newly tabbed primary email address?

This PR does not deal with that - it only deals what happens when accounts are merged.
That said... I'm not sure. @samanehsan, can you look into that?

@sloria - Ah, good catch. Embarassingly, I was focused on the code and its behavior, and didn't run the tests locally :cry:

@sloria, looking into the failing tests now -- I think I need to mock some mailchimp functions
@GaryKriebel, looks like that's not handled on the OSF at the moment -- good catch! I can add a fix for that either in this PR or another hotfix PR.

Thanks :octopus: !


Getting 404 status: Dependecy error Azure Blob

What project is affected?
https://github.com/microsoft/botframework-solutions/tree/master/templates/typescript/samples/sample-assistant
And we are using below versions,
"botbuilder": "^4.11.0",
"botbuilder-ai": "^4.11.0",
"botbuilder-applicationinsights": "^4.11.0",
"botbuilder-azure": "^4.11.0",
"botbuilder-dialogs": "^4.11.0",
"botbuilder-lg": "^4.11.0",
"botbuilder-testing": "^4.7.0",
"botframework-config": "^4.11.0",
"botframework-connector": "^4.11.0",

What language is this in?
Typescript
What happens?
Seeing below the log in Application insights when we are trying to chat with the bot

What are the steps to reproduce this issue?
Create the Virtual assistant by following below reference
https://microsoft.github.io/botframework-solutions/virtual-assistant/tutorials/create-assistant/typescript/3-create-project/
Then create the container in blob storage, eg:- virtual-assistant-state
Then create the userState and conversationState with BlobStorage
// Configure storage
const storage: BlobStorage = new BlobStorage({
    // tslint:disable-next-line: no-unsafe-any
    containerName: blobStorageContainerState,
    storageAccountOrConnectionString: appsettings.blobStorage.connectionString
});
const userState: UserState = new UserState(storage);
const conversationState: ConversationState = new ConversationState(storage);

In defaultAdapter.ts file, we are using the middle like below,
this.use(new TranscriptLoggerMiddleware(transcriptStore));
this.use(new SetLocaleMiddleware(settings.defaultLocale || 'en-us'));
this.use(new ShowTypingMiddleware());
this.use(new FeedbackMiddleware(conversationState, telemetryClient, new FeedbackOptions()));
this.use(new EventDebuggerMiddleware());
this.use(new SetSpeakMiddleware());
this.use(new AutoSaveStateMiddleware(this.conversationState, this.userState)); // here we are using both conversationState and userState
this.use(new TelemetryLoggerMiddleware(telemetryClient, true));

What were you expecting to happen?
This dependency 404 error should not come.
Please let us know if you need any details on this.
Thanks,
Sreekanth (Ecolab)

@Batta32 is correct - we use certain APIs to detect whether a resource exists before trying to the resource. This is a standard use of the Azure Blob Storage APIs and HTTP/REST semantics. Hopefully, there is a way to filter out these sorts of 404 errors from your Application Insights logs.


API Key Expired date doesn't shows right at the first time when login as standard user

What kind of request is this (question/bug/enhancement/feature request):
bug
Steps to reproduce (least amount of steps as possible):

log in as a standard user.
create a new API key with an expired date.

Close the token/pass page and go back to the API & Keys page

Result:
The Expired column shows Never

Other details that may be helpful:

After a page refresh, the Expired column shows right date.

Admin users don't have this issue.

Environment information

Rancher version (rancher/rancher/rancher/server image tag or shown bottom left in the UI):
v2.4.13

Installation option (single install/HA):
single docker install

gz#14905

Internal reference: SURE-2768

Tagging relevant backend issue https://github.com/rancher/rancher/issues/31509

My checks PASSED
Reproduction Environment

Component
Version / Type

Rancher version
v2.6.3

Rancher cluster type
Docker

Docker version
20.10.7, build 20.10.7-0ubuntu5~20.04.2

Helm version
v2.16.8-rancher1

Downstream cluster type
not applicable

Downstream K8s version
not applicable

Browser type
Firefox

Browser version
96.0.3 (64-bit)

Reproduction steps

Logged in as a Standard User
Starting from the default Rancher homepage /dashboard/home
Click the user icon in the top right corner of the screen -> click Account & API keys
Click Create API key & fill out the form:

Description: MY_TOKEN
Scope: No Scope
Automatically expire: A year from now
Click Create
Click Done at the screen where token is displayed

Observe the row of information about the newly created API token

RESULT
Even though expiration was set for 1 year. The expiration date says Expires: Never
EXPECTED RESULT
For the correct expiration time to be displayed without refreshing the page
WORKAROUND
Refresh the page and the correct expiration countdown is displayed

Validation Environment

Component
Version / Type

Rancher version
v2.6-948355cc596b8466a77aec5276640425a5935852-head

Rancher cluster type
Docker

Docker version
20.10.7, build 20.10.7-0ubuntu5~20.04.2

Helm version
v2.16.8-rancher1

Downstream cluster type
not applicable

Downstream K8s version
not applicable

Browser type
Firefox

Browser version
96.0.3 (64-bit)

Validation steps

Logged in as a Standard User
Starting from the default Rancher homepage /dashboard/home
Click the user icon in the top right corner of the screen -> click Account & API keys
Click Create API key & fill out the form:

Description: MY_TOKEN
Scope: No Scope
Automatically expire: A year from now
Click Create
Click Done at the screen where token is displayed

Observe the row of information about the newly created API token

RESULT
The Expires column correctly display the tokens information without having to refresh the page
Additional Info


JPA with "Using Native SQL in JPA queries"

Description
In the documentation for JPA it is stated that you can use native queries with jpa in the chapter "Using Native SQL in JPA queries" with a maven example. Without any further explanation I needed like 2 hours to get it working (compiling).

First, the maven configuration without any further comment wasn't helpful at all. I needed quite a while to realize that queryDSL needs access to a database with the scheme you want the S-Classes for and that that Derby example just doesn't do anything at all. Coming from querydsl-jpa, I guessed the classes would be generated from the Q classes or directly the entities, or maybe the scheme would be created in the derby DB from the entities and then the S classes created... (Using the example with the derby DB, freezes Eclipse, which wasn't very helpful neither ;-) )

Additionally you need the querydsl-sql dependency.

Add the end, the classes generated aren't called S as the documentation states, but Q. So they've got the same names as the JPA Q-Classes which is really annoying.

I didn't try out at the end if creating a query actually works, since I've decided I'll just create a view. It's a lot less hazle...

The idea of JPA native queries in Querydsl is that they use the same Q-class static metamodel as the JPA queries do. Although querydsl-sql is necessairy as runtime requirement, its codegen should not be necessairy.
There are already a dozen open issues with regard to documentation, so I am going to close this as duplicate. And hopefully someone ever steps up to actually write te docs as we’re currently entirely community driven. With the majority of existing contributors only interested in SQL and JPQL, the JPA Native Query isn’t something that will gather a lot of interest anytime soon.


Unable to download power pages site with error 'Error: Unrecognized Guid format.'

Discussed in https://github.com/microsoft/powerplatform-build-tools/discussions/582

Originally posted by ha365 October 10, 2023
Hi,
I am getting this error when trying to download my Power Pages site. Is there anyway I can identify where this error is coming from?
Here's the full log
Started downloading website 'site guid'
Connected to... org name
Connected as<EMAIL_ADDRESS>Downloading - webfiles
Downloading - powerpagecomponent
Downloading - powerpagesite
Downloading - powerpagesitelanguage
Downloaded - powerpagesite
Downloaded - powerpagecomponent
Downloaded - powerpagesitelanguage
Downloaded - webfiles
Processing - adx_website
Processing - adx_publishingstate
Processing - adx_pagetemplate
Processing - adx_columnpermissionprofile
Processing - adx_webrole
Processing - adx_entitypermission
Processing - adx_cloudflowconsumer
Processing - adx_portallanguage
Processing - adx_websiteaccess
Processing - adx_websitelanguage
Processing - adx_webfile
Processing - adx_sitemarker
Processing - adx_webtemplate
Processing - adx_sitesetting
Processing - adx_webpageaccesscontrolrule
Processing - adx_webpage
Processing - adx_weblinkset
Processing - adx_entityform
Processing - adx_webform
Processing - adx_contentsnippet
WARNING: Expected json value for field adx_attachfilelabel in table adx_entityform ID: 7c87c1b4-6a9a-489b-89c3-b5e469e8d09b
WARNING: Expected json value for field adx_successmessage in table adx_entityform ID: 7c87c1b4-6a9a-489b-89c3-b5e469e8d09b
WARNING: Expected json value for field adx_attachfilelabel in table adx_entityform ID: 7505c196-0c40-ee11-bdf3-0022487fe310
WARNING: Expected json value for field adx_successmessage in table adx_entityform ID: 7505c196-0c40-ee11-bdf3-0022487fe310
Processing - adx_entitylist
WARNING: Expected json value for field adx_searchplaceholdertext in table adx_entitylist ID: 8bea662f-1c73-4362-b4ef-62bbb23ac76b
WARNING: Expected json value for field adx_searchplaceholdertext in table adx_entitylist ID: bbff093d-bf43-479d-b5f3-107012238a34
Processing - annotation
Processing - adx_weblink
Processing - adx_entityformmetadata
Processing - adx_webformstep
Processing - adx_webformmetadata
Updating manifest...
Microsoft PowerPlatform CLI
Version: 1.27.6+g9f62afb
Online documentation: https://aka.ms/PowerPlatformCLI
Feedback, Suggestions, Issues: https://github.com/microsoft/powerplatform-build-tools/discussions
Error: Unrecognized Guid format.

@vedg : Do you have a screen or something about the error ?

@vedg : Do you have a screen or something about the error ?

Hello Allan, here's a screenshot of the original error. Same as the log above. We want to update our site to the latest bootstrap version but our still stuck with this issue.

We've circumvented this issue by excluding the adx_webformstep entity from download. Culprit seems to be related to setting up advanced forms.

@JoshChun Thanks. I will try to find the culprit on my side.
Did you find anything on your adx_webformstep entity which relates to this error message? Anything that you may think is the culprit?

Hello,
Our issue was resolved after working with MS consultant today. The issue was caused by the data corruption of Table permissions. We created some roles and assigned them to a table permission. Later on, the roles were deleted so there was a missing reference on the table permission.
Here you can see blank IDs on the webroles. For a quick test I deleted this permission and was able to download the site.
adx_accountrelationship:
adx_append: true
adx_appendto: true
adx_childTablePermissions: []
adx_contactrelationship:
adx_create: true
adx_delete: true
adx_entitylogicalname: salesorderdetail
adx_entityname: All sales order lines
adx_entitypermission_webrole:

''
''
9cf53d8c-80f8-ed11-8849-6045bx8c55f1
e8e62e87-80f8-ed11-8849-6045bd8cz384
adx_entitypermissionid: 125115bd-0bfe-ed11-8f6e-6045bd8c55zx
adx_parententitypermission:
adx_parentrelationship:

We have made enhancements in this area in pac 1.32.x.


Issues with certificates and Docker

Hi there,
I would be super excited to test the project but I'm having real trouble to set it up.
What I did:

Installed the docker on a remote server with a domain name
Tried to install all the certificates created by the docker in Keychain and Firefox (it still doesn't trust my DOMAIN:9999 though 😢 )
Add a PAC File to Firefox via URL
Every Request is dropped by Firefox (HSTS or just not Secure).

I get following log on the Docker side:

http2: server: error reading preface from client <IP_ADDRESS>:49700: remote error: tls: bad certificate

Is there something obvious that I'm missing or what extra information can I provide you in order that you could help me?

Is that related with #56? @SuperSandro2000

Don't know. This project seems to be dead.

I don't think so...

And that would be truly sad because the idea is good and it has big potential :)

The last commit to touched code is 1 1/2 years old.


Duplicate cards / cards showing up twice

Bug reported in discord

symptom: subscriptions reappear/not unsubscribed, + duplicates
freq: often (3+ times)
OS: android (oneplus)
repro steps:

login
swipe left on a few subs
leave the app

expected: subs that i swiped left on never reappear (unsubscribed), and the same subscription never appears more than once
actual: subs reappear, same subs appear twice or more (duplicate cards)

When data lib adds spam cards from the database it checks if the sender was ignored. But the same check wasn't done when the spam cards come from senders in memory, i.e. senders that are generated in running fetch messages queries.
If a user swipe a card during a fetch and the sender is fetched again, through another message, it will show up again.
I have added the check before processing cards from senders that are already ignored. This should solve the error.


Can't include demo/material.js from npm installed packaged

Per the current README projects integrating react-mdl should use the material.js from the  /demo/ but it is excluded using .npmignore.
It would be nice if the customized material.js is made available in the npm package. Maybe in a different folder?

I didn't build the minified files tho. Will think about it for the next release of MDL ;)

@bvleur The files are found in the /extra folder. You should be able to integrate them using Webpack et.al. or just copy / symlink them to a local assets-folder and add a script-tag.
But yeah, a minified version for the latter case would be nice.


Add displayName to TestResult

Summary
Adds project displayName to TestResult type and ensures the value is propagated through to testResultsProcessor.
Resolves https://github.com/facebook/jest/issues/4406
Sample testResultsProcessor output in a multi-project environment where one project has a displayName defined and one does not.
Test plan
Run tests locally

thank you!


[Proposal] Deprecate ThemeData.copyWith's colorScheme and useMaterial3 arguments

These can cause confusion due to the way certain defaults are constructed. One or both should be deprecated in favor of using the constructor, e.g.
ThemeData().copyWith(colorScheme: ...)
// becomes
ThemeData(colorScheme: ...)

Fixed by #131455


Install script

Make installation as easy as for homebrew: https://brew.sh/
=> create an installation script that automatically downloads the right binary and installs LODA.

To find out whether the script is running on Linux or macOS, we could check $OSTYPE. Example values: linux-gnu, darwin22.1.0.
On Linux, the architecture can be determined using lscpu | grep "Architecture" | awk '{print $2}'. Example values: x86_64, i686, aarch64.
Based on this info, we can determine which loda binary to use.


common default compression type

@hmusum please review
should be no-op for HV

I think we need to handle the case where some files are already compressed when we switch compression type (we have observed files being double compressed (files with suffix like e.g. ".zst.gz", I guess the other way around is also possible).


Fix the demos on Pluncker.

Fix the errors occurred on the Pluncker demo pages:

Thanks! This has already been fixed.


Compatibility

Does it support acr1252u reader?

I don't know. I only have one ACR122U.

No. It has not been intended for.


In Express 5, how to make a query param parsed as an array when it is an array of string of one element ?

Hello everybody,
I am currently migrating my app from Express 4.17.21 to Express 5. I am using Node 22.9. The only problem I have is for parsing the query params when it is array of string of 1 element.
Here is an example of the url :
http://localhost/api/myApi/myBaseUrl?myQueryParam=firstElement

The query param firstElement is not recognized as a an array, and it was the case in Express 4.x.x.
This problem can be fixed by this code (found https://github.com/cdimascio/express-openapi-validator/issues/599 thanks to @djMax)
app.use((req, res, next) => {
    // Express 5 re-parses the query string every time. This causes problems with
    // various libraries, namely the express OpenAPI parser. So we "freeze it" in place
    // here, which runs right before the routing stuff does.
    const { query } = req;
    if (query) {
      Object.defineProperty(req, 'query', {
        value: query,
      });
    }
  next();
});

But this is not very clean.
I know if I use the "extended" query parser (app.set("query parser", "extended")), and use the url
http://localhost/api/myApi/myBaseUrl?myQueryParam[]=firstElement

the problem can be fixed but for reasons - such as our APIs are used by consumers - I cannot use this solution.
So I wonder whether there is a "clean" way for parsing as Express 4 does...?
Thank you !

First, just to clear up any confusion, it does not parse the url every time: https://github.com/pillarjs/parseurl/blob/master/index.js#L43
Second, seems like this lib is breaking some assumptions because of this misunderstanding, but I will not comment more on that other than to say this seems like a bad idea on their part.
But this doesn't appear to have anything to do with the question you asked, which is about the breaking changes from qs. You can check out the changelogs there: https://github.com/ljharb/qs
The query string parser would not treat this as an array because it has no indication of it being an array, so the best solution if you always want that to be an array is to check and make it an array if it is not:
if (req.query.myQueryParam && !Array.isArray(req.query.myQueryParam)) {
  req.query.myQueryParam = [req.query.myQueryParam];
|

Migrating from Express 4 to Express 5 introduced some changes to how query parameters are parsed, particularly with regards to arrays and single-element arrays. This behavior stems from the underlying querystring vs qs modules used for parsing.
Why the Issue Occurs
Express 4 uses qs by default, which is more robust and recognizes ?param=value as param: ['value'] when a consumer expects an array. However, Express 5 defaults to querystring, which does not handle this the same way.
Solutions
Here are clean and practical solutions for resolving this issue:

1. Use the qs Module Explicitly
You can replicate Express 4 behavior by setting up a custom query parser using the qs library.
Install qs:
npm install qs

Update your application:
const qs = require('qs');

// Set a custom query parser
app.set('query parser', str => qs.parse(str));

This makes the query parser behave like it did in Express 4.

2. Restore the "Extended" Parser
The extended parser uses qs under the hood. You can explicitly set it up without requiring clients to change their URL syntax.
app.set('query parser', 'extended');

This re-enables the extended query parsing without forcing clients to use [] for array elements.

3. Manually Normalize Query Parameters
If you need fine-grained control over how query parameters are handled, you can write middleware to normalize query parameters into arrays.
app.use((req, res, next) => {
  for (const [key, value] of Object.entries(req.query)) {
    if (!Array.isArray(value)) {
      req.query[key] = [value];
    }
  }
  next();
});

This ensures all query parameters are treated as arrays, even if they are single values.

Recommendation
The cleanest and most backward-compatible solution is Option 1 (using qs). It closely mimics Express 4 behavior and avoids unexpected surprises for consumers of your API.
Additional Notes

Consider documenting the behavior change for your API consumers if it's relevant.
Test your API thoroughly after the migration, especially with complex query strings.

Hello @wesleytodd,
Thank you for your answer ! I don't want my query params to be always treated as array... So maybe there is no solution to my problem...
Thank you !

@kerlos-alfy does that mean, that qs is always installed even tho its not used by default? I still see it listed in the package.json and it comes with so much baggage: https://npmgraph.js.org/?q=qs


Non-breaking spaces in  get trimmed

Describe the bug
When parsing HTML in <foreignObject>, non-breaking spaces (  aka   aka  ) are getting removed.
To Reproduce
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 300">
  <foreignObject width="400" height="300">

foo

bar

baz

  </foreignObject>
</svg>

Even with --pretty, this becomes foobarbaz.
Expected behavior
foobar baz
Desktop (please complete the following information):

SVGO 2.8.0
Node.js 14.9.3

Additional context
I've narrowed it down to:
https://github.com/svg/svgo/blob/a9834efa1603198ae606765292215462ae193d0d/lib/parser.js#L228
I didn't check in detail, but presumably, String#trim() will remove any kind of Unicode whitespace, and there's quite a lot of variety there. If a space is non-breaking, I don't think SVGO should touch it.
Suggested fixes:

Replace String#trim() with something that only trims [ \t\r\n].
Add HTML elements to textElems so the else doesn't get hit.
Don't trim anything inside <foreignObject> to avoid implementing an entire HTML parser.

I've been hit by this in the year of our lord 2024 and the suggested fixes make sense to me, too.


Notification Translations Needs to be Harmonised with Constants

Current Behavior
Currently, we have a naming convention conflict between the keys mentioned in the Notification Translation and the keys in the constants file. In the code, we are mapping constant keys to translations to retrieve the relevant translation. However, due to mismatched word casing, it results in the translation key being returned instead of the value.

Expected Behavior
The keys format(either camelcase, or any other) used in Notification translation file should be consistent with the key's value in CONSTANT.ts.
Steps To Reproduce

Navigate to Profile Menu to top right.
Select Notification option from menu.
Open notification card and observe the link of the text.

@MaximilianHauer Checked with @gopalreddy-bmw - there was no test data available but we checked and confirmed it's implemented in the code.


add: TogetherPool and Poolin

Updated the website for TogetherPool and changed 1M1X to Poolin according to the pools.json list from Blockchain.com.

Thanks!


[CLI] i can't download and it said [ERROR] HTTPError 403: FORBIDDEN

** Main info: **
Script version:
Service:
What do you want to do:

** Additional Info: **

Please give me the command you used.

Closed due to lack of information


We should refactor kvasir to use an external metaprogramming library

Back in the beginning of 2013 when I started working on Kvasir I was not able to find a good MPL which did not rely on the STL but did make use of variadic templates, so I wrote my own. Now almost 3 years later metaprogramming has greatly advanced especially in terms of finding ungodly performance tricks.
Couppled with the fact that I did not document my MPL well/at all it is high time it get swapped out with a new/faster/documented one.

now using brigand


Fix for invalid selector on iOS11

Fix crash caused on iOS 11 by not supporting "criticalAlertSetting" which was added for iOS 12.

@Naturalclar Can you help to take a look this soon?
This PR should resolved the crash on iOS 11.


PHP 7.2 + QA Tools (follow up #2, #5, #6, #7)

Resolves #10
Closes #2
Closes #5
Closes #6
Closes #7

Thanks, @webimpress


FogShape is mapped in #5

Dunno how I managed to miss that, removed it.


log4j vulnerability

Does log-viewer use log4j?
https://www.zdnet.com/article/second-log4j-vulnerability-found-apache-log4j-2-16-0-released/

No, it uses Logback.


Add POST version of expression APIs

Add POST versions of any APIs that support expression so that long expressions work better.  Then switch the UI to use them. Would be best if could use something like app.all instead of having app.get and.post that might make things get out of sync, but not sure if possible.

What if we just support only POST for all of these endpoints?

For NEW and maybe not commonly used APIs I could see that, but for sessions* I don't want to break folks.

Implemented in #1546


OkHttp not throwing exception when WiFi goes down

I'm having a really strange problem which I think is related to my app using OkHttp. The problem so far appears only with a remote tester so most likely it's device specific issue. My tester claims he tried on several different WiFi networks and the issue persists on all. I couldn't reproduce the issue on quite a few devices and I don't have that device which makes things much more difficult. The tester is using Samsung,Galaxy S 6 Edge on Android 5.1.1. Essentially when the tester switches off his WiFi during file upload, OkHttp is not throwing any exceptions.
In a nutshell, the app uploads some files to Google Storage. The code that does the uploading is wrapped into try/catch block and on catching an exception, it returns an error to my service that deals with the upload queues etc. This is an example of such an exception:
javax.net.ssl.SSLException: Write error: ssl=0xb9180118: I/O error during system call, Connection timed out                         E      at com.android.org.conscrypt.NativeCrypto.SSL_write(Native Method)                         E      at com.android.org.conscrypt.OpenSSLSocketImpl$SSLOutputStream.write(OpenSSLSocketImpl.java:740)                         E      at okio.Okio$1.write(Okio.java:80)                         E      at okio.AsyncTimeout$1.write(AsyncTimeout.java:155)                         E      at okio.RealBufferedSink.emitCompleteSegments(RealBufferedSink.java:176)                         E      at okio.RealBufferedSink.write(RealBufferedSink.java:46)                         E      at okhttp3.internal.framed.Http2$Writer.dataFrame(Http2.java:492)                         E      at okhttp3.internal.framed.Http2$Writer.data(Http2.java:485)                         E      at okhttp3.internal.framed.FramedConnection.writeData(FramedConnection.java:332)                         E      at okhttp3.internal.framed.FramedStream$FramedDataSink.emitDataFrame(FramedStream.java:516)                         E      at okhttp3.internal.framed.FramedStream$FramedDataSink.write(FramedStream.java:489)                         E      at okio.RealBufferedSink.emitCompleteSegments(RealBufferedSink.java:176)                         E      at okio.RealBufferedSink.write(RealBufferedSink.java:96)
However, I can't see this exception in the logs returned from the tester. In fact, I'm currently wrapping my OkHttp request into a catch (Exception e) block to catch any possible exception and nothing is happening.
Is that something that has been noticed before? How can I debug this issue and what can I provide you guys to help looking into this issue?
The issue appeared while using OkHttp 2.4 and OkHttp 3

My API/OkHttp code for uploading files
` OkHttpClient clonedClient = getClonedClientWithTimeout(EXTENDED_TIMEOUT);
Response response = null;
try {
RequestBody requestBody = new RequestBody() {
private long uploadedBytes;
            @Override
            public MediaType contentType() {
                return MediaType.parse(upload.getMimeType());
            }

            @Override
            public void writeTo(BufferedSink sink) throws IOException {
                if (status.getBytesUploaded() > uploadedBytes) {
                    Log.d(TAG,
                            ".writeTo() - setting uploadedBytes to the value provided in the status");
                    uploadedBytes = status.getBytesUploaded();
                    // Move to the first unsent byte
                    source.skip(uploadedBytes);
                } else if (uploadedBytes > 0) {
                    Log.d(TAG,
                            ".writeTo() - uploadedBytes are more than 0 but less than set in upload status - stopping");
                    return;
                }

                byte[] buffer = new byte[8 * 1024];
                int count = 0;
                while ((count = source.read(buffer)) != -1) {
                    sink.write(buffer, 0, count);
                    uploadedBytes += count;

                    // Notify listener at each step
                    if (listener != null) {
                        listener.onTransferredBytesCountChanged(uploadedBytes);
                    }
                }

                // Notify listener at the end
                if (listener != null) {
                    listener.onTransferredBytesCountChanged(uploadedBytes);
                }
                source.close();
            }
        };
        final Request request = new Request.Builder()
                .url(uploadUrl)
                .put(requestBody)
                .addHeader("Content-Length",
                        status.getUploadingContentLengthValue()) //upper - lower
                .addHeader("Content-Range", status.getRangeStringValue())
                .build();

        response = clonedClient.newCall(request).execute();
    } catch (Exception e) {

**            // the code doesn't get here on that specific Samsung device**
throw new IOException("Unexpected response from server: " + response);
}
if (!response.isSuccessful()) {
**             // not getting here either**
throw new IOException("Unexpected response from server: " + response);
}
    int statusCode = response.code();`

This isn’t a particularly actionable request. Could you open a new issue that includes a failing test case? There’s plenty of examples in CallTest.java if you’re looking for a place to get started.


Frontend unavailable until remuxing has finished

When starting the server and there are files to be remuxed the frontend is unavailable until all files are remuxed (which can take a lot of time).

how come they are not remuxed? unless it's just not related to the previous bug

just when the server crashes or I close it manually to make an update


[ISSUE-19] Allow to specify custom packages mapping configuration via API and tools

Fixes https://github.com/wildfly-extras/batavia/issues/19

All should be fixed now @scottmarlow

@ropalka I still see exceptions being thrown that require access to the source code to understand, currently we have:
if (built || mappingFile != null) throw new IllegalStateException();

Do you agree that this (and others) should be changed to something like (perhaps with better messages):
new IllegalStateException(built ==true ? "Transformer was already built" : "mappingFile must be specified");

What do you think?

Hi Scott, you're probably looking into old content. Current content is:
    if (built) throw new IllegalStateException("Builder instance have been already closed");
    if (mappingFile != null) throw new IllegalStateException("This method can be called only once");

Thanks Richard!

Thanks Scott!


Fix diagnostics for debugging tests

For https://github.com/microsoft/vscode-python/issues/14067

[x] Pull request represents a single change (i.e. not fixing disparate/unrelated things in a single PR).
[x] Title summarizes what is changing.

Codecov Report

Merging #14311 into main will decrease coverage by 0.02%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main   #14311      +/-   ##
==========================================
- Coverage   64.91%   64.88%   -0.03%
==========================================
  Files         541      541
  Lines       25131    25131
  Branches     3544     3544
==========================================
- Hits        16313    16307       -6
- Misses       8155     8157       +2
- Partials      663      667       +4

Impacted Files
Coverage Δ

.../client/testing/common/managers/baseTestManager.ts
45.13% <ø> (ø)

src/client/common/utils/platform.ts
60.00% <0.00%> (-12.00%)
:arrow_down:

.../locators/services/virtualEnvironmentIdentifier.ts
94.73% <0.00%> (-2.64%)
:arrow_down:

src/client/linters/pydocstyle.ts
86.66% <0.00%> (-2.23%)
:arrow_down:

src/client/common/process/proc.ts
14.49% <0.00%> (-0.73%)
:arrow_down:

Continue to review full report at Codecov.

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


Windows Phone is mentioned.

In the examples, there is a statement:
"This type of animation can be seen on the Windows Start Screen and Windows Phone Hub UIs."

Linking to issue: https://github.com/MicrosoftDocs/winapps-winrt-api/issues/50


Add sdk-svelte

Just getting thing setup 👷 🏗

Should we be expecting this run to fail?
https://github.com/viamrobotics/bmo/actions/runs/6657495297/job/18092384009?pr=1
It seems like it is running the install but then cannot find node_modules?


SampleLibrary editor window needs stop functionality(button)

In the SampleLibrary editor window, we need a stop button. Currently when a sample file which is set to loop is played, there is no easy way to make it stop. The only way to stop it is closing the window and reopen it again. It needs to be reopened since closing the window has no effect.

Well, as @reduz and Roderick Lagunas pointed in the FB, There is a stop button near the add to library button in the top left of the window. But the problem is, it doesn't look like a stop button. Its best to have a stop button replacing the play button while playing the sample.

I fixed this in #4033 a while ago actually.


added auto update content

I have added state to the component to allow it to update as time progresses.

This is great. Perfect for Inbox type applications where you want the time to continue updating. I'll get this merged in tomorrow.


Change feedback tracking

Changes to the GA tracking on the new feedback component for GOV.UK.
Link for testing: https://govuk-publishing-compon-pr-184.herokuapp.com/component-guide/feedback/preview

Trello card: https://trello.com/c/3RTCSaMA/8-change-the-ga-tracking-for-is-there-anything-wrong-with-this-page-cta
Component guide: https://govuk-publishing-compon-pr-184.herokuapp.com/component-guide/feedback

Hammered out the final tracking params with Tim LB. I've updated the PR.
Ambiguity in the Trello card caused some confusion about the desired
tracking parameters.
The following are understood to be correct after talking to Tim:
Intended tracking:

n
What happens
Event category
Event action

1
Click “Yes”
yesNoFeedbackForm
ffYesClick

2
Click “No”
yesNoFeedbackForm
ffNoClick

2.1
Submit email address for Survey form
yesNoFeedbackForm
Send Form

2.2
Close form for survey
yesNoFeedbackForm
ffFormClose

3
Click “Is there something wrong with this page?”
Onsite Feedback
GOV.UK Open Form

3.1
Submit form for “Is there something wrong with this page?”
Onsite Feedback
GOV.UK Send Form

3.2
Close form for  “Is there something wrong with this page?”
Onsite Feedback
GOV.UK Close Form

https://docs.google.com/document/d/1Pek4QQJeHUTDVzylo17PWZ8tfp6paEF-3Wyv9u_YFlU/edit

Looks good to me 👍


Improve Responsiveness of community partners section

Description:

When viewed in mobile-view, the alignment is mismatched in the last row.
When viewed in i-pad view, two community logos disappear mostly.

I'm a participant under GSSoC'22 and I will make it responsive. Please assign this issue to me.

@vardhinii Go for it!

I want to work on this under GSSOC2022. Here is my discord profile DHANANJOY DEY | Contributor#7903


Cosmos Queryable LINQ to SQL translation for decimal type results precision loss

We are continuously addressing and improving the SDK, if possible, make sure the problem persist in the latest SDK version.

Describe the bug
Cosmos Queryable LINQ doesn't properly translate decimal type with long digits. It causes precision loss. Hence, when executing queryable LINQ, no items are returned even though the items are in Cosmos DB container.
Cosmos SDK allows to write document that has property of decimal type with long digits to container and those items are already written in container and shows the property of decimal type with all digits. Hence, the expectation is that Cosmos Queryable LINQ would translate decimal value with all digits when it presented in LINQ Where function.
Example of decimal with long digits:
decimal d =<PHONE_NUMBER>1779141

To Reproduce
Document class
class TestDocument
{
     public decimal SomeProperty { get; set; }
}

Code to execute Cosmos queryable LINQ
decimal value =<PHONE_NUMBER>1779141;
var linqQueryable = container.GetItemLinqQueryable<TestDocument>(allowSynchronousQueryExecution: false, continuationToken, requestOptions)
                .Where(e => e.SomeProperty == value)

Expected behavior
It should show all decimal precisions/digits.
// Get translated SQL syntax
var queryText = linqQueryable.ToQueryDefinition().QueryText;
// queryText = "SELECT VALUE root FROM root WHERE (root["SomeProperty"] =<PHONE_NUMBER>1779141)"

Actual behavior
It shows decimal value without the last digit.
// Get translated SQL syntax
var queryText = linqQueryable.ToQueryDefinition().QueryText;
// queryText = "SELECT VALUE root FROM root WHERE (root["SomeProperty"] =<PHONE_NUMBER>177914)"

Environment summary
SDK Version: 3.31.0
Additional context
Add any other context about the problem here (for example, complete stack traces or logs).

This is the Pull Request to address this bug (Still WIP): https://github.com/Azure/azure-cosmos-dotnet-v3/pull/3609

@AmriHS thanks for sending out the PR, will take a look.

I discussed this on a call with @AmriHS. The backend supports only 64 bit precision for numbers, so the SDK cannot support more than 64 bits of precision.


autolayout: support for v/hgroups

Do you want me to write my own algorithm to auto position nodes?
Right now I am using dagre. It has ok compatibility with ReactFlow, but vgroup and hgroup are 2 keys I added myself. So I don't think it is possible right now to support v/hgroups in combination with autoLayout.

I'm guessing you can't ask dagre to do the autolayout without the elements within the nested groups, and then do autolayout individually per nested group?

(kind of your own algorithm then I guess 😅 )

I'm guessing you can't ask dagre to do the autolayout without the elements within the nested groups, and then do autolayout individually per nested group?

Ah of course. That is also a possibility.


Support for getting margin balance

Hi,
I was looking what function to call in order to get the following data;

from the binance UI, it makes the following call:
'https://www.binance.com/bapi/asset/v2/private/asset-service/wallet/balance?needBalanceDetail=true'
Is this API supported through this project or is there a workaround so that I can easily make this call?
thank you so much in advance

The site might have it's own api. Best place to check is the official api docs to see if there's an endpoint with the data you're looking for. This one looks interesting:
https://binance-docs.github.io/apidocs/spot/en/#query-cross-margin-account-details-user_data
In my connector, margin endpoints are part of the main client. There's already a method here for this endpoint you can try:
https://github.com/tiagosiebler/binance/blob/master/src/main-client.ts#L841
One example for using the main client to make rest api calls: https://github.com/tiagosiebler/binance/blob/master/examples/rest-spot-private-misc.ts


Problems for scraping players stats

The script raised this exception when I tried to scrape the players stats. I made the test in Jupyter:
ConnectionError: HTTPSConnectionPool(host='www.pro-football-reference.comhttps', port=443): Max retries exceeded with url: //stathead.com/football/pgl_finder.cgi?player_id=AaitIs00 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fc45c241520>: Failed to establish a new connection: [Errno -2] Name or service not known'))

I already found the problem
In gamelog years have the content 'Player Game Finder' that containing the stathead.com link.
I modified the code's track like this:
... seasons = []         gamelog_list = profile_soup.find('div', {'id': 'inner_nav'}).find_all('li')[1].find_all('li')         if len(gamelog_list) > 0 and gamelog_list[0].contents[0].contents[0] == 'Career':             for season in gamelog_list:                 if season.contents[0].contents[0] == 'Player Game Finder':                     continue                 seasons.append({                     'year': season.contents[0].contents[0],                     'gamelog_url': BASE_URL.format(season.contents[0]['href'])                 })         return seasons ...
And this works very well.


61 remove lineage children

Actually, didn't really need to do anything.  Just some minor code reformatting for PEP8 compliance.

Belay my starting comment. I did remove references to children for lineage tracking.  I also fixed numerous unit test errors.  Moreover, I identified a disturbing problem whereby the latest dask was causing the latest ubuntu and python 3.9 CI tests to fail -- I had to revert to an earlier version of dask as a workaround.


Added support for Carthage

This is the first I've heard of Carthage. I like the idea of a decentralized dependency manager and having card.io support for it seems like a worthwhile goal. However, I'm having a hard time understanding these commits, their purpose, and how they relate to Carthage. Also, I wonder whether this support should be done in the source repo rather than the SDK repo. (Maybe not, given that we have custom build steps, but it's worth double-checking.)

The commit just:

Make an Xcode project, which provides build settings and scheme for Cathage to use to build a framework wrapping the headers and the static library
Update docs for instructions on using Card.io with Carthage

I'll look in to adding to the source repo – didn't know that existed.

@kylejm apologies for the long silence. Where does this stand now?

I haven't added it to the source repo... yet. I may look into it. Feel free to decline this PR if you think it doesn't really make sense for this static library repo :)

@kylejm I really would like to see a decentralized dependency manager take off, but yes, I don't think that this is the right place for card.io Carthage support. I'm going to close this, but I've opened #130 so that we do have an open issue for it.

Awesome stuff. Have you made the issue on the SDK repo though and not the source repo?

Oops. Yes. Will fix, thanks.


The module only works for region us-central

TL;DR
The create_environment submodule expects a variable zone which defaults to us-central1-f but the root module never passes this variable down. Changing region for anything other than us-central therefore issues the following errors:
│ Error: googleapi: Error 400: Found 2 problems:
│       1) Provided zone [projects/myproject/zones/us-central1-f] must be contained within Composer location [southamerica-east1].
│       2) Provided subnetwork [projects/myproject/regions/us-central1/subnetworks/myproject-airflow-subnet] must match Composer location [southamerica-east1]., badRequest

Expected behavior
All relevant variables should be passed down from the root module to the create_environment submodule.
Observed behavior
No response
Terraform Configuration
module "composer" {

  source  = "terraform-google-modules/composer/google"
  version = "~> 2.0"

  project_id = "myproject"
  region     = "southamerica-east1"

  composer_env_name = "myproject-airflow"
  network           = "myproject-airflow-network"
  subnetwork        = "myproject-airflow-subnet"
}

Terraform Version
1.1.3

Additional information
No response

Yes we should pass this down.

@morgante - we can close this issue.

fixed via https://github.com/terraform-google-modules/terraform-google-composer/pull/35


how to specify which logger to be use by java agent

Please answer these questions before submitting your issue.
What version of sky-walking are you using?
3.2.6
What version of your OS?
windows
What version of your JRE?
1.8
From the code LogManager.setLogResolver, seems no one call it at all and it is always using the easyLogResolver. How to switch to other logging framework? do I need to implement a LogResolver?

Yes, you are. And because of compiling and class loader problems, you will find out, you must make sure the log implementation and all dependencies must be inside agent. So no one will call it, except the agent itself.

After I implemented a Log Resolver, how does LogManager pick it up? Since JUL is a build in logger for JDK, will you consider use it so there is no classloading issue?

@zone1511 Sorry for delay. Apache stuffs take me a lot of energy in these days.

After I implemented a Log Resolver, how does LogManager pick it up? Since JUL is a build in logger for JDK,

After you implement the LogResolver, you must change the initial codes by calling LogManager#setLogResolver. I would recommend you to do that by adding a static block in LogManager.

will you consider use it so there is no classloading issue?

If you are using all JDK codes, it will not trigger classloader issue. But if your application is also using JUL, the logging config will be influenced. That is why we only use our own implementation, rather than any other log components.

@wu-sheng congrad for moving the project into apache.
if you extend those standard JUL logger then you can attach a configuration which config the agent's logger log to your JUL logger implementation and other applications which use  JUL will not be affected.

congrad for moving the project into apache

Thanks. But the moving is still on going. Something is not right so far.

if you extend those standard JUL logger then you can attach a configuration which config the agent's logger log to your JUL logger implementation and other applications which use JUL will not be affected.

If they know JUL configuration well. you definitely can. So here is my proposal, if you are interested in JUL so much, I welcome you provide implementation by using JUL, and allow people to use config(file/system properties/sys env) to switch it.
But pay attention about some LogManager#getLogger execute before SnifferConfigInitializer, maybe you can't override those logs by now.


Not working on High Sierra 10.13.3

My Karabiner-Elements already at the latest version (11.6.0) but it seems no alert like previous version did to change Security & Privacy settings. And now my profile won't work.

Working after recheck beta updates on setting, now it works. Sorry for the hassle.

Same for me with 10.13.5.


how to load a pretrained in spark application

I want to load a fasttext pretrained embedding in a spark application. There a way please to do that?

Is there a way to do this?  I am looking for one.


0.2.0 release

Summary

Add some statistics for writing tests.
Reduce log amount.

Could you add some description for this PR, then anyone can understand the changes.

Could you add some description for this PR, then anyone can understand the changes.

done

/coverage


nodeport or hostpoat support?

nodeport or hostport is useful in debug or daliy maintenance from pc. I try to write a nodeport servcie ,but sometimes get  error like

cannot execute CREATE TABLE in a read-only transaction

How to write a correct nodeport service?And can you add offical support for it.

This would be useful to avoid a port-forward for development use.

Hello, I'm failing to expose Timescale with a NodePort.
Here's what I tried:
Hello,
I want to expose TimescaleDB without using a paid LoadBalancer.
First approach: full Helm
Here are the values.yml that I tried:
replicaCount: 1
service:
  primary:
    type: NodePort
    nodePort: 30001
  replica:
    type: ClusterIP
  loadBalancer:
    enabled: false

Here are the services that the Helm release creates when applied:
NAMESPACE                 NAME                                                  TYPE           CLUSTER-IP      EXTERNAL-IP   PORT(S)                  AGE
flux-system               timescaledb                                           LoadBalancer   <IP_ADDRESS>   <IP_ADDRESS>   5432:30905/TCP           9m44s
flux-system               timescaledb-config                                    ClusterIP      None            <none>        8008/TCP                 20m
flux-system               timescaledb-replica                                   ClusterIP      <IP_ADDRESS>   <none>        5432/TCP                 20m

Problems with this approach

[ ] I can't find how to use a NodePort instead of a LoadBalancer solely by editing the Helm chart values.

Second approach: creating a NodePort service
I create the following service:
kind: Service
apiVersion: v1
metadata:
  name: timescaledb-svc
  namespace: flux-system
spec:
  selector:
    app: timescaledb
    role: master
  type: NodePort
  externalIPs:
    - "<IP_ADDRESS>"
  ports:
    - name: timescale-pg-port
      port: 5432
      nodePort: 30001

I deleted the previously created LoadBalancer:
kubectl delete service timescaledb -n flux-system
I get the following services:
NAME                      TYPE        CLUSTER-IP      EXTERNAL-IP    PORT(S)          AGE
timescaledb-config        ClusterIP   None            <none>         8008/TCP         40m
timescaledb-replica       ClusterIP   <IP_ADDRESS>   <none>         5432/TCP         40m
timescaledb-svc           NodePort    <IP_ADDRESS>    <IP_ADDRESS>   5432:30001/TCP   3m

Problems with this approach
I can connect using port-forwarding.
The problems are related to exposing the port to the Internet.

[ ] It looks like I can access the port at <IP_ADDRESS>:30001, but it times out (see screenshot). Why does this happen?
[ ] How can I expose the NodePort on all cluster nodes instead of one? Manually selecting an external IP seems wrong to me.

Timeout

Provider
My provider is Kapsule from Scaleway.


Resizing of element inside body not working properly

TODO: Add custom resizing algorithm for when element is the direct descendant of document.body

Using data from Element.getBoundingClientRect() renders wrong results sometimes. This might be caused by margins, as the height and width data returned by the DOMRect object does not account for margin, only padding and border-width.

The width and height properties of the DOMRect object returned by the method include the padding and border-width, not only the content width/height. https://developer.mozilla.org/en-US/docs/Web/API/Element/getBoundingClientRect


Add Portuguese Translation for documentation website

Portuguese is a language that still needs to be added to the website, and I have not seen an issue on that.
Does it make sense to start working on that or would it make sense to wait since the rework of the documentation is going on?

That's up to you. You can start working on it now, or wait for the rework


Implement a new check for secrets in CloudWatch Logs

Is your feature request related to a problem? Please describe.
Suggestion to implement a new check that performs the same secrets detection done for ECS task definitions/lambda code etc, but done against logs stored in CloudWatch to detect sensitive information being stored in logs in plaintext.
Describe the solution you'd like
It is likely that it is not feasible to pull all the log streams for each cloudwatch log group. I suggest that ~5-10 streams are pulled, and run through secrets-detector. Something like the below could be altered and incorporated into the logs_client - with the logGroupName being a variable (for log_group in self.log_groups).
     stream_response = client.describe_log_streams(
        logGroupName="/aws/lambda/lambdaFnName", # Can be dynamic
        orderBy='LastEventTime',                 # For the latest events
        limit=5
        )

    for log_stream in stream_response["logStreams"]:
        logStreamName = log_stream["logStreamName"]

        response = client.get_log_events(
             logGroupName="/aws/lambda/lambdaFnName",
             logStreamName=logStreamName
        )

Describe alternatives you've considered
None
Additional context
None

If the team agrees that this is something worth implementing then Id be happy trying doing it.

For sure @Fennerr , great idea! I could help you with the metadata 💪🏼


As a developer, I would like to add annotations to my dashboard to convey additional context to my end users

A few customers have requested for the ability to add dashboard annotations, primarily in the context of developers being able to convey additional context to end users. To provide a more concrete example, imagine some kind of dashboard that is activity / engagement and other metrics for a brand website. Then, if there is some kind of new product launch or heavy email campaign that is kicked off, they would like to call out this "spike" in the time series for end users to be aware.
In this very example, the customer would be interested in defining some kind of mapping table that contains two fields:

Date or timestamp
String text that contains the actual annotation message

Then, this mapping table could be referenced or linked back to the dashboard (similar to how mapping tables / files can used to define access policy logic in dashboards) that essentially acts as a lookup of key dates or timestamps and messages to share with end users (annotations with respect to timeseries charts). The logic would be as follows:

When an end user hovers over the data point in the timeseries chart, a tooltip would show the message
A very nice to have would be highlighting / calling out these annotated data points in the timeseries (using a different color for example) to indicate to the end user that there is important information contained as an annotation
Annotations would "roll up" depending on the granularity of the dashboard, i.e. an annotation for Feb 19 would show as a Feb datapoint if the granularity is month and could contain multiple annotations depending on the rollup (e.g. Feb 12 and Feb 19 could both be annotated but should fall under the Feb data point if the granularity is month but show up as separate data points within the timeseries if the granularity is daily)

An example of what this may look like:

general dashboard summary description would also be nice to be able to include.


Consider Gopkg.lock and glide.lock as generated

Recognize Gopkg.lock and glide.lock — two common Go package manager lockfiles — as generated.
Checklist:

[x] I am adding new or changing current functionality

[x] I have added or updated the tests for the new or changed functionality.

Ah, I completely misunderstood how the tests worked. Revised.


TagBot trigger issue

This issue is used to trigger TagBot; feel free to unsubscribe.
If you haven't already, you should update your TagBot.yml to include issue comment triggers.
Please see this post on Discourse for instructions and more details.
If you'd like for me to do this for you, comment TagBot fix on this issue.
I'll open a PR within a few hours, please be patient!

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/83471

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/97606


Install tldjs under root

When I try npm i tldjs running under root I get the following error:
root@mymachine:~/test# npm i tldjs

><EMAIL_ADDRESS>postinstall /root/test/node_modules/tldjs
> node ./bin/postinstall.js

internal/modules/cjs/loader.js:818
  throw err;
  ^

Error: Cannot find module '/root/test/node_modules/tldjs/bin/postinstall.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:815:15)
    at Function.Module._load (internal/modules/cjs/loader.js:667:27)
    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12)
    at internal/main/run_main_module.js:17:47 {
  code: 'MODULE_NOT_FOUND',
  requireStack: []
}
npm WARN<EMAIL_ADDRESS>No description
npm WARN<EMAIL_ADDRESS>No repository field.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>postinstall: `node ./bin/postinstall.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2020-11-26T14_09_29_771Z-debug.log

What must I do to successfully install tldjs under root?

Why do you need to install it as root? Does it work when you install it as non-root user?


fr: Nextcloud integration

Hey Devs, have you plans to integrate Excalidraw into Nextcloud like Draw.io? In my opinion it would be very helpful.

+1


[signalr/dotnet-client.md] Reference FAQ article instead of GitHub readme

I changed FAQ link to reference article instead of readme on GitHub.
Minor code improvements in dotnet-client.md.
Fixes #34092

Internal previews

📄 File
🔗 Preview link

aspnetcore/signalr/dotnet-client.md
ASP.NET Core SignalR .NET Client

@rammba
Thanks for the contribution. Be sure to check out your name as a contributor about the 3rd of next month on the What's new page in the Community contributors section at the bottom.
Check out is:issue is:open label:"code help wanted" " and is:open is:issue label:"Good first issue" if you're interested it writing some code. We'll take care of the writing.


Two identical ExteranlComponents will only render one

As the subject says, if you have two identical  on the same page, then, strangely, it will only render one of them. It seems like the interleave promise in v2Effect never resolves on the second component.
To reproduce, copy/duplicate the website-2/TitleComponent into Website1s App.jsx.

Did some more testing. If I load the component without , then I can render them twice. (I.e. only calling interleave once, not twice as ExternalComponent would.) Can we keep track of modules already loaded and not fetch them again in ExternalComponent?

Known flaw. This will be fixed with v3 - currently 50% done and will be merged into webpack core


Document participant pruning restriction per support-7725

For technical details, please refer to
https://support.digitalasset.com/s/case/500Pq00000NCXEIIA5/ledger-pruning-unexpected-behavior

Comment: Also update other docs versions, if this FAQ entry applies for other versions than 2.10.0.

Thanks Yves. Added.


Demo not working in IE 11

It seems like a recent update broke Polymer for IE11 - my own project does not load anymore and also the demos seem to have issues.
One example :
https://elements.polymer-project.org/elements/paper-badge?view=demo:demo/index.html&active=paper-badge

I have been having issues with IE this last two days,  I found a solution that works for me,  maybe the feedback can help in a fix.
I have a dom-module custom element that loads in a partial view (.NET MVC View) through jquery.  However IE 11 and < 11 it would not load at all, no matter what I tried.
In the end I found that I had to wrap the jquery call in a setTimeout for it to wait until polymer custom element had loaded. Even though on screen it was visually there.  I found I had to do this in a few custom elements so it would work in IE.
Not sure if this is a polymer issue or IE.  At least now I know what to look for.
setTimeout(function() {
            // load the partial section
            jQuery(".partial-view").each(function (index, item) {
                var url = jQuery(item).data("url");
                if (url && url.length > 0) {
                    jQuery(item).load(url);
                }
            });

        }, 2000);

FYI: I fixed my own issues by updating webcomponentsjs (for some reason my bower did not update it with a normal bower update) - the demo still does not load in IE11.

This issue was moved to Polymer/polymer-element-catalog#225


chore(maintenance): migrate batch utility to biome

Summary
Changes

Please provide a summary of what's being changed

This PR migrates the linting and formatting of the Batch Processing utility to use Biome instead of a combination of Eslint and Prettier.
As part of the PR I had to fix a few inconsistencies that came up.

Please add the issue number below, if no issue is present the PR might get blocked and not be reviewed

Issue number: closes #2794

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Disclaimer: We value your time and bandwidth. As such, any pull requests created on non-triaged issues might not be successful.

Review & merge this after #2791.


Create integration test suite and migrate appropriate tests from unit test suite

@notmessenger please assign this to me.

@notmessenger please close issue. This one has been merged.


Revert "chore: add semgrep"

Reverts finisterra-io/terraform-aws-wafv2#7

This PR is included in version 1.0.6 :tada:


ColorPicker Updates

What does the pull request do?
Updates the ColorPicker group of controls with more fixes/improvements.

A special case was added to handle #00000000 in the ColorSpectrum upon first selection. If this case is detected the third component and alpha component will automatically be set to maximum values. Full reasoning is commented in code.
ColorSlider.IsAlphaMaxForced was renamed to IsAlphaVisible. This follows terminology in other controls/primitives and essentially does the same as before.
One of the largest changes is ColorSlider.IsSaturationValueMaxForced being replaced with the more powerful/general-purpose IsPerceptive property with enhanced functionality. Before this property only worked in Hsva color model, now it also works in Rgba. This allows switching the spectrum slider gradient to render as mathematically correct vs. better for user perception.

By default this changes the look of the RGB color model sliders:

They now no longer change -- the gradients will always be red/green/blue in hue.
Alpha slider stays the same and HSV sliders stay the same.
When this property is set should be changed in the styles/control themes. However, it doesn't appear to work #11271. The API was updated now so this can be addressed later though as a non-breaking change.

Added direct conversions for HsvColor.ToHsl() and HslColor.ToHsv()
Other minor improvements to comments

It was planned to adjust the ColorPreviewer accent color calculation to match the Fluent theme (HSL color model algorithm). However, there were two issues found that stopped this:

The algorithm is not reversible, reducing by one step and then increasing by one step will result in a different color than the start.
For some reason, hue information is lost when the HSL color reaches minimum/maximum lightness.  This then switches the base color to pure black and white with no hue information. I'm not actually sure what is causing this as I added in full conversions between HSV/HSL without going through RGB so information shouldn't be lost. Its just something about HSL I need to think about further I guess.

cc @maxkatz6
How was the solution implemented (if it's not obvious)?
As described.
Checklist

[x] Added unit tests (if possible)?
[x] Added XML documentation to any related classes?
~[ ] Consider submitting a PR to https://github.com/AvaloniaUI/Documentation with user documentation~

Breaking changes
Yes, breaking ColorSlider properties from previous previews. These are so far unreleased in stable versions of Avalonia and are only used in the primitive ColorSlider control.

ColorSlider.IsAlphaMaxForced renamed to IsAlphaVisible
ColorSlider.IsSaturationValueMaxForced replaced with more powerful/general-purpose IsPerceptive property with enhanced functionality

Obsoletions / Deprecations
None
Fixed issues
Fixes #11059

You can test this PR using the following package version. 11.0.999-cibuild0034358-beta. (feed url: https://pkgs.dev.azure.com/AvaloniaUI/AvaloniaUI/_packaging/avalonia-all/nuget/v3/index.json) [PRBUILDID]

You can test this PR using the following package version. 11.0.999-cibuild0034364-beta. (feed url: https://pkgs.dev.azure.com/AvaloniaUI/AvaloniaUI/_packaging/avalonia-all/nuget/v3/index.json) [PRBUILDID]

You can test this PR using the following package version. 11.0.999-cibuild0034606-beta. (feed url: https://pkgs.dev.azure.com/AvaloniaUI/AvaloniaUI/_packaging/avalonia-all/nuget/v3/index.json) [PRBUILDID]

You can test this PR using the following package version. 11.0.999-cibuild0034672-beta. (feed url: https://pkgs.dev.azure.com/AvaloniaUI/AvaloniaUI/_packaging/avalonia-all/nuget/v3/index.json) [PRBUILDID]

@maxkatz6 This one should be ready for review.

You can test this PR using the following package version. 11.0.999-cibuild0034681-beta. (feed url: https://pkgs.dev.azure.com/AvaloniaUI/AvaloniaUI/_packaging/avalonia-all/nuget/v3/index.json) [PRBUILDID]


Implement an API to query the call graph [phab:T95]

Created by zarko at 2016-02-01 23:25:26:
See //kythe/docs/schema/callgraph.txt for an explanation of the underlying query. #957 contains the interface definition.

zarko wrote at 2016-03-21 23:59:17:
There's a prototype API in the repository now. We need to refine and optimize it.

revision #957


ErrUnsupportedDataType

What version of Go are you using (go version)?
go version go1.13.10 linux/amd64
Which database and its version are you using?
PostgreSQL 12.2 (but as I understand, the issue is not related to DB)
Go ORM Version
v2_dev
github.com/jinzhu/gorm v1.9.13-0.20200429154718-9dfed613db7e
Please provide a complete runnable program to reproduce your issue. IMPORTANT
package main

import (
	"github.com/jinzhu/gorm"
	"github.com/jinzhu/gorm/dialects/sqlite"
	"net"
	"fmt"
)

var db *gorm.DB

func init() {
	var err error

	db, err = gorm.Open(sqlite.Open("test.db"), nil)

	if err != nil {
		panic(err)
	}
}

type TestModel struct {
	gorm.Model
	Host string
	IP net.IP
}

func main() {
	fmt.Println(db.AutoMigrate(&TestModel{}))
}

Issue description
When I start the test code above (go run main.go) I get errors:
2020/05/02 13:02:30 /tmp/test/main.go:29
[error] unsupported data type: <nil>

2020/05/02 13:02:30 /tmp/test/main.go:29
[error] unsupported data type: <nil>

2020/05/02 13:02:30 /tmp/test/main.go:29
[error] unsupported data type: <nil>

2020/05/02 13:02:30 /tmp/test/main.go:29
[error] unsupported data type: <nil>

I found the place in GORM code which generates such error: https://github.com/jinzhu/gorm/blob/v2_dev/schema/schema.go in a function Parse (lines 62-66):
func Parse(dest interface{}, cacheStore *sync.Map, namer Namer) (*Schema, error) {
	modelType := reflect.ValueOf(dest).Type()
	for modelType.Kind() == reflect.Slice || modelType.Kind() == reflect.Ptr {
		modelType = modelType.Elem()
	}

	if modelType.Kind() != reflect.Struct {
		if modelType.PkgPath() == "" {
			return nil, fmt.Errorf("%w: %+v", ErrUnsupportedDataType, dest) // Here is the error
		}
		return nil, fmt.Errorf("%w: %v.%v", ErrUnsupportedDataType, modelType.PkgPath(), modelType.Name()) // and here.
	}

	if v, ok := cacheStore.Load(modelType); ok {
		return v.(*Schema), nil
	}

The problem is that in case of Go Zero value the line:
return nil, fmt.Errorf("%w: %+v", ErrUnsupportedDataType, dest) generates an  error text which does not help a lot (In my humble opinion).
Could you, please, modify the line to include in error either a Model Field Name or at least a Field reflect.Kind?
Is it possible to modify GORM fields reflection to work with byte Slices as BLOBS?

Anyone fix this issue?


Can you please make it work for loco, brain baazi and iq live trivia apps.

iQ live -https://play.google.com/store/apps/details?id=live.trivia.iq
Loco-
https://play.google.com/store/apps/details?id=com.showtimeapp
Brain baazi-
https://play.google.com/store/apps/details?id=com.brainbaazi

No, do it yourself.

Atleast can you help me do it?


Make parent directories as needed

with '-p' when mkdir
Signed-off-by: Yuan Zhou<EMAIL_ADDRESS>

Can one of the admins OK this pull request so I can run a build?


Config Saving

Hi, this is what i have so far, i haven't tested. lemme know how it goes.

i just pushed something new check that

Normal Quasar creates separate directories in the path local to the assembly for Clients/Profiles, so I think you should maybe store it there instead of the C drive. Also change your C# formatting settings to place curly braces on new lines and stuff because that's how it is everywhere else in this version of Quasar. If we decide we're just gonna keep working on this one and not make contributions to the open source version we can modify the base and reformat but until then we should keep it the same.


Created C4 component diagram for UI

Finally got to creating this diagram. I updated some of the other diagrams too, but only very minorly.

As I'm going through these more, I realize we should probably split the diagrams up more. Or rather, there are more containers than initially thought, which means each should have their own component. If you all could review these briefly for now, I'll make some small changes to the container diagram to expand on it more (especially with the UI and API sections).


bug: When routing intent is enabled in the module subsequent runs attempt to remove the route table association and propagation

Community Note

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment

Versions

Please paste the output of terraform version command from within the initialized directory:
1.6.3

Please enter the module version that you are using:
3.4.1

Description
When routing intent is enabled in the module subsequent runs it attempts to remove the route table association and propagation.  Azure automatically creates the route table association and route propagation when routing intent is enabled on the virtual hub.
Steps to Reproduce
Here's the vnet part of the code here, I've renamed a few things because this is public:
# virtual networks
  virtual_network_enabled = true
  virtual_networks = {
    vnet = {
      name                        = "my-vnet"
      address_space               = ["<IP_ADDRESS>/23"]
      resource_group_name         = "my-rg"
      resource_group_lock_enabled = false
      dns_servers                 = [data.tfe_outputs.connectivity.values.azure_firewall_private_ip]

      vwan_connection_enabled                  = true
      vwan_connection_name                     = "my-network-vnet-connection"
      vwan_hub_resource_id                     = data.tfe_outputs.connectivity.values.hub_resource_id
      vwan_security_configuration = {
        routing_intent_enabled = true
      }

      tags = local.tags_my_tags
    }
  }

It creates it perfectly fine, but since Azure manages the associate route tables and route table resource ids, this module attempts to remove that.
If I add in these two bits it doesn't make a difference:
      vwan_associated_routetable_resource_id   = data.tfe_outputs.connectivity.values.default_route_id
      vwan_propagated_routetables_resource_ids = [data.tfe_outputs.connectivity.values.none_route_id]

I'm thinking ignore changes for vwan_associated_routetable_resource_id   &  vwan_propagated_routetables_resource_ids if routing_intent_enabled is true might work...dynamic block type thing.
Screenshots
 # module.lz_vending_location_information_non_production.module.virtualnetwork[0].azapi_resource.vhubconnection["vnet"] will be updated in-place
  ~ resource "azapi_resource" "vhubconnection" {
      ~ body                      = jsonencode(
          ~ {
              ~ properties = {
                  ~ routingConfiguration   = {
                      - associatedRouteTable  = {
                          - id = "**************************/hubRouteTables/defaultRouteTable"
                        }
                      - propagatedRouteTables = {
                          - ids    = [
                              - {
                                  - id = "************************/hubRouteTables/noneRouteTable"
                                },
                            ]
                          - labels = [
                              - "none",
                            ]
                        }
                      - vnetRoutes            = {
                          - staticRoutes       = []
                          - staticRoutesConfig = {
                              - propagateStaticRoutes          = true
                              - vnetLocalRouteOverrideCriteria = "Contains"
                            }
                        }
                    } -> null
                    # (2 unchanged attributes hidden)
                }
            }
        )

Additional context
Otherwise it's a great module, to spin up ALZ's quickly....I like how it doesn't try and do everything....because we should be doing the rest in it's own workspace...

Thanks! we will look into this:
https://registry.terraform.io/providers/Azure/azapi/latest/docs/resources/azapi_resource#ignore_body_changes
This could help here.

The issue is here:
https://github.com/Azure/terraform-azurerm-lz-vending/blob/f5d2209403f36186bbec6f0f3f56d26c15a06236/modules/virtualnetwork/main.tf#L170

Ah yes, didn't look into the module at all, but assumed it was something like that!
Not used the azapi resource much at all, but that's good it's got an ignore_missing equivalent!

@matt-FFFFFF any update for this bug? We are having the same issue.

Hi! Working on this now. Testing is going well and we will release this fix in 4.0.1

For those interested I have added this to the vhub connection resource:
ignore_body_changes = each.value.vwan_security_configuration.routing_intent_enabled ? ["properties.routingConfiguration"] : []

Still trying to fix this
The testing is fun and takes a long time. Now moving to using merge() for the body.
  body = jsonencode({
    properties = merge({
      enableInternetSecurity = each.value.vwan_security_configuration.secure_internet_traffic
      remoteVirtualNetwork = {
        id = local.virtual_network_resource_ids[each.key]
      }
      },
      # Only supply routingConfiguration if routing_intent_enabled is set to false
      each.value.vwan_security_configuration.routing_intent_enabled ? {} : {
        routingConfiguration = {
          associatedRouteTable = {
            id = each.value.vwan_associated_routetable_resource_id != "" ? each.value.vwan_associated_routetable_resource_id : "${each.value.vwan_hub_resource_id}/hubRouteTables/defaultRouteTable"
          }
          propagatedRouteTables = {
            ids    = each.value.vwan_security_configuration.secure_private_traffic ? local.vwan_propagated_noneroutetables_resource_ids[each.key] : local.vwan_propagated_routetables_resource_ids[each.key]
            labels = each.value.vwan_security_configuration.secure_private_traffic ? ["none"] : local.vwan_propagated_routetables_labels[each.key]
          }
        }
    })
  })
  ignore_body_changes = each.value.vwan_security_configuration.routing_intent_enabled ? ["properties.routingConfiguration"] : []

Nice one folks, thank-you, will upgrade today and see if there's any breaking changes, should be sweet though!


⚠ Bofrost.nl has degraded performance

In 3daa92f, Bofrost.nl (https://www.bofrost.nl) experienced degraded performance:

HTTP code: 200
Response time: 1737 ms

Resolved: Bofrost.nl performance has improved in e82100f after 6 minutes.


use COPRs from the aufover group

... rather than mix of personal COPRs of individual contributors

LGTM! Thanks!


[Task] Reorganize Dataset specific util functions

Description
from merlin.models.data.movielens import get_movielens
Merlin Models provide util function, which download and prepare/preprocess datasets. These are helper functions for demo/examples.
Currently, it is not obvious to the user, if this is a core functionality or a helper function.
Should we move the code to something like
merlin.models.demo

@benfred @marcromeyn Thoughts on how to organize helpers like this? I think we're going to run into a similar issue in other libraries too.

(cc @mikemckiernan whose suggestion sparked the creation of this issue)

Independently, a merlin.datasets package was created.


check the PR for your reddit extention

i closed cause i thought i made a mistake, but it seems to be working fine


Use npm install instead of symlink to avoid webpack version conflict

Close #236
poke @MoOx

I have prepared something better. And more sophisticated to boost tests in CI. Will push when stable.