Fix in the sitemap_overlay tool

This PR fixes two bugs within the sitemap_overlay tool :

When selecting the Full Sitemap tab and switching to Flat View, there was an error in the console :

Uncaught TypeError: Cannot read property 'indexOf' of undefined

When selecting the Flat View tab, switching to Full Sitemap and switching back to Flat View, the sitemap overlay was displayed two times :

@a3020 I made the changes 👍


Larger GIFs and videos break the bot

Basically large GIFs and videos are breaking the bot. I'm running in a Linux server that is completely vanilla. I've already tried moving to a new server and resizing the virtual server, but haven't had any luck.
What are the steps to reproduce this issue?

Send a large (>150kb) gif or video
Bot sends "Generating Sticker"

What happens?
Bot never answer, sometimes breaks in the backend
What were you expecting to happen?
Bot sends sticker
Any logs, error output, screenshots etc?
Error: Evaluation failed: s
    at ExecutionContext._evaluateInternal (/root/Stickerworld/node_modules/puppeteer/lib/cjs/puppeteer/common/ExecutionContext.js:217:19)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async ExecutionContext.evaluate (/root/Stickerworld/node_modules/puppeteer/lib/cjs/puppeteer/common/ExecutionContext.js:106:16)

Any other comments?
@viniuau Originally reported in issue #39
What versions of software are you using?
Operating System and Versión: Ubuntu 18.04
Node Version (node -v): 16.3.0
Stickerworld Version: 2.1.1 running in PM2

I've been working on fixing this problem for a few days and between several tests I have detected a bug in the main whatsapp management library, so I have created an issue to try to fix it
https://github.com/orkestral/venom/issues/991

I've been working on fixing this problem for a few days and between several tests I have detected a bug in the main whatsapp management library, so I have created an issue to try to fix it
orkestral/venom#991

Thanks @kaiserdj I will support that issue and try to look further in what you mentioned in the issue.

I've been trying to add the FFmpeg fs option in video.js#L31 to limit the video sticker size to 1M but it doesn't seem to be working. I think limiting the video resize to 1M would solve the problem.

I already did tests with different sizes and it is not a problem of 1mb, since I modified the code to compress the webp to the maximum, and from a 3mb gif I obtained a 400kb webp. But it kept returning the same error.

That is why in the issue that creates in venom I sent them webp files that occupy less than 1mb, since those should not give errors, but they do.

I've managed to avoid the error in most cases by limiting the duration of the output of FFmpeg to 1 second, this is not a solution but it might help us understand why it happens.

it doesn't respond when i sent gif image


Add Hypothesis

Adds Hypothesis.  Thank you for putting these together!

Thanks for filling this out! Mind adding region info to the table, and then I'll merge this in?


Reflactor actor internal placment client. Use clock to keep time.

Part of https://github.com/dapr/dapr/issues/2478
Refactors the actor placement client to hopefully be a bit more simple, and ensures all go routines have returned on Close().
Uses clock for time keeping so tests run quicker and are more reliable.
I found the tests to be slightly flaky before- this should fix that.

Thanks @ItalyPaleAle, I've added your suggestions :slightly_smiling_face:
I've tested that the go routine count is stable when running, and fluctuates in a consistent way when connecting/disconnecting.

@JoshVanL can you please fix the conflicts?


Logo For ArtiGenius-AI

Made a logo for this repo/project, hope you like it!

Fixes #6

use something in black

Added two, tell me what you think


can't download models in the ModelScope notebook !

I use 'ubuntu20.04-py38-torch2.0.1-tf1.15.5-modelscope1.8.1'
and. run :

!GIT_LFS_SKIP_SMUDGE=1 git clone https://github.com/modelscope/facechain.git --depth 1

import os
os.chdir('/mnt/workspace/facechain')    # You may change to your own path
print(os.getcwd())

!pip3 install gradio==3.47.1
!pip3 install controlnet_aux==0.0.6
!pip3 install python-slugify
!pip3 install diffusers==0.29.0
!pip3 install peft==0.11.1

!python3 app.py

then in the python3 app.py step, error occured:
root@dsw-713877-77d685988d-sgvx9:/mnt/workspace/facechain# python3 app.py  /opt/conda/lib/python3.8/site-packages/controlnet_aux/mediapipe_face/mediapipe_face_common.py:7: UserWarning: The module 'mediapipe' is not installed. The package will have limited functionality. Please install it using the command: pip install 'mediapipe'   warnings.warn( [2024-10-31 10:43:04,777] [INFO] [real_accelerator.py:133:get_accelerator] Setting ds_accelerator to cuda (auto detect) 2024-10-31 10:43:05.075564: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcudart.so.11.0 WARNING:tensorflow:Deprecation warnings have been disabled. Set TF_ENABLE_DEPRECATION_WARNINGS=1 to re-enable them. /opt/conda/lib/python3.8/site-packages/diffusers/models/transformers/transformer_2d.py:34: FutureWarning: Transformer2DModelOutputis deprecated and will be removed in version 1.0.0. ImportingTransformer2DModelOutputfromdiffusers.models.transformer_2dis deprecated and this will be removed in a future version. Please usefrom diffusers.models.modeling_outputs import Transformer2DModelOutput, instead.   deprecate("Transformer2DModelOutput", "1.0.0", deprecation_message) 2024-10-31 10:43:05,901 - modelscope - INFO - PyTorch version 2.0.1+cu117 Found. 2024-10-31 10:43:05,903 - modelscope - INFO - Loading ast index from /mnt/workspace/.cache/modelscope/ast_indexer 2024-10-31 10:43:05,925 - modelscope - INFO - Loading done! Current index file version is 1.8.1, with md5 2c26b8f616d95476e0bf242e6c0cabb6 and a total number of 893 components indexed 秋日胡杨风(Autumn populus euphratica style) 2024-10-31 10:43:06,677 - modelscope - INFO - Use user-specified model revision: v1 Downloading: 144MB [00:00, 237MB/s]   2024-10-31 10:43:08,119 - modelscope - ERROR - File autumn_populus.safetensors download incomplete, content_length: None but the                     file downloaded length: 151112445, please download again Retry 1/3: File autumn_populus.safetensors download incomplete, content_length: None but the                     file downloaded length: 151112445, please download again 2024-10-31 10:43:09,345 - modelscope - INFO - Use user-specified model revision: v1 Downloading: 144MB [00:00, 233MB/s]  2024-10-31 10:43:10,753 - modelscope - ERROR - File autumn_populus.safetensors download incomplete, content_length: None but the                     file downloaded length: 151112445, please download again Retry 2/3: File autumn_populus.safetensors download incomplete, content_length: None but the                     file downloaded length: 151112445, please download again 2024-10-31 10:43:12,073 - modelscope - INFO - Use user-specified model revision: v1 Downloading: 144MB [00:00, 239MB/s]  2024-10-31 10:43:13,576 - modelscope - ERROR - File autumn_populus.safetensors download incomplete, content_length: None but the                     file downloaded length: 151112445, please download again Retry 3/3: File autumn_populus.safetensors download incomplete, content_length: None but the                     file downloaded length: 151112445, please download again Traceback (most recent call last):   File "app.py", line 572, in <module>     model_dir = snapshot_download(style['model_id'], revision=style['revision'])   File "/mnt/workspace/facechain/facechain/utils.py", line 23, in wrapper     raise Exception(f"Max retries ({max_attempts}) exceeded.") Exception: Max retries (3) exceeded.

hi @You-Cun ,Please take a look at this when you get a chance.

Please run "pip install modelscope -U", then run "pip install datasets==2.16".

merge to #623


Kiwi.Log tag channel filters

It would be nice to be able to set only certain channels to show in Kiwi.Log; to mask a tag or to mask all but a certain set of tags.

You can now filter out messages by tag in Kiwi.Log in version 1.3.0.
###How it works.
Any messages that do not contain the same tags that are in the filters will not be shown in the console. They will still be recorded though.
By default Kiwi.Log does not contain any filters.
You can add and remove filters by using the addFilter and removeFilter methods.
Alternatively you can access the tagFilters array to add/remove filters.


GraphNode port location doesn't respect Separation

Godot version:
3.2
OS/device including version:
ArcoLinux
Issue description:
GraphNode's ports don't seem to align correctly when Custom Constants/Separation is set to anything.  In this example, Separation is set to 40, but the same thing happens with other values:

(Port 2)
At first, I thought separation simply broke everything except the first port (which is positioned correctly); when attempting to drag off from a port, it would instead grab the node and move it around.  Some experimentation later, it turned out that the actual port location was just in the wrong place, and the port graphic is rendered in the right place.  There is some method to this, however: real port locations aren't where they would be without separation, but are consistently in the same, invisible spot for all but the first port.  So it seems whatever is being used to calculate that position is consistently putting it on the wrong place.

(Port 4)

Any minimal project for easier testing?

graph_node_proj.zip

Tested this in 77b1214a9
The separation works fine, but I can click only the first port. The others are unclickable :I
Works correctly in 3.1.1, but has some problem with separation between first two ports.
@somnivore Which "3.2" version did you use? Could you try a nightly build?

@KoBeWi 00417675fa186103ddfcaa37807d4c2819f709e2
What you're describing is the behavior shown in the issue; there's an invisible spot above all ports except the 1st one which lets you drag off a connection.  The little white dot graphic which represents the port is in the correct place, but the spot that lets you interact with it is higher up and thus misplaced.  Attempting to use the white dot graphic as the port's location results in dragging the node, since the interaction spot for the port is somewhere else.
Try clicking and dragging a small distance below Port 0, and you'll start dragging off a connection as shown in the image below; that connection represents Port 1, several pixels (perhaps even the number of pixels for separation?) above where Port 1 is supposed to be.

Ah, makes sense now. Looks like the drag point uses default separation value, relative to previous port.

Fixed this with pull request #37218


Ability to show Upload date

connects unicef/etools-issues#510

@acory you can merge this and create a new version


Update Git push instructions with branch switch and upstream tracking

Why:
The update clarifies the steps for pushing changes to a remote repository by ensuring users are on the correct branch and properly setting the upstream tracking. This prevents confusion and potential mistakes when working with feature branches.
Closes: https://github.com/github/docs/issues/34282

What's being changed (if available, include any code snippets, screenshots, or gifs):

Added instructions to switch to the correct feature branch before pushing.
Updated the git push command to include -u origin BRANCH_NAME, which sets the upstream tracking branch.
Improved the documentation to provide a clearer, step-by-step guide for pushing changes to the remote repository.

Check off the following:

[x] I have reviewed my changes in staging, available via the View deployment link in this PR's timeline (this link will be available after opening the PR).

For content changes, you will also see an automatically generated comment with links directly to pages you've modified. The comment won't appear if your PR only edits files in the data directory.

[x] For content changes, I have completed the self-review checklist.

@TDila Thanks so much for opening a PR! I'll get this triaged for review ✨

