Fix mobile asset injection in default builds

Fixes #382.

@kmicklas let me know if this works when the static assets are a derivation instead of a folder.

@kmicklas Merging this since it is an improvement over what's on develop now; we'll have to revisit the static-assets-as-derivation issue.

@kmicklas @ali-abrar Hey folks!
First of all, thank you so much for your work on Obelisk -- it made deploying Haskell apps on Android a breeze (and it really showcases the power of Nix :wink: ).
Unfortunately, exactly as the original user who posted the issue, even after this patch, my Android app doesn't render the static files correctly.
I am pretty new to Obelisk and Nix, so I might be doing something wrong, hehe. In order, this is what I did:

Upgrade Obelisk to the latest version of develop by typing:

 nix-env -f https://github.com/obsidiansystems/obelisk/archive/develop.tar.gz -iA command

Bump the source code of my frontend app so that the derivation would be rebuilt. I have a bunch of static assets in my static folder (which is essentially the vanilla ob init app with small tweaks):

~/programming/haskell/buckets » tree static                                                                                alfredo@recursive
static
├── css
│   ├── bulma.min.css
│   └── index.css
├── js
│   ├── index.js
│   └── slideout.min.js
└── obelisk.jpg

2 directories, 5 files

(Obviously the Css and JS renders just fine locally when using ob run).

Invoke nix-build -A android.frontend -o result-android

Interestingly enough, I do see the following in the output:
building '/nix/store/48aaqr1hgknws96n11vq3h2lqcvvbs7m-android-app.drv'...
skipping non-regular file "obelisk.jpg"
skipping non-regular file "css/bulma.min.css"
skipping non-regular file "css/index.css"
skipping non-regular file "js/index.js"
skipping non-regular file "js/slideout.min.js"
building '/nix/store/h1km8bfh0fv6qzgwblzx9dw1r7b3hc12-systems.homset.buckets.drv'...
unpacking sources
unpacking source archive /nix/store/jdnkq1s9w7zwmsivcjs4kdd41hkw6pqx-android-app
source root is android-app
patching sources
configuring
no configure script, doing nothing
building

Welcome to Gradle 4.10!
[...]

Deploy on mobile with ./result-android/bin/deploy

Observe that the static files are not rendered :broken_heart: (not even the stock obelisk.jpg)

What am I doing wrong?

Thanks for the report. It doesn't look like you're doing anything wrong.
We'll investigate and let you know what we find.
On Wed, Apr 3, 2019, 2:23 AM Alfredo Di Napoli<EMAIL_ADDRESS>wrote:

@kmicklas https://github.com/kmicklas @ali-abrar
https://github.com/ali-abrar Hey folks!
First of all, thank you so much for your work on Obelisk -- it made
deploying Haskell apps on Android a breeze (and it really showcases the
power of Nix 😉 ).
Unfortunately, exactly as the original user who posted the issue, even
after this patch, my Android app doesn't render the static files correctly.
I am pretty new to Obelisk and Nix, so I might be doing something wrong,
hehe. In order, this is what I did:

Upgrade Obelisk to the latest version of develop by typing:

nix-env -f https://github.com/obsidiansystems/obelisk/archive/develop.tar.gz -iA command

Bump the source code of my frontend app so that the derivation
would be rebuilt. I have a bunch of static assets in my static folder
(which is essentially the vanilla ob init app with small tweaks):

~/programming/haskell/buckets » tree static                                                                                alfredo@recursive
static
├── css
│   ├── bulma.min.css
│   └── index.css
├── js
│   ├── index.js
│   └── slideout.min.js
└── obelisk.jpg
2 directories, 5 files
(Obviously the Css and JS renders just fine locally when using ob run).

Invoke nix-build -A android.frontend -o result-android

Interestingly enough, I do see the following in the output:
building '/nix/store/48aaqr1hgknws96n11vq3h2lqcvvbs7m-android-app.drv'...
skipping non-regular file "obelisk.jpg"
skipping non-regular file "css/bulma.min.css"
skipping non-regular file "css/index.css"
skipping non-regular file "js/index.js"
skipping non-regular file "js/slideout.min.js"
building '/nix/store/h1km8bfh0fv6qzgwblzx9dw1r7b3hc12-systems.homset.buckets.drv'...
unpacking sources
unpacking source archive /nix/store/jdnkq1s9w7zwmsivcjs4kdd41hkw6pqx-android-app
source root is android-app
patching sources
configuring
no configure script, doing nothing
building
Welcome to Gradle 4.10!
[...]

Deploy on mobile with ./result-android/bin/deploy
2.
Observe that the static files are not rendered 💔 (not even the stock
obelisk.jpg)
What am I doing wrong?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/obsidiansystems/obelisk/pull/388#issuecomment-479356403,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHFpRixI_j7JR4O__YDA0MGR15CNHXuYks5vdEjegaJpZM4cMWdr
.

Bump the source code of my frontend app so that the derivation would be rebuilt.

@adinapoli This means you updated .obelisk/impl in your application source to point to the latest develop? I just wanted to make sure since updating the global Obelisk (with nix-env) isn't actually necessary or sufficient to get updates like this PR.

Ah! No, I had no clue I had to act on that directory, sorry! Can I simply
nuke it and call "ob init" again or is there a smoother upgrade path?
On Wed, 3 Apr 2019, 19:00 Ken Micklas<EMAIL_ADDRESS>wrote:

Bump the source code of my frontend app so that the derivation would be
rebuilt.
@adinapoli https://github.com/adinapoli This means you updated
.obelisk/impl in your application source to point to the latest develop?
I just wanted to make sure since updating the global Obelisk (with nix-env)
isn't actually necessary or sufficient to get updates like this PR.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/obsidiansystems/obelisk/pull/388#issuecomment-479574334,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAa-szxyZlTO3rooHwrHd3VfB6RnbPwIks5vdN47gaJpZM4cMWdr
.

@adinapoli ob thunk update .obelisk/impl --branch develop will update to the latest develop.

Yay, it worked!
Thanks a lot for the assistance :)
A.
On Wed, 3 Apr 2019 at 21:13, Ken Micklas<EMAIL_ADDRESS>wrote:

@adinapoli https://github.com/adinapoli ob thunk update .obelisk/impl
--branch develop will update to the latest develop.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/obsidiansystems/obelisk/pull/388#issuecomment-479621796,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAa-s2IJsOucLYPXz4v3bsi_gQUoah6Xks5vdP1ngaJpZM4cMWdr
.


cdm_reader_mapper fails to install (snappy)

cdm_reader_mapper fails to install with the following error
ERROR: Could not find a version that satisfies the requirement snappy<1.2 (from cdm-reader-mapper) (from versions: 2.2, 2.3, 2.3.1, 2.3.2, 2.4, 2.4.1, 2.4.2, 2.5, 2.5.1, 2.5.2, 2.5.4, 2.6, 2.6.1.post1, 2.7, 2.8, 3.0, 3.0.1, 3.0.2, 3.0.3, 3.1, 3.1.1)
ERROR: No matching distribution found for snappy<1.2

(or similar depending on python version). The failure is from the dependency snappy.
Steps to reproduce:
docker run --rm -it python:3.11-slim-bookworm bash
apt update
apt install git gcc
git clone https://github.com/glamod/cdm_reader_mapper.git cdm_reader_mapper
cd cdm_reader_mapper
python -m venv venv
source ./venv/bin/activate
pip install .

I have tested this with python versions 3.9.12, 3.11.9, and 3.12.3. All get similar errors (referencing ERROR: No matching distribution found for snappy<1.2).

@jtsiddons: I added snappy to the requirements because of this issue. Unforunately, you can install snappy<1.2 with conda but not with pip. In the meantime I think the issue was closed. Thus we can abstain from snappy<1.2.
Would you please make a new PR and test the installation and the code without snappy in the requirements. I hope cdm_reader_mapper runs without snappy as a dependency.

snappy on pip is not the snappy we need. There is an old snappy version (0.7.1) on pip called python-snappy.

Many thanks for this bug fix.


Whitespaces and list items are moving to the right.

To solve it open the file animate.css
In .morphist > .animated you should add position: absolute;
And in #js-rotating you should add padding:0;

Hey @maxomaniak,
Can you provide more details about this problem?
Perhaps a fiddle.
Thanks!

Hey @MrSaints,
I couldn't reproduce it in JSFiddle, but here's a temporary url.
http://www.communicationcentre.nl/v2/issue/
Without adding the two lines of css in animate.css every  will just stack to the right.

The 2 problems you have found appears to be related. I'll look further.

Closing this issue. We'll continue the discussion in #7.


Could you provide the data sets?

https://drive.google.com/file/d/1GX656JqqOyBi_Ef0w65kDGVto-nHrNs9/edit

https://drive.google.com/file/d/1GX656JqqOyBi_Ef0w65kDGVto-nHrNs9/edit

Thank you very much for your sharing. In addition, could you list the papers about the models of appanet and masaanet?


Insider Preview Builds

It seems like not all of the Release Notes for the Insider Previews are posted. For instance, 17704, 17728, 17744, 17751, 17754, 17758, and 17763.
Also it think that 17723 should actually be 17733.

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

ID: 05b95927-b784-bb3e-d630-5421606c5ef2
Version Independent ID: 610614df-2534-de7a-f47b-1d7ab47245e9
Content: Release Notes for Build 17672 - Windows IoT
Content Source: windows-iotcore/release-notes/Insider/17686.md
Product: windows-iot
GitHub Login: @zeeshanfurqan
Microsoft Alias: zeeshan.furqan

Hi @HaydenHolcomb - there are different kinds of releases. What you might be thinking of are the Insider Fast releases, which can be found on MSDN here: https://social.msdn.microsoft.com/Forums/en-US/home?forum=WindowsIoT The ones you're seeing here are not always published weekly. When they are, the release notes are published here.


fix DubboBeanDefinitionParser.parse() Error #3843

What is the purpose of the change
fix DubboBeanDefinitionParser.parse() Error #3843
follow polish code #3823
Brief changelog
XXXXX
Verifying this change
XXXXX
Follow this checklist to help us incorporate your contribution quickly and easily:

