Do not generate mipmaps by default

Texture loader should not generate mipmaps by default. It should rely on the mipmap parameter and the user should also be able to specify start/end levels.

We should also expose base, max_level parameters.

Also exposed anisotropy because this was hardcoded in the loader (bad).
All done and pushed.


Support for pip install

If you're interested, here is support for step to be pip-installable. You would need to create an account on pypi.python.org, create a suitable .pypirc file in your home directory, and execute this:
python setup.py register -r pypi
python setup.py sdist upload -r pypi

I tested it on testpypi.python.org, everything worked well. This is a good short guide on how to submit to PyPI.
As "step" is already taken on PyPI, I used "step-template" for the package name instead.
I also updated a few texts, if that's okay.

Awesome, thank you! I'll submit it to PyPI immediately.

Tried it, works! Thanks again for this elegant little library.


Microsoft Fakes does not generate Fakes namespace for System.IO.Abstractions interfaces

Try to generate MS Fakes Stubs for all interfaces under System.IO.Abstractions without success.
To Reproduce
Steps to reproduce the behavior:

Create MS Test Project, add System.IO.Abstractions NuGet
On System.IO.Abstractions.dll right-click and choose Add Fakes Assebmly.
Build
View FileSystemMockDemo.Fakes.dll under FakesAssemblies folder

Expected behavior
All Stub interfaces should be under System.IO.Abstractions.Fakes namepsace.
Additional context
I use VS 2022 Enterprise Edition
I also tried to remove the Shims generation
<Fakes xmlns="http://schemas.microsoft.com/fakes/2011/"  Diagnostic="true" Verbosity="Noisy">
  <Assembly Name="System.IO.Abstractions" Version="<IP_ADDRESS>"/>
  <ShimGeneration>
    <Clear />
  </ShimGeneration>
</Fakes>

or any other option like:
<Fakes xmlns="http://schemas.microsoft.com/fakes/2011/"  Diagnostic="true" Verbosity="Noisy">
  <Assembly Name="System.IO.Abstractions" Version="<IP_ADDRESS>"/>
  <StubGeneration>
    <Clear />
    <Add Interfaces="true"/>
  </StubGeneration>
  <ShimGeneration>
    <Clear />
  </ShimGeneration>
</Fakes>

Did anyone tried that, there is no documentation on that

Thanks for raising this. I don't have any experience with Microsoft Fakes, but I'll leave this open to see if the community can help. Maybe also consider posting it on StackOverflow or the likes to reach a broader audience.


refactor: remove HttpRequest.header alias

This https://github.com/extism/dotnet-pdk/pull/84 brought to my attention that the Rust SDK supports both headers and header while the go sdk only supports headers. After talking to Zach, we decided to remove the header alias from the Rust SDK too, since it's obsolete and we want people to use headers

There's also memory.max as an alias for memory.max_pages maybe it makes sense to get rid of that now too?

@zshipko done!


rsshub: init at 0-unstable-2024-07-08

Description of changes
https://github.com/DIYgod/RSSHub

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

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

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

1 package built:

rsshub

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/4281


ERROR: Could not resolve "tinacms"

Describe the issue that you're seeing. Any Loom videos or screenshots usually help a lot!
Installed the latest Astro 4.0.4 and latest tinacms 1.5.28.
I did ran Astro first to see if it worked, it did. Followed the implementation guide and changed script for dev to -  "dev": "tinacms dev -c "astro dev"" , which after using npm run dev gave me an error -

Haven't changed any config nor anything after installing.
Reproduction

Steps to reproduce

npm create astro@latest
npm run dev
npx @tinacms/cli@latest init
4.change script dev to - "dev": "tinacms dev -c "astro dev""

System Info
Node v 20.9

Validations

[X] Follow our Code of Conduct
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug.

I'm having this issue as well, but with Node v21.1.0 and Next.js 13.

Issue was hidden .yarn and .yarn related files in parent folder.

@tauriRuut do you remember how you resolved this? I'm having similar issues #4530 but so far have not been able to fix it

@wslyvh Delete the hidden .yarn and .yarn related folders, check your hidden files in parent folder such a C-drive or finder whatever you are using. And Delete all the .yarn/.npm files.

Sadly doesn't work for me, but thanks for getting back!


Minor changes and add missing doc

What does this implement/fix ?
adds missing doc to Z test and makes psi and kl-div tests internal.

@SangamSwadiK Thank you!


404 error

Hi
I am facing this error when I do npm install
npm ERR! Windows_NT 10.0.10586
...
npm ERR! node v5.3.0
npm ERR! npm  v3.5.2
npm ERR! code E404

npm ERR! 404 Registry returned 404 for GET on https://registry.npmjs.org/npl_com
promise
npm ERR! 404
npm ERR! 404  'npl_compromise' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)

npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

npm ERR! Please include the following file with any support request:
npm ERR!    ...

hi there. it's nlp_compromise, not npl_compromise
did i make a typo somewhere? i don't see anything with a grep.
cheers


Jupyter Notebook external application through jupyter-server-proxy

I'm trying to run label-studio as an external process in notebook server using jupyter-server-proxy and facing proxy issues with the URL's. Has anyone able to achieve this scenario successfully?
Examples:
Expected URL: http://localhost:8888/labelstudio/data/upload/6482e2-download.png
Actual URL: http://localhost:8888/data/upload/6482e2-download.png
Expected URL: http://localhost:8888/labelstudio/welcome
Actual URL: http://localhost:8888/welcome

@muthurajr What LS version do you use?

v0.9.1.post1. Even facing same issue with v0.8.2 as well.

@makseq After setting the external domain name like "example.com/notebook/sandbox/test/labelstudio/", #1 is solved. But /import & /export which are derived in label-studio/master/label_studio/static/dm/js/main.js are not getting updated. I guess some fix might be needed in the reverse proxy.

Yes, we need to rebuild data manager to fix it.

Is there any way to parameterize it without rebuild?

@muthurajr Unfortunately, no, it's hardcoded in Data Manager..

@muthurajr We are releasing 1.0.2 version today, this problem must be fixed there. Or you can try master branch right now.


pip-audit imports a vulnerable version of the requests package

Bug description
pip-audit is using a vulnerable version of the requests package ("requests<2.30"). requests package has released version v2.31.0 which is a fix for the reported security vulnerability CVE-2023-32681 (see also Github Security Advisory). Updating the requests package fails pip-audit runs.

Thanks for the report!
This is going to be a little annoying to fix: we're pinned under 2.30 because our caching middleware isn't compatible with a transitive dep change in that version.
This is also affecting pip: https://github.com/pypa/pip/pull/12026
xref https://github.com/pypa/pip-audit/issues/613
CC @tetsuo-cpp for thoughts -- maybe we can get away with temporarily disabling the caching middleware for a few release or (ugh) testing the version of requests and patching around the break?

I think I have a workable solution for this: we can constrain urllib3 to the 1.26.x release series for now, since requests is still compatible with it.
(A million thanks for @sethmlarson for pointing this out!)

My project broke because of this too. Do you think it's something quick to fix? If not, how can I work around it somehow while the fix is on the way?

Ok, tell me how I test it and I will be glad to do it

You can install it directly via pip install from GitHub:
pip install 'pip-audit @ git+https://github.com/pypa/pip-audit@ww/cachecontrol-fork'

Then, reproduce whatever command failed for you.

I'm using poetry. I'll try using that, just give me a few minutes

Apologies for the fire-drill @woodruffw, I haven't experienced this specific scenario where the vuln audit tool pulls in the dependency with a vuln, we'll keep this project in mind in the future for alerting.

@sethmlarson not your problem at all! This was my daily reminder that the "supply chain" is more like the "supply ouroboros" 🙂
@andreportela Thanks for confirming! I need one of the other maintainers to approve the PR, but we should have this fix merged and released shortly.

Many thanks @woodruffw! I'm counting on this PR ❤ 😅


Add tab for Resume

Need to add my resume & list of skills (use Ben portfolio as example)

Just did this - used a canva template. Updated with a few lines of recent projects & posted the photo on my resume page. Might update later, but for now, it works :)


Create Get-FileSensitivityLabelInfo

The cmdlet and its output looks like this...

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

File
Status
Preview URL
Details

sharepoint/sharepoint-ps/sharepoint-online/Get-FileSensitivityLabelInfo
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

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

File
Status
Preview URL
Details

sharepoint/sharepoint-ps/sharepoint-online/Get-FileSensitivityLabelInfo
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

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

File
Status
Preview URL
Details

sharepoint/sharepoint-ps/sharepoint-online/Get-FileSensitivityLabelInfo
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

@tseward

Docs Build status updates of commit 2cdba4b:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sharepoint/sharepoint-ps/sharepoint-online/Get-FileSensitivityLabelInfo
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

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

File
Status
Preview URL
Details

sharepoint/sharepoint-ps/sharepoint-online/Get-FileSensitivityLabelInfo
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

@Kateyanne Please merge this PR. Thanks

Docs Build status updates of commit 61ab284:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sharepoint/sharepoint-ps/sharepoint-online/Get-FileSensitivityLabelInfo
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

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

File
Status
Preview URL
Details

