Suggestion: Move left in menu

Hi i publish this for know if its possible for you to add thing for move left in menu
Exemple: i choose a face and i miss my favorite face in menu, its impossible to move left i must restart from the beginning

At this point it's not planned. Skinshop will be more easy to use with the presets.

Okey Thx ^^ Finally somebody who speaks to me friendly


[1.0] Updating rust to version 1.59.0 to fix CVE-2022-21658

Merge Checklist

All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)

[X] The toolchain has been rebuilt successfully (or no changes were made to it)
[X] The toolchain/worker package manifests are up-to-date
[X] Any updated packages successfully build (or no packages were changed)
[X] Packages depending on static components modified in this PR (Golang, *-static subpackages, etc.) have had their Release tag incremented.
[X] Package tests (%check section) have been verified with RUN_CHECK=y for existing SPEC files, or added to new SPEC files
[X] All package sources are available
[X] cgmanifest files are up-to-date and sorted (./cgmanifest.json, ./toolkit/tools/cgmanifest.json, ./toolkit/scripts/toolchain/cgmanifest.json)
[X] LICENSE-MAP files are up-to-date (./SPECS/LICENSES-AND-NOTICES/data/licenses.json, ./SPECS/LICENSES-AND-NOTICES/LICENSES-MAP.md, ./SPECS/LICENSES-AND-NOTICES/LICENSE-EXCEPTIONS.PHOTON)
[X] All source files have up-to-date hashes in the *.signatures.json files
[X] sudo make go-tidy-all and sudo make go-test-coverage pass
[X] Documentation has been updated to match any changes to the build system
[ ] Ready to merge

Summary

Updating rust to fix CVE-2022-21658. The change also updates packages depending on rust to make them build with the latest version.
Change Log

Updated rust to version 1.59.0.
Updated azure-iotedge to version 1.2.8 and applied a patch to make it build with the latest rust.
Updated cloud-hypervisor to version 22.0 to build with the latest rust.
Ported the build_cargo_cache.sh script from 2.0.

Does this affect the toolchain?

No.
Links to CVEs

https://nvd.nist.gov/vuln/detail/CVE-2022-21658

Test Methodology

Local package builds.

Looks like we won't be able to update azure-iotedge to use the latest version of Rust for some time. I'll add the CVE fix as a patch.


.alexrc - noBinary doesn't appear to work

I may have misunderstood the purpose of the noBinary option, I thought it would remove (if set to false) warnings for retext-equality terms.
$ alex --version
4.1.0
$ cat .alexrc
{
  "noBinary" : true
}
$ cat foo.md
The _Dev box_ also hosts your ACME Project.
$ alex .
<stdin>
  1:1-1:5  warning  `host` may be insensitive, use `presenter`, `entertainer` instead  host-hostess  retext-equality

⚠ 1 warning

I did try setting noBinary to  false the didn't work either.
update: improved test case

Normally, host or hostess are considered okay, as both a male and a female form occur.
If you pass in noBinary: true, host or hostess isn’t okay, and you should use presenter or entertainer instead.
It seems you want to use the allow feature instead?

Hi,
The recommended alternative doesn't really make sense in the context of
Host computers. I'd be interested is alternatives...
Cheers.
On Thu, 8 Jun 2017 at 11:41, Titus<EMAIL_ADDRESS>wrote:

Normally, host or hostess are considered okay, as both a male and a
female form occur.
If you pass in noBinary: true, host or hostess isn’t okay, and you should
use presenter or entertainer instead.
It seems you want to use the allow feature instead?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/wooorm/alex/issues/173#issuecomment-307067008, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AALxYALxuBzjgMMe5WNTNtT7BwoPrZUfks5sB8_DgaJpZM4Nxp7o
.

--
Sent from Gmail BatMobile

I should also add that the 'allow' option doesn't allow you to override.

I should also add that the 'allow' option doesn't allow you to override.

Well, you’re initial Q was this:

[...] the noBinary option, I thought it would remove (if set to false) warnings for retext-equality terms.

...and if you want to do that, you can use allow: ["host-hostess"], or <!--alex ignore host-hostess-->, but there’s no way to turn of all retext-equality checks: you can use retext-profanities directly if you want that!

The recommended alternative doesn't really make sense in the context of Host computers. I'd be interested is alternatives...

Correct, alex isn’t smart enough to know how a word with different meanings is used. In this case, <!--alex ignore host-hostess--> makes the most sense!


Image should not be stretched.

Please do not stretch the images.  It should be height or width but not both.
Please also add a border around the images.  Let's start with 10 pixels, white.


Dist doesn't have the last src version

Figured out trying to use {anchorToPoint: true} option while using the latest version installed by bower.
/dist had its last update 3 months ago, while /src was updated a month ago.

New version published to NPM should fix this.


Support for vector layer

We need to add a new type of layer in MapConfig specification. We are going to serve, for example, GeoJSON tiles. For rendering vector tiles it will be necessary to instantiate the right MapConfig. Vector tiles could be GeoJSON, TopoJSON among other formats that implies rendering in client side.

[ ] Define specification for vector layer.
[ ] Implement GeoJSON renderer, using vector layer specification.
[ ] Update documentation with the new specification.

cc @rochoa & @fdansv

@dgaubert can you update this based on current status?


Feature Suggestion: ws client transport

I'm interested in starting a PR to add the websocket transport protocol to this package. Is there anyone else that might want to help me with this?
We can use blockscout's JSON-RPC module for reference.

I am not sure how much time I have in the short term but I am totally supportive of this! Was thinking about doing it too at some point.


Consistently use .then invocation

CreateThenFinally/CreateCatchFinally both use PerformPromiseThen, whereas Promise.prototype.finally itself uses .then invocation.
I thought the decision was to go with .then invocation at the last meeting this was discussed at. In which case, it should be used throughout, with PerformPromiseThen never invoked.

We decided to go with .then for the .finally invocation, but we never actually discussed the callback functions. Won't PerformPromiseThen handle the appropriate subclassing logic around the completions of those callbacks, such that MyPromise.resolve().finally() instanceof MyPromise would be true?
It does not seem like a good idea for one .finally invocation to result in two observable .then invocations :-/

Won't PerformPromiseThen handle the appropriate subclassing logic around the completions of those callbacks, such that MyPromise.resolve().finally() instanceof MyPromise would be true?

No, I don't think so. PerformPromiseThen is hard-coded to one set of behavior; subclasses can't override it.

It does not seem like a good idea for one .finally invocation to result in two observable .then invocations :-/

Hmm, why not? It's logically what the code does. Mixing one overridable behavior with one non-overridable behavior seems bad.

Currently, PerformPromiseThen is invoked with NewPromiseCapability(%Promise%) - I totally agree that that hardcodes to the base class. However, if #33 is fixed (such that it uses the species constructor), what subclassing issues would arise?

If a subclass overrides .then to have different behavior (for example, logging, or adding long stack traces, or...) then that behavior won't be triggered.

Gotcha. This is much more unfortunate than I'd realized when we made the decision to stick to .then.


image zoom package is not installing

I am unable to install the zoom image in Powershell in js file

Hi,
error message says, that npm is not installed or not in PATH on your system.
Maybe this helps SO Answer


Authentication and Authorization Failure When Updating Package 2024-03-01)

Please provide us with the following information:

This issue is for a: (mark with an x)
- [ X
<img width="1358" alt="Screenshot 2024-03-04 at 5 49 05 PM" src="https://github.com/Azure-Samples/azure-search-openai-demo/assets/22155528/90ccd495-aad3-4329-a66f-0431b7964f0d">
] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

Any log messages given by the failure
Follow the below steps
Run azd env set AZURE_USE_AUTHENTICATION true to enable the login UI and App Service authentication.
Ensure access control is enabled on your search index. If your index doesn't exist yet, run prepdocs with AZURE_USE_AUTHENTICATION set to true. If your index already exists, run pwsh ./scripts/manageacl.ps1 --acl-action enable_acls.
(Optional) To require access control when using the app, run azd env set AZURE_ENFORCE_ACCESS_CONTROL true.
Run azd env set AZURE_AUTH_TENANT_ID <YOUR-TENANT-ID> to set the tenant ID associated with authentication.
Run azd up to deploy the app.
once deployed when you load the WebApp, you will notice the error
azurewebsites.net is currently unable to handle this request.
HTTP ERROR 500

When i start app locally it is working without any issues.

Expected/desired behavior

OS and Version?

Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?)

azd version?

run azd version and copy paste here.

Versions

Mention any other details that might be useful

Thanks! We'll be in touch soon.

@mattgotteiner

Was it a non-issue?

@pamelafox  Yes this is a non issue anymore, i just did clean up all the resources and ran azd up everything is working as expected.


speed up oracle testing

@tomsilver i wanted to do this but cover_regrasp is failing to plan. related to #417 perhaps?

@ronuchit fyi after rebasing off the fixes to cover_regrasp, it looks like the remaining issue is related to cluttered table