[x] Make sure there is a GITHUB_issue field for the change (usually before you start working on it). Trivial changes like typos do not require a GITHUB issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[ ] Format the pull request title like [Dubbo-XXX] Fix UnknownException when host config not exist #XXX. Each commit in the pull request should have a meaningful subject line and body.
[ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[ ] Write necessary unit-test to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add integration-test in test module.
[ ] Run mvn clean install -DskipTests=false & mvn clean test-compile failsafe:integration-test to make sure unit-test and integration-test pass.
[ ] If this contribution is large, please follow the Software Donation Guide.

Codecov Report

Merging #3844 into master will decrease coverage by 0.03%.
The diff coverage is 0%.

@@             Coverage Diff              @@
##             master    #3844      +/-   ##
============================================
- Coverage     63.58%   63.55%   -0.04%
  Complexity       71       71
============================================
  Files           708      708
  Lines         31196    31199       +3
  Branches       5048     5048
============================================
- Hits          19835    19827       -8
- Misses         9080     9091      +11
  Partials       2281     2281

Impacted Files
Coverage Δ
Complexity Δ

...va/org/apache/dubbo/config/spring/ServiceBean.java
50.94% <0%> (-0.65%)
0 <0> (ø)

.../org/apache/dubbo/config/spring/ReferenceBean.java
18.44% <0%> (-0.19%)
0 <0> (ø)

...ng/transport/dispatcher/all/AllChannelHandler.java
51.42% <0%> (-11.43%)
0% <0%> (ø)

...ache/dubbo/remoting/p2p/support/AbstractGroup.java
45.45% <0%> (-11.37%)
0% <0%> (ø)

.../remoting/transport/netty4/NettyServerHandler.java
61.9% <0%> (-9.53%)
0% <0%> (ø)

...ng/exchange/support/header/HeartbeatTimerTask.java
73.68% <0%> (-5.27%)
0% <0%> (ø)

.../org/apache/dubbo/remoting/ExecutionException.java
15.78% <0%> (-5.27%)
0% <0%> (ø)

...exchange/support/header/HeaderExchangeHandler.java
59.84% <0%> (-2.37%)
0% <0%> (ø)

...onfig/spring/schema/DubboBeanDefinitionParser.java
66.06% <0%> (-1.36%)
0% <0%> (ø)

...bo/rpc/cluster/support/FailbackClusterInvoker.java
70.49% <0%> (+3.27%)
0% <0%> (ø)
:arrow_down:

... and 4 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b70b3ea...f83e067. Read the comment docs.

不建议修改 ServiceBean，因为applicationContext，applicationEventPublisher仅仅只是在本类中使用的，这个BUG应该在DubboBeanDefinitionParser中修改

是的，这里直接把打印的日志去掉就可以了，这个getter只是为了不再走下面的解析逻辑。所以不需要打印error日志

resolved #3862


Set default slack webhook url in example env to localhost

Problem
Cloning the repo for the first time and following the usual steps (migrate, key:generate, etc) along with the contributing instructions doesn't result in a green test suite. The StatsTest will fail on the_slack_notification_is_sent() because the webhook url doesn't match the .env file. To fix this and get green, the contributor has to diagnose the test failure and then set their SLACK_WEBHOOK_URL to http://localhost.
Solution
Two changes are introduced in this PR:

Set the SLACK_WEBHOOK_URL in the example env.
Update the test case to check against the configured webhook url rather than a hardcoded value.

Note that either one of these changes will fix the issue, so if it's preferable I'm happy to reduce this PR to only one of the two proposed changes.

I think both changes are good. Thanks!


[Congo Matching Pair Quality Control] Card Display in right number

As a result of the meeting with Henkjan and Ashley on 30.04. We decided that JL will file the most important three aspects to be tested/quality checked by the MUSCLE team before delivering the product. Please feel free to close the issue after you have checked it.
First aspect:
When loading the all the matching pairs game, there should be 16 cards of 8 pairs. Not 8 cards or 32 cards.
JL will attach all the csv files to this issue tomorrow in the morning for @Evert-R to check.

This is working properly. Only the o-o playlist has 8 sections, because there are no degredations, so these sections are used twice.


Is encoder thread-safe?

Can I use the same encoder in multiple goroutines?

The core struct (type reedSolomon struct) is largely stateless, except for the field tree of type inversionTree, which is a specialised cache for temporary storage of matrices used for reconstruction.
inversionTree is protected by a mutex.
So to the best of my knowledge, yes it is safe to use it in multiple goroutines for all scenarios.

Thank you, Darren!
I will update here if it is not.
On Mar 3, 2019, 01:11 -0500, Darren<EMAIL_ADDRESS>wrote:

The core struct (type reedSolomon struct) is largely stateless, except for the field tree of type inversionTree, which is a specialised cache for temporary storage of matrices used for reconstruction.
inversionTree is protected by a mutex.
So to the best of my knowledge, yes it is safe to use it in multiple goroutines for all scenarios.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

The same architecture is implemented in a Rust port of this library, and Rust would complain if it's not thread-safe. So overall I believe it is thread-safe.

Yes, it is, but checking with the race detector is of course always recommended - if nothing more then to check your side of the code.


feat(fretboard): enrich tab scroller

Add bar lines and better spacing to tab scroller

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

GitHub release
v1.1.0

Your semantic-release bot :package::rocket:


chore: release main

:robot: I have created a release beep boop
@markdown-confluence/cli: 5.0.0
5.0.0 (2023-05-03)
Features

Snyk container scanning (710a4a0)

Bug Fixes

docker build ordering (0110108)
Don't publish with dependancies for the CLI since they are bundled. (52b3396)

Documentation

Add README.md files to all NPM Packages (75c4781)

Dependencies

deps: bump puppeteer/puppeteer in /packages/cli (69768b1)
deps: bump yargs from 17.7.1 to 17.7.2 (a91eabd)
The following workspace dependencies were updated

devDependencies

@markdown-confluence/lib bumped from 4.9.0 to 5.0.0
@markdown-confluence/mermaid-puppeteer-renderer bumped from 4.9.0 to 5.0.0

@markdown-confluence/lib: 5.0.0
5.0.0 (2023-05-03)
Features

Enable and fix all strict type checks (c16ee2d)
Mark lib as sideEffects: false to help treeshaking (1a622e3)

Bug Fixes

Add settings to MdToADF Tests (2c58c51)
frontmatterHeader adds content direct to ADF instead of Markdown now (1230878)
ts errors in tests (21f640e)

Documentation

Add README.md files to all NPM Packages (75c4781)

@markdown-confluence/mermaid-electron-renderer: 5.0.0
5.0.0 (2023-05-03)
Features

Apply themes from Obsidian to Mermaid (b599336)
Make mermaid in electron simpler due to being ran in renderer already (5668e02)

Bug Fixes

Improve plugin initial load time. Don't create the createObjectURL till first publishing time. (2c11c8e)
Run npm build before dev-obsidian to ensure all built (da1fe60)

Documentation

Add README.md files to all NPM Packages (75c4781)

Dependencies

The following workspace dependencies were updated

dependencies

@markdown-confluence/lib bumped from 4.9.0 to 5.0.0

@markdown-confluence/mermaid-puppeteer-renderer: 5.0.0
5.0.0 (2023-05-03)
Features

Make mermaid in electron simpler due to being ran in renderer already (5668e02)

Bug Fixes

Call method on window in browser. (38706d1)
Run npm build before dev-obsidian to ensure all built (da1fe60)

Documentation

Add README.md files to all NPM Packages (75c4781)

Dependencies

deps: bump puppeteer from 19.11.1 to 20.0.0 (def42aa)
The following workspace dependencies were updated

dependencies

@markdown-confluence/lib bumped from 4.9.0 to 5.0.0

obsidian-confluence: 5.0.0
5.0.0 (2023-05-03)
⚠ BREAKING CHANGES

Remove ADFView. It adds a lot of complexity and size to Obsidian Plugin. If you need it log an issue and I will create a separate plugin for that feature.

Features

Apply themes from Obsidian to Mermaid (b599336)
Enable and fix all strict type checks (c16ee2d)
Remove ADFView. It adds a lot of complexity and size to Obsidian Plugin (74c8436)

Bug Fixes

frontmatterHeader adds content direct to ADF instead of Markdown now (1230878)
Remove ADFView from main.ts (a21abbd)

Documentation

amended the broken readme image paths for obsidian package (97876cf)

Dependencies

The following workspace dependencies were updated

dependencies

@markdown-confluence/lib bumped from 4.9.0 to 5.0.0
@markdown-confluence/mermaid-electron-renderer bumped from 4.9.0 to 5.0.0

obsidian-confluence-root: 5.0.0
5.0.0 (2023-05-03)
⚠ BREAKING CHANGES

Remove ADFView. It adds a lot of complexity and size to Obsidian Plugin. If you need it log an issue and I will create a separate plugin for that feature.

Features

Apply themes from Obsidian to Mermaid (b599336)
Enable and fix all strict type checks (c16ee2d)
Make mermaid in electron simpler due to being ran in renderer already (5668e02)
Mark lib as sideEffects: false to help treeshaking (1a622e3)
Remove ADFView. It adds a lot of complexity and size to Obsidian Plugin (74c8436)
Snyk container scanning (710a4a0)

Bug Fixes

Add better npm scripts (6c227c7)
Add missing steps (d65c90b)
Add monitor for snyk containers to push to snyk for alerts (284f016)
Add settings to MdToADF Tests (2c58c51)
Call method on window in browser. (38706d1)
docker build ordering (0110108)
Don't publish with dependancies for the CLI since they are bundled. (52b3396)
frontmatterHeader adds content direct to ADF instead of Markdown now (1230878)
Improve plugin initial load time. Don't create the createObjectURL till first publishing time. (2c11c8e)
Missed steps (2487fe3)
Missed updating package-lock.json (6bc63b9)
Move monitor to the right place (fefccd5)
Pin dependancy in snyk.yml (0498425)
Pin npm in release-please.yml (03da715)
Remove ADFView from main.ts (a21abbd)
Remove comments (78520de)
Run npm ci to install dependancies (58e894c)
run monitor in docker action (7fc1b91)
Run npm build before dev-obsidian to ensure all built (da1fe60)
Sarif output (cfb277d)
ts errors in tests (21f640e)
Update snyk org id (945f87c)
use latest tag (b7458ab)

Documentation

Add badges to README.md (53d2bf3)
Add Conventional Commits (f7b0696)
Add Discord link (9c093f6)
Add README.md files to all NPM Packages (75c4781)
amended the broken readme image paths for obsidian package (97876cf)

Dependencies

deps: bump github/codeql-action from 2.3.1 to 2.3.2 (f960fb3)
deps: bump puppeteer from 19.11.1 to 20.0.0 (def42aa)
deps: bump puppeteer/puppeteer in /packages/cli (69768b1)
deps: bump yargs from 17.7.1 to 17.7.2 (a91eabd)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/markdown-confluence/markdown-confluence/releases/tag/obsidian-confluence-v5.0.0 :sunflower:

:robot: Release is at https://github.com/markdown-confluence/markdown-confluence/releases/tag/%40markdown-confluence/lib-v5.0.0 :sunflower:

:robot: Release is at https://github.com/markdown-confluence/markdown-confluence/releases/tag/%40markdown-confluence/mermaid-electron-renderer-v5.0.0 :sunflower:

:robot: Release is at https://github.com/markdown-confluence/markdown-confluence/releases/tag/%40markdown-confluence/cli-v5.0.0 :sunflower:

:robot: Release is at https://github.com/markdown-confluence/markdown-confluence/releases/tag/%40markdown-confluence/mermaid-puppeteer-renderer-v5.0.0 :sunflower:

:robot: Release is at https://github.com/markdown-confluence/markdown-confluence/releases/tag/obsidian-confluence-root-v5.0.0 :sunflower:


Are you considering changing internationalization language to optional?

For my project, there is no need for multiple languages, which makes the dialog unavailable。
Are you considering changing internationalization language to optional?

Currently it will default to the first language in the list of locals, which you can leave as english.

当前，它将默认为当地人列表中的第一种语言，您只能使用英语。要只使用硬编码的字符串，就必须使Dialog和Snackbar不使用local.translate（）。我敢肯定，在AlertRequest / SnackBarRequest中有一个标记进行翻译就可以解决问题。


Instructions for installing on FreeBSD

I have completed a port for installing fetch on FreeBSD and would like to update the docs to include FreeBSD installation instructions. There's one caveat that I could use some feedback on... FreeBSD already has a base utility called fetch, so the port is installing this project as go-fetch. As far as I can tell, there are no side effects to this. Let me know if you know of any "gotchas" here! If not, I will move forward with formally submitting my port to FreeBSD, along with a PR here to update the docs. Thank you!

(This would also address #99)


Help command and -h,--help differ

Bug Report

What did you do?
Trying to init a new project. I did added a -h to look at my options and found it was very bare bones. This differed from the online doc which included options like --domain and such. It wasn't until I ran help init until I saw the full suite of information.
What did you expect to see?
The full help text for init
Initialize a new project including vendor/ directory and Go package directories.

Writes the following files:
- a boilerplate license file
- a PROJECT file with the domain and repo
- a Makefile to build the project
- a go.mod with project dependencies
- a Kustomization.yaml for customizating manifests
- a Patch file for customizing image for manager manifests
- a Patch file for enabling prometheus metrics
- a cmd/manager/main.go to run

project will prompt the user to run 'dep ensure' after writing the project files.

Usage:
  operator-sdk init [flags]

Examples:
  # Scaffold a project using the apache2 license with "The Kubernetes authors" as owners
  operator-sdk init --project-version=2 --domain example.org --license apache2 --owner "The Kubernetes authors"

Flags:
      --domain string            domain for groups (default "my.domain")
      --fetch-deps               ensure dependencies are downloaded (default true)
  -h, --help                     help for init
      --license string           license to use to boilerplate, may be one of 'apache2', 'none' (default "apache2")
      --owner string             owner to add to the copyright
      --plugins strings          Name and optionally version of the plugin to initialize the project with. Available plugins: ("ansible.sdk.operatorframework.io/v1", "go.kubebuilder.io/v2", "helm.sdk.operatorframework.io/v1")
      --project-name string      name of this project
      --project-version string   project version, possible values: ("2", "3-alpha") (default "3-alpha")
      --repo string              name to use for go module (e.g., github.com/user/repo), defaults to the go package of the current working directory.
      --skip-go-version-check    if specified, skip checking the Go version

Global Flags:
      --verbose   Enable verbose logging

What did you see instead? Under which circumstances?
Initialize a new project.

For further help about a specific project version, set --project-version.

Usage:
  operator-sdk init [flags]

Examples:
  # Help for initializing a project with version "2"
  operator-sdk init --project-version="2" -h

  # Help for initializing a project with version "3-alpha"
  operator-sdk init --project-version="3-alpha" -h

Flags:
  -h, --help                     help for init
      --plugins strings          Name and optionally version of the plugin to initialize the project with. Available plugins: ("ansible.sdk.operatorframework.io/v1", "go.kubebuilder.io/v2", "helm.sdk.operatorframework.io/v1")
      --project-version string   project version, possible values: ("2", "3-alpha") (default "3-alpha")

Global Flags:
      --verbose   Enable verbose logging

Environment

operator-sdk version: "v1.0.0", commit: "d7d5e0cd6cf5468bb66e0849f08fda5bf557f4fa", kubernetes version: "v1.18.2", go version: "go1.13.11 linux/amd64", GOOS: "linux", GOARCH: "amd64"

Are you writing your operator in ansible, helm, or go? Helm

Possible Solution
Use the same help text from help command for -h.

Hi @pgerv12,
if you look the output it described that you need to operator-sdk init --project-version="3-alpha" -h to check the options for the version.


You're a cube that needs to free the princess from the cube king.
How do you play your game?
WASD to move, L to interact, K to mute music
Code
Check off the items that are true.

[x] The game was made using the Sprig editor.
[x] The game is placed in the in the /games directory.
[x] The code is significantly different from all other games in the Sprig gallery (except for games labeled "demo").
[x] The game runs without errors.
[x] The name of the file/game contains only alphanumeric characters, -s, or _s.
[x] The game name is not the same as the others from gallery

Image (If an image is used)

[x] The image is in the /games/img directory.
[x] The name of the image matches the name of your file.

Thanks for your PR!

Thanks for your submission! This is really fun & creative, nice job :)
If you're a teen, you can get your Sprig here! sprig-order.hackclub.dev
Hack Clubbers would love to see this! Just post a link and 1-2 sentences talking about your game to our #ship channel ;)


DEPS.xwalk: Roll chromium-crosswalk (6fcb164 -> d391344)

d391344 Merge pull request #233 from rakuco/backport-ics-fixes
b681e58 [Backport] DeviceUtils: Prefer our unzip implementation.
9c04ff6 [Backport] Do not overwrite command when using the run_pie wrapper.

This roll includes some upstream backports required to get our device fixes to work again in our ICS devices.

@tmpsantos @pozdnyakov

LGTM


docs: fix code block formatting

The markdown renderer for coreos.com breaks if there isn't a newline before a code block:

Is it fixed in coreos.com after this PR? I see no difference before and after this PR in github.
What are we supposed to do for this in the future? Is there any automatic way for it?

That's to be expected, the github renderer isn't affected by this change, but the one used for coreos.com is.

Here's an example from rkt fixing the same issue: https://github.com/coreos/rkt/commit/82a4797a277c1079b3c4df91951d6e666041c3b7

lgtm
I will try to keep an eye on it for further documentation.


Cannot execute due to missing provider configuration

Terraform Version & Prov:
1.2.8
AFT Version:
1.2.1
Bug Description
I deployed AFT framework about 7 months ago with GitHub as VCS + TFC as backend.
Due to being tied with development I have missed to maintain and regularly update the pipeline.
I am now trying to upgrade from 1.2.1 to 1.6.2 however encountering the following error in TFC when running the aws-control-tower-aft workspace responsible for provisioning infrastructure:
Error: error configuring Terraform AWS Provider: error validating provider credentials: error calling sts:GetCallerIdentity: operation error STS: GetCallerIdentity, failed to resolve service endpoint, an AWS region is required, but was not found
with provider["registry.terraform.io/hashicorp/aws"]
on <empty> line 0:

Error: Invalid provider configuration
Provider "registry.terraform.io/hashicorp/aws" requires explicit configuration. Add a provider block to the root module and configure the provider's required arguments as described in the provider documentation.

My current configuration is standard:

The variables referenced here are defined in terraform.auto.tfvars.
To Reproduce

Either push an update to GitHub repo to trigger TFC run or manually trigger TFC run from UI
See error

Expected behavior
Terraform executes without complaining that a provider configuration cannot be found.
Additional context
From the log I can see TFC is failing to find a provider block due to: on <empty> line 0:
I can observe these exist in the official terraform-aws-control_tower_account_factory which I am calling, however cannot figure out why I am receiving this error.
Possible RC
Upon inspecting providers.tf I can observe they all have aliases.
This would indicate there isn't a default aws provider block for resources to fallback to.
From Terraform's provider documentation I have extracted:
A provider block without an alias argument is the default configuration for that provider. Resources that don't set the provider meta-argument will use the default provider configuration

By reviewing the modules consumed by main.tf I can spot a resource that doesn't have a provider set:
data "aws_partition" "current" {}
This is part of the aft-iam-roles module to which only aliased providers get passed in.
Could this be causing the problem since it will be trying to fallback to a non-existent default aws provider block hence the error I have received?
I can spot aws_partition with no provider on a couple more places:
modules/aft-feature-options/data.tf
modules/aft-iam-roles/admin-role/data.tf
/data.tf
modules/aft-code-repositories/data.tf - unaliased aws block passed in so should be okay
modules/aft-lambda-layer/data.tf - unaliased aws block passed in so should be okay
modules/aft-account-provisioning-framework/data.tf - unaliased aws block passed in so should be okay
modules/aft-customizations/data.tf - unaliased aws block passed in so should be okay
modules/aft-account-request-framework/data.tf - unaliased aws block passed in so should be okay

@smokentar thank you for reaching out.
Please may you confirm that you followed below steps for updating to latest version of AFT:
The steps to update would depend on how AFT is deployed in the respective CT environment:

-     If the AFT repository was cloned and then deployed:

        Update cloned git repository using `git pull`
        Deploy the changes by executing `terraform apply` against the CT management account

-     If the AFT repository is sourced from Github / Terraform Registry directly as a dependency:

        Update AFT repository using `terraform init -upgarde`
        Deploy the changes by executing `terraform apply` against the CT management account

Hi @snebhu3, thanks for your reply.
I am executing this from Terraform Cloud so I don't really have an option to execute terraform init -upgrade.
My state is also stored in Terraform Cloud.
I have however changed the source from GitHub to Terraform Registry and forced the latest version to be picked up:

This still results in the same errors:
Terraform v1.2.8
on linux_amd64
Initializing plugins and modules...
module.aft.module.packaging.data.archive_file.builder: Reading...
module.aft.module.packaging.data.archive_file.customizations: Reading...
module.aft.module.packaging.data.archive_file.request_framework: Reading...
module.aft.module.packaging.data.archive_file.feature_options: Reading...
module.aft.module.packaging.data.archive_file.provisioning_framework: Reading...
module.aft.module.aft_customizations.data.local_file.aft_global_customizations_terraform: Reading...
module.aft.module.aft_customizations.data.local_file.aft_account_customizations_terraform: Reading...
module.aft.module.aft_customizations.data.local_file.aft_global_customizations_terraform: Read complete after 0s [id=4566919c984ca209f8b11c3949cde056b29b020d]
module.aft.module.aft_customizations.data.local_file.aft_create_pipeline: Reading...
module.aft.module.aft_lambda_layer.data.local_file.aft_lambda_layer: Reading...
module.aft.module.aft_customizations.data.local_file.aft_create_pipeline: Read complete after 0s [id=278c0e859be0fbe78ebb7dd73f159ef8b3a324be]
module.aft.module.packaging.data.archive_file.builder: Read complete after 0s [id=4c83442cf33de4d3aa36cab6fb65a118c94a3fd7]
module.aft.module.aft_customizations.data.local_file.aft_account_customizations_terraform: Read complete after 0s [id=06584eeb5e044283f51cc7decd799dac27ed3343]
module.aft.module.packaging.data.archive_file.customizations: Read complete after 0s [id=2119ded81635e101a404170ac77e697674cd6e05]
module.aft.module.packaging.data.archive_file.feature_options: Read complete after 0s [id=b104ca9190aa7b99ab73660fd8a300403903a525]
module.aft.module.aft_lambda_layer.random_string.resource_suffix: Refreshing state... [id=kqa80mtw]
module.aft.module.aft_code_repositories.data.local_file.account_request_buildspec: Reading...
module.aft.data.local_file.version: Reading...
module.aft.module.aft_lambda_layer.data.local_file.aft_lambda_layer: Read complete after 0s [id=e7cbe092e97f9311cd3330a8c7e2dbe5dbb13ea9]
module.aft.module.aft_code_repositories.data.local_file.account_provisioning_customizations_buildspec: Reading...
module.aft.module.packaging.data.archive_file.request_framework: Read complete after 0s [id=f57ec97ef8c5e2dedee631903e6eddfd40c33bf8]
module.aft.module.aft_code_repositories.data.local_file.account_request_buildspec: Read complete after 0s [id=f9249e8cc0c976cf31c472ddc9bdb4f628656964]
module.aft.module.aft_code_repositories.data.local_file.account_provisioning_customizations_buildspec: Read complete after 0s [id=d90be7f394cc43afe8df7d0e36ebfe7aafa1f878]
module.aft.data.local_file.version: Read complete after 0s [id=023695a7542e76cdbe9c79cc349ed4a5f5325749]
module.aft.module.packaging.data.archive_file.provisioning_framework: Read complete after 0s [id=7e4a7ac3a7772ea7132b0982c26aeca7dae175fe]
module.aft.module.aft_lambda_layer.time_sleep.eventbridge_rule: Refreshing state... [id=2022-02-01T20:30:15Z]
module.aft.module.aft_lambda_layer.time_sleep.lambda_layer_wait: Refreshing state... [id=2022-02-01T20:37:17Z]
module.aft.module.aft_account_request_framework.data.aws_caller_identity.ct-management: Reading...
module.aft.module.aft_account_request_framework.aws_cloudwatch_event_rule.aft_control_tower_events: Refreshing state... [id=aft-capture-ct-events]
module.aft.module.aft_feature_options.data.aws_caller_identity.ct_management: Reading...
module.aft.module.aft_iam_roles.module.ct_management_exec_role.data.aws_partition.current: Reading...
module.aft.module.aft_feature_options.data.aws_organizations_organization.aft_organization: Reading...
module.aft.module.aft_account_request_framework.aws_iam_role.aft_control_tower_events: Refreshing state... [id=aft-control-tower-events-rule]
module.aft.module.aft_iam_roles.module.ct_management_exec_role.data.aws_partition.current: Read complete after 0s [id=aws]
module.aft.module.aft_feature_options.data.aws_caller_identity.ct_management: Read complete after 0s [id=243542532321]
module.aft.module.aft_account_request_framework.data.aws_caller_identity.ct-management: Read complete after 0s [id=243542532321]
module.aft.module.aft_feature_options.data.aws_organizations_organization.aft_organization: Read complete after 0s [id=o-okhvlky48k]
╷
│ Error: Invalid provider configuration
│
│ Provider "registry.terraform.io/hashicorp/aws" requires explicit
│ configuration. Add a provider block to the root module and configure the
│ provider's required arguments as described in the provider documentation.
│
╵
╷
│ Error: error configuring Terraform AWS Provider: error validating provider credentials: error calling sts:GetCallerIdentity: operation error STS: GetCallerIdentity, failed to resolve service endpoint, an AWS region is required, but was not found
│
│   with provider["registry.terraform.io/hashicorp/aws"],
│   on <empty> line 0:
│   (source code not available)
│
╵
Operation failed: failed running terraform plan (exit 1)

Hi @snebhu3, after forking the official repository and doing some testing I have confirmed my RC and pinpointed the issue to the following files:

modules/aft-iam-roles/data.tf
data.tf

In both files, data "aws_partition" "current" {} should have a provider specified.
Something like:
data "aws_partition" "current" {
  provider = aws.ct_management
}

I am using the ct_management alias as an example.
After adding this I managed to execute a successful plan.

@smokentar thank you for additional context.
We tried to reproduce this issue, however, we were unable to.
If you need additional help, we would recommend reaching out to AWS Premium Support.

Hi @snebhu3, thank you for responding.
I can confirm the issue is not reproducible when running with Terraform OSS.
Have you attempted to reproduce with Terraform Cloud?

Hi @smokentar, thank you for your response.
We were not able to reproduce this error in both our Terraform Cloud and OSS environments.

Hi @snebhu3, thanks for following up.
Could you please confirm the AFT version your Terraform Cloud is using is 1.5.2 or above?
I have successfully managed to update my AFT version (plan + apply) to 1.5.1 from 1.2.1.
However when I bump to 1.5.2 and try to apply I receive the error mentioned in my first comment.
1.5.2 was the version where the aws_partition data source was added.
This doesn't make sense to me as we are both using Terraform Cloud to plan and apply - the only difference in behaviour can be from the version used - please confirm the AFT version you used.
Thank you!

Hi @smokentar, thanks for providing more details.
We are using latest version of AFT (1.6.2) in Terraform Cloud workspace which uses Terraform version 1.2.8.

Hi @snebhu3, thanks for confirming!
Could you check if there are any environment variables defined for the workspace?
I managed to get a successful plan by defining an AWS_DEFAULT_REGION environment variable but I still need to review the TF code to confirm what impact this has.
At this point I'm trying to figure out what's the problem with my TF Cloud configuration.

@smokentar yes, we do use some environment variables in our TF cloud workspace.
Since we were not able to reproduce the reported error, we suspect the failure to update to latest AFT could be due to how the workspace / environment is set up.
We recommend working with AWS Premium Support or HashiCorp if further help on troubleshooting is required.
I will go ahead and close this issue for now.
Please feel free to open another issue if you face any additional problems with AFT.

This issue is reproducible - we've managed to replicate it in two different ways: upgrading from 1.5.1 to 1.5.2 and also upgrading from 1.5.1 to 1.8.0 (latest).
We are using Terraform OSS, but this is actually irrelevant - see below.
The issue is along the same lines as what @smokentar suggested in https://github.com/aws-ia/terraform-aws-control_tower_account_factory/issues/232#issuecomment-1230850364, i.e. there are a few aws_partition data sources that are missing a provider meta-argument.
Here is a suggestion for how to resolve it (we've tested this solution on our local fork): https://github.com/aws-ia/terraform-aws-control_tower_account_factory/pull/303.
It is particularly telling because you can see that similar data sources immediately above and below those lines of code already have a provider = aws.aft_management defined.

Hi @snebhu3, thanks for confirming!
Could you check if there are any environment variables defined for your TF Cloud workspace?

@smokentar yes, we do use some environment variables in our TF cloud workspace.

This is probably the reason why you are unable to replicate the issue. If you have AWS credentials in your environment, then any missing providers will fall back to those.

I can confirm that this issue was exhibited in a brand new Control Tower org v3 and accounts.  No resources have been provisioned, nor any additional setup done.
TF v1.3.7
AFT 1.8.0
This system has no ~/.aws/config or ~/.aws/credentials.  Secrets are defined in env vars.  Once I defined the default region (export AWS_DEFAULT_REGION=foo), the error was resolved


"Try it out" in /docs for petstore returns 404 Not found

It appears that the request URI is not appended to the basePath. Note how the request does not include the /pets suffix.
Steps to reproduce:

Install swagger-suite via npm / bower
npm run petstore
go to http://localhost:3000/docs/
Attempt to get a list of pets using the /pets method

Request:
http://localhost:3000/api HTTP/1.1
Content-Type:

Response:
HTTP/1.1 404 Not Found
Date: Mon, 26 Jan 2015 23:09:32 GMT
Vary: <IP_ADDRESS>
X-Powered-By: Swagger-Server Mock
Access-Control-Max-Age: 0
Access-Control-Allow-Methods: get, put, post, delete, options, head, patch
Content-Type: application/json; charset=utf-8
Access-Control-Allow-Origin: <IP_ADDRESS>
Access-Control-Allow-Credentials: true
Connection: keep-alive
Access-Control-Allow-Headers:
Content-Length: 34
ETag: W/"22-918ae4c0"
{
  "code": 404,
  "message": "Not Found"
}

Yes that's right. For some reason /pets isn't part of the URL...

hello, i tried the petstore. and click Try it out button to test on GET /pets, only get
Response Body
[]
Response Code
200
Response Headers
{
"X-Powered-By": "Swagger-Server Mock",
"Access-Control-Allow-Origin": "<IP_ADDRESS>",
"Vary": "<IP_ADDRESS>",
"Access-Control-Allow-Credentials": "true",
"Access-Control-Max-Age": "0",
"Access-Control-Allow-Methods": "GET, POST",
"Content-Type": "application/json; charset=utf-8",
"Content-Length": "2",
"Etag": "W/"2-d4cbb29"",
"Date": "Wed, 25 Feb 2015 02:35:25 GMT",
"Connection": "keep-alive"
}
where is the pets?

I'm working feverishly on a new release of Swagger-Suite (and Swagger-Server, and Swagger-Parser, and Swagger-Express-Middleware) that will fix a ton of issues with the current 0.x version.   I've written nearly 2000 unit tests, so I'm much more confident in the quality and stability of the new version.   Expect it out in the next few weeks...

Great news! Thanks!
On Thu, Feb 26, 2015 at 4:35 AM, James Messinger<EMAIL_ADDRESS>wrote:

I'm working feverishly on a new release of Swagger-Suite (and
Swagger-Server, and Swagger-Parser, and Swagger-Express-Middleware) that
will fix a ton of issues with the current 0.x version. I've written nearly
2000 unit tests, so I'm much more confident in the quality and stability of
the new version. Expect it out in the next few weeks...
—
Reply to this email directly or view it on GitHub
https://github.com/BigstickCarpet/swagger-suite/issues/5#issuecomment-76085432
.

Just FYI - the new version is coming along nicely.  The entire middleware layer is done now, and I've released it as a separate, standalone project (Swagger Express Middleware), complete with code samples and walkthroughs.  Feel free to check it out and let me know what you think.
The goal of Swagger Express Middleware is to be a set of plug-and-play middleware modules that can be used in any Express app.   Whereas Swagger Server goes a little further and actually extends Express with extra features that are specific to Swagger APIs.

awesome!

any news? :)

