Doesn't work with TinyMCE

Might be caused by about:blank iframe.
(Google tells me even <all_urls> cannot match about:blank)

I'm not sure I follow.  Please provide steps to reproduce the error.

@irdan http://www.tinymce.com/ Privly button doesn't show

@SummerWish Thanks for the context.
In the future try make the issues you create meaningful to anyone who reads just the issue in isolation. For example, the title of an issue should clearly describe what doesn't work and the description should provide enough context to reproduce the problem.

@irdan Sorry for the inconvenience. I have changed title to a more precise one.

@SummerWish No worries.  I know how easy it is to forget details like that when you're in the zone.

WYSIWYGs are the worst. I suppose it is good to have an issue open for it, but I am not prepared to work out the issues with how a WYSIWYG would hold the link in its state.
This would be an interesting (although not central) test case for a Seamless Posting project, but for now, I think this is a "won't fix" because it is not worth the time investment.

Found a interesting property of manifest.json: match_about_blank, which solves this issue LOL, at least in TinyMCE.

Oh, wow. TinyMCE uses srcdoc iframes.
I wonder why they lumped about:blank with about:srcdoc. Any errors in the browser or the page's console when you open a new tab?

no errors. In fact the URL of new tab is chrome-search://local-ntp/local-ntp.html :-)

huh. I get "https://www.google.com/_/chrome/newtab?espv=2&ie=UTF-8". Regardless, my concern was unwarranted.

The code should work for completely empty about:blank.
BTW the your NTP URL is interesting :-) On my Chrome it shows the new tab page but immediately jumps to Google

This patch fixes CKEditor compatibility as well. As long as it is compatible with TinyMCE and CKEditor, it should cover most of WYSIWYG use cases for normal websites.
A still-not-working example: http://ueditor.baidu.com/website/onlinedemo.html (I'm still figuring out the real issue here)
Those emulated-editing cases are still not supported: http://www.alohaeditor.org/demo/aloha-ui/

@SummerWish Is this still not working? It is difficult for me to know what is happening on the example.

@smcgregor Latest seamless-posting works in ueditor now. It is due to incorrectly handle designMode property and DOM hierarchy in former versions of Privly button. Emulated-editing is still not supported.

The "latest" version of seamless-posting is the one on gsoc-develop?

Yes :-)

OK I think its time to close this issue :-)


Does not appear to work with Python 2.6 on CentOS 6

I have the postgresql94-server, postgresql94-devel, postgresql94-libs, and postgresql94 packages installed from the official PostgreSQL repo.
I've tried to install the dependencies using: pip install -r requirements.txt and it fails with:
sudo pip install -r requirements.txt
You are using pip version 7.1.0, however version 8.0.2 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Collecting argparse==1.2.1 (from -r requirements.txt (line 1))
/usr/lib/python2.6/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:90: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
  InsecurePlatformWarning
  Using cached argparse-1.2.1.tar.gz
Collecting psycopg2==2.5.1 (from -r requirements.txt (line 2))
  Using cached psycopg2-2.5.1.tar.gz
    Complete output from command python setup.py egg_info:
    running egg_info
    creating pip-egg-info/psycopg2.egg-info
    writing pip-egg-info/psycopg2.egg-info/PKG-INFO
    writing top-level names to pip-egg-info/psycopg2.egg-info/top_level.txt
    writing dependency_links to pip-egg-info/psycopg2.egg-info/dependency_links.txt
    writing manifest file 'pip-egg-info/psycopg2.egg-info/SOURCES.txt'
    warning: manifest_maker: standard file '-c' not found
    Error: pg_config executable not found.

    Please add the directory containing pg_config to the PATH
    or specify the full executable path with the option:

        python setup.py build_ext --pg-config /path/to/pg_config build ...

    or with the pg_config option in 'setup.cfg'.

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-NJv2UJ/psycopg2

I've tried updating the path to explicitly include pg_config: export PATH=$PATH:/usr/pgsql-9.4/bin/ and even tried alias pg_config=/usr/pgsql-9.4/bin/pg_config to no avail.
Does this work with Python 2.6 on CentOS 6?

It's not tested on that particular installation, but we're not aware of a reason it shouldn't work. If you can't install psycopg2 (just do sudo pip install psycopg2), it's not really a flexible freeze issue, but an environment issue.

I got it to attempt install with: sudo env PATH=$PATH:/usr/pgsql-9.4/bin/ pip install -r requirements.txt but it's not able to find the psycopg headers.

You might want to make sure you have the python-devel package installed.

Weird; that did it.


Reading different units through same (master) inverter

Hi,
I'm the creator of a home-assistant integration for solaredge through modbus. Based on some issues created in my repo, I went to search a better native library than my own...  One of the issues talked about in my repo is about connecting multiple slave units through one master unit. The slaves are accessed through IP/Port of the master, and I strongly doubt if for this case multiple connections would be allowed as it's also not the case for eg. meters/batteries . At this time you are already supporting a parent in order to share the modbus client and use a single TCP connection. But at the moment the unit of the parent is always taken over by the child. Do you think it would be an option that another Inverter, which acts as a modbus slave, can be instantiated with a parent (Master) Inverter argument, but without defacto sharing the unitId? I add the setup picture of the solaredge manual to make the situation a bit more clear:

I'm assuming from your description that the slave inverters are accessible simply by providing a different modbus address. Because I only have a single inverter I've never been able to test this. However, I've modified the parent logic to allow the unit parameter to be set even if a parent connection is provided. When instantiating a new inverter you will need to do the following:
  >>> inverter_1 = solaredge_modbus.Inverter(host="<IP_ADDRESS>", port=1502, unit=1)
  >>> inverter_2 = solaredge_modbus.Inverter(parent=inverter_1, unit=2)

I'd be interested to hear whether this works.

That was fast :) I also don't have this setup at my place, but your change is exactly what I meant. Don't know what you mean with 'by providing different modbus address' as the slave inverters don't have their own IP. I'm planning to change the home-assistant integration and use this lib as dependency iso using the raw modbusclient and own register parsing. Your sunspec implementation seems pretty complete 👍

Don't know what you mean with 'by providing different modbus address' as the slave inverters don't have their own IP.

I mean I'm curious whether providing a different unit is enough to get the registers of a slave inverter when using Modbus TCP.