@ronuchit my PR with the new analysis script (#416) is failing due to timeouts in unrelated tests, is there any chance that this PR caused that?

i don't think so, i'd say look into what's causing test_datasets.py to fail... this PR shouldn't affect that


issue when trying to convert a .f3grid file with 16 millions elements to .vtu

I receive the following error when trying to convert very big files with meshio:
meshio-convert test.f3grid test.vtu
Traceback (most recent call last):
  File "/home/eric/sources/anaconda3/bin/meshio-convert", line 8, in <module>
    sys.exit(convert())
  File "/home/eric/sources/anaconda3/lib/python3.8/site-packages/meshio/_cli/_convert.py", line 15, in convert
    mesh = read(args.infile, file_format=args.input_format)
  File "/home/eric/sources/anaconda3/lib/python3.8/site-packages/meshio/_helpers.py", line 69, in read
    return reader_map[file_format](filename)
  File "/home/eric/sources/anaconda3/lib/python3.8/site-packages/meshio/flac3d/_flac3d.py", line 103, in read
    out = read_buffer(f, binary)
  File "/home/eric/sources/anaconda3/lib/python3.8/site-packages/meshio/flac3d/_flac3d.py", line 166, in read_buffer
    pid, point = _read_point(line, binary)
  File "/home/eric/sources/anaconda3/lib/python3.8/site-packages/meshio/flac3d/_flac3d.py", line 219, in _read_point
    pid = int(buf_or_line[1])
ValueError: invalid literal for int() with base 10: '1,'

How much elements meshio can process ? If the number of elements is limited, it would be great to increase that. I would be grateful for any help

sorry, it works fine. There was a problem in the input file.


.fullscreen class on HTML conflicts with Modernizr

Simple: I want to use both pre-packed full Modernizr installed from modernizr-min and Fotorama.
But there is a problem: Modernizr adds class .fullscreen on HTML and Fotorama styles it:
.fullscreen {
width: 100% !important;
height: 100% !important;
max-width: 100% !important;
max-height: 100% !important;
margin: 0 !important;
padding: 0 !important;
overflow: hidden !important;
background: #000
}

Not good.
Better to use .fotorama__body--fullscreen class in Fotorama.

@Grawl
https://github.com/artpolikarpov/fotorama/blob/master/src/js/css-classes.js#L2
yep, it not so good
changes only here help you

@yoime I think we need @artpolikarpov here to clarify this.

@yoime we need to change CSS (Sass) too to not break anything.

@Grawl i try to find time to fix it in next 2 hours.

@artpolikarpov please bring your attention to this


Separate logic for timer task execution and queue management

This is for deprecating the current taskProcessor, taskExecutor and taskInfo defined in history package and in favor of the task interface defined in common/task package.

Separating the logic for queue management and task processing make the code easier to read and understand.

Executor (and also task metric scope) will be assigned to a task when the task is created and sent for processing.

When implementing NDC task life cycle, we can consider combine the executor for active and standby processing into one executor and let the executor to decide if the task should be executed as active or passive. This can't be done without this refactoring.

Will send out separate PR for transfer and replication task

Coverage increased (+0.1%) to 67.751% when pulling f05145ccb7d3d6b799c6bb90e58d4df3629337a5 on yycptt:task-executor into 72a84fd927671e91e608f7e3b8f36dab5f2df518 on uber:master.


Standardise casing

Case in point: response from /notifications:
{"items": [], "numItems": 0, "message": "", "error_type": null}

Instead of numItems and error_type, let's standardise on either camelCase or snake_case. I'd suggest snake_case personally, to match both metasmoke and Smokey standards, but it doesn't matter a huge amount.

This needs to be fixed on blacklist end points too


Missing root pages when signing tx

After adding an address via cli, only the first two pages (Chain ID and Account) are shown when signing a tx.
No other pages can be accessed (though a double click jumps to the end menu where the tx can be succesfully signed)
Powering the ledger off and on fixes this issue and all pages for the tx are shown.
Steps to Reproduce:

install kava v0.8.1 (git clone ..., make install)
add a new key to the cli store: kvcli keys add ledgertest --ledger --legacy-hd-path
create a json tx to sign: kvcli tx send (kvcli keys show ledgertest -a) kava1adkm6svtzjsxxvg7g6rshg6kj9qwej8gwqadqd 1ukava --from ledgertest --generate-only > tx.json
initiate signing: kvcli tx sign tx.json --from ledgertest --account-number 0 --sequence 0 --offline

The first two pages Chain ID and Account will be accessible but not any others. If you unplug the ledger and plug it back in and run the last step it will work as expected - all pages will be visible.
Note:

kava uses cosmos-sdk v0.38.4.
I've verified that the bytes sent to the ledger are identical between the tx that showed all pages and the tx that didn't

This should have been fixed in v2.15.0 (This version is planned for release by Ledger)
Please reopen if that is not the case.

Thanks! verified as working in v2.16.1


Statistics map labels do not fit in boxes for RTL languages

Go to https://beta.flathub.org/ar/statistics and hover over countries.
Labels do not fit in boxes.

Can you file that with https://github.com/yanivam/react-svg-worldmap I'm pretty sure it's on their side

Done yanivam/react-svg-worldmap#125

@razzeee https://github.com/yanivam/react-svg-worldmap/issues/125#issuecomment-1127010679

I would suggest to wait till they fix it


API is down

It looks like the Heroku server is down. I know Heroku's TOS changed a few days ago; maybe that's why?
I'd love to use this if it's able to come back online! Nice work!

@wrunion thanks!
Yes it's because of no free dynos are available. I am trying few free hosting services to bring it back up. Do you have any suggestions?

It's up at https://taylorswiftapi.onrender.com/
But would love to know if you have suggestions regarding hosting or in general


Is this project active?

Hi all.
I want to help, but I want to know if this project is active. Is this project active?

https://github.com/RunaCapital/awesome-oss-alternatives/pulls?q=is%3Apr+is%3Aclose

yes
On Sat, Dec 17, 2022 at 3:56 PM Code Hangen @.***>
wrote:

Closed #166
https://github.com/RunaCapital/awesome-oss-alternatives/issues/166 as
completed.
—
Reply to this email directly, view it on GitHub
https://github.com/RunaCapital/awesome-oss-alternatives/issues/166#event-8062849458,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AX7U5BC7N3GUVPBEMHWY3ALWNYSG7ANCNFSM6AAAAAATCDATBI
.
You are receiving this because you are subscribed to this thread.Message
ID: <RunaCapital/awesome-oss-alternatives/issue/166/issue_event/8062849458
@github.com>

anyone wanna zoom
On Wed, Jan 11, 2023 at 8:38 AM Jacob Woods <
@.***> wrote:

yes
On Sat, Dec 17, 2022 at 3:56 PM Code Hangen @.***>
wrote:

Closed #166
https://github.com/RunaCapital/awesome-oss-alternatives/issues/166 as
completed.
—
Reply to this email directly, view it on GitHub
https://github.com/RunaCapital/awesome-oss-alternatives/issues/166#event-8062849458,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AX7U5BC7N3GUVPBEMHWY3ALWNYSG7ANCNFSM6AAAAAATCDATBI
.
You are receiving this because you are subscribed to this thread.Message
ID:
<RunaCapital/awesome-oss-alternatives/issue/166/issue_event/8062849458@
github.com>


feat: move all the args to the end

The standard format of commands is cmd subcmd1 subcmd2 --namedflag1 --namedflag2. In dfx, it is instead cmd --namedflag1 subcmd1 --namedflag2 subcmd2. This is a source of confusion for new users and experienced users alike. This PR moves all the flags to the end of the command; the new valid syntax is dfx canister create --all --identity alice --network ic --wallet "$WALLET".
Implements SDK-604.
Fixes #835.

Please wait to merge this until after dfx 0.11.1 is released.  We'll include this breaking change in dfx 0.12.0.


[DO NOT MERGE][CSL-1952] Rename 'wallet-new-server' into 'cardano-node'.

https://iohk.myjetbrains.com/youtrack/issue/CSL-1952
As discussed with @adinapoli-iohk - we need to eventually completely replace the calls, renaming the old to simply cardano-node-old and the new as cardano-node would do the trick and I think we should go for it, but then we shouldn’t merge the PR until this one is merged - #1986
This is because we want master to incorporate the current wallet-new whilst it's still not invoked. Then once we port completely the API we merge this PR and on the next merge of alfredo/wallet-new into master we should be in the position of start using wallet-new as if it was “the normal wallet”.

No merging until #1986 is merged.

As @ksaric is away for the rest of the year, I will make sure to coordinate with @darko-mijic and @deepfire to see how we can start using the new executable for our prod. deploys.


Expand HashPartitions class to support arbitrary weights, add & remove, Ponycheck

(Dummy(?) PR to see how the unit tests work with CircleCi)
Squash of slf-consistent-hashing branch at commit c12f3bb7ec26
New: add_claimants() and remove_clamants() functions were added
to assist grow- and shrink-to-fit procedures.
The unit tests for the HashPartitions class have been moved to a
separate subdirectory, lib/wallaroo/core/routing_test.  I took
this step to avoid having the use "wallaroo/core/routing"
statement to use (eventaully!) the _test.pony source file
that contains use "ponycheck".  That style of use created
the need to edit 75 different bundle.json files in order to
permit the rest of Wallaroo to compile without error.  {sigh}

This didn't anger CircleCI, hooray, closing.


Input required and not supplied: path

With
      - name: Upload to release on git tag Or output artifact path on nightly
        uses: tauri-apps/tauri-action@v0
        id: tauri-action
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
        with:
          releaseId: ${{ needs.create-release.outputs.RELEASE_UPLOAD_ID }}
      - name: Upload artifact
        uses: actions/upload-artifact@v3
        with:
          name: tauri-client-app-artifact
          path: ${{ steps.tauri-action.outputs.artifactPaths }}

I get https://github.com/toeverything/AFFiNE/actions/runs/4172597883/jobs/7224043248
...
Expected artifacts paths:
D:\a\AFFiNE\AFFiNE\apps\desktop\src-tauri\target\release\bundle\msi\AFFiNE_0.0.2_x64_en-US.msi
D:\a\AFFiNE\AFFiNE\apps\desktop\src-tauri\target\release\bundle\msi\AFFiNE_0.0.2_x64_en-US.msi.zip
D:\a\AFFiNE\AFFiNE\apps\desktop\src-tauri\target\release\bundle\msi\AFFiNE_0.0.2_x64_en-US.msi.zip.sig
Artifacts: D:\a\AFFiNE\AFFiNE\apps\desktop\src-tauri\target\release\bundle\msi\AFFiNE_0.0.2_x64_en-US.msi.

x Upload Artifact
Run actions/upload-artifact@v3
Error: Input required and not supplied: path

you'll probably need something like this
path: |
  ${{ fromJSON(steps.tauri-action.outputs.artifactPaths)[0] }}
  ${{ fromJSON(steps.tauri-action.outputs.artifactPaths)[1] }}
  ${{ fromJSON(steps.tauri-action.outputs.artifactPaths)[2] }}

the upload-artifacts action can't decode a json array by itself automatically

currently that depends on the platform and the config. on windows it will always be 3 unless you build multiple WiX languages, or enable the debug build. This will increase in tauri 1.3 with the new nsis target. On macos and linux it will be 4 by default.
Sooo, you're probably better of not using these paths at all (unless you want to add a really long list) and instead use wildcard patterns to match .AppImage, .AppImage.tar.gz, .deb, .msi, .msi.zip .app.tar.gz files and their .sig files in the target dir :/
Or maybe add another step in between where you clean unwanted files from the target/bundle/ dir, or consume the artifactPaths input and move all the actual artifacts to a common location, idk.

Thank you, you are very helpful. I think the problem is solved.

To folks interested, here's how I've done it:
      - uses: actions/upload-artifact@v4
        if: matrix.platform == 'ubuntu-22.04'
        with:
          name: binaries-linux
          path: |
            ${{ github.workspace }}/src-tauri/target/release/bundle/**/*.deb
            ${{ github.workspace }}/src-tauri/target/release/bundle/**/*.rpm
            ${{ github.workspace }}/src-tauri/target/release/bundle/**/*.AppImage

      - uses: actions/upload-artifact@v4
        if: matrix.platform == 'macos-latest'
        with:
          name: binaries-macos
          path: |
            ${{ github.workspace }}/src-tauri/target/release/bundle/**/*.dmg

      - uses: actions/upload-artifact@v4
        if: matrix.platform == 'windows-latest'
        with:
          name: binaries-windows
          path: |
            ${{ github.workspace }}/src-tauri/target/release/bundle/**/*.exe

This requires maintaining the list of extensions/targets by yourself, but I prefer that over the fromJSON thing.


remove a style of custom-block class

When I read the documentation for the new version of Vue.js, I noticed an unusual CSS style:

You can see the address of the documentation here.
As indicated by the text highlighted in the red box above, this style guide is supposed to be a link, but it is the same color as the code (blue), not green elsewhere on the page.
I think all links should be green.
I looked at the Vue.js official documentation repository and found that it used the theme of this repository, and then located the CSS that was in question.
When I removed it (like this modification), it went back to normal:

I think this change is necessary because the green color tells the reader "Oh, this is a link, I need to click on it and see what's written on the other page".

It was intentional, but I agree removing it improves the legibility of links.


System Logs not appearing in admin UI

When I click the "System" button in the admin UI (beta) the Logs pane is already selected. However, instead of seeing the logs I see this:

No log file configured!
Create file and provide path to --log-file at startup.

Being able to view these logs would be very helpful in troubleshooting my API requests.

Yeah, we removed the log file option thinking it would just go to stdout but that does not seem to be the case. I will find a better solution.


Rename content/github/index.md to content/junyawat

Why:
Closes [issue link]

What's being changed:

Check off the following:

[x] I have reviewed my changes in staging (look for the latest deployment event in your pull request's timeline, then click View deployment).
[x] For content changes, I have completed the self-review checklist.

Writer impact (This section is for GitHub staff members only):

[x] This pull request impacts the contribution experience

[x] I have added the 'writer impact' label
[ ] I have added a description and/or a video demo of the changes below (e.g. a "before and after video")

@janyawat Seems like this was opened by accident. I will be closing this PR now 💛  Take a look at the contributing.md to learn how to contribute in this repo. You can open a discussion if you have any questions :sparkles:


Update libreoffice.sh

Added downloadURL for Apple Silicon. Also added blockingProcesses, so open documents are not quit anymore while updating.

Cool, thank you!


cargo fmt --all is slow

Problem
cargo fmt --all runs unexpectedly slow in a medium-sized workspace project.
Steps

Run a GitHub workflow that runs cargo fmt --all on the repository.
Check execution time.

This run shows cargo pausing for more than 20 s before producing any output in verbose mode. Seen with timestamps in the raw log:
2020-06-08T17:05:32.3268959Z [command]/usr/share/rust/.cargo/bin/cargo fmt --all --verbose -- --check --verbose
2020-06-08T17:05:55.8733086Z [bench (2018)] "/home/runner/work/chain-libs/chain-libs/btree/benches/benchmark.rs"

Notes
Output of cargo version:
cargo 1.44.0 (05d080faa 2020-05-06)
Virtual environment information from GitHub workflow:
Operating System
Ubuntu
18.04.4
LTS
Virtual Environment
Environment: ubuntu-18.04
Version: 20200518.1
Included Software: https://github.com/actions/virtual-environments/blob/ubuntu18/20200518.1/images/linux/Ubuntu1804-README.md

This is an issue for the https://github.com/rust-lang/rustfmt/issues repo, do you mind moving it over there?

This is an issue for the https://github.com/rust-lang/rustfmt/issues repo, do you mind moving it over there?

OK, I was not sure which tool is at fault here.

Here's a more extensive log excerpt that suggests rustfmt is not run before the initial slowdown happens:
2020-06-09T04:14:29.1017365Z [command]/usr/share/rust/.cargo/bin/cargo fmt --all --verbose -- --check --verbose
2020-06-09T04:14:52.2134027Z [bench (2018)] "/home/runner/work/chain-libs/chain-libs/btree/benches/benchmark.rs"
2020-06-09T04:14:52.2134740Z [example (2018)] "/home/runner/work/chain-libs/chain-libs/btree/examples/blockindex.rs"
2020-06-09T04:14:52.2139952Z [lib (2018)] "/home/runner/work/chain-libs/chain-libs/btree/src/lib.rs"
2020-06-09T04:14:52.2140924Z [bench (2018)] "/home/runner/work/chain-libs/chain-libs/cardano-legacy-address/benches/cbor.rs"
2020-06-09T04:14:52.2141755Z [lib (2018)] "/home/runner/work/chain-libs/chain-libs/cardano-legacy-address/src/lib.rs"
2020-06-09T04:14:52.2142669Z [lib (2018)] "/home/runner/work/chain-libs/chain-libs/chain-addr/src/lib.rs"
2020-06-09T04:14:52.2143457Z [lib (2018)] "/home/runner/work/chain-libs/chain-libs/chain-core/src/lib.rs"
2020-06-09T04:14:52.2144280Z [bench (2018)] "/home/runner/work/chain-libs/chain-libs/chain-crypto/benches/sumed25519.rs"
2020-06-09T04:14:52.2145090Z [bench (2018)] "/home/runner/work/chain-libs/chain-libs/chain-crypto/benches/vrf.rs"
2020-06-09T04:14:52.2152550Z [lib (2018)] "/home/runner/work/chain-libs/chain-libs/chain-crypto/src/lib.rs"
2020-06-09T04:14:52.2153921Z [lib (2018)] "/home/runner/work/chain-libs/chain-libs/chain-impl-mockchain/src/lib.rs"
2020-06-09T04:14:52.2154743Z [custom-build (2018)] "/home/runner/work/chain-libs/chain-libs/chain-network/build.rs"
2020-06-09T04:14:52.2155529Z [lib (2018)] "/home/runner/work/chain-libs/chain-libs/chain-network/src/lib.rs"
2020-06-09T04:14:52.2156472Z [lib (2018)] "/home/runner/work/chain-libs/chain-libs/chain-ser/src/lib.rs"
2020-06-09T04:14:52.2157250Z [bench (2018)] "/home/runner/work/chain-libs/chain-libs/chain-storage/benches/storage.rs"
2020-06-09T04:14:52.2158283Z [lib (2018)] "/home/runner/work/chain-libs/chain-libs/chain-storage/src/lib.rs"
2020-06-09T04:14:52.2159283Z [lib (2018)] "/home/runner/work/chain-libs/chain-libs/chain-test-utils/src/lib.rs"
2020-06-09T04:14:52.2160067Z [lib (2018)] "/home/runner/work/chain-libs/chain-libs/chain-time/src/lib.rs"
2020-06-09T04:14:52.2161033Z [bench (2018)] "/home/runner/work/chain-libs/chain-libs/imhamt/benches/imhamt.rs"
2020-06-09T04:14:52.2162410Z [example (2018)] "/home/runner/work/chain-libs/chain-libs/imhamt/examples/memdump/main.rs"
2020-06-09T04:14:52.2163590Z [lib (2018)] "/home/runner/work/chain-libs/chain-libs/imhamt/src/lib.rs"
2020-06-09T04:14:52.2164410Z [lib (2018)] "/home/runner/work/chain-libs/chain-libs/sparse-array/src/lib.rs"
2020-06-09T04:14:52.2165934Z [lib (2018)] "/home/runner/work/chain-libs/chain-libs/typed-bytes/src/lib.rs"
2020-06-09T04:14:52.2168998Z rustfmt --edition 2018 --check --verbose /home/runner/work/chain-libs/chain-libs/btree/benches/benchmark.rs /home/runner/work/chain-libs/chain-libs/btree/examples/blockindex.rs /home/runner/work/chain-libs/chain-libs/btree/src/lib.rs /home/runner/work/chain-libs/chain-libs/cardano-legacy-address/benches/cbor.rs /home/runner/work/chain-libs/chain-libs/cardano-legacy-address/src/lib.rs /home/runner/work/chain-libs/chain-libs/chain-addr/src/lib.rs /home/runner/work/chain-libs/chain-libs/chain-core/src/lib.rs /home/runner/work/chain-libs/chain-libs/chain-crypto/benches/sumed25519.rs /home/runner/work/chain-libs/chain-libs/chain-crypto/benches/vrf.rs /home/runner/work/chain-libs/chain-libs/chain-crypto/src/lib.rs /home/runner/work/chain-libs/chain-libs/chain-impl-mockchain/src/lib.rs /home/runner/work/chain-libs/chain-libs/chain-network/build.rs /home/runner/work/chain-libs/chain-libs/chain-network/src/lib.rs /home/runner/work/chain-libs/chain-libs/chain-ser/src/lib.rs /home/runner/work/chain-libs/chain-libs/chain-storage/benches/storage.rs /home/runner/work/chain-libs/chain-libs/chain-storage/src/lib.rs /home/runner/work/chain-libs/chain-libs/chain-test-utils/src/lib.rs /home/runner/work/chain-libs/chain-libs/chain-time/src/lib.rs /home/runner/work/chain-libs/chain-libs/imhamt/benches/imhamt.rs /home/runner/work/chain-libs/chain-libs/imhamt/examples/memdump/main.rs /home/runner/work/chain-libs/chain-libs/imhamt/src/lib.rs /home/runner/work/chain-libs/chain-libs/sparse-array/src/lib.rs /home/runner/work/chain-libs/chain-libs/typed-bytes/src/lib.rs

I've found the cause: a fresh checkout of the crates.io-index repository in ~/.cargo/repository/indexwas needed to makecargo fmt` run fast. This run shows the effect of having the index restored from a recent cache.
It's odd, though, that the fmt command should depend so much on the state of dependencies that it does not need to work.

Sorry, I should have specified in my comment.  The issue is here where cargo-fmt calls cargo metadata for every package, twice.  It should only call it once for the entire workspace.  I was going to make some recommendations over on the rustfmt tracker.

OK, let's track it in https://github.com/rust-lang/rustfmt/issues/4247 then.


Fix SASL opts, add SSL support

Reason for This PR
[Author TODO: add issue # or explain reasoning.]
Description of Changes

SSL Support (implemented basic SSL)
Fix SASL Authentication (SASL options was not appended to client options)
SASL option key fixed - type replaced by mechanism (based on specification https://roadrunner.dev/docs/queues-kafka/current/en)

License Acceptance
By submitting this pull request, I confirm that my contribution is made under
the terms of the MIT license.
PR Checklist
[Author TODO: Meet these criteria.]
[Reviewer TODO: Verify that these criteria are met. Request changes if not]

[x] All commits in this PR are signed (git commit -s).
[x] The reason for this PR is clearly provided (issue no. or explanation).
[x] The description of changes is clear and encompassing.
[x] Any required documentation changes (code and docs) are included in this PR.
[x] Any user-facing changes are mentioned in CHANGELOG.md.
[x] All added/changed functionality is tested.

Summary by CodeRabbit

New Features

Enhanced security with TLS configuration for SSL connections.
Improved flexibility by supporting different SASL types in configuration.

Refactor

Adjusted internal structures to better support SSL and SASL configurations.

Hey @dkomarek 👋 Thanks for the PR.

Could you please add tests for this new functionality.
For TLS, you also need to add certificates or/and root_ca for MTLS as well.

BTW, you may take a look at the grpc plugin to check it out on how to deal with TLS: https://github.com/roadrunner-server/grpc/blob/master/config.go#L92
Also, take a look at the grpc plugin tests (CI and in the tests/* folder) on how to automatically generate certs with mkcert and use it in CI.

BTW, you may take a look at the grpc plugin to check it out on how to deal with TLS: https://github.com/roadrunner-server/grpc/blob/master/config.go#L92 Also, take a look at the grpc plugin tests (CI and in the tests/* folder) on how to automatically generate certs with mkcert and use it in CI.

Wouldn't it be enough to use statically generated certificates for testing purposes and store them under the tests/env folder? I apologize in advance, I'm new to the Go language and Apache Kafka, so it probably won't be perfect right away :-)

Hey @dkomarek 👋
Sure, you can generate static certs. But you can't use mkcert in that case. Since mkcert works with a system root_ca cert which is unique per install.
If that's hard, you can test locally with mkcert, with a docker-based kafka, post a kafka broker config here (like in the /env folder) and I'll add tests for that.

Hey @dkomarek 👋
Do you need any help with that PR?

Hey @dkomarek 👋 Do you need any help with that PR?

Hi @rustatian, I am unfortunately hospitalized for some time now. I will try to finish as soon as I can and get back to it. I apologize for the length of time without a response.

Sure @dkomarek 👍 Take your time and get well soon 🥇

Hi @rustatian, I finally had some time to finish a few changes, hopefully it will be to my liking. I just want to ask, how do you run tests and possibly Linter on the local environment? I'm using act, but it seems quite slow or I have the wrong settings :-). I'm fresh on github, I've been working with gitlab, so I apologize for these questions. Thanks.

Hey @dkomarek 👋 Hope, you're doing well 💯

Locally, you may install golangci-lint and execute it directly. e.g golangci-lint --build-tags=race run.
As for the test: you don't need to use act, because running locally is the same as running via GitHub actions. You need to generate certificates using the mkcert utility. Then generate server, client and rootca certs for your local env: example.
Create a Dockerfile (or use existing, but with certs) which is located in the tests/env folder.
Create a new set of tests with TLS. It might be the existing tests, but with a new connection type - TLS.
Locally, just start a Dockerfile with env and use go test command to start tests (the same as in the GitHub actions).

Hi @rustatian, it's not ideal yet, but I didn't want to delay anymore to get the pull request moving :-)
Dockerfile is not there now in tests/env, but I made a Makefile to simplify my work. I was just thinking of using linux.yaml on the local environment as well, to avoid having to copy scripts. I added a test on rootCA too.
There's still some problem with the tests. I'm running on the local environment with ok, so I'll check it out.

You may use linux_tls.yaml to separate TLS tests from the generic if you'd like.

@rustatian I don't understand this, the test crashes on jobs_plugin_push: no such pipeline, requested: test-1-tls-rootca here, but it is defined here and again passes fine on my local environment. Any idea what the problem might be?

You might be needed to change the RPC ports in the configuration for this test. Since the prev one might not be closed at that moment.

LGTM, thanks @dkomarek 👍 It will be released in the RR v2024.1 at the beginning of April.

@rustatian Documentation PR is here

Thank you, @dkomarek, for working on this ❤ 👍


Add GeoPandas PostGIS dependencies

Added GeoAlchemy2, sqlachemy and psycopg2.
GeoAlchemy comes from pip because conda version is outdated. sqlalchemy is its dependency which can come from conda.

I got this crossed and mixed up to edits. I've added these fully now in 01082ff7438fd0644e8d617cd71f16434c840c38


🐛 BUG: create-cloudflare (C3) with pnpm throws error.

Which Cloudflare product(s) does this pertain to?
C3
What version of Wrangler are you using?
-
What operating system are you using?
Pop_OS 22.04 (Ubuntu)
Describe the Bug
Creating new project with create-cloudflare with pnpm throws error. using npm working properly.
node v18.16.0
pnpm v8.5.1
$ pnpm create cloudflare
.../share/pnpm/store/v3/tmp/dlx-16286    |   +1 +
Packages are hard linked from the content-addressable store to the virtual store.
  Content-addressable store is at: /home/devin/.local/share/pnpm/store/v3
  Virtual store is at:             ../.local/share/pnpm/store/v3/tmp/dlx-16286/node_modules/.pnpm
.../share/pnpm/store/v3/tmp/dlx-16286    | Progress: resolved 1, reused 1, downloaded 0, added 1, done

using create-cloudflare version 2.0.7

╭ Create an application with Cloudflare Step 1 of 3
│
├ Where do you want to create your application?
│ dir quiet-wood-a6ad
│
├ What type of application do you want to create?
│ type Website or web app
│
├ Which development framework do you want to use?
│ framework Next
│
╰ Continue with Next via `pnpx<EMAIL_ADDRESS>quiet-wood-a6ad`

node:events:491
      throw er; // Unhandled 'error' event
      ^

Error: spawn pnpx ENOENT
    at ChildProcess._handle.onexit (node:internal/child_process:283:19)
    at onErrorNT (node:internal/child_process:476:16)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
Emitted 'error' event on ChildProcess instance at:
    at ChildProcess._handle.onexit (node:internal/child_process:289:12)
    at onErrorNT (node:internal/child_process:476:16)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
  errno: -2,
  code: 'ENOENT',
  syscall: 'spawn pnpx',
  path: 'pnpx',
  spawnargs: [<EMAIL_ADDRESS>'quiet-wood-a6ad' ]
}

Node.js v18.16.0
 ERROR  Command failed with exit code 1: create-cloudflare

pnpm: Command failed with exit code 1: create-cloudflare
    at makeError (/snapshot/dist/pnpm.cjs)
    at handlePromise (/snapshot/dist/pnpm.cjs)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Object.handler (/snapshot/dist/pnpm.cjs)
    at async /snapshot/dist/pnpm.cjs
    at async main (/snapshot/dist/pnpm.cjs)
    at async runPnpm (/snapshot/dist/pnpm.cjs)
    at async /snapshot/dist/pnpm.cjs

@DevinWinata thank you for filing this. Could you retry this with pnpm create cloudflare@latest? I just ran this with 2.0.8 and it seems to work:

Unfortunately it still throws error when doing create-next-app.
$ pnpm create cloudflare@latest
.../share/pnpm/store/v3/tmp/dlx-6856     |   +1 +
Packages are hard linked from the content-addressable store to the virtual store.
  Content-addressable store is at: /home/devin/.local/share/pnpm/store/v3
  Virtual store is at:             ../.local/share/pnpm/store/v3/tmp/dlx-6856/node_modules/.pnpm
.../share/pnpm/store/v3/tmp/dlx-6856     | Progress: resolved 1, reused 1, downloaded 0, added 1, done

using create-cloudflare version 2.0.8

╭ Create an application with Cloudflare Step 1 of 3
│
├ Where do you want to create your application?
│ dir delicate-mouse-c434
│
├ What type of application do you want to create?
│ type Website or web app
│
├ Which development framework do you want to use?
│ framework Next
│
╰ Continue with Next via `pnpx<EMAIL_ADDRESS>delicate-mouse-c434`

node:events:491
      throw er; // Unhandled 'error' event
      ^

Error: spawn pnpx ENOENT
    at ChildProcess._handle.onexit (node:internal/child_process:283:19)
    at onErrorNT (node:internal/child_process:476:16)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
Emitted 'error' event on ChildProcess instance at:
    at ChildProcess._handle.onexit (node:internal/child_process:289:12)
    at onErrorNT (node:internal/child_process:476:16)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
  errno: -2,
  code: 'ENOENT',
  syscall: 'spawn pnpx',
  path: 'pnpx',
  spawnargs: [<EMAIL_ADDRESS>'delicate-mouse-c434' ]
}

Node.js v18.16.0
 ERROR  Command failed with exit code 1: create-cloudflare

pnpm: Command failed with exit code 1: create-cloudflare
    at makeError (/snapshot/dist/pnpm.cjs)
    at handlePromise (/snapshot/dist/pnpm.cjs)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Object.handler (/snapshot/dist/pnpm.cjs)
    at async /snapshot/dist/pnpm.cjs
    at async main (/snapshot/dist/pnpm.cjs)
    at async runPnpm (/snapshot/dist/pnpm.cjs)
    at async /snapshot/dist/pnpm.cjs

sveltekit using pnpm not pnpx running fine.

tried manually run the command with pnpx:
$ pnpx<EMAIL_ADDRESS>init tiny-sun-5c62
Command 'pnpx' not found, did you mean:


[Bug] NIO Mysql Server is leaking sockets

Describe the bug
Some lvs services will send probing connection requests to Doris' mysql protocol port,
and these requests will fail during the mysql handshake protocol phase.
These connections are not closed properly, causing socket leaks.
To Reproduce

Start Doris FE.
nc <IP_ADDRESS> 9030
Ctrl + C to kill the nc process.
lsof -p fe_pid |wc -l, you will see the number increased.

Version
0.12

we hit it too. thank the PR


Handle delay in account sign on

Clicking on an account in this screen triggers the doGenerateWallet  ( 🤔) action.
This takes a while, so there's a delay between pressing the button and window close / sign into account.

We need a way of handling this better than just a pause.

https://www.figma.com/file/aXnNi8MOmN3CDrVwaDXXuqX3/Product?node-id=6847%3A827


Draft: Add Character lcd

Description

Motivation and Context

Works towards adding the Character Display drivers, although still needs some work...

There is a caveat which may depend on whether the driver should be merged as is... all higher level classes are currently commented out (LcdConsole, LcdRgb, and LcdValueUnitDisplay).
I am of the opinion that not having these is better than nothing, and should have an issue about that. And/Or should have a NotImplementedException for those classes.
Custom ImageSharp class formed from https://github.com/SixLabors/ImageSharp/tree/main/src/ImageSharp (which is Apache 2 licence.
How Has This Been Tested?

Screenshots
Types of changes

[ ] Improvement (non-breaking change that improves a feature, code or algorithm)
[ ] Bug fix (non-breaking change which fixes an issue with code or algorithm)
[ ] New feature (non-breaking change which adds functionality to code)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Config and build (change in the configuration and build system, has no impact on code or features)
[ ] Dependencies (update dependencies and changes associated, has no impact on code or features)
[ ] Unit Tests (add new Unit Test(s) or improved existing one(s), has no impact on code or features)
[ ] Documentation (changes or updates in the documentation, has no impact on code or features)

Checklist:

[ ] My code follows the code style of this project (only if there are changes in source code).
[ ] My changes require an update to the documentation (there are changes that require the docs website to be updated).
[ ] I have updated the documentation accordingly (the changes require an update on the docs in this repo).
[ ] I have read the CONTRIBUTING document.
[ ] I have tested everything locally and all new and existing tests passed (only if there are changes in source code).
[ ] I have added new tests to cover my changes.

Thanks for starting this work. What's blocking you to move forward? And what's the work needed looks like?
As far as I remember, this one requires an interface with the fonts and that was the one which was complicated to migrate. Correct?

Thanks for starting this work. What's blocking you to move forward? And what's the work needed looks like? As far as I remember, this one requires an interface with the fonts and that was the one which was complicated to migrate. Correct?

Only time 😅 . I will see if I can make further progress and discuss issues on Discord, but hopefully others want to join in the fun 😁 so thought it worth creating this draft for progress.

Further Progress acheived. I (think) it is ready for some tests, however, due to the extra dependencies required for certain capabilities/displays, still think that (for nF) it is worth considering whether it should be spilt.
Note that the main part not working (and commented out) is reading custom fonts from a file.

I am (guessing) that I am meeting issues with the nugets / fw not being fully caught up after the latest CorLib change here (given the OrgPalThree doesnt even hit a breakpoint when using UsingHd44780OverPcf8574() . But if it is something I have introduced, I apologise.
I would add that I am unsure how to use the Pcf8574 as an LcdInterface, so any suggestions would be appreciated.

Hello @networkfusion,
I wanted to check 1602 implementation by GPIO but failed either on my soldering or cables connectivity. Screen displays first row with lower brightness than second row but that's it- I've seen it while connecting to Arduino and fixed soldering then.
It made me thinking that code doesn't check anything and doesn't throw anything in case of failures, is it even possible to detect situation when we can't connect to Lcd? Some pins check on initialization?

Hello @networkfusion, I wanted to check 1602 implementation by GPIO but failed either on my soldering or cables connectivity. Screen displays first row with lower brightness than second row but that's it- I've seen it while connecting to Arduino and fixed soldering then.
It made me thinking that code doesn't check anything and doesn't throw anything in case of failures, is it even possible to detect situation when we can't connect to Lcd? Some pins check on initialization?

Not sure I can answer that one just yet... This is a WiP driver and as such I cannot be sure if it works against proven hardware, let alone your device... I would suggest keeping conversations (and be sure to reference this issue) on the appropriate nF Discord channel...


Enhancement Idea - bar/cube graphs of CPU and Memory usage

cakes, yo

the cake is a lie

:+1: for the portal joke. Made my day.

would b really good (: !!!


urllib.request.Request http.client.IncompleteRead error

[Running] python -u "c:\Users\franc\Downloads\undetected-chromedriver-master\undetected_chromedriver\import http.py"
Traceback (most recent call last):
  File "c:\Users\franc\Downloads\undetected-chromedriver-master\undetected_chromedriver\import http.py", line 24, in <module>
    download_file('https://github.com/boludoz/jubilant-umbrella/blob/main/seleniumbase_.zip?raw=True')
  File "c:\Users\franc\Downloads\undetected-chromedriver-master\undetected_chromedriver\import http.py", line 10, in download_file
    return_raw = response.read()
                 ^^^^^^^^^^^^^^^
  File "C:\Python312\Lib\http\client.py", line 488, in read
    s = self._safe_read(self.length)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Python312\Lib\http\client.py", line 635, in _safe_read
    raise IncompleteRead(data, amt-len(data))
http.client.IncompleteRead: IncompleteRead(16495232 bytes read, 1164128 more expected)

After several attempts I managed to catch a similar error.

It seems to be an error of old servers or Microsoft servers that close the session before the download is finished.

So I've added the ability to downgrade http versions, can you try adding "http_version": "1.0" to your config dict?

So I've added the ability to downgrade http versions, can you try adding "http_version": "1.0" to your config dict?

The problem is that if the server does not accept this protocol we will be rejected.

Have you tried it against the server you're talking about though?

Have you tried it against the server you're talking about though?

I'm testing it in github raw zip.

Will it be possible to continue the download from the last byte?

For example: https://github.com/rkbennett/od_import/blob/main/od_import_stg.py?raw=True

Will it be possible to continue the download from the last byte?

from http.client import IncompleteRead
from http.client import HTTPConnection
import urllib.request
def download_file(request, unsafe=False):
bytes_ranges_supported = False
http_1_0_tolerate = False
return_unsafe = False
return_raw = b''

# Check if is supported bytes ranges
try:
    with urllib.request.urlopen(request) as response:
        if response.headers.get('Accept-Ranges') == 'bytes':
            bytes_ranges_supported = True
except:
    pass

# Check if is supported HTTP/1.0
try:
    request.add_header('Range', 'bytes=0-')
    with urllib.request.urlopen(request) as response:
        if response.status == 206:
            http_1_0_tolerate = True
except:
    pass

# Unsafe mode
if bytes_ranges_supported:
    while True:
        try:
            request.add_header('Range', 'bytes=%d-' % len(return_raw))
            with urllib.request.urlopen(request) as response:
                return_raw += response.read()
                return return_raw
        except IncompleteRead as e:
            return_raw += e.partial

# Alternative mode
elif http_1_0_tolerate:
    HTTPConnection._http_vsn = 10
    HTTPConnection._http_vsn_str = 'HTTP/1.0'

# Unsafe mode
elif unsafe:
    return_unsafe = True

# Legacy mode
if return_raw == b'':
    with urllib.request.urlopen(request) as response:
        try:
            return_raw = response.read()
        except IncompleteRead as e:
            if return_unsafe:
                return_raw = e.partial
            else:
                raise e

return return_raw

url = 'https://github.com/boludoz/jubilant-umbrella/blob/main/seleniumbase_.zip?raw=True'
req = urllib.request.Request(url, headers={'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36'})
with open('seleniumbase_.zip', 'wb') as f:
f.write(download_file(req))
This function tries to do everything possible to download, and checked the files with hex and they are correct.

from http.client import IncompleteRead
from http.client import HTTPConnection
import urllib.request
import time
def download_file(request, unsafe=False, max_retries=15):
bytes_ranges_supported = False
http_1_0_tolerate = False
return_unsafe = False
return_raw = b''

# Check if is supported bytes ranges
try:
    with urllib.request.urlopen(request) as response:
        if response.headers.get('Accept-Ranges') == 'bytes':
            bytes_ranges_supported = True
except:
    pass

# Check if is tolerated HTTP/1.0
if bytes_ranges_supported == False:
    backup_vsn = HTTPConnection._http_vsn
    backup_vsn_str = HTTPConnection._http_vsn_str

    try:
        HTTPConnection._http_vsn = 10
        HTTPConnection._http_vsn_str = 'HTTP/1.0'
        with urllib.request.urlopen(request) as response:
            if response.status == 200:
                http_1_0_tolerate = True
    except:
        pass

    if http_1_0_tolerate == False:
        HTTPConnection._http_vsn = backup_vsn
        HTTPConnection._http_vsn_str = backup_vsn_str

# Check features
any_feature = bytes_ranges_supported or http_1_0_tolerate
return_unsafe = unsafe and any_feature

# print ('bytes_ranges_supported: %s' % bytes_ranges_supported) # For example, Google doesn't support bytes ranges
# print ('http_1_0_tolerate: %s' % http_1_0_tolerate)

i = max_retries
while (i > 0):
    i -= 1
    try:
        if bytes_ranges_supported:
            request.add_header('Range', 'bytes=%d-' % len(return_raw))
        with urllib.request.urlopen(request) as response:
            if bytes_ranges_supported:
                return_raw += response.read()
                i = 0
            else:
                return_raw = response.read()
    except IncompleteRead as e:
        if bytes_ranges_supported == False:
            return_raw = e.partial
            if return_unsafe and i == 0:
                return return_raw
            elif i == 0:
                raise e
        else:
            return_raw += e.partial
    finally:
        if bytes_ranges_supported == False:
            break
        try:
            time.sleep(0.10)
        except OSError:
            break
        except KeyboardInterrupt:
            raise

return return_raw

url = 'https://github.com/boludoz/jubilant-umbrella/blob/main/seleniumbase_.zip?raw=True'
req = urllib.request.Request(url, headers={'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36'})
with open('seleniumbase_.zip', 'wb') as f:
f.write(download_file(req))

Can you paste the actual code you're running which is using od_import as well as the error that's being raised along with any warnings od_import is outputs?

Yes of course, I am using your original code, it does not make any changes and I will try to demonstrate this error.

Can you paste the actual code you're running which is using od_import as well as the error that's being raised along with any warnings od_import outputs?

WARNING:root:[!] memory imports not loaded, some packages may not work Traceback (most recent call last):   File "C:\Users\franc\Downloads\undetected-chromedriver-master\Nueva carpeta\Untitled-4.py", line 3, in <module>     with od_import.remote_source('https://github.com/boludoz/jubilant-umbrella/blob/main/seleniumbase_.zip?raw=True'):   File "C:\Python312\Lib\contextlib.py", line 137, in __enter__     return next(self.gen)            ^^^^^^^^^^^^^^   File "C:\Users\franc\Downloads\undetected-chromedriver-master\Nueva carpeta\od_import\__init__.py", line 762, in remote_source     import_hook = add_remote_source(url, INSECURE=INSECURE, return_importer=True, zip_password=zip_password, config=config)                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "C:\Users\franc\Downloads\undetected-chromedriver-master\Nueva carpeta\od_import\__init__.py", line 572, in add_remote_source     importer = ODImporter(url, INSECURE, zip_password=zip_password, config=config)                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "C:\Users\franc\Downloads\undetected-chromedriver-master\Nueva carpeta\od_import\__init__.py", line 188, in __init__     archive_handler = archive_handlers['zip']()(resp, self.url, self.path_cache, pwd=self.zip_password)                       ^^^^^^^^^^^^^^^^^^^^^^^^^   File "C:\Users\franc\Downloads\undetected-chromedriver-master\Nueva carpeta\od_import\__init__.py", line 87, in zip_handler     from .archive_providers import ziph ModuleNotFoundError: No module named 'od_import.archive_providers'

That's not the error you're saying you've been having though. There's no IncompleteRead error there?

That's not the error you're saying you've been having though. There's no IncompleteRead error there?

It's okay to forget it, I will be aware of every update you make and I will modify the code so that it works for me.

@boludoz Can you try generating that error again now that the archive_provider submodule has an init which is what I assume was causing your previous error?

@boludoz Can you try generating that error again now that the archive_provider submodule has an which is what I assume was causing your previous error?__init__
I also added a option that can be passed as an or to the config dict. If you also would want to give that a try with setting a higher timeout threshold that might give us some more information to work with.timeout``int``float

Exactly, the lack of init generates the error, that's why I added it.

@boludoz Can you try generating that error again now that the archive_provider submodule has an which is what I assume was causing your previous error?__init__
I also added a option that can be passed as an or to the config dict. If you also would want to give that a try with setting a higher timeout threshold that might give us some more information to work with.timeout``int``float

I recommend not adding timeout, that does not solve the problem. The problem is on the server.

If you look at the bottom of the od_import.protocol_handlers.http._core, the http version get's reset after each request the modifies it, so nothing persists

If you look at the bottom of the od_import.protocol_handlers.http._core, the http version gets reset after each request that modifies it, so nothing persists

Explained in #6
Please keep in mind that I do what I do because I love scripting, I do not intend to offend you at any time and what you have done is genius.

I'm going to go ahead and reopen this so I can track it. I've now been able to write a python base server that can force this error so I can replicate it.

I'm going to go ahead and reopen this so I can track it. I've now been able to write a python based server that can force this error so I can replicate it.

Tomorrow I promise to test it from my laptop with a wireless connection. Remember that the example shown is a simulation of the error, but it had happened to me previously.


SAK-31753 - a[href] background-color overrides some styles

Hi, @payten could you take a look to this PR? I've removed the background-color from a[href] because it was causing some unexpected problems (links with button behaviour) but I would prefer that you tell me if you needed that property for some reason.

If I recall correctly, I added $link-background-color to ensure a button-styled-like-a-link will look like a link.  I think is because  .button.link, a.btn-link, button.btn-link needs to @include sakai_button and required a meaningful background color variable to make it all sync up.   And this was to aid skinning, whereby a skin may want a link to have a backgound-color and this would then flow through to the button-styled-as-a-link.
I'm not opposed to removing $link-background-color, $link-hover-background-color and $link-active-background-color if we don't want to allow skins to override this value.  If that's the case I'd suggest we remove the variables completely, including anywhere they are used.

The problem is the .sakai_button() mixin does not override that property because the [href] has higher priority.
In my opinion, we should keep that variables because they are used on some mixins too, just remove that specific declaration.

Ah, sure thing.  Gosh, that precedence stuff is tricky!  +1 to go for it.

Thanks!!


Project Sharing Platform

A nice platform to share files related to shitty college projects that none of like to do. Also a great platform to cheat off of each other.
Originally proposed by: @ariijeetsat

A platform for sharing own projects, also college semester projects details, reports (OOPS, DEC, AEC , MPMC etc.), lab works, resources as well as a Q&A forum, for queries related to academic as well as non-academics stuffs.

@arijeetsat updated the description the previous one was a result of my messed up sense of humour, my apologies for that. Hope you like this one.


[Bug] change oap version 9.2 to 9.3 error

Search before asking

[X] I had searched in the issues and found no similar issues.

Apache SkyWalking Component
OAP server (apache/skywalking)
What happened
i want to change oap server version 9.2 to 9.3, use storage is elasticsearch
program startup error is : mysql-root.json layer_entity_name: MYSQL_All_MySQL-Root conflict with exist configuration id: b6e3763c-882d-417f-8556-3cf0187cb8db
java.lang.IllegalArgumentException: File: mysql-root.json layer_entity_name: MYSQL_All_MySQL-Root conflict with exist configuration id: b6e3763c-882d-417f-8556-3cf0187cb8db
What you expected to happen
The program is running properly.
How to reproduce
change oap server version 9.2 to 9.3, use storage is elasticsearch
Anything else
No response
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

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

Clear the UI_TEMPLATE index. Notice, we never mentioned upgrading is transparent
This is not a bug.

how to Clear the UI_TEMPLATE index please?

curl -X DELETE "http://localhost:9200/sw_ui_template"

curl -X DELETE "http://localhost:9200/sw_ui_template"

curl -X DELETE "http://localhost:9200/${SW_NAMESPACE}_ui_template"


fastlane update_plugins failure

I runing fastlane update_plugins failure With

Errno::EACCES: Permission denied @ rb_sysopen -
/Users/admin/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/unf_ext-<IP_ADDRESS>/lib/unf_ext.rb
An error occurred while installing unf_ext (<IP_ADDRESS>), and Bundler
cannot continue.
Make sure that gem install unf_ext -v '<IP_ADDRESS>' succeeds before bundling.

fastlane add_plugin firim   have save problem

Great you could solve that problem yourself.


[ISSUE #278][master]: fix commit without check

fix commit without check

Closes https://github.com/openmessaging/dledger/issues/278

@RongtongJin PTAL~


16-stackable Filtering Bug

Describe the Bug
Setting funnel filters to a 16-stackable item automatically sets it to 64 items instead of the * (allow any) setting.
Reproduction Steps

Place a brass funnel, any orientation
Acquire a 16-stackable item such as armour stands or eggs
Set the filter on the funnel to said item and observe the error.

Expected Result
Expected behaviour would be for it to have the * (allow any) setting after one click as is the case for any other 64-stackable item
Screenshots and Videos
N/A
Crash Report or Log
N/A
Operating System
Windows 11
Mod Version
0.5.1d
Minecraft Version
1.20.1
Other Mods
None, just Create.
Additional Context
Note that singleplayer 0.5.1f seems to work correctly but it is currently untested in multiplayer.

can't reproduce on any version


Interferes with resize-quickinput-widget

Trying to figure out why this interferes with https://gist.github.com/CaptainVincent/74a15cd9d9c450e961b867f69008ee6e#customize-your-quickinput-widget, and how to possibly have both working.
Maybe an option to disable the animations for the quick input could solve this? 🤔

Ok, what is the issue with the quick input? Is it just not appearing or is some animation messing it up?

So strangely, depending on the order of the input list, the first extension always works, but the other does not at all.
Here is a video showing this:
https://github.com/BrandonKirbyson/VSCode-Animations/assets/44262998/5b7e6f60-2846-4620-a0c2-61db490f331d

It seems the fix is to wrap the VSCode Animations path like this:
"apc.imports": [
  "file:///.../resize-quickinput-widget.js",
  {
    "type": "text/javascript",
    "src": "/Users/{user}/.vscode/extensions/brandonkirbyson.vscode-animations-2.0.1/dist/updateHandler.js"
  }
],

Let me know if this works. I will implement this in the extension when I get the chance and let you know when the fixed version is published.

Oh it does work! Nice find @BrandonKirbyson. Note, it only works with the "src": "/Users/...." and not "src": "file::///Users/....".
Thanks for helping out!


Logging in to ID-porten with different users from the same device results in system error

Repro steps

Open smittestopp app on device X and perform verification by logging in as user A
Restart verification from device X and this time log in as a different user B

Expected result
Verification for user B is completed as expected (result depending on infection status)
Actual result
After providing credentials for user B, the ID-porten "Systemfeil"-page is shown.
Addition info
We currently force reauthentication through ID-porten for each authorization-request by providing the request parameter prompt=login. This does seem to work to always force the login UI, but it appears there are some conflicts with the existing session from logging in as user A when you try to then log in as user B.

This issue seems to be a limitation in how ID-porten interprets the prompt=login parameter. For ID-porten they expect the same user that is already authenticated (if any) to perform a reauthentication. If a different user logs in when there is a valid existing session for an other user, ID-porten will treat this as an error (since the reauthenticated user was not the expected one)

I would almost view this as a feature. Using two different logins from the same app instance could indicate some sort of attack, such as selling TEKs. (Although, I guess, the most common reason would be someone messing things up a bit.)


If I have two snort pages opened on Browser, I should receive notification only from one page

Hi,
If I have two snort pages opened on Browser, I should receive notification only from one page.

Will be implemented in https://github.com/v0l/snort/issues/39


Batch sign off form returning 500

Got a report that the batch sign off form was throwing an exception. It appears there is a malformed member row being added to the form when loaded from the side bar menu

Locally I get not one, or two, but three!

🤦♀


[Removal]: Restless Cider Rhino

Hotspot Name
Restless Cider Rhino
Hotspot b58 Address
11TU5KkL7DBLiTY3duyResve5Z9GUDxitGV5hKdcDNApLoErzBx
Discord Handle
MASTER_DJ#8762
Hotspot Manufacturer
Bobcat
Removal Reason
This hotspot was bulk added to the denylist along whit the whole town
Modifications
No
Extra forwarders
No
Extra antennas
No
Additional Information
All hotspots from Ihtiman,Bulgaria and the area are added to a denylist which is not correct.Al of them have real locations,aslo my hotspot. Please remove me from the denylist.

Thank you for your submission. This has been reviewed and may be considered for a future change to the denylist. If any change will be made, it'll likely be in the next 1-2 weeks assuming (1) it is proposed to be removed, (2) denylist signers agree on the change, and (3) the release is published to all Hotspots. Please do not open additional issues regarding this Hotspot.


Russian translation and minor changes regarding translation.

Added an ability to translate "Cannot change mode now, rod still discharging." message.
Added corresponding untranslated line to:

ChineseSimplified/Keyed/Strings.xml
English/Keyed/Strings.xml
French/Keyed/Strings.xml
German/Keyed/Strings.xml

Added Russian translation itself.

Thanks, should be added in ca58b83


Latest image doesn't support amd64 platform

I am trying to pull the latest kyverno-notation-aws image but only arm64 image was found. Can you please make an image with multiple platforms support?
"image with reference ghcr.io/nirmata/kyverno-notation-aws:latest was found but does not match the specific platform: wanted Linux/amd64, actual: Linux/arm64"

@JimBugwadia Hi, When is the latest tag expected to get this fix? If it is going to be a long time, is there an interim fix (tag) that I can pull for this image?
Thanks!

@mankel08 @honglei-ruan Sorry for the delay, we have updated the latest image and now its multiplatform:
❯ crane manifest ghcr.io/nirmata/kyverno-notation-aws:latest
{
  "schemaVersion": 2,
  "mediaType": "application/vnd.oci.image.index.v1+json",
  "manifests": [
    {
      "mediaType": "application/vnd.oci.image.manifest.v1+json",
      "digest": "sha256:8d46739c9393ee772c7bbd574ff2d5476341f2c21a2cb420b825189f56f7f600",
      "size": 2377,
      "platform": {
        "architecture": "amd64",
        "os": "linux"
      }
    },
    {
      "mediaType": "application/vnd.oci.image.manifest.v1+json",
      "digest": "sha256:fe0a6c0302f9757b963b3bfb8cbb398bb1fef4d49266db78e916bd1e79acad8c",
      "size": 2377,
      "platform": {
        "architecture": "arm64",
        "os": "linux"
      }
    },
    {
      "mediaType": "application/vnd.oci.image.manifest.v1+json",
      "digest": "sha256:caafc11985659d5094718f9f026cc0bb0c78d0873ca83be844c2d2b0a7383e1f",
      "size": 566,
      "annotations": {
        "vnd.docker.reference.digest": "sha256:8d46739c9393ee772c7bbd574ff2d5476341f2c21a2cb420b825189f56f7f600",
        "vnd.docker.reference.type": "attestation-manifest"
      },
      "platform": {
        "architecture": "unknown",
        "os": "unknown"
      }
    },
    {
      "mediaType": "application/vnd.oci.image.manifest.v1+json",
      "digest": "sha256:38469625a3d06e06c3d2c282dc8609ea997c7f7498aef07689f6f0b488cf16a6",
      "size": 566,
      "annotations": {
        "vnd.docker.reference.digest": "sha256:fe0a6c0302f9757b963b3bfb8cbb398bb1fef4d49266db78e916bd1e79acad8c",
        "vnd.docker.reference.type": "attestation-manifest"
      },
      "platform": {
        "architecture": "unknown",
        "os": "unknown"
      }
    }
  ]
}%


fix(store): table ID is unique on namespace and name

fixes https://github.com/latticexyz/mud/issues/2710

waiting for @alvrs sign off too, since this is a protocol bump


bibtex importer fails on web of science bibtex files

imports 0 publications:
savedrecs.bib.zip

Remark: UTF-8 BOM present. Makes a difference

fixed


update alpine to 3.14

Required for https://github.com/docker-library/docker/pull/265

This is definitely going to cause issues/headaches for users :disappointed:
(https://github.com/docker-library/postgres/issues/864, https://github.com/docker-library/memcached/issues/68, https://github.com/docker-library/httpd/issues/185 for a few examples)

@tmaczukin are you still a good person to ping on the GitLab side?  I'm wanting to give you a heads up that this PR is coming and has a high chance of breaking folks if the host's Docker is not new enough (and that #327 is going to provide a minimal escape hatch for users who need to pin to Alpine 3.13 because they can't upgrade yet).

@tmaczukin are you still a good person to ping on the GitLab side? I'm wanting to give you a heads up that this PR is coming and has a high chance of breaking folks if the host's Docker is not new enough (and that #327 is going to provide a minimal escape hatch for users who need to pin to Alpine 3.13 because they can't upgrade yet).

Hey @tianon, thanks for the notification!
We've already found Alpine 3.14 to be problematic with older Docker Engine versions. For GitLab.com instance runners that we provide it's no more a problem (so also upgrade of docker and docker:dind images shouldn't be) as we've upgraded the underlying OS along with Docker. But self-hosted GitLab Runner users will need to handle this on their own.
I'm not sure we can do anything to help this apart of informing about the upcoming upgrade. After the last problem in 2019 we've wrote a blog post and updated our documentation to make it clear why depending on floating versions like :latest or :dind is a problem and that it's highly suggested to use pined versions. But there are probably many users who still don't do that.
And after a quick look at the changes here, it seems that even the pined versions like docker:19.03.9-dind will get updated to a newer Alpine version. Which means that even the more careful/aware users may got affected, and this makes #327 really important to have as a way for a quick fix (updating OS or Docker Engine on user's machines may be not as easy task).
Is there any plan when #327 and #317 (this one) would be merged? Is it possible to make the Alpine 3.13 based versions the default ones and add Alpine 3.14 version as an option for now and have some grace period before it will become the default?
To get ahead of potential user issues we will probably publish a blog post about the upcoming change. Knowing when it will be merged and having a simple workaround solution (like #327) would be highly appreciated :)

We appreciate the reply!! :heart:
You helped prompt #329 (which should merge soon, and thus make at least all 19.x tags static/safe from here forward), and we've already merged #327 all the way through, so those alpine3.13 aliases should be available now (or shortly).
Ideally we'd like to merge this ASAP, but I don't have a problem giving it a little more time to bake with #327 out for folks to preemptively switch over if you think that doing so would actually be effective.

rebased

:eyes:


[Demo review] Setup up process (increase visual consistency)

Introduction screen

[ ] Remove hr tag from footer
[ ] Remove row with border-bottom above content
[ ] Add spacing on top and bottom of title and button, respectively (40px)
[ ] Make all primary buttons green throughout all views
[ ] Make all secondary buttons white with blue text throughout all views
[x] Add help text link as per designs

Selection screen

[ ] Add spacing around the body of content for all views (20px)
[ ] Add spacing between imagery and text (16px)
[x] Add Help text underneath methods

TOTP setup screen

[x] Add help text
[ ] Add responsive media query for mobile view, so that all content stacks into a centre aligned single column

Recovery codes screen

[ ] Update help text

Add help text link as per designs

It's there already, but we don't actually have any user help documentation yet so the link is hidden until it is configured with a URL to reference

Awesome @robbieaverill sounds like much of this is already done.

Make all secondary buttons white with blue text throughout all views

This goes against Bootstrap's defaults, which the starter theme implements. Do you want us to define our own button styles instead? https://getbootstrap.com/docs/4.3/components/buttons/

Not to define our own button styles. but look like We wouldn't want to use Starter Theme look and feel for MFA, but more of the CMS looks, as MFA is apart the CMS rather than the site.
We'd want to try and ensure "all" the secondary buttons are consistent throughout the whole MFA experience. Rather having a grey secondary button on the first screen and white button on the next screen, lets just have all of them the same. I don't mind if we use the btn-secondary styling from the CMS instead of the blue text suggested above. Not sure if #135 fix this.

Blue/green button colours

I agree, but please be aware that we followed the designs to get what you see at the moment

Cool, as long as the all the MFA primary buttons are consistent.

Update help text

May I ask why? Every other place we use these links will use the same "Find out more" text. By changing it for one screen we're adding a little more complexity to the code for questionable gain (IMO).

It was raised that using more descriptive links are a best practice for accessibility, as they give more context to the user that cannot see the visual context.

as MFA is apart the CMS rather than the site.

This is not necessarily true. The login forms we provide as part of silverstripe/framework. You don't need CMS to provide login. And you might choose to use the login forms we provide to manage user access to your own site.

as MFA is apart the CMS rather than the site.

This is not necessarily true. The login forms we provide as part of silverstripe/framework. You don't need CMS to provide login. And you might choose to use the login forms we provide to manage user access to your own site.

True. but it would be good to have all the buttons in the flow consistent at least so that users know its that same experience.

I'm going to close this, we can review it again towards the end of the project and log individual issues =)


Can't use totem plugins in gnome 3.20

Issue description
When enabling plugins in totem, an error message is printed to stderr and the plugin doesn't work.
Steps to reproduce

switch to gnome 3.20
launch totem
in the totem menu, go to preferences and plugins. Try to enable one.

You will get something like:
(totem:24574): libpeas-WARNING **: Error importing plugin 'opensubtitles':
Traceback (most recent call last):
  File "/nix/store/w9gwivwr7ih57b4y1dfhv64xy316p5qn-python3-3.5.1/lib/python3.5/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 986, in _gcd_import
  File "<frozen importlib._bootstrap>", line 969, in _find_and_load
  File "<frozen importlib._bootstrap>", line 958, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 673, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 662, in exec_module
  File "<frozen importlib._bootstrap>", line 222, in _call_with_frames_removed
  File "/nix/store/lcmys8z90c568yngraa9s6g6glwzdihh-totem-3.20.1/lib/totem/plugins/opensubtitles/opensubtitles.py", line 6, in <module>
    gi.require_version('Totem', '1.0')
  File "/nix/store/l57qb8rir38kfdqjykrnvi1yk1xd070k-pygobject-3.20.0/lib/python3.5/site-packages/gi/__init__.py", line 102, in require_version
    raise ValueError('Namespace %s not available' % namespace)
ValueError: Namespace Totem not available

(totem:24574): libpeas-WARNING **: Error loading plugin 'opensubtitles'

(totem:24574): Grilo-WARNING **: [dleyna] grl-dleyna-servers-manager.c:138: Unable to fetch the list of available servers: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name com.intel.dleyna-server was not provided by any .service files

(totem:24574): libpeas-WARNING **: Error importing plugin 'pythonconsole':
Traceback (most recent call last):
  File "<frozen importlib._bootstrap>", line 890, in _find_spec
AttributeError: 'DynamicImporter' object has no attribute 'find_spec'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/nix/store/w9gwivwr7ih57b4y1dfhv64xy316p5qn-python3-3.5.1/lib/python3.5/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 986, in _gcd_import
  File "<frozen importlib._bootstrap>", line 969, in _find_and_load
  File "<frozen importlib._bootstrap>", line 958, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 673, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 662, in exec_module
  File "<frozen importlib._bootstrap>", line 222, in _call_with_frames_removed
  File "/nix/store/lcmys8z90c568yngraa9s6g6glwzdihh-totem-3.20.1/lib/totem/plugins/pythonconsole/pythonconsole.py", line 39, in <module>
    from gi.repository import GObject, Peas, Gtk, Totem # pylint: disable-msg=E0611
  File "/nix/store/l57qb8rir38kfdqjykrnvi1yk1xd070k-pygobject-3.20.0/lib/python3.5/site-packages/gi/importer.py", line 127, in find_module
    'introspection typelib not found' % namespace)
ImportError: cannot import name Totem, introspection typelib not found

(totem:24574): libpeas-WARNING **: Error loading plugin 'pythonconsole'

Technical details

System: nixos-unstable

This issue seems fixed by #16747.


Handle incomplete diff files properly (#13662)

Backport of #13662
credits to @zeripath

:rocket:


When I try to open scribusgenerator using "execute script" on Mac, it just freezes Scribus altogether.

I see a spinning rainbow circle.  What am I doing wrong?  I would very much like to try your script to autopopulate newsletter content.  Thank you very much, Eileen

I know you asked posters to add the last few lines of their log file, but I don't even know how to get there.  Sorry. :(

Yes, if only I was proficient enough to understand how to operate a command line interface…sigh.
I will check out the thread you mention below - I just read it and I have no idea what anyone is talking about.  :D  I guess I also need to do research on what MacPorts is.
I will at minimum bookmark thread #104 and follow the dialogue.
Thank you for getting back to me on this.
Eileen

On Apr 6, 2018, at 8:18 PM, Berteh<EMAIL_ADDRESS>wrote:
Hello Eileen.
As I don't have a Mac I cannot help you much here.
I've had several reports of problems to run this script with its graphical interface on Mac, but the command line interface https://github.com/berteh/ScribusGenerator/blob/master/README.md#running-scribus-generator-from-the-command-line, on the other hand, works just fine on that OS.
@rotor-head https://github.com/rotor-head was trying to get the graphical user interface to run using Macports version 3.6.x, but I don't know if he succeded (it's being discussed in #104 https://github.com/berteh/ScribusGenerator/issues/104).
Hope this helps;
Berteh.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/berteh/ScribusGenerator/issues/96#issuecomment-379417258, or mute the thread https://github.com/notifications/unsubscribe-auth/AgoIrYOEJ6y-MtpNXSIaQpHcgDOBH0bfks5tmAXggaJpZM4Qzujb.

maybe this can help with the command line:
http://blog.teamtreehouse.com/introduction-to-the-mac-os-x-command-line
https://www.macworld.co.uk/how-to/mac-software/how-use-terminal-on-mac-3608274/
After reading the documents above, let's imagine that your SLA template and CSV data are in your folder Documents/scribus, and that you downloaded ScribusGenerator-master.zip from Github and uncompressed it in your folder Downloads/ScribusGenerator-master. You would then

open a Terminal
go to your project directory: cd Documents/scribus
create a shortcut to SG in your project folder: ln -s ~/Downloads/ScribusGenerator-master/ScribusGeneratorCLI.py .
check that Scribus Generator (SG, in short) works: ./ScribusGeneratorCLI.py --outDir test Business_Card.sla. This step should create 10 SLA files with a business card in the Documents/scribus/test folder.
understand the available options to run SG from the command line (they are basically the same as the GUI), either online or directly from your command line:   ./ScribusGeneratorCLI.py --help
invent a command that will suit your needs, maybe something like: ````./ScribusGeneratorCLI.py --csvFile myData.csv --outDir . --merge myTemplate.sla``
open the generated SLA file with Scribus to enjoy the result... and generate a pdf or an image out of it.

If you want more help to create a particular command don't hesitate to give me a few more details on your particular needs.
Hope this helps,
Berteh.

Oh wow Berteh, thank you SO MUCH for putting in the time and energy to draft this email to me.
I generate my newsletter on a monthly basis.
I am tied up until 4/23 with travel and US tax submission (not for the fainthearted!) but if okay with you I would love to try this out after that and see how it works.
Again, thank you so much for your assistance to a clueless newbie [which in and of itself is a travesty - I see you use “the MIT license” and I went to MIT for undergraduate studies….but in Course II (Mechanical Eng’g), not Course 6-3 (computer science)!]
Eileen

On Apr 9, 2018, at 3:31 PM, Berteh<EMAIL_ADDRESS>wrote:
maybe this can help with the command line:
http://blog.teamtreehouse.com/introduction-to-the-mac-os-x-command-line http://blog.teamtreehouse.com/introduction-to-the-mac-os-x-command-line
https://www.macworld.co.uk/how-to/mac-software/how-use-terminal-on-mac-3608274/ https://www.macworld.co.uk/how-to/mac-software/how-use-terminal-on-mac-3608274/
After reading the documents above, let's imagine that your SLA template and CSV data are in your folder Documents/scribus, and that you downloaded ScribusGenerator-master.zip from Github and uncompressed it in your folder Downloads/ScribusGenerator-master. You would then
open a Terminal
go to your project directory: cd Documents/scribus
create a shortcut to SG in your project folder: ln -s ~/Downloads/ScribusGenerator-master/ScribusGeneratorCLI.py .
check that Scribus Generator (SG, in short) works: ./ScribusGeneratorCLI.py --outDir test Business_Card.sla. This step should create 10 SLA files with a business card in the Documents/scribus/test folder.
understand the available options to run SG from the command line (they are basically the same as the GUI), either online x-msg://178/command or directly from your command line: ./ScribusGeneratorCLI.py --help
invent a command that will suit your needs, maybe something like: ````./ScribusGeneratorCLI.py --csvFile myData.csv --outDir . --merge myTemplate.sla``
open the generated SLA file with Scribus to enjoy the result... and generate a pdf or an image out of it.
If you want more help to create a particular command don't hesitate to give me a few more details on your particular needs.
Hope this helps,
Berteh.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/berteh/ScribusGenerator/issues/96#issuecomment-379867597, or mute the thread https://github.com/notifications/unsubscribe-auth/AgoIrYQyUFfjOy9S_bQ3q5WBMJEyy2Ziks5tm7cjgaJpZM4Qzujb.

you're more than welcome Eileen, I was a newbie once too ;)

and for after April 23rd I did put this documentation (and a bit more) in this project's wiki... as it may help others too: https://github.com/berteh/ScribusGenerator/wiki/Running-Scribus-Generator-from-the-command-line

thank you!!!  I will look at it in detail then!!!!!!

On Apr 9, 2018, at 4:09 PM, Berteh<EMAIL_ADDRESS>wrote:
and for after April 23rd I did put this documentation (and a bit more) in this project's wiki... as it may help others too: https://github.com/berteh/ScribusGenerator/wiki/Running-Scribus-Generator-from-the-command-line https://github.com/berteh/ScribusGenerator/wiki/Running-Scribus-Generator-from-the-command-line
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/berteh/ScribusGenerator/issues/96#issuecomment-379878085, or mute the thread https://github.com/notifications/unsubscribe-auth/AgoIrdK9va7OH1UyynuAYzoOmPui6ey8ks5tm7_zgaJpZM4Qzujb.

Berteh,
Thanks again for helping me out with this.  I have gotten through almost all of step 4 below, except I get this error when I run the script:
users-MacBook-Pro:scribus owner$ ./ScribusGeneratorCLI.py --outDir test Business_Card.sla
16:32:30 - ScribusGenerator - INFO: ScribusGenerator initialized
16:32:30 - ScribusGenerator - INFO: Generating all files for Business_Card.sla in directory test
16:32:30 - ScribusGenerator - INFO: parsing scribus source file Business_Card.sla
16:32:30 - ScribusGenerator - INFO: parsing data source file Business_Card.csv
16:32:30 - ScribusGenerator - ERROR:
error: Traceback (most recent call last):
File "./ScribusGeneratorCLI.py", line 148, in
generator.run()
File "/Users/owner/Downloads/ScribusGenerator-master/ScribusGeneratorBackend.py", line 110, in run
csvData = self.getCsvData(self.__dataObject.getDataSourceFile())
File "/Users/owner/Downloads/ScribusGenerator-master/ScribusGeneratorBackend.py", line 481, in getCsvData
for row in reader:
Error: line contains NULL byte
what am I doing wrong?
I’ve attached screen shots of the way my file structure is set up, plus the contents of the template and the csv file.

On Apr 9, 2018, at 3:40 PM, Eileen Stephens<EMAIL_ADDRESS>wrote:
Oh wow Berteh, thank you SO MUCH for putting in the time and energy to draft this email to me.
I generate my newsletter on a monthly basis.
I am tied up until 4/23 with travel and US tax submission (not for the fainthearted!) but if okay with you I would love to try this out after that and see how it works.
Again, thank you so much for your assistance to a clueless newbie [which in and of itself is a travesty - I see you use “the MIT license” and I went to MIT for undergraduate studies….but in Course II (Mechanical Eng’g), not Course 6-3 (computer science)!]
Eileen

On Apr 9, 2018, at 3:31 PM, Berteh<EMAIL_ADDRESS><EMAIL_ADDRESS>wrote:
maybe this can help with the command line:
http://blog.teamtreehouse.com/introduction-to-the-mac-os-x-command-line http://blog.teamtreehouse.com/introduction-to-the-mac-os-x-command-line
https://www.macworld.co.uk/how-to/mac-software/how-use-terminal-on-mac-3608274/ https://www.macworld.co.uk/how-to/mac-software/how-use-terminal-on-mac-3608274/
After reading the documents above, let's imagine that your SLA template and CSV data are in your folder Documents/scribus, and that you downloaded ScribusGenerator-master.zip from Github and uncompressed it in your folder Downloads/ScribusGenerator-master. You would then
open a Terminal
go to your project directory: cd Documents/scribus
create a shortcut to SG in your project folder: ln -s ~/Downloads/ScribusGenerator-master/ScribusGeneratorCLI.py .
check that Scribus Generator (SG, in short) works: ./ScribusGeneratorCLI.py --outDir test Business_Card.sla. This step should create 10 SLA files with a business card in the Documents/scribus/test folder.
understand the available options to run SG from the command line (they are basically the same as the GUI), either online x-msg://178/command or directly from your command line: ./ScribusGeneratorCLI.py --help
invent a command that will suit your needs, maybe something like: ````./ScribusGeneratorCLI.py --csvFile myData.csv --outDir . --merge myTemplate.sla``
open the generated SLA file with Scribus to enjoy the result... and generate a pdf or an image out of it.
If you want more help to create a particular command don't hesitate to give me a few more details on your particular needs.
Hope this helps,
Berteh.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/berteh/ScribusGenerator/issues/96#issuecomment-379867597, or mute the thread https://github.com/notifications/unsubscribe-auth/AgoIrYQyUFfjOy9S_bQ3q5WBMJEyy2Ziks5tm7cjgaJpZM4Qzujb.

Just to close the loop on the MacPorts version of this discussion … it did not work.

just as a reference to me, pending confirmation from @ges74, looks like this particular CSV file may be an XLS, and not a real CSV, per  https://stackoverflow.com/questions/4166070/python-csv-error-line-contains-null-byte

Hi Berteh,
I jettisoned my newsletter responsibilities literally just 5 minutes ago so no longer have a need for the script.  I appreciate your taking the time and effort to try to help, however.
Best wishes,
Eileen

On Nov 10, 2018, at 3:28 PM, Berteh<EMAIL_ADDRESS>wrote:
thanks @rotor-head https://github.com/rotor-head for trying to run the GUI of ScribusGenerator in Mac !
I thus closed #104 https://github.com/berteh/ScribusGenerator/issues/104 until further findings.
@ges74 https://github.com/ges74 The command line of Scribus Generator should, on the other hand, work just fine.
The error you report seems to be related to the content of the CSV file, or that the whole file is not found by ScribusGenerator. Could you please copy-paste the first lines of the log file (it's usually stored as a hidden file in your user's directory: /Users/owner/.scribusGenerator.log) ?
Where is ScribusGenerator looking for the CSV? Please try to add the full path to CSV in the command line: ./ScribusGeneratorCLI.py --outDir test Business_Card.sla --csvFile /Users/owner/Business_Card.csv
If that doesn't work could you send your CSV to me ? How did you create it (libreoffice, openoffice, excel, text editor ?) Maybe this software added a NULL byte that is not supported by python...
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/berteh/ScribusGenerator/issues/96#issuecomment-437618932, or mute the thread https://github.com/notifications/unsubscribe-auth/AgoIrbyXYnpl-rAR_v5PLwM4PyY7vm9Kks5utzbkgaJpZM4Qzujb.


WIP 12/fix build

Please provide a description for what this PR is for.
And to help us figure out who should review this PR, please
put an X in all the areas that this PR affects.
[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure

@fpesce codecov will never pass because it depends on the previous commit passing tests which doesn't happen because certs expired


Added missing state rollback for failed attempt-based write locking of spin locks

Scope & Purpose
Add missing rollback of state changes when an attempt-based write operation on a spin lock fails.

[x] Bug-Fix for a released version
[x] The behavior change can be verified via automatic tests

Testing & Verification
This change is already covered by existing tests, such as all.
http://<IP_ADDRESS>:8080/view/PR/job/arangodb-matrix-pr/10997/

http://<IP_ADDRESS>:8080/job/arangodb-matrix-pr-linux/12704/


Create demo.md

Describe your changes
Related issue number or link (ex: resolves #issue-number)
Checklist before opening this PR (put x in the checkboxes)

[x] This PR does not contain plagiarism

don’t copy other people’s work unless you are quoting and contributing it to them.

[x] I have signed off on all commits

signing off (ex: git commit -s) is to affirm that commits comply DCO. If you are working locally, you could add an alias to your gitconfig by running git config --global alias.ci "commit -s".

Hi @ekranjan23
I am one of maintainers of this project.
I can't not find any improvement from this PR. Also, there is no description. (Please provide it next time)
I guess it is a PR by mistake. So, let me close this PR.
If you are looking for a contribution to the Glossary project, please check https://glossary.cncf.io/contribute/


Possibility to download all GEO data locally.

Great library! Just wondering if it is possible to allow bulk downloading of the GEO dataset from the outset rather than when it is queried. I want to speed up development times and having to download the files as they are needed takes up 90% of the analysis time. It would be great if there was a way to just dump all the GSE files into one folder. I understand this is quite large but if I have the space -- can this be added? I looked at ftp://ftp.ncbi.nlm.nih.gov/geo/series/ but I just want the _family.soft.gz files as they are used by GEOparse in a single folder.

Hi,
What would you think about a script to download the data?


RequestsJSONDecodeError

Don't really understand what is throwing this error. Been running through a bunch of these but one specific MP3 file I am transcribing is throwing this error.
 File "/home/kao/.local/lib/python3.8/site-packages/replicate/prediction.py", line 168, in create
    resp = self._client._request(
  File "/home/kao/.local/lib/python3.8/site-packages/replicate/client.py", line 79, in _request
    raise ReplicateError(resp.json()["detail"])
  File "/home/kao/.local/lib/python3.8/site-packages/requests/models.py", line 975, in json
    raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)
requests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

I am running https://replicate.com/openai/whisper/versions/91ee9c0c3df30478510ff8c8a3a545add1ad0259ad3a9f78fba57fbc05ee64f7

Hi @aaronkao. As of version 0.14.0, Replicate is using httpx instead of Requests, which may resolve your issue. Please upgrade your client to the latest version and try again. And if it's still not working for you, let me know and I'll reopen this issue. Thanks!


Equivalent paths are not allowed is thrown even though the paths are different

"/scheduled/{id}": {
		"put": {
			"tags": [
				"scheduledReport"
			],
			"summary": "Updates the scheduled report"
                     }
        }

"/scheduled/dashboard/{id}": {
		"put": {
			"tags": [
				"scheduledDashboard"
			]
                      }
       }

Sorry, it is working fine.


Error in Home Assistant Log

Describe the bug
I see this error in the log :
Logger: homeassistant.components.climate
Source: components/climate/init.py:354
Integration: Klimaat (documentation, issues)
First occurred: 16:31:50 (9 occurrences)
Last logged: 16:31:50
Entity None (<class 'custom_components.smartthinq_sensors.climate.LGEACClimate'>) does not set ClimateEntityFeature.TURN_OFF but implements the turn_off method. Please create a bug report at https://github.com/ollo69/ha-smartthinq-sensors/issues
Entity None (<class 'custom_components.smartthinq_sensors.climate.LGEACClimate'>) does not set ClimateEntityFeature.TURN_ON but implements the turn_on method. Please create a bug report at https://github.com/ollo69/ha-smartthinq-sensors/issues
Entity None (<class 'custom_components.smartthinq_sensors.climate.LGEACClimate'>) implements HVACMode(s): off, heat, dry, cool, fan_only, heat_cool and therefore implicitly supports the turn_on/turn_off methods without setting the proper ClimateEntityFeature. Please create a bug report at https://github.com/ollo69/ha-smartthinq-sensors/issues
Expected behavior
Everything seems to work correctly
Screenshots
Environment details:

Environment :
Core 2024.2.2
Supervisor 2024.02.0
Operating System 11.5
Frontend  20240207.1
Component version installed: 0.38.3
Last know working version: Still working
LG device type and model with issue: Airco Units -> RAC_056905_WW-RAC (AC)
LG devices connected (list): 3 units

Output of HA logs
Paste the relavant output of the HA log here.
Logger: homeassistant.components.climate
Source: components/climate/init.py:354
Integration: Klimaat (documentation, issues)
First occurred: 16:31:50 (9 occurrences)
Last logged: 16:31:50
Entity None (<class 'custom_components.smartthinq_sensors.climate.LGEACClimate'>) does not set ClimateEntityFeature.TURN_OFF but implements the turn_off method. Please create a bug report at https://github.com/ollo69/ha-smartthinq-sensors/issues
Entity None (<class 'custom_components.smartthinq_sensors.climate.LGEACClimate'>) does not set ClimateEntityFeature.TURN_ON but implements the turn_on method. Please create a bug report at https://github.com/ollo69/ha-smartthinq-sensors/issues
Entity None (<class 'custom_components.smartthinq_sensors.climate.LGEACClimate'>) implements HVACMode(s): off, heat, dry, cool, fan_only, heat_cool and therefore implicitly supports the turn_on/turn_off methods without setting the proper ClimateEntityFeature. Please create a bug report at https://github.com/ollo69/ha-smartthinq-sensors/issues
Additional context
Add any other context about the problem here.

Close as duplicate of #692.