Hi @TDila and thanks for your interest in the GitHub Docs—
Unfortunately, we can't accept this submission. The article you've proposed to modify specifically relates to forking (and likely does need some updates, but we'd need to do that separately), and this different article may be more relevant https://docs.github.com/en/get-started/using-git/pushing-commits-to-a-remote-repository.
We encourage contributors to raise issues first before submitting pull requests, to give us time to verify proposals. You're very welcome to look at any issues marked help wanted.
Thanks again for your interest in our docs.


Bump Version from 2.1.0 to 2.1.1

Signed-off-by: Theo Truong<EMAIL_ADDRESS>By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@ananzh @dblock Would you mind reviewing this PR? Thanks


osbuild-built Fedora Workstation live image is ~300 MB bigger than livemedia-creator-built one

The Fedora Workstation live image built by osbuild is ~300 MB bigger than the one built by livemedia-creator, in any given compose. e.g. at https://kojipkgs.fedoraproject.org/compose/rawhide/Fedora-Rawhide-20240220.n.0/compose/Workstation/x86_64/iso/ , the osbuild image is<PHONE_NUMBER> bytes, the 'normal' (livemedia-creator built) image is<PHONE_NUMBER> bytes.
Not sure why this is, but it seems worth investigating at least.

Thank you @AdamWill I'll move this to images and take it.
Part of this is at least that we don't currently clean up the rescue kernel and initramfs which the kickstarts do do.


august updates

replaces compound_IDs_GlyTouCan_test.txt with compound_IDs_GlyTouCan.txt to annotate thousands of compounds.
adds  gene_IDS_for_gtex.txt to annotate thousands of genes with gtex api foo
rm old gene lists
updated script to produce table of overlaps of annotations on genes
added script to produce table of overlapping compound annotations
add H2 header "Resources" to all pages. replaces other headers with bold text
add disease names

Ready for review. See list of pages to check in #59
Here are some screen shots

got it working for gene names but not protein names... will continue tomorrow

yea! ready to merge. dieases looking great now :)


UnicodeEncodeError: 'ascii' codec can't encode character '\xc7'

Hello,
Running as sudo, on Odroid XU4, Ubuntu Mate, ARMv7-A architecture
Uname gives Linux odroid 4.14.180-176
Traceback (most recent call last):   File "CallStranger.py", line 24, in <module>     print('This script created by Yunus \xc7ad\u0131rc\u0131 (https://twitter.com/yunuscadirci) to check against CallStranger (CVE-2020-12695) vulnerability. An attacker can use this vulnerability for:') UnicodeEncodeError: 'ascii' codec can't encode character '\xc7' in position 29: ordinal not in range(128)

Hi,
I comment out line 24 of CallStranger.py using a # symbol and the script runs well.
It's perhaps the symbols in Çadırcı
This shows in Nano on this Arm7-A Ubuntu system like this:
#print('This script created by Yunus  ^gad  rc   (https://twitter.com/yunuscadirci) to check against CallStranger (CVE-2020-12695) vulnerability. An attacker can use this vulnerability for:') print('* Bypassing DLP for exfiltrating data')

Also, a friend pointed me here, this might be why.
odroid@odroid:/etc$ locale
LANG=
LANGUAGE=
LC_CTYPE="POSIX"
LC_NUMERIC="POSIX"
LC_TIME="POSIX"
LC_COLLATE="POSIX"
LC_MONETARY="POSIX"
LC_MESSAGES="POSIX"
LC_PAPER="POSIX"
LC_NAME="POSIX"
LC_ADDRESS="POSIX"
LC_TELEPHONE="POSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"
LC_ALL=

year is 2020 and still encoding issues:)


Removed host from ProcessDiscovery message

What does this PR do?
Originally, host info was put into every ProcessDiscovery message. This PR makes that field nil.
Motivation
If we were to continue to put host data into ProcessDiscovery we would see an unnecessary O(n) increase in space complexity for Process Discovery payloads.
Additional Notes
Describe how to test your changes
Run process-agent --check process_discovery and make sure that host info is not duplicated in the ProcessDiscovery payload.
Checklist

[ ] A release note has been added or the changelog/no-changelog label has been applied.
[ ] The need-change/operator and need-change/helm labels has been applied if applicable.
[ ] The appropriate team/.. label has been applied, if known.
[ ] If known, an appropriate milestone has been selected; otherwise the Triage milestone is set.
[ ] The config template has been updated if applicable.

Note: Adding GitHub labels is only possible for contributors with write access.

nit: We should also add a test to assert that each payload doesn't have the host value set. That way we codify our expectations and don't run into this issue in future updates.
https://github.com/DataDog/datadog-agent/blob/062b95e62d9807264973adaab0db7a8aa69c84e3/pkg/process/checks/process_discovery_check_test.go

nit: We should also add a test to assert that each payload doesn't have the host value set. That way we codify our expectations and don't run into this issue in future updates.
https://github.com/DataDog/datadog-agent/blob/062b95e62d9807264973adaab0db7a8aa69c84e3/pkg/process/checks/process_discovery_check_test.go

Added in https://github.com/DataDog/datadog-agent/pull/9385/commits/645158d984046d0921059a6729ad41b2bf065804!


feat: Add guild leaderboard route

Development has ceased for the time being.
This PR add guild leaderboard routes to KDH. Closes #333

For personal reasons, I have to cease development on this. WIll be closing this and reopening it when its ready


BioCoder integration

Integrates BioCoder from https://arxiv.org/abs/2308.16458