sharepoint/sharepoint-ps/sharepoint-online/Get-FileSensitivityLabelInfo
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 4cd4bed:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sharepoint/sharepoint-ps/sharepoint-online/Get-FileSensitivityLabelInfo.md
:white_check_mark:Succeeded
View (sharepoint-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 358113b:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sharepoint/sharepoint-ps/sharepoint-online/Get-FileSensitivityLabelInfo.md
:white_check_mark:Succeeded
View (sharepoint-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 13386cc:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sharepoint/sharepoint-ps/sharepoint-online/Get-FileSensitivityLabelInfo.md
:white_check_mark:Succeeded
View (sharepoint-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 960771d:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sharepoint/sharepoint-ps/sharepoint-online/Get-FileSensitivityLabelInfo.md
:white_check_mark:Succeeded
View (sharepoint-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


some unit types cannot be placed in the editor

example:  hellion -> hellbat transformation cannot occur without an armory present on the map.
Currently, an armory is not available to be placed on the map.

per discussion, it may end up being best just to enable the placement of all buildings for each race and allow the scenario builder to meet tech requirements as they desire.

All 3 race buildings implemented


Gives this with -w

Please submit the following keys so we can get a parser made for it: dict_keys(['format'])
model key count: 1145
Traceback (most recent call last):
File "/content/lora-inspector/lora-inspector.py", line 397, in
results = process(args)
File "/content/lora-inspector/lora-inspector.py", line 372, in process
return process_safetensor_file(file, args)
File "/content/lora-inspector/lora-inspector.py", line 262, in process_safetensor_file
find_vectors_weights(f)
File "/content/lora-inspector/lora-inspector.py", line 175, in find_vectors_weights
avg_mag = sum_mag / num_results
ZeroDivisionError: division by zero

Hmm is it possible that this LoRA doesn't have a UNet trained? I can look into fixing it so it won't error but curious.

this LoRA
https://civitai.com/models/48139/lowra

Hmm seems to work on my end. Maybe download it again to confirm it is all there? I will still look into the missing UNet because that's a thing that should be supported.
python lora-inspector.py -w  /mnt/900/lora/LowRA.safetensors
/mnt/900/lora/LowRA.safetensors
model key count: 792
UNet attention weight average magnitude: 2.6101634470841035
UNet attention weight average strength: 0.010605590754123827
Text Encoder weight average magnitude: 2.3996765103651425
Text Encoder weight average strength: 0.008541954607252404

This happened to me too after a restart. But to save the meta data did not work.

Seems those LoRA's do not have any metadata. I fixed them so they will still go through the process but the result will limited.
{"file": "/mnt/900/lora/LowRA.safetensors", "filename": "LowRA.safetensors"}

Also fixed missing UNet which should pass through fine now.
Thanks for reporting! Let me know if you have any issues with these.


Valuelist-choose-delimiter

Can we add a function to choose the delimiter? I actually would like to use semicolon, because I have commas in my strings :)
E.g. "5.3 Verkauf Möbel, Bau, Garten"

@christophwaibel you can also just wrap values in double quotes, so a line could read:
1, "5.3 Verkauf Möbel, Bau, Garten", next field, 0.72, 42

Can you try that? It should just work. Also, since we use the csv module to read the csv files and that tries to auto-detect the dialect used, you can just use semi-colons. Try it, it should just work.
Editing CSV files works rather well with Excel - I'd be surprised if Excel output isn't read correctly by the csv module.


Code Cleanup

Hey there,
Just started using this.   I noticed that files writes were not using a contextmanager and then fell down the rabbit hole of cleaning up some other things.   Nothing should be a functional change and the with open(...) as ... will prevent any dangling filehandlers should an issue happen.
Each commit should be self contained to the issue it addresses for review instead of seeing a huge amount of thrash.
Ignoring whitespace in the compare is also helpful to cut down on the noise.  :)
Cheers!  Thanks for an awesome project!

Can you post the functional changes as a separate PR please. Also, I disagree with some of the whitespace changes, there was formatting in there for a reason. Hence separating from the functional changes.

Done.  New PR opened (#33)
As for the purposeful whitespace formatting, I see https://github.com/raspberrypi/pico-project-generator/blob/3a1cdad69a2218549547af2f31600b000930ab27/pico_project.py#L47-L62  Are there any other places were whitespace has purpose/meaning that were overwritten?

I'll have to check again, that was the obvious example.

Has this been superseded by #39 ?


kafka(ticdc): verify kafka sink v2 configurations

What problem does this PR solve?

Issue Number: close #8240, close #8245
What is changed and how it works?
The following configurable options is supported:

[x] topic-name
[x] kafka-version
[x] kafka-client-id
[x] partition-num: it's supported to create the topic
[x] max-message-bytes
[x] replication-factor:  it's supported to create the topic
[x] required-acks
[x] compression
[x] protocol
[x] auto-create-topic: it's supported by the kafka sink
[x] dial-timeout
[x] write-timeout
[x] read-timeout

Check List
Tests

Unit test
Manual test (add detailed scripts or steps below)

Questions
Will it cause performance regression or break compatibility?
Do you need to update user documentation, design documentation or monitoring documentation?
Release note
`None`

/run-all-tests

/run-all-tests

/run-engine-integration-test

/run-engine-integration-test

/merge

/run-engine-integration-test

/run-dm-integration-test

/run-dm-integration-test

/hold

/unhold

/run-dm-integration-test

/run-dm-integration-test


Add CI script to create Anchor Verifiable Builds

This script runs anchor build --verifiable when a new version is tagged, and creates a Github release with the build artifact and SHA256 checksum.
Example run: https://github.com/riordanp/openbook-dex/actions/runs/3570164791/jobs/6000876012
Example release: https://github.com/riordanp/openbook-dex/releases/tag/v4.2.4

Added an additional commit to update the Anchor version in Anchor.toml so the CLI uses this by default. Can revert if this isn't needed right now.


Interactive prompt for provider

defang compose up
? Choose a cloud provider:  [Use arrows to move, type to filter, ? for more help]
> defang - The Defang Playground is a free environment for testing only.
  aws - Deploy to AWS using the AWS_* environment variables or the AWS CLI configuration.
  digitalocean - Deploy to DigitalOcean using the DIGITALOCEAN_TOKEN, SPACES_ACCESS_KEY_ID, and SPACES_SECRET_ACCESS_KEY environment variables.

WIP. Currently the prompt is shown even if the actual CLI command  doesn't care.

Superseded by #813


Fix error message typo in UnivariateSpline

The error message it gives you had misspelled 'process' as 'proces'. It's spelled correctly later in the file in a different error message.

Thanks @ageitgey


Plugin needs to updated for the newest IDE

Kotlin Version: 1.5.20
Kotest Version: 4.6.0
Kotest Plugin Version: 1.1.36-IC-2021.1
Intellij Version: IU-211.7628.21
The exact error message is in the picture when trying to install Kotest IntelliJ Plugin from the plugin section in IntelliJ IDEA.

Possibly a duplicate of https://github.com/kotest/kotest-intellij-plugin/issues/133

Good point! This might be a duplicate but Clearing file system cache, Local History and downloaded shared indexes didn't do the trick for me.
https://www.jetbrains.com/help/idea/invalidate-caches.html
Any way to debug this error message?

Did you remove the plugin before clearing the cache ?/
Basically you have a version installed for an older intellj and it hasn't upgraded.
You can see here we build for your version of intellij (211.76) https://github.com/kotest/kotest-intellij-plugin/blob/master/build.gradle.kts#L58-L59

Like addressed in the issue #133 I can't remove the plugin if I have not installed it yet.
I tried to search for the plugin manually according to this thread but there was no folder for the plugin Kotest or anything alike.
It's almost like only these lines are being used
   plugin.PluginDescriptor(
      since = "201.6487",
      until = "201.*",
      sdkVersion = "IC-2020.1",
      sourceFolder = "IC-201",
      deps = listOf("java", "org.jetbrains.plugins.gradle", "org.jetbrains.kotlin:1.3.72-release-IJ2020.1-5")
   ),

instead of the lines you brought up
      since = "211.6693.111", // this version is 2021.1
      until = "212.*",

This makes me wonder on which conditions are these lines called and can we somehow do something about it.

The issue perished when updated to IntelliJ IDEA build 212.
Closing the issue.

Ok i had missed that you had not even installed the plugin in the first
place! I thought you were upgrading intellij from an earlier version with
an earlier version of kotest plugin.
Anyway I'm glad it's working now!
On Wed, 28 Jul 2021, 01:39 Akira Taguchi, @.***> wrote:

Closed #138 https://github.com/kotest/kotest-intellij-plugin/issues/138.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/kotest/kotest-intellij-plugin/issues/138#event-5078194552,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAFVSGVSTTY56AZ4ZRDMAD3TZ6QYZANCNFSM5A7NO6QQ
.


[0.10.0] InfluxDB refuses to listen on some ports

Today I have stored 3.2gb of journalctl logs into InfluxDB. After the transfer was finished the db seems to have some performance problems.

when I start/restart influxdb it takes a while until it listen on port 8083 / 8086 and cuts up the connection after queries were send out
 SELECT queries entered via the InfluxDB shell / web admin interface never return a result

I am using version 0.10.0 on an ubuntu distro.

@schlunz Can you provide the logs from when these issues are occurring?

I think I am seeing similar problem, though I took it as possibly an issue with the python client as I can CURL the requests with no issue.
https://github.com/influxdata/influxdb-python/issues/293
Python client works flawless on 0.9.x, on 0.10.0 I can query without issue, but I can only write once then the requests session disconnects and never recovers.

sorry @rossmcdonald! i lost the logs for the described influxDB session.
I figured out this might be an performance issue, since I wrote lots of strings, as tag sets (I think between 15 and 25) for each write request to influxDB. And this around 3,6 million times (but batched).
My hardware and/or influxDB might not like that amount of data in a short period of time.  :snail: :dizzy_face:
By the way, I used the ruby client I think it did a good job!

@schlunz Yes, tags should be reserved for non-unique items with ideally a somewhat low level of cardinality (though it depends on the specs on your machine). Unique tags (even over a relatively short period of time) will cause the in-memory index to explode in size, causing all sorts of memory and performance issues and should be avoided.
I'm going to close this issue for now, but respond here if you're able to reproduce the issue.


APPS: dsaparam, gendsa: Support setting properties

The -provider and -propquery options did not work on dsaparam and gendsa. Fix this and add tests that check that operations that are not supported by the FIPS provider work when run with
-provider default -propquery '?fips!=yes'

See also https://bugzilla.redhat.com/show_bug.cgi?id=2094956, where this was initially reported.
Signed-off-by: Clemens Lang<EMAIL_ADDRESS>Checklist

[ ] documentation is added or updated
[x] tests are added or updated

Note that I should have an ICLA on file, see also https://github.com/openssl/openssl/pull/18469#issuecomment-1145903437 for previous discussion.
I did mail to legal@ on 2022-06-10, but have not received any response.

Note that I should have an ICLA on file, see also #18469 (comment) for previous discussion.
I did mail to legal@ on 2022-06-10, but have not received any response.

Is there anything I can do to get this unstuck?

Run-checker CI / run-checker (no-ui) seems to fail on master, too, so that's probably not caused by this PR.

I think the CI failure is another instance of #18594

@t8m - Are we trying to move away from these older commandline apps?

@t8m - Are we trying to move away from these older commandline apps?
(via genpkey -genparam)

We did not deprecate them, so IMO no.

This pull request is ready to merge

Merged to master and 3.0 branches. Thank you for your contribution.


Unable to enter SMS verification code for authentication process

Description
Hello,
I am completely new to all of this. Just trying to get Simplisafe to work with homekit. So I installed Homebridge on my Macbook, and downloaded the simplisafe3 plugin. I'm trying to start the authentication process. After entering my email, password and pressing "Start Authentication" I get stuck with a message that says "Attempting to login with credentials..." When I press "start authentication" I do get a SMS with a verification code from
Simplisafe buy I have no idea where to enter this code. Any help would enourmously appreciated!!
Expected behavior
In the instructions it says, "During the process you will either have to verify via email or enter an SMS vertification code (same as logging into SimpliSafe website)" but I do not have an option to verify the SMS verification code.
Steps to reproduce

Enter email
Enter password
Press "Start Authentication"
I get stuck with a message that says "Attempting to login with credentials..."

 I'm sorry... I feel like this may be an easy fix I just am not familiar with all of this :(

Screenshots

Plugin version
v1.10.10
Homebridge version
v4.50.2
Node.js version
v16.16.0
Host OS
macOS

Seeing an identical issue, unable to login. Tried fully removing and reinstalling, didn't help. Command line authentication is not working either

Yes I also tried with the command line. Initially when I tried with the command line it actually said that it was authenticated in the terminal but I never receivd and SMS verification code and on the homebridge UI nothing happened. Trying to do it with the command line now to take a screenshot it did not work and im getting "Authentication error: Request failed with status code 400" Screen shots attached.

did anyone get this to work?  My Simple Safe has worked perfectly since October but fails now.  This is with the newest 16.2 software update

There could be a misconfiguration in the system or a service outage. We track these errors automatically, but if the problem persists feel free to contact us.
Please try again.


Angular 2 app not loading main.bundle.js , inline.bundle.js, polyfills.bundle.js, styles.bundle.js, vendor.bundle.js, even after webpack compiled successfully

** NG Live Development Server is listening on localhost:4200, open your browser on http://localhost:4200 **
Date: 2017-12-26T04:58:28.716Z
Hash: ee3cac94a32b0ec4d2f4
Time: 41596ms
chunk {inline} inline.bundle.js, inline.bundle.js.map (inline) 5.83 kB [entry] [rendered]
chunk {main} main.bundle.js, main.bundle.js.map (main) 242 kB {vendor} [initial] [rendered]
chunk {polyfills} polyfills.bundle.js, polyfills.bundle.js.map (polyfills) 342 kB {inline} [initial] [rendered]
chunk {styles} styles.bundle.js, styles.bundle.js.map (styles) 101 kB {inline} [initial] [rendered]
chunk {vendor} vendor.bundle.js, vendor.bundle.js.map (vendor) 5.86 MB [initial] [rendered]
webpack: Compiled successfully.
For all files
The status in localhost is
Status Code:404 Not Found
I am using ubuntu 16.04.

Package json file
{
"name": "dd",
"version": "1.0.0",
"license": "MIT",
"main": "karma.conf.js",
"scripts": {
"ng": "ng",
"start": "ng serve",
"build": "ng build",
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e"
},
"private": true,
"dependencies": {
"@angular/animations": "^4.3.6",
"@angular/cdk": "2.0.0-beta.10",
"@angular/common": "4.4.6",
"@angular/compiler": "4.2.4",
"@angular/core": "4.4.6",
"@angular/forms": "4.4.6",
"@angular/http": "^4.2.4",
"@angular/material": "2.0.0-beta.10",
"@angular/platform-browser": "4.2.4",
"@angular/platform-browser-dynamic": "4.2.4",
"@angular/router": "^4.2.4",
"@cedx/ngx-webstorage": "^1.2.0",
"angular2-cool-storage": "3.1.0",
"angular2-focus": "1.1.0",
"ckeditor": "4.7.3",
"classlist.js": "^1.1.20150312",
"core-js": "^2.4.1",
"jquery": "^3.2.1",
"lodash": "^4.17.4",
"ng2-ckeditor": "1.1.5",
"ng2-toastr": "^4.1.2",
"ng2-toasty": "^4.0.3",
"ngx-perfect-scrollbar": "4.6.3",
"rxjs": "^5.4.2",
"tinymce": "^4.6.4",
"underscore": "^1.8.3",
"zone.js": "^0.8.14"
},
"devDependencies": {
"@angular/cli": "1.3.2",
"@angular/compiler-cli": "4.2.4",
"@angular/language-service": "^4.2.4",
"@types/jasmine": "~2.5.53",
"@types/jasminewd2": "~2.0.2",
"@types/node": "~6.0.60",
"codelyzer": "~3.1.1",
"jasmine-core": "~2.6.2",
"jasmine-spec-reporter": "~4.1.0",
"karma": "~1.7.0",
"karma-chrome-launcher": "~2.1.1",
"karma-cli": "~1.0.1",
"karma-coverage-istanbul-reporter": "^1.2.1",
"karma-jasmine": "~1.1.0",
"karma-jasmine-html-reporter": "^0.2.2",
"protractor": "~5.1.2",
"ts-node": "~3.2.0",
"tslint": "~5.3.2",
"typescript": "~2.3.3"
}
}

This seems like a bug but we'll need to look at a reproduction to find and fix the problem. Can you setup a minimal repro please?
You can read here why this is needed. A good way to make a minimal repro is to create a new app via ng new repro-app and adding the minimum possible code to show the problem. Then you can push this repository to github and link it here.


Feature/screlu

SPRT: llr 2.9 (100.4%), lbound -2.25, ubound 2.89 - H1 was accepted
Elo difference: 10.6 +/- 5.6, LOS: 100.0 %, DrawRatio: 44.6 %
Score of Illumina - New vs Illumina - Previous: 2418 - 2165 - 3686  [0.515] 8269

Wrong net was attached to this PR, the correct one was attached in https://github.com/Mergener/illumina/commit/32f250a85087866e2014e2abfcfd91e03e59b89e.


issue building docs locally

Building docs locally seems to be broken on MacOS. Trying to build from either the home directory of docs directory gives an error (either ERROR: LoadError: ArgumentError: Package Documenter not found in current path: or ERROR: LoadError: ArgumentError: Package Trixi not found in current path:).
@sloede found that copying what the CI does and locally deving Trixi makes it possible to build docs
julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
julia --project=docs --color=yes docs/make.jl

However, this doesn't currently reflect what is in the docs for previewing Documenter output.

The problem is that Trixi isn't included in docs/Project.toml (which works in CI since it's loaded as described above). It will work if you have (the deved version of) Trixi in your default project.

I don't have a deved version but a regular one... is this why it works for me as well?
Maybe we should add something along the following lines to docs/make.jl:
if (get(ENV, "CI", nothing) != "true") && (get(ENV, "USE_TRIXI_DEFAULT_ENVIRONMENT", nothing) != "true")
  push!(LOAD_PATH,"../src/")
end

such that if not in the CI, it will use the local Trixi folder, unless overridden by USE_TRIXI_DEFAULT_ENVIRONMENT (or a similarly named environment variable)?

I don't have a deved version but a regular one... is this why it works for me as well?

You could confirm this by modifying some docstring and building the docs locally - you shouldn't see your new docstring

I can confirm that if I create the docs locally without my proposed modification, docstring changes are not picked up in the docs (since they are apparently taking from the installed Trixi version).


Loading History-Graph fails

Hi!
as switching to the AddOn, I do get the following errors on my history-graph-tiles:
[Error] Preflight response is not successful [Error] XMLHttpRequest cannot load https://xxxx.ui.nabu.casa/api/history/period/2x021-09-02T19:15:20.359Z?end_time=2021-09-09T19:15:20.359Z&filter_entity_id=sensor.bl_berlin_weekincidence due to access control checks. [Error] Failed to load resource: Preflight response is not successful (2021-09-02T19:15:20.359Z, line 0)
any Idea, why tailboard tries to load the data over nabucasa and not locally?
thanks in advance,
Michael
edit: I'm not using ingress, but a configured port for using it with my old android tablets!

I believe that the addon will use the URL configured on the /config/core HA page (the General Configuration page). You should have External URL and Internal URL there and it will pick the first one that is set.

BTW. The root issue is in HA (see https://github.com/resoai/TileBoard/issues/386) but using the same URL for the REST API calls as you are using for opening the TileBoard itself will work around it.

till now the external URL wasn't set. I put the same internal IP on both URLs, but this does not resolve the problem. :-(

Is your local URL https://<IP_ADDRESS>:8123 or http://<IP_ADDRESS>:8123 (https vs. http). You shouldn't get that issue if the origin of the URL is the same.

I changed both (tileboard and HA) to use SSL

That doesn't quite make sense to me if both the URL in the browser field and the failing request start with the same protocol, domain and port. Browsers only trigger preflight requests when those don't match.

the error-message in the Log of the AdOn is:
OCSP response not successful (6: unauthorized) while requesting certificate status, responder: ocsp.int-x3.letsencrypt.org, peer: IP:80, certificate: "/ssl/fullchain.pem"

Maybe don't use SSL since you don't seem to have a proper SSL certificate for your URL (I think that it's not even possible to have a valid certificate for a local IP).

I tried to switch off the SSL option in configuration tab of the AddOn too, but it does not make any difference - the error stays:
[Error] Preflight response is not successful [Error] XMLHttpRequest cannot load https://HA_URL.ui.nabu.casa/api/history/period/2021-09-09T19:48:08.933Z?end_time=2021-09-16T19:48:08.933Z&filter_entity_id=sensor.bl_berlin_weekincidence due to access control checks. [Error] Failed to load resource: Preflight response is not successful (2021-09-09T19:48:08.933Z, line 0)

It should work work when TileBoard is loaded from http://<IP_ADDRESS>:8123 and is requesting the API at http://<IP_ADDRESS>:8123. It seems like before you were able to make the API request to https://<IP_ADDRESS>:8123 so now it should just be a matter of switching to HTTP for both.

TileBoard keeps routing to https://nabucasa...  no matter what I do put into "external URL".... :- (

I would have to look at that at some point. The logic tries to guess the used URL to make experience smoother but it apparently goes wrong when using HA cloud.
I don't have a cloud account so not sure if I'll be able to investigate it but will see...

I have same issue :(
Access to XMLHttpRequest at 'http://<IP_ADDRESS>:8123/api/history/period/2022-06-20T17:35:17.453Z?end_time=2022-06-21T17:35:17.453Z&filter_entity_id=sensor.xiaomi_rack_temperature' from origin 'http://<IP_ADDRESS>:1717' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.


Dummy device

We could have it implemented inside gfx-rs crate. It would do minimal work, just to allow testing gfx-rs apps for compilation.

This would be extremely useful for unit testing graphics code. :+1:

Excellent work @jeremija.


feat: Add Rapid Response reports plugin

Related Tickets:
https://github.com/mitodl/open-edx-plugins/issues/9 & https://github.com/mitodl/edx-platform/issues/273
What's this PR does?

Adds rapid response reports plugins to support reports creation for Rapid response xBlock

How to test?
To test this PR you will need a counterpart in the edx-platform and that part is specifically done in https://github.com/mitodl/edx-platform/pull/275

Setup your edx-platform on the associated branch https://github.com/mitodl/edx-platform/pull/275 from here
Install this plugin (e.g. generate a build for this plugin with ./pants package :: (You might need to first build the pants itself using ./pants build before creating package) and then install that into the edx-platform)
Restart the lms (make lms-restart)
Now open a course as admin and click Instructor tab and make sure you see a Rapid Responses tab under it
Click the Rapid Responses tab and test all the functionality of Rapid Respons reports downloads

Background context:
We had made several changes inside our for of the edx-platform where we added a Django application to support rapid response reports. In the process, we made many changes in open edX's Instructor Django application since we wanted to run Rapid Reports reports inside the Instrutor tab.
Screenshots:

Since no on started the review yet so I changed the label to Work in Progress because I'll probably add some quick improvements to this before getting it reviewed.

@gsidebo This PR is ready for review again.


Custom getAll does not work

Hi,
I try to implement the following endpoint, but it seems that this is not supported:
Api.addRoute('articles/:articleId/items', {
getAll: function () {
console.log('itemId: ' + this.urlParams.itemId);
return Items.find({articleId: this.urlParams.articleId});
}
});
The aim is to return all documents from the Items collection, which have the given articleId. Or is there another way to achieve this?
Thanks
Tarkan
PS: The response is:
http://localhost:3000/api/articles/WiD7Zzycfa4oKfiH8/items
{
"status": "error",
"message": "API endpoint does not exist"
}

It look like getAll endpoint doesn't exist. Try to change it to get.


[3.x] Fix conflicts between native Twill blocks and app/vendor blocks

twill.block_editor.directories contains both Twill and app directories by default. Without this fix, Twill's default text block is taking over in the form instead of the app's text block.

Weird behavior, when creating it showed the correct then on refresh the Twill's block.
Anyway tested and works perfectly!


fix #26: geodsolve76. bug in test itself

[ ] I agree to follow the project's code of conduct.
[ ] I added an entry to CHANGES.md if knowledge of this change could be valuable to users.

This one turned out to be a bug in the test itself: I called the wrong inverse variant when I wrote the translation, resulting in comparing distance in meters with angular distance.

Actually, it looks like there are a couple of other tests with the same issue. I'll add them to this PR shortly.

Actually, it looks like there are a couple of other tests with the same issue. I'll add them to this PR shortly.

bors r+
great!

bors r+
great!


certificate identifier is limited to maxLength 80 but no limit specified

The JSON Schema limits the "ci" - certificate identifier field to 80 characters:
https://github.com/corona-warn-app/cwa-app-android/blob/1c73bc563d523f667b2bce8cc91a668d668ff150/Corona-Warn-App/src/main/assets/jsonschema-dcc-ebb6720.json#L139
My certificate (issued by Thailand) has an 81 character CI. Hence, validation fails with a JSON-schema error.
Looking at the spec (referenced in above JSON schema), I don't see a hard limitation to 80 characters. Could you please clarify?
Note: the Swiss CovidCert app recognizes my certificate as valid.
Thanks in advance!
Internal Tracking ID: EXPOSUREAPP-12608

@mtwalli This seems like a bug and not like a feature request. Please check wirth @thomasaugsten and move it back to the Android repo if appropriate.

@Ein-Tim the ticket says it is a story not a bug, Which should be handled in iOS and Android. Also we are using the schema provided by EU and the certificate is issued by Thailand.

@Ein-Tim  see https://github.com/corona-warn-app/cwa-app-ios/blob/db4828940655c40bd5394b2c9f9ef16a9f986bec/src/xcode/ENA/HealthCertificateToolkit/Sources/HealthCertificateToolkit/CertificateAccess/Ressources/CertificateSchema.json

@Ein-Tim

This seems like a bug and not like a feature request.

Can you provide a link to specification which says that 81 characters are valid?
In the comment https://github.com/corona-warn-app/cwa-wishlist/issues/858#issuecomment-1252007028 I referred to https://ec.europa.eu/health/sites/health/files/ehealth/docs/vaccination-proof_interoperability-guidelines_en.pdf which seems to state a maximum of 72 characters (footnote 6 on page 12).

@mtwalli Could you re-asses this, because @dbaldes stated above, that it works with CovPass, so it is strange that this does not work with CWA.
@thomasaugsten Did Thailand change their implementation meanwhile?

@MikeMcC399 I don't know if this is according to the schema or not, I only know that it seems to work in CovPass but not in CWA. These two apps should behave the same way (if it is possible to scan a certificate with CovPass, it should also be possible to scan it with CWA).
If you are interested why CovPass allows this certificate to be imported, you should open a new issue in a CovPass repo.

@Ein-Tim  What I know that CovPass should be using the same schema see https://github.com/Digitaler-Impfnachweis/covpass-android/blob/7f333711845394018e71c432d346c352427e3960/covpass-sdk/src/main/assets/covpass-sdk/json-schema-v1.json
I can't say for sure why it is accepted there

Maybe @dbaldes could recheck and let us know if CovPass meanwhile also rejects the certificate?
Independent form that it would be interesting to know if Thailand fixed their implementation.

@mtwalli
I suggest to change the title to suit a wishlist item better, for example:
"Accept certificates with certificate_id length > 80"
This would probably need a schema change at the EU level according to the definitions in https://github.com/ehn-dcc-development/eu-dcc-schema. Currently https://github.com/ehn-dcc-development/eu-dcc-schema/blob/release/1.3.2/DCC.Core.Types.schema.json specifies "maxLength": 80:
    "certificate_id": {
      "description": "Certificate Identifier, format as per UVCI: Annex 2 in  https://ec.europa.eu/health/sites/health/files/ehealth/docs/vaccination-proof_interoperability-guidelines_en.pdf",
      "type": "string",
      "maxLength": 80
    }

I researched this a little further and I found:
COMMISSION IMPLEMENTING DECISION (EU) 2021/2299 of 21 December 2021 establishing the equivalence, for the purpose of facilitating the right of free movement within the Union, of COVID-19 certificates issued by Thailand to the certificates issued in accordance with Regulation (EU) 2021/953 of the European Parliament and of the Council
https://eur-lex.europa.eu/legal-content/EN/TXT/HTML/?uri=CELEX:32021D2299&from=EN
refers to
REGULATION (EU) 2021/953 OF THE EUROPEAN PARLIAMENT AND OF THE COUNCIL of 14 June 2021 on a framework for the issuance, verification and acceptance of interoperable COVID-19 vaccination, test and recovery certificates (EU Digital COVID Certificate) to facilitate free movement during the COVID-19 pandemic
https://eur-lex.europa.eu/legal-content/EN/TXT/HTML/?uri=CELEX:32021R0953&qid=1663673861350&from=EN
I did not try to dig into this any further, however it seems that certificates from Thailand should correspond to the EU definition, so this issue should not be a wishlist to make a change to CWA.
Instead, if @dbaldes still has an issue with his individual certificate then he might be able to go back to the authorities in Thailand and request that the certificate be reissued so that it conforms to the EU schema.
I suggest in this case to close this wishlist item.

Closing this issue as suggested by @MikeMcC399. Thanks to all participants for your help on this.


Evaluations being recorded to Kafka multiple times

Evaluations sent through the Kafka Recorder are getting duplicated intermittently.
Expected Behavior
Each evaluation should have a single message sent to Kafka.
Current Behavior
Approximately 0.65% (sampled from roughly 6 million Kafka messages) of evaluations are recorded to Kafka 2 or more times.
Steps to Reproduce (for bugs)

Use Vegeta to produce about 2000 evaluations per second with randomly generated entity IDs for about 15 minutes
Use the Sarama example apps (with some minor formatting adjustments) to consume the generated messages in Kafka and pipe the results into a CSV
Identified multiple identical payload messages in the CSV

Context
Creates some confusion/misleading conclusions if someone doesn't know to dedup data when doing analysis on an AB Test.
Your Environment

Flagr v1.1.12
Kafka v2.3.1

https://github.com/openflagr/flagr/issues/21#issuecomment-894709420


feat: pydantic V2

Update to pydantic V2. What I've done so far:

Updated the pydantic and pydantic-collections dependencies using pip-tools
pip install bump-pydantic && bump-pydantic flag_engine
Replaced the root_validator method _generate_default_composite_key on the IdentityModel with a computed_field named composite_key.
Added typeguard dependency and changed if isinstance(value, TRAIT_VALUE_TYPES) to check_type(value, TRAIT_VALUE_TYPES)

Finalised the work:

Bumped pydantic to 2.2.1
Bumped pydantic collections to 0.5.1
Changed constrained type usage to annotated types
Used computed_field for IdentityModel.composite_key
Used correct model and field validators
Used model_validate instead of parse_obj, model_dump instead if dict
Acommodated for Pydantic V2 parsing str trait values to str
Bumped engine version to 5.0.0

Switched typeguard usage to type_annotations.TypeGuard type instead.

Closing in favour of https://github.com/Flagsmith/flagsmith-engine/pull/190 to allow @matthewelwell to review.


add fip behavior rig example

closes #872

started a new PR because the errors here don't make any sense.


Determining Encoding of an Archive

I am hoping someone can either help me with this problem or maybe raise it as an issue.  I'm working on a small tool to recursively extract nested archives until there are no more archives, but I'm running into issues with encoding. It may just be because I am a novice, but I see no way to determine the encoding with another library like Ude or something dynamically and then create a readable string out of it.
Right now, I'm seeing a number of zip file entries that convert with symbols and gibberish in their paths. It isn't many at all, but I'd much prefer to find a way to dynamically determine what encoding should be used.
I've seen other posts about this, such as #277, and I also see the comment it is resolved as of 0.18. But I can find no demonstration of how it is resolved.
I will share a snippet of my switch where I have a case to handle zip files so you can see how I am accessing the archive. I have tried specifying various encodings but really what I need is a way to dynamically determine the correct encoding or maybe for someone to help me understand something I currently do not and don't know it.
case ".zip":
    using (var archive = ZipArchive.Open(file.FullName))
    {
	foreach (var entry in archive.Entries)
    {
        // perform extraction of the entry
    }
}
break;

Zip files have encoding in them but might not be reliable so it can be overridden.  Something might need to change to follow spec

Zip files have encoding in them but might not be reliable so it can be overridden. Something might need to change to follow spec

I've been looking into this problem a lot over the last several days and learned this. Apparently the spec says utf8 but it's not enforced so it would be whatever else. After thinking about it for a while I did cook up what could be a solution, and I would welcome and appreciate any feedback on this approach.
It seems to me the issue is that the system making the zip could use a different encoding than mine. Thinking about that, I wondered if it may be a good approach to iterate the archive entries, open the entry stream, detect the file character set, and log the count of how many times each one is detected across the archive entries. In the end, bump ASCII from the list. Check the most occurring one (as it seems reasonable to me to conclude this is the authors system encoding)--defaulting to UTF8 if one isn't determined. I welcome any feedback, especially if I am re-inventing the wheel, this is just a bad idea, or there is some better or established method. I am using Ude.
This is a snip of how I'm calling the method
// prep reader options in case of non-standard characters
ReaderOptions opts = new();
var encoding = Encoding.GetEncoding(CheckArchiveEncoding(file));
opts.ArchiveEncoding = new ArchiveEncoding()
{
    CustomDecoder = (data, x, y) =>
    {
        return encoding.GetString(data);
    }
};

and this is the method itself
// method for getting the archive encoding
private static int CheckArchiveEncoding(FileInfo file)
{
    // create dictionary to store detected encoding and count of encoding
    Dictionary<string, int> encodings = new();

    // create 1 kb buffer size
    int bufferSize = 1024;

    // open che archive
    using var archive = ArchiveFactory.Open(file.FullName);

    // loop over the entries
    foreach (var entry in archive.Entries)
    {
        // skip directories
	if (entry.IsDirectory) continue;

	// open the entry stream and get 1kb in bytes of the entry
	using var entryStream = entry.OpenEntryStream();
	byte[] buffer = new byte[bufferSize];
	entryStream.Read(buffer, 0, bufferSize);

	// open the 1kb and detect the charset
	using var bufferStream = new MemoryStream(buffer);
	CharsetDetector cdet = new();
	cdet.Feed(bufferStream);
	cdet.DataEnd();

	// if charset detected iterate the count or add to dict
	if (cdet.Charset != null)
	{
	    if (encodings.ContainsKey(cdet.Charset))
        {
            encodings[cdet.Charset]++;
        }
        else
        {
	    encodings.Add(cdet.Charset, 1);
        }
    }
}

@R0315  how did you get CharsetDetector ? I have similar problem where i am trying to extract from Tar.tar in the TestArchives.
if i dont provide the Archiveencoding as CP437, it is extracting with ???.txt as name. I will create an issue for that but just wanted to see if you have has success with the solution you mentioned above.

@R0315 how did you get CharsetDetector ? I have similar problem where i am trying to extract from Tar.tar in the TestArchives. if i dont provide the Archiveencoding as CP437, it is extracting with ???.txt as name. I will create an issue for that but just wanted to see if you have has success with the solution you mentioned above.

I used Ude.NetStandard package.
I ended up taking a route with my project where if the program could tell that files within have encoding issues, it left them in the archive and, in the end, it generates a report that shows you what the issue was. I went and grabbed that archive you mentioned and, indeed, my code is unable to tell what the file encoding should be.
I remember having issues using sharp compress to try to scrape a KB of the file and test the encoding with tar files. I think the problem was I couldn't actually access the entry streams within to take a sample. However, in my use case, what I had was adequate to account for a lot of the issues I was trying to solve. So, leaving a few anomalous archives and just generating a report was more than satisfactory compared to all the time manually extracting that was being spent.
However, the heuristic approach I mentioned does work very well for any archive where you can access the entry streams and grab a chunk of bytes to test. If you can come up with a way to access the tar entry streams, then you might be able to try a the same approach.

i have tried your approach and it seems to working to an extent. while it is not able to identify as cp437, it is no longer giving out ???.txt for the file name. I am also thinking may be i will read the filenames as well to see if that can be factored into decide the encoding. but right now reading the 1kb of binary is a good start i guess. Thanks

Looks like entries can be unique charsets and the code is assuming that charset is the same for everything?
I've been out of it for a while

Looks like entries can be unique charsets and the code is assuming that charset is the same for everything?
I've been out of it for a while

No worries! Yes, the code I shared is scraping the entry streams of the files and sampling them to see what their encoding is. It counts how many times each encoding appears in the archive. Once it's done, it assumes the one appearing the most is the one to use. I based this on assuming this would probably be the authors system encoding. If it can't determine one to use it defaults to UTF8. If that still would produce file names with problem characters, it leaves them packed up and logs the archive in a report produced at the end. (This project was for batch unpacking archived with nested archives).
It is working pretty well for my needs so far.


SAK-40425 Assignments remove sort by content review provider

It's unfortunate that we're going backwards on this, because in a large class (>500 students for example), the ability to sort by content review score was important to identify the submissions requiring attention. It's much harder know for instructors.
What's the technical difficulty in making this work like it did in 11.x?

This was already fixed via #7672 and  #7798


Not enough contextual information to infer generic arguments

This should compile, but it seems the type checker fails to identify the generic arguments captured by foo's receiver.
trait T {
  fun foo() -> Int
}

extension T {
  // error: not enough contextual information to infer generic arguments
  fun bar() -> Int { foo() }
}

I can't reproduce the bug on main. The reproducer seems to pass type checking just fine.

What shall we do with issues like this?  Are you planning to go back and find the place where it stopped reproducing, and make sure that's a legit fix for the underlying problem?  I'm not saying you should, but we should have a policy about how to treat issues like this one.  "Close the issue on the assumption that it was fixed" is another possible approach, but you didn't take that one either.

I didn't close the issue because I wanted to have your input on the procedure.
I suspect the new type checker came was merged after this issue was reported, so in this particular case it's probably a legit fix. A variant of this test case is in our test suite, so I feel comfortable closing this issue. In general, however, I think we should adopt the policy to confirm that reported bugs have been fixed.
Perhaps we could take the habit to add a commit hash to bug reports?

Agreed, that's a good first step.  Whatever the policy is, we should document it and keep that updated.

Whatever the policy is, we should document it and keep that updated.

On it


Proposal: MessageChannel#getHistoryFromBeginning

General Troubleshooting

[x] I have checked for similar issues.
[x] I have updated to the latest JDA version.
[x] I have checked the branches or the maintainers' PRs for upcoming features/bug fixes.

Issue
For new users, it would be useful to codify and expose the fact that 0L (and any other low integer values) can be used to retrieve message history starting from the beginning of a channel.
Issue Type

[ ] Bug Report
[x] Feature Request

Description
In the MessageChannel interface, add a default method called getHistoryFromBeginning that calls and returns getHistoryAfter(0L)
Name of method is up for debate. Few possibilities:

getHistoryFromBeginning
getHistoryFromStart
getHistoryFromFirst
getHistoryBeginning
getHistoryStart

I believe the first is the better naming, but I'm open to opinions.

More ideas:
getAllMessages
getAllHistory
This does break the "getHistoryX" pattern but it makes more sense to me.

Problem with those namings is that it invokes an idea that you will get all messages after single execution.
We have chosen the naming methodology that we have now because it invokes a feeling of where you are to start in history, not a full retrieval in one execution.


Add ability to force MFA on OIDC Logins

This PR implements the ability to force users logging in through OIDC to have Multi-factor authentication enabled. It does this by looking at the amr claim provided by the IDP. This claim must contain the mfa value. Make sure that the IDP returns the amr claim correctly, otherwise authentication will fail.
Two new env vars have been added:

GRIST_OIDC_SP_FORCE_MFA
If set to "true", the user will be forced to have multi-factor authentication enabled.
GRIST_OIDC_SP_MFA_SETTINGS_URL
This is needed when GRIST_OIDC_SP_FORCE_MFA is set to true. Enter the URL where the user will be able to configure Multi-factor authentication on their account. This will be shown in the UI if the user does not have MFA enabled.

How to test:
Using Keycloak, it's fairly hard to add the amr claim, but Zitadel returns it by default. To test, create a new account on their cloud offering, hook it up to Grist and set GRIST_OIDC_SP_FORCE_MFA to true.
Log in without MFA enabled and get an error page.

@pr0gr8mm3r I have my PR #883 merged, your PR has some conflicts.
I would be glad to help, don't hesitate to ask if you need!

@pr0gr8mm3r Any news on this work? If you need help, please don't hesitate.

@pr0gr8mm3r No worry, thanks for your reply!
Do you want me to resume your work? (Keeping crediting you for the first commits)


Add more common Macro constants

We have some pre-defined macro constants defined here https://pkg.go.dev/github.com/d--j/go-milter#MacroName
Some common ones are missing, namely at least {client_name} and {client_ptr}.
Workaround: Since MacroName is just an alias for string, you can always cast a string into the MacroName type:
milter.WithMacroRequest(milter.StageConnect, []milter.MacroName{milter.MacroName("{client_name}"), milter.MacroName("{client_ptr}")}),

closed by #14


#226 minor log correction

I feel like this fix is fine, but related to the comment on the other ticket I think we should do this with decorators if this is something we want to do. Less chance of error and less code.
Like this library had the @traced decorator.
https://pythonhosted.org/Autologging/index.html#
Maybe create a new Issue to switch the code over to logging decorators?


Add support for Testcontainers

This way, the project tests can be run without pre-installing the required databases or running the Docker Compose script.

Fixed.


Using accumulators in SparkOperations

Context
Currently the development of Accumulator Framework is in progress. The idea is that Accumulator Framework is independent of the pipeline framework. This issue is about implementing usage of Accumulator Framework with Spark.
The interface of accumulators:
class Accumulator(ABC):
     def merge(cls,  accumulators: Iterable[Accumulator]) -> Accumulator
     def add(v)
     def compute_metrics()

Goals
To implement the following method of SparkRDDOperations:
def reduce_accumulators_per_key(self, col):
where col contains elements:  (key, accumulator)
and the return is a collection of elements (key, accumulator), such that all elements per each key are merged.
Notes
It looks like reduce_accumulators_per_key might be implement with usage of reduce_by_key.

Hi Vadim, I'd like to work on this.

Sure, thanks!

As a continuation of discussion.
It looks like the reduce_accumulators_per_key implementation don't need ZeroAccumulator, because it receives already accumulators objects. Isn't it?

The explanation about creating accumulators and zero accumulators:
Here is the place when accumulators are created (inside aggregator_fn function). They created from list of values - so no need zero accumulators now.
The complexity with zero accumulators, that what 0 means, depends on the type of aggregation and on the parameters of aggregation in order to ensure that the result is anonymized.
E.g.

dp count the 0 aggregation result should be 0 + random noise
dp mean the 0 aggregation result should be 0 + random noise_1/0 + random noise_2

and moreover the standard deviation of the random noise depends on parameters of DP computations.

Thanks for the explanation.
Initially I thought that mapping each value into its own accumulator should be avoided because it'd put unnecessary strain on the Garbage Collector. An alternative for creation of accumulator for each element could be creation of one 'zero' accumulator per partition, using Accumulator's add_value(v) to go over elements in this partition and update this accumulator object in place for every element, and then use Accumulator's add_accumulator(accumulator) to merge accumulators.
After your explanation I see that this approach with zero/add_value/add_accumulator would need to make implementation of the Accumulator class capable of adding noise. For example, inside add_value(v). Without performing real tests comparing speed performance of both implementation approaches, I don't know what would be best. Do you suggest sticking to the current approach for the time being? If yes, we don't even need add_value(v) in the Accumulator class: reduce_accumulators_per_key only need add_accumulator(…) (or merge(…)).

add_value is fine, we will need it afterwards (and add_value isn't controversial, so no problem).
Yeah, Accumulator, more precisely DPAccumulators :) will encapsulate logic of applying Differential Privacy to aggregated data.


adding schema definition for chat message reward handler

This seems reasonable. Let's write the implementation before merging though.

Need to add example mission filename to sample_missions/CMakeLists.txt. This does two things:

It causes the xml to be validated against the current schemas.
It copies the xml into the distributed zip.


Memory calculation in the default grafana graph

Memory used percentage calculation needs a fix
The default calculation for memory usage in grafana is https://github.com/coreos/prometheus-operator/blob/master/contrib/kube-prometheus/assets/grafana/nodes.dashboard.py#L157-L161
100 * (node_memory_MemTotal - node_memory_MemFree - node_memory_Buffers - node_memory_Cached) / node_memory_MemTotal
Most of the other monitoring tools like newrelic, cloudwatch, etc.. rely on the /proc/meminfo MemAvailable to calculate the memory usage percentage.
$ cat /proc/meminfo
MemTotal:       16435624 kB
MemFree:          522892 kB
MemAvailable:    4765140 kB
Buffers:          785552 kB

They use the formula 100 * (node_memory_MemTotal - node_memory_MemFree) / node_memory_MemTotal
The above two formulas results in two different data. And the one using /proc/meminfo's MemAvailable seems the most right way to calculate it.
I will add the fix for it, if the discussion here ends up changing it. Else will close this issue.
@brancz
More Info - https://kubernetes.slack.com/archives/C20HH14P7/p1525717170000406

Quoting Memavailable feature - https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=34e431b0ae398fc54ea69ff85ec700722c9da773
estimate how much free memory is available.  They generally do this by
adding up "free" and "cached", which was fine ten years ago, but is
pretty much guaranteed to be wrong today.

It is wrong because Cached includes memory that is not freeable as page
cache, for example shared memory segments, tmpfs, and ramfs, and it does
not include reclaimable slab memory, which can take up a large fraction
of system memory on mostly idle systems with lots of files.

Currently, the amount of memory that is available for a new workload,
without pushing the system into swap, can be estimated from MemFree,
Active(file), Inactive(file), and SReclaimable, as well as the "low"
watermarks from /proc/zoneinfo.

However, this may change in the future, and user space really should not
be expected to know kernel internals to come up with an estimate for the
amount of free memory.

It is more convenient to provide such an estimate in /proc/meminfo.  If
things change in the future, we only have to change it in one place.

@alok87 node_memory in grafana still not correct, as you said.

So you're saying it should be 100 * (node_memory_MemTotal - node_memory_MemAvailable) / node_memory_MemTotal ? I'd be ok with that change.

IMO, yes.  @alok87

(note that that change would need to be in the kubernetes-mixin as we're just using that as a dependency and the dashboards are actually defined there)

@alok87 is there a related issue on the kubernetes-mixin project to fix that?

@sichvoge Created an issue

I calculate memory with the formula:
node_memory_MemTotal - (((node_memory_MemFree + node_memory_Cached+ node_memory_Buffers) unless node_memory_MemAvailable) or on(instance) (node_memory_MemAvailable))
It works on both old and new kernel.


Moco

Before submitting

[ ] Was this discussed/approved via a Github issue? (no need for typos and docs improvements)
[ ] Did you read the contributor guideline, Pull Request section?
[ ] Did you make sure to update the docs?
[ ] Did you write any new necessary tests?

What does this PR do?
Fixes # (issue).
PR review
Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.
Did you have fun?
Make sure you had fun coding 🙃

Hello @williamFalcon! Thanks for opening this PR.

In the file pl_bolts/models/self_supervised/cpc/module.py:

Line 354:121: E501 line too long (126 > 120 characters)

Do see the Hitchhiker's guide to code style


[Hi] this project is awesome. I have added it to Awesome-CobaltStrike. Feel free to come along and improve the project.

Awesome-CobaltStrike

Hey! Cheers buddy and sure I will!

Hey! Cheers buddy and sure I will!


Crash on 3.1

Macrodeck is crashing and launching in safe mode after installing version 3.10

Can you show the logs? Are you running 2.13.0?

Can you show the logs? Are you running 2.13.0?

After downloading the zip and importing in macrodeck I get this message:

2023-08-22.log

Can you show the logs? Are you running 2.13.0?

After downloading the zip and importing in macrodeck I get this message:

That means you are using 2.12. the latest version is only compatible with 2.13.0b1.

Can you show the logs? Are you running 2.13.0?

After downloading the zip and importing in macrodeck I get this message:

That means you are using 2.12. the latest version is only compatible with 2.13.0b1.

And that is referred to what?
Macrodeck?
So it's only for beta release?

Can you show the logs? Are you running 2.13.0?

After downloading the zip and importing in macrodeck I get this message:

That means you are using 2.12. the latest version is only compatible with 2.13.0b1.

And that is referred to what? Macrodeck? So it's only for beta release?

Yes. The latest version only supports 2.13.0 and up.

Can you show the logs? Are you running 2.13.0?

After downloading the zip and importing in macrodeck I get this message:

That means you are using 2.12. the latest version is only compatible with 2.13.0b1.

And that is referred to what? Macrodeck? So it's only for beta release?

Yes. The latest version only supports 2.13.0 and up.

Oh, I'm really sorry, I coulnd't find that anywhere.
Sorry for that issue report:/

Yeah, that's okay.


Added statement on diversity to head of section as per #17

See #17, #20, #11. I used the same wording as already existed later in the section.

Thanks @mcgibbon! We need to leave this open for comment for two weeks, but I don't anticipate any objections!

Sure, thanks for the reminder!


[stable/external-dns] Issues with azure.json config after upgrading helm chart to latest

Describe the bug
A clear and concise description of what the bug is.
Version of Helm and Kubernetes:
Helm 2.16.3
Kubernetes 1.16.4 (AKS)
Which chart:
2.16.1
What happened:
I upgraded my cluster from version 1.14.8 to 1.16.4. During this I had to update the external-dns chart from version 1.7.0 to 2.16.1 due to API deprecations.
After the upgrade the helm chart is not able to use the secretName config.
We've used this in the past:
    provider: azure
    azure:
      secretName: azure-dns-config-file

the secret exists in the namespace and has the expected format as described here:
https://github.com/kubernetes-sigs/external-dns/blob/master/docs/tutorials/azure.md#creating-configuration-file
From the parameter reference  https://github.com/helm/charts/tree/master/stable/external-dns#parameters
I would assume that this should still work.
What you expected to happen:
No issues
How to reproduce it (as minimally and precisely as possible):
Upgrade helm chart from 1.7.0 to 2.16.1
azure.json secret fails.
Anything else we need to know:
release error="Chart release failed: external-dns: &status.statusError{Code:2, Message:\"render error in \\\"external-dns/templates/NOTES.txt\\\": template: external-dns/templates/NOTES.txt:7:3: executing \\\"external-dns/templates/NOTES.txt\\\" at <include \\\"external-dns.validateValues\\\" .>: error calling include: template: external-dns/templates/_helpers.tpl:208:51: executing \\\"external-dns.validateValues\\\" at <fail>: error calling fail: \\nVALUES VALIDATION:\\nexternal-dns: azure.resourceGroup\\n    You must provide the Azure Resource Group when provider=\\\"azure\\\".\\n    Please set the resourceGroup parameter (--set azure.resourceGroup=\\\"xxxx\\\")\", Details:[]*any.Any(nil), XXX_NoUnkeyedLiteral:struct {}{}, XXX_unrecognized:[]uint8(nil), XXX_sizecache:0}"

Hi @solomson ,
How did you upgrade the Helm Chart? Did you uninstall and install it again or did you use helm upgrade?
If you used Helm Updagre take into account that they are different major version, that means that it will be incompatibilities.

Hello.
I did a fresh install onto a new cluster.

Hi @solomson ,
As you can see in the log:
You must provide the Azure Resource Group when provider=\\\"azure\\\".\\n    Please set the resourceGroup parameter (--set azure.resourceGroup=\\\"xxxx\\\")\"

The failure reason is you didn't provide the azure.resourceGroup parameter, try providing that parameter. It is a validation we are doing in the _helpers.tpl to ensure the parameters are the correct one for every provider.

Ok fair enough, but this seems like a regression, as in previous versions all you need is to provide a secret flle formatted like this
{
  "tenantId": "b",
  "subscriptionId": "z",
  "aadClientId": "x"
  "aadClientSecret": "y",
  "resourceGroup": "..."
}

Which contains all relevant details. What is the point of this secret if we also have to explicitly type in other fields?


[new website require]: Add support for Rumble video downloads

Website name: Rumble

Stream link: https://rumble.com/v24swn0-just-say-yes-to-climate-lockdowns.html

https://github.com/iawia002/lux/pull/1232


Update o-academic-cap.svg

o-academic-cap icon should not have a white background

Hi, we just copy the icons over from the original Heroicons. We won't make any custom changes to the ones in this repo. Please send in a PR to the heroicons repo first if you believe this should be changed: https://github.com/tailwindlabs/heroicons/blob/master/optimized/outline/academic-cap.svg?short_path=c23120b#L2-L3


Material Theming: Android Basics in Compose | Missing dimen resources

URL of codelab
https://developer.android.com/codelabs/basic-android-kotlin-compose-material-theming?continue=https%3A%2F%2Fdeveloper.android.com%2Fcourses%2Fpathways%2Fandroid-basics-compose-unit-3-pathway-3%23codelab-https%3A%2F%2Fdeveloper.android.com%2Fcodelabs%2Fbasic-android-kotlin-compose-material-theming#7
In which task and step of the codelab can this issue be found?
Task 8: "Add a top bar"
Step 4 of "Make the top bar beautiful" section
Describe the problem
The codelab instructs the reader to use R.dimen.image_size and R.dimen.padding_small although these values are not included in the starter branch (nor the main branch for that matter) nor the codelab instruct the readed at any point to create this values.
The sample code below the text description does't use these values tho.
Steps to reproduce?

Go to...
Click on...
See error...

Versions
Android Studio version: Unrelated
API version of the emulator: Unrelated
Additional information
Include screenshots if they would be useful in clarifying the problem.

Hello @DTselikis,
Thank you for reaching out to us and reporting those issues. The codelab content is updated:


CANNOT GET HTTP resources

Cascade throws an error when a http site is called e.g.
http://tagesschau.de the following is displayed in the browser:
proxyconnect tcp: dial tcp: lookup http: no such host
Cascade log shows the following:
INFO: 2019/06/17 11:11:30 modeSelector.go:52: Running check on:  https://www.google.de ERROR: 2019/06/17 11:11:30 modeSelector.go:55: Error while checking, https://www.google.de  ,  Get https://www.google.de: dial tcp: lookup www.google.de: no such host INFO: 2019/06/17 11:11:30 modeSelector.go:67: Check returns:  false INFO: 2019/06/17 11:11:30 modeSelector.go:69: Current Mode: CascadeMode INFO: 2019/06/17 11:11:32 ctx.go:50: [142] INFO: Got request / www.tagesschau.de GET http://www.tagesschau.de/ INFO: 2019/06/17 11:11:32 ctx.go:50: [142] INFO: Sending request GET http://www.tagesschau.de/ INFO: 2019/06/17 11:11:32 ctx.go:50: [142] INFO: error read response www.tagesschau.de proxyconnect tcp: dial tcp: lookup http: no such host:

should be fixed with:
commit
I can not reproduce the error in the newest version

After some conversation with the reporter, the error was a wrong version


feat(wot-discovery): allow provision of TDs as application/json

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

3 of 3 (100.0%)  changed or added relevant lines in 1 file are covered.
2 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.3%) to 62.348%

Files with Coverage Reduction
New Missed Lines
%

nodes/wot-discovery.js
2
63.55%

Totals

Change from base Build<PHONE_NUMBER>:
-0.3%

Covered Lines:
213

Relevant Lines:
317

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

3 of 3 (100.0%)  changed or added relevant lines in 1 file are covered.
2 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.3%) to 62.348%

Files with Coverage Reduction
New Missed Lines
%

nodes/wot-discovery.js
2
63.55%

Totals

Change from base Build<PHONE_NUMBER>:
-0.3%

Covered Lines:
213

Relevant Lines:
317

💛  - Coveralls


python output issue with Chinese characters

While I using atom to write python 3.4 program, I try to print a string containing Chinese characters.
But the output show "我的名字是" as  "�ҵ�������".
I run the script in the terminal and everything is fine.
So I think it might be something wrong with encoding or font.
I try to use # --coding:utf-8 - ,but it doesn't work.
So I post here to seek helps.
I'm using atom 1.0.19 on Windows 8.1

I also have this problem and I use CoffeeScript.

I also encountered this problem，
my code :
#!/usr/bin/python
# -*- coding: utf-8 -*-
print ("测试")

when press ctrl+shift+b
http://ww2.sinaimg.cn/large/867ecea7gw1ezd4ns9rocj20ei04cdft.jpg

Yeah, this problem finally made me stop using any Chinese character in the atom.

Weird. This is working for me:

Ah, and you're both on Windows. I'm on OS X and unsure how to diagnose this for Windows.
Can you share what's in your process.env, which you can get by running:
console.log(process.env)

Make sure to scrub anything you don't want seen. I mostly care about, e.g. LC_ALL. There may be others.

Wow, I test today and version 3.2.0 works fine. I haven't test this after update. If there is no more issue, I should close this.


Can't use variables as part of variable definitions

This is an awesome project. I found a case that seems to be missing.
foo=bar
baz=foo-plus-${foo}

echo:
        echo ${baz}

$ almake
echo foo-plus-${foo}
foo-plus-

As far as I know, this is a common Makefile convention, but please correct me if I'm wrong. Might this be an easy thing to support?
Thank you!

I'll look into it! Thank you for the report!

Note:

foo:=bar
baz:=foo-plus-${foo}

echo:
	echo ${baz}

works. See https://www.gnu.org/software/make/manual/html_node/Flavors.html#Flavors for the difference between := and =.
It looks like almake isn't recursively expanding variable definitions for variables defined with =.

Ah, thank you! That seems like a better solution and it's compatible with make as well.
Almost in the clear. I'm not sure what this syntax is called, but we have a make target like this:
builddocs: flavor = markdown
builddocs:
        sphinx-build -b ${flavor} sphinx_config docs

almake seems to parse flavor as a target.

Looks like these are called target specific variables.

One more thing that's quite strange. I think this is a Python detail.
Locally, the output of almake looks fine, showing the command names, written to stderr, and then the command output.
In CI, the stderr seems to go to the end of the output. So I'll see my make job stdout output, and at the bottom, after it was ran, I'll see the different commands that almake ran. make isn't doing this.
I think this could be fixed with sys.stderr.flush() after printing the command name to stderr, probably. It sounds like stderr is buffered differently than stdout in Python. Not sure why.
This might be related: https://github.com/pallets/click/issues/1761


Dialog to delete user doesn't handle < character in user's name

Internal Ref: SURE-4571
Create a user with a '<' character in their name.
Go to delete the user - the confirmation dialog does not show the name correctly.
This is an HTML escaping issue

Reproduced the issue on 2.6.5

On 2.6head commit id: 79a3bcb
This is fixed


Relative anchors do not work

It seems like you all added support for relative links recently, but it doesn't work for relative anchors.
So if I say something like
Please see [the section below](#the-section-below)

The links don't work. They get 'http://' added in front of them which is wrong.

I'm afraid that Confluence adds this http:// prefix to this. Could you check it on your side too?
Add --trace flag and check HTML content that mark rendered, then check HTTP request that mark sent.
I see a correct html:

Please see the section below

But then, as you mentioned, I see this http://#the-section-below on the page.

Hey @thebouv ,
with the latest version of mark:5.7 it seems to work as soon as you specify the PageName:anchor (as described on Confluence) e.g.
Please see [the section below](#pagename-the-section-below)

The downside of this is that you can't navigate on the markdown (i.e. VSCode, or GitHub) anymore as that isn't reachable on the page.


Progress bar not showing progress while download is in process.

I think if we put up the action of the progress bar in a new thread,then the EDT will remain empty and as a result we can see its action,i.e. the progress while a file is being downloaded. Looking for suggestions or any other better approach.

This approach looks appropriate enough for now. However , later on we will need to make different classes for downloads utilities , download jobs, and swing's class for all GUI at one place.


chore(main): release 1.4.2

:robot: I have created a release beep boop
1.4.2 (2023-09-18)
Bug Fixes

remove snap name (#53) (b1f99dc)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/aidanaden/canvas-sync/releases/tag/v1.4.2 :sunflower:


[Docs]: update Picture in README.md

Documentation
Update the demo picture in the README.md

can I take this issue?

sure @Jaishree2310

@Jaishree2310 do you need any help or further information or is everything clear?

@Jaishree2310 any update on this topic? You still want to do this?

Hi @schmelto can I take this issue?

Hi @schmelto can I take this issue?

Let wait until tomorrow, if @Jaishree2310 is not responding until then you can take this issue.
Hope this is fine for everyone.

Hi @schmelto can I take this issue?

No, I will work on this within 1 or 2 days I will complete this.
You can take another issue.
Thanks.

Ok than I will leave this assigned to @Jaishree2310

@Jaishree2310 do you need any help or further information or is everything clear?

I've reviewed the existing demo picture in the README.md, and it appears to be the current updated version as per the mock-up. However, I would like to seek some clarification regarding the required updates. Could you please provide more specific details on what needs to be updated or any particular changes you have in mind for the demo picture?

@Jaishree2310 do you need any help or further information or is everything clear?

I've reviewed the existing demo picture in the README.md, and it appears to be the current updated version as per the mock-up. However, I would like to seek some clarification regarding the required updates. Could you please provide more specific details on what needs to be updated or any particular changes you have in mind for the demo picture?

Sure. The mockup is a little bit outdated due the picture is changed. Otherwise the mockup should be quite the same. What I would suggest is using an updated version of the laptop and the phone due they look a little bit "old" maybe you can find something more appealing.
Hope this clarifies the issue a little bit more.
What also would be nice is to showcase the light and dark mode in the demo picture. So that there is the light mode on the laptop screen and the dark mode on the cell.
When I initially created the demo screen I went to a website and uploaded a screenshot of the website there and they generated the laptop and phone with the screenshot. But I cannot remember which site it was. Maybe you find something (when going with that please pay attention on the license so that the mockup image is free of use).
In case of any further questions please let me know. Thanks!

@schmelto, please review the demo pic I made using a MacBook Pro16 mock-up. Do you like this or i should change it?
I am sharing the ss of the pic I hope you find it better than the previous one. ☺

Also, I didn't find the portfolio in light mode if you have a light mode pic please share will make further changes.

I like it @Jaishree2310 !
Where did you find it and is it free to use?
You can see the light ode version of the website when you are changing your system theme to light mode (in windows or macOS).

One other thing in the example above there is a "lets enhance" watermark.

I made it on Figma using free mock-up plugins.
yeah, I will remove that watermark thanks for noticing that.


Add Biwi Kinect Head Pose dataset.

This PR adds the Biwi Kinect Head Pose dataset.
Dataset Request : Add Biwi Kinect Head Pose Database #3822
The Biwi Kinect Head Pose Database is acquired with the Microsoft Kinect sensor, a structured IR light device.It contains 15K images of 20 people with 6 females and 14 males where 4 people were recorded twice.
For each frame, there is :

a depth image, (.bin file)
a corresponding rgb image (both 640x480 pixels),
annotation ( present inside a .txt file)
The ground truth is the 3D location of the head and its rotation.

The dataset structure is as follows :
- 01.obj
- 01
     - frame_00003_depth.bin
     - frame_00003_pose.txt
     - frame_00003_rgb.png
     .
     .
     .
- 02.obj
 - 02
     - frame_00003_depth.bin
     - frame_00003_pose.txt
     - frame_00003_rgb.png
     .
     .
     .

Preview of frame_00003_pose.txt :
0.988397 0.0731349 0.133128
-0.0441539 0.976945 -0.208876
-0.145334 0.200575 0.968838

126.665 40.4515 876.198

I have used the following dataset features :
features=datasets.Features(
    {
        "person_id": datasets.Value("string"),
        "frame_number": datasets.Value("string"),
        "depth_image": datasets.Value("string"),
        "rgb_image": datasets.Image(),
        "3D_head_center": datasets.Array2D(shape=(3, 3), dtype="float"),
        "3D_head_rotation": datasets.Value("float"),
    }

I am giving the path to the depth_image here.
I need some inputs for the following :

For each person, the dataset has the following additional information :

For each sequence, the corresponding .obj file represents a head template deformed to match the neutral face of that specific person. [*.obj file]
In each folder, two .cal files contain calibration information for the depth and the color camera, e.g., the intrinsic camera matrix of the depth camera and the global rotation and translation to the rgb camera.

Wanted to know how we can represent these features ?

For _generate_examples , do I parse the directories and fetch the required information ? This would mean reading the .txt file to obtain the "3D_head_center" and "3D_head_rotation" details. We could precompute the features information  and have a metadata file and use the metadata file to yield information in _generate_examples ? Wanted your thoughts for the best approach for this ?

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.

Thanks for the suggestions @mariosasko, yielding one example for each person would make things much easier.
Okay. I'll look at parsing the files and then displaying the information.

Added the following :

Features, I have included sequence_number and subject_id along with the features you had suggested.
Tested loading of the dataset along with dummy_data and full_data tests.
Created the dataset_infos.json file.

To-Do :

[ ] Update Dataset Cards with more details.
[ ] "Data Processing" section

Any inputs on what to include in the "Data Processing" section ?

@mariosasko  Please could you review this when you get time. Thank you.

In the Data Processing section, I've added example code for a compressed binary depth image file. Updated the Readme as well.

@mariosasko / @lhoestq , Please could you review this when you get time. Thank you.

Created an issue here: https://github.com/huggingface/datasets/issues/4152

Got it. Thanks for the comments. I've collapsed the C++ code in the readme and added the suggestions.

Got it. Thanks for the comments. I've collapsed the C++ code in the readme and added the suggestions.

I haven't been able to figure out why CI is failing, the error shown is :

E           ValueError: The following issues have been found in the dataset cards:
E           README Parsing:
E           list index out of range
E           The following issues have been found in the dataset cards:
E           README Validation:
E           list index out of range

Any inputs would be helpful.

I think it's because there are tabulations in the c code, can you replace them with regular spaces please ?

@lhoestq , initially the idea was to have one example = one image with an additional field mentioning the frame_number. But each subject, we had a head template, calibration information for the depth and the color camera which was common to all the examples for that subject. Also, the images were continuous frames.
@mariosasko  suggested this structure and it made sense to group the images together for a particular subject.

Don't you think it would be more practical to have one example = one image in this dataset ?

Having one example = one image would be good but since we have a head template, calibration information for the depth and the color camera which is common to all the images for that subject and the images being continuous frames, I think it makes sense to group the images together for each subject. This will make the feature representation easier.

Ok I see, sounds good then. Users can still separate the images if they want to

The CI fails are unrelated to this PR and fixed on master, merging !

Great. Thanks @lhoestq , I think we can close this issue now. ( #3822 )


Bug fix 3.6/fix upsert with collection bind parameter

Scope & Purpose
Try to fix UPSERT behavior when fed with the same key, and a collection bind parameter.
Make UPSERT statement with collection bind parameter behave identical to its non-bind parameter counterpart.
For example, the query
FOR d IN ["key_1", "key_2", "key_3", "key_1"]
  UPSERT d INSERT d UPDATE d IN @@collection

would fail with "unique constraint violation" when used with a collection bind parameter, but the equivalent query
FOR d IN ["key_1", "key_2", "key_3", "key_1"]
  UPSERT d INSERT d UPDATE d IN collectionName

with a hard-coded collection name would succeed. This is now fixed so both queries have the same behavior (no failure) in single server.
The fix does not work yet in the cluster. That will be addressed separately.

[x] :hankey: Bugfix
[ ] :pizza: New feature
[ ] :hammer: Refactoring
[x] :book: CHANGELOG entry made
[ ] :muscle: The behavior in this PR was manually tested
[x] :computer: The behavior change can be verified via automatic tests

Potentially related issues:
https://github.com/arangodb/arangodb/issues?q=is%3Aissue+is%3Aopen+AQL%3A+unique+constraint+violated+-+in+index+primary+of+type+primary+over+'_key'
https://arangodb.atlassian.net/browse/DEVSUP-636
Backports:

[ ] No backports required
[x] Backports required for: 3.7 (https://github.com/arangodb/arangodb/pull/12486) , 3.6 (https://github.com/arangodb/arangodb/pull/12487), 3.5 (https://github.com/arangodb/arangodb/pull/12488)

Testing & Verification

[x] This PR adds tests that were used to verify all changes:

http://<IP_ADDRESS>:8080/view/PR/job/arangodb-matrix-pr/11575/

http://<IP_ADDRESS>:8080/view/PR/job/arangodb-matrix-pr/11578/

http://<IP_ADDRESS>:8080/view/PR/job/arangodb-matrix-pr/11579/


mriqc not installed as dependency

What happened?
After running $ python -m pip install sdcflows and running sdcflows got the following error
Traceback (most recent call last):
File "/oak/stanford/groups/russpold/users/sjshim/miniconda3/envs/fmri_analysis/bin/sdcflows", line 8, in
sys.exit(main())
^^^^^^
File "/oak/stanford/groups/russpold/users/sjshim/miniconda3/envs/fmri_analysis/lib/python3.11/site-packages/sdcflows/cli/main.py", line 178, in main
"plugin": MultiProcPlugin(
^^^^^^^^^^^^^^^^
File "/oak/stanford/groups/russpold/users/sjshim/miniconda3/envs/fmri_analysis/lib/python3.11/site-packages/niworkflows/engine/plugin.py", line 416, in init
from mriqc import config
ModuleNotFoundError: No module named 'mriqc'
It was resolved once I pip installed mriqc
What command did you use?
sdcflows BIDS sdcflow/ participant

What version of the software are you running?
2.9.0
How are you running this software?
Local installation ("bare-metal")
Is your data BIDS valid?
Yes
Are you reusing any previously computed results?
No
Please copy and paste any relevant log output.
No response
Additional information / screenshots
No response

Seems like local installation might not be best in general? I'm trying the installation again in a fresh conda environment to double check (on HPC). But if docker/singularity is the recommended installation method, it could be clearer / included in the documentations

Yeah, we should not rely on MRIQC for this to work - whatever config options are being used can probably just be initialized as class attributes.

It's niworkflows.engine.plugin.MultiProcPlugin's __init__ method https://github.com/nipreps/sdcflows/blob/bb89bdc61370c2ff96e4f5a8482d58b33e054e87/sdcflows/cli/main.py#L175 that's relying on MRIQC (and MRIQC isn't included in the Docker image)

How are you running this software?
Local installation ("bare-metal")

Seems like local installation might not be best in general? I'm trying the installation again in a fresh conda environment to double check (on HPC). But if docker/singularity is the recommended installation method for working on HPC given restrictions for the external dependencies, it might be worth adding to documentations.

mriqc isn't installed in the Docker image either.
My current workaround for a container is to

Bind a local, writeable directory for installing Python packages to a container (I use the environment variable $PYTHON_USERBASE)
Install mriqc, then uninstall pyaml and reinstall pyyaml<5.4 (mriqc installs a newer version with breaking changes for this package) to that bound writeable directory likepip install --target="${PYTHON_USERBASE}" mriqc
pip uninstall -y pyyaml
pip install --target="${PYTHON_USERBASE}" "pyyaml<5.4"

When I run, bind that path again and use a shell script like#!/bin/bash
export PYTHONPATH="${PYTHON_USERBASE}"
sdcflows "${BIDS_DIR}" "${OUTPUT_DIR}" participant

to make my local copies of mriqc and pyyaml findable in the container.