Should work. Have an open PR by a user who tested it. (https://github.com/binsentsu/home-assistant-solaredge-modbus/pull/12)


[WIP] feat(FileUploaderV2): add FileUploaderV2

Closes IBM/carbon-components-react#1023
Closes IBM/carbon-components-react#1166
This PR will add a FileUploaderV2 which shows individual file upload statuses rather than applying one status to all files in the upload queue. This will provide a better indication of overall status and upload progress. FileUploaderV2 also avoids making use of deprecated React life cycle methods to handle updates. An example application using this component is included in the storybook for reference.
This PR will also fix existing errors logged by invalid custom prop names in FileUploader (V1), remove unused props, and refactor the Filename and FileUploader components to be a stateless function rather than a class component.
TODO

[x] deduplicate shared child components
[x] remove deprecated React life cycle methods from V1 FileUploader addressed in #992 thanks to @asudoh
[ ] add an example application using the V1 FileUploader  to the storybook (?)
[x] mock fetch call in V2 FileUploader example app
[x] add knobs storybook addon to V2 story (related: #1260)

Changelog
New

add FileUploaderV2
add FileUploaderItem

Changed

convert Filename to stateless functional component
redesign component to be primarily display-only and move change handler and upload logic to parent application
fix FileUploader behavior when multiple prop is falsy (fix only implemented in V2 component to prevent introducing breaking changes to V1) #1166

Removed

remove unused props in FileUploader (V1)
remove inline styles on loading SVG (https://github.com/IBM/carbon-components/pull/1016)
remove invalid custom attribute names in FileUploader (V1) logging errors to the console

my point of view is that if current users are already using the V1 component, this story may not be beneficial to them, and if a new user wants to use <FileUploader>, then the V2 component would be a natural starting point. We could then separate this storybook example into a new ticket. What do you think @asudoh?

my point of view is that if current users are already using the V1 component, this story may not be beneficial to them, and if a new user wants to use <FileUploader>, then the V2 component would be a natural starting point. We could then separate this storybook example into a new ticket.

I may have missed a discussion @emyarod - Did you have any discussion this PR triggering your thought above? Otherwise do you want to elaborate this further?
BTW another consideration for this PR is https://github.com/IBM/carbon-components-react/issues/1339, which I'm trying to get in place soon. Let me work with you on the integration once it happens - Thanks!

I haven't had any other discussion about this @asudoh but I was just under the impression that the V1 component would be on a deprecation path, so we would want to funnel users towards V2
and thanks for the heads up on #1339! Looking forward to integrating feature flags into this component


Some questions

Dear Tianbai (@vavrines )
In this issue, I will ask questions about the Julia code.
Thanks a lot for your help.

In the DSMC data set, at each iteration, the evolution of three groups (0,1,2) is written, e.g.:

Inside the trainer code, i.e. "trainer.jl" we have:

I see that X and Y are trainer sets. My impression from the above code is that its assumption is that there are two groups in the system. If that is correct, for the current DSMC data set inside the github, I should modify it to :
X Y Z
Am I correct?

Hi @BijanGithub
The neural network can be understood simply as a function.
I name the input is named as X, and the function output is NN(X).
NN has trainable parameters, so we would like to create a cost function: C = ||NN(X) - Y||, where Y is the ground-truth data.
So as you can see here, X is the status of particles at one time step, and Y is their post-collision status computed from your DSMC codes.


Something is broken when build via GitHub Actions?

Before last upgrade was fine :D
+ read '-d;' copy_artifact_path
+ '[' -z main.dist/ ']'
+ sudo cp -Rp /home/actions/temp/arm-runner/mnt/web/main.dist/ .
+ read '-d;' copy_artifact_path
Run sudo umount /home/actions/temp/arm-runner/mnt/proc/cpuinfo
Run case no in
+ loopdev=/dev/loop3
+ mount=/home/actions/temp/arm-runner/mnt
+ image=/home/runner/work/_temp/arm-runner/arm-runner.img
+ optimize=yes
+ rootpartition=2
+ rm /home/actions/temp/arm-runner/mnt/usr/bin/qemu-arm-static0
+ rm /home/actions/temp/arm-runner/mnt/usr/bin/qemu-arm-static
+ rm /home/actions/temp/arm-runner/mnt/usr/bin/qemu-aarch64-static0
+ rm /home/actions/temp/arm-runner/mnt/usr/bin/qemu-aarch64-static
+ '[' -e /home/actions/temp/arm-runner/mnt/etc/_ld.so.preload ']'
+ mv /home/actions/temp/arm-runner/mnt/etc/_ld.so.preload /home/actions/temp/arm-runner/mnt/etc/ld.so.preload
+ '[' -e /home/actions/temp/arm-runner/mnt/etc/_resolv.conf ']'
+ mv /home/actions/temp/arm-runner/mnt/etc/_resolv.conf /home/actions/temp/arm-runner/mnt/etc/resolv.conf
+ [[ -f /home/actions/temp/arm-runner/mnt/tmp/commands.sh ]]
+ rm /home/actions/temp/arm-runner/mnt/tmp/commands.sh
+ [[ -d /home/actions/temp/arm-runner/mnt ]]
Zero-filling unused blocks on boot filesystem...
+ [[ yesx == \x ]]
+ [[ yesx == \y\e\s\x ]]
+ [[ -d /home/actions/temp/arm-runner/mnt/boot ]]
+ echo 'Zero-filling unused blocks on boot filesystem...'
+ cat /dev/zero
+ true
+ sync
+ rm -f /home/actions/temp/arm-runner/mnt/boot/zero.fill
+ echo 'Zero-filling unused blocks on root filesystem...'
Zero-filling unused blocks on root filesystem...
+ cat /dev/zero
+ true
+ sync
+ rm -f /home/actions/temp/arm-runner/mnt/zero.fill
+ umount /home/actions/temp/arm-runner/mnt/dev/pts
+ umount /home/actions/temp/arm-runner/mnt/dev
umount: /home/actions/temp/arm-runner/mnt/dev: target is busy.
+ true
+ umount /home/actions/temp/arm-runner/mnt/proc
+ umount /home/actions/temp/arm-runner/mnt/sys
+ umount /home/actions/temp/arm-runner/mnt/boot
+ umount /home/actions/temp/arm-runner/mnt
umount: /home/actions/temp/arm-runner/mnt: target is busy.
+ true
+ [[ yesx == \x ]]
+ [[ yesx == \y\e\s\x ]]
Resizing root filesystem to minimal size.
+ rootfs_partnum=2
+ rootdev=/dev/loop3p2
+ echo 'Resizing root filesystem to minimal size.'
+ e2fsck -p -f /dev/loop3p2
e2fsck: Cannot continue, aborting.
/dev/loop3p2 is mounted.

Previously errors in cleanup script were ignored, so the problem might have been unnoticed.
Something prevents /dev to be unmounted and as a result (?), /mnt is not unmounted either. So we cannot optimize the image. If you disable optimize (optimize: no) it should bypass the issue. Do you have a minimal case you could share?

If you disable optimize (optimize: no) it should bypass the issue.

https://github.com/macarooni-man/auto-mcs/actions/runs/9053474178/job/24872244608
disabling optimize doesn't appear to resolve the issue.

@macarooni-man thank you for sharing this run.
Option name is optimize_image and not optimize as mentioned in warning.
https://github.com/macarooni-man/auto-mcs/actions/runs/9053474178/job/24872244608#step:4:1

Option name is optimize_image and not optimize as mentioned in warning.

My bad! To clarify, before adding the option at all I was having the same issue as @pompushko. When disabling the optimize_image parameter the build finished succesfully. Thanks for your help! I'll leave the run below to compare:
https://github.com/macarooni-man/auto-mcs/actions/runs/9053554984/job/24872427330

But why it starts happening?

@pompushko This is a regression introduced in v2.6.1. with PR #104 which was a fix of bug #87. Optimize code was a little bit buggy and failed with no notice, which corrupted generated images. #104 fixes the corruption in one case but most importantly makes the build to fail if clean_image script fails as generated images were wrong in this case. Unfortunately, the clean_image script had more reasons to fail within optimize code, for example when the partition could not be properly unmounted.
Thanks to @macarooni-man repository, I have been able to write a test case using Xvfb and fluxbox, and fix the problem in #106. This will be part of 2.6.2.
Best way to avoid any regression (and any bug fix as well) is to stick to a given version rather than just @v2. For example, @v2.6.2.


Add heliosynchronous orbits

With this pull request, a new orbit creation method regarding SSO orbits is added. It contains also some tests coming from Vallado 11-2.
The if...elif...else implementation was the only idea that came to my mind when working with these kind of orbits since just two of the three following parameters {a, ecc, inc} are needed in order to define them.

Also, this will need a rebase.

Now that #746 has been merged I am taking this again :mag:

Is this PR superseding #598 ?  I'd like to give this one a shot in some calculations.

Hi @noc0lour, in response to your question:

Is this PR superseding #598 ? I'd like to give this one a shot in some calculations.

first implementation to have a clean and approved code will merge. I was waiting till #763 was ready before updating this but feel completely free to modify this pull request or open yours if you want :smile:

I'm already on testing this with some existing codebase, trying to replace a custom simple/limited propagator with poliastro (:

I think we can close this in favor of #774?

I think we can close this in favor of #774?

Sure, no problem :rocket:

:x: Closing in favor of #774 :x:


Add SQL parameter features

ref: #226

SQL parameters are just identifiers. Their detection and substitution should be left to the database.
Is there a reason we couldn't just allow idents from starting with $?

Good point @aljazerzen; we can definitely do that


Hardcoded colors values

Bug description
There are remaining hard-coded colors values in svelte templates:
% grep -rl 'bg-[^[].*[0-9]00' packages/renderer/**/*.svelte

[ ] packages/renderer/src/lib/dialogs/CustomPick.svelte
[ ] packages/renderer/src/lib/task-manager/TaskManager.svelte
[ ] packages/renderer/src/lib/ui/Badge.svelte
[ ] packages/renderer/src/lib/ui/ProviderInfoCircle.svelte
[x] packages/renderer/src/lib/carousel/CarouselTest.svelte
[x] packages/renderer/src/lib/dashboard/ProviderInstalled.svelte
[x] packages/renderer/src/lib/dashboard/ProviderNotInstalled.svelte
[x] packages/renderer/src/lib/dialogs/CommandPalette.svelte
[x] packages/renderer/src/lib/dialogs/QuickPickInput.svelte
[x] packages/renderer/src/lib/extensions/CatalogExtension.svelte
[x] packages/renderer/src/lib/extensions/ExtensionBadge.svelte
[x] packages/renderer/src/lib/extensions/InstallManuallyExtensionModal.svelte
[x] packages/renderer/src/lib/image/PushImageModal.svelte
[x] packages/renderer/src/lib/pod/KubernetesTerminalBrowser.svelte
[x] packages/renderer/src/lib/preferences/PreferencesProviderInstallationModal.svelte
[x] packages/renderer/src/lib/preferences/item-formats/EnumItem.svelte
[x] packages/renderer/src/lib/preferences/item-formats/FloatNumberItem.svelte
[x] packages/renderer/src/lib/preferences/item-formats/SliderItem.svelte
[x] packages/renderer/src/lib/recommendation/ExtensionBanner.svelte
[x] packages/renderer/src/lib/task-manager/ProgressBar.svelte
[x] packages/renderer/src/lib/ui/AuditMessageBox.svelte
[x] packages/renderer/src/lib/ui/ConnectionStatus.svelte
[x] packages/renderer/src/lib/ui/ExtensionStatus.svelte
[x] packages/renderer/src/lib/ui/ProviderInfo.svelte
[x] packages/renderer/src/lib/window-control-buttons/LinuxControlButton.svelte

% grep -rl 'text-[^[].*[0-9]00' packages/renderer/**/*.svelte

[ ] packages/renderer/src/lib/dialogs/CustomPick.svelte
[ ] packages/renderer/src/lib/dialogs/QuickPickInput.svelte
[ ] packages/renderer/src/lib/preferences/PreferencesCliTool.svelte
[ ] packages/renderer/src/lib/ui/ProviderResultPage.svelte
[ ] packages/renderer/src/lib/toast/ToastCustomUi.svelte
[x] packages/renderer/src/lib/configmaps-secrets/ConfigMapDetails.svelte
[x] packages/renderer/src/lib/configmaps-secrets/ConfigMapDetailsSummary.svelte
[x] packages/renderer/src/lib/configmaps-secrets/SecretDetails.svelte
[x] packages/renderer/src/lib/configmaps-secrets/SecretDetailsSummary.svelte
[x] packages/renderer/src/lib/container/ContainerColumnNameContainer.svelte
[x] packages/renderer/src/lib/container/ContainerDetails.svelte
[x] packages/renderer/src/lib/dashboard/ProviderConfigured.svelte
[x] packages/renderer/src/lib/dashboard/ProviderConfiguring.svelte
[x] packages/renderer/src/lib/dashboard/ProviderInstalled.svelte
[x] packages/renderer/src/lib/dashboard/ProviderNotInstalled.svelte
[x] packages/renderer/src/lib/dashboard/ProviderReady.svelte
[x] packages/renderer/src/lib/dashboard/ProviderStarting.svelte
[x] packages/renderer/src/lib/dashboard/ProviderWarnings.svelte
[x] packages/renderer/src/lib/deployments/DeploymentDetailsSummary.svelte
[x] packages/renderer/src/lib/dialogs/CommandPalette.svelte
[x] packages/renderer/src/lib/extensions/CatalogExtension.svelte
[x] packages/renderer/src/lib/extensions/ExtensionBadge.svelte
[x] packages/renderer/src/lib/extensions/InstallManuallyExtensionModal.svelte
[x] packages/renderer/src/lib/featured/FeaturedExtension.svelte
[x] packages/renderer/src/lib/feedback/SendFeedback.svelte
[x] packages/renderer/src/lib/image/PullImage.svelte
[x] packages/renderer/src/lib/image/PushImageModal.svelte
[x] packages/renderer/src/lib/image/RecommendedRegistry.svelte
[x] packages/renderer/src/lib/ingresses-routes/IngressDetails.svelte
[x] packages/renderer/src/lib/ingresses-routes/IngressRouteDetailsSummary.svelte
[x] packages/renderer/src/lib/ingresses-routes/RouteDetails.svelte
[x] packages/renderer/src/lib/kube/KubeDetailsSummary.svelte
[x] packages/renderer/src/lib/kube/KubePodDetailsSummary.svelte
[x] packages/renderer/src/lib/node/NodeDetailsSummary.svelte
[x] packages/renderer/src/lib/onboarding/OnboardingComponent.svelte
[x] packages/renderer/src/lib/pod/KubernetesTerminalBrowser.svelte
[x] packages/renderer/src/lib/pod/PodDetails.svelte
[x] packages/renderer/src/lib/pod/PodDetailsSummary.svelte
[x] packages/renderer/src/lib/pod/PodmanPodDetailsSummary.svelte
[x] packages/renderer/src/lib/preferences/ExtensionIcon.svelte
[x] packages/renderer/src/lib/preferences/PreferencesConnectionCreationOrEditRendering.svelte
[x] packages/renderer/src/lib/preferences/PreferencesProviderInstallationModal.svelte
[x] packages/renderer/src/lib/preferences/PreferencesProviderRendering.svelte
[x] packages/renderer/src/lib/preferences/PreferencesProxiesRendering.svelte
[x] packages/renderer/src/lib/preferences/PreferencesRenderingItem.svelte
[x] packages/renderer/src/lib/preferences/PreferencesResourcesRendering.svelte
[x] packages/renderer/src/lib/preferences/item-formats/EditableItem.svelte
[x] packages/renderer/src/lib/preferences/item-formats/FloatNumberItem.svelte
[x] packages/renderer/src/lib/pvc/PVCDetails.svelte
[x] packages/renderer/src/lib/pvc/PVCDetailsSummary.svelte
[x] packages/renderer/src/lib/service/ServiceColumnType.svelte
[x] packages/renderer/src/lib/service/ServiceDetails.svelte
[x] packages/renderer/src/lib/service/ServiceDetailsSummary.svelte
[x] packages/renderer/src/lib/troubleshooting/TroubleshootingPageStoreDetails.svelte
[x] packages/renderer/src/lib/ui/AuditMessageBox.svelte
[x] packages/renderer/src/lib/ui/ConnectionErrorInfoButton.svelte
[x] packages/renderer/src/lib/ui/ConnectionStatus.svelte
[x] packages/renderer/src/lib/ui/ExtensionStatus.svelte
[x] packages/renderer/src/lib/ui/PasswordInput.svelte
[x] packages/renderer/src/lib/ui/StatusDot.svelte
[x] packages/renderer/src/lib/window-control-buttons/LinuxControlButton.svelte

Operating system
mac
Installation Method
Installer from website/GitHub releases
Version
next (development version)
Steps to reproduce
No response
Relevant log output
No response
Additional context
No response

PRs for this issue:

https://github.com/containers/podman-desktop/pull/9422
https://github.com/containers/podman-desktop/pull/9423
https://github.com/containers/podman-desktop/pull/9424
https://github.com/containers/podman-desktop/pull/9425
https://github.com/containers/podman-desktop/pull/9426
https://github.com/containers/podman-desktop/pull/9427

Need to add another PR for:

[ ] packages/renderer/src/lib/dialogs/CommandPalette.svelte
[ ] packages/renderer/src/lib/dialogs/CustomPick.svelte
[ ] packages/renderer/src/lib/dialogs/QuickPickInput.svelte

It was decided to keep the providers' colors hardcoded for now

CustomPick: couldn't find a way to check it visually
QuickPickInput and PreferencescliTool: didn't find any left over hardcoded colors despite the fact that it shows up in the check
TaskManager: the hardcoded color is in a comment (L62)
ProviderInfoCircle: decided in UX call to leave the provider colors hardcoded
ProviderResultPage: there are two hardcoded colors that IMHO will be a bit difficult to adjust to the color registry because their change in dark vs light will impact their visual appearance compared to the current one (gray-800 for medium and gray-500 for low):

@feloy @benoitf @deboer-tim in the comment above I added the last files (excluding those in https://github.com/podman-desktop/podman-desktop/pull/9889) that show up as having hardcoded colors.
lmk if we're okay with closing this issue after merging the last PR with those files still showing up in the check or if you have some ideas or comments regarding this.

@feloy @benoitf @deboer-tim in the comment above I added the last files (excluding those in #9889) that show up as having hardcoded colors. lmk if we're okay with closing this issue after merging the last PR with those files still showing up in the check or if you have some ideas or comments regarding this.

I checked most of the remaining files, based on your message above.
For the CustomPick component, its display is triggered by the call of createCustomPick().show() from the extension API by an extension, but I cannot find an extension using it.
If you want to test it, I think the best way would be to add the code createCustomPick() in some existing extension.

we can close it when there are no more results or false positive
$ grep -rl 'bg-[^[]*[0-9]00' packages/renderer/**/*.svelte
packages/renderer/src/lib/dialogs/CustomPick.svelte
packages/renderer/src/lib/task-manager/TaskManager.svelte
packages/renderer/src/lib/ui/ProviderInfoCircle.svelte

$ grep -rl 'text-[^[]*[0-9]00' packages/renderer/**/*.svelte
packages/renderer/src/lib/dialogs/CustomPick.svelte
packages/renderer/src/lib/ui/ProviderResultPage.svelte

4 files to fix and then we're free to close the issue
and open a follow-up to have a rule checking if we're not using hardcoded values (so nobody will try to use an hardcoded value)

@benoitf will the rule check only bg and text hardcoded colors? I think there are also some border and shadow hardcoded colors (I think I updated some of those)

If the rule will included all the hardcoded colors (not only bg and text), I think maybe we should open another issue for the other properties

grep -rl 'bg-[^[]*[0-9]00' packages/renderer/**/*.svelte
grep -rl 'text-[^[]*[0-9]00' packages/renderer/**/*.svelte
grep -rl 'border-[^[]*[0-9]00' packages/renderer/**/*.svelte
All return no match.
Unused colors have been removed from tailwind.config.cjs file.
Closing this as done


Investigate capsule failure in front end test pipeline

Currently in the FE test pipeline, there seems to be an unknown issue with capsule which is causing the token site to stop working.
The tests run on hosted runners set up by Ops and as far as we know the machines are sufficient in running e2e tests using capsule.
Full log files during run:
token-capsule-logs.txt
Any further information feel free to message @jtsang586
Issue mentioned in slack thread: https://vegaprotocol.slack.com/archives/C03GXJT3JLT/p1671637772264679

old, not updated.


LIMA multiturn dialogues not working correctly?

It was stated to use the follow up questions in the multi turn dialogues for LIMA, you would have to set --data.include_multiturn_conversations True. I included that and compared it with the original data. It seems only the first instruction-response pair is selected. The follow up pairs are not included in the generated json.
steps to reproduce the dataset creation
def format_dataset(dataset_partition: dict, include_multi_turn_conversations: bool) -> List[dict]:
    formatted_ds = []

    for entry in dataset_partition:
        convo = entry["conversations"]
        if include_multi_turn_conversations:
            for i in range(0, len(convo) - 1, 2):
                formatted_ds.append({"instruction": convo[i], "input": "", "output": convo[i + 1]})
        else:
            formatted_ds.append({"instruction": convo[0], "input": "", "output": convo[1]})

    return formatted_ds

lima=load_dataset('GAIR/lima',token=)
formatted_ds = format_dataset(lima['train'], include_multi_turn_conversations=True)
with open('new_lima_ds.json', 'w') as f:
    json.dump(formatted_ds, f,indent=4)

you can find the generated file here-new_lima_ds.json.
i am curious to know if the --data.include_multiturn_conversations True actually works and the expected output because i don't think it includes the follow up response-pairs.

Thanks for raising this, something to look into. Could you print out the data inputs that are fed to the LLM to better see the issue? On that note, also, I think not all of the entries have multi-turn answers

Hi @rasbt . Thanks for following up on this.
Yes, not all the entries have multi turn answers. The last 30 entries in the dataset are the ones with multi turn answers according to the LIMA paper.
when you mention print out data inputs fed to the LLM, do you mean print out some samples when i am running the code below?
litgpt finetune lora \
  --data LIMA \
  --data.include_multiturn_conversations True
  --checkpoint_dir "/content/lima"


fix log roller

Issues associated with this PR
Your PR should present related issues you want to solve.
Sign the CLA
Make sure you have signed the CLA
Solutions
ignore the rename error when try to reopen logfile
UT result
Unit Test is needed if the code is changed, your unit test should cover boundary cases, corner cases, and some exceptional cases.
And you need to show the ut result.
Benchmark
If your code involves the processing of every request, you should give the Benchmark Result
Code Style

Make sure Goimports has run
Show Golint result

Codecov Report

Merging #726 into stable will increase coverage by 0.02%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           stable     #726      +/-   ##
==========================================
+ Coverage    50.7%   50.73%   +0.02%
==========================================
  Files         193      193
  Lines       16506    16505       -1
==========================================
+ Hits         8370     8374       +4
+ Misses       7292     7291       -1
+ Partials      844      840       -4

Impacted Files
Coverage Δ

pkg/log/logger.go
55.05% <100%> (-0.81%)
:arrow_down:

pkg/buffer/iobuffer.go
77.82% <0%> (+2.51%)
:arrow_up:

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 ccb42ff...6d94c40. Read the comment docs.


ISSUE: Amazon images not generating

Describe the bug
A clear and concise description of what the bug is.
Environment (please complete the following information):

OS: [e.g. HassOS/Raspbian/CentOS] Ubuntu
Type of device: [e.g. RPi3/NUC/Synology] Custom server
Home Assistant version: [e.g. 0.105.5] 0.113.3
Hassio/Docker/Core? Docker
Component version: [e.g. 0.1.2] B19

Logs
Paste your error logs here.

2020-08-08 20:06:46 DEBUG (SyncWorker_2) [custom_components.mail_and_packages.sensor] Searching for Amazon delivered email(s)...
2020-08-08 20:06:46 DEBUG (SyncWorker_2) [custom_components.mail_and_packages.sensor] Amazon delivered email(s) found: 5
2020-08-08 20:06:46 DEBUG (SyncWorker_2) [custom_components.mail_and_packages.sensor] Searching for Amazon image in emails...
2020-08-08 20:06:46 DEBUG (SyncWorker_2) [custom_components.mail_and_packages.sensor] HTML Amazon emails found: 5
2020-08-08 20:06:46 DEBUG (SyncWorker_2) [custom_components.mail_and_packages.sensor] Amazon delivered email(s) found: 5
2020-08-08 20:06:46 DEBUG (SyncWorker_2) [custom_components.mail_and_packages.sensor] Searching for Amazon image in emails...
2020-08-08 20:06:46 DEBUG (SyncWorker_2) [custom_components.mail_and_packages.sensor] HTML Amazon emails found: 0
2020-08-08 20:06:46 DEBUG (SyncWorker_2) [custom_components.mail_and_packages.sensor] Amazon delivered email(s) found: 5
2020-08-08 20:06:46 DEBUG (SyncWorker_2) [custom_components.mail_and_packages.sensor] Searching for Amazon image in emails...
2020-08-08 20:06:46 DEBUG (SyncWorker_2) [custom_components.mail_and_packages.sensor] HTML Amazon emails found: 0
2020-08-08 20:06:46 DEBUG (SyncWorker_2) [custom_components.mail_and_packages.sensor] Amazon delivered email(s) found: 5
2020-08-08 20:06:46 DEBUG (SyncWorker_2) [custom_components.mail_and_packages.sensor] Searching for Amazon image in emails...
2020-08-08 20:06:46 DEBUG (SyncWorker_2) [custom_components.mail_and_packages.sensor] HTML Amazon emails found: 0
2020-08-08 20:06:46 DEBUG (SyncWorker_2) [custom_components.mail_and_packages.sensor] Attempting to find Amazon email with item list ...
2020-08-08 20:06:47 DEBUG (SyncWorker_2) [custom_components.mail_and_packages.sensor] Amazon emails found: 2
2020-08-08 20:06:47 DEBUG (SyncWorker_2) [custom_components.mail_and_packages.sensor] Error while attempting to parse Amazon email: Expected list, got <class 'str'>
2020-08-08 20:06:47 DEBUG (SyncWorker_2) [custom_components.mail_and_packages.sensor] Error while attempting to parse Amazon email: Expected list, got <class 'str'>
2020-08-08 20:06:47 DEBUG (SyncWorker_2) [custom_components.mail_and_packages.sensor] Amazon emails found: 0
2020-08-08 20:06:47 DEBUG (SyncWorker_2) [custom_components.mail_and_packages.sensor] Amazon emails found: 0
2020-08-08 20:06:47 DEBUG (SyncWorker_2) [custom_components.mail_and_packages.sensor] Amazon emails found: 0
2020-08-08 20:06:47 DEBUG (SyncWorker_2) [custom_components.mail_and_packages.sensor] Amazon Count: 0
2020-08-08 20:06:47 DEBUG (SyncWorker_2) [custom_components.mail_and_packages.sensor] Attempting to find Amazon email with item list ...
2020-08-08 20:06:47 DEBUG (SyncWorker_2) [custom_components.mail_and_packages.sensor] Amazon emails found: 2
2020-08-08 20:06:47 DEBUG (SyncWorker_2) [custom_components.mail_and_packages.sensor] Error while attempting to parse Amazon email: Expected list, got <class 'str'>
2020-08-08 20:06:47 DEBUG (SyncWorker_2) [custom_components.mail_and_packages.sensor] Error while attempting to parse Amazon email: Expected list, got <class 'str'>
2020-08-08 20:06:47 DEBUG (SyncWorker_2) [custom_components.mail_and_packages.sensor] Amazon emails found: 0
2020-08-08 20:06:47 DEBUG (SyncWorker_2) [custom_components.mail_and_packages.sensor] Amazon emails found: 0
2020-08-08 20:06:47 DEBUG (SyncWorker_2) [custom_components.mail_and_packages.sensor] Amazon emails found: 0
2020-08-08 20:06:47 DEBUG (SyncWorker_2) [custom_components.mail_and_packages.sensor] Amazon order: ['#XXXXXXX', '#XXXXX']
2020-08-08 20:06:47 DEBUG (SyncWorker_2) [custom_components.mail_and_packages.sensor] Updated scan time: Aug-08-2020 08:06 PM

Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
Please add emails in plain/text format if possible and applicable.
Getting Amazon delivered emails but it's not pulling images.

can you find the <img src= for the image in your email? In GMail it's "Show Original", just need to see if they changed the s3 URL they've been using.
Should be something like https://us-prod-temp.s3.amazonaws.com/..........

Yeah looks like it's the same s3:
<img class=3D"largeImage" src=3D"https://us-prod-temp.s3.amazonaws.com/imageId-XXXXXXXX-33f8-2959-6783-fe4f075c0665?X-Amz-Algorithm=3DAWS4-HMAC-SHA256&X-Amz-Date=3D20200808T130125Z&

Strange I get results when I test on a recent Amazon delivery:
2020-08-08 18:41:03 DEBUG (MainThread) [custom_components.mail_and_packages.sensor] Resizing images to 724x320...
2020-08-08 18:41:03 DEBUG (MainThread) [custom_components.mail_and_packages.sensor] Creating array of image files...
2020-08-08 18:41:03 DEBUG (MainThread) [custom_components.mail_and_packages.sensor] Generating animated GIF
2020-08-08 18:41:03 INFO (MainThread) [custom_components.mail_and_packages.sensor] Mail image generated.
2020-08-08 18:41:03 DEBUG (MainThread) [custom_components.mail_and_packages.sensor] Searching for Amazon delivered email(s)...
2020-08-08 18:41:03 DEBUG (MainThread) [custom_components.mail_and_packages.sensor] Amazon delivered email(s) found: 1
2020-08-08 18:41:03 DEBUG (MainThread) [custom_components.mail_and_packages.sensor] Searching for Amazon image in emails...
2020-08-08 18:41:03 DEBUG (MainThread) [custom_components.mail_and_packages.sensor] HTML Amazon emails found: 1
2020-08-08 18:41:03 DEBUG (MainThread) [custom_components.mail_and_packages.sensor] Processing HTML email...
2020-08-08 18:41:03 DEBUG (MainThread) [custom_components.mail_and_packages.sensor] Amazon img URL: https://us-prod-temp.s3.amazonaws.com/imageId-[redact]
2020-08-08 18:41:04 DEBUG (MainThread) [custom_components.mail_and_packages.sensor] Amazon delivered email(s) found: 1
2020-08-08 18:41:04 DEBUG (MainThread) [custom_components.mail_and_packages.sensor] Searching for Amazon image in emails...

Did you actually get 5 delivery emails from Amazon?

Yes.  They're the ones I moved over from Protonmail via Thunderbird but don't see how that would affect this.  3 were from the same order number (3 emails, 1 order number).

Ok, just making sure it's counting correctly.
Give this sensor.py a shot, I've added a couple of debug outputs to help see what's going on.

2020-08-08 22:03:59 DEBUG (SyncWorker_3) [custom_components.mail_and_packages.sensor] Searching for Amazon delivered email(s)...
2020-08-08 22:03:59 DEBUG (SyncWorker_3) [custom_components.mail_and_packages.sensor] Amazon delivered email(s) found: 5
2020-08-08 22:03:59 DEBUG (SyncWorker_3) [custom_components.mail_and_packages.sensor] Searching for Amazon image in emails...
2020-08-08 22:03:59 DEBUG (SyncWorker_3) [custom_components.mail_and_packages.sensor] HTML Amazon emails found: 5
2020-08-08 22:03:59 DEBUG (SyncWorker_3) [custom_components.mail_and_packages.sensor] Email Multipart: False
2020-08-08 22:03:59 DEBUG (SyncWorker_3) [custom_components.mail_and_packages.sensor] Content Type: text/html
2020-08-08 22:03:59 DEBUG (SyncWorker_3) [custom_components.mail_and_packages.sensor] Email Multipart: False
2020-08-08 22:03:59 DEBUG (SyncWorker_3) [custom_components.mail_and_packages.sensor] Content Type: text/html
2020-08-08 22:03:59 DEBUG (SyncWorker_3) [custom_components.mail_and_packages.sensor] Email Multipart: False
2020-08-08 22:03:59 DEBUG (SyncWorker_3) [custom_components.mail_and_packages.sensor] Content Type: text/html
2020-08-08 22:04:00 DEBUG (SyncWorker_3) [custom_components.mail_and_packages.sensor] Email Multipart: False
2020-08-08 22:04:00 DEBUG (SyncWorker_3) [custom_components.mail_and_packages.sensor] Content Type: text/html
2020-08-08 22:04:00 DEBUG (SyncWorker_3) [custom_components.mail_and_packages.sensor] Email Multipart: False
2020-08-08 22:04:00 DEBUG (SyncWorker_3) [custom_components.mail_and_packages.sensor] Content Type: text/html
2020-08-08 22:04:00 DEBUG (SyncWorker_3) [custom_components.mail_and_packages.sensor] Amazon delivered email(s) found: 5
2020-08-08 22:04:00 DEBUG (SyncWorker_3) [custom_components.mail_and_packages.sensor] Searching for Amazon image in emails...
2020-08-08 22:04:00 DEBUG (SyncWorker_3) [custom_components.mail_and_packages.sensor] HTML Amazon emails found: 0
2020-08-08 22:04:00 DEBUG (SyncWorker_3) [custom_components.mail_and_packages.sensor] Amazon delivered email(s) found: 5
2020-08-08 22:04:00 DEBUG (SyncWorker_3) [custom_components.mail_and_packages.sensor] Searching for Amazon image in emails...
2020-08-08 22:04:00 DEBUG (SyncWorker_3) [custom_components.mail_and_packages.sensor] HTML Amazon emails found: 0
2020-08-08 22:04:00 DEBUG (SyncWorker_3) [custom_components.mail_and_packages.sensor] Amazon delivered email(s) found: 5
2020-08-08 22:04:00 DEBUG (SyncWorker_3) [custom_components.mail_and_packages.sensor] Searching for Amazon image in emails...
2020-08-08 22:04:00 DEBUG (SyncWorker_3) [custom_components.mail_and_packages.sensor] HTML Amazon emails found: 0
2020-08-08 22:04:00 DEBUG (SyncWorker_3) [custom_components.mail_and_packages.sensor] Attempting to find Amazon email with item list ...
2020-08-08 22:04:00 DEBUG (SyncWorker_3) [custom_components.mail_and_packages.sensor] Amazon emails found: 2
2020-08-08 22:04:00 DEBUG (SyncWorker_3) [custom_components.mail_and_packages.sensor] Error while attempting to parse Amazon email: Expected list, got <class 'str'>
2020-08-08 22:04:00 DEBUG (SyncWorker_3) [custom_components.mail_and_packages.sensor] Error while attempting to parse Amazon email: Expected list, got <class 'str'>
2020-08-08 22:04:00 DEBUG (SyncWorker_3) [custom_components.mail_and_packages.sensor] Amazon emails found: 0
2020-08-08 22:04:00 DEBUG (SyncWorker_3) [custom_components.mail_and_packages.sensor] Amazon emails found: 0
2020-08-08 22:04:00 DEBUG (SyncWorker_3) [custom_components.mail_and_packages.sensor] Amazon emails found: 0
2020-08-08 22:04:00 DEBUG (SyncWorker_3) [custom_components.mail_and_packages.sensor] Amazon Count: 0
2020-08-08 22:04:00 DEBUG (SyncWorker_3) [custom_components.mail_and_packages.sensor] Attempting to find Amazon email with item list ...
2020-08-08 22:04:00 DEBUG (SyncWorker_3) [custom_components.mail_and_packages.sensor] Amazon emails found: 2
2020-08-08 22:04:01 DEBUG (SyncWorker_3) [custom_components.mail_and_packages.sensor] Error while attempting to parse Amazon email: Expected list, got <class 'str'>
2020-08-08 22:04:01 DEBUG (SyncWorker_3) [custom_components.mail_and_packages.sensor] Error while attempting to parse Amazon email: Expected list, got <class 'str'>
2020-08-08 22:04:01 DEBUG (SyncWorker_3) [custom_components.mail_and_packages.sensor] Amazon emails found: 0
2020-08-08 22:04:01 DEBUG (SyncWorker_3) [custom_components.mail_and_packages.sensor] Amazon emails found: 0
2020-08-08 22:04:01 DEBUG (SyncWorker_3) [custom_components.mail_and_packages.sensor] Amazon emails found: 0
2020-08-08 22:04:01 DEBUG (SyncWorker_3) [custom_components.mail_and_packages.sensor] Amazon order: ['#XXXXXXXXXXXXXX', '#XXXXXX']
2020-08-08 22:04:01 DEBUG (SyncWorker_3) [custom_components.mail_and_packages.sensor] Updated scan time: Aug-08-2020 10:04 PM

Perfect I know what the problem is now. Just a moment.

This one should resolve it.

Woohooo success I see 1 image.  There were 2 though (2 different deliveries).  I know kinda a niche day (makes for good testing right? :-D ).

Sorry it doesn't handle 2 images yet. Likely put it on an animation loop like the USPS mail.

Yep what I figured since it was a jpg and not gif.  Again, fairly niche instance.


Add cwd to mapToCommandInfo

Fix missing cwd property on parsed command object.

Coverage remained the same at 100.0% when pulling 482f5cc49f98129ae682cfc7827d34d688a0ceca on moshest:patch-1 into 343d1abe814908c3fe551ed994c152b226deee7d on kimmobrunfeldt:master.

Closing this in favor for #266


Vivaldi browser completely broken specifically running under Hyprland

Vivaldi works completely fine on sway.
However, in hyprland, vivaldi does not start without --ozone-platform=wayland. Even then, it has a really hard time drawing, and will only update the screen if you unfocus vivaldi for a few seconds.
This occurs in both current -stable and -snapshot aur versions of vivaldi.
The same sort of draw lag occurs when i drag selected text in firefox
Disabling all decorations has no effect. Is there a remedy or option I dont know about?

chromium issue. For launching without ozone wayland, idk. Any logs?

Chromium works fine.
Launched without ozone flag
[2695:2723:0614/175336.840624:ERROR:bus.cc(398)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[2695:2723:0614/175336.840662:ERROR:bus.cc(398)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[2695:2723:0614/175336.871383:ERROR:bus.cc(398)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[2695:2723:0614/175336.871395:ERROR:bus.cc(398)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[2695:2695:0614/175336.899168:ERROR:image_generic.cc(77)] Unable to decode PNG for 1.
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
[2695:2695:0614/175337.937151:ERROR:CONSOLE(1)] "syncDetachedTabInformation: The message port closed before a response was received.", source: chrome-extension://mpognobbkildjkofajifpdfhcoklimli/bundle.js (1)
[2695:2695:0614/175337.937321:ERROR:CONSOLE(1)] "syncDetachedTabInformation: The message port closed before a response was received.", source: chrome-extension://mpognobbkildjkofajifpdfhcoklimli/bundle.js (1)
[2695:2695:0614/175337.937443:ERROR:CONSOLE(1)] "syncDetachedTabInformation: The message port closed before a response was received.", source: chrome-extension://mpognobbkildjkofajifpdfhcoklimli/bundle.js (1)
[2695:2754:0614/175338.331136:ERROR:bus.cc(398)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[2695:2695:0614/175338.331160:ERROR:object_proxy.cc(623)] Failed to call method: org.freedesktop.DBus.NameHasOwner: object_path= /org/freedesktop/DBus: unknown error type:
[2695:2754:0614/175338.331194:ERROR:bus.cc(398)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[2695:2695:0614/175338.331227:ERROR:object_proxy.cc(623)] Failed to call method: org.freedesktop.DBus.NameHasOwner: object_path= /org/freedesktop/DBus: unknown error type:
[2695:2754:0614/175338.331252:ERROR:bus.cc(398)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[2695:2695:0614/175338.331270:ERROR:object_proxy.cc(623)] Failed to call method: org.freedesktop.DBus.NameHasOwner: object_path= /org/freedesktop/DBus: unknown error type:
[2695:2754:0614/175338.331297:ERROR:bus.cc(398)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[2695:2695:0614/175338.331307:ERROR:object_proxy.cc(623)] Failed to call method: org.freedesktop.DBus.NameHasOwner: object_path= /org/freedesktop/DBus: unknown error type:
[2695:2754:0614/175338.331326:ERROR:bus.cc(398)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[2695:2695:0614/175338.331338:ERROR:object_proxy.cc(623)] Failed to call method: org.freedesktop.DBus.NameHasOwner: object_path= /org/freedesktop/DBus: unknown error type:
[2695:2695:0614/175339.606156:ERROR:sharing_service.cc(222)] Device registration failed with fatal error
[2730:2730:0614/175341.118972:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 1 times!
[2695:2754:0614/175343.160291:ERROR:web_view_private_api.cpp(155)] No image from backing store.
[2730:2730:0614/175343.161221:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 2 times!
[2730:2730:0614/175343.161221:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 3 times!

 The "not launching in xwayland" is a vivaldi issue

Weird. Works on sway.. I have no idea

Weird. Works on sway.. I have no idea

I'm not sure why, but I've noticed that most Electron apps default to Ozone in other wlroots compositors like Sway and River, but it has to be specified manually in Hyprland.

FYI to all whom it may concern, parts of the issue have been resolved some time ago i've forgot to mention it, so I am working on the issue.
Positioning is fixed, however, ozone wayland doesn't seem to report damage properly, and thus is unable to update the view unless damage tracking is set to none (not recommended)
Wanted to let you know I'm working on the issue periodically and trying to find a fix.

Chrome not working with --ozone-platform=wayland:
https://user-images.githubusercontent.com/46374280/179203561-349f4c41-6962-4414-9891-6402285cbc69.mp4

yes we all know

fixed in 9be239dac63138282bac9e0acc4f91bb8e1f610b

Thank you for fixing the issue. Finally I was able to switch from sway to Hypr!


DetectionPostProcess not supported for TfLite MobilenetSsd CpuAcc

I am getting following error while using backend as CpuAcc.

ArmNN v20191100
WARNING: Layer of type DetectionPostProcess is not supported on requested backend CpuAcc for input data type QAsymm8 and output data type Float32 (reason: IsDetectionPostProcessSupported is not implemented [/home/nvidia/armnn-tflite/armnn/src/backends/backendsCommon/LayerSupportBase.cpp:171]), falling back to the next backend.
ERROR: Layer of type DetectionPostProcess is not supported on any preferred backend [CpuAcc ]

When I am running same model with backend as

CpuRef

, I am able to run it but it is taking 30 sec to perform detection in a image.
In release doc of 19.11 https://github.com/ARM-software/armnn/releases/tag/v19.11, DetectionPostProcess has already mentioned for TfliteParser.
Please help me regarding this issue.
Thanks in advance.
mobilenetssd_coco.zip

@gangooteli Hope that helped, please reopen if it still doesn't work.


Updating PUMLs to current release version.

@jtreher thank you for your contributions! Before accepting your commit I need to fix how de library leads with standard C4 pluntuml files and embedded c4 resources. After that, I'll join your code in the main branch, OK?
best regards

Oh, I didn't realize that this would be a breaking change. Please let me
know if you need me to help with that.
Justin
On Mon, Nov 1, 2021 at 11:31 AM Yan Justino @.***>
wrote:

@jtreher https://github.com/jtreher thank you for your contributions!
Before accepting your commit I need to fix how de library leads with
standard C4 pluntuml files and embedded c4 resources. After that, I'll join
your code in the main branch, OK?
best regards
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/8T4/c4sharp/pull/20#issuecomment-956335647, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAJTFQ5J5QKQUOGGMYFFHMTUJ2XGXANCNFSM5G32WNEQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

@jtreher no problem! I've worked on this fix! soon I'll publish a new version! I'd like this opportunity to appreciate your PR's and suggestions.

@jtreher sincerely, I need to set up de XUnit project and write tests...

@yanjustino I have already started the xunit commit last night. I don't mind seeing the unit tests through to completion. I'm just not sure what approach will work best for some of the volatile static dependencies such as the file system. It might take some refactoring, so for not I'll just cover what I can to avoid making code changes while introducing what can be covered. https://github.com/jtreher/c4sharp/tree/add-tests

@jtreher the last commit into the main branch contemplate the new version of this files. Also, I'd set up the test project on the solution.


fix typos

fixes a few typos in the contextForm

@kckst8 Hi, thanks to contribute. Can you open an issue explaining what was the issue and what you fixed in detail. And refer this PR to that issue please.

#17


Provide debugging symbols on symbolsource.org for easier debugging

It would be nice if you could publish the debugging symbols to symbolsource.org so as to make debugging easier:
Symbolsource.org: Creating symbol packages with nuget
(If i'd know enough about it i would have provided a pull request directly ;-) ).

duplicate #1879

the pdb files are now included


Add suffix widget to StringField

It would be nice to have suffix param that accepts a Widget in StringField.

We have many options in InputDecoration to create the suffix, so I recommend using the decoration instead of creating new parameters in StringField.


Defining Attributes in Metadata Classes Doc for ASP.NET Core

Requests for new Topics
Explain how ModelMetadataType works.
Put the documentation in https://docs.microsoft.com/en-us/aspnet/core/index, pages titled

Model validation in ASP.NET Core MVC
Add validation to an ASP.NET Core MVC app

Almost copy and past from this page.
Adapt the code for NETCore:
public class ProductMetadata
{
  [Required(ErrorMessage = "ID is required.")]
  [RegularExpression("[A-Z]{2}[0-9]{4}",
          ErrorMessage = "Product ID must be 2 capital letters and 4 numbers.")]
  public object ID { get; set; };

  [StringLength(100, ErrorMessage = "Description must be less than 100 chars.")]
  public object Description { get; set; } ;
}

@dougbu  see Defining Attributes in Metadata Classes
Do we need an ASP.NET Core version of that doc?

@Rick-Anderson good idea.
Because [MetadataType] is available only in .NET Framework, ASP.NET Core Mvc instead supports [ModelMetadataType] (in the Microsoft.AspNetCore.Mvc namespace).
Separately, as far as I can tell, there's no requirement [ModelMetadataType] be applied to a partial class.

Thanks for contacting us.
We don’t have the resources to invest in this area, so we are closing the issue. Should your request generate enough  👍 responses, we’ll reconsider.


Being able to change the color of the tags, at least from 8 basic colors.

The title speaks for itself.

@KierPrev Yes, I have been wanting to this. The caching system took way longer than expected! I will get something out of the end of this week.

@KierPrev I plan on doing this tomorrow in addition to adding checkbox + date types. Stay tuned :)

@KierPrev @Sibiriak @juestchaos @ngirard @FelipeRearden Added in 3.2.0. Check it out! :)


Replace TEXT to JSON type if supported - for key-value/cache

JSON type is more optimized for storage and queries.

We should check if JSON type is more optimized in terms of disk space, otherwise - it's irrelevant since no queries are going to be executed based on json values.


Non-simplistic gunicorn example?

depends 'application', '~> 5.0'
depends 'application_python', '~> 4.0'
This is working for me:
...
  gunicorn do
    app_module 'gravatarFlask:app'
    port 80
  end
...

This isn't working for me:
...
  gunicorn do
    app_module 'gravatarFlask:app'
    config '--error-logfile /var/log/gunicorn_error.log --log-syslog-to tcp://speaker.our.org:514 --log-level info --log-syslog-prefix gravatar_gunicorn'
    port 80
  end
...

Any ideas what am I doing wrong?

From the docs:
config – Path to a Guncorn configuration file.

That doesn't look like a path.


AP-5268: Add primary nav

What
Link to story
Add your applications and search to primary nav, displayed on each page. Add individual primary nav component from moj design system. Additional mixins are added too as they are required.
Screenshot
Updated page looks like this:

Checklist
Before you ask people to review this PR:

Tests and rubocop should be passing: bundle exec rake
Github should not be reporting conflicts; you should have recently run git rebase main.
The standards in the Git Workflow document on Confluence should be followed
There should be no unnecessary whitespace changes. These make diffs harder to read and conflicts more likely.
The PR description should say what you changed and why, with a link to the JIRA story.
You should have looked at the diff against main and ensured that nothing unexpected is included in your changes.
You should have checked that the commit messages say why the change was made.

LGTM 👍 Shame there isn't a govuk helper for the navigation tree!

One for UX, but could we use GOVUK's Service navigation instead?
This would mean less assets to import, and we have the benefit of using the helper from GOVUK Components for Ruby

LGTM 👍 Shame there isn't a govuk helper for the navigation tree!

One for UX, but could we use GOVUK's Service navigation instead?
This would mean less assets to import, and we have the benefit of using the helper from GOVUK Components for Ruby

I did raise this but it was decided that we'd go with the MoJ element. I think it's because this work came about by aiming for consistency across teams and that's what everyone else is using. Definitely something to consider though?

@agoldstone93 Be considerate of the sass import order. At present, any shared selector across across our imports means MoJ styles would override GOVUK, then our custom style would then override both the above.

@naseberry That seems like the order we'd want, isn't it?


design landing page tweaks and typos

Docs Build status updates of commit c012a1d:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

mixed-reality-docs/design.md
:white_check_mark:Succeeded
View

mixed-reality-docs/scene-understanding.md
:white_check_mark:Succeeded
View

mixed-reality-docs/voice-input.md
:white_check_mark:Succeeded
View

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

Docs Build status updates of commit 32684b9:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

mixed-reality-docs/design.md
:white_check_mark:Succeeded
View

mixed-reality-docs/scene-understanding.md
:white_check_mark:Succeeded
View

mixed-reality-docs/voice-input.md
:white_check_mark:Succeeded
View

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

Docs Build status updates of commit c47ea51:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

mixed-reality-docs/design.md
:white_check_mark:Succeeded
View

mixed-reality-docs/scene-understanding.md
:white_check_mark:Succeeded
View

mixed-reality-docs/voice-input.md
:white_check_mark:Succeeded
View

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

Docs Build status updates of commit ca4f932:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

mixed-reality-docs/design.md
:white_check_mark:Succeeded
View

mixed-reality-docs/scene-understanding.md
:white_check_mark:Succeeded
View

mixed-reality-docs/voice-input.md
:white_check_mark:Succeeded
View

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

Docs Build status updates of commit f5150cb:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

mixed-reality-docs/design.md
:white_check_mark:Succeeded
View

mixed-reality-docs/scene-understanding.md
:white_check_mark:Succeeded
View

mixed-reality-docs/voice-input.md
:white_check_mark:Succeeded
View

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

Docs Build status updates of commit a10df9b:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

mixed-reality-docs/design.md
:white_check_mark:Succeeded
View

mixed-reality-docs/development.md
:white_check_mark:Succeeded
View

mixed-reality-docs/scene-understanding.md
:white_check_mark:Succeeded
View

mixed-reality-docs/voice-input.md
:white_check_mark:Succeeded
View

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

Docs Build status updates of commit 95708c6:
:clock10: Pending: waiting for processors (6 builds ahead of you)
:warning: Docs Build is busy, currently there are 6 builds ahead of this one, for more information you can view the Build queue graph on the Docs Portal.

Docs Build status updates of commit 95708c6:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

mixed-reality-docs/design.md
:white_check_mark:Succeeded
View

mixed-reality-docs/development.md
:white_check_mark:Succeeded
View

mixed-reality-docs/gaze-and-dwell.md
:white_check_mark:Succeeded
View

mixed-reality-docs/hand-menu.md
:white_check_mark:Succeeded
View

mixed-reality-docs/hands-free.md
:white_check_mark:Succeeded
View

mixed-reality-docs/scene-understanding.md
:white_check_mark:Succeeded
View

mixed-reality-docs/voice-input.md
:white_check_mark:Succeeded
View

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

Docs Build status updates of commit 560b849:
:clock10: Pending: waiting for processors (6 builds ahead of you)
:warning: Docs Build is busy, currently there are 6 builds ahead of this one, for more information you can view the Build queue graph on the Docs Portal.

Docs Build status updates of commit 560b849:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

mixed-reality-docs/design.md
:white_check_mark:Succeeded
View

mixed-reality-docs/development.md
:white_check_mark:Succeeded
View

mixed-reality-docs/gaze-and-dwell.md
:white_check_mark:Succeeded
View

mixed-reality-docs/hand-menu.md
:white_check_mark:Succeeded
View

mixed-reality-docs/hands-free.md
:white_check_mark:Succeeded
View

mixed-reality-docs/scene-understanding.md
:white_check_mark:Succeeded
View

mixed-reality-docs/voice-input.md
:white_check_mark:Succeeded
View

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

Docs Build status updates of commit f9d0234:
:clock10: Pending: waiting for processors (6 builds ahead of you)
:warning: Docs Build is busy, currently there are 6 builds ahead of this one, for more information you can view the Build queue graph on the Docs Portal.

Docs Build status updates of commit 3af5a8a:
:clock10: Pending: waiting for processors (6 builds ahead of you)
:warning: Docs Build is busy, currently there are 6 builds ahead of this one, for more information you can view the Build queue graph on the Docs Portal.

Docs Build status updates of commit f9d0234:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

mixed-reality-docs/design.md
:white_check_mark:Succeeded
View

mixed-reality-docs/development.md
:white_check_mark:Succeeded
View

mixed-reality-docs/gaze-and-dwell.md
:white_check_mark:Succeeded
View

mixed-reality-docs/hand-menu.md
:white_check_mark:Succeeded
View

mixed-reality-docs/hands-free.md
:white_check_mark:Succeeded
View

mixed-reality-docs/scene-understanding.md
:white_check_mark:Succeeded
View

mixed-reality-docs/voice-input.md
:white_check_mark:Succeeded
View

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

Docs Build status updates of commit 3af5a8a:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

mixed-reality-docs/design.md
:white_check_mark:Succeeded
View

mixed-reality-docs/development.md
:white_check_mark:Succeeded
View

mixed-reality-docs/gaze-and-dwell.md
:white_check_mark:Succeeded
View

mixed-reality-docs/hand-menu.md
:white_check_mark:Succeeded
View

mixed-reality-docs/hands-free.md
:white_check_mark:Succeeded
View

mixed-reality-docs/scene-understanding.md
:white_check_mark:Succeeded
View

mixed-reality-docs/voice-input.md
:white_check_mark:Succeeded
View

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


Using transfer instead of approve in OptimismPortal

SEREViTY: MEDIUM
IMPACT: a withdrawal transaction can be finalized with unexpected amount

I think it's a great idea.
We can prevent to manipulate other target's allowance in the Portal!
Because L1CDM's relayMessage permits only the Portal Contract, I think it makes sense!

As what discussed with @rlgns98kr , we can close this issue and waiting for the discussion with the audit team in the external audit


raidboss: DRS TA Unwavering Apparations Callout

I wrote this up overnight... could be better optimized. To be tested...
Goal is to callout the location of the box  (safe spot) that is safe to stand in to avoid all cleaves and also call where to stand relative to the safe spot if needed to change current temperature.

I wonder if I am overlooking that two adds cleaving a single zone could create a zone with 0 temperature but not be safe...

So the change in b2d617a now has two maps, and since the zones adjacent to the zone that no add is cleaving are only cleaved by one add we shouldn't have to adjust for multiple cleaves in a zone as it should just ignore those keys in the map.

Looking over the logs some more as I want to test out that I actually have the correct sort so that overlay gives the correct combatants... there is more going on with the mechanic such that 4 other entities are involved. These other entities are perhaps what explain the additional spell IDs.
I may need to ensure that the npc ids that I am aiming for match up with the spells that I regex and that I am sorting the right direction (I may need to reverse the sort).
I based the current code off of the entities that received the Cold/Hot Blade buffs, which they do cast the Blade of Entropy, but I need to ensure that the Blades of Entropy I am checking on are coming from the same buffed target. I may modify the comments about Blade of Entropy spell ids with the clarification as to why there are two of each spell as it may turn out that these other 4 entities are casting the paired spell and I need to determine which of the two belong to which entities. I also may need to check that the the entities don't share from the entire pool of spell ids.

I must be misunderstanding the value that combatant.ID is. I had assumed it was a string such as '400008f4, but if that were the case, then the sort methods that I see used wouldn't give the correct results, they would just reverse the array. a.localeCompare(b) would do the correct sort of these values.

I must be misunderstanding the value that combatant.ID is. I had assumed it was a string such as '400008F4', but if that were the case, then the sort methods that I see used wouldn't give the correct results, they would just reverse the array. a.localeCompare(b) would do the correct sort of these values.

combatant.ID is the integer value of the id.  I am not sure I understand why sort() would not work here regardless.

I think the only lingering issue to verify is that the heading data is accurate when delayed 1 second. So long as we get correct heading data, it should now work. I likely won't be able to test until next week.
Also the callout is hard to get.
For some debug here are some lines to add:
        console.log(`Boss (${eastCombatant.ID}) heading ${eastCombatant.Heading}, Position: ${eastCombatant.PosX}, ${eastCombatant.PosY}`);
        console.log(`First (${avatarOne.ID}) avatar heading ${avatarOne.Heading}, Position: ${avatarOne.PosX}, ${avatarOne.PosY}`);
        console.log(`Second (${avatarTwo.ID}) avatar heading ${avatarTwo.Heading}, Position: ${avatarTwo.PosX}, ${avatarTwo.PosY}`);
        console.log(`Third (${avatarThree.ID}) avatar heading ${avatarThree.Heading}, Position: ${avatarThree.PosX}, ${avatarThree.PosY}`);

        console.log(`East combatant facing ${eastCombatantFacing} cleaving ${bladeSides[eastCombatantBlade]}`);
        console.log(`North combatant facing ${northCombatantFacing} cleaving ${bladeSides[eastCombatantBlade]}`);
        console.log(`West combatant facing ${westCombatantFacing} cleaving ${bladeSides[eastCombatantBlade]}`);
        console.log(`South combatant facing ${southCombatantFacing} cleaving ${bladeSides[eastCombatantBlade]}`);

        if (data.currentBrand) {
          currentBrand = data.currentBrand;
          console.log(`Brand is currently ${currentBrand}`);
        }
        if (data.currentTemperature) {
          currentTemperature = data.currentTemperature;
          console.log(`Temperature is currently ${currentTemperature}`);
        }

Thinking on this a bit more, I may have over complicated the mechanic. I am pretty sure it's simplified to this:
const adjacentZones = {
    0: bladeValues[northCombatantBlade],
    1: bladeValues[eastCombatantBlade],
    2: bladeValues[southCombatantBlade],
    3: bladeValues[westCombatantBlade],
 };

if ((eastCombatantFacing === 0 || eastCombatantFacing === 2) && (southCombatantFacing === 1 || southCombatantFacing === 3)) {
  // if east cleaving east and south cleaving south, safe spot is se
  safeZone = output.southeast();
} else if ((eastCombatantFacing === 0 || eastCombatantFacing === 2) && (northCombatantFacing === 1 || northCombatantFacing === 3)) {
  // if east cleaving east and north cleaving north, safe spot is ne
  safeZone = output.northeast();
} else if ((westCombatantFacing === 0 || westCombatantFacing === 2) && (southCombatantFacing === 1 || southCombatantFacing === 3)) {
  // if west cleaving west and south cleaving south, safe spot is sw
  safeZone = output.southwest();
} else if ((westCombatantFacing === 0 || westCombatantFacing === 2) && (northCombatantFacing === 1 || northCombatantFacing === 3)) {
  // if west cleaving west and north cleaving north, safe spot is nw
  safeZone = output.northwest();
} else {
  // facing did not evaluate properly
  safeZone = null;
}

Thinking on this a bit more, I may have over complicated the mechanic. I am pretty sure it's simplified to this:
const adjacentZones = {
    0: bladeValues[northCombatantBlade],
    1: bladeValues[eastCombatantBlade],
    2: bladeValues[southCombatantBlade],
    3: bladeValues[westCombatantBlade],
 };

if ((eastCombatantFacing === 0 || eastCombatantFacing === 2) && (southCombatantFacing === 1 || southCombatantFacing === 3)) {
  // if east cleaving east and south cleaving south, safe spot is se
  safeZone = output.southeast();
} else if ((eastCombatantFacing === 0 || eastCombatantFacing === 2) && (northCombatantFacing === 1 || northCombatantFacing === 3)) {
  // if east cleaving east and north cleaving north, safe spot is ne
  safeZone = output.northeast();
} else if ((westCombatantFacing === 0 || westCombatantFacing === 2) && (southCombatantFacing === 1 || southCombatantFacing === 3)) {
  // if west cleaving west and south cleaving south, safe spot is sw
  safeZone = output.southwest();
} else if ((westCombatantFacing === 0 || westCombatantFacing === 2) && (northCombatantFacing === 1 || northCombatantFacing === 3)) {
  // if west cleaving west and north cleaving north, safe spot is nw
  safeZone = output.northwest();
} else {
  // facing did not evaluate properly
  safeZone = null;
}

I have seen this "guide":

...which implies that you just need to find a cardinal that is looking towards that cardinal or opposite (e.g. north looking north or south) and then its cleave direction will tell you the safe spot.  That might make the logic easier.  I think also using some const dirNum = { north: 0, east: 1, south: 2, west: 3 } might make it easier to read westCombatantFacing === dirNum.north

I have seen this "guide":
...which implies that you just need to find a cardinal that is looking towards that cardinal or opposite (e.g. north looking north or south) and then its cleave direction will tell you the safe spot. That might make the logic easier. I think also using some const dirNum = { north: 0, east: 1, south: 2, west: 3 } might make it easier to read westCombatantFacing === dirNum.north

I used this guide as a reference to fix the logic. I think I had this before I simplified, just overtly complex. This should be correct now.

This seemed to work just fine for me too!

Sorry for a bunch of small comments. If you're not running any more DRS and want me to apply these fixups myself, I can do that.

I don't mind if you can take over from here. I resolved most of the outstanding issues.


How do I change the default unit of time?

I recently wrote a transcoder that converts files from my .xyz format to perfetto protobuf which I am able to visualize in Perfetto UI. How do I change the default time unit? The clock_snapshot says the default is 1ns but I want it to be 1ms

There's no such way to change the unit globally: all Perfetto tooling (UI, trace processor, trace format) expects operation in ns only.
One potential workaround is to use a custom sequence-scoped clock (see https://perfetto.dev/docs/concepts/clock-sync) and specify the unit_multipler_ns field (https://android.googlesource.com/platform/external/perfetto/+/refs/heads/main/protos/perfetto/trace/clock_snapshot.proto#67) to make your clock work in ms.
Keep in mind this will not change anything in the UI or trace processor though, this is just a convenience to allow the multiplication to happen in trace processor rather than in your conversion tool.


Update in chapter 5.4 Use of PREMIS

Chapter 5.4 needs an update due to the new CITS Preservation Metadata which also covers the same information.

Closed with PR #672


What are the valid target name format

Are there any restriction on the characters in the name e.g. can I use a name like mycompany.mytarget or should I add an xmlns:myxmlns="mycompany.com" and use myxmlns:mytarget

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

ID: 2edf4455-765e-3107-5b5b-11162a965b65
Version Independent ID: 37110ada-36c1-f545-d0e0-1c5bacbf71ab
Content: Target Element (MSBuild) - Visual Studio
Content Source: docs/msbuild/target-element-msbuild.md
Product: visual-studio-windows
Technology: msbuild
GitHub Login: @ghogen
Microsoft Alias: ghogen

@jhv2017kam -- thank you for your question.  You may find answers here:

https://social.msdn.microsoft.com/Forums/vstudio
https://www.stackoverflow.com
https://www.reddit.com/r/VisualStudio/

@ghogen -- please look into this issue.

A target name may contain any character except $@()%*?..
https://github.com/microsoft/msbuild/blob/2d82e1a861d890fce68c8e2d42b569e5bbaf5687/src/Shared/XMakeElements.cs#L36
But I don't understand the other part of the question

should I add an xmlns:myxmlns="mycompany.com" and use myxmlns:mytarget

This is not valid in MSBuild; elements must be in the MSBuild namespace or no namespace.


dump sd output for accuracy mode

so that we can use them for offline accuracy tests (such as human visual quality or other kind of tests).
raw rgb bitmap or png.

@RSMNYS
It looks like we need to do some more works to pass a writeable location from the app to the dataset backend. I will take over this task, since I am more familiar with the app structure and we need to have it soon.


Unable to use as self hosted

Hi,
I'm trying to use Dyrectorio in an VPS on Amazon Lightsail with valid public IP's. After docker instaled and .env configured I run:
docker compose up -d
but I dont get to connect to my server and in the Traefz container I got his problem:
time="2023-05-31T13:28:58Z" level=info msg="Configuration loaded from flags."

time="2023-05-31T13:28:58Z" level=error msg="Unable to create redirection: the entry point or the port is missing" providerName=internal entryPointName=web

time="2023-05-31T13:33:20Z" level=error msg="accept tcp [::]:443: use of closed network connection" entryPointName=websecure

time="2023-05-31T13:33:20Z" level=error msg="Error while starting server: accept tcp [::]:443: use of closed network connection" entryPointName=websecure

time="2023-05-31T13:33:20Z" level=error msg="accept tcp [::]:80: use of closed network connection" entryPointName=web

time="2023-05-31T13:33:20Z" level=error msg="Error while starting server: accept tcp [::]:80: use of closed network connection" entryPointName=web

time="2023-05-31T13:33:25Z" level=error msg="Failed to list containers for docker, error Get \"http://%2Fvar%2Frun%2Fdocker.sock/v1.24/containers/json?limit=0\": context canceled" providerName=docker

time="2023-05-31T13:33:25Z" level=error msg="Cannot connect to docker server context canceled" providerName=docker

time="2023-05-31T13:34:13Z" level=info msg="Configuration loaded from flags."

time="2023-05-31T13:34:13Z" level=error msg="Unable to create redirection: the entry point or the port is missing" providerName=internal entryPointName=web

Some one have any clue about whats is my mistake ?
I'm using Ubuntu 22.04 LTS.
Thanks.

Hi,
Solved the problem adding to docker-compose.yaml file this:
- --providers.docker.endpoint=unix:///var/run/docker.sock
Just below this line:
- --providers.docker=true

This is the default configuration as well according to docs https://doc.traefik.io/traefik/providers/docker/#endpoint.
So it might be that it was something else.


Use contracts in params

PHPStan sometimes gives errors like:
  31     Parameter #1 $provider of method Spatie\SchemaOrg\Course::provider()
         expects
         array<Spatie\SchemaOrg\Organization|Spatie\SchemaOrg\Person>|Spatie\Sch
         emaOrg\Organization|Spatie\SchemaOrg\Person,
         Spatie\SchemaOrg\EducationalOrganization given.

In this case EducationalOrganization is correct and implements OrganizationContract
It could be posible to change doc params to use Contracts instead?

Good catch - have simply forgot to adjust the doc-tags. Do you want to open a PR that adjusts the generator?

Oh! I was trying but better yours :)

Oh, sorry - just had time and you haven't answered.^^
Could you check if the result is what you've expected?

Yeah! It`s ok!

Solved in #120

Thanks for your report. It's released now: https://github.com/spatie/schema-org/releases/tag/2.11.0 :)


Support for Firebird CHAR(16) CHARACTER SET OCTETS

Hi
Great application, just one issue (something like #1672)
Firebird has support for UUID fields ( CHAR(16) CHARACTER SET OCTETS ) and in editor it should present values like UUID. FlameRobin does that. You have support for binary fields bute not for char fields.
Thanks.

Please check #1672 solution. Doesn't it work for Firebird?

I have tried this, but it seems that DBeaver does not recognise these fields as binary. We use "CHAR(16) CHARACTER SET OCTETS" for these fields. So something else must be done.
Thanks.

Any progress on this issue???

Not yet.
Could you post sample DDL+INSERTs to make it easier?

There isn't any activity about this ticket very long time. It will be closed. However, if you think that it is actual just let us know.


Multi-gpu evaluation

Hi there,
Is there a way to evaluate models with multiple GPUs? It is intimidating to run over large datasets.
Thanks,
Rui

Thanks a lot for your interest in INSTRUCTOR!
We follow the evaluation of MTEB benchmark, which uses a single GPU by default. For multi-GPU evaluation on retrieval tasks, you may refer to beir repo for details.
Hope this helps!

Feel free to re-open the issue if you have further comments/questions!


fix(#631): send all false values in body if consumer does not specify…

Fixes #631
Ideally the parameter class would be redesigned to look similar to CreateContainerParameters but that would be a breaking change.

@dotnet-policy-service agree


Implemented having comments in CSV

Android XML load strings does not load comments, whereas iOS Strings loads comments. Merely trying to mirror both platform strings conversion.

@Dchau95 Thks for the contrib, just getting back from vacation, I ll have a look soon


Plant contract should track deadPruned to nerf plant as it ages

Track deadPruned count in console-demo: bc3a6d22290f2bc990d28e2149a4bd7b9837961a

Implemented as part of bb9fd90d9ed28d2e6d21ae86d5492d34c01e79ed


Metadata search on object description

Search is not very useful, you cannot search tables or fields based on table or column comments

Metadata Search can be used for tables (search goes only in an active schema https://github.com/dbeaver/dbeaver/wiki/DB-Metadata-Search)
Search within table or table column comments is not implemented. I change the ticket on feature request.

Metadata Search can be used for tables (search goes only in an active schema https://github.com/dbeaver/dbeaver/wiki/DB-Metadata-Search)
Search within table or table column comments is not implemented. I change the ticket on feature request.

刚才试了一下按照数据库元数据搜索还是不行，我的意思是说不能按照表描述或者字段描述来搜索，我用的是达梦数据库
Just now I tried to search according to the database metadata, but it still can't. I mean that you can't search according to the table description or the field description，I use the Damon database

Implemented for PostgreSQL, SQL Server, Oracle, Exasol, and MySQL

verified


arch: soc: st_stm32: Remove unused enumeration from F4, F3 SoCs

The enumerations stm32{f3,f4}x_pin_config_mode aren't used any
more. This patch removes them.
Signed-off-by: Yannis Damigos<EMAIL_ADDRESS>

If you rebase on the arm branch I will merge it there.

@galak I rebase it to arm branch.


Mistypping in media_sequence.md

images = dataset_output=['images']
labels = dataset_output=['labels']
should change to
images = dataset_output['images']
labels = dataset_output['labels']

Good catch. Will release the typo fix in the coming release. Thanks!

Thanks.
And there is another one.
 images_, labels_ = sess.run(images, labels)

to
images_, labels_ = sess.run([images, labels])

Thanks. Will do.

The documentation fixes are in https://github.com/google/mediapipe/commit/a3d36eee32999290c1461d469dc33cf63ccdf03a. Thanks!


Connect Docker Desktop to Remote Docker Dameon

I am trying to connect a remote docker daemon to my docker desktop on MAC (MBP, m1 chip), so that I can view the containers running on the remote VM on the docker desktop UI, however I am failing to connect it.
I have configured the remote daemon to listen on the port 2376, I have created and switched the context locally to the "remote_context" I created, yet the Docker Desktop is not picking up the changes. The build section does show the remote builds, but the container and volume and images section show only local images, containers, etc.

Same here
Exporting DOCKER_HOST to remote ip doesn't work at all
Even with docker.service.d/options.conf changed on remote machine


doc-packet-reorg (new packet flow diagrams)

Reorganized packet information. It contains new diagrams (the "bubbles") contained under the header Packet Flow. Keep this PR until the content and diagrams are moved toa new document.

Obsolete, replaced by PR https://github.com/Azure/DASH/pull/114.

Obsolete, replaced by PR https://github.com/Azure/DASH/pull/114.


Negative value of the counter for how long the app has been active

Avoid duplicates

[x] Bug is not mentioned in the FAQ
[x] Bug is specific for Android only, for general issues / questions that apply to iOS and Android please raise them in the documentation repository
[x] Bug is not already reported in another issue

Describe the bug
The green risk indicator box in the app reads "-5 von 14 Tagen aktiv" (-5 of 14 days active).
Expected behaviour
The number of days that the app has been active cannot be below zero.
Steps to reproduce the issue

I have downloaded the app at the release date.
I have switched off "Risiko-Ermittlung" as well as bluetooth and GPS on that same day.
I reactivated all of the above on 5th of July, 2020.
When opening the app, the negative counter occurs (Even after restarting the app or disabling and enabling "Risiko-Ermittlung" again).

Technical details

Mobile device: Samsung SM-J530F
Android version: 9
App Version 1.0.4

Possible Fix

Additional context

I have never changed any date or time settings on my phone during the last months.

[Update:]
When checking existing issues, i was searching for other entries that mentioned negative numbers.
Now I just found this entry in the FAQ: https://www.coronawarn.app/en/faq/#days_active_Android
If someone can confirm that this is the same problem, the issue can be closed i guess.

Yes your are right

The issue #796 linked in the FAQ deals with a rounding effect which causes the days counter to increase unexpectedly slow.
According to my understanding of the algorithm, I think this rounding effect cannot cause the number to become negative, so I recommend not to close this issue yet and give the maintainers a chance to assess it.

Thanks for reporting the issue. The value turning negative really seems to be a different bug than just a rounding error and should not really happen. The team will have a look.

@1ukast thank you for your input!
I tried to reproduce this issue, but could not see negative value.
Please, kindly share some more details:

Did you switch off "Risiko-Ermittlung", bluetooth and GPS after on-boarding process? Or before application main screen was shown?
Did you kill the application after first start? Or may be you just have used "Close all apps" button.
Did you turn on all the above before application start on 5th of July?

Thank you!
Best regards,
Alex

Unfortunately, I do not remember every detail.
But yes, I think I started the app at least once when bluetooth and GPS was disabled.
I often close all apps with the "Alle schließen" button. But I have not killed the application with the "Stopp erzwingen" button in the system settings or something similar.
If i remember correctly, I was not connected to any network when I opened the app yesterday (July 5th) after this long period without using the app. Since the application was complaining about a missing network connection, I was enabling mobile data then.
Is there any way that I can help you by reading out some data from my application?
Should I try if the bug persists after a reboot of the system or do I risk loosing information that could be relevant to identify/fix the bug?
Best regards.

Hi @1ukast
A reboot of you phone will not cause a loss of data in the app, so you can try that one. The only thing that you only should do as a last solution is reinstalling the app, since this will delete the tracing data if that is the only tracing app installed on your device (e.g. if you have installed SwissCovid or Immuni).
Have you manually changed the device date & time at some point in time?
Thanks,
Philipp

Hi,
my current number of days is still -5 of 14.
I rebooted the device today and it didn't change anything.
As written above, I have not changed any date&time settings before the error occured.
However, just now I was trying to play with setting different dates to see the result:
Setting it to days in the past:

any day from June 29th until today: Counter remains at -5
Setting it to June 28th: Counter is at -6
Setting it to June 27th: Counter is at -7
Setting it to June 26th: Counter is at -8
...
Setting it to June 20th: Counter is at -14
...
Setting it to June 17th: Counter is at -17
Setting it to June 16th: Counter shows -18 for a few milliseconds after opening the app, then the box turns grey and reads "Unbekanntes Risiko - Da Sie die Risiko-Ermittlung noch nicht lange genug aktiviert haben, konnten ....."

Until this point, the numbers above were reproducable when changing the date back and forth. Then I tried days in the future:

Setting it to July 13th: Counter remains at -5
Setting it to July 30th: Counter hits 14/14

From now on, I can't get any negative numbers anymore by changing the date.

Hi,
I encountered the same problem when switching to and back from the SwissCovid app.
Currently the counter shows -35 out of the last 14 days.
This roughly fits with decrementing one for every day that the app was inactive (due to usage of the SwissCovid app).
Before the switch, the app was active for longer than 14 days and the counter was behaving normally.
Updating the app, restarting or switching back and forth between SwissCovid and Corona Warn does not change anything about the counter (It might increment by 1/day again if i switch back to Corona Warn).
Currently I expect it to keep decrementing with every day I keep using the SwissCovid app -> I will give an update on this.
Mobile device: Samsung SM-G986B/DS
Android version: 10
App Version 1.2.1
Best Regards,
Mattis

Same problem here. My usage so far:

Install the app and run it for 4 days for testing.
-> correct count increasing daily
Turn it off and turn Austrian app on
-> correct count stays constant
After about 10 days, turn Austrian app off and CWA on
-> wrong count does not increase
Turn CWA off after two days
-> wrong count is at -1 10 days later

Hi all,
thanks for your details and your updates. With your input we managed to identified the issue and will fix it in an upcoming version.
Technical background: We are storing the time intervals (point in time when you deactivated it from and point in time when you activated it to) of the time when tracing is deactivated to calculate the tracing time. More details about the calculation can be found here: https://github.com/corona-warn-app/cwa-app-android/issues/796#issuecomment-652381709
We only delete an interval when the point in time of to is no longer in the past 14 days. This leads to an issue with periods where the app is deactivated for a long amount of time and the from timestamp is no longer in the last 14 days but the to timestamp is still in that last 14 days time period. In that case we take the complete duration of the deactivated time instead of the corrected duration (from should be max the point in time --> today - 14 days).
This leads to the issue that when tracing is deactivated for example for 20 days, we calculate the active tracing times like this: 14 possible days - 20 days inactive days = - 6.


tsconfig doesn't include tests

The problem with tsconfig.json not including tests is that if the library depends on the TS type libraries, then the tests can have type errors. The fix I've used is to change "includes" to ["src", "test"] in tsconfig.json and create a new tsconfig.prod.json that extends tsconfig.json but doesn't include "test", and also change the build command to run "tsc -p tsconfig.prod.json", but this should really be fixed by default.

would be nice if separate tsconfig existed, since you may not want to be as strict in tests.

This boilerplate is generally out of date, so I'd suggest avoiding it; for example, the current best practices are using @babel/preset-typescript instead of tsc to downlevel-compile, and using typescript-eslint instead of tslint.

Hopefully you can reccomend something else?


upgrade whatsapp-web.js 1.15.10

It seems that we can not pass the unit test after upgrade<EMAIL_ADDRESS>@guo40020 please make sure it could pass the test, thank you.


Update MixedRealityInputAction constructor

Overview
Updates a constructor MixedRealityInputAction to match the documented optional nature of this parameter.
This enables us to clean up some overly verbose additions of MixedRealityInputAction.None to many interaction mappings, something this constructor already takes care of.

/azp run


I have a complete working test suite with mirage and I still want to use it without triggering the api when I do the frontend development. I have to be able to create tests without to have a working api and I want to keep my tests fast during my development process but I also want to be sure my frontend works with my backend. I can create another test suite that hits the database but I want to try to use my working tests instead of redo all again.
My idea is to keep mirage methods and pass a variable when I want to do integration test like server.trigger_api = true. I started some hacks and it works a little. Here is what I do for the moment :
  // override the create method to create real records.
  server.create = function (type, options) {
    const mirage = server.build(type, options);
    const container = application.__container__;
    const store = container.lookup('service:store');
    Ember.testing = false;
    return store.createRecord(type, mirage).save();
  }

  // be sure to allow all requests
  server.passthrough();

  // before each tests I send a request to the server to destroy all records and have a clean database
  $.post('http://api.local.com:5000/clear_database')

It works for server.create but I still have to do associations methods.
What do you think about that? Is it a good idea or am I in a wrong way?

I did some work on this issue and I decided to create a Rails engine. Here is the code :
# The engine controller :

module IntegrationTests
  class ApplicationController < ActionController::Base
    def index
      render json: resource_class.all
    end

    def create
      render json: resource_class.create(attributes)
    end

    def clear_database
      if Rails.env === 'integration_test'
        Apartment::Tenant.switch!('test')
        DatabaseCleaner.clean_with :truncation
      end
    end

    # Other actions have to be done

    private

    def resource_class
      @resource_class ||= params[:model].underscore.classify.constantize
    end

    def attributes
      @attributes ||= params.require(params[:model])
        .permit!
        .to_h
        .transform_keys(&:underscore)
        .slice(*resource_class.attribute_names)
    end
  end
end

# The engine route

IntegrationTests::Engine.routes.draw do
  post "clear_database" => "application#clear_database"

  get "/:model" => "application#index"
  get "/:model/:id" => "application#show"
  post "/:model" => "application#create"
  patch "/:model/:id" => "application#update"
  put "/:model/:id" => "application#update"
  delete "/model/:id" => "application#destroy"
end

# The engine is mounted on the app

 mount IntegrationTests::Engine => "/integration_tests"

I want to do ajax calls for mirage methods. server.create will send a post action for example. Before each tests, the action "clear_database" will be triggered to have a clean state. After that, each calls done by the app will hit the real api.
What you think?
I will do more work on this issue once we have a clear idea of what we want.

Hi,
Nearly one year later, I still needs this kind of behavior but didn't implemented a stable solution yet. I have a few times for this in the next days but I need to have some feedback.
I have an alternative idea. We can generate an array which represents the requests we send to the api. For example, each time we do a POST, it will store the call in a hash with the URL, the parameters and the result. After that, we will be able to do a copy and paste in some tests in the api.
@samselikoff your opinion is appreciated. I watched the series about ember-cli-mirage you did on EmberMap but I think it doesn't solve the problem of integration with an API.
What you think?


Cloudformation doesnt support a handler containing a period

Cloudformation doesnt support a period in the handler, rename it to an underscore to work around this limitation

This will be a breaking change so not sure how open you'll be to accepting this as is. If you have any suggestions to make this change acceptable let me know.

Thank you for your contribution. We have reviewed this pull request and decided to not merge it since it does not fit in the current version of the integration. Regards Adyen Product Management


Update for pino@5

Part of https://github.com/pinojs/pino/issues/1762.

CI doesn't seem happy

CI doesn't seem happy

Yeah. See my inline review comment.

I give up for now. node:test in v16 doesn't include t.after so tspl isn't usable. But we need tspl to assert the planned number of assertions. This PR has completely convinced me that the functionality belongs in node:test and the reasoning of "we want all assertion libraries to work" is a cop out.


Signing the binary?

I, as would others, I'm sure, would be open to signing this project's binary.
Let me know know if there are plans for that, or if there's a fund I can contribute to for the Yak to get its own dev account.

I never looked into this but as yakyak becomes more and more popular i can see how it would help.

Still relevant, for example my corporate policy prevents users from installing unsigned binaries.

I've posted pull request #768 which should enable signing binaries when built on a Mac. What's the build process for releases? Are they built manually or by Travis?

They are built by Travis


Update readme to include version information

As discussed in https://github.com/Kong/kong-plugin-aws-lambda/issues/17
This plugin is only bundled with Kong 2.0(RC) and higher. It can be hard to figure this out.

adding notes like this will increase the maintenance burden because we have to cross reference between repo's. Additionally this would only solve things for this plugin, but not for many others.
So best way will always be to check the rockspec file for the version of Kong you're using to see what version is included.


Remove unused interface functions

Pull Request Test Coverage Report for Build 3235

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build 3232:
0.0%

Covered Lines:
699

Relevant Lines:
699

💛  - Coveralls


needs libblas but that wasn't explicit before

Checklist

[x] Used a fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

@conda-forge-admin please rerender

Hi! This is the friendly automated conda-forge-linting service.
I wanted to let you know that I linted all conda-recipes in your PR (recipe) and found some lint.
Here's what I've got...
For recipe:

The recipe license should not include the word "License".

This looks ready to merge! The macOS build isn't updated here but shows successful when followed through.


Xash3D-fwgs not working

I installed the Xash3D-FWGS port, and I moved the "valve" folder into the roms, but whenever I try to start it up, it crashes. What should I do?

Also, I want to point out that the raspberry pi port ignores the resolution commands and just plays at the resolution you have the pi set to. So if you want to play at 720p, you need to have the pi running at 720. It is a bit of a bummer to have to compromise, but the pi can't keep up with Half-Life at 1080p.

I went ahead and created a pull request for my cobbled together solution.