Description:
This pull request is to introduce an evaluation on the BioCoder dataset using agents on OpenDevin. The Biocoder benchmark aims to assess the performance of LLMs on entire repositories related to bioinformatics. It is a challenging full-repository level benchmark that requires both understanding of long-range, inter-class dependencies and domain knowledge.
By evaluating this dataset, we can gain further insights on the performance of LLMs on closed domain (bioinformatics) tasks, as well as their ability to retrieve information and relevant code from a large context window, or the entire repository.
Key changes:
Added evaluation/biocoder/run_infer.py: This file handles execution of the entire Biocoder benchmark using OpenDevin. It loads datasets, runs the agent on each task, and saves the evaluation outputs. Note that we are still
Added evaluation/biocoder/biocoder_env_box.py: This file handles setting up the Biocoder docker environment (which contains many dependencies, libraries, and environments shared across the repositories in Biocoder, including downloading repository files and metadata.
Updated README.md: We have updated the README.md to include information about Biocoder, such as the design, challenges, and objectives of the benchmark. Furthermore, we include documentations on executing the framework, an example of the evaluation, and instructions for contributing and customization.
Related papers:
BioCoder: A Benchmark for Bioinformatics Code Generation with Large Language Models (https://arxiv.org/pdf/2308.16458)

@tangxiangru and @lilbillybiscuit , thanks a lot for contributing this! Could you ping us again when the PR is finished and ready for review (including the documentation of how to run)? I'll change it to a draft PR in the meantime.

Hi @yufansong and @tangxiangru , I am sorry for the delay, but the final version has been pushed. I am writing a readme but the script can be run with the same arguments as SWE-bench. I am currently writing a more polished readme and it will be pushed shortly.
To answer the previous question, BiocoderSSHBox is a modified version of SWEBenchSSHBox that runs our docker image and all the dependencies (such as fetching the repository archive, testing caches, etc.)


FEAT-#6147: HDK: Arrow-based columns concatenation of frames with trivial index.

The outer join is not supported by HDK, however, if all the frames have a trivial index, we can simply concatenate the columns with arrow.

What do these changes do?

[x] first commit message and PR title follow format outlined here

NOTE:  If you edit the PR title to match this format, you need to add another commit (even if it's empty) or amend your last commit for the CI job that checks the PR title to pick up the new PR title.

[x] passes flake8 modin/ asv_bench/benchmarks scripts/doc_checker.py
[x] passes black --check modin/ asv_bench/benchmarks scripts/doc_checker.py
[x] signed commit with git commit -s
[x] Resolves #6147
[x] tests added and passing
[ ] module layout described at docs/development/architecture.rst is up-to-date

I'd probably move the pyarrow execution path to a separate method though because the original one is about lazy execution and is big enough already.

Done


Program crashes when attempting to view data of injected dump file

I've been trying my hand at this for some time, but it seems like the program is inconsistent with handling importing files to replace certain assets, in this case AnimationClips with AnimationClip dumps. Before replacing the file, the data of the clip can be viewed just fine, the same also applies to the clip that is replacing the original one, but when the new one is injected into the original, attempting the view the data will cause the program the crash every time. This is consistent and I can upload the two resources.assets that I am trying to modify belonging to the game VRAST!, the original and the modified one if necessary. It doesn't matter if the data within the .txt is modified in a separate editor or not, and I am using the most recent Nightly build to attempt this. The application's Unity version is 2019.4.16
Crash log is here:
Application: UABEAvalonia.exe
CoreCLR Version: 5.0.721.25508
.NET Version: 5.0.7
Description: The process was terminated due to an unhandled exception.
Exception Info: System.IO.EndOfStreamException: Unable to read beyond the end of the stream.
at System.IO.BinaryReader.InternalRead(Int32 numBytes)
at System.IO.BinaryReader.ReadInt32()
at AssetsTools.NET.AssetsFileReader.ReadInt32()
at AssetsTools.NET.AssetTypeTemplateField.ReadType(AssetsFileReader reader, AssetTypeValueField valueField)
at AssetsTools.NET.AssetTypeTemplateField.ReadType(AssetsFileReader reader, AssetTypeValueField valueField)
at AssetsTools.NET.AssetTypeTemplateField.ReadType(AssetsFileReader reader, AssetTypeValueField valueField)
at AssetsTools.NET.AssetTypeTemplateField.ReadType(AssetsFileReader reader, AssetTypeValueField valueField)
at AssetsTools.NET.AssetTypeTemplateField.ReadType(AssetsFileReader reader, AssetTypeValueField valueField)
at AssetsTools.NET.AssetTypeTemplateField.MakeValue(AssetsFileReader reader)
at AssetsTools.NET.AssetTypeInstance..ctor(AssetTypeTemplateField[] baseFields, AssetsFileReader reader, Int64 filePos)
at AssetsTools.NET.AssetTypeInstance..ctor(AssetTypeTemplateField baseField, AssetsFileReader reader, Int64 filePos)
at UABEAvalonia.AssetWorkspace.GetAssetContainer(AssetsFileInstance fileInst, Int32 fileId, Int64 pathId, Boolean onlyInfo) in D:\a\UABEA\UABEA\UABEAvalonia\AssetWorkspace.cs:line 161
at UABEAvalonia.AssetWorkspace.GetBaseField(AssetContainer cont) in D:\a\UABEA\UABEA\UABEAvalonia\AssetWorkspace.cs:line 205
at UABEAvalonia.DataWindow..ctor(AssetWorkspace workspace, AssetContainer cont) in D:\a\UABEA\UABEA\UABEAvalonia\DataWindow.axaml.cs:line 34
at UABEAvalonia.InfoWindow.BtnViewData_Click(Object sender, RoutedEventArgs e) in D:\a\UABEA\UABEA\UABEAvalonia\InfoWindow.axaml.cs:line 241
at System.Threading.Tasks.Task.<>c.b__140_0(Object state)
at Avalonia.Threading.AvaloniaSynchronizationContext.<>c__DisplayClass5_0.b__0() in //src/Avalonia.Base/Threading/AvaloniaSynchronizationContext.cs:line 33
at Avalonia.Threading.JobRunner.RunJobs(Nullable`1 priority) in //src/Avalonia.Base/Threading/JobRunner.cs:line 37
at Avalonia.Win32.Win32Platform.WndProc(IntPtr hWnd, UInt32 msg, IntPtr wParam, IntPtr lParam) in //src/Windows/Avalonia.Win32/Win32Platform.cs:line 210
at Avalonia.Win32.Interop.UnmanagedMethods.DispatchMessage(MSG& lpmsg)
at Avalonia.Win32.Win32Platform.RunLoop(CancellationToken cancellationToken) in //src/Windows/Avalonia.Win32/Win32Platform.cs:line 157
at Avalonia.Threading.Dispatcher.MainLoop(CancellationToken cancellationToken) in //src/Avalonia.Base/Threading/Dispatcher.cs:line 61
at Avalonia.Controls.ApplicationLifetimes.ClassicDesktopStyleApplicationLifetime.Start(String[] args) in //src/Avalonia.Controls/ApplicationLifetimes/ClassicDesktopStyleApplicationLifetime.cs:line 107
at Avalonia.ClassicDesktopStyleApplicationLifetimeExtensions.StartWithClassicDesktopLifetime[T](T builder, String[] args, ShutdownMode shutdownMode) in /_/src/Avalonia.Controls/ApplicationLifetimes/ClassicDesktopStyleApplicationLifetime.cs:line 134
at UABEAvalonia.Program.Main(String[] args) in D:\a\UABEA\UABEA\UABEAvalonia\Program.cs:line 47
EDIT: I should also note that, when this happens, the game will also crash when attempting to load the AnimationClip that has been modified by UABEA.

Can you export dump the animation clip and import it back it without issues? It could be something like you edited an array but didn't change the size.

Yes, this applies to both the animation I am attempting to replace the original with and the original animation. However, even if I don't edit the new animation and try inserting the dump into the original animation, the same result still occurs. I did try modifying the new animation before to fit in with the old animation, but the program did not accept it when the values were incorrect.
It's strange because I've used this same animation with a game on an older version of Unity (2017.1.5) and imported it via UABE without any issues whatsoever despite the differences in size and arrays. I only have issues when attempting to use this new animation to replace the original in this version of Unity. I'll try and see if I can import the animation from the original FBX file while using the right version of Unity to see if it'll work properly, but as of right now it doesn't. I've even extracted the original animations with uTinyRipper and tried modifying them but those dumps also cause crashes in the same manner.

Can you send just a dump of the AnimationClip? I haven't had this problem yet.

It's strange because I've used this same animation with a game on an older version of Unity (2017.1.5) and imported it via UABE without any issues whatsoever despite the differences in size and arrays.

UABEA is a rewrite of UABE since I don't have the code to UABE. I've tried to match the format but sometimes I miss things.

Actually, I figured out the issue. I was using the wrong version of Unity the entire time, using the correct version works just fine. I would suggest that, if there's a way to tell, to possibly add a feature that notifies the user if a file is the incorrect version. But thank you for your quick responses, it was very helpful in the end!


Waltz Packaging - packaging fails to include Main class (Error: Could not find or load main class org.finos.waltz.web.Main)

Description
Note: this has been resolved for me, but logging here in case anyone sees this
I switched over to a new laptop and have been unable to package Waltz on that new device. It has worked fine on my old laptop for a while

The 'waltz-web-jar-with-dependencies.jar' gets packaged as approx 90MB, nearly twice the expected size of around 50MB
The 'waltz-web.war' has a "normal" size of around 45MB
Maven logs from the console show that the 'org/finos/waltz/web/Main.class' gets added to the war file but not the jar with dependencies

Setup

Windows 10
Intellij 2023.3.4
Maven 3.9.5 (bundled with Intellij) or Maven 3.9.6
PostgreSQL

Waltz Version
1.57
Steps to Reproduce

run 'clean', 'compile' and 'package'

Expected Result
IntelliJ / Maven should package up a jar file to run Waltz
Actual Result
when running:
java -cp .\waltz-web\target\waltz-web-jar-with-dependencies.jar org.finos.waltz.web.Main
get this error:
Error: Could not find or load main class org.finos.waltz.web.Main

I tried many things, mostly trying to confirm settings in Intellij and versions of all of the components to package the jar.
In the end, I rolled back IntelliJ to 2023.2.1 (from 2023.3.4), which also rolled back Maven to 3.9.2
I wiped out my local Waltz repo and my local maven repo (~/.m2/repository), and then did a fresh 'clean', 'compile' and 'package' - then it works again. I'm using npm 10.2.3
c:\dev\workspaces\lp-waltz>npm --version
10.2.3

Note: when I did this, my waltz-ng/package-lock.json gets updated (LOTS of differences); I now see a lot of diffs and "lockfileVersion": 3. I can't say for sure but I think I was having my build/packaging issues when the waltz-ng/package-lock.json was set at lockfileVersion": 1 and wasn't updating; maybe something I did force this to update and allowed me to package the jar again
I noticed that when @davidwatkins73 and @JWoodland-Scott commit to waltz-ng/package-lock.json it bounces between "lockfileVersion": 3 and "lockfileVersion": 1, among all of the other diffs
10/26/23: https://github.com/finos/waltz/commit/08ceb889af9562136d3da97099f7ec2cd292f182

12/6/23: https://github.com/finos/waltz/commit/6c5fac86861fc36416444bce4e01875ce3fe9459

1/22/24: https://github.com/finos/waltz/commit/d91a49b2f86a51aa6ff72e0cca7e1245691606e4

taken from lockfileVersion
An integer version, starting at 1 with the version number of this document whose semantics were used when generating this package-lock.json.
Note that the file format changed significantly in npm v7 to track information that would have otherwise required looking in node_modules or the npm registry. Lockfiles generated by npm v7 will contain lockfileVersion: 2.
No version provided: an "ancient" shrinkwrap file from a version of npm prior to npm v5.
1: The lockfile version used by npm v5 and v6.
2: The lockfile version used by npm v7 and v8. Backwards compatible to v1 lockfiles.
3: The lockfile version used by npm v9. Backwards compatible to npm v7.

We should look to enforce minimum versions on our node/npm builds, see :
https://stackoverflow.com/questions/29349684/how-can-i-specify-the-required-node-js-version-in-package-json
We should also review the minimum maven version (currently enforced in the root pom.xml file)


 To trebamo vidjeti kako oko toga, dali sredjivati ili prosto ostaviti?
Problem: since presenter by default listens for navigation changes, assuming that only he is presenting
Solution:

leave as it is and let presenter manually disable listening for navigation
disable navigation updates for presenter by default: best to disable navigation switch when he becomes presenter, and enable when he disables.

What if there are many presenters at the same time

tested on June 09th, not manifested

@mprinc should be tested after our recent joint changes. Should be ok. Right?

@sinisarudan i think this shouldn't be the case anymore. Need to test

@mprinc is this still actual? including all related cases?

need to reread it carefully and maybe talk also


Reprocess stereoTop data for 2016-2017

Re-run  full stereoTop pipeline extractors on all data though September 20th, 2017. This includes: bin2tif, fieldmosaic, and canopycover extractors.
Re-processing steps:

[ ] Query to remove raw metadata from MongoDB and generate list of datasetIds and names
[ ] Use list to reload LemnaTec metadata using new cleaning process
[ ] Delete Level 1 RGB data on disk and in Clowder (rgb_geotiff, stereoTop_geotiff, demosaic, fullfield for RGB
[ ] Purge RabbitMQ message queues
[ ] Purge geostreams
[x] Purge canopycover traits from BETYdb
[ ] Queue raw datasets for bin2tif
[ ] Run rule_checker (3), bin2tif (~25), fieldmosaic (1) and canopycover (1) extractors

@robkooper FYI
To simplify this pipeline I am introducing a small new extractor:
https://github.com/terraref/extractors-metadata/tree/master/cleaner
terraref/ext-metadata-cleaner
This extractor binds to nothing - that is, it does not trigger automatically on any kind of file or dataset. It can only be triggered manually.
When triggered on a dataset, it will (optionally) delete all metadata currently attached to the dataset, then use terrautils + dataset name to determine where on ROGER the raw original metadata.json file is located. Once found it runs that file through our latest terrautils cleaning code and optionally triggers a callback extractor if given.
With this setup, the process becomes:

[ ] purge Level_1 rgb_geotiff, stereoTop_geotiff, demosaic directory on ROGER
[ ] purge or set aside current Level_1 fullfield directory on ROGER
[ ] purge RabbitMQ message queues
[ ] purge geostreams of all sensorposition streams
[ ] deploy cleaner extractor(s) v1.0
[ ] deploy sensorposition extractor(s) v1.0
[ ] deploy bin2tif extractor(s) v1.0
[ ] deploy rulechecker extractor(s) v1.0
[ ] deploy fieldmosaic extractor(s) v1.0
[ ] submit root stereoTop collection for cleaner extractor configured to trigger bin2tif when done
[ ] delete old Level_1 RGB GeoTIFFs from Clowder (will be in separate space from new stuff)

I am running final tests of our new code we added this week but will start this process today. This will require a lot of care as there is more at stake than the EnvironmentLogger processing.

Basically here's the sketch I came up with last night:


feat: settings modal styling

This PR can be for redesigning the settings modal. Adding dividers like Nord Spotify has seems to help clean things up a little bit, but it would be nice to simplify things more as outlined in #465
This is what I have so far.

Looks p good

I'm thinking of using this library to add drag to reorder support for the tabs. Do you think that makes sense to put in this PR or a separate one?

Looks p good

I'm thinking of using this library to add drag to reorder support for the tabs. Do you think that makes sense to put in this PR or a separate one?

Since we reworking the modal in the first place I think it's better to do it on this one.

I'm just gonna revert the drag and drop thing for now so I can get this PR done. We can try it again later if we want.

Looks like this now. Is that fine? (In two parts because it's tall)


Bring back orphan blocks.

Pull Request Description
Correctly stores orphan blocks.
It uses boolean flag, instead of block subtype.
Checklist
Please include the following checklist in your PR:

[x] The documentation has been updated if necessary.
[x] All code conforms to the Scala, Java or Haskell style guides as appropriate.
[x] All code has been tested where possible.

Please label this.


WIP Race mode

Hello,
I would like to showcase a race mode with SlopCrew. The goal is to hit all the checkpoints (pins on the map) as quickly as possible.
This video provides a brief showcase of what has been done.
This is still a work in progress , as there are many things to refine and improve.
Here's a quick explanation of what has been accomplished so far:
Players request to participate in a race.
The server either adds the player to a race that has not started or creates a new race and sends the race configuration.
The server and players wait for a fixed amount of time for people to join before sending the start signal.
Players load the race configuration (maps, starting positions, etc.) and have their inputs frozen.
When all players are ready and the server acknowledges it, the server sends the official start signal and unfreezes the players to race.
Players then attempt to hit colliders placed on the map.
Once they finish, they send their race times to the server.
When all times have been sent, the server returns the rankings and clears the race.
Additionally, to add some excitement, the speed modifiers change during a race (subject to change, of course):
Every 5 trick updates, the maximum speed modifier is adjusted. The more tricks you perform, the more speed boosts and other benefits you gain, allowing you to go much faster and emphasizing tricks and long combos in the race.
There are many things that need to be refactored/added and improved, so I'm wondering if people are interested in this mode?

Wow, great work! Some notes:

I don't have time to read the diff in its full right now, but I'd be interested in how the "race configuration" is specified. Could you elaborate on that?
There seems to be a lot of merge conflicts; could you tidy that up?
Could you target develop instead of main given that this has a lot of network breakage?

Hey, this looks like great work. We recently implemented a similar system for doing 1v1 score battles, and it seems like this would fit right in. We would love to discuss a plan for integrating into our existing system for this so please join our discord and let us know when you do! https://sloppers.club/discord

Yeah so

Race configurations is basically a map, a starting position and some collider (pin/checkpoint) that are spawned on the map
This config is sent to the player so they can load the appropriate thing before starting the race
Now this is a question i don't have the answer honestly, this should not be hard coded obv
I think loading a file a the startup by the server should be good at least for now
I think a better plan would be like a map server when those data can be fetch but this is too far for now and not necessary for a start
( i did mannally find the position on the pyramid stage for the checkpoint, obv also not ideal, would be great to load scene and do stuff)
For the conflit its because i started for a 5 days old build, will fix tomorrow (late here)
Yes will change the target also

Hey, this looks like great work. We recently implemented a similar system for doing 1v1 score battles, and it seems like this would fit right in. We would love to discuss a plan for integrating into our existing system for this so please join our discord and let us know when you do! https://sloppers.club/discord

No problem
i should had came first there honestly

Having a weird issue where BrcCustomCharactersAPI is not found
Will check later
Other than that the PR can get reviewed i think, if not it will get too big

BrcCustomCharactersAPI is a submodule: git submodule update --init -f
I'll review in the morning!

Ping me if i'm still awake and around to also test if you want ,
Would be cool if somehow we can test it with some people because i only tested with 2 different computer each time by myself


Cannot dump mySQL using direct access method [jdbc]

Timings link
No response
Expected behavior
A mySQL archive should be created by any plugin capable of doing so with the following:
jdbc:mysql://HOSTNAME/DATABASE?useUnicode=true&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=UTC&useSSL=false
Note, this is not a plugin problem, it's a mySQL connector problem due to PaperMc swapping to one that differs from base Spigot. (See: https://github.com/PaperMC/Paper/pull/5474)
Observed/Actual behavior
Type: IllegalStateException
Message: Process failed with exit code 127
Plugin Stacktrace
[EasyBackup] Full Stacktrace:

.... [15:44:22 WARN]: java.lang.IllegalStateException: Process failed with exit code 127
.... [15:44:22 WARN]: at easybackup-plugin-3.3.6.jar//me.forseth11.easybackup.b9.a(b9.java)
.... [15:44:22 WARN]: at easybackup-plugin-3.3.6.jar//me.forseth11.easybackup.b9.a(b9.java)
.... [15:44:22 WARN]: at easybackup-plugin-3.3.6.jar//me.forseth11.easybackup.aT.a(aT.java)
.... [15:44:22 WARN]: at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
.... [15:44:22 WARN]: at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
.... [15:44:22 WARN]: at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
.... [15:44:22 WARN]: at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
.... [15:44:22 WARN]: at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630)
.... [15:44:22 WARN]: at java.base/java.lang.Thread.run(Thread.java:831)

Steps/models to reproduce

Configure an external mySQL database and connect using any plugin

Use any mySQL backup-related plugin to attempt a dump from direct access

Purpur version
Checking version, please wait...
This server is running Purpur version git-Purpur-1329 (MC: 1.17.1) (Implementing API version 1.17.1-R0.1-SNAPSHOT) (Git: d1d6bc2 on ver/1.17.1)
You are 64 version(s) behind
Agreements

[ ] I am running the latest version of Purpur available from https://purpur.pl3x.net/downloads.
[X] I have searched for and ensured there isn't already an open issue regarding this.
[X] My version of Minecraft is supported by Purpur.

Other
No response

Hello,
It is not for Purpur to fix this but for the plugin you are using. Contact the EasyBackup developer to update their connector.

As above, this is an issue the plugin authors must deal with. The old connector has vulnerabilities that should be dealt with rather than looked over.


'NoneType' object has no attribute 'status_code'

Before submitting an issue, make sure you have:

[x] Updated to the latest version
[x] Read the README and docs
[x] Searched the bugtracker for similar issues including closed ones

Purpose of your issue?

[x] Bug report (encountered problems/errors)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

When I try to run Autopost on python 3 I get following error message:
INFO - Photo does not have a compatible photo aspect ratio.
'NoneType' object has no attribute 'status_code'
The aspect ratio of the image is 4x5 (1279x1600) which shouldn't be a problem. It used to work just fine, but for the last two days I always get this message and it won't post an image. What could be the problem here?

https://faq.buffer.com/article/951-publish-instagram-image-aspect-ratios


feat(typing): type util package

Summary of Changes
Replace this text with a high-level summary of the changes included in this PR.
Related Issues
Please reference here any issue #'s that are relevant to this PR, or simply enter "N/A" if this PR does not relate to any existing issues.
Pull Request Checklist
This is just a reminder about the most common mistakes.  Please make sure that you tick all appropriate boxes.  But please read our contribution guide at least once; it will save you a few review cycles!
If an item doesn't apply to your pull request, check it anyway to make it apparent that there's nothing to do.

[x] Applied changes to both WSGI and ASGI code paths and interfaces (where applicable).
[x] Added tests for changed code.
[x] Prefixed code comments with GitHub nick and an appropriate prefix.
[x] Coding style is consistent with the rest of the framework.
[x] Updated documentation for changed code.

[x] Added docstrings for any new classes, functions, or modules.
[x] Updated docstrings for any modifications to existing code.
[x] Updated both WSGI and ASGI docs (where applicable).
[x] Added references to new classes, functions, or modules to the relevant RST file under docs/.
[x] Updated all relevant supporting documentation files under docs/.
[x] A copyright notice is included at the top of any new modules (using your own name or the name of your organization).
[x] Changed/added classes/methods/functions have appropriate versionadded, versionchanged, or deprecated directives.

[x] Changes (and possible deprecations) have towncrier news fragments under docs/_newsfragments/, with the file name format {issue_number}.{fragment_type}.rst. (Run towncrier --draft to ensure it renders correctly.)

If you have any questions to any of the points above, just submit and ask! This checklist is here to help you, not to deter you from contributing!
PR template inspired by the attrs project.

Also another question.
Does it make sense to add future-annotation to all modules that have typing?
Personally I think it makes sense, and it should also limit the performance impact of adding typing on the import of a module.
@vytas7 do you have a preference here?

What do you mean by performance impact @CaselIT? Annotations shouldn't affect code perf once they are parsed... or do you mean import times?

Yes I meant the import time of a module


Fix action service datastore access

This fixes issue described in #2693.
I've added a simple unit tests, but ideally we would also have some integration tests (a Python runner action which uses operations which manipulate a datastore, probably a good candidate for st2tests).

Looks like there already is #2695, closing.


Chronicles does not work on web

Package / App
MAD Chronicles
Version
몰라
What happened?
Does not work on web. Not able to provide more info cuz I get other issues in the monorepo when building
Other info
No response
Relevant log output
No response

Fixed


Fix autoplay documentation (website)

In this page http://www.owlcarousel.owlgraphic.com/demos/autoplay.html the documentation is wrong
$('.play').on('click',function(){
    owl.trigger('autoplay.play.owl',[1000])
})
$('.stop').on('click',function(){
    owl.trigger('autoplay.stop.owl')
})

this should be the correct code
$('.play').on('click',function(){
  owl.trigger('play.owl.autoplay', [1000])
})
$('.stop').on('click',function(){
  owl.trigger('stop.owl.autoplay')
})

Ciao

The website owlcarousel.owlgraphic.com doesn't have the newest version of the docs. And I don't think this is the correct place to address it.
You can find the latest docs for the autoplay demo here: http://smashingboxes.github.io/OwlCarousel2/demos/autoplay.html

Bravo, thanks for the help.
Official website not having updated docs is a huge problem.

Agreed, lets updated this


qemu: fail before running hostagent when QEMU is too old

Description
Need a reasonable QEMU, something like qemu-system 4+
See https://repology.org/project/qemu/badges for a summary
The hostagent fails when running on RHEL 7, without a clear reason.
Better to state up front, that it needs something newer than 1.5.3

Example too old:
QEMU emulator version 1.5.3 (qemu-kvm-1.5.3-175.el7_9.6), Copyright (c) 2003-2008 Fabrice Bellard

QEMU emulator version 2.0.0 (Debian 2.0.0+dfsg-2ubuntu1.46), Copyright (c) 2003-2008 Fabrice Bellard

QEMU emulator version 2.5.0 (Debian 1:2.5+dfsg-5ubuntu10.51), Copyright (c) 2003-2008 Fabrice Bellard

QEMU emulator version 2.11.1(Debian 1:2.11+dfsg-1ubuntu7.42)
Copyright (c) 2003-2017 Fabrice Bellard and the QEMU Project developers

Example new enough:
QEMU emulator version 4.2.1 (Debian 1:4.2-3ubuntu6.26)
Copyright (c) 2003-2019 Fabrice Bellard and the QEMU Project developers

QEMU emulator version 6.2.0 (qemu-kvm-6.2.0-22.module_el8.7.0+3493+5ed0bd1c.2)
Copyright (c) 2003-2021 Fabrice Bellard and the QEMU Project developers

QEMU emulator version 6.2.0 (qemu-kvm-6.2.0-22.module_el8.7.0+3493+5ed0bd1c.2)
Copyright (c) 2003-2021 Fabrice Bellard and the QEMU Project developers

QEMU emulator version 7.2.0 (qemu-kvm-7.2.0-14.el9_2)
Copyright (c) 2003-2022 Fabrice Bellard and the QEMU Project developers

Custom upstream build:
QEMU emulator version 8.0.0 (v8.0.0)
Copyright (c) 2003-2022 Fabrice Bellard and the QEMU Project developers

There are still failures, due to qemu-img also being too old - and not supporting all flags
So there need to be some similar checks, also for the invocations of qemu on the host side


Prisma migrate failing on Vercel + Supabase

I am getting the following error while deploying to Vercel using Supabase.
[22:17:26.654] Cloning completed: 682.504ms
[22:17:27.082] Looking up build cache...
[22:17:27.530] Build Cache not found
[22:17:27.568] Running "vercel build"
[22:17:28.071] Vercel CLI 28.2.5
[22:17:28.393] Installing dependencies...
[22:17:28.739] yarn install v1.22.17
[22:17:28.825] [1/4] Resolving packages...
[22:17:29.142] [2/4] Fetching packages...
[22:17:49.356] [3/4] Linking dependencies...
[22:17:49.359] warning " ><EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>[22:17:49.359] warning " ><EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>[22:17:49.360] warning "react-spring ><EMAIL_ADDRESS>has unmet peer dependency<EMAIL_ADDRESS>[22:17:49.360] warning "react-spring ><EMAIL_ADDRESS>has unmet peer dependency<EMAIL_ADDRESS>|| ^17.0.0".
[22:17:49.360] warning "react-spring ><EMAIL_ADDRESS>has unmet peer dependency<EMAIL_ADDRESS>[22:17:49.361] warning "react-spring ><EMAIL_ADDRESS>has unmet peer dependency "<EMAIL_ADDRESS>[22:17:49.361] warning "react-spring ><EMAIL_ADDRESS>has unmet peer dependency<EMAIL_ADDRESS>[22:17:49.361] warning "react-spring ><EMAIL_ADDRESS>has unmet peer dependency<EMAIL_ADDRESS>[22:17:49.361] warning "react-spring ><EMAIL_ADDRESS>has unmet peer dependency<EMAIL_ADDRESS>[22:17:49.367] warning "eslint-config-next > @typescript-eslint/parser > @typescript-eslint/typescript-estree ><EMAIL_ADDRESS>has unmet peer dependency<EMAIL_ADDRESS>|| >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta".
[22:18:08.703] [4/4] Building fresh packages...
[22:18:15.383] $ prisma generate || true
[22:18:17.745] prisma:warn The postinstall script automatically ran `prisma generate` and did not find your `prisma/schema.prisma`.
[22:18:17.745] If you have a Prisma schema file in a custom path, you will need to run
[22:18:17.745] `prisma generate --schema=./path/to/your/schema.prisma` to generate Prisma Client.
[22:18:17.745] If you do not have a Prisma schema file yet, you can ignore this message.
[22:18:17.745]
[22:18:18.558] $ node -e "if (process.env.NODE_ENV !== 'production'){process.exit(1)} " || husky install
[22:18:18.701] husky - Git hooks installed
[22:18:18.704] Done in 49.97s.
[22:18:18.741] Detected Next.js version: 12.2.5
[22:18:18.743] Running "yarn run build"
[22:18:19.012] yarn run v1.22.17
[22:18:19.055] $ npm-run-all build-db check-db build-tracker build-geo build-app
[22:18:19.495] $ npm-run-all copy-db-files build-db-client
[22:18:19.932] $ node scripts/copy-db-files.js
[22:18:20.068] Database type detected: postgresql
[22:18:20.077] Copied /vercel/path0/db/postgresql to /vercel/path0/prisma
[22:18:20.425] $ prisma generate
[22:18:22.351] Prisma schema loaded from prisma/schema.prisma
[22:18:23.733]
[22:18:23.733] ✔ Generated Prisma Client (4.3.1 | library) to ./node_modules/@prisma/client in 213ms
[22:18:23.733] You can now start using Prisma Client in your code. Reference: https://pris.ly/d/client
[22:18:23.734] ```
[22:18:23.734] import { PrismaClient } from '@prisma/client'
[22:18:23.734] const prisma = new PrismaClient()
[22:18:23.734] ```
[22:18:24.246] $ node scripts/check-db.js
[22:18:24.384] ✓ DATABASE_URL is defined.
[22:18:24.601] ✓ Database connection successful.
[22:18:24.804] ✓ Database tables found.
[22:18:27.285] Prisma schema loaded from prisma/schema.prisma
[22:18:27.285] Datasource "db": PostgreSQL database "postgres", schema "public" at "db.mjgxuaynzfgwuhjrndcw.supabase.co:6543"
[22:18:27.285]
[22:18:27.285] 3 migrations found in prisma/migrations
[22:18:27.285]
[22:18:27.286] Following migration have not yet been applied:
[22:18:27.286] 03_remove_casade_delete
[22:18:27.286]
[22:18:27.286] To apply migrations in development run yarn prisma migrate dev.
[22:18:27.286] To apply migrations in production run yarn prisma migrate deploy.
[22:18:27.286]
[22:18:27.286] Running update...
[22:18:30.043] Error: P3009
[22:18:30.043]
[22:18:30.044] migrate found failed migrations in the target database, new migrations will not be applied. Read more about how to resolve migration issues in a production database: https://pris.ly/d/migrate-resolve
[22:18:30.044] The `02_add_event_data` migration started at 2022-09-17 16:44:24.033587 UTC failed
[22:18:30.044]
[22:18:30.044]
[22:18:30.044] ✗ Command failed: prisma migrate deploy
[22:18:30.044] Error: P3009
[22:18:30.044]
[22:18:30.044] migrate found failed migrations in the target database, new migrations will not be applied. Read more about how to resolve migration issues in a production database: https://pris.ly/d/migrate-resolve
[22:18:30.045] The `02_add_event_data` migration started at 2022-09-17 16:44:24.033587 UTC failed
[22:18:30.045]
[22:18:30.045]
[22:18:30.045]
[22:18:30.060] error Command failed with exit code 1.
[22:18:30.061] info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
[22:18:30.075] ERROR: "check-db" exited with 1.
[22:18:30.091] error Command failed with exit code 1.
[22:18:30.091] info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
[22:18:30.101] Error: Command "yarn run build" exited with 1

Please suggest.

Looks like your 02_migration failed.  You'll likely have to roll back and re-run it.  Please refer to this thread for your situation.
https://github.com/umami-software/umami/discussions/1434#discussion-4307103

Tried using the commands. Getting this error now.
3 migrations found in prisma/migrations
Applying migration `02_add_event_data`
Error: P3018
A migration failed to apply. New migrations cannot be applied before the error is recovered from. Read more about how to resolve migration issues in a production database: https://pris.ly/d/migrate-resolve
Migration name: 02_add_event_data
Database error code: 42501
Database error:
ERROR: must be owner of table event
DbError { severity: "ERROR", parsed_severity: Some(Error), code: SqlState(E42501), message: "must be owner of table event", detail: None, hint: None, position: None, where_: None, schema: None, table: None, column: None, datatype: None, constraint: None, file: Some("aclchk.c"), line: Some(3583), routine: Some("aclcheck_error") }
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
ERROR: "update-db" exited with 1.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Error: Command "yarn run build" exited with 1

I even tried with a fresh install/database and it failed again with the same error.

It looks like there's an issue w/ supabase not assigning table edit permissions to the login.
https://github.com/supabase/supabase/discussions/4825
You'll have to run some kind of permission update
GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA public TO postgres;


Error on division by zero

Instead of SIGFPE, throw a normal bone error when dividing by zero. Also added
tests for /.

Great, thanks! You are amazing! :)


Change CONFIG.debug to boolean breaks a lot of modules

You set CONFIG.debug = true at https://github.com/Xbozon/storyteller/blob/main/main.js#L3
CONFIG.debug is an object, changing it to a bool breaks a lot of modules that add their own debug settings here. Use a key within this object instead.
You also, probably don't want to be shipping debug  set to true in a module.

I wouldn't be surprised if this is the underlying cause of #44

@MrPrimate
I really apologize for this silly mistake, I was finishing very tired and forgot to put away the debugging. Thanks for creating the issue!
Fixed in v1.0.1


Swift Compiler

main.swift doesn't work on Xcode 8.2 (on January 19, 2017), unless I change to this:
UIApplicationMain(CommandLine.argc, UnsafeMutableRawPointer(CommandLine.unsafeArgv)
.bindMemory(to: UnsafeMutablePointer.self, capacity: Int(CommandLine.argc)), NSStringFromClass(QTouchposeApplication.self), NSStringFromClass(AppDelegate.self))
Also, the instructions would be better if they mentioned that "QTouchposeApplication.h" should be added to the user's Swift bridging header file.

Thanks for this!

Thanks, this worked for me as well!

for some more clarification,  not positive we need the UnsafeMutableRawPointer any more with xCode 11.x   it appears to work fine without it,  but let me know if one finds a problem with it,  see below:
should include a Bridging header  :OculigamiPaint-Bridging-Header.h  in the app,  with this line in it:#import "QTouchposeApplication.h"
main.swift can look like this then:
import UIKit
UIApplicationMain(
CommandLine.argc,
CommandLine.unsafeArgv,
NSStringFromClass(QTouchposeApplication.self),
NSStringFromClass(AppDelegate.self)  //......  replace with the name of your delegate if different
)


[Snyk] Security upgrade ch.qos.logback:logback-classic from 1.4.5 to 1.4.12

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to fix one or more vulnerable packages in the `maven` dependencies of this project.
Changes included in this PR

Changes to the following files to upgrade the vulnerable dependencies to a fixed version:

pom.xml

Vulnerabilities that will be fixed
With an upgrade:

Severity
Priority Score (*)
Issue
Upgrade
Breaking Change
Exploit Maturity

641/1000  Why? Recently disclosed, Has a fix available, CVSS 7.1
Denial of Service (DoS) SNYK-JAVA-CHQOSLOGBACK-6094942
ch.qos.logback:logback-classic:  1.4.5 -> 1.4.12
No
No Known Exploit

641/1000  Why? Recently disclosed, Has a fix available, CVSS 7.1
Denial of Service (DoS) SNYK-JAVA-CHQOSLOGBACK-6094943
ch.qos.logback:logback-classic:  1.4.5 -> 1.4.12
No
No Known Exploit

(*) Note that the real score may have changed since the PR was raised.
Check the changes in this PR to ensure they won't cause issues with your project.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
🛠 Adjust project settings
📚 Read more about Snyk's upgrade and patch logic

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Denial of Service (DoS)

pull request has been replaced by PR #21


Archive project RedSonic

Archive project RedSonic

hello again sir, can you provide us with a link to an official RedSonic shutdown notice? The bridge seems still live for deposits and accessible through the frontend.


Example 2 Does not work

The example 2 does not work as described.
Error:
Approve-CMDevice : The input object cannot be bound to any parameters for the command either because the command does not take pipeline input or the input and its properties do not match any of the parameters that take pipeline input.

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

ID: 6430f4aa-f96b-4720-1ac9-a336c082cd78
Version Independent ID: d3455ef0-301e-1e8f-cd19-33dd2d8875db
Content: Approve-CMDevice (ConfigurationManager)
Content Source: sccm-ps/ConfigurationManager/Approve-CMDevice.md

Thanks @RicoRosenheim for the feedback. I started to play with this cmdlet to fix the article, and I wonder if it's a bug with the cmdlet. The Block-CMDevice cmdlet works just fine with either of the following:
Get-CMDevice -Name "WIN10-86-33" | Block-CMDevice

$device Get-CMDevice -Name "TestVlan-site2"
Block-CMDevice -InputObject $device

But the same examples with Approve-CMDevice fails in both instances with the error you note or:
Approve-CMDevice : Cannot bind argument to parameter 'InputObject', because PSTypeNames of the argument do not match the PSTypeName required by the parameter: IResultObject#SMS_CombinedDeviceResources.
It doesn't make sense to me that one works and the other doesn't.
I don't already see a bug on it, so suggest that you file a frown from the console. I'll check with the engineering team as well to make sure I'm missing something obvious.

Yep, it's a bug. I just filed one internally. I'm closing this issue as there's nothing currently actionable for docs.
(internal reference 7914538)


Facebook clone website Navbar Items Positioning

Describe the bug
Irregular positioning of facebook logo and other content of the navbar.
Expected behavior
Correct positioning of facebook logo and other content of the navbar.
Screenshots (optional)
Current Design

Expected Updated design

Additional context (optional )
No

@MohitGupta121

Hi @MohitGupta121
Kindly assign me this issue.

@MohitGupta121 Kindly assign me this issue


Use legal links config

This PR lets the map client use the configuration of the legal links for the footer, when available. If this setting is not specified for a client, the already existing defined links are used as default.
Needs https://github.com/terrestris/shogun/pull/642 and https://github.com/terrestris/shogun-util/pull/254 first be merged.
Also included is some code styling by eslint.
@terrestris/devs please review

:tada: This PR is included in version 4.13.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


KUDO Operator testing library

There should be a shared testing library that provides all necessary facilities for complex KUDO-based operators to have extensive and thorough integration tests.
Take a look at the kudo-cassandra-operator testing facilities to get a better understanding to how this differs from the current KUDO test harness, and provides functionality that is still not clear how to implement in the KUDO test harness, including a single verbose and useful test run output, useful for development and CI.
There's a private protokep for this in Google Drive.

Run a command in a container of a pod, parse its output to determine a certain condition

Do you mean like a kubectl exec feature? That would be useful. Or something more like this?

Find a service endpoint, run a local command (e.g. a database client) to see if it can connect to this endpoint

Why couldn't this be done with a TestStep.

Retrieve and parse pod container logs to determine certain conditions

This would be a great feature to add to the test harness.

Track multiple resource updates that result from deploying said resource. E.g., when updating a parameter of an operator that the deploy plan changes from "Completed" to "In progress" back to "Completed"

We have an open issue for fixing this: #600.

This is certainly very subjective, but I read and understand tests in a "real" language at lot easier and faster than a couple of yaml files, where some are applied to the cluster and some are compared to resources.

We should discuss ways to improve this that don't require a new language. For example, a proposal I've been throwing around is having a manifest that defines the entire test, rather than a magic file structure. This would increase the test composability as well as understandability. A basic example of that might be:
apiVersion: kudo.dev/v1alpha1
kind: TestCase
steps:
- apply: ./install.yaml
  assert: ./install-assert.yaml
- apply: ./upgrade.yaml
  assert: ./upgrade-assert.yaml

Remember, while some people creating operators are Go programmers, that is not a requirement for contributing to KUDO operators and we do not want to add another barrier to entry here (see the original KEP for the motivations and user stories here).

I went ahead and funneled some of this feedback into KEPs so we can start getting the ball rolling.

The main thing from this discussion, support KUTTL as a Library: https://github.com/kudobuilder/kuttl/pull/5
I've also opened a KEP to improve test composability, which will help address @ANeumann82 concerns around verbosity and DRYness: https://github.com/kudobuilder/kuttl/pull/4


Project group and some optimization for faster retrieval of workitems.

I do this PR to add my personal use case (project group) as it can be useful.
It's only here as a workitem retriever for now but can be largely modified.
It's implemented so it's not more complicated to use than a project.
I believe that my code is clean, but any review is very welcomed as I'm not an expert.

Looks good to me, never used it but seems like a nice addition. Also thanks for the cleanup.

I'll merge it if you could resolve the merge conflict please


All series should be drawn on the chart by default. The y-axis should resize to fit all data values.
What is happening instead?
Only the first series is drawn correctly.
What error message are you getting?
None

Thanks for looking into this!

Thanks for reporting.
Fixed it.


I can't this on Samsung Galaxy S4.

This can't use on Samsung Galaxy S4. Because Samsung Galaxy S4 don't provide OpenGL ES2.
pls help me asap.
Thank you.

You should be able to build this project for the Samsung S4, I've been able to build it for both my Galaxy S and Galaxy S5.
Can you provide some more information to help me understand how you set up the project? Are you able to build it for the PC emulator?

Thanks for your reply.
game = new Game(this)
I can't see canvas screen. only Samsung Galaxy s4. I hope you help me through teamviewer.
my mail address<EMAIL_ADDRESS><EMAIL_ADDRESS>Pls help me asap. Thank you.


Reconsider DBAL and migration implementation

The current implementation lacks a lot of things. We're considering whether switching to nette/database might be the wiser move if we're working towards Tempest 1.0
Up for discussion:
After some consideration, I don't think it makes sense to try and build a TableBuilder from scratch that supports multiple SQL grammars. Rather, let's just use plain SQL (like Doctrine does), it makes it so that we can get rid of much code, and on top of that embraces SQL in full.
There's the argument that this leads to not being able to use different databases between local and production environment. I'd actually say that's a good thing. There are fundamental differences between different databases, and using a different one locally might actually lead to bugs in production that you hadn't noticed before. Any substential project of mine that grew to a certain size actually switched to using the same database in all environments, because of these kinds of problems.
If we switch to raw SQL for migrations though, there's much less need for a DBAL — as far as I can tell right now — because we don't have to worry about differences between databases. In that case, it might be good just to stick with PDO for now.

How about we use SQL instead of TableBuilder? see stream

The biggest challenges I can see to using SQL directly are:

Losing the ability to support multiple database types (whether for testing, the ability to give client deployments flexibility, etc.)

Losing the ability to automatically generate differential migration scripts which save the developer some time to not think about it.

I don't mind writing SQL, it makes me reminiscent of the early 2000's, but it's worth noting those deficiencies in that approach.

You can offer a separate package to configure into the container a DBAL with your main connection already configured, and optionally use it. Anyway, I guess you can always choose to manually depend on a query builder by adding the service yourself in your project.

I asked the question on Twitter as well: https://twitter.com/brendt_gd/status/1760231282133319823
The argument that made most sense to me is this:

The second one is great if you want to support multiple databases. But you will always play the catchup-game to add stuff thats missing. Which won't be the case with the 1st approach.
And especially if you support more databases than MySQL the catchup game is hard. There are a ton of features one could use with e.g. PostgreSQL.

I think the wisest decision right now it to only support plain SQL. As @devnix points out, adding some kind of grammar-specific query builder in the future would be trivial (to plug in, not to build), people could even already do that today if they want to.
I went ahead and made the necessary changes:

https://github.com/tempestphp/tempest-framework/commit/6da9ba652d16247ff19cc6fefdec9bb213f2cb33
https://github.com/tempestphp/tempest-framework/commit/e482372d167a9fe30c42b206e1eab28fe26eae6f

With the current implementation, I don't see a huge need for a DBAL, since adding support for more drivers means implementing one very simple Driver class. There's currently nothing else we'd gain from switching to a third party DBAL. This could change in the future, in which case we can use the Database class (which currently wraps PDO) as an entry point.
I'm gonna close this issue for now, but if anyone has any followup thoughts: don't hesitate to comment.

@brendt what are the implications of this for the ORM module? Doesn't this necessarily move us toward fully repository?
A first party package in the future is not a bad idea in the sense that we could start this way for v1 and easily add it as a non-breaking change if needed.

@brendt what are the implications of this for the ORM module? Doesn't this necessarily move us toward fully repository?

None :) The Query class still allows for executing itself by using service location. (I know, but it's super convenient in this case).
The ORM works by mapping model classes to queries and vice-versa; it's totally oblivious to the underlying Database layer — separation of concerns FTW!
I refactored the whole DBAL layer in less than an hour, and everything works as expected.

what if we create a thin optional layer of abstraction to make 90% of normal stuff super easy, and still allow them to bypass the builder step and provide raw sql, if they don't care about swaping dbms' and other goodies?

@mokhosh Ik think this is a good idea, and it's entirely possible to do so because migrations now return a Query object. We can include a simple query builder within this object.
The big issue for me is supporting different dialects; there even are differences between MySQL and SQLite — how will we handle those? I'm gonna create a new issue to discuss this specifically: #103


Sidecar not working

Sidecar isn't supported. Any plans on enabling this feature?

Hey, thanks for your feedback!
I include Sidecar support with Version 1.5.1.

Hey, I tried to update my EFI. and now I cant boot into open core. Any help?

I re-upload the version with a bugfix.


Relation::tableNameAsMorphType breaks morphTo relations

Laravel Version: 8.17.2
PHP Version: 7.4
Database Driver & Version: MySQL 8

Description:
The https://github.com/laravel/framework/pull/35257 PR doesn't seem to work with morphTo relations. You end up with an Class 'posts' not found  when using in conjunction with Relation::tableNameAsMorphType();
Error : Class 'posts' not found
/src/Illuminate/Database/Eloquent/Relations/MorphTo.php:180
/src/Illuminate/Database/Eloquent/Relations/MorphTo.php:129
/src/Illuminate/Database/Eloquent/Relations/MorphTo.php:115
/src/Illuminate/Database/Eloquent/Builder.php:597
/src/Illuminate/Database/Eloquent/Builder.php:566
/src/Illuminate/Database/Eloquent/Builder.php:534

Steps To Reproduce:
Taking the example from the docs where imageable could be a Post or a User.
https://laravel.com/docs/8.x/eloquent-relationships#one-to-one-polymorphic-relations:
class Image extends Model
{
    public function imageable()
    {
        return $this->morphTo();
    }
}

Add the below to AppServiceProvider in the boot method:
class AppServiceProvider extends ServiceProvider
{
    public function boot()
    {
        Relation::tableNameAsMorphType();
    }
}

The below code will throw the exception described above:
$post = Post::factory()->create();

$image = Image::factory()->create([
    'imageable_type' => $post->getTable(), // 'posts'
    'imageable_id' => $post->id,
]);

// This will throw the exception
$postTitle = $image->imageable->title

Can you create a quick repo that reproduces the problem? Please commit custom code separately from the base skeleton.

@driesvints No problem.
Repo: https://github.com/dmason30/laravel-framework-morph-to-example
Commit: https://github.com/dmason30/laravel-framework-morph-to-example/commit/2ffc8ca19464a4c116b5dc4105cc26e1d9a4b0b5
Erroring Code: https://github.com/dmason30/laravel-framework-morph-to-example/blob/master/tests/Feature/ExampleTest.php
Github Action Run showing failing test:
https://github.com/dmason30/laravel-framework-morph-to-example/runs/1511184347?check_suite_focus=true

@imanghafoori1

I've come to the conclusion that it's impossible to solve this one. Since with the inverse here you only have the context of the alias there's no way to derive the class name from it as you simply don't know the namespace of the model.
At the moment I'm more leaning to reverting this completely as we can't ever ship this properly. Mapping custom morph types will always need to be done manually through the morph map.

Checking the problem

It seems that the morphTo relation exceptionally does not accept a $related model, in the case Post::class.
So there are a few approaches to this for laravel 9.x :

To change the morphTo to accept a $related parameter, like other morph relations.

Hold on this behaviour as the default to this and document Relation::morphMap(...); as mandatory only for morphOne relations. (Not for all relations)

Try to derive \App\Post, \App\Models\Post from posts before bail out with an error.

or Revert it :skull: 🙌

Kind of defeats the purpose of morphMap to begin with, 2. would still contain the broken code, 3. isn't feasible (as explained above)

I think it's best to revert this.

@driesvints Yeah, the first option not possible with one model. it should accept a list of "Imagable models" which is not very good either.

One consideration for option 2 is that you can still use 'Relation::morphMap' in conjunction with Relation::tableNameAsMorphType
So say they code was changed to attempt to morph table names into models via str->singular->camelCase and checking class_exists to throw a more meaningful error.
If you had a table 'posts' but for the benefit of this example for some reason your model was called BlogPost then you could setup in the AppServiceProvider.
class AppServiceProvider extends ServiceProvider
{
    public function boot()
    {
        Relation::tableNameAsMorphType();

        Relation::morphMap(['posts' => BlogPost::class]);
    }
}

The benefit here keeps it using the table name as the default so you don't end up adding all your models to morphMap and if it can't find the model when doing morphTo the error should suggest to add the table => model to the map.
If your models were outside of the default App/ or App/Models/ locations then you probably shouldn't use this method anyway.

Let's just revert it.

@driesvints can you send in the revert PR?

@taylorotwell will do


Remove all "gateway tagging" code

This mode was never thoroughly tested, nor was it thoroughly thought through.
When deploying on the cloud, if dedicated gateways are requested then there's sense to use cloud prepare directly on the cloud, outside the K8s sphere of influence.
However, when working with existing nodes its best not to work under K8s and try to change existing entities which are governed by K8s or other systems.
If users desire to run without dedicated gateways, we encourage the use of the Load Balancer mode which is much more K8s oriented and operates through proper K8s interfaces.
Depends on https://github.com/submariner-io/releases/issues/644

Do we want to keep this open?


Update go version to 1.14.2

Sorry for the long absence. I've been swamped for the last a few months.
Now I started to maintain this repository again, and this is a good point to begin with! 👍

I just noticed CI did not work. I thought I needed to migrate this project to travis.com, but the API returned 500.


unavailable to drop image

I try to drag and drop image into the box but it not work.

I try to drag and drop image into the box but it not work.

https://learncodeweb.com/demo/web-development/drag-drop-images-with-bootstrap-4-and-reorder-using-php-jquery-and-ajax/
I just test it and it is working fine. Can you please explain more details?

thank you for answer.
I got this problem when I use chrome.Firefox, IE and Edge work fine .

Problem solved after I restarted my computer.
I am sorry to have inconvenienced you.


Alter iOS template project to be CocoaPods enabled

LGTM but @chinmaygarde or @tvolkert should review as well.

@abarth, I figured out how to make flutter run deal with workspaces, will land that as a separate PR (and also remove the dependency on FlutterAppDelegate)

Great!

@chinmaygarde can you take a look?

lgtm. Though I am not too familiar with CocoaPods myself.

Not sure if you plan to land this?  We can also re-do this once we're more able to focus on external development.

Let's land it. I am happy to maintain a few external CocoaPod plugins and I'm interested in feedback from external developers on whether this is useful.

@collinjackson, do end users need to have cocoapods installed now? Or is this change to the template self-contained?

It should be self-contained. The goal is that users do not need to have cocoapods installed, unless they want to add a cocoapod to their project. If this isn't the case, it's a bug that should be fixed.

We've had several reports of pod trouble:
https://github.com/flutter/flutter/issues/5543
https://github.com/flutter/flutter/issues/5566
Do we believe these are all fixed?  Do we need a further fix to our podfiles?  Or should we just remove cocoapods all together until we have a larger plan about external plugins?

I believe they're all the same bug and all are fixed.
I think the lesson here is we need some process that ensures that we push to alpha when critical bugs are fixed, so people don't keep reopening them. Or alternatively, update the setup instructions to point to master.

See also #5433 would teach Travis to ensures that new projects build successfully


Feedback / Enhancement ideas

Hey Łukasz,
I've been using mi-scale-exporter for a few weeks now and I wanted to give you some quick feedback, as well as some ideas for potential enhancements since my use case is probably a bit different from most people's (ie. I am not using a Mi scale).
First of, mi-scale-exporter works great for me. No bugs, no crashes, it just works flawlessly.
I have been keeping notes of the little things you only notice while actively using something these past few weeks. Perhaps, some of the feedback is useful. In any case, thanks again for making this app.
MFA
MFA works really well now. I only have a couple of suggestions for making it even better:

Since Garmin MFA codes are numeric, maybe it's possible to default to a numeric keypad as well (therefore making it easier to enter the MFA code).
Some apps offer to input the MFA code automatically for you (ie. autofill). As I understand it, this requires an additional permission. It's probably not worth it to implement this, unless it's no fuzz.
(Google Messages offers an option to copy MFA codes to the clipboard from the notification bar. This works for Paypal MFA, for instance but it does not work for Garmin codes - at least not for me. I suspect this is something Garmin would have to address though. Just thought I'd mention it for the sake of completeness.)

Usability

As I mentioned, I don't have a Mi Scale and I use mi-scale-exporter to manually enter the values. And that works great. Perhaps it would be possible to have the app open on the screen that was last used which, for me, would always be "Garmin Form".
Now we're getting into nit-pick territory: my scale doesn't display some information the mi scale apparently does (like "body age"). Maybe it would be possible to a preference dialogue for selecting which data fields are displayed in the UI. I realize, at that point, we're kind of pivoting away from the original purpose of the app (making the Mi Scale usable with Garmin) to more of a generic approach (making any scale usable with Garmin) though.
On the help screen, it still says that MFA isn't supported which is no longer true (as it works great).

Thanks!

Hi @Windows-Key
Thanks for feedback. You have good idea with that points.
MFA 1: 👍
MFA 2&3: I think It can only possible for SMS codes but not for Emails.
Usability 1 👍
Usability 2: Data fields in that page comes from Garmin .FIT activity schema and Garmin expect to get all of them, but expect does not mean require.  So even when user do not fill anything in same field, It would be passed to Garmin as empty. I do not want to block some fields If you do not have that field, just ignore them.
About point Usability 3. Yea, I know I wanted to release MFA support as fast it was possible so that version contains some minor bugs.
My activity slowed down because of my personal/family reason but when I will find some time I will try to implement that ideas

Hi Łukasz,
thanks again for your quick response.
No worries, family comes first. Thanks for your great work.
Oh, and since I didn't mention it above: Garmin sends MFA codes by text message (SMS) in my market. I am not sure there was even an option for e-mail when I signed up. I suppose it varies by location though.
Take care!

Hi @lswiderski
Thanks for this app!

Is auto upload mode possible to implement?
Why app asks for age instead of date of birth? Age input means it will be invalid value in less than 365 days

Is it possible to send only weight without BMI and stuff, as shown in Garmin Connect upload form (i have simple scale version and my other parameters are actualized in garmin connect itself)


add raw-output option for json output

When you run this action with json: true, the output doesn't work properly because double quotes are escaped in the content of array:
code:
      - name: Get changed files
        id: changed-files
        uses: tj-actions/changed-files@v35
        with:
          json: true

      - uses: distributhor/workflow-webhook@v2
        env:
          webhook_type: 'json-extended'
          webhook_url: ${{ secrets.WEBHOOK_URL_DEV }}
          webhook_secret: ${{ secrets.WEBHOOK_SECRET_DEV }}
          data: '{ "modified_files": ${{ steps.changed-files.outputs.all_changed_files }} }'

output
    data: { "modified_files": [\".github/workflows/github-dev-webhook.yml\",\"file.yml\"] }

Error:
parse error: Invalid numeric literal at line 1, column 23

If I check the code where json is parsed:
$ echo hello | jq -R 'split("|") | @json'| sed -r 's/^"|"$//g' | tr -s /
[\"hello\"]

With this change, the output will be:
$ echo hello | jq -r -R 'split("|") | @json'| sed -r 's/^"|"$//g' | tr -s /
["hello"]

@adonisgarciac Thanks for submitting the fix. I’ll suggest we make this an optional behavior via an input I.e json-raw: true. Since this breaks the usage of the action with fromJSON.
See: https://docs.github.com/en/actions/learn-github-actions/expressions#fromjson

Add optional input to return raw JSON output from jq. You’ll need to abstract the behaviour into a function that can be used with pipe

Thank you @jackton1.  Let me know if there are some mistakes in the last changes that I have done with jq_raw_input as a variable.

@all-contributors please add @adonisgarciac for code, docs


No need to interpolate LocalShuffle between ScanOperator and DistinctBlockSourceOperator/AggregateBlockSourceOperator

Enhancement
For a ScanNode is followed directly by AggregateBlockNode/DistinctBlockNode, when it decomposed into pipelines, if pipelineDop>1, then LocalShuffle is interpolated in the middle of two adjacent Operators: ScanOperator->AggregateBlockSourceOperator/AggregateBlockSourceOperator.  the LocalShuffle has a significant cost, so set the pipelineDop to 1 to prevent LocalShuffle interpolation.

https://github.com/StarRocks/starrocks/pull/2541


How to construct a Decimal field backed by Int64?

Which part is this question about
Library API
Describe your question
I wanted to use a decimal type which can fit in an Int64 which appears to be supported by parquet according to the docs. I noticed that this type is not included as part of the arrow::datatypes::DataType enum, there is only the Decimal128, which I didn't want to use because it would double my column size compared to using a Int64. Any idea if there is a way to do this? Thanks

The arrow specification does not currently support 64-bit decimals

Thanks for your reply. So it is supported by parquet but not arrow?

That depends what you mean, arrow readers will read and write 64-bit integer decimals to/from parquet, but the in-memory arrow representation will use at least 128-bit per value.

Thanks. I wanted to use it in the context of using the ArrowWriter to write parquet files, but I imagine that won't work, as that requires only using the arrow types?

Yes you will need to convert to a Decimal128, provided you stream the batches the additional memory usage shouldn't be noticeable.

Oh great! Thanks very much for your help.

Sorry one issue I am having with this, if  Error writing: Invalid argument error: column types must match schema types, expected Decimal128(18, 18) but found Decimal128(38, 10) at column index 5 exchange=Binance


Add textScaleFactor as optional parameter

There is an issue with UI if textScaleFactor is > 3. This PR added possibility to customize scale factor like min(MediaQuery.of(context).textScaleFactor, 2.0),.

Gonna check later today. Tks for the PR.


kvm: Add custom permissions into mounted volumes

Add support for pre-defined volumes modes, UIDs and GIDs for apps
inside rkt-kvm pod.
By default, rkt with kvm flavor ignores additional volumes isolators.

This contains the same logic as in:
https://github.com/coreos/rkt/blob/master/stage1/init/common/pod.go#L487
Can this be factored somehow?

@alban:

[x] refactor :heavy_check_mark:
[x] log -> diag :heavy_check_mark:

Thanks! Just small changes.

@alban done :)

Thanks!


[Feature] Typing Speed Calculator

Description
A calculator  which provides users with a string as goal to type and starts a timer when the user clicks on the input box, and stop the timer when the input string matches the provided string. Upon completion, the calculator will calculate and display the typing speed in units of:

words per second (words/sec)
characters per second (characters/sec).

Please assign this to me.
Screenshots
No response
Checklist

[X] I have checked the existing issues.
[X] I follow Contributing Guidelines of this project.
[ ] I am a IWOC'24 contributor.
[ ] I am a JWOC'24 contributor.
[X] I am a SWOC'24 contributor.

Code of Conduct

[X] I agree to follow this project's "Code of Conduct".

Proceed @AlefiyaAbbas


UnsupportedFeatureError: DML statements on intersections are not implemented yet

EdgeDB Version: "5.6+adb9e77"
EdgeDB CLI Version: EdgeDB CLI 5.1.0+8ff9f85
OS Version: MacOS 14.5

Steps to Reproduce:
This query raised "UnsupportedFeatureError: DML statements on intersections are not implemented yet" error。
Id like to swap the sorting fields of the two objects. First, select out the objects respectively by fromID and toID, but an error occurred during the update. If I comment temp2 and temp3，this query is work, em... is there any good solution to solve this, thanks~
with
  obj1 := (
    select default::SortableObjectDecimal[is CommonObject]
    filter .id = <uuid>$fromID and
      .db_status = <DBStatus>"_Normal"
  ),
  obj2 := (
    select default::SortableObjectDecimal[is CommonObject]
    filter .id = <uuid>$toID and
      .db_status = <DBStatus>"_Normal"
  ),
  temp1 := obj1.sort_decimal,
  temp2 := (
    update obj1 set {
      sort_decimal := obj2.sort_decimal
    }
  ),
  temp3 := (
    update obj2 set {
      sort_decimal := temp1
    }
  )
select {
  obj1,
  obj2
}

schema:

reproduce link: edgedb-project@sort-branch

this sql worked:
...
  temp2 := (
    update obj1[is default::A] set {
      sort_decimal := obj2.sort_decimal
    }
  ),
  temp3 := (
    update obj2[is default::A] set {
      sort_decimal := temp1
    }
  )
...


[Bug]: System.MissingMethodException: Method not found: System.Net.Security.RemoteCertificateValidationCallback System.Net.ServicePointManager.get_ServerCertificateValidationCallback()

All of the following criteria must be met

[X] All Requirements must be installed.
[X] Changed the title so that it doesn't just says "[Bug]: "
[X] I have searched the GitHub issues for my bug, even in the closed issues.

All of the following are optional to answer

[X] Tried reinstalling the Game.
[X] Tried reinstalling MelonLoader.
[x] Tried restarting PC.
[ ] Was able to see the Start Screen.

Describe the issue.
I'm using 5.7 because all the 6 versions are broken. Installing goes fine, but there's an error soon after the terminal opens and the game doesn't launch.
Latest.log
Did you attach your log file?
Yes, I attached my log file to the text box above.

I've figured this out, it wasn't a MelonLoader issue. Some of the game's assembly files were stripped, which caused melonloader to not be able to find the methods.
This only happens rarely as a dev has to enable it in Unity, so if you run into the same issue with a different game contact the devs and ask them to turn off assembly stripping.

I've figured this out, it wasn't a MelonLoader issue. Some of the game's assembly files were stripped, which caused melonloader to not be able to find the methods.
This only happens rarely as a dev has to enable it in Unity, so if you run into the same issue with a different game contact the devs and ask them to turn off assembly stripping.


About unity generation

Dear author,
Thank you for your great work.
Where can I find the autual code for unity generation?
Thank you.

You can find them in function unified_focal_loss.


Support null in JSON parsing as an empty array

PR Description
Compliment to #7786
GetSyncCommitteeRewardsIntegrationTest:
Test removed and logic extended because it's per spec, see https://github.com/ethereum/beacon-APIs/blob/master/apis/beacon/rewards/sync_committee.yaml#L15-L17
It's safe to test no currentToken because if we are inside some object we will throw on the next step not able to find closing, if the whole empty object is array type, it's legit to be ""
PostAttesterDutiesIntegrationTest:
Spec requires at least one index https://github.com/ethereum/beacon-APIs/blob/master/apis/validator/duties/attester.yaml#L33-L39 which was not checked. Though the field is required by spec, I think it's acceptable to fail a bit afterwards
Fixed Issue(s)

Documentation

[x] I thought about documentation and added the doc-change-required label to this PR if updates are required.

Changelog

[x] I thought about adding a changelog entry, and added one if I deemed necessary.

I'm not sure this is syntactically correct... I think we park this, we don't need to allow the scenarios presented.

To be scrapped to better parts

scrapped  by #7801 and #7795


Non-deterministic scores

Hey, apologies for creating multiple issue threads so rapidly, but I like this library and hope it gains more traction!
Some metrics are giving different results each time they are ran even with temperature set to 0. For example, Faithfulness and AnswerCorrectness.
I believe this might be due to using LangChain ChatOpenAI instead of OpenAI, where the latter appears more deterministic with temperature set to 0, but I'm not positive about this.

I got the same issue as well, every time I run the evaluation, it will give slight or significant different scores for each question sometime. Any advice @shahules786  ?

I guess the new seed feature would be helpful here

Hi @austinmw @ihgumilar , thanks for sharing your thoughts & concerns. The scores can vary due to the non-deterministic nature of LLMs, I have seen this happening more with closed-sourced services. The new seed feature from OpenAI might be useful, but I have yet to experiment with it. But I would want something more generalization beyond OpenAI.
Self-consistency checks can be a good way to improve reproducibility.

I'm experiencing the same issue. I looked into this and in my case it seems that the passed temperature value is not respected, it's either set to 0.2 or 1e-8.
https://github.com/explodinggradients/ragas/blob/v0.0.22/src/ragas/llms/langchain.py#L200
1e-8 is very close to 0 but not zero. Is this a bug or an intended feature?
Also there seems to be a lack of consistency between the async and non-async implementation as for async it's always set to 0:
https://github.com/explodinggradients/ragas/blob/v0.0.22/src/ragas/llms/langchain.py#L146

I'm also experiencing score fluctuations between runs. Is the seed feature implemented yet?

@shahules786 FYI I fixed the seed but it didn't work...


Updated AddFrame method to handle Gif as source

In Issue #8, there is a problem where if the source of the image is an animated gif, the result will be a corrupted animated gif. Due to the nature of animated gifs, the frame only contains what has changed from one frame to the next (similar to interleaved video). By converting the frame to another format, and using that as the source, the result is no longer corrupted.

Can you update this with a Dispose to the image in the case where it is reassigned during conversion?

Just to clarify - we don't want to dispose the originally passed in image. Just the new one, if it is created when doing the conversion, after the method is done with it.

The new image has all the properties as the original except for the raw format (e.g. gif, png, bmp, etc...)
// save to memory
img.Save(ms, ImageFormat.Png);
ms.Seek(0, SeekOrigin.Begin);
// pull it back out
img = Image.FromStream(ms);

It's like opening up a the source image (if it is a *.gif) in an image editor and saving it as a *.png. I may be missing something, but I don't see where else the img argument is used in the method other than writing it to the image file stream.

Right, but when in code you say "img = Image.FromStream(ms);" that creates a new image and the original Image that was passed into the method is no longer referenced by "img". Also the new MemoryStream should probably be disposed as well. Since the "img" reference is being reused for the new image we should make sure to only dispose in the case that the reference has been switched.
Is that incorrect? I just don't want to inadvertently introduce a new memory leak.

Disregard the part about the new MemoryStream, that is in a using block.

Should I use different naming conventions for the memory stream? The variable ms does feel pretty generic.
Are there any other problems/questions with the PR?

ms is fine.
I might be missing something in my explanation of the problem. Thanks for bearing with me:
The line where you have "Image.FromStream(ms)" creates a brand new System.Drawing.Image object in memory. It does not discard the previous System.Drawing.Image object that came in with the variable "img". It reassigns the variable "img" to the new memory object. It's fine that the original System.Drawing.Image isn't disposed because that is the responsibility of the method caller and they should decide when it is disposed. What I don't think is okay is the NEW System.Drawing.Image which is created with "Image.FromStream(ms)" is never disposed.
So for example:
using (var ms = new MemoryStream) {
   var img1 = new Bitmap(1,1);
   img1.Save(ms, ImageFormat.Png);
   ms.Seek(0, SeekOrigin.Begin);
   var img2 = Image.FromStream(ms);

   // img1 != img2 (these are not the same object in memory)
   // img2 should be disposed
}

Remember we don't want to dispose the original image that was passed into the method. That is the responsibility of the caller. So we have to make sure not to call img.Dispose() in the case that we do not call "Image.FromStream".

the image passed is is reassigned, so the original reference is destroyed (disposed). Since the argument is passed by reference, I guess it would be better to create a new image and use that in the frame. Originally I wanted to add code that was unobtrusive. PR Updated.


Show error message if trying to buy with insufficient funds

I added an error message when in the token page. I need to add one in the collection view.

Created https://github.com/reservoirprotocol/sample-marketplace/issues/85 to add site wide success and error notifications


Changing session properties are not being saved

Steps to reproduce
1. Open the PowerShell Core console
2. Click on the PS icon on the left top corner
3. Click on Properties
4. Change the Font size (whatever value you like)
5. Click OK

Expected behavior
The values will be saved.

Actual behavior
The following error occurs and no changes are saved:

![capture](https://user-images.githubusercontent.com/38812914/45791572-3ceb5600-bc58-11e8-902b-63959c2eca4d.PNG)

Environment data

> $PSVersionTable
Name                           Value
----                           -----
PSVersion                      6.1.0
PSEdition                      Core
GitCommitId                    6.1.0
OS                             Microsoft Windows 10.0.17134
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

I don't know why the picture is not showing but this is the error:

Re formatting:
The picture isn't showing in your initial post, because you placed the markdown expression inside a fenced code block (e.g., ```powershell...```), where it isn't recognized and treated as a literal.
Generally, please only put code or code output in fenced code blocks, not images and prose such as "The values will be saved."

The problem stems from the fact that the shortcut that you're trying to modify is located in a folder that requires elevation (running as an administrator) in order to write to it ("$env:ProgramData\Microsoft\Windows\Start Menu\Programs\PowerShell")
In other words: this is a permissions problem, but the error message is woefully inadequate.
Note that the issue only occurs if you launch PS Core from the Start Menu.

As for workarounds:
If you copy the shortcut file (*.lnk file) to a user location, the problem goes away, and this can be done implicitly:

Either:  Launch PS Core via the Start Menu, pin it to the Task Bar, and launch PS Core from there in the future.

Or: Drag the PS Core shortcut file from the Start Menu to your Desktop, for instance, and launch PS Core from there in the future.

Future windows launched this way will not exhibit the problem, because their originating shortcut is now in a location that even your non-elevated processes can write to.
An ad-hoc alternative is to stick with the Start Menu shortcut, but invoke it as an administrator in order to change the window properties (right-click on the icon in the Start Menu and select Run as Administrator) - but note you'll have to do that every time you want to make changes.

As for what needs fixing:

The PowerShell installer could create a per-user Start Menu shortcut for PS Core instead of a single, shared one that requires elevation to modify (as an aside, if multiple users try to customize the shortcut, the customizations could collide).

This is how cmd.exe already does it for its Command Prompt shortcut, which is placed in "$env:APPDATA\Microsoft\Windows\Start Menu\Programs\System Tools" - for every user.

The Windows (GUI) Shell should improve the wording of the error message - not sure where to report that.

@NJ-Dude: P.S.: To avoid confusion, please change "session" to "console window" in the issue title.

You can also explore using HKCU:\Console in the interim which is under your control.
https://blogs.msdn.microsoft.com/commandline/2017/06/20/understanding-windows-console-host-settings