I'm making progress, but it's been slow-going for the past couple of weeks because I've been swamped working on other projects.   Nonetheless, I've [finished refactoring Swagger Server to use the new middleware layer], and I hope to work on it more this coming weekend.


Confirm after dropped Item and before rendering

Hello,
Nice package.
Im currently working on a set of groups items. A parent can't drag and set as a child then a child can't drag or set as a parent. So far I can do this using confirmChange the only problem is that if the parent does not have a child you can't drop to item.
confirmChange = ({dragItem, destinationParent}) => {
 if( dragItem.parent == 0 && destinationParent) { return false }

 if( dragItem.parent != 0 && !destinationParent ) { return false}

return true;

}
`
I hope it makes sense :)

you could check if destinationParent has children and handle that case with another if statement.
would that do the trick?
if not, then some live example would help understand the issue (feel free to reopen).


SP5 Rotated SignalXY with Inverted YAxis

Issue: When I invert the Y-axis for a ScotPlot containing a rotated SignalXY I get an exception:
System.ArgumentOutOfRangeException: 'Non-negative number required. Arg_ParamName_Name'
ScottPlot Version: ScottPlot.WPF v5.0.21)
using ScottPlot;
using System.Drawing;

double[] dataX = { 1, 2, 3, 4, 5 };
double[] dataY = { 1, 4, 9, 16, 25 };

ScottPlot.Plot myPlot = new();
myPlot.Add.Scatter(dataX, dataY);
var trace = myPlot.Add.SignalXY(dataX, dataY);
trace.Data.Rotated = true;

myPlot.Axes.SetLimits(left: 0, right: 6, bottom: 26, top: 0);

myPlot.SavePng("quickstart.png", 400, 300);

@swharden FYI, I'm keen to tackle this myself. I have the code building and am finding my way around the issue. Feel free to assign to me. Thanks


[0.11.x] Remove outdated text on flask.ext redirect package

See #2417. Same thing except for 0.11.x instead of 0.12.x

Unfortunately, we can't roll out new docs without a new release, and I don't plan on making any more 0.11 releases.


debian/control: add dependency in libwinpr2-dev on libssl-dev

Requirement mentioned in winpr2.pc.

@xhaakon thank you!


Test for deterministic pipeline construction (#61)

Hmm, I just realized, I don't think this test is very useful. The main source of non-determinism is the func* values, but those aren't changing from run to run with this. I'm going to abandon this for now and try to think of a better test that is still light weight.

I've updated this to hopefully actually test deterministic pipeline construction more reliably, PTAL.


Trending Shows Endpoint responding with 503

When trying to request "Trending Shows" I receive a 503 error
PS C:\Users\Administrator> invoke-webrequest -Method GET "https://api.trakt.tv/shows/trending?limit=50" -ContentType "application/json" -Headers @{"Accept" = "application/json";
>> "trakt-api-key"           = $traktkey;
>> "trakt-api-version"       = "2"
>> }
>>
invoke-webrequest : The remote server returned an error: (503) Server Unavailable.
At line:1 char:1
+ invoke-webrequest -Method GET "https://api.trakt.tv/shows/trending?li ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-WebRequest], WebException
    + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand

PS C:\Users\Administrator>

The API responds normally when requesting Watched Shows or Anticipated Shows via
https://api.trakt.tv/shows/anticipated?limit=50
https://api.trakt.tv/shows/watched/period?limit=50

as you can see on https://status.trakt.tv/ api is not online yet after the
db crash
On Tue, Dec 20, 2022 at 3:14 PM harroguk @.***> wrote:

When trying to request "Trending Shows" I receive a 503 error
PS C:\Users\Administrator> invoke-webrequest -Method GET "https://api.trakt.tv/shows/trending?limit=50" -ContentType "application/json" -Headers @{"Accept" = "application/json";

"trakt-api-key"           = $traktkey;
"trakt-api-version"       = "2"
}

invoke-webrequest : The remote server returned an error: (503) Server Unavailable.
At line:1 char:1

invoke-webrequest -Method GET "https://api.trakt.tv/shows/trending?li ...

  + CategoryInfo          : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-WebRequest], WebException
  + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand

PS C:\Users\Administrator>
The API responds normally when requesting Watched Shows or Anticipated
Shows via
https://api.trakt.tv/shows/anticipated?limit=50https://api.trakt.tv/shows/watched/period?limit=50
—
Reply to this email directly, view it on GitHub
https://github.com/trakt/api-help/issues/386, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AATWOEICREWSSXTFX5SIIHDWOG5MDANCNFSM6AAAAAATERSNIA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

no worries, I was confused because it felt like part of the API was responding normally and another part was not.
I can ride it out. not an issue :)


Allow customisation of encrypted property placeholder definition rather than being always hardcoded to ENC().

We have set of pre-existing encrypted properties that utilise a different set of delimiters.  These can't be changed as they are shared with other projects.
I have created a new interface that can be implemented to detect other encrypted property delimiters and provide an entry point to extract and decrypt the enclosed value.  A default implementation is provided that delegates to Jasypt as currently.
Users can provide their own implementation in exactly the same way they can provide their own StringEncryptor subclass, including customising the bean name.
I've refactored the bean name placeholder logic into its own class now that it is used for two different beans.
Added check to only manipulate bean names with placeholders that we care about.
I have updated the README with details of the customisation options and a sample PropertyFinder subclass.
I hope this is useful to others who may need to integrate with existing encrypted properties, and thanks for creating this library.

Thanks for the contribution. I think we gotta polish off a few points.
First, PropertyFinder should do decryption. It should be a step before decryption, without encapsulating it, otherwise we're creating a dependency on StringEncryptor, when it could totally be dependency-less.
Then, I'm not sure why you renamed StringEncryptorConfiguration and created PlaceholderInitialisation. They look alike but they have some differences.
Also, wouldn't it suffice to just simply add a 2 properties for prefix and suffix of encrypted properties? That way you could just configure those properties and forget about it.
Then all the changes could be contained in EncryptablePropertySource and some wiring of the Environment to pull the properties.
Let me know your thoughts, but thanks again I think it's a great idea to add the functioanity

Please checkout the new docs and new version of the plugin. I implemented what you needed

Thanks Ulises, I had a bunch of changes that I had made in response to your comments but hadn't applied the final polish.  I'll check this out when I get back to work next week. Cheers


Anvil's CPU usage is suspiciously high when it's idle

Component
Anvil
Have you ensured that all of these are up to date?

[X] Foundry
[X] Foundryup

What version of Foundry are you on?
forge 0.2.0 (85f69d9 2022-05-09T00:04:25.613861+00:00)
What command(s) is the bug in?
anvil -f https://bsc-dataseed.binance.org
Operating System
macOS (M1)
Describe the bug
I used Anvil to fork BSC mainnet from latest block number. No problem when interacting with forked chain, everything was fine, Anvil ran very fast compared to Ganache. But I noticed that my M1 Macbook Air was getting warm when idle. After checking Activity Monitor, I saw that Anvil used 160% CPU when doing nothing.

thanks, this is indeed happening in fork mode, probably related to #1549


Controlnet branch input dimensions error

I am consistently getting an error when trying to convert any model. This error occurs with both static and dynamic input settings.
[E] 4: [shapeContext.cpp::getBounds::3442] Error Code 4: Internal Error (2B: Input dimensions with this name are inconsistent.)
[!] Invalid Engine. Please ensure the engine was built correctly
ERROR:root:Failed to build engine: Invalid Engine. Please ensure the engine was built correctly

This project is really awesome and I'd like to make full use of it so any help would be greatly appreciated!

Hi, I'm having the same problem, have you solved it yet?


Not working due to Read Proces Memory

As of today and following the instructions for singleplayer mode is not working due to 0x12B. I guess its due to an update that changed several adresses. Will it be fixed?

Indeed, the offsets are outdated. It's an easy fix anyone can do by changing the config file, but I will update it as soon as I am able to download the update. Thanks for the notification.

I am sorry, I just know zero about this topic..
Anyways, thank you for your work, its apreciated!!

Indeed, the offsets are outdated. It's an easy fix anyone can do by changing the config file, but I will update it as soon as I am able to download the update. Thanks for the notification.

Hello there. Thanks for your work. I am software engineer and i want to learn the concepts of this software. How do you find offsets, using some tools or algorithm?

I am sorry, I just know zero about this topic.. Anyways, thank you for your work, its apreciated!!

Fixed in the newest commit.
No need to download the executable, just update your config with the one found in the README.

Indeed, the offsets are outdated. It's an easy fix anyone can do by changing the config file, but I will update it as soon as I am able to download the update. Thanks for the notification.

Hello there. Thanks for your work. I am software engineer and i want to learn the concepts of this software. How do you find offsets, using some tools or algorithm? Could you help me sir?

This is not the topic of this issue, contact me on Discord: FssAy#8648


[Monitor] The namespace for C# code of resource-manager folder is incorrect

This readme.md file is using this as namespace for CSharp: Microsoft.Azure.Management.Monitor.Management, but it should use: Microsoft.Azure.Management.Monitor

fixed in PR https://github.com/Azure/azure-rest-api-specs/commit/01f6b089051096df1c6a918fd7d64ecb2058905b . close the issue.


Add support for context parallelism

Adds context parallelism with ring attention.
See WandB report for training runs to test correctness with a simple 410M config: https://wandb.ai/brandony/neox/reports/Test-context-parallelism-correctness--Vmlldzo5NTU4ODc1.

Checked the following settings: no MP/CP, MP 4, CP 4, MP 2 and CP 2
Confirmed that the loss exactly matches
Memory and training speed seems reasonable

Build off this initial PR: https://github.com/EleutherAI/gpt-neox/pull/1266, with changes to get things working:

All-reduce gradients across context-parallel nodes by piggy backing on DP
Fix parallelism initialization
Remove unnecessary code

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


change the configuration of engineArgs in config.pbtxt

CLA has been accepted by the Triton Team. This PR can be merged at our discretion.

@nv-kmcgill53 OK, thank u so much.

Hi @activezhao,  thanks for your work! I was thinking about the structure of this tutorial. I would like to keep original version of this tutorial, which utilizes vllm_backend repo under QuickDeploy section. How about we move this tutorial under a new folder Customization  with a new README and suggested model.py and config.pbtxt. Then, in the README you can describe what new methods you've added to model.py and config.pbtxt. What do you think about this idea?

Hi @activezhao, thanks for your work! I was thinking about the structure of this tutorial. I would like to keep original version of this tutorial, which utilizes vllm_backend repo under QuickDeploy section. How about we move this tutorial under a new folder Customization with a new README and suggested model.py and config.pbtxt. Then, in the README you can describe what new methods you've added to model.py and config.pbtxt. What do you think about this idea?

Hi @oandreeva-nv Cool, that sounds pretty good, it's a good idea.
And could you help us build the basic code structure, and then we can fill things in?

Hi @activezhao , pre-commit hook failed unfortunately, could you please fix the formatting?

Hi @activezhao , pre-commit hook failed unfortunately, could you please fix the formatting?

OK, I will fix them.

Hi @oandreeva-nv I have just updated README and adjusted directory structure,  could you please help me to review the code?
Thanks


can I use for office 2016x

thanks for the information about Modern authentication setup
Can I enable second verification setup on windows 10 with office 2016 pro plus
with above registry keys.
I will replace 15.0 by 16.0

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

ID: 8db5aea7-bb2e-f349-7518-fc4fd396b3da
Version Independent ID: b4112301-d38e-4a77-847b-f41bd7bca0f1
Content: Enable Modern Authentication for Office 2013 on Windows devices
Content Source: Office365-Admin/security-and-compliance/enable-modern-authentication.md
Service: o365-administration
GitHub Login: @Sirkkuw
Microsoft Alias: sirkkuw

@RAJU2529 Thank you for this inquiry
I am not sure if the above registry keys are good for the 2016 version. Let me get this over to the o365ITPro writing team for investigation.
Thank you for reporting and making the docs better. Much appreciated.
I made a note to request the team to update this when the work is complete.

Office 2016 supports modern authentication by default, no changes are needed to enable it.

thanks

@RAJU2529 It looks like Mike answered your question. I am going to close this issue at this time. If your issue is not resolved please re-open this issue.

@mikenri you say and MS says and the doco says Office2016 is modern auth compliant by default..  I have a fresh Windows 10 1809, installed Office 365 (2016) x64, and it simply will not let me auth.
I have an authentication policy set to block basic auth protocols (new-authenticationpolicy), and i cannot connect..

hello mikeni , I think at initial office 365 while installing on windows 10, so that updated office 365 might be update to office365 (2019 )version
Other users might give good solutions

hello mikeni , I think at initial office 365 while installing on windows 10, so that updated office 365 might be update to office365 (2019 )version
Other users might give good solutions

Hi @Mikenri, I have same issue office 365 office suite got installed on windows 10. Modern authentication is not working . Unable to authenticate with user!!!. Any Directions for this issue resolution is much Appreciable.


ProgrammingError at /auth/login/ relation "django_session" does not exist LINE 1: SELECT (1) AS "a" FROM "django_session" WHERE "django_sessio...

After installing everything and starting this we get
ProgrammingError at /auth/login/ relation "django_session" does not exist LINE 1: SELECT (1) AS "a" FROM "django_session" WHERE "django_sessio...
get the same error in
make shell
import custom_usermodel
me = custom_usermodel.models.User.objects.first()
need help ASAP

This project is designed to work with our own single sign on. You will need to unpick in order for it to work with other auth mechanisms.


Pin change without having to enter it again

Is it possible to let the user change the pin without having to enter it again? Every activity is secured with a pin so to change the pin the user must have already entered it once.
Thanks!

Hello @m1s73r
You can fork the library if you want and make the changes that corresponds to the behaviour you are waiting for.
I don't want to lose the security purpose of this library by doing that in the main library (changing the password without entering the existing one is unsecure).
Cheers,
Olivier


Cache fixes / optimations

fixed AdapterOptions::setNamespace
fixed quickstart example how to use Zend\Cache\StorageFactory
make static class Zend\Cache\Utils abstract
allow to set options on all adapter constructors

plugin handling:

Don't throw an exception on remove a not registered plug-in (talked with matthiew)

Now Zend\Cache\Storage\Adapter::getPlugins returns a simple list of plug-ins to not allow editing the plugin registry outside of the adapter

memcached adapter:

Zend\Cache\Storage\Adapter::getMetadata[s] shouldn't throw an exception if the adapter doesn't support metadata. Instead return an empty array.
better getDelayed
use build-in functionality of CAS
added capability 'maxKeyLength' => 255
fixed ttl vs. expiration time
use Memcached::getResult[Code|Message] to generate exception and to check if it's an ItemNotFound error
use of Memcached::deleteMulti since ext/memcached 2.0.0
fixed event params
use of Memcached::OPT_PREFIX_KEY as namespace

memory adapter:

implemented memory limit for memory adapter (Default: PHP memory_limit / 2)
Why ?

To limit the used PHP memory for cached items
to have a real "total" for getCapacity if PHP memory limit is disabled
No need to read /proc/meminfo (*unix) or exec GlobalMemoryStatus.exe (Win) to get the system total

filesystem adapter:

fixed phpdoc of Zend\Cache\Storage\Adapter\Filesystem::setOptions

Marc -- if you're okay with my suggestions above, I'll merge and make those changes.

Hit the wrong button -- never meant to close!

Commented some lines.
With all other notes I completely agree with you.


no longer need to manually update end date

@zhoudanxie I think the current method of finding the first day of the previous complete month is fine for now. I can try to come up with a more durable/sophisticated way of achieving the same result when I go through and clean up all of the Rmd files sometime in the future.


⚠ Adacta-fintech.com has degraded performance

In 67f08ef, Adacta-fintech.com (https://www.adacta-fintech.com) experienced degraded performance:

HTTP code: 200
Response time: 1016 ms

Resolved: Adacta-fintech.com performance has improved in 225fed9 after 7 minutes.


Backblaze B2 unexpected end of JSON input

Output of restic version
restic 0.7.3
compiled with go1.9 on linux/amd64

How did you run restic exactly?
I tried to back up some fairly large (~ 200GB in total) VM images using restic using
restic backup --force /mnt/backup/dump/
I used these environment variables:
RESTIC_REPOSITORY "b2:<bucket_name:<path_to_backup>"
B2_ACCOUNT_ID="<some_account_id>"
B2_ACCOUNT_KEY "<some_account_key"
RESTIC_PASSWORD "<very_secret_password>"

I tried this multiple times, but restic always fails with an error after < 30 minutes.
error while saving data to the repo: unexpected end of JSON input
Close
github.com/restic/restic/internal/backend/b2.(*b2Backend).Save
        src/github.com/restic/restic/internal/backend/b2/b2.go:250
github.com/restic/restic/internal/repository.(*Repository).savePacker
        src/github.com/restic/restic/internal/repository/packer_manager.go:122
github.com/restic/restic/internal/repository.(*Repository).SaveAndEncrypt
        src/github.com/restic/restic/internal/repository/repository.go:203
github.com/restic/restic/internal/repository.(*Repository).SaveBlob
        src/github.com/restic/restic/internal/repository/repository.go:529
github.com/restic/restic/internal/archiver.(*Archiver).Save
        src/github.com/restic/restic/internal/archiver/archiver.go:104
github.com/restic/restic/internal/archiver.(*Archiver).saveChunk
        src/github.com/restic/restic/internal/archiver/archiver.go:161
runtime.goexit
        /usr/local/go/src/runtime/asm_amd64.s:2337
panic: Close: unexpected end of JSON input

goroutine 40839 [running]:
github.com/restic/restic/internal/archiver.(*Archiver).saveChunk(0xc4202ca1e0, 0xdff020, 0xc4200140c8, 0x619ae385, 0x12516a, 0x1b98a15d300000, 0xc4333fa000, 0x12516a, 0x5e4000, 0xc420080840, ...)
        src/github.com/restic/restic/internal/archiver/archiver.go:166 +0x41b
created by github.com/restic/restic/internal/archiver.(*Archiver).SaveFile
        src/github.com/restic/restic/internal/archiver/archiver.go:240 +0x3d0

What backend/server/service did you use?
Backlaze B2
Expected behavior
I'd like restic to finish the backup without an error or aborting.
Actual behavior
The backup fails with an error every time.
Steps to reproduce the behavior

Setup a restic repository on Backblaze B2
Backup a folder with some large files (~ 200GB across 20 files in my case)
Observe error message

Do you have any idea what may have caused this?
I found some issues only with a similar error. It seems, that this is caused by a invalid API response from B2. In the linked post the solution was to retry the backup, but this does not work in my case. The backup fails every time.

I have the same error, it's not as bad when doing a backup because you can just restart the process, but when doing a prune it's fatal because it seems like prune is not storing the progress.

Hey, thanks for the report. If the backup fails every time, it's a great candidate to do some digging and find out what's going on here.
Please do the following:

Install Go (>=1.8), check out the repository
Compile restic with debug: go run build.go -tags debug
Run the backup again, with this command line:

$ DEBUG_FILES=debug/round_tripper_debug.go,b2/b2.go ./restic backup --force /mnt/backup/dump/ 2>/tmp/restic-debug.log

Then remove the authentication tokens from the debug log with:
$ sed -i '/Authorization/d' /tmp/log
$ sed -i '/Key:' /tmp/log

Then please have a look at the last few HTTP requests/responses in that log, maybe paste it somewhere.
ping @kurin

I have the same issue. I am backing up 17 TB. And the bucket size never gets over 1 GB. But it takes almost two hours to crash.

So, then let's see what the debug log says :)

I get this error also.  I built restic from HEAD now and made a debug version as asked above.  I just noticed that some code was merged to HEAD.  My version I just built has that code.  Should I build 0.7.3 instead of HEAD and give a log file from that?

debug/round_tripper_debug.go:90 debug.loggingRoundTripper.RoundTrip     41226   ------------  HTTP RESPONSE ----------
HTTP/1.1 200 OK
Content-Length: 485
Cache-Control: max-age=0, no-cache, no-store
Content-Type: application/json;charset=UTF-8
Date: Sat, 14 Oct 2017 11:30:13 GMT
Server: Apache-Coyote/1.1
b2/b2.go:233    b2.(*b2Backend).Save    41185   Save <data/47edf5c822>, name eastwood2/data/47/47edf5c82227bcdc8e85c7174cdb4f1f61ec1f5845f4da0c4ee106fcf15b2de9
debug/round_tripper_debug.go:77 debug.loggingRoundTripper.RoundTrip     40832   ------------  HTTP REQUEST -----------
GET /file/FarmBrown/eastwood2/data/47/47edf5c82227bcdc8e85c7174cdb4f1f61ec1f5845f4da0c4ee106fcf15b2de9 HTTP/1.1
Host: f001.backblazeb2.com
User-Agent: Go-http-client/1.1
Range: bytes=0-0
X-Blazer-Method: b2_download_file_by_name
X-Blazer-Request-Id: 3829
debug/round_tripper_debug.go:90 debug.loggingRoundTripper.RoundTrip     41273   ------------  HTTP RESPONSE ----------
HTTP/1.1 200 OK
Content-Length: 485
Cache-Control: max-age=0, no-cache, no-store
Content-Type: application/json;charset=UTF-8
Date: Sat, 14 Oct 2017 11:30:13 GMT
Server: Apache-Coyote/1.1
b2/b2.go:233    b2.(*b2Backend).Save    41072   Save <data/5ca314a681>, name eastwood2/data/5c/5ca314a68150097c5d45f15104a8b680a2a39ac1025bbb276b8ae953cb93786d
debug/round_tripper_debug.go:77 debug.loggingRoundTripper.RoundTrip     41433   ------------  HTTP REQUEST -----------
GET /file/FarmBrown/eastwood2/data/5c/5ca314a68150097c5d45f15104a8b680a2a39ac1025bbb276b8ae953cb93786d HTTP/1.1
Host: f001.backblazeb2.com
User-Agent: Go-http-client/1.1
Range: bytes=0-0
X-Blazer-Method: b2_download_file_by_name
X-Blazer-Request-Id: 3830
debug/round_tripper_debug.go:90 debug.loggingRoundTripper.RoundTrip     41357   ------------  HTTP RESPONSE ----------
HTTP/1.1 404 Not Found
Content-Length: 178
Cache-Control: max-age=0, no-cache, no-store
Content-Type: application/json;charset=UTF-8
Date: Sat, 14 Oct 2017 11:30:13 GMT
Server: Apache-Coyote/1.1
b2/b2.go:244    b2.(*b2Backend).Save    41124     saved 4636805 bytes, err
debug/round_tripper_debug.go:77 debug.loggingRoundTripper.RoundTrip     41438   ------------  HTTP REQUEST -----------
POST /b2api/v1/b2_get_upload_url HTTP/1.1
Host: api001.backblazeb2.com
User-Agent: blazer/0.1.1
Content-Length: 39
X-Blazer-Method: b2_get_upload_url
X-Blazer-Request-Id: 3831
Accept-Encoding: gzip
debug/round_tripper_debug.go:90 debug.loggingRoundTripper.RoundTrip     41438   ------------  HTTP RESPONSE ----------
HTTP/1.1 503 Service Unavailable
Connection: close
Transfer-Encoding: chunked
Date: Sat, 14 Oct 2017 11:30:14 GMT
Server: Apache-Coyote/1.1
b2/b2.go:233    b2.(*b2Backend).Save    40826   Save <data/412995df98>, name eastwood2/data/41/412995df985cd194619695277f956069d50eadaf61d86d7780499314209f1c1c
panic: Close: unexpected end of JSON input
goroutine 41124 [running]:
github.com/restic/restic/internal/archiver.(*Archiver).saveChunk(0xc4203854a0, 0xec3400, 0xc420014418, 0x633cd9, 0xbf39a, 0x0, 0xc4226fc000, 0xbf39a, 0x13a000, 0xc4204fa000, ...)
src/github.com/restic/restic/internal/archiver/archiver.go:166 +0x43a
created by github.com/restic/restic/internal/archiver.(*Archiver).SaveFile
src/github.com/restic/restic/internal/archiver/archiver.go:240 +0x3bf
How is that?

Ha, thank you very much.
@kurin can you maybe have a look? I think it'd be best to return an error about the 503 status code, instead of the JSON error. What's your take on that?

Could the code retry a certain number of times before giving up?

https://www.backblaze.com/b2/docs/integration_checklist.html
This page says the upload should be attempted again if there is a 503.

The current master branch will do that, at a different level. I think it'd be a good idea to add this to the library (https://github.com/kurin/blazer) we're using.

We had a similar problem which is now solved by #1353. 👍

@jalainis Ah, that's great to hear! Does it work well? Do you like the messages restic prints?
Since I don't experience these errors so often I had to build a backend that randomly inserts errors to test it, but I've never seen it live.

I cannot see new messages concerning retries (similar for check and prune):
restic-master -r $B2_REPO rebuild-index
password is correct
counting files in repo
[19:48] 100.00%  2683 / 2683 packs
finding old index files
saved new index as 3e556787
remove 11 old index files
The random errors "error while saving data to the repo: unexpected end of JSON input" are just gone. So it seems to work well. In general i like the messages restic prints. 😉
According to the Integration Checklist  mentioned above there is a header X-Bz-Test-Mode: fail_some_uploads which can be used to test the backend. Blazer seems to support this as a client option.

Just trying this out. You asked about error messages, and I'm getting:
Stat(<data/0acebc06f0>) returned error, retrying after 590.650684ms: Stat: unexpected end of JSON input

I don't like that "unexpected end of JSON" is still there, as it gives the impression something is "corrupt". I assume this is coming from b2 not properly handling the retry yet?
Also I noticed recently restic started printing "password is correct"... is that intentional?

Thanks for the messages, that's what I expected. We're getting the error from the underlying library (blazer), I've suggested above to improve the message (or even just retry the request).
The "password is correct" message is printed when stdout is a terminal, this was added recently in #1324, requested long ago in #438 to provide some feedback to the user.

A little more feedback. During rebuild-index I have the following so far (it's still running):
counting files in repo
Stat(<data/0acebc06f0>) returned error, retrying after 590.650684ms: Stat: unexpected end of JSON input
Stat(<data/123b5d685e>) returned error, retrying after 628.005782ms: Stat: unexpected end of JSON input
Stat(<data/470010daf5>) returned error, retrying after 712.343092ms: Stat: unexpected end of JSON input
Stat(<data/470718d2cf>) returned error, retrying after 291.116455ms: Stat: unexpected end of JSON input
pack file cannot be listed 4db5bcc9: ReadAt: ReadFull(<data/4db5bcc958>): unexpected end of JSON input
Stat(<data/6205fb65bd>) returned error, retrying after 343.112469ms: Stat: unexpected end of JSON input
pack file cannot be listed 8a331fe4: ReadAt: ReadFull(<data/8a331fe4c0>): unexpected end of JSON input

I can't tell from the messages whether those "pack file cannot be listed" messages mean that the retries were exhausted and the call ultimately failed, or whether it succeeded at some point.
Anecdotally, I have noticed many more B2 JSON errors since I started using the --limit-upload 128. Not sure there is really any cause-and-effect here, just an observation.

blazer should automatically retry on 503s, instead of surfacing that to clients.  Let me chase this down.

Can some of you please test the branch update-blazer? I've pushed the master branch of github.com/kurin/blazer that @kurin prepared. Thanks!

I don't know for sure that this will actually fix it, because I can't reproduce this on my end at all, but I suspect that this is the source of the errors.

I have the issue still when running restic check in my b2 bucket. But I
don't have time to build restic. Could someone post a pre compiled one? I
need amd 64. The precompiled betas have been a God send.
Thanks
Dean
On 16 Oct 2017 18:51, "Toby Burress"<EMAIL_ADDRESS>wrote:

I don't know for sure that this will actually fix it, because I can't
reproduce this on my end at all, but I suspect that this is the source of
the errors.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/restic/restic/issues/1351#issuecomment-336969554, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AGB9ONwPIlGHAJssycJsX81e3mEUr8cNks5ss5ekgaJpZM4P4PMo
.

I'm testing now. I'm ~35% into a rebuild-index and no errors or restic-level retry attempts so far.

If you can reliably reproduce this, I'd like to get the request and especially response from a failing run.  I'm running rebuild-index in a loop with code prior to the "fix" but not having a ton of luck generating an error.

Hi Toby, if you can get me a compiled version I can test it in the morning.
On 16 Oct 2017 22:27, "Toby Burress"<EMAIL_ADDRESS>wrote:

If you can reliably reproduce this, I'd like to get the request and
especially response from a failing run. I'm running rebuild-index in a loop
with code prior to the "fix" but not having a ton of luck generating an
error.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/restic/restic/issues/1351#issuecomment-337048779, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AGB9OJYVLpN0Zac-eoHZuFTpZvD9_F1Gks5ss8pPgaJpZM4P4PMo
.

Reporting back. rebuild-index completed fine (no JSON errors nor retries), but a subsequent prune failed with a timeout. Not really sure it's the same issue or not:
restic -r b2:mybucket:restic prune --limit-upload 150
password is correct
counting files in repo
building new index for repo
[3:40:03] 100.00%  33418 / 33418 packs
repository contains 33418 packs (882153 blobs) with 157.582 GiB
processed 882153 blobs: 3 duplicate blobs, 4.572 MiB duplicate
load all snapshots
find data that is still in use for 7 snapshots
[2:00] 100.00%  7 / 7 snapshots
found 819017 of 882153 data blobs still in use, removing 63136 blobs
will remove 0 invalid files
will delete 156 packs and rewrite 162 packs, this frees 1.282 GiB
net/http: TLS handshake timeoutewritten
Copy
github.com/restic/restic/internal/repository.Repack
	src/github.com/restic/restic/internal/repository/repack.go:43
main.pruneRepository
	src/github.com/restic/restic/cmd/restic/cmd_prune.go:274
main.runPrune
	src/github.com/restic/restic/cmd/restic/cmd_prune.go:85
main.glob..func14
	src/github.com/restic/restic/cmd/restic/cmd_prune.go:25
github.com/restic/restic/vendor/github.com/spf13/cobra.(*Command).execute
	src/github.com/restic/restic/vendor/github.com/spf13/cobra/command.go:650
github.com/restic/restic/vendor/github.com/spf13/cobra.(*Command).ExecuteC
	src/github.com/restic/restic/vendor/github.com/spf13/cobra/command.go:729
github.com/restic/restic/vendor/github.com/spf13/cobra.(*Command).Execute
	src/github.com/restic/restic/vendor/github.com/spf13/cobra/command.go:688
main.main
	src/github.com/restic/restic/cmd/restic/main.go:69
runtime.main
	/usr/local/go/src/runtime/proc.go:185
runtime.goexit
	/usr/local/go/src/runtime/asm_amd64.s:2337

net/http: TLS handshake timeout

Uh yeah I think blazer is supposed to handle those.  Even if it's not in the checklist it sounds retryable.

FYI to everyone using the latest master with the retry logic: I've found a bug, incomplete data may be saved to the backend when an error occurs and a partial file was already sent to the backend, it will be corrected in https://github.com/restic/restic/pull/1362. restic check --read-data will detect this, as well as running sha256sum on the repo data.

FYI incomplete writes to B2 don't go anywhere unless you use the large file API, and restic's writes are never big enough to trigger that.

The bug is that a subsequent retry for Save() will only read the remaining data from the reader, which may be incomplete.

I have uploaded 300+GB to B2, would it be safer for me to start again once
this bug is fixed? re-reading all the data will probably cost me a lot in
B2 charges compared with re-uploading?
On 17 October 2017 at 21:23, Alexander Neumann<EMAIL_ADDRESS>wrote:

The bug is that a subsequent retry for Save() will only read the remaining
data from the reader, which may be incomplete.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/restic/restic/issues/1351#issuecomment-337358958, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AGB9OP_pBIgnj-eaD11fel1Ffir6CKr3ks5stQzGgaJpZM4P4PMo
.

@deanroker123 when did you upload all that data? The code in question was only active between 14 October and today, so you'd only need to check files uploaded since then. Maybe you can use rclone or a fuse file system to only download and check files with sha256sum that have been created since 14 October. Please report back when you do that, I'm highly interested if this problem occurred in practice at all.
If you don't want to download all that data again, starting over surely is a way to avoid this.
I'll think about how we can detect incompletely uploaded files that miss a bunch of data at the beginning (but have a valid header at the end of the file) without downloading them.

So after getting a clean bill of health from restic check --read-data overnight, I ran a prune. It completed successfully:
$ restic version
restic 0.7.3 (v0.7.3-180-g7507a658)
compiled with go1.9.1 on darwin/amd64

$ restic -r b2:mybucket:restic prune -o b2.connections=10 --limit-upload 175
password is correct
counting files in repo
building new index for repo
[1:33:38] 100.00%  33267 / 33267 packs
repository contains 33267 packs (846905 blobs) with 156.808 GiB
processed 846905 blobs: 0 duplicate blobs, 0B duplicate
load all snapshots
find data that is still in use for 8 snapshots
[1:52] 100.00%  8 / 8 snapshots
found 846905 of 846905 data blobs still in use, removing 0 blobs
will remove 0 invalid files
will delete 0 packs and rewrite 0 packs, this frees 0B
counting files in repo
[1:27:38] 100.00%  33267 / 33267 packs
finding old index files
saved new index as 1e32b669
remove 10 old index files
done

Just for kicks, I tried another check, but without --read-data and I got the JSON errors again:
$ restic -r b2:mybucket:restic check -o b2.connections=10 --limit-upload 175
password is correct
Create exclusive lock for repository
Load indexes
Check all packs
Check snapshots, trees and blobs
error for tree 59d18a1f:
  ReadFull(<data/dd4f64c172>): unexpected end of JSON input
error for tree e5d5162a:
  ReadFull(<data/dd4f64c172>): unexpected end of JSON input
error for tree bbf98641:
  ReadFull(<data/dd4f64c172>): unexpected end of JSON input
  Interrupt received, cleaning up

Note that this is v0.7.3-180-g7507a658, which I believe has retry logic at least on the restic level, possibly also in Blazer.
Is this another transient 503 or similar problem that we're failing to catch, or did prune silently corrupt something?
I tried to examine that problematic file using restic cat blob dd4f64c172 but kept getting unable to parse ID: invalid length for hash... clearly I'm doing something wrong. The remote file does exist, and is ~5.7MB.

It's probably still Blazer. Do you have the debug log for that run?

No I don't sorry. I will capture one this afternoon. Interestingly, I ran it again overnight (this time without the bandwidth restrictions) and it succeeded without error.
restic -r b2:mybucket:restic check
password is correct
Create exclusive lock for repository
Load indexes
Check all packs
Check snapshots, trees and blobs
No errors were found

So it does seem to indicate another transient bug.

Also, to confirm, this happens with blazer v0.2.1 patched in to restic v0.7.3?

This is with restic 0.7.3, built from master 7507a658ac529a49560b4f0e5570ae900de2ce61, using the version of Blazer that's included in vendor.
Running it again now with debug enabled.

Oooh, okay, that still has the old version of blazer.

I've updated the branch and will merge blazer 0.2.1 as soon as the integration tests pass.

Please leave a comment should you experience this issue again with restic version v0.7.3-187-g6a52bb6f or later, thanks!

FYI, the beta build will appear here in a few minutes: https://beta.restic.net/v0.7.3-187-g6a52bb6f/

Just following up- I am unable to produce any more failures since upgrading to v0.7.3-193-ga3f8e9df. I ran check several times on a large repo (basically all day long) and could not get a single failure. 👍

Thanks for the feedback!

@fd0 I have used rclone to mount the repo files and search for ones modifed since the 14th, because of the check problems I dont think I had run a full backup. so the only thing modified was an index file. I will download the version mentioned by @armhold and give it another go.


chore: update winapi version to 0.3.8 and replaced deprecated function

Hi!
I have updated the code and would like to contribute back.
For your consideration please.

Hi, @tradesage , and thanks for contributing. With regards to the patch, I can see you're zeroing the uninitialized placeholders, but AFAICT, the right approach would be using the new MaybeUninit type that has recently landed in Rust (IIRC 1.36).
See https://doc.rust-lang.org/core/mem/union.MaybeUninit.html for detailed information.
There's also some more tutorial info here: https://www.reddit.com/r/rust/comments/cefgec/howto_replace_memuninitialized_with_memmaybeuninit/


[WC-2402]: update a11y text as optional

Pull request type

Description

@gjulivan , can you please fill mailstone filed on this PR to see in which release this change goes?


Split the library into several modules (aiming Android support)

Since jSlack 1.6, I'm going to split this library into the following submodules. The main purpose is to enable using this library for Android app development.

jslack (all-in-one package) - Java8+
jslack-api-model (API data models) - Java7+
jslack-common (commonly used implementation) - Java7+
jslack-api-client (Android-ready API client) - Java7+
jslack-app-backend (Features for Slack App development) - Java8+
jslack-shortcut (jSlack's original handy APIs) - Java8+
jslack-test-utils (only used for this library's tests) - Java7+

Breaking changes
This pull request brings the following breaking change to Shortcut APIs. These are inevitable.

Slack.shortcut() to new SlackShortcut(Slack.getInstance()).getInstance()
Slack.shortcut(token) to new SlackShortcut(Slack.getInstance()).getInstance(ApiToken.of(token))

I overlooked that okhttp 3 recently dropped Java7 support. We have two options below:

Give up supporting Java7 (= older Android version), make jslack builds simpler

Downgrade okhttp to 3.12 series + support Java7

I'm thinking to go with plan 1) so far.

I decided to go with plan 1. The module structure is now much simpler. Plus, we don't bring any breaking changes this time 🎉 If a user wants to load all the existing modules, just specify artifactId jslack as they have been up to now. If a user would like to load Slack API client, use artifactId jslack-api-client (which depends on jslack-api-model). From the viewpoint of Android's 64K method limit, this improvement may be beneficial for some people.

jslack (all-in-one package - backward compatible)
jslack-api-model (API data models)
jslack-api-client (Android-ready API client)
jslack-app-backend (Collection of the features for Slack App development)


Greek letters cannot be rendered

In its current state, rendercv cannot render greek letters.
I found a way to manually overcome this problem.

Use manually lualatex instead of pdflatex in renderer.py (lines 942-946)
Insert these lines in Preamble.j2.tex of the theme that you use (for example themes/classic/Preamble.j2.tex)
\usepackage{fontspec}
\setmainfont{Times New Roman}
and remove the default \usepackage[default, type1]{sourcesanspro} % for using source sans 3 font

In this way, Greek & English letters are rendered just fine!
My setup:

Windows 10
Python 3.11
Rendercv 1.8

I hope that this post is helpful to anyone stuck on the same problem!

I am closing this issue since it's now connected with #73. Thank you!


one: sync in parallel at 15 minute intervals

Sync the repos all in parallel and use the -t option to cvmfs_server so that overlapping snapshots don't pile up.

Closed by accident.
Happy to merge but should become a  parameter if it changes again.


International assertion errors

Related to https://github.com/jhipster/jhipster-lite/issues/4066 and https://github.com/jhipster/jhipster-lite/issues/2794
Starting an internationalization of errors for assertion errors

Next steps:

Update java-base to update the exceptions there (with attention payed to the coverage drop from new methods);
Create a assertion-error-handler module to add the handler with messages etc;
Update GeneratorException to be able to have an handler similar to this one (with additional complexity to manage keys);
Update java-base module to have this kind of exceptions;
Create a module with handler for this exceptions


UTCDateTime conversion now includes milliseconds

Currently laravel-mongodb strips out the millisecond value of the datetime when retrieving records or querying mongo. This PR fixes the date conversion to include the millisecond part of the date. The PR also saves created_at and updated_at with millisecond precision now.
This PR only works for PHP7 and above as I couldn't find anywhere specifying that PHP5 is supported, and travis is only testing on PHP7.

Closing in favor of https://github.com/jenssegers/laravel-mongodb/pull/1963


Fix vagrant permission denied (publickey) message

Fix vagrant permission denied (publickey) message

Hi there!
If you apply this fix then you will login as vagrant user but all the sdk and software was installed for the Ubuntu user and therefore the sdk will not work.
Can you better explain?

Hello, ltpitt.
Sorry for my english.
Video: https://www.youtube.com/watch?v=Dj50l5zrfKE
By default authorization with authorized_keys works with vagrant user

This is quite peculiar!
Works on my pc and another user was specifically requesting this...
If you change the code to vagrant then pebble-sdk works fine for you?

Hello, Davide.
Yes, its works correctly with vagrant user in Vagrantfile

Thanks for your contribution!

Thanks for you too!


Use virtual files for importing package version

Is your feature request related to a problem? Please describe.

Describe the solution you'd like

https://github.com/nuxt-modules/cloudinary/pull/209#discussion_r1597654631
Describe alternatives you've considered

Additional context

Decided not to implement it this way as it is only for internal purposes and it works right now so no need for additional code is needed to have this virtual file


How to delete V2 images

review this URL to determine a way to delete images
https://docs.docker.com/v1.8/registry/spec/api/#listing-repositories

https://github.com/docker/docker-registry/issues/988

check out : github burnettk/delete-docker-registry-image


Support for dark mode

Firstly, this tailwind plugin is awesome!  Well done!
I'm using a "dark mode" tailwindcss plugin (https://github.com/ChanceArthur/tailwindcss-dark-mode), and it would be great to support something like this using this typography plugin.  From the documentation, I can see that it's simple enough to modify the styles in the tailwind.config.js file - but can we use this in conjunction with a dark mode parent class to provide both light and dark styles?
Thanks!

Hey! You can generate dark mode versions using that plugin by following the plugin instructions for enabling variants:
variants: {
  typography: ['responsive', 'dark'],
}

The typography plugin will respect any variants you enable 👍

Hey @adamwathan, that's what I did, yet some issues are still there: I wanted to change the text color when in dark mode, but was only able to get the regular text to change; every text related tag like h1, b, etc. remains the same as in light mode.
Here is my tailwind.config.js:
module.exports = {
    theme: {
      darkSelector: '.dark-mode',
      typography: (theme) => ({
        'xs': {
          css: {
            h1: {
              fontSize: '1.75rem'
            }
          }
        },
        'dark': {
          css: {
            color: theme('colors.gray.300'),
            h1: {
              color: theme('colors.gray.400'),
            }
          }
        }
      })
    },
    variants: {
      typography: ['responsive', 'dark']
    },
    plugins: [
      require('tailwindcss-dark-mode')(),
      require('@tailwindcss/typography'),
    ]
  }

Then, in my component, I do something like:
<section v-html="compiledMarkdown" class="prose prose-xs dark:prose-dark" />

Note: if i add the class prose-dark without the dark: variant, it works fine (e.g. h1 changes its color too)

@ndrbrt Did you ever get this to work? I'm encountering the exact same problem. dark:prose-dark only changes regular text, not headings, etc. prose-dark by itself works fine.

@mrkrstphr After spending way too much time on this, I gave up and wrote my custom (s)css.
Not the best solution maybe, but for now it just works.
Here's my custom scss file prose_dark_mode.scss:
/*
 *
 * For some reason, setting the dark mode for the "prose" in tailwind.config.js
 * did not work properly.
 * See: https://github.com/tailwindlabs/tailwindcss-typography/issues/13#issuecomment-661678512
 * See also: https://github.com/adamwathan/tailwindcss-dark-mode-prototype
 *
 * The classes/rules are inspired by:
 * https://github.com/adamwathan/tailwindcss-dark-mode-prototype/blob/master/tailwind.config.js
 * (below is reported the concerned part of the file, for convenience)
 * ```js
 *    dark: {
        css: {
          color: theme('colors.gray.300'),
          '[class~="lead"]': {
            color: theme('colors.gray.400'),
          },
          blockquote: {
            color: theme('colors.gray.300'),
            borderLeftColor: theme('colors.gray.700'),
          },
          hr: {
            borderTopColor: theme('colors.gray.800'),
          },
          strong: {
            color: theme('colors.white'),
          },
          'figure figcaption': {
            color: theme('colors.gray.500'),
          },
          a: {
            color: theme('colors.white'),
          },
          th: {
            color: theme('colors.white'),
          },
          'h1, h2, h3, h4': {
            color: theme('colors.white'),
          },
          code: {
            color: theme('colors.gray.300'),
          },
          'code:before': {
            color: theme('colors.gray.300'),
          },
          'code:after': {
            color: theme('colors.gray.300'),
          },
          'ol > li:before': {
            color: theme('colors.gray.400'),
          },
          'ul > li:before': {
            backgroundColor: theme('colors.gray.600'),
          },
        },
      }
 * ```
 *
 */

.dark-mode .prose {
    @apply text-gray-300;

    &[class~="lead"] {
        @apply text-gray-400;
    }

    & blockquote {
        @apply text-gray-300;
        @apply border-gray-700;
        border-top-color: unset;
        border-right-color: unset;
        border-bottom-color: unset;
    }

    & hr {
        @apply border-gray-800;
        border-right-color: unset;
        border-bottom-color: unset;
        border-left-color: unset;
    }

    & strong {
        @apply text-white;
    }

    & figure figcaption {
        @apply text-gray-500;
    }

    & a {
        @apply text-white;
    }

    & th {
        @apply text-white;
    }

    & h1, & h2, & h3, & h4 {
        color: white;
    }

    & code {
        @apply text-gray-300;

        &:before {
            @apply text-gray-300;
        }

        &:after {
            @apply text-gray-300;
        }
    }

    & ol > li:before {
        @apply text-gray-400;
    }

    & ul > li:before {
        @apply text-gray-600;
    }
}

I stumbled into the same issue but made it work by writing my own dark mode plugin. It appears tailwindcss-dark-mode doesn't go through sub-classes.
Here is an example of tailwind.config.js:
const plugin = require('tailwindcss/plugin')
const selectorParser = require('postcss-selector-parser')

module.exports = {
  variants: {
    typography: ['responsive', 'dark']
  },
  plugins: [
    require('@tailwindcss/typography'),
    plugin(function ({ addVariant, prefix, e }) {
      addVariant('dark', ({ modifySelectors, separator }) => {
        modifySelectors(({ selector }) => {
          return selectorParser((selectors) => {
            selectors.walkClasses((sel) => {
              sel.value = `dark${separator}${sel.value}`
              sel.parent.insertBefore(sel, selectorParser().astSync(prefix('.dark-mode ')))
            })
          }).processSync(selector)
        })
      })
    })
  ]
}