I had a cloud flare deployment issue and successfully visited 404 for help

Below is the deployment log file where I have given the important places, as well as the sensitive information used instead of *
2023-09-09T09:14:24.011579Z	Cloning repository...
2023-09-09T09:14:25.119025Z	From https://github.com/****/****
2023-09-09T09:14:25.119839Z	 * branch            008f97909c238d70c6abf0ddab807f1b8b825705 -> FETCH_HEAD
2023-09-09T09:14:25.120053Z
2023-09-09T09:14:25.209694Z	HEAD is now at 008f979 Update .gitmodules
2023-09-09T09:14:25.210359Z
2023-09-09T09:14:50.467106Z	Submodule 'content'<EMAIL_ADDRESS>registered for path 'content'
2023-09-09T09:14:50.468172Z	Cloning into '/opt/buildhome/clone/content'...
2023-09-09T09:14:50.46837Z	Submodule path 'content': checked out ''
2023-09-09T09:14:50.468517Z
2023-09-09T09:14:50.515248Z	Success: Finished cloning repository files
2023-09-09T09:14:51.197797Z	Detected the following tools from environment<EMAIL_ADDRESS><EMAIL_ADDRESS>2023-09-09T09:14:51.19859Z	Installing project dependencies: npm clean-install --progress=false
2023-09-09T09:15:01.043692Z
2023-09-09T09:15:01.044324Z	added 456 packages, and audited 458 packages in 8s
2023-09-09T09:15:01.044529Z
2023-09-09T09:15:01.044702Z	158 packages are looking for funding
2023-09-09T09:15:01.044853Z	  run `npm fund` for details
2023-09-09T09:15:01.045928Z
2023-09-09T09:15:01.046134Z	found 0 vulnerabilities
2023-09-09T09:15:01.065716Z	Executing user command: npx quartz build
2023-09-09T09:15:03.272653Z
2023-09-09T09:15:03.273694Z	 Quartz v4.0.10
2023-09-09T09:15:03.274155Z
2023-09-09T09:15:05.352765Z	Cleaned output directory `public` in 3ms
2023-09-09T09:15:05.559874Z	Found 1752 input files from `content` in 207ms
...........
2023-09-09T09:15:52.808848Z	LaTeX-incompatible input and strict mode is set to 'warn': Unicode text character "；" used in math mode [unicodeTextInMathMode]
2023-09-09T09:15:57.691475Z	Parsed 1752 Markdown files in 52s
2023-09-09T09:15:57.693738Z	Filtered out 0 files in 2ms
2023-09-09T09:16:20.338097Z	Emitted 4494 files to `public` in 23s
2023-09-09T09:16:20.338634Z	Done processing 1752 files in 1m
2023-09-09T09:16:20.544104Z	Finished
2023-09-09T09:16:20.545213Z	Note: No functions dir at /functions found. Skipping.
2023-09-09T09:16:20.545691Z	Validating asset output directory
2023-09-09T09:16:21.925674Z	Deploying your site to Cloudflare's global network...
2023-09-09T09:16:29.051429Z	Uploading... (0/4493)
2023-09-09T09:16:38.900447Z	Uploading... (105/4493)
2023-09-09T09:16:40.034089Z	Uploading... (177/4493)
2023-09-09T09:16:41.135273Z	Uploading... (322/4493)
2023-09-09T09:16:48.572734Z	Uploading... (892/4493)
2023-09-09T09:16:49.230742Z	Uploading... (1243/4493)
2023-09-09T09:16:49.512434Z	Uploading... (2506/4493)
2023-09-09T09:16:53.166986Z	Uploading... (4493/4493)
2023-09-09T09:16:53.167704Z	✨ Success! Uploaded 4493 files (24.86 sec)
2023-09-09T09:16:53.168007Z
2023-09-09T09:16:53.696098Z	✨ Upload complete!
2023-09-09T09:16:56.589334Z	Success: Assets published!
2023-09-09T09:16:57.999447Z	Success: Your site was deployed!

After deploying the connection successfully: 404 Either this page is private or doesn't exist.
My files are in the content folder, and it is a submodule, and the submodule has files
I would be grateful if someone could point out the problem

I found that direct access to the path name does not work, but requires a specific file path

The new discovery is that vercel can be deployed and directed directly to the home page, which cloudflare  cannot. My home page file has a YAML header called permilialink: /

Do you have an index.md file in the root of the content folder?

Closing as resolved.


Need position in bindView

Lots times I find that I need to display according to the position, e.g. choice 1, choice 2. Should pass down to bindView.

https://github.com/mikepenz/FastAdapter/issues/540


Update last update date

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

This seems like a small (but important) contribution, so no contribution license agreement is required at this point. Real humans will now evaluate your PR.

TTYL, AZPRBOT;


[0.44.0] Running the Docker package on a Synology NAS

I have pulled the latest (0.44.0) docker image with the docker pull ghcr.io/floppy/van_dam:latest command on a Synology NAS from the CLI and created a container using the Docker GUI. Trying to start the container however is unsuccessful and generates the following error log:
2023-05-31T10:12:11.242437805Z | stdout | from bin/rails:4:in `<main>'
2023-05-31T10:12:11.242368155Z | stdout | from /usr/src/app/vendor/bundle/ruby/3.1.0/gems/bootsnap-1.16.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:32:in `require'
2023-05-31T10:12:11.242296035Z | stdout | from /usr/src/app/vendor/bundle/ruby/3.1.0/gems/bootsnap-1.16.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:32:in `require'
2023-05-31T10:12:11.242201095Z | stdout | from /usr/src/app/vendor/bundle/ruby/3.1.0/gems/railties-<IP_ADDRESS>/lib/rails/commands.rb:3:in `<main>'
2023-05-31T10:12:11.241478584Z | stdout | from /usr/src/app/vendor/bundle/ruby/3.1.0/gems/bootsnap-1.16.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:32:in `require'
2023-05-31T10:12:11.241394694Z | stdout | from /usr/src/app/vendor/bundle/ruby/3.1.0/gems/bootsnap-1.16.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:32:in `require'
2023-05-31T10:12:11.241313614Z | stdout | from /usr/src/app/vendor/bundle/ruby/3.1.0/gems/railties-<IP_ADDRESS>/lib/rails/command.rb:3:in `<main>'
2023-05-31T10:12:11.241241724Z | stdout | from /usr/src/app/vendor/bundle/ruby/3.1.0/gems/bootsnap-1.16.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:32:in `require'
2023-05-31T10:12:11.241169834Z | stdout | from /usr/src/app/vendor/bundle/ruby/3.1.0/gems/bootsnap-1.16.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:32:in `require'
2023-05-31T10:12:11.241076454Z | stdout | from /usr/src/app/vendor/bundle/ruby/3.1.0/gems/activesupport-<IP_ADDRESS>/lib/active_support.rb:26:in `<main>'
2023-05-31T10:12:11.241006484Z | stdout | from /usr/src/app/vendor/bundle/ruby/3.1.0/gems/bootsnap-1.16.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:32:in `require'
2023-05-31T10:12:11.240922284Z | stdout | from /usr/src/app/vendor/bundle/ruby/3.1.0/gems/bootsnap-1.16.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:32:in `require'
2023-05-31T10:12:11.240854494Z | stdout | from /usr/local/lib/ruby/3.1.0/securerandom.rb:41:in `<main>'
2023-05-31T10:12:11.240758914Z | stdout | from /usr/local/lib/ruby/3.1.0/securerandom.rb:42:in `<module:SecureRandom>'
2023-05-31T10:12:11.240642604Z | stdout | from /usr/local/lib/ruby/3.1.0/securerandom.rb:75:in `singleton class'
2023-05-31T10:12:11.240102804Z | stdout | /usr/local/lib/ruby/3.1.0/securerandom.rb:75:in `urandom': failed to get urandom (RuntimeError)
2023-05-31T10:12:08.961874127Z | stdout | Preparing database...

Is this a Synology specific error, or am I missing some configuration, environment variables or dependencies?

Looks like this might be a bug in Ruby or bundler. I'll update the versions and you can try the nightly tag once I've done so.

https://github.com/Floppy/van_dam/pull/1247 may help. It should be in tonight's nightly image, so maybe see if that helps.

@mvkalsbeek did the nightly image help at all?

@mvkalsbeek did the nightly image help at all?

Not at the time of that post. It works fine on a Windows machine, doesn't seem to work on Synology. The nightly gave the same error log as the 0.44 image. Will try the latest nightly asap!

I just realised I broke nightly, so hold on for another night :)

FWIW I have 0.47.1 running on Synology DSM 7.2 via a Docker container. I had to run docker-compose at the CLI due to the Container Manager app not supporting ghcr.io as a source for binaries (and also to create my admin user from the rails console), but apart from that, looks good.

I'll do a quick post about it somewhere and let you know.

I've got some brief instructions on how I got up-and-running on Synology here.

There's more detail on successful setup in #1471 which should roll into any documentation.

Interesting, error is failed to get urandom. I found this similar report on Synology, Docker, and Ruby 3.1, probably a new issue related to that: https://github.com/pglombardo/PasswordPusher/discussions/647. I'll have a look.

@mvkalsbeek could you try the test in this comment on your NAS, see if it throws the same error? https://github.com/pglombardo/PasswordPusher/discussions/647#discussioncomment-4786331

@mvkalsbeek I've opened a separate issue for this: #1766

Sorry, it didn't need a new issue, it's the same as your original report. Ignore me.

I came across @mariushosting's instructions for Synology (now linked from the website), and he confirms that the urandom problem is an issue with Synology kernels below version 4. @mvkalsbeek I guess yours is running version 3? From his troubleshooting guide at https://mariushosting.com/synology-common-docker-issues-and-fixes, I'm not sure there's anything we can do... you were originally installing v0.44.0 when you hit the problem, which didn't have the mittsu dependency, so it's not that. There may be something we can remove to avoid it, but I've no idea what it might be, and it would have to be pretty deep in the core. This might be impossible for us to fix, I'm afraid.
I'm closing it on the assumption you're on a too-old kernel, but if you're on v4 and it looks like it should work, feel free to reopen.

Looking around, the same issue has cropped up on nextcloud, xibo, postal and no doubt many others. It looks like it might be possible to build your own docker image based on a different base distribution; some nextcloud people used buster, and there is a Ruby 3.0-buster base image which could work perhaps. We're on 3.2 now, so you might need to change the versions in the Gemfile and .ruby-version back to 3.0, but it should still work fine. If you fancy it.

Actually, the nextcloud thread implies that bullseye might work too, just not bookworm, so you could try building with the ruby:3.2-bullseye base image - no other changes needed in that case, just change https://github.com/manyfold3d/manyfold/blob/c40cc05b0960ab79723c093d3c3b7a80adc45327/Dockerfile#L1 to FROM ruby:3.2-bullseye AS build, build the image, and see if it works!
(I'm assuming some experience with building docker images here, apologies if that's not helpful)

If you try and it does work, then I could set up a docker build to create a bullseye-based image automatically, at least until they stop supporting it with new Ruby base images.

If you try and it does work, then I could set up a docker build to create a bullseye-based image automatically, at least until they stop supporting it with new Ruby base images.

Can you make it as i have the same issue and no knowledge to do it :D

Your NAS Have and old kernel 3x Kernel. Just buy a new NAS.

Your NAS Have and old kernel 3x Kernel. Just buy a new NAS.

if i had the funds to do it i would


Doesn't work on ElastiCache

redis.exceptions.ResponseError: unknown command 'CONFIG'
I think this is because ElasticCache comes with come commands disabled. Is this step critical?

Yes, this step is not critical and should be skipped is command disabled.


brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1)

Information

**Apktool Version = 2.4.1
**Operating System = Windows 10 64bit + Java 64Bit
**APK From? Other

I: Using Apktool 2.4.1
I: Copying C:\Users\Elementarvodka\AppData\Local\Temp\apk-editor-studio\apk{80a9ec26-ffbc-4f7b-9906-a6d953903f0d} classes.dex file...
I: Copying C:\Users\Elementarvodka\AppData\Local\Temp\apk-editor-studio\apk{80a9ec26-ffbc-4f7b-9906-a6d953903f0d} classes2.dex file...
I: Building resources...W: res\drawable-xxxhdpi\icon_22 (2).png: Invalid file name: must contain only [a-zA-Z0-9$.]. Ignoring...
W: res\drawable-xxxhdpi\icon_22 (2).png: Invalid file name: must contain only [a-zA-Z0-9$.]. Ignoring...
W: res\drawable-xxxhdpi\icon_22 (2).png: Invalid file name: must contain only [a-zA-Z0-9$_.]. Ignoring...
brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [C:\Users\ELEMEN~1\AppData\Local\Temp\brut_util_Jar_2308381078335587559.tmp, p, --forced-package-id, 127, --min-sdk-version, 15, --target-sdk-version, 28, --version-code, 454021, --version-name, 2.19.360, --no-version-vectors, -F, C:\Users\ELEMEN~1\AppData\Local\Temp\APKTOOL212154241242535661.tmp, -e, C:\Users\ELEMEN~1\AppData\Local\Temp\APKTOOL4009780531666491095.tmp, -0, arsc, -I, C:\Users\Elementarvodka\AppData\Local\apk-editor-studio\frameworks\1.apk, -S, C:\Users\Elementarvodka\AppData\Local\Temp\apk-editor-studio\apk{80a9ec26-ffbc-4f7b-9906-a6d953903f0d}\res, -M, C:\Users\Elementarvodka\AppData\Local\Temp\apk-editor-studio\apk{80a9ec26-ffbc-4f7b-9906-a6d953903f0d}\AndroidManifest.xml]
someone got a solution?

I don't think parenthesis are allowed in resource names. Generally Android is requiring no symbols all lowercase, but Apktool for backward compatibility extends this to uppercase and even adds in $ for old compatibility.
We can't just allow any character, because Android is indeed become more restrictive for resource names.
So there is no bug here. The resource names are invalid that were presented.

Excuse me, have you fix this issue, would you share the solution? Thanks


STORM-1153 Use static final instead of just static for class members

Along with making static variables, I have also cleaned up the code in those files. Especially around reducing code verbosity by using Generic Type Inference.

+1 the changes look good.

@harshach I just noticed that this has already been merged in, but the JIRA was not closed and this pull request was also not closed, there also was no vote on it.  Could you resolve the JIRA and see if you can find a way to close this pull request?

@revans2 Sorry. I thought I already gave my +1 on this. Not sure why the PR isn't closed. retroactive +1 on this.

@sureshms can you please close the PR.

@harshach I am not concerned about it.  The change is good and I assumed you had giving it a +1 just simply by checking it in.  I just wanted to be sure things got cleaned up and @sureshms got credit for his work.


The false error 'The S3 bucket does not exist'

It errored as below, but actually it was observed some temporary files created on the specified S3 bucket and data was populated into Redshift. So the question is what does the error mean and why it arose?

16/02/04 08:23:49 ERROR Utils$: The S3 bucket lwang-bucket does not exist

16/02/04 08:24:08 INFO FileOutputCommitter: Saved output of task 'attempt_201602040824_0005_m_000003_0' to s3n://lwang-bucket/profiling_temp/b1ae2bab-ab51-436e-a383-26cd0a962925/_temporary/0/task_2016
02040824_0005_m_000003
16/02/04 08:24:09 INFO FileOutputCommitter: Saved output of task 'attempt_201602040824_0005_m_000001_0' to s3n://lwang-bucket/profiling_temp/b1ae2bab-ab51-436e-a383-26cd0a962925/_temporary/0/task_2016
02040824_0005_m_000001

I believe that this is a false-positive; I'm fixing this in #177.

Thanks for the quick fix. When is it going to have a new release with this fix? Or is there a way to have an early private release?

Optimistically I'd like to do a release "soon." In the meantime, though, you can publish a custom version yourself using SBT.


Could not resolve android-secure-biometrics v0.04

Hello,
When trying to use the plugin, I couldn't compile my app because of this error:
FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:checkDebugAarMetadata'.
> Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
   > Could not find com.github.prongbang:android-secure-biometric:0.04.
     Searched in the following locations:
       - https://dl.google.com/dl/android/maven2/com/github/prongbang/android-secure-biometric/0.04/android-secure-biometric-0.04.pom
       - https://repo.maven.apache.org/maven2/com/github/prongbang/android-secure-biometric/0.04/android-secure-biometric-0.04.pom
       - https://storage.googleapis.com/download.flutter.io/com/github/prongbang/android-secure-biometric/0.04/android-secure-biometric-0.04.pom
       - https://jcenter.bintray.com/com/github/prongbang/android-secure-biometric/0.04/android-secure-biometric-0.04.pom
     Required by:
         project :app > project :local_auth_crypto

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 24s
Exception: Gradle task assembleDebug failed with exit code 1

I says that the library android-secure-biometrics version 0.04 could not be found anywhere, is this a bad version/name?
Here's my Flutter doctor if it can help;
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel master, 3.10.0-16.0.pre, on Fedora Linux 38 (KDE Plasma) 6.2.14-300.fc38.x86_64, locale fr_FR.UTF-8)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
[✗] Chrome - develop for the web (Cannot find Chrome executable at google-chrome)
    ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.
[✓] Linux toolchain - develop for Linux desktop
[✓] Android Studio (version 2022.2)
[✓] IntelliJ IDEA Community Edition (version 2023.1)
[✓] Connected device (2 available)
[✓] Network resources

! Doctor found issues in 1 category.

Hello again,
I got my app working with the android-secure-biometrics dependency, you should add a redirection to the android-secure-biometrics's readme file to give the full onboarding steps to use the plugin.


Unable to build on Linux with X11

Hi there, thanks for the project! I wanted to give this a shot on Linux (Pop_OS! 22.04, Gnome 42) and running tauri build resulted in a compilation error on a missing crate:

For added context, my machine is already fully set up for Tauri development using Tauri's latest instructions and I have been tinkering on Tauri app development locally with no issue for a number of different projects outside of this one.
Do you have any suggestions for how to resolve this build error? Cheers!

Sorry for the delay, just went back from vacations...
Oh! I think I just forgot to add the x11 crate in the cargo.toml file 🤔.
I'll fix this tomorrow!


feat(dashboard): leaner filter indicator panel with wrapped text

SUMMARY

decreased max width of panel from 400 to 300px
text wrap on filter values (it stays next to the filter name if there's room, and flex-wraps underneath if necessary)
removed the "X Scoped Filters" title, it was a bit redundant

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

Both screenshots are after the change (can see before screenshot in #11591):

TEST PLAN

ADDITIONAL INFORMATION

[x] Has associated issue: Fixes #11591
[x] Changes UI
[ ] Requires DB Migration.
[ ] Confirm DB Migration upgrade and downgrade tested.
[ ] Introduces new feature or API
[ ] Removes existing feature or API

Codecov Report

Merging #11592 into master will decrease coverage by 5.15%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master   #11592      +/-   ##
==========================================
- Coverage   66.57%   61.42%   -5.16%
==========================================
  Files         876      420     -456
  Lines       42179    26182   -15997
  Branches     3954        0    -3954
==========================================
- Hits        28082    16082   -12000
+ Misses      13994    10100    -3894
+ Partials      103        0     -103

Flag
Coverage Δ

cypress
?

javascript
?

python
61.42% <ø> (-0.74%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

superset/db_engines/hive.py
0.00% <0.00%> (-85.72%)
:arrow_down:

superset/db_engine_specs/hive.py
53.90% <0.00%> (-30.08%)
:arrow_down:

superset/db_engine_specs/presto.py
69.76% <0.00%> (-12.53%)
:arrow_down:

superset/db_engine_specs/mysql.py
79.59% <0.00%> (-12.25%)
:arrow_down:

superset/db_engine_specs/sqlite.py
65.62% <0.00%> (-9.38%)
:arrow_down:

superset/utils/celery.py
82.14% <0.00%> (-3.58%)
:arrow_down:

superset/examples/world_bank.py
97.10% <0.00%> (-2.90%)
:arrow_down:

superset/examples/birth_names.py
96.51% <0.00%> (-2.33%)
:arrow_down:

superset/views/database/mixins.py
80.70% <0.00%> (-1.76%)
:arrow_down:

superset/result_set.py
96.69% <0.00%> (-1.66%)
:arrow_down:

... and 462 more

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 1490f30...1517cfa. Read the comment docs.

According to the newer design, the background for overlay is opaque? @junlincc @mihir @evans

The design does list it as dark colored and partially transparent, the ant design popover doesn't make that so easy though, so we decided to push that to a later enhancement


PHP 7.2 + QA Tools (follow up #14, #15, #16, #18, #19)

Resolves #20
Closes #14
Closes #15
Closes #16
Closes #18
Closes #19

Thanks, @webimpress


Error message when creating team using template

When I create a team using a provisioning template, and a logger is attached (Log4Net) The following error is reported:
ERROR  Exception while archiving/unarchiving Team with ID ae...16d. Details: Exception while invoking endpoint https://graph.microsoft.com/beta/teams/ae...16d/unarchive..
Since we use the same logging for our system, we identify this as an alert, It doesn't seem to matter which value we supply for the Archived property, the error always seems to appear.

I experience the same thing. The Team get's provisoned correctly, but this error somehow always show up.


Add helm-publish make target

According to this issue #110, we want to create a release and upload the helm charts package tarball as a release asset

LGTM, this will be executed in a postsubmit job only in release branches?
It is the idea to do so.

Hum we might have to separate the release/tag creation and the upload of the helm charts tarball because gh release create <tag> will fail the second time it will be executed (the tag would already exist).
WDYT @dgn ?


Fix compiler warnings for ARM compilation

I don't have actual ARM-based board to do a full testing, but the changes are obvious enough I think. If anyone in possession of a BBB or Phyboard or something else ARM is willing to test these, that'd be nice.

BTW, we should probably add compilation for various pre-set architectures into CI, to make sure we build those regularly, otherwise we always go over a default one and others may bitrot or at least get "dirty" like in this example of various warnings being there for a while.

@alext-mkrs I can help with doing ARM builds in Travis CI. Do you have any guidance on how to do it?

@dnoliver, you'll have to setup a docker image with a cross-compiler. Check with @pylbert, as he already has a working solution for this, at least for UPM, that was never merged upstream.

@alext-mkrs Tested the PR on 96Boards platform Dragonboard410c(ARM). A single warning gets generated for beaglebone.
/home/linaro/mraa/src/arm/beaglebone.c:379:18: warning: variable ‘uart3_enabled’ set but not used [-Wunused-but-set-variable]      unsigned int uart3_enabled = 0;
You might want to clean that as well. Other than this the build looks clean :-)

@dnoliver, what @propanu says would be the best. A simple, less than ideal, but still viable solution would be to add a line to existing configs, similar to the MOCK one. That will get this code path compiling each time at least (so we can capture such warnings or plain broken stuff).
@mani-sadhasivam, thanks a lot, that's very nice of you! That single warning is something I purposedly left out, as while we don't use that uart3 in Beaglebone, we may in the future, so I left that init code intact, even though it results in an unused variable. I've commented on this in the commit message BTW.

@arfoll, @propanu, @whbruce, if there are no objections by Saturday, I'll merge this as I think we have enough confidence.

These changes look OK to me!

Thanks @Propanu, merged.


Student Update

Thanks. Do you plan on deleting this repository after some time when we got our tshirt?

@YuKogure No, I will be keeping it for the beginners like me to understand using GitHub.
I faced many problems when I started using Git so will be improving this repository for beginners to make them understand better :)


Detect and setup IntelliJ modules & dependencies.

There seems to be only two modules created when importing bazel projects. .project-data-dir and .workspace.
For large projects this is a problem because every single class is available for discovery, even though the class may be in distant areas, and there is no bazel configuration to link the two.
Could we use package_groups and a heuristic that if a a package_group contains a package which is a parent directory, we group it into an intelliJ module? This process also sets up the dependencies between modules.
I'm still new to bazel, but have used pants. I'm trying to wrap my head around how development is supposed to feel, so perhaps there's a different way to have isolation in the IDE based on the bazel configuration? I've tried playing around with project views, but there would need to be a tool to generate new project views based on a target when switching tasks. Other ideas?

There's a fundamental mismatch between the units of compilation in IntelliJ (directories) and Bazel (targets).
Simply mapping Bazel packages to IntelliJ modules doesn't work, because:

there are cyclic dependencies between packages
IntelliJ has O(n^2) performance with the number of modules

The Bazel plugin originally did this, and we spent 2-3 quarters trying to fix all the O(n^2) bugs in IntelliJ, but eventually gave up and moved to the current single-module system (with an additional project directory module).
What actual problems are being caused by having every class available for discovery?
Generally, we handle such issues by having separate projects for disjoint parts of the code base.

The O(n^2) is a bummer, pants handles this by generating modules with some heuristic which are included in the specified target. Pretty cool you tried to fix the root cause.
hmmm, I guess what spurred me to open the issue is that it feels like I'm not getting a lot of help from IntelliJ.  Following the recommended 1 BUILD file per package is cumbersome, and hard to keep consistent.
I was expecting the intelliJ plugin to help guide best practice by lightening the burden of maintaining the bulid files. For instance, I was expecting java_library, srcs, and package_group to be auto-managed. When importing a new class, the dependency would be automatically added to the build deps if relying on classes within the same package_group (or same visibility level). When refactoring and moving files, deps updated. etc.
I realize bazel is much more flexible, and there would be lots of cases where it's not appropriate to auto-manage the build files. But for the basic feature development I was hoping for more convention tooling.
I'm still getting used to it, so maybe the plugin is doing all it can without restricting bazel features.

I'd take the 'one BUILD file per Java package' recommendations with a grain of salt. As you say, it results in a lot of extra maintenance burden (and the additional jars also worsen performance in some cases).
Have a look at the structure of this project for a possible alternative.


check if "arena of heroes" is first or second tab

If an event is happening in "Arena of Heroes" (for ex. Heroes of Esperia"), the tab to enter Arena of Heroes is second, after the one for the event.
Based on pixel colors, check the location of "Arena of Heroes" tab.
Also this computation is needed to correctly locate "Legends' Challenger Tournament" tab

This is already implemented. Run the script with the -e hoe flag and it should fix the problem. I will also push an update where by default it knows that the event is active, meaning you won't have to run it with this flag.


Support time travel queies for COW tables

Change Logs
We enabled time travel queries for COW tables based on HadoopFsRelation, which uses FG reader file format, and fixed bugs related. Changes include:
Enabled time travel queries for COW tables;
Moved file format object initialization from the constructor into a function to avoid the NULL file index error caused by lazy initialization.
Impact
Time travel queries should be more stable.
Risk level (write none, low medium or high below)
LOW since this is for 1.0.0.
Contributor's checklist

torvalds.dev is analyzing the ticket

Based on the issue description and the provided code, it seems like the issue is related to enabling time travel queries for COW (Copy-On-Write) tables based on HadoopFsRelation. The changes made include enabling time travel queries for COW tables and moving file format object initialization from the constructor into a function to avoid the NULL file index error caused by lazy initialization.
The risk level is low as this is for version 1.0.0 and the impact is that time travel queries should be more stable.
The relevant files to this issue could be:

llama_index/indices/struct_store/pandas.py: This file contains the PandasIndex class which is deprecated and it's recommended to use PandasQueryEngine instead. This class might be relevant if the time travel queries are being performed on dataframes stored in this index.

llama_index/__init__.py: This file contains the initialization of the LlamaIndex library and imports various modules and classes. It might be relevant to understand the overall structure of the library and how different components interact with each other.

As for the actions that should be taken:

Review the changes made to enable time travel queries for COW tables and ensure they are correctly implemented and do not introduce any new bugs or issues.

Test the time travel queries on different types of data and scenarios to ensure they work as expected and are indeed more stable.

Review the change made to move file format object initialization from the constructor into a function and ensure it correctly avoids the NULL file index error.

Update any code or modules that still use the deprecated PandasIndex class to use PandasQueryEngine instead.

Update the documentation to reflect these changes and provide examples or guidelines on how to use time travel queries with COW tables.

Since the risk level is low, it might be a good idea to release these changes as a beta version first to gather feedback and make any necessary adjustments before releasing it as a stable version.


Fix bug

Modify the repoisotory API call in jobservice as the API changed.
Init secret store map
Init worker pools map, or the jobservice can not start up

Coverage decreased (-0.02%) to 57.235% when pulling 0e237d8cabfcf50e9f1915de3da862baf3aef190 on ywk253100:170523_bugfix into 1c441b17bee81b4065261439d1658f40562cb5fa on vmware:master.


Fixes #1515. The tabline will no update when use ctrlspace together.

Do not update tabline when the new buffer is no add to BufferList yes.
When use airline and ctrlspace together, if there has a BufEnter autocmd execute redraw. The tabline will no update.
Here is a minimal vimrc: https://gist.github.com/tenfyzhong/4f32ac0f5b4bd19b936284a166239e06
Here is a screenshot: https://asciinema.org/a/i6CohcN8MESMU1Kiqyc6U5Iz0

open api.vim, the tabline is empty, expect: [api.vim]
edit buffers.vim, the tabline: [api.vim], expect: [api.vim, buffers.vim]

Fixes:

modify the function airline#extensions#tabline#ctrlspace#add_buffer_section.
if the current buffer is no in the buffer list, it will return 0 and no update tabline, it may recall by other event and redraw it.
If the current buffer is in the buffer list, it will return 1 and update tabline.

Fixed screenshot: https://asciinema.org/a/ueQ8aMDhlODCyxRvGnDVmPFWc

thanks!


Update overview.md

Microsoft does not support a failover to a different SCOM Managed Instance. this has been confirmed by the Product Group. I think it is important to mention this in the article. contact: Aakash Basavaraj<EMAIL_ADDRESS>or Serge Zuidinga<EMAIL_ADDRESS>

@PriskeyJeronika-MS
Can you review the proposed changes?
IMPORTANT: When the changes are ready for publication, adding a #sign-off comment is the best way to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

Hi @ShannonLeavitt, This is taken care in a different PR. Hence, pls close this PR. Thank you!

Can you let me know in which PR this is taken care of?
For me it would seem logical to have that information available today in the document I requested the change for.
This is an important piece of information when deciding which SCOM product to use.
regards,
Xander

From: PriskeyJeronika-MS @.>
Sent: 22 October 2024 06:46
To: MicrosoftDocs/azure-monitor-docs @.>
Cc: Xander Bikbergen @.>; Mention @.>
Subject: Re: [MicrosoftDocs/azure-monitor-docs] Update overview.md (PR #20)
Hi @ShannonLeavitthttps://github.com/ShannonLeavitt, This is taken care in a different PR. Hence, pls close this PR. Thank you!
—
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/azure-monitor-docs/pull/20#issuecomment-2428245113, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AP42YY3IFKGC6EFJWSSX3B3Z4XKCBAVCNFSM6AAAAABQF2JEVKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMRYGI2DKMJRGM.
You are receiving this because you were mentioned.Message ID: @.***>

i see a similar change on the live page now. closing. thanks!


Property case insensitive settings ignored when IN/OUT is used in WHERE

OrientDB Version: v2.2.17
Java Version: Java 8 Update 101
OS: macOS Sierra 10.12.14
Expected behavior
Query : SELECT name, out('InsidePlace').name AS placeName FROM Point WHERE out('InsidePlace').name CONTAINSTEXT 'c'
Query should return records with uppercase "C" because collate in property is set to Case Insensitive.
Actual behavior
Query does not return records with uppercase "C".

Steps to reproduce

Hi @petervavro
This is a duplicate of https://github.com/orientechnologies/orientdb/issues/4827
I'm closing this one, please monitor the existing issue for updates
Thanks
Luigi


Pip File... Nice

I am not filling out the template...

I am not keeping this issue open. 👍🏼


A few cosmetic improvements of the Verify Tui

crates are alphabetically sorted
numbers of owners and issues are easier to read
better column widths
no resize computations when screen didn't change size
screen is cleared on real resize to avoid artefacts

Hum... what exactly happened to the travis build here ?


how to apply model on validation set periodically during training?

I would like to apply the model on a separate validation data set at intervals during training. preferrably also watch it on TensorBoard. Does anyone know how to do that?

I think you have to set the schedule parameter in the train.py script to continuous_train_and_eval. You can also the change the frequency of such evaluation with the eval_every_n_steps parameter.

i've done that but it doesn't lead to a separate plot in TensorBoard with validation errors


Add Unit tests for RequestTimeline, RequestRecord.stage, and RequestRecord.takeSnapshot

When this issue is resolved we'll have RntbdTransportClient unit test to ensure that:

Cancellations from reactor result in request cancellations.
verifyRequestCancellations
CosmosClientException results are correct.
verifyRequestExceptions
Request stage transitions operate as expected.
verifyRequestStages
Request timelines make sense.
verifyRequestTimelines

@xinlian12  - can you please close this issue if it is already done ?

This is done in RntbdTransportClientTest


⚠ TorrentLeech has degraded performance

In 9a0b523, TorrentLeech ($TL) experienced degraded performance:

HTTP code: 200
Response time: 1418 ms

Resolved: TorrentLeech performance has improved in 44df06b after 9 minutes.


Remove CoreOS support from Terraform code

For example, Terraform code for bare-metal provider still supports CoreOS, we should remove it.

Done for bare-metal in #1246. For AWS there is a PR #1245.

After those, the last one remaining is Azure I believe.
I had a look and it seems that it doesn't use os_channel or os_version variables like the others. It expects a var.custom_image_name to be supplied.
I haven't used Azure before and not sure how the data "azurerm_image" works (compared with AWS/GCP/etc). I wasn't able to find an image lookup website to learn how we can supply our usual flatcar, channel and version variables - if such a mechanism (not only Packer) exists.

I think we can ignore Azure for now, as it is not exposed in lokoctl. We will have to fix bunch of stuff there anyway when we decide to expose it.

Finished in #1245


Remove Fix-it suggestion for unsafeBitcast

Remove Fix-it suggestion for unsafeBitcast to change it into unsafeDowncast. The compiler suggest this but on applying the fix it fails at debugPrecondition(x is T). The options were either to remove fix it entirely or apply only when we know x is T for sure. Tried to find if x is T but not able to get this data at this step of the pipeline (the dynamic type casting/ mimicking is operator using swiftDynamicCast seems to happen during runtime). Hence opted for entirely removing the fix it

Resolves SR-14943.

Guys pardon me for posting this here but would be really helpful if someone could help me resolve this issue - https://forums.swift.org/t/swift-ios-build-error-due-to-sdk-versions/54373 , Thanks


Create draft BP012

Create draft and an example for BP012, on how to annotate a score with an identity and timestamp in SBOL

Hi @tcmitchell ! Sorry , I did not mean to add those extra files, not sure why those were added, I think I fixed it, let me know otherwise, thank you!

Hi @jguillen15, thanks again for your submission. We discussed this today at the SBOL Editors meeting. We think you're on the right track, and we'd like to see a few improvements if you don't mind. We think that the BP could be generalized a bit more, and elaborated on, to discuss annotating sequences, or other SBOL classes, with metrics, not just scores. The technique you suggest is a good use of SBOL, and we'd like to see it broadened out.
We think it would also be good to include a picture. This might be a UML diagram, like the one on BP 10 or a diagram like the ones at https://www.w3.org/2018/09/rdf-data-viz/.
Additionally, would you be able to add a second example in the text, not necessarily in a notebook, to get a better sense that this is truly a best practice with broader applicability than the iGEM sequence complexity score?
Please let us know your thoughts, or if you need help.

Hi @tcmitchell , thanks for taking the time for reviewing the proposal.
I will try my best to incorporate these improvements that you talked about.
Is there a specific software I can use to make the UML diagrams?
Thank you

@jguillen15 We've often used Umlet: https://www.umlet.com/

Thanks @jakebeal !

Hi @tcmitchell , sorry for the delay in my response.
I added the UML diagram of the proposed BP and also changed a little bit its description.
I talked to my team and decided that we don't intend to propose a generalized method for annotating all possible scores or metrics in SBOL, for now our purpose is only to record a way in which we could store a complexity score(not necessarily from iGEM)
I understand that the procedure could be broadened out, but for now it is out of the scope for us.
Please let me know your thoughts.
Thank you!

@jguillen15 this looks great to me. There is one last thing to do. Please add your new best practice to the list in SBOL/best-practices/README.md so that others will find it more easily.
Thanks!

Hi @tcmitchell , thanks!
I added BP012 in SBOL/best-practices/README.md.
Let me know if there is anything else to do.
Thank you.


fix DHCP constants

A few of the DHCP option constants were wrong.  See RFC 2132 for the definitive list of option codes.

@m-labs-homu r+

:pushpin: Commit e3621ac has been approved by whitequark

:hourglass: Testing commit e3621acd26f3f80a37732925a2999efbfc9efbcb with merge 42780f311fa977e8f25e6f9c2e46e59ec7c0d2f6...

:sunny: Test successful - status-travis
Approved by: whitequark
Pushing 42780f311fa977e8f25e6f9c2e46e59ec7c0d2f6 to master...


[continuous-integration] initial migration to GitHub actions

GitHub Actions offers many more parallel build jobs than Travis CI.
Also cleaned up scripts in the transition.
This should reduce the check time to around 30 minutes.

@jwhui Where to check the GitHub actions results?

@jwhui Where to check the GitHub actions results?

I don't think you will see them until the PR is merged.

For the time being, we will redundantly run both Travis CI and GitHub Actions. Once we are comfortable with GitHub Actions, we can start to disable Travis CI tests.

@jwhui Where to check the GitHub actions results?

I don't think you will see them until the PR is merged.

You can see the GitHub Action status here:

https://github.com/openthread/openthread/action

And on a PR here:

#4730


Fix teardown userkernels rebase develop

Fixes:

two issues in https://github.com/clMathLibraries/clBLAS/issues/172
one issue inhttps://github.com/clMathLibraries/clBLAS/issues/169

(note: the plethora of extra commits is because this is rebased on timmyliu/develop, and timmyliu/develop hasnt been merged onto amd/develop yet)

Thanks!


Add support for new ReCaptcha beta

There is a new ReCaptcha API currently undergoing beta testing. This adds support for that API.

I'm using reCaptcha with the new version basically the change is the new field name "g-recaptcha-response" and the validation URL recaptcha/api/siteverify.
I can create another PR to resolve this issue or continue in this thread?


Call to deprecated method loadRevision() of class Drupal\Core\Entity\EntityStorageInterface

Bug report
  x    Call to deprecated method loadRevision() of class Drupal\Core\Entity\EntityStorageInterface:
         in drupal:10.1.0 and is removed from drupal:11.0.0. Use
         \Drupal\Core\Entity\RevisionableStorageInterface::loadRevision instead.

Using phpstan-drupal 1.1.36
Code snippet that reproduces the problem
/** @var \Drupal\Core\Entity\ContentEntityStorageInterface $storage */
$storage->loadRevision(1);

I think this is fixed previously already in #576 but only for RevisionableStorageInterface. I think the issue lies in the way that ContentEntityStorageInterface inherits its interfaces separately with EntityStorageInterface and TranslatableRevisionalStorageInterface which then inherits RevisionableStorageInterface which then inherits EntityStorageInterface. I think perhaps that additional EntityStorageInterface on the ContentEntityStorageInterface gets in the way

Are you able to add stubs to your project to test out if additional stubs are needed?
This is enough of a data sample to add a proper test here. I thought I did, maybe I was lazy and didn't

I tried to add stub for ContentEntityStorageInterface but to no avail. I think maybe this might extend into issues with @not-deprecated where there is multiple inheritance paths because ContentEntityStorageInterface extends from both EntityStorageInterface and TranslatableRevisionableStorageInterface with the EntityStorageInterface specified first. No matter what I did in the stub files (adding @not-deprecated for loadRevision in all of them for example) I would still get the deprecation error.

could we hack core and see if reversing the order of implementing the interfaces fixes things? I'm still seeing this. Will probably just ignore the warnings since it is a false positive, but it would be nice to fix this more properly.

could we hack core and see if reversing the order of implementing the interfaces fixes things? I'm still seeing this. Will probably just ignore the warnings since it is a false positive, but it would be nice to fix this more properly.

I recall trying various combinations including removing inheritance and different inheritance and I THINK also reordering etc but to no avail - wasn’t sure if a cache was kicking in but do remember using debug mode - just ran out of available time to trace it. Worth someone doing some digging

could we hack core and see if reversing the order of implementing the interfaces fixes things? I'm still seeing this. Will probably just ignore the warnings since it is a false positive, but it would be nice to fix this more properly.

To clarify I think I only messed with stubs and not core files - or if I did only minor tweaks like to drop the additional interface. Definitely worth digging into.

I just realized we could have a proper test for this by scanning some Drupal core code.
With #595 this showed up in the baseline test. So the PHPUnit test would need to scan one of those files and we can try to fix it.

I'm still getting this error even on 1.2.0.
An example line that is triggering it in our custom code:
$paragraph = Drupal::entityTypeManager()->getStorage('paragraph')->loadRevision($paragraph['target_revision_id']);

I'm running into this issue as well, using PHPStan Drupal 1.2.10. I got false positive for both loadRevision and deleteRevision.


Rebase dev again

@janwestphal306 What is the purpose of this PR? Do you want to reorder or squash commits?


DOC: fix 1.4.0 release notes

formatting fixes to 1.4.0 release notes
to alleviate warnings/CI failure

I tested/reproduced/fixed locally---hopefully CI agrees.
Original PR with circleCI failure: https://github.com/scipy/scipy/pull/11061

Yep, that worked!


[WIP] feature: add editing PoS screen and update routes redirect for Windows

It closes #1085 and #1048

The branch will be here as a reference. After Genesis it will be easy to implement


[devops:bot] update deps in nix/sources.json (from: rhino-core@c4d9c45

update nix refernces for rhino-core and|or nixpkgs to match https://github.com/rhinofi/rhino-core/blob/c4d9c45f89d3e7689999edecc85014ca4a91e71d/nix/sources.json (branch: dev)

superseded by #43


Improve native performance by using the template element

Per https://twitter.com/TimvdLippe/status/965322789942169602 template is a lot faster and dynamically creating DOM. CC @robdodson
P.S. There are no instructions in the repository on how to reproduce the benchmark results you posted in https://twitter.com/julienrenaux/status/965168453748428800 Could you add these instructions to the README? When I run LightHouse on this branch, I get a 99 performance score with "First Meaningful Paint" of 1340ms.

thank you. Will upload the lighthouse tests ASAP. Since they are ran locally, you will get different results than mine for sure. The gaps between implementations are important, not the actual numbers.

const lighthouse = require('lighthouse');
const chromeLauncher = require('chrome-launcher');
const _find = require('lodash/find');
const _set = require('lodash/set');

const config = {
    "extends": "lighthouse:default",
    "settings": {
        "onlyCategories": ["performance"]
    },
    "categories": {
        "performance": {
            "weight": 1
        }
    }
};

function launchChromeAndRunLighthouse(url, flags = {}, config = null) {
    return chromeLauncher.launch(flags).then(chrome => {
        flags.port = chrome.port;
        return lighthouse(url, flags, config).then(results =>
            chrome.kill().then(() => results));
    });
}

const flags = {
    chromeFlags: ['--headless']
};

const endpoints = ['native', 'stencil', 'polymer2', 'angular-elements', 'vue'];
const results = {};
const tryNumber = 5;

let promises = Promise.resolve();
for (let i = 0; i < endpoints.length; i++) {
    const endpoint = endpoints[i];
    _set(results, `[${endpoint}].performance`, []);
    _set(results, `[${endpoint}].fmp`, []);

    for (let j = 0; j < tryNumber; j++) {
        promises = promises.then(() => {
            console.log(`running: https://wc-todo.firebaseapp.com/${endpoint}`);
            return launchChromeAndRunLighthouse(`https://wc-todo.firebaseapp.com/${endpoint}`, flags, config);
        }).then(r => {
            const perf = r.reportCategories[0].score;
            const fmp = _find(r.reportCategories[0].audits, { "id": "first-meaningful-paint" }).result.rawValue;
            console.log(perf, fmp)
            results[endpoint].performance.push(perf);
            results[endpoint].fmp.push(fmp);
        });
    }
};
promises.then(() => {
    Object.keys(results).forEach(endpoint => {
        const { performance, fmp } = results[endpoint];
        const perf = Math.round(performance.reduce((previous, current) => {
            return previous + current;
        }, 0) / tryNumber);
        const firstMeaningfull = Math.round(fmp.reduce((previous, current) => {
            return previous + current;
        }, 0) / tryNumber);
        console.log(`-----${endpoint}-----`)
        console.log('performance note', perf)
        console.log('first-meaningful-paint', firstMeaningfull + ' ms')
    });
})

thank you for doing this @TimvdLippe, you rock!!!

I deployed, does not change anything. One thing that could potentially help the first meaning full paint though is to optimize the render method of my-todo https://github.com/shprink/web-components-todo/blob/master/native/js/my-todo.js#L50-L64
So far native is less fast than Skate, Polymer and Stencil:

Do you think you can get a crack at it @TimvdLippe ?
thanks very much

@shprink I think the benchmark is skewed, as other factors are more likely at play. For example view-source:https://wc-todo.firebaseapp.com/stencil/ shows that Stencil only loads 1 build file while native has 3 roundtrips to the 3 different files. If you would like to have comparable results, I think you have to eliminate these discrepancies. It is strictly impossible to have a faster response with an abstraction rather than the written out and optimized native version.
For example, you can easily pre-render with native web components. However, with native you pay an extra cost of shipping the extra HTML bytes, which is not included in First Meaningful Paint, but is in full load. To improve this benchmark, factors such as number of network roundtrips, all pre-rendering or none and an efficient implementation either with functional + vdom or imperative without vdom should be standardized between all implementations.

The goal of this repo is to show what you get out of the box. "As a new WC developer, with what technology do I get the most benefit out of the box?", "what WC syntax I am the most confortable using?" that's the kind of questions this repo is trying to answer.
I do not see the point comparing:

"an efficient implementation either with functional + vdom or imperative without vdom should be standardized between all implementations."

At the end they all export WC, the results would be similar.
I am going to bundle the 3 components together you are right on this.

Better results when bundled:


Clone does not copy over most properties

Clone right now is just copying over the rows and columns. It should at the very least copy over settings like forceSingleThread and workerSource.

Another issue is when using raw and display values. DataWorkerHelper will only ever return the display value, which will break clones. This makes copying data manually not possible either.


Add macOS 10.13 (High Sierra) Support

Updated crash wrangler to work with the latest Xcode under 10.13
Fixed MSG_NOSIGNAL flag compatibility

Btw, forgot to mention that the crashwrangler binary has been download from the official Apple website.


fetch version from server instead of properties

Affects: all versions.

It is better to fetch the sonar version from the instance to avoid user mistakes. Also there is a bug where the configuration entered at the UI can get out of order with the properties file.

@fidelcoria-aa This branch is out-of-date with the base branch - could you update please?

 For the user to save the version through the UI? or for the code to save the version to DB?

For the code to save the version to the DB ^

No. version is fetched every time collector runs.

Thank you!

@fidelcoria-aa could you make a change so that the default is 5.x, instead of 6.x?  The current version doesn't work for sonar 5.x.


Some tests are failing on Windows

TargetClosedError
https://github.com/eggplants/deepl-cli/actions/runs/6988887235/job/19017360942
I do not have a Windows environment at hand, so it is unconfirmed whether the problem is only on Actions.

does not work win11 either if u need debug i can help, have no coding skills tho

Thank you! If you can, please take a movie while running below commands.
# on wsl or cygwin
git clone https://github.com/eggplants/deepl-cli
cd deepl-cli
sed 's/headless = True/headless = False/' deepl/deepl.py > _; mv _ deepl/deepl.py
poetry install && poetry run deepl --to ja -s <<<'test'

https://github.com/eggplants/deepl-cli/blob/efcd42239d68753b0f735bbb61ad13b7d71770dc/deepl/deepl.py#L185

@eggplants here

Please share your poetry --version and poetry run deepl --version. Your poetry environment is something wrong.


catkin_make problem while installing iai_kinect2

I have been following the install guide and ran into issues building iai_kinect2. Protonect works fine on my computer. After cloning, calling "rosdep install -r --from-paths ." returns #All required rosdeps installed successfully.
When I then try catkin_make, I am given a string of errors related to what looks like libfreenect2 dependencies. I am new to ROS. Any idea what I might be doing wrong? Thanks!
/home/rshanor/catkin_ws/src/iai_kinect2/kinect2_bridge/src/kinect2_bridge.cpp: In member function ‘void Kinect2Bridge::initConfig(bool, bool, double, double)’:
/home/rshanor/catkin_ws/src/iai_kinect2/kinect2_bridge/src/kinect2_bridge.cpp:400:5: error: ‘Config’ is not a member of ‘libfreenect2::Freenect2Device’
libfreenect2::Freenect2Device::Config config;
^
/home/rshanor/catkin_ws/src/iai_kinect2/kinect2_bridge/src/kinect2_bridge.cpp:400:43: error: expected ‘;’ before ‘config’
libfreenect2::Freenect2Device::Config config;
^
/home/rshanor/catkin_ws/src/iai_kinect2/kinect2_bridge/src/kinect2_bridge.cpp:401:5: error: ‘config’ was not declared in this scope
config.EnableBilateralFilter = bilateral_filter;
^
/home/rshanor/catkin_ws/src/iai_kinect2/kinect2_bridge/src/kinect2_bridge.cpp:405:13: error: ‘class libfreenect2::Freenect2Device’ has no member named ‘setConfiguration’
device->setConfiguration(config);
^
/home/rshanor/catkin_ws/src/iai_kinect2/kinect2_bridge/src/kinect2_bridge.cpp: In member function ‘void Kinect2Bridge::initConfig(bool, bool, double, double)’:
/home/rshanor/catkin_ws/src/iai_kinect2/kinect2_bridge/src/kinect2_bridge.cpp:400:5: error: ‘Config’ is not a member of ‘libfreenect2::Freenect2Device’
libfreenect2::Freenect2Device::Config config;
^
/home/rshanor/catkin_ws/src/iai_kinect2/kinect2_bridge/src/kinect2_bridge.cpp:400:43: error: expected ‘;’ before ‘config’
libfreenect2::Freenect2Device::Config config;
^
/home/rshanor/catkin_ws/src/iai_kinect2/kinect2_bridge/src/kinect2_bridge.cpp:401:5: error: ‘config’ was not declared in this scope
config.EnableBilateralFilter = bilateral_filter;
^
/home/rshanor/catkin_ws/src/iai_kinect2/kinect2_bridge/src/kinect2_bridge.cpp:405:13: error: ‘class libfreenect2::Freenect2Device’ has no member named ‘setConfiguration’
device->setConfiguration(config);

Hi, please make sure to use the most recent version of libfreenect2.

Yup, that fixed it. Thanks!


rabbitmq + node + macOS doesn't connect

One of our users reported that when using rabbitmq (3.9.5) + Node v20 + macOS it fails to connect.
When I tried to reproduce using this script:
const amqp = require('amqp-connection-manager');

// Create a connection manager
const connection = amqp.connect(['amqp://user:11cuJAQBH5sf9fad@rmq-rabbitmq'], {
  heartbeatIntervalInSeconds: 30,
  connectionOptions: {
    noDelay: true,
    timeout: 60,
    keepAlive: true,
  },
});

const QUEUE_NAME = 'amqp-connection-manager-sample2'
const EXCHANGE_NAME = 'amqp-connection-manager-sample2-ex';

// Handle an incomming message.
const onMessage = data => {
    var message = JSON.parse(data.content.toString());
    console.log("subscriber: got message", message);
    channelWrapper.ack(data);
}

// Create a connetion manager
connection.on('connect', () => console.log('Connected!'));
connection.on('disconnect', err => console.log('Disconnected.', err.stack));

// Set up a channel listening for messages in the queue.
var channelWrapper = connection.createChannel({
    setup: channel => {
        // `channel` here is a regular amqplib `ConfirmChannel`.
        return Promise.all([
            channel.assertQueue(QUEUE_NAME, { exclusive: true, autoDelete: true }),
            channel.assertExchange(EXCHANGE_NAME, 'topic'),
            channel.prefetch(1),
            channel.bindQueue(QUEUE_NAME, EXCHANGE_NAME, '#'),
            channel.consume(QUEUE_NAME, onMessage)
        ])
}});

channelWrapper.waitForConnect()
.then(function() {
    console.log("Listening for messages");
});

I saw that it's resolving DNS and not connecting. but when I run without mirrord, I can see it tries to connect - perhaps it's connecting in a way ignored by mirrord? :O

Issue is probably timeout.
User set it to 60 which is 60ms and not seconds.


Add population inspect and collect cursors

Small fix that came to my attention while reviewing existing in-app assets - add the special inspect and collect cursors in the population simulation.  Colors and sizes are from the UI spec.

Michael wants to tweak the icon images.  I'll add on another branch to clarify.


Double preprocess in catalog.to_dataset()

Setup Information

xscen version: v.0.7.1
Python version: 3.10

Description
When using preprocess with Datacatalog.to_dataset() I get the error:
TypeError: intake_esm.core.esm_datastore.to_dask() got multiple values for keyword argument 'preprocess'
linked to  xscen/catalog.py", line 458, in to_dataset
ds = cat.to_dask(preprocess=preprocess, **kwargs)
Steps To Reproduce
def preprocess(ds):
    return ds

dataset = catalog.to_dataset(preprocess=preprocess)

Additional context
Preprocess is sent two times to intake esmf
Contribution

[ ] I would be willing/able to open a Pull Request to address this bug.

Dang.
This line:
https://github.com/Ouranosinc/xscen/blame/7fa182831f7eb38c4ac4c183613319d38a7cadae/xscen/catalog.py#L414
should be a .pop.


Gmail/gmail app

Hello
I have a problem with gmail(not sure that only gmail).
MJML live
Its looks great. And its looks great when i opening this html-code in browser:

But when its sends by PHP scrip its make me cry:

ps. Sorry for the big pictures. Cant do this smaller

Hey, probably due to how you send. Can you please try to send with https://putsmail.com/?

Nope. I just found my mistake. If u work at live u can use url like this: /../image 1.png. But in mails its doesnt work. You should write like this: /../image_1.png(or image1.png) - without spaces. Look at this please

Ah, indeed the image paths need to be valid.


Number of iterations

Hi, thank you for your great work.
I'm trying to reproduce the result of VAT on Cifar10-4000 labels. However, I've run the exp for 100.000 iterations but still can not get the reported result of 89.00 (about only 86.00 and it seems to be converged). So can you help me to clarify this?

log for vat cifar10-4000, seed 0
[2021-12-05 06:50:26,826 INFO] 1048000 iteration, USE_EMA: True, {'train/sup_loss': tensor(9.1400e-05, device='cuda:0'), 'train/unsup_loss': tensor(0.1328, device='cuda:0'), 'train/loss_entmin': tensor(0.0440, device='cuda:0'), 'train/total_loss': tensor(0.0426, device='cuda:0'), 'lr': 0.005874884396511934, 'train/prefecth_time': 0.0034196159839630126, 'train/run_time': 0.15932882690429687, 'eval/loss': tensor(0.6446, device='cuda:0'), 'eval/top-1-acc': 0.893, 'eval/top-5-acc': 0.9944}, BEST_EVAL_ACC: 0.8959, at 1018000 iters
Please run 2^20 steps, as the learning rate gets smaller, the acc will increase.

I am trying to submit a paper to ICML and NAACL, so currently I don't have much time to gather all logs.
I will upload all logs after the ICML ddl (1.28)

@qianlanwyd
did you successufuly train VAT with FP16? I found out the gradient is zero when computing adv vector.


Support for binary Thrift TLS connections

This enables pymapd's connection object to consume the necessary parameters required to connect to OmniSciDB via a recently implemented binary Thrift over TLS protocol.

This passes CI, and locally building this branch as a tar.gz file, then importing in a clean conda environment works. Merging, we can change the CI process later.


Various issues with using Object.is

Unfortunately, Object.is doesn't exist on PhantomJS nor IE or Safari, leading to runtime errors:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is#Browser_compatibility
It's also not correct according to the semantics of ES6 collections:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map#Key_equality
vs
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is#Description
It would be better to define a function like:
is = function(a,b) { return isNaN(a)? isNaN(b): a === b; }

commit infinity0/es6-collections@8330e56 fixes this, feel free to pull

I don't think it's wise to polyfill Object.is here, this has nothing to do with Object.is.

Please re-read the commit, this is not about polyfilling Object.is. es6-collections uses a local variable function "is", which is what I'm redefining so it fits the standards.

not sure I see the +0 VS -0 fixed in any of these commits, what am I missing?

+0 vs -0 is handled by === - also note the test I changed, which explicitly checks if both +0 and -0 are in the map after only adding -0.

nope, -0 === 0 is true here

Yes, that is the correct behaviour according to the updated standards. Using Object.is(+0, -0) will give you false, which is incorrect.

are you reading?

or maybe I am not. Should -0 and +0 be threaded as same value? if not, this patch needs an update since it was using Object.is before and now it will return a different thing for +0 and -0
If that's how it should be, it's a breaking change so needs a bumped major version too.


Introduce FLS initializers and finalizers

This PR explores the idea of introducing initializers and finalizers for FLS entries.
⚠ I'm not currently happy with this, especially the introduction of initializers, due to the costs this imposes on fibers.

Picos is not going to be satisfactory for Miou.


add UsernamePasswordCredential

It isn't recommended to use it, so I'm not sure we should implement it.

this credential requires a high degree of trust and is not recommended outside of prototyping when more secure credentials can be used.
https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/identity/Azure.Identity/src/Credentials/UsernamePasswordCredential.cs

As it is not recommended, I abandoned finishing it.
https://github.com/cataggar/azure-sdk-for-rust/commit/a5cb9586a6030ecfc05532d09778e49fd4520ab6
If there is a good reason to add it, please reopen.


NuGet task not respecting Bypass Proxy settings

Note
Issues in this repo are for tracking bugs, feature requests and questions for the tasks in this repo
For a list:
https://github.com/Microsoft/azure-pipelines-tasks/tree/master/Tasks
If you have an issue or request for the Azure Pipelines service, use developer community instead:
https://developercommunity.visualstudio.com/spaces/21/index.html )
Required Information
Entering this information will route you directly to the right team and expedite traction.
Question, Bug, or Feature?
Type: Bug
Enter Task Name: NuGet
list here (V# not needed):
https://github.com/Microsoft/azure-pipelines-tasks/tree/master/Tasks
Environment

Server - Azure Pipelines or TFS on-premises?
TFS On-Prem

If using TFS on-premises, provide the version: 16.131.28226.3

If using Azure Pipelines, provide the account name, team project name, build definition name/build number:

Agent - Hosted or Private: Private

If using Hosted agent, provide agent queue name:

If using private agent, provide the OS of the machine running the agent and the agent version: 2.125.1
--

Issue Description
we are attempting to utilize the NuGet task to publish a NuGet package to our TFS on-prem NuGet Feed.  The Task fails with an ECONNRESET issue.  Doing some digging, the Call to TFS from the Build Agent is being routed through our Proxy server, even though the Build Agent machine (Windows Server) is configured to Bypass proxy for internal addresses including the TFS Server.  I've also Added a NO_PROXY environment variable, but the calls still route through the Proxy.
I need to get the task to respect the Bypass proxy settings
Task logs
[Enable debug logging and please provide the zip file containing all the logs for a speedy resolution]
Troubleshooting
Checkout how to troubleshoot failures and collect debug logs: https://docs.microsoft.com/en-us/vsts/build-release/actions/troubleshooting
Error logs
6_NuGet push.txt
[Insert error from the logs here for a quick overview]

bypass proxy support in our tasks got better in January this year. That means it is available right now in Azure Dev Ops, but not on-premises Server product. Unfortunately that means those changes won't be seen until the 2019.1 release. Until then you may have other options like using a nuget custom command (but then you have to manage other things like creds).

Closing this as @tkrick 's comment above explains the current status and we haven't heard back, please feel free to reach back out if you're still having issues.


Hierarchies: Merged hierarchy providers

Closes https://github.com/iTwin/presentation/issues/702.

Looks good to me.
Regarding presentation-hierarchies-react I think we could provide two sets of hooks:

useMultiSourceTree and useUnifiedSelectionMultiSourceTree (naming TBD)
useTree and useUnifiedSelectionTree ones that we have now but they could reuse useMultiSourceTree and useUnifiedSelectionMultiSourceTree


[IotCentral] Update changelog to prepare for beta release

Contributing to the Azure SDK
Please see our CONTRIBUTING.md if you are not familiar with contributing to this repository or have questions.
For specific information about pull request etiquette and best practices, see this section.

API change check
API changes are not detected in this pull request.


middleware/kubernetes: add tests

Should make tests in the kubernetes middleware (somehow integrate with k8s???)

This has been done.


Feature: portfolios module

update Final Projects to The Launch in all configs
add Portfolios in all configs
update documentation mds

Fixes #33 test using acceptance criteria listed there

Thanks, @SallyMcGrath . I am getting this error when clicking on the page itself. Can I assume it it because it is a preview only?

I think it's because you're clicking the links but those aren't redirected inside the disposable branch. These are the links inside this PR
https://deploy-preview-34--cyf-pd.netlify.app/modules/the-launch/
https://deploy-preview-34--cyf-pd.netlify.app/modules/portfolios/


sdir converter

Hi, developers,
I saw https://mlir.llvm.org/OpenMeetings/2022-01-2001~Data-Centric-Model.pdf , it seems that there is a converter to convert mlir generated by polygeist to SDIR, but I didn't find it in mlir-dace, seems mlir-dace only provides sdir-opt and sdir-translate, is there a place  where I can find that mlir(arith, scf) to sdir's converter? thanks

Hey!
If you checkout the branch to-sdir-converter and build it then you'll have a sdfg-opt --convert-to-sdfg, which you can use to convert a subset of the Arith, Memref, Math and SCF dialects to the SDFG dialect. The branch should be merged into main soon.


Update async.md

Fix a small typo

👋 @jirihofman
💖 Thanks for opening this pull request!
Please follow the contributing guidelines. And we use semantic commit messages to streamline the release process.
Examples of commit messages with semantic prefixes:

fix: interval for sending a request in the base service
feat: add new NAME service
docs: example of using the NAME service

If you like this project, please ⭐ star our repo.

👋 @jirihofman Congrats on merging your first pull request! 🎉
If you like this project, please ⭐ star our repo.


Webpage not refreshing

Hello there,
thanks for getting this Mod worked, i love it already. I just have the problem, that the Items will not refresh or Change in Anything on the Webpage after switched switch on Map or moving across ingame. Nothing will change until manual refresh. I use the mod in V 0.3.0 Mod Manager V <IP_ADDRESS> on Build #92 on Windows 10. If you need more Info, do not hesitate to contact me.

What browser are you using? Are there any errors in the browser console?


Add Amazon Bedrock support

closes #459
Added support for Anthropic Claude on Amazon Bedrock. I'll add some explanation in the review comments.

thanks @tmokmss


ESRGAN training : image shapes mismatch

Thanks for sharing this great repository.
I'm not familiar with open-mmlab and the Super-resolution task/datasets/challenges and i need to train the ESRGAN model to measure performance (testing is working perfectly, but i need to train the model).

I try to train ESRGAN following datasets_restoration.md and config file : esrgan_x4c64b23g32_g1_400k_div2k.py. The below were what I did:
-- Download DIV2K dataset. run the scripts to prepare dataset (including creating lmdb)
-- Download Set5 and Set14 from here https://github.com/xinntao/BasicSR/wiki/Prepare-datasets-in-LMDB-format  (no low resolution images and no instruction on how to make them in the documentation of mmediting).
-- I had to search to this script: https://github.com/xinntao/BasicSR/blob/master/codes/scripts/generate_mod_LR_bic.py
-- It can generate low res images, but the folder structure is different from what required in esrgan_x4c64b23g32_g1_400k_div2k.py . It generates too many images to subfolder (LR and Bic), while the code requires the number of LR images = the number of HR images. So I copied the LR/x4/*.png to the low resolution val_set14/Set14_bicLRx4. and original images to val_set14/Set14
After all these steps, I got this error while trying to train: (it's from the testing phase : mmedit/apis/test.py -> core/evaluation/metrics.py: AssertionError: Image shapes are differnet: (360, 248, 3), (361, 250, 3).
My guess is the script generate_mod_LR_bic.py generating images sizes that do not compatible with this version of the code.
Could you please share the data that can be used in esrgan_x4c64b23g32_g1_400k_div2k:
 val_set14/Set14_bicLRx4 ,val_set5/Set5_bicLRx4 and 101_RRDBNet_iter_1000000.pth ?

Hi, @minhhn2910 ! Thank you for your feedback!
Have you tried out the data preparation script under tools yet (tools/preprocess_div2k_dataset.py)? We provide new data preprocess scripts for all the supported datasets if necessary.

Hi @hejm37 , thanks for replying. Yes, I followed the instruction in datasets_restoration.md and used preprocess_div2k_dataset.py as I mentioned above. That is why I can train for a few iterations. I said the error was from train-few-iterations-on-div2k -> val + test on val_set14 and val_set5 . The preprocess_div2k_dataset scripts didn't process these validation + test sets (which i also mentioned above, that's why i searched for xinntao's code to preprocess Set5 and Set14). These folders are required by configs/restorers/esrgan/esrgan_x4c64b23g32_g1_400k_div2k.py
If possible, please share the val_set14/Set14_bicLRx4  and val_set5/Set5_bicLRx4  directly in the readme file or standard script to preprocess them. Thank you very much

@minhhn2910
Please find the Set5 and Set14 in the https://drive.google.com/drive/folders/1IOmj0NbHQC_m7Lu-EEFOwEtVD4KsexYF?usp=sharing

thanks a lot, it worked


Open links in same window

app.on('ready', function () {
Menu.setApplicationMenu(appMenu);
mainWindow = createMainWindow();
const page = mainWindow.webContents;
page.on('new-window', function (e, url) {
window.open(url,'_self',false)
});
});
I am not able to open the links(which has attr target=_blank) in same window.
Any idea where I am going wrong?

You can call mainWindow.loadUrl.

@zcbenz @akashnimare I'm trying this in an Electron app to open external URLs in the same window and can't get it to work:
webView = document.createElement('webview');

webView.addEventListener('new-window', function (e) {
        this.loadUrl(e.url);
    });

I'm trying to get a Nativefier instance to open external links in the same window.

@zcbenz @akashnimare Nevermind... this worked:
webView.addEventListener('new-window', function (e) {
        webView.src = e.url;
    });


Add training button to menu

Added in https://github.com/rbjaxter/budhud/commit/a73eca2fc7b8ee63ad81739dcd7dd248a8d0ee91


Imu comments

Description
Give a brief summary of what this PR contributes
Click up link
Changes

change 1
change 2
change 3

Additional Info
screenshots, commands to run etc.

Codecov Report

Merging #80 (cfa3010) into master (c8b148e) will decrease coverage by 0.06%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master      #80      +/-   ##
==========================================
- Coverage   30.31%   30.24%   -0.07%
==========================================
  Files          72       72
  Lines        3797     3931     +134
==========================================
+ Hits         1151     1189      +38
- Misses       2646     2742      +96

Impacted Files
Coverage Δ

src/sensors/gpio_counter.cpp
35.71% <ø> (ø)

src/sensors/imu.cpp
48.14% <ø> (ø)

src/utils/io/can.cpp
29.57% <0.00%> (-16.91%)
:arrow_down:

src/navigation/stripe_handler.cpp
2.59% <0.00%> (-1.25%)
:arrow_down:

src/state_machine/transitions.cpp
100.00% <0.00%> (ø)

src/navigation/navigation.cpp
15.64% <0.00%> (+4.34%)
: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 c8b148e...cfa3010. Read the comment docs.


Autoplay does not work properly when notes are used and timestamps are close to each other

E.g. https://aoe4guides.com/builds/MxOrlPdx4rWhhQct2Lrj
Step 2 is broken because of wrong timer calculation for the note.
Solution:

do not show notes at all
OR include notes into the previous step

Fixed in 963b414e8b41ff0c0191fbce838cb61d00bdff4a


groupId doesnot work in files in @storybook/addon-knobs

Describe the bug
groupId doesnot work in files in @storybook/addon-knobs
To Reproduce
import { files } from "@storybook/addon-knobs";
const groupId = "configuration";
const logoUrl = files("logo", "*",null, groupId);
// logoUrl doesnot show in Configuration tab, see screenshot

Expected behavior
files goes to configuration groupId
Screenshots

Additional context
@storybook/addon-knobs v5.0.7

https://github.com/storybooks/storybook/blob/cd20c4b75d4cddc6d596e381360efe0020c4bff9/addons/knobs/src/index.js#L72-L74

Good golly!! I just released https://github.com/storybooks/storybook/releases/tag/v5.1.0-alpha.28 containing PR #6534 that references this issue. Upgrade today to try it out!
Because it's a pre-release you can find it on the @next NPM tag.
Closing this issue. Please re-open if you think there's still more to do.

Jiminy cricket!! I just released https://github.com/storybooks/storybook/releases/tag/v5.0.9 containing PR #6534 that references this issue. Upgrade today to try it out!


Error: SignerSign() failed." (-2147024885/0x8007000b)

v2.1.3
Description:
[❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚] 90% signing..
The following certificate was selected:
    Issued to: www.priyansu.in
    Issued by: www.priyansu.in
    Expires:   Sat Jan 09 23:16:06 2049
    SHA1 hash: B106D3E8F020B4B167FA3AAEC17F4298DEBEC332

Done Adding Additional Store
Error information: "Error: SignerSign() failed." (-2147024885/0x8007000b)

SignTool Error: An unexpected internal error has occurred.

Pubspec.yaml:
msix_config:
  display_name: Headliners
  publisher_display_name: Priyansu Choudhury
  identity_name: www.priyansu.in
  msix_version: <IP_ADDRESS>
  publisher: C = IN, S = Odisha, L = Jeypore, O = Priyansu Choudhury, OU = Personal, CN = www.priyansu.in
  certificate_path: C:\Users\priya\Desktop\CERTIFICATE.pfx
  certificate_password: somepassword
  icons_background_color: transparent
  architecture: x64
  capabilities: 'internetClient'
  store: false

My Certificate Subject:
subject=C = IN, ST = Odisha, L = Jeypore, O = Priyansu Choudhury, OU = Personal, CN = www.priyansu.in, emailAddress =<EMAIL_ADDRESS>

Hello
Please try this solution https://github.com/YehudaKremer/msix/issues/17#issuecomment-758661797
also try remove white spaces like: L = Jeypore, to L=Jeypore,

Worked like a charm.
So for someone else facing the problem.
Step-1:
Enter Get-PfxCertificate in Windows Powershell.
Step 2:
FilePath[0]: Path of your pfx certificate and hit enter.
Step 3:
FilePath[1]: Keep this empty and hit enter.
Step 4:
Enter your password for the certificate.
Step 5:
Copy the subject and paste it exactly in pubspec.yaml
Note: Open PowerShell in fullscreen or part of the subject will be cropped and will have to repeat from step 1.


Missing margins in PowerToys Run results

Microsoft PowerToys version
0.76.1
Installation method
PowerToys auto-update
Running as admin
Yes
Area(s) with issue?
PowerToys Run
Steps to reproduce
When using the new PowerToys Run design, search results that no longer have a scrollbar lose their right and bottom margin
✔ Expected Behavior
The bottom and right margins should stay in place

❌ Actual Behavior

Other Software
No response

This would be something to fix in WpfUi. Thanks for reporting!

Update: fix is in PR in the WpfUI repo: https://github.com/lepoco/wpfui/pull/873

@niels9001
Why don't we upgrade? it is released on nuget since 11 days. (There was an other issue with the reference to WPF-UI prev-13 where I noted this. But I can't find it.)

@niels9001 Why don't we upgrade? it is released on nuget since 11 days. ~(There was an other issue with the reference to WPF-UI prev-13 where I noted this. But I can't find it.)~

This ist not fixed with WPFUI preview-13.

This has been worked on during the 0.77 Release sprint. Please update PowerToys to the latest release: https://github.com/microsoft/PowerToys/releases

Hi, this has been worked on for the 0.78 development cycle. 😄
Please update PowerToys to the latest: https://github.com/microsoft/PowerToys/releases


1515 | Best Position for a Service Centre | C++

1515. Best Position for a Service Centre -
What will change -
Type of Issue -
Please add/delete options that are not relevant.

[x] Adding New Code

Programming Language
Please add/delete options that are not relevant.

[x] C++

Self Check

Ask for issue assignment and wait to get assigned to it before making Pull Request.
Add your file in the proper folder
Clean Code and Documentation for better readability
Add Title and Description of the program in the file

:star2: Star it :fork_and_knife:Fork it :handshake: Contribute to it!
Discord server ✉ - https://discord.gg/CXksGdn
Happy Coding,

I'd like to contribute to this issue (Hacktoberfest)

Assigned it to you for now, next time onward you first need to wait to get assigned before making any pull requests else it could be marked invalid


Provide peers with the reason for disconnecting from them

This PR extends Message::Disconnect with a DisconnectReason, which allows peers to know why they were disconnected from. This change is backwards-compatible, returning DisconnectReason::NoReasonGiven for older messages.
This will aid all the issues where the reason behind frequent disconnects is unknown.
Closes https://github.com/AleoHQ/snarkOS/issues/1384.

The CI jobs should succeed once https://github.com/AleoHQ/snarkOS/pull/1625 is merged and this PR is rebased on top of it.


Lock Window Height and Width

The Web SDK needs to lock the html window width and height before the iframe height calculation takes place, this prevents overflows and improper scaling issues currently being seen over at demo.orbaone.com

Duplicate of #32


Seqr_Loader doesn't split info.AF/AC attributes correctly

https://github.com/populationgenomics/production-pipelines/blob/6c4be50f9fbd3fcb0d70b631a88ca2d6eb597b85/cpg_workflows/query_modules/seqr_loader.py#L55
We're producing data which isn't compliant with the VCF-specification:

We split multiallelic data using hl.split_multi_hts
This function doesn't split the AC/AF attributes, which are supposed to be arrays of 1-element-per-ALT allele. We now have one alt allele per row, but maybe more in AC/AF
We populate AC/AF at the base level correctly here, but we don't update the entry in mt.INFO (which has a specific schema)

The problem as I understand it:

We are splitting multiallelics into separate rows
After splitting we separate out the AC/AF array, but instead of updating the original field, we create a new field. Now the INFO.AC/AF is completely disconnected from the true value for this alt allele
If Hail exports a VCF from an MT, this new corrected field is dropped, but the wrong info.AF/AC field is kept

During early AIP/Talos development, I was cycling from MT -> VCF -> VEP -> MT as a proof of concept, which was failing due to the data types being inappropriate. This whole section was previously added to try and tackle this: https://github.com/populationgenomics/production-pipelines/blob/main/cpg_workflows/query_modules/seqr_loader.py#L83-L92, but hadn't correctly identified the reason for failures or correct solution.
Solution
After splitting in seqr_loader we take the INFO fields which should be sub-divided, and create them as single-length arrays, with only the correct value in for the Alt allele on the row.

We're also taking the full info section from VQSR, which is split, but contains the unsplit AF/AC blocks
https://github.com/populationgenomics/production-pipelines/blob/main/cpg_workflows/query_modules/seqr_loader.py#L66
messy


Workflow causes files to be loaded twice when transmission runs are not seperate?

See:
https://github.com/scipp/esssans/blob/a21ff03845a0de37a35d222ddc4634b389f54650/docs/examples/sans2d.ipynb#L71-L74
The workflow will, I think, not detect that this is the same file and load it twice.
I think we need to do this mapping later, after loading, somehow.
Note how this is bypassed in the Zoom workflow.

How about adding a helper to Sciline to handle this (maybe common) usecase?
I'm thinking something like this:
pl = sciline.Pipeline(
    sans.providers + sans.sans2d.providers,
    params=sans.sans2d.default_parameters,
)

pl[FileList[BackgroundRun]] = ['SANS2D00063159.hdf5']
pl.insert(sciline.identify(
    LoadedFileContents[TransmissionRun[BackgroundRun]],
    LoadedFileContents[BackgroundRun]
))
pl[FileList[SampleRun]] = ['SANS2D00063114.hdf5']
pl.insert(sciline.identify(
    LoadedFileContents[TransmissionRun[SampleRun]],
    LoadedFileContents[SampleRun]
))

The implementation of sciline.identify would look something like this:
def identify(A: type, B: type):
    'Identifies the type A with the type B'
    def identity(b):
        return A(b)
    identity.__annotations__ = {'b': B, 'return': A}
    # We would have to give the new provider some properties so it shows up nicely in the visualizations and reprs
    identity.__name__ = f'same as {B}'
    return identity

The advantage is that it would be very easy to do those kinds of substitutions without defining new provider functions.
A better ux for this would maybe be to add the method directly to Pipelin like this:
pl.identify( ... )

How about adding a helper to Sciline to handle this (maybe common) usecase?

"maybe" is the key here: We should not act on "maybe", in general. I think features should not be added unless the is proven and repeated need. In particular since Sciline is still young we have to be very careful about adding new features, until we have a really well understood core and conceptual clarity.
Furthermore, in this case there is a trivial solution (using a simple helper function, as in the referenced Zoom workflow) which is (1) barely longer than what you propose (2) standard Python that anyone can remember, as opposed to something you have to know that it exists and lookup the syntax.

I agree it's good to be careful about adding extra api surface area. And maybe in this case this is a bit premature. On the other hand we do already have two examples where this is used (sans2d and loki). While the manual solution (creating a new provider) is quite simple I think the version proposed here does save effort, for example it would remove the need for the providers in the esssans.isis.common module.
But sure, let's wait a bit for now and see if this is actually a common need.

On the other hand we do already have two examples where this is used (sans2d and loki).

This is one example, since it is the same workflow. The solution I used for Zoom can be moved to the top level, I think?


/personalization-testing/cdp has several red links to nowhere & section headers don't follow same styling as other pages

I guess this page may be "in progress"?

Fixed with #131


fix: Adding missing MongoDB server versions to Azure Cosmos DB

Description
Adds support for the following server versions to MongoDB (RU-based) in Azure Cosmos DB:

5.0
6.0
7.0

Closes #3709
Pipeline Reference

Pipeline

Type of Change

[ ] Update to CI Environment or utilities (Non-module affecting changes)
[x] Azure Verified Module updates:

[x] Bugfix containing backwards-compatible bug fixes, and I have NOT bumped the MAJOR or MINOR version in version.json:

[x] Someone has opened a bug report issue, and I have included "Closes #{bug_report_issue_number}" in the PR description.
[ ] The bug was found by the module author, and no one has opened an issue to report it yet.

[ ] Feature update backwards compatible feature updates, and I have bumped the MINOR version in version.json.
[ ] Breaking changes and I have bumped the MAJOR version in version.json.
[ ] Update to documentation

Checklist

[x] I'm sure there are no other open Pull Requests for the same update/change
[x] I have run Set-AVMModule locally to generate the supporting module files.
[x] My corresponding pipelines / checks run clean and green without any errors or warnings

@azure/avm-res-documentdb-databaseaccount-module-owners-bicep, this is ready for review


Merge LoRA Adapter with int8 base model.

Feature request
Support merging LoRA adapters with base model when base model is loaded in int8.
Motivation

This is helpful when the goal is to merge adapter weights for faster inference with 8bit model inference.
This is helpful for low memory environments when it may not be possible to load the model in half precision before merging.

Your contribution
Happy to create this PR. Any insights to avoid pitfalls are welcome.

Relevant code: https://github.com/huggingface/peft/blob/main/src/peft/tuners/lora.py#L417-L418

Hello @jenkspt, the bottleneck here is that the lora weights are in float32 and the quantized models have weights in int8/NF4. So, it will involve quite some effort to support when a simple workaround exists. Below is the workaround
model = AutoModelForXXXXX.from_pretrained()
model = PeftModel.from_pretrained(model, peft_model_id)

model = model.merge_and_unload()

model.save_pretrained("merged_model")

model = AutoModelForXXXXX.from_pretrained("merged_model", load_in_8bit=True)

# do inference

cc @younesbelkada for adding more context

Hi @jenkspt
Yes I second what @pacman100 said, you need to first load the fp16/bf16 standalone model, merge it and load it back in 8bit/4bit to make that work.

@pacman100 can you describe why this is difficult to implement?
Using falcon-40b with LoRA adapters, the workaround takes an unreasonable amount of time on the CPU, and doesn't work with limited GPU memory (i.e. only enough to support the 8bit model).

@jenkspt
Technically it is doable, one needs to dequantize the int8 weights to fp16 on the fly for each 8bit bnb layer, however it will lead to numerical differences that can ultimately leading to not getting the same results as the original fp16/bf16 weights, hence the recommendation

Sure @jenkspt , you can check out this specific section of the bnb integration blogpost: https://huggingface.co/blog/hf-bitsandbytes-integration#usage
TLDR is that you need to loop over all Linear8bitLt layers, and apply the following operation:
(layer.weight.CB * layer.weight.SCB) / 127

It would be great if you can open a PR for that! Let us know if you need any help

If there is any PR about that issue @jenkspt , could you put the link here as well?
Thank you! :D

@jtrechot haven't gotten to it yet.

I think this is still a desired feature -- I simply don't have the time to implement it right now.

With #851 you can now call merge_and_unload on 4bit models, however keeping the issue open for 8bit models, please refer to: https://github.com/huggingface/peft/pull/851#discussion_r1305574931

#875 might provide the solution for 8bit.

It is now supported! Please install PEFT from source , closing the issue


Adjust Master Task Data

Can we update the following things in the master task data?

Gold Saucer

Rename Mini Catpot to Mini Cactpot

Beast tribes

Change Vath to Gnath

Challenge Log

Turn Crafting and Gathering into two tasks instead of a combined one

Custom Deliveries
Charlemend

Added


notebook fails in python3

dimensions ('datetime', 'frequency') must have the same length as the number of data dimensions, ndim=3

Full traceback can be found here: https://github.com/openearth/oceanwaves-python/blob/notebook/notebooks/oceanwaves.ipynb

Toolbox and notebook are now Python 3 compatible and tested.


Multistage commands run each stage in a different shell

Describe the bug
Any command with multiple stages will have each of its stages executed in a different subshell.
Minimum reproducible configuration
version = "0.3.0"

[scripts]
test = [ "cd /tmp", "pwd" ]

Expected behavior
The above example should print /tmp as the current directory, assuming that the two stages run in the same shell.
Actual behavior
The above example will instead print the directory in which it was executed, as the commands run in different shells.
Runtime information
Ubuntu 20.10, but this affects all systems.

This is fine from the final schema's perspective, but Bones still uses an older variant of the schema with each stage being a different BonesCore. Fixing this would require a change to that logic, but that'd be beneficial anyway. Then it'll be a matter of figuring out how to run multiple commands in the same shell.
I'll start work on this.

Okay, this will result in a syntax change. Users must now specify delimiters to use for multistage commands. The defaults will be && for all shells except PowerShell, which will use ;. This also allows the customization of the behavior of multistage commands (e.g. you could use || instead in BASH to execute only if the previous command failed).

If that syntax is made optional though, with the reasonable default delimiter && (which works everywhere except Windows PowerShell I think), this can be a non-breaking change.


Navigation is JS-dependent?

I noticed when visiting the demo site and blog with this really nice theme, that the navigation buttons/links don't work when NoScript is enabled.
Shouldn't the navigation just be images/SVGs with links? Is it JS-dependent somehow?
Would be nice, in case of NoScript, older browsers, Tor or limited connectivity, where the JS is disabled, for the navigation to still work on a basic level.

Yep. Some links use window.location.href to jump. I think you are right. It should let the basic navigation don't rely on JS.

Solve in d0578a6.


Make the location of configuration file (esindex.json?) be resolvable from URLs

Outcome of this discussion https://docs.google.com/document/d/1BemWL76fnC_nLq5UypnnaUmLpu829hcg8UC7cyy0kbQ/edit#

.5 LE

Makes sense to put in pass-data-model


Power history

Any idea if there is an endpoint for power history ? Or is this stored elsewhere ?

I haven't seen one...You're talking about what is in the Tesla app?  I'm
pretty sure they are storing your stats on the tesla servers and presenting
that to the app.  I do something similar with OpenHab and Home Assistant.
Collect the stats and graph.
On Fri, Jan 22, 2021 at 1:35 PM jcwright77<EMAIL_ADDRESS>wrote:

Any idea if there is an endpoint for power history ? Or is this stored
elsewhere ?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/vloschiavo/powerwall2/issues/39, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABCYSWY2TMUJHOUFME2GHXDS3HVRRANCNFSM4WPCJ4UQ
.

--
-Vince Loschiavo

[image: image.png]
[image: image.png]
[image: image.png]
[image: image.png]
[image: image.png]
[image: image.png]
On Tue, Feb 2, 2021 at 8:05 AM Vince Loschiavo<EMAIL_ADDRESS>wrote:

I haven't seen one...You're talking about what is in the Tesla app?  I'm
pretty sure they are storing your stats on the tesla servers and presenting
that to the app.  I do something similar with OpenHab and Home Assistant.
Collect the stats and graph.
On Fri, Jan 22, 2021 at 1:35 PM jcwright77<EMAIL_ADDRESS>wrote:

Any idea if there is an endpoint for power history ? Or is this stored
elsewhere ?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/vloschiavo/powerwall2/issues/39, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABCYSWY2TMUJHOUFME2GHXDS3HVRRANCNFSM4WPCJ4UQ
.

--
-Vince Loschiavo

--
-Vince Loschiavo

ok, thanks. I figured it was in the cloud, was hoping for a public api but it seems not. I will try to archive going forward as you suggest.
-john wright


Add support for GitHub app authentication for repositories access

Summary
Adding the ability to clone private repos from GitHub using GitHub app authentication.
Motivation
When working with a lot of private repos, one challenge is scaling auth. Deploy is not feasible, as it is unique per repo. So the current alternative is either creating a user for argo and using personal access token (cost a seat in the organization) or creating an app and using the private key of the app to authenticate to the repo.
Proposal
How do you think this should be implemented?
Adding a new field for repo credentials:
repositories: |
# this has it's own credentials
- url: <>
installationId: <>
appPrivateKey:
name: <>
key: <>

Message from the maintainers:
If you wish to see this enhancement implemented please add a 👍 reaction to this issue! We often sort issues this way to know what to prioritize.

Is this about Argo CD OR Argo Workflows?

Sorry, wrong repository - it should be on argo cd.