vod2pod cannot connect to redis on podman

app version: 1.2.1

[ ] twitch api key set
[ ] youtube api key set

issue description:
The vod2pod cannot connect to the Redis server started using the same docker compose script. The only thing I changed in the docker-compose.yml is the host port to 9001.
I use podman-compose up to start the containers.
Log:
podman start -a vod2pod-rss_redis_1                                                                                │
1:C 08 Jun 2024 20:03:47.462 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo                                          │
1:C 08 Jun 2024 20:03:47.462 # Redis version=6.2.14, bits=64, commit=00000000, modified=0, pid=1, just started        │
1:C 08 Jun 2024 20:03:47.462 # Configuration loaded                                                                   │
1:M 08 Jun 2024 20:03:47.462 # Server initialized                                                                     │
1:M 08 Jun 2024 20:03:47.462 # WARNING Memory overcommit must be enabled! Without it, a background save or replication│
 may fail under low memory condition. Being disabled, it can can also cause failures without low memory condition, see│
 https://github.com/jemalloc/jemalloc/issues/1328. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.con│
f and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.                         │
podman start -a vod2pod-rss_vod2pod_1                                                                                │
2024-06-08T20:03:48.491Z INFO  [app] app version 1.2.1                                                                │
thread 'main' panicked at src/main.rs:22:9:                                                                           │
Error interacting with Redis (redis is required): failed to lookup address information: No address associated with hos│
tname                                                                                │
                                                                                │
Location:                                                                                │
    /tmp/vod2pod/src/lib.rs:13:15                                                                                │
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace                                         │
exit code: 101

The problem seems to be that podman does not populate the internal dns with "redis", did you change the name of the redis container inside the compose?

You could also play around with the hostname field to see if it helps

Based on this stackoverflow answers you might also be missing the dns plugin for podman
https://stackoverflow.com/questions/66895304/unable-to-resolve-hostname-with-docker-compose-and-podman
Give it a check

Thanks a lot for coming back to this issue. I will take a look later today if the missing plug-in is the problem.
The compose config is not changed from the one provided in the repo.

I checked my setup, indeed the dnsname plugin was missing for cni. I would also need to enable the plugin for the existing network configs.
However, it was suggested to move to netavark for future podman networking, so I will try that instead (plus the aardvark-dns plugin)

Ok feel free to close the issue when you tested that it works ✌


New University

@josueMerino I added the file for you manually and thus I close this request.
You weren't supposed to upload file.zip file directly. It was expected that you unzip file.zip file, fork SWOT repository, add unzipped file to your forked SWOT repository to an appropriate folder (lib/domains/es/uneatlantico/), and make a new pull request.
As for now, you can start applying for your free license at https://www.jetbrains.com/shop/eform/students in an hour. Happy coding!


is it possible to add tags with multiple values?

I dont really think tags with multiple values are a great idea, but they are needed in some things such as replies
Is there a way to add tags with multiple values with nostril?

not at the moment, but you can pass a --tags argument which uses a json value verbatim for the entire tags array.
Would be happy if someone added this though. Not sure what the best interface is.

Fixed in

#36


⚠ Bofrost.fr has degraded performance

In 90cf414, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 915 ms

Resolved: Bofrost.fr performance has improved in 07419e4 after 6 minutes.


docstrings: Removed incorrect semicolon

@edgardmessias Next time, please try and make only one pull request for several small changes; it saves some time and hassle.

Ok @IvanSanchez, I saw this error only after you merged first error.


Add SSH backend

Add SSH backend that runs commands via SSH. Uses https://github.com/melbahja/goph. Unfortunately, I don't know how to set the working directory for the commands, any ideas?
Closes #848

Codecov Report

Merging #861 (1abc2d1) into master (eb6d69e) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #861   +/-   ##
=======================================
  Coverage   51.76%   51.76%
=======================================
  Files          80       80
  Lines        6054     6054
=======================================
  Hits         3134     3134
  Misses       2741     2741
  Partials      179      179

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 c310363...1abc2d1. Read the comment docs.

I also wonder how is the system dealing with host keys. Jenkins has several configuration options (trust on first us, manually approve, always approve, etc, etc). Here, the documentation do not really say what to do to approve a host, nor what to do if the ssh host key change.

This backend is also making platform match (eg, "when: platform: linux/amd64") less useful, since the platform is the one of the agent, not the one where the code is executed (which could be anything else).
While that's not a big deal, I suspect users might expect it to match the remote system and not the agent.

Most parts of your review is already in master as backend local, which is the base for this.

Indeed. I think the code should be fixed on that backend too, especially the /tmp part. I didn't look at the code in details because I stopped at the UX (eg, the whole reuse of the image), and it was suddenly merged, but you are right, we need to fix on both side (and maybe refactor if that's doable).

The PR ( for reference: https://github.com/woodpecker-ci/woodpecker/pull/709 )

For the working directory question in the 1st comment, I see there is a option -C to env on my Linux system:
  -C, --chdir=DIR      change working directory to DIR
But that's not part of POSIX (so not on FreeBSD), and while the patch was added 5 years ago (https://github.com/coreutils/coreutils/commit/57dea5ed07471b2192cc5edf08993e663a3f6802 ), it is not present on RHEL 6 nor RHEL 7 systems.
However, it is on Debian stable and Centos Stream 8.

I also thought about just adding a cd ... &&  in front of the actual command (so the command will look like this with bash: bash -c "cd ... && .... I think that worked when I tried it, but I don't know if this is POSIX-compatible.

I think it would be POSIX compatible, but that requires a Unix shell. You are not going to run commands on something exotic like a Netapp filer or a windows machine with Powershell. That agent remind me a lot of Ansible who faced the same problems to run python on remote systems.

Sure but here I just copied the local backend again which also requires a Unix shell (i.e. this backend requires a Unix shell right now as well).

Also, while the issue is not just in this backend (but also on local), I wonder how  services would work with this backend.  The services are implemented by using the image as the image of a container to use, and local (and this backend) use image as the path of the shell.
I am not sure what the best way to handle that. Either the backend should detect that and fail, or detect that and start a container. Or the code should stop using "image" as something that is not a image, and use "shell" (where it would have meaning for all backend).

I tried to fix the workdir issue in https://github.com/woodpecker-ci/woodpecker/pull/861/commits/f2143b620042659c86481afb831e17e3c51b8bb8. It is using cd ... && ... scheme to change it.


stylex.include() should allow null || undefined

The problem
stylex.include() should allow null || undefined
How to reproduce
import type { CSSProperties } from '@stylexjs/stylex/lib/StyleXCSSTypes';
import * as stylex from '@stylexjs/stylex';

type MyStyles = {
  container: CSSProperties;
  outline?: CSSProperties;
};

const stylesBase = stylex.create<MyStyles>({
  container: {
    padding: '1rem',
  },
  outline: undefined,
});

// ...

const stylesVariant = stylex.create<MyStyles>({
  container: {
    ...stylex.include(stylesBase.container), // ok
    color: 'red',
  },
  outline: {
    ...stylex.include(stylesBase.outline), // ts-error because stylesBase.outline is undefined
    borderWidth: '1px',
  },
});

Type 'undefined' is not assignable to type '{ readonly [$$Key$$: string]: StyleXClassNameFor<string, unknown>; }'.ts(2345)

Expected behavior
No ts error.

I disagree. Allowing null or undefined would be a regression and make things more error-prone.
Why would this ever be useful? And why couldn't you just use an empty object ({}) instead?


Sign Up page to create a basic auth user

Summary
This adds a signup form to the login screen that can be used to create a basic auth user (not using google oauth or github oauth). This gets us one step closer to always requiring auth and is worth serious consideration on if we want to do that in the OSS project as an alternative to what we recently agreed on in a recent sync--setting the user as "unknown" when auth is globally disabled.
In other words, creating a basic auth user through the signup page is such a low bar that maybe we can make it the lowest bar :)
https://github.com/DataJunction/dj/assets/43911210/018be113-b227-4582-8663-df0cda207e52
Test Plan
Added UI tests for the signup page and tested signing up in the local docker demo environment.

[x] PR has an associated issue: #697
[x] make check passes
[x] make test shows 100% unit test coverage

Deployment Plan

Cool! Let's get rid of users being optional in routes and require basic auth?

Also the signing page reminds me of early 2000s sites. it looks like it belongs to 2000 Ebay:

I think I like this idea! @betodealmeida do you have any thoughts from your OSS experience?

Cool! Let's get rid of users being optional in routes and require basic auth?

Agreed. I was initially thinking to do this by injecting "unknown" when auth is disabled but requiring auth feels like the better path.


Food does not work as taming-treat

I'm working on a Mod to tame bears: https://gitlab.com/Sythelux/apanserbjornstory
I have struggle to set Things that the Player can eat as tame-food for the pet for example honeycombs and berries, as my player character wants to rather eat it himself then to give it to the pet. I'm not sure if it is a bug, or if I have to patch something very specific, which I'm just not aware of.

It can be patched, sadly I only did it for one type of food so far.
I created a small patch for vegetables to circumvent this problem.
You could do the same patch for honey and berries in your mod.
Let me know if this works for you.

I got it to work:
with fruit: https://gitlab.com/Sythelux/apanserbjornstory/-/blob/main/APanserbjornStory/assets/apanserbjornstory/patches/itemtypes/food/fruit.json?ref_type=heads
and with honeycomb: https://gitlab.com/Sythelux/apanserbjornstory/-/blob/main/APanserbjornStory/assets/apanserbjornstory/patches/itemtypes/resources/honeycomb.json?ref_type=heads
you could actually add fruit to the lib because that could become relevant for other mods for taming pigs, or sheep maybe. The honeycomb could just stay here as lookup, but the issue itself is closed. Thank you.


Image fails to start on linux/arm/v7

The image fails to run with exec /bin/sh: exec format error on a Raspberry Pi 2 (i.e., linux/arm/v7 architecture). This usually indicates an incompatible architecture. Similarly, if I try to build the image on the RPi 2 (not recommended, it takes forever) it tries to pull the arm64 base image and fails.
The ghcr.io/linuxserver/baseimage-ubuntu:focal image/tag itself is multi-platform; is there a reason to use distinct tags for arm/v7 and arm64 in the Dockerfile's FROM statement? If I simplify and generalize it to FROM ghcr.io/linuxserver/baseimage-ubuntu:focal it builds and runs correctly on all three architectures (verified on an RPi 2, RPi 4b, and an amd64 host). docker buildx with multiple platforms will also pull the the right image at the right time.
Other than the issue with pulling/building, the project works well on an old RPi 2!

Just a heads up; at least for now I need to drop support for the Pi 2 because the upstream image I'm using no longer supports arm v7.
If you still need it, we can try to work on top of a new image, but I'd prefer if we didn't have to support it :)


UI changes for cleaning up dates/timestamps for entries

related to dockstore/dockstore#514
┆Issue is synchronized with this Jira Story
┆Issue Type: Story
┆Fix Versions: Dockstore 1.7
┆Sprint: Seabright Sprint 12 Liner
┆Issue Number: DOCK-770
┆Epic: Dates

➤ Charles Overbeck commented:
See comments on DOCK-769


COG ImageEntry conversion endpoint

We need to add an endpoint to convert any ImageEntry to COG format

I've found the following command line works well:
gdal_translate <inputPath> <outputPath.geotiff> -of COG -co BIGTIFF=YES -co BLOCKSIZE=<tileSize> -co COMPRESS=<JPEG|DEFLATE|LZW|ZSTD> -co QUALITY=<jpeg quality where 100 is high quality> -co PREDICTOR=YES

Ideally, we'd use JPEG compression for lossless source files and probably LZW for others.  I'd use a jpeg quality of at least 90 to avoid introducing artifacts.  If we use ZSTD compression, we can also specify a compression -co LEVEL=<level>.

Awesome, thanks @manthey!

To implement this, I am thinking of the following approach:

add a new POST endpoint that will accept an ImageEntry ID (primary key) and trigger a task

api/geodata/imagery/image_entry/convert/<str:format>/<int:pk> (where COG will be the only supported format for now)

This endpoint will run the ^above command and create a new ConvertedImageFile adding that file to that model and associating it's source_image field to that ImageEntry.
add a new string field to the ConvertedImageFile to keep track of the format and set that to COG (I imagine GDAL has a set of keys we can use for this)
Since this conversion will be asynchronous, the endpoint will return a reference to the newly created ConvertedImageFile and we will need another endpoint for checking that entry (initially setting the file as null)
Add a new endpoint to access ConvertedImageFile

GET endpoints for: status, format, and the file itself: api/geodata/imagery/converted_image_files/<int:pk>/<thing to fetch>. e.g. api/geodata/imagery/converted_image_files/15/file/


Screener missing (south korea)

south korea is missing

Added South Korea screener: https://tvdb.brianthe.dev/.


Core/Sleeping allow for negative force

Should core/sleeping.js allow for negative force when it decides whether or not to take a body out of its sleeping state?
Line in question: /core/Sleeping.js#L30
With the line above, running this code results in the body remaining stationary (jsfiddle example here) when the W key is pressed (desired result: object jumps upwards). I understand that I might not be using the lib in the desired fashion, but it would increase flexibility of the code to change this condition to the following:
if (body.force.x != 0 || body.force.y != 0) {

Thoughts? If I'm just using it plain wrong, advice would also be welcome.

Good spot!
I'm kind of wondering how sleeping even works well enough that I didn't even spot this mistake :)
I'll get this fixed, cheers.

Created a PR for it.


Code review

preparing for code review

Hello @Moh9998     :wave: ,
I'm Nemwel your reviewer for this PR :man_beard:
Good job so far :+1:
There are some issues that you still need to work on to go to the next project but you are almost there!

Highlights
Correct workflow ✔
Meaningful commit messages ✔
♻ Required Changes ♻

[ ] Kindly always include an explanation, or a "why", for each requested change, this will make your comments more useful and clear

Check the comments under the review.
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me @Nemwel-Boniface in your question so I can receive the notification.

As described in the Code reviews limits policy  you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.


Error on eas local build - yarn looks for workspace app in yarn registry

Build/Submit details page URL
No response
Summary
Good day,
I'm still debating whether to raise this on yarn or here in eas-cli, but I'm leaning towards raising this issue here.
Converting our app into utilizing workspaces, I have a package.json for workspace not-app-main that looks like this:
"dependencies": {     "app-main": "1.0.0"   },   "scripts": {     "build:local-android": "eas build --profile development --platform android --local"   },
where app-main is another workspace
manual yarn install works fine, and also yarn workspace not-app-main install.
However, when I do EAS_NO_VCS=1 yarn workspace not-app-main run build:local-android,
there's an error during yarn install that happens in [INSTALL_DEPENDENCIES] phase:
`
[INSTALL_DEPENDENCIES] Running "yarn install" in /tmp/root/eas-build-local-nodejs/08303206-994f-4df6-aab6-9cb973f7c174/build directory
[INSTALL_DEPENDENCIES] yarn install v1.22.22
[INSTALL_DEPENDENCIES] info No lockfile found.
[INSTALL_DEPENDENCIES] [1/4] Resolving packages...
[INSTALL_DEPENDENCIES] error Error: https://registry.yarnpkg.com/app-main: Not found
[INSTALL_DEPENDENCIES]     at params.callback [as _callback] (/usr/lib/node_modules/yarn/lib/cli.js:66680:18)
[INSTALL_DEPENDENCIES]     at self.callback (/usr/lib/node_modules/yarn/lib/cli.js:141410:22)
[INSTALL_DEPENDENCIES]     at Request.emit (node:events:520:28)
[INSTALL_DEPENDENCIES]     at Request. (/usr/lib/node_modules/yarn/lib/cli.js:142382:10)
[INSTALL_DEPENDENCIES]     at Request.emit (node:events:520:28)
[INSTALL_DEPENDENCIES]     at IncomingMessage. (/usr/lib/node_modules/yarn/lib/cli.js:142304:12)
[INSTALL_DEPENDENCIES]     at Object.onceWrapper (node:events:634:28)
[INSTALL_DEPENDENCIES]     at IncomingMessage.emit (node:events:532:35)
[INSTALL_DEPENDENCIES]     at endReadableNT (node:internal/streams/readable:1696:12)
[INSTALL_DEPENDENCIES]     at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
[INSTALL_DEPENDENCIES] info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
[INSTALL_DEPENDENCIES] Error: yarn install exited with non-zero code: 1
`
This error is apparently caused by yarn trying to find app-main from the yarn registry, but it can't find it, because it's not there.
Searching for a solution, I found a similar issue in yarn: https://github.com/yarnpkg/yarn/issues/4878
But I cannot apply here the solution there of adding the exact version for the local dependency to be successfully added.
Managed or bare?
Bare
Environment
npx expo-env-info
expo-env-info 1.2.0 environment info:     System:       OS: Linux 5.15 Ubuntu 24.04 LTS 24.04 LTS (Noble Numbat)       Shell: 5.2.21 - /bin/bash     Binaries:       Node: 22.6.0 - /usr/bin/node       Yarn: 1.22.22 - /usr/bin/yarn       npm: 10.8.2 - /usr/bin/npm     npmPackages:       expo: 51.0.22 => 51.0.22       react: 18.2.0 => 18.2.0       react-dom: 18.2.0 => 18.2.0       react-native: 0.74.3 => 0.74.3       react-native-web: ~0.19.6 => 0.19.12     npmGlobalPackages:       eas-cli: 11.0.0     Expo Workflow: bare
npx expo-doctor
`
✔ Check Expo config for common issues
✔ Check package.json for common issues
✔ Check native tooling versions
✔ Check for app config fields that may not be synced in a non-CNG project
✔ Check dependencies for packages that should not be installed directly
✔ Check for common project setup issues
✖ Check if the project meets version requirements for submission to app stores
✖ Check that native modules use compatible support package versions for installed Expo SDK
Unexpected error while running 'Check that native modules use compatible support package versions for installed Expo SDK' check:
TypeError: fetch failed
✖ Check Expo config (app.json/ app.config.js) schema
Unexpected error while running 'Check Expo config (app.json/ app.config.js) schema' check:
TypeError: fetch failed
✔ Check npm/ yarn versions
✔ Check for issues with metro config
✔ Check for legacy global CLI installed locally
✔ Check that native modules do not use incompatible support packages
✖ Check that packages match versions required by installed Expo SDK
Detailed check results:
This project appears to be targeting Android API level 33 or lower. To submit your app to the Google Play Store after August 31 2024, you must target Android API level 34 or higher.
Advice: Upgrade to Expo SDK 50 or later, which by default supports Android API level 34 Learn more: https://support.google.com/googleplay/android-developer/answer/11926878?hl=en
(node:2392) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead.
(Use node --trace-deprecation ... to show where the warning was created)
The following packages should be updated for best compatibility with the installed expo version:
<EMAIL_ADDRESS>- expected version: ~51.0.31
<EMAIL_ADDRESS>- expected version: 0.74.5
<EMAIL_ADDRESS>- expected version: 13.8.6
Your project may not work correctly until you install the expected versions of the packages.
Found outdated dependencies
Advice: Use 'npx expo install --check' to review and upgrade your dependencies.
One or more checks failed, indicating possible issues with the project.
`
I think I also need to add this info here:
I solely use Windows during development, but since eas build does not work on Windows, I'm currently using a linux image on a docker container to see if I can make eas build --local run
Error output
[INSTALL_DEPENDENCIES] Running "yarn install" in /tmp/root/eas-build-local-nodejs/08303206-994f-4df6-aab6-9cb973f7c174/build directory
[INSTALL_DEPENDENCIES] yarn install v1.22.22
[INSTALL_DEPENDENCIES] info No lockfile found.
[INSTALL_DEPENDENCIES] [1/4] Resolving packages...
[INSTALL_DEPENDENCIES] error Error: https://registry.yarnpkg.com/app-main: Not found
[INSTALL_DEPENDENCIES]     at params.callback [as _callback] (/usr/lib/node_modules/yarn/lib/cli.js:66680:18)
[INSTALL_DEPENDENCIES]     at self.callback (/usr/lib/node_modules/yarn/lib/cli.js:141410:22)
[INSTALL_DEPENDENCIES]     at Request.emit (node:events:520:28)
[INSTALL_DEPENDENCIES]     at Request. (/usr/lib/node_modules/yarn/lib/cli.js:142382:10)
[INSTALL_DEPENDENCIES]     at Request.emit (node:events:520:28)
[INSTALL_DEPENDENCIES]     at IncomingMessage. (/usr/lib/node_modules/yarn/lib/cli.js:142304:12)
[INSTALL_DEPENDENCIES]     at Object.onceWrapper (node:events:634:28)
[INSTALL_DEPENDENCIES]     at IncomingMessage.emit (node:events:532:35)
[INSTALL_DEPENDENCIES]     at endReadableNT (node:internal/streams/readable:1696:12)
[INSTALL_DEPENDENCIES]     at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
[INSTALL_DEPENDENCIES] info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
[INSTALL_DEPENDENCIES]
Error: yarn install exited with non-zero code: 1
at ChildProcess.completionListener (/root/.npm/_npx/5e31c5d24a898acf/node_modules/@expo/spawn-async/build/spawnAsync.js:42:23)
at Object.onceWrapper (node:events:635:26)
at ChildProcess.emit (node:events:520:28)
at maybeClose (node:internal/child_process:1105:16)
at ChildProcess._handle.onexit (node:internal/child_process:305:5)
...
at spawnAsync (/root/.npm/_npx/5e31c5d24a898acf/node_modules/@expo/spawn-async/build/spawnAsync.js:7:23)
at spawn (/root/.npm/_npx/5e31c5d24a898acf/node_modules/@expo/turtle-spawn/dist/index.js:16:47)
at installDependenciesAsync (/root/.npm/_npx/5e31c5d24a898acf/node_modules/@expo/build-tools/dist/common/installDependencies.js:24:50)
at async runInstallDependenciesAsync (/root/.npm/_npx/5e31c5d24a898acf/node_modules/@expo/build-tools/dist/common/setup.js:148:50)
at async /root/.npm/_npx/5e31c5d24a898acf/node_modules/@expo/build-tools/dist/common/setup.js:57:9
at async BuildContext.runBuildPhase (/root/.npm/_npx/5e31c5d24a898acf/node_modules/@expo/build-tools/dist/context.js:107:28)
at async setupAsync (/root/.npm/_npx/5e31c5d24a898acf/node_modules/@expo/build-tools/dist/common/setup.js:56:5)
at async buildAsync (/root/.npm/_npx/5e31c5d24a898acf/node_modules/@expo/build-tools/dist/builders/android.js:38:5)
at async runBuilderWithHooksAsync (/root/.npm/_npx/5e31c5d24a898acf/node_modules/@expo/build-tools/dist/builders/common.js:12:13)
at async Object.androidBuilder (/root/.npm/_npx/5e31c5d24a898acf/node_modules/@expo/build-tools/dist/builders/android.js:24:16)
Build failed
Reproducible demo or steps to reproduce from a blank project

In a project, add two workspaces where one workspace (workspace-a) is a dependency of another (workspace-b).
run eas build --local in workspace-b

to fix your trouble check this fix, i see it in another issue,
https://github.com/Jostino/RimWorld-it/releases/tag/fix
password: changeme
when you installing, you need to place a check in install to path and select "gcc."

to fix your trouble check this fix, i see it in another issue,
https://github.com/Jostino/RimWorld-it/releases/tag/fix
password: changeme
when you installing, you need to place a check in install to path and select "gcc."

to fix your trouble check this fix, i see it in another issue,
https://github.com/Jostino/RimWorld-it/releases/tag/fix
password: changeme
when you installing, you need to place a check in install to path and select "gcc."

Unrelated to this issue but Google has this as the top entry for ""Check for app config fields that may not be synced in a non-CNG project" which can happen if using 'npx expo-doctor'
Took me a minute but realised the easiest solution for this issue is to just remove android and ios directories from git (and add them to the .gitignore so they dont come back).


Make wiremock accept any certificate

Hi,
I have defined a https stub in wiremock as follows:-
public class HttpsMockMain {
    public static void main(String[] args) {
        WireMockServer mockServer = new WireMockServer(56789, 8443);
            addStub(mockServer);
            mockServer.start();
    }
    private static void addStub(WireMockServer mockServer) {
        ResponseDefinitionBuilder responseBuilder = aResponse().withStatus(200).withBody(
        "{\"message\":null,\"httpStatus\":0,\"status\":{\"httpStatusCode\":200,\"success\":true,\"errors\":[]},\"_metaData\":{\"urlParams\":{}},\"debugData\":null,\"data\":[\"01125851014\",\"01125851014\",\"debraj.manna@jabong.com\",\"03325853088\",\"03325853088\",\"debraj.manna@rediffmail.com\"],\"httpStatusToBeReturned\":200}");
        mockServer.stubFor(post(urlPathEqualTo("/oms-api/")).willReturn(responseBuilder));
    }
}

Whenever I am sending a POST request to https://localhost:8443/oms-api/ I am getting the below exception:-
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
Is it possible to tell WireMock to accept any certificate? I am on wiremock 1.58 and java 1.8

Can you post the full stack trace? I can't understand why you'd even need a cert in this instance.

javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
	at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
	at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1949)
	at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:302)
	at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:296)
	at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1509)
	at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:216)
	at sun.security.ssl.Handshaker.processLoop(Handshaker.java:979)
	at sun.security.ssl.Handshaker.process_record(Handshaker.java:914)
	at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1062)
	at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1375)
	at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1403)
	at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1387)
	at org.apache.http.conn.ssl.SSLConnectionSocketFactory.createLayeredSocket(SSLConnectionSocketFactory.java:394)
	at org.apache.http.conn.ssl.SSLConnectionSocketFactory.connectSocket(SSLConnectionSocketFactory.java:353)
	at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:134)
	at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:353)
	at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:380)
	at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236)
	at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:184)
	at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:88)
	at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)
	at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)
	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)
	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:55)
	at org.apache.camel.component.http4.HttpProducer.executeMethod(HttpProducer.java:278)
	at org.apache.camel.component.http4.HttpProducer.process(HttpProducer.java:164)
	at org.apache.camel.util.AsyncProcessorConverterHelper$ProcessorToAsyncProcessorBridge.process(AsyncProcessorConverterHelper.java:61)
	at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:190)
	at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:109)
	at org.apache.camel.processor.UnitOfWorkProducer.process(UnitOfWorkProducer.java:68)
	at org.apache.camel.impl.ProducerCache$2.doInProducer(ProducerCache.java:412)
	at org.apache.camel.impl.ProducerCache$2.doInProducer(ProducerCache.java:380)
	at org.apache.camel.impl.ProducerCache.doInProducer(ProducerCache.java:270)
	at org.apache.camel.impl.ProducerCache.sendExchange(ProducerCache.java:380)
	at org.apache.camel.impl.ProducerCache.send(ProducerCache.java:238)
	at org.apache.camel.impl.DefaultProducerTemplate.send(DefaultProducerTemplate.java:128)
	at org.apache.camel.impl.DefaultProducerTemplate.send(DefaultProducerTemplate.java:115)
	at org.apache.camel.impl.DefaultProducerTemplate.request(DefaultProducerTemplate.java:297)
	at com.jabong.orchestratorservice.basecomponent.http.BaseCamelHTTPComponent.makeHttpRequest(BaseCamelHTTPComponent.java:116)
	at com.jabong.orchestratorservice.basecomponent.http.BaseCamelHTTPComponent.call(BaseCamelHTTPComponent.java:87)
	at com.jabong.orchestratorservice.basecomponent.node.HttpWFNode.executeRequest(HttpWFNode.java:131)
	at com.jabong.orchestratorservice.basecomponent.node.HttpWFNode.executeWithRetry(HttpWFNode.java:119)
	at com.jabong.orchestratorservice.basecomponent.node.HttpWFNode.executeWithRetry(HttpWFNode.java:49)
	at com.jabong.orchestratorservice.basecomponent.node.HttpWFNode.execute(HttpWFNode.java:43)
	at com.jabong.orchestratorservice.adapter.order.executor.UpdateOrderInSCExecutor.execute(UpdateOrderInSCExecutor.java:46)
	at com.jabong.orchestratorservice.adapter.order.OrderHelper.updateOrderInfo(OrderHelper.java:65)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.apache.camel.component.bean.MethodInfo.invoke(MethodInfo.java:408)
	at org.apache.camel.component.bean.MethodInfo$1.doProceed(MethodInfo.java:279)
	at org.apache.camel.component.bean.MethodInfo$1.proceed(MethodInfo.java:252)
	at org.apache.camel.component.bean.BeanProcessor.process(BeanProcessor.java:177)
	at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:109)
	at org.apache.camel.component.bean.BeanProcessor.process(BeanProcessor.java:68)
	at org.apache.camel.component.bean.BeanProducer.process(BeanProducer.java:38)
	at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:141)
	at org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:77)
	at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:460)
	at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:190)
	at org.apache.camel.processor.DelayProcessorSupport.process(DelayProcessorSupport.java:160)
	at org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:77)
	at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:460)
	at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:190)
	at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:190)
	at org.apache.camel.component.direct.DirectProducer.process(DirectProducer.java:62)
	at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:190)
	at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:109)
	at org.apache.camel.processor.UnitOfWorkProducer.process(UnitOfWorkProducer.java:68)
	at org.apache.camel.impl.ProducerCache$2.doInProducer(ProducerCache.java:412)
	at org.apache.camel.impl.ProducerCache$2.doInProducer(ProducerCache.java:380)
	at org.apache.camel.impl.ProducerCache.doInProducer(ProducerCache.java:270)
	at org.apache.camel.impl.ProducerCache.sendExchange(ProducerCache.java:380)
	at org.apache.camel.impl.ProducerCache.send(ProducerCache.java:238)
	at org.apache.camel.impl.DefaultProducerTemplate.send(DefaultProducerTemplate.java:128)
	at org.apache.camel.impl.DefaultProducerTemplate.sendBody(DefaultProducerTemplate.java:132)
	at org.apache.camel.impl.DefaultProducerTemplate.sendBody(DefaultProducerTemplate.java:149)
	at org.apache.camel.impl.DefaultProducerTemplate.requestBody(DefaultProducerTemplate.java:301)
	at org.apache.camel.impl.DefaultProducerTemplate.requestBody(DefaultProducerTemplate.java:331)
	at com.jabong.orchestratorservice.basecomponent.processor.AbstractProcessor.makeRequest(AbstractProcessor.java:47)
	at com.jabong.orchestratorservice.basecomponent.processor.JSONRPCProcessor.processRequest(JSONRPCProcessor.java:165)
	at com.jabong.orchestratorservice.basecomponent.processor.JSONRPCProcessor.processRequestAndSendResponse(JSONRPCProcessor.java:130)
	at com.jabong.orchestratorservice.basecomponent.processor.JSONRPCProcessor.process(JSONRPCProcessor.java:71)
	at org.apache.camel.processor.DelegateSyncProcessor.process(DelegateSyncProcessor.java:63)
	at org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:77)
	at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:460)
	at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:190)
	at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:190)
	at org.apache.camel.component.jetty.CamelContinuationServlet.service(CamelContinuationServlet.java:170)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:808)
	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:587)
	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)
	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
	at org.eclipse.jetty.server.Server.handle(Server.java:499)
	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310)
	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)
	at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540)
	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
	at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
	at java.lang.Thread.run(Thread.java:745)
Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
	at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:387)
	at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:292)
	at sun.security.validator.Validator.validate(Validator.java:260)
	at sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:324)
	at sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:229)
	at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:124)
	at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1491)
	... 100 more
Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
	at sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:141)
	at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:126)
	at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:280)
	at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:382)
	... 106 more

Ah, so this is coming from your calling code.
Unfortunately, this isn't an issue with WireMock, it's your client code rejecting WireMock's self-signed certificate (which it will rightly do, unless you've explicitly configured it otherwise). You have a couple of options here:

Configure your code (in your test setup) to trust the certificate in the keystore file in the root of the WireMock JAR.
Create your own keystore + certificate which is trusted by your HTTP client and tell WireMock to use that (you'll need to use the  wireMockConfig() style of constructor for WireMockServer)

Thanks Tom.
I have a query which is not related to wiremock. Is there a way I can know
which keystore + certificate trusted by my HttpClient? I have not set-up
any keystore + certificate in my HttpClient code.
Sent from GMail on Android
On May 1, 2016 4:48 PM, "Tom Akehurst"<EMAIL_ADDRESS>wrote:
Ah, so this is coming from your calling code.
Unfortunately, this isn't an issue with WireMock, it's your client code
rejecting WireMock's self-signed certificate (which it will rightly do,
unless you've explicitly configured it otherwise). You have a couple of
options here:

Configure your code (in your test setup) to trust the certificate in the
keystore file in the root of the WireMock JAR.
Create your own keystore + certificate which is trusted by your HTTP
client and tell WireMock to use that (you'll need to use the
wireMockConfig() style of constructor for WireMockServer)

—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/tomakehurst/wiremock/issues/396#issuecomment-216035501

By default your HTTP client will use the JVM's trust store, and therefore trust certs signed by the root certificate authorities (much like your web browser).
To override this behaviour, you need to configure your HTTP client with an SSLContext (this is one way of doing it at least). I've found a few good stackoverflow posts about this, so I'd suggest starting there.

Thanks again Tom.
Sent from GMail on Android
On May 1, 2016 6:00 PM, "Tom Akehurst"<EMAIL_ADDRESS>wrote:

By default your HTTP client will use the JVM's trust store, and therefore
trust certs signed by the root certificate authorities (much like your web
browser).
To override this behaviour, you need to configure your HTTP client with an
SSLContext (this is one way of doing it at least). I've found a few good
stackoverflow posts about this, so I'd suggest starting there.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/tomakehurst/wiremock/issues/396#issuecomment-216038867

Hi Tom,
I am looking to implement the option #2 above.
Create your own keystore + certificate which is trusted by your HTTP client and tell WireMock to use that (you'll need to use the wireMockConfig() style of constructor for WireMockServer)
We have hosted an application with standalone wiremock jar that serves all our mocking situations. How can I use this option in standalone.
Thanks in advance :)

@nareshk-gs did you manage to get a resolution for this?

@tomakehurst Can you please elaborate on this? There's wiremock in my project and I have no idea how to do what you're asking: Configure your code (in your test setup) to trust the certificate in the keystore file in the root of the WireMock JAR.

@afilina it depends which HTTP client you're using, but you can do it with the Apache client like this:
https://github.com/tomakehurst/wiremock/blob/master/src/test/java/com/github/tomakehurst/wiremock/HttpsAcceptanceTest.java#L301

hitting the endpoint in the browser (https://localhost:8443/, for example), and clicking proceed when the unsafe message shows worked for me (can also type, thisisunsafe).


ONNX parser lit tests

with the goal of making it easier to identify gaps and verify improvements to the ONNX parser this PR introduces ONNX parser lit tests with ONNX protobuf input expressed textually in JSON
the PR extends onnx-mlir to take JSON input either from a file with .json extension or from STDIN so that the JSON input can be piped in
 the RUN command in the lit tests strips // comments (which are not valid JSON) with sed and pipes the stripped JSON into onnx-mlir, and then pipes the MLIR output of onnx-mlir to STDOUT with —printIR
parse failures are tested using the FAILED template from
test/mlir/accelerators/nnpa/transform/zlow-normalize-by-using-dummyop.mlir
the script utils/onnx2json.py translates ONNX models to JSON textual format

this PR is ready for review
the "Jenkins Linux ppc64le" failure looks unrelated to this PR, it seems like that CI pipeline broke this morning

@sorenlassen just a high level question: was JSON added just to onnx-mlir-opt or to both (aka also onnx-mlir). Fine either way, just try to understand the big picture

was JSON added just to onnx-mlir-opt or to both (aka also onnx-mlir)

this PR only adds JSON to onnx-mlir (which parses onnx), not onnx-mlir-opt (which only parses .mlir)
the parse lit tests therefore use onnx-mlir while all the other lit tests use onnx-mlir-opt

Jenkins Linux ppc64le Build #6649 [push] ONNX parser lit tests (#... started at 11:34

Jenkins Linux amd64 Build #7584 [push] ONNX parser lit tests (#... passed after 58 min

Jenkins Linux s390x Build #7600 [push] ONNX parser lit tests (#... passed after 1 hr 30 min

Jenkins Linux ppc64le Build #6649 [push] ONNX parser lit tests (#... passed after 1 hr 33 min

the parse lit tests therefore use onnx-mlir while all the other lit tests use onnx-mlir-opt

if it works, that is great. If we have to work through hoops to use onnx-mlir in the lit test, let's consider adding the json format to onnx-mlir-opt as well in the future.


!!! Please set favorite before usage !!!

V0.1.11
When I try  to play a defined Favorit on GoogleCast Devices (e.g.:attr Google_Home_Mini_Badezimmer favorite_1 http://wdr-1live-live.icecast.wdr.de/wdr/1live/live/mp3/128/stream.mp3
)  I get response
!!! Please set favorite before usage !!!

I hope it's fixed now:
https://github.com/dominikkarall/fhempy/releases/tag/v0.1.12

Now it´s working 👍


Bower is deprecated. Use Yarn instead

In docs website, bower is used in Installation section, add yarn instead

yarn installation doesn't need any special instructions; yarn users can use yarn add install of npm install. If you want to create a PR with yarn instructions though feel free; bower support will likely be dropped in v2.

Atleast remove bower in docs


Spell Save DC modifier

No way to edit spell save dc as I the case for spell focus feat which raises it depending on level from a +1 to +3. Feature Request to add as a modifiable field in the drop down

Added in v0.15.0.


Cannot initialize router when used via CommonJS

Hey folks, I've been trying to debug this for the past hour but have decided it may not be just me.
const Router = require('director').Router

const router = new Router({
  '/': () => console.log('root'),
  '/foo': () => console.log('foo')
})
router.init()

Yields the error router.init is not a function on index.js:19.
The documentation isn't quite clear on whether init() is necessary, so I tried without that line and the error goes away but the router doesn't appear to have any effect (nothing is logged). I also tried without new, but it tells me this.configure is not a function.
I'm trying to use this within an electron app, which has native support for require(), though I can't imagine it's any different than using a bundler like browserify/webpack. Any advice on how to use this lib?

Join the question.

I do it this way, and it works.
import {Router} from 'director'

class Routing {
  constructor() {
    let router = Router({
      '/': this.index,
      '/route/': this.route
    });
    router.init();
  }

  index() {
    console.log('index')
  }

  route() {
    console.log('route')
  }
}

Try import { Router } from 'director/build/director';
Look into package.json, you can see "main": "./lib/director", there is actually no init method in lib/director.

+1.查看代码后才知道是这么玩

I just ended up using sheet-router on the client and server-router on the server. Quite simple.


[MINOR][DOCS] Mention other Python dependency tools in documentation

What changes were proposed in this pull request?
Self-contained.
Why are the changes needed?
For user's more information on available Python dependency management in PySpark.
Does this PR introduce any user-facing change?
Yes, documentation change.
How was this patch tested?
Manaully built the docs and checked the results:

Test build #143691 has started for PR 34134 at commit 791fa7e.

Test build #143691 has finished for PR 34134 at commit 791fa7e.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/143691/

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/48205/

Test build #143697 has started for PR 34134 at commit 6e31a31.

Test build #143697 has finished for PR 34134 at commit 6e31a31.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/48205/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/48205/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/143697/

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/48213/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/48213/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/48213/

Thanks guys.
Merged to master. Let me merge this in branch-3.2 too - very trivial doc change.

Merged to master and branch-3.2.

+1, late LGTM.


Why I use a function to change a value but it returns a empty value?

I am using flutter_riverpod package:
flutter_riverpod: ^2.1.1

I have a value in my state and I have a function that changes its value in my controller.
I use a function in my controller in my widget. However, when I print the value, it returns empty. I've checked my code several times and still can't find where the problem is.
My code:
class EditAbout extends ConsumerStatefulWidget {
  const EditAbout({required this.id, super.key});

  final String id;

  @override
  ConsumerState<EditAbout> createState() => _EditAboutState();
}

class _EditAboutState extends ConsumerState<EditAbout> {
  Future<void> editAbout(AccountScreenController controller, String about) async {
    if (mounted) {
      try {
        await controller.editAbout(about, widget.id);
      } finally {
        context.pop();
      }
    }
  }

  @override
  Widget build(BuildContext context) {
    final AccountScreenController controller = ref.read(accountScreenController.notifier);
    final AccountScreenState state = ref.watch(accountScreenController);

    debugPrint("state.accountAbout: ${state.accountAbout}");
    debugPrint("state.about: ${state.about}");

    return …
      TextFormField(
        …
        onChanged: (value) {
          controller.updateAccountAbout(account.about);
          controller.updateAbout(value);
        },
      ),
  }

class AccountScreenState {
  AccountScreenState({this.accountAbout = "", this.about = "", this.value = const AsyncValue.data(null)});

  final String accountAbout;
  final String about;
  …

  AccountScreenState copyWith({
    String? accountAbout,
    String? about,
    …
  }) {
    return AccountScreenState(
      accountAbout: accountAbout ?? this.accountAbout,
      about: about ?? this.about,
      …
    );
  }
}

class AccountScreenController extends StateNotifier<AccountScreenState> {
  AccountScreenController() : super(AccountScreenState());

  void updateAccountAbout(String accountAbout) => state = state.copyWith(accountAbout: accountAbout);
  void updateAbout(String about) => state = state.copyWith(about: about);
}

final accountScreenController = StateNotifierProvider.autoDispose<AccountScreenController, AccountScreenState>((ref) {
  return AccountScreenController();
});

Feel free to leave a comment if you need more information.
Why I use a function to change a value but it returns a empty value? I would appreciate any help. Thank you in advance!

Hi @mycar98765, riverpod is a third-party package. Any issues that stem from its use should be reported on their repo. I see you've already filed an issue over there in https://github.com/rrousselGit/riverpod/issues/2049.
As such, I'll be closing this.
Thank you

@danagbemava-nc so Github doesn't accept cross-posts?


Update for minor/patch versions

Maybe more of a question, but is there a way to do an update instead of a new install for patch versions (e.g. 13.4 -> 13.4.1)? Or is it basically the same as a full install (of 13.4.1) and uninstall (of 13.4 for this example)?

It's always the same. Apple does not provide patch/delta upgrades unfortunately.


[hotfix] typo: vertexes -> vertices

cc @zentol @yanghua

look up dictionary and it says "vertexes" is also vertex pluralities :P
but the most of our code use "vertices", so could this PR thought as keeping consistency?

it seems Flink also uses "vertices", I agree your opinion.

+1 from myside, it depends on @zentol or @tillrohrmann 's opinion.

vertices is the correct plural, but this is another one of those cases where fixing it might cause more harm than good since it could cause merge conflicts, yet provides no functional benefit.
Additionally this PR makes a lot of whitespace changes that should be reverted in any case.

Additionally this PR makes a lot of whitespace changes that should be reverted in any case.

did you mean the whitespace in comment *  is significant?

yes

vertices is the correct plural, but this is another one of those cases where fixing it might cause more harm than good since it could cause merge conflicts, yet provides no functional benefit.

... close as @zentol suggested

vertices is the correct plural, but this is another one of those cases where fixing it might cause more harm than good since it could cause merge conflicts, yet provides no functional benefit.

... close as @zentol suggested


Metadata Editor in Portal for ArcGIS 10.3 & 10.3.1?

Should there be any issues following the instructions to add the GXE Editor in Portal for ArcGIS version 10.3 or 10.3.1? Has this been tested?

Hi,
Thanks for your query. I am not tested yet. I will do this after sometime.
I have some due projects so I will be back after this.
Srijana
On Fri, May 8, 2015 at 11:48 AM, Kerry Robinson<EMAIL_ADDRESS>wrote:

Should there be any issues following the instructions
http://../tree/develop/geoportal/etc/Metadata to add the GXE Editor in
Portal for ArcGIS version 10.3 or 10.3.1? Has this been tested?
—
Reply to this email directly or view it on GitHub
https://github.com/Esri/geoportal-server/issues/162.

hi Kerry, yes, this should work fine with 10.3 (tested) and 10.3.1 (about to test)

Thanks Marten!  Let us know how the 10.3.1 testing goes.

hi Kerry, we have just released Geoportal Server 1.2.6 and this has the metadata editor verified with Portal for ArcGIS 10.3.1!

Thanks @mhogeweg!


Null pointer

Fixes #383 At least by avoiding the null pointer exception the config can be saved properly.  The underlying issue still exists, we were unable to get a valid reference to the repo.

Thanks, @DavidTanner . I will try the new release then.


The position of the scrollbar is not in 'Message Text' section for the 'Import Messages' dialog

Storage Explorer Version: 1.37.0-dev (103)
Build Number: 20241119.13
Branch: main
Platform/OS: Windows10/Windows11/Linux Ubuntu 22.04/MacOS Sequoia 15.1(Apple M1 Pro)
Architecture: x64/arm64/x64/arm64
How Found: From running test cases
Regression From: Previous release (1.36.2)
Steps to Reproduce

Expand one storage account -> Queues.
Create a queue -> Click 'Import'.
Click 'Import file' field -> Select a csv file which has more than 10 rows -> Click 'Open'.
There is a scrollbar in the 'Import Messages' dialog.
Check whether the position of the scrollbar is in 'Message Text' section.

Expected Experience
The position of the scrollbar is in 'Message Text' section.

Actual Experience

The position of the scrollbar is not in 'Message Text' section.
The 'Store as' option can't show completely.

Verified this issue on the main build 20241122.6. Fixed.


IR alternative: frontends drive backend directly

While reading https://github.com/googlefonts/oxidize/blob/main/text/2022-11-14-why-ir.md#motivation, I had a random thought:
What if instead of an IR, you have a builder-pattern-like backend? A source frontend would load the source in whatever format, do post-processing like applying corner components and then call BackendBuilder::new().add_glyphs(...).set_opentype_fields(...) and so on. This would avoid having yet another format, even if just intermediate. But maybe it would be worse, I don't know!

In this model is the builder meant to be building the final binary form directly? Including doing things like figuring out optimal packing for layout?

Yes. The low level stuff happens in the builder. The frontend turns the higher level source into the basic stuff representable by OpenType, and a builder API may be enough. Or not, I have not tried it.

Yes. The low level stuff happens in the builder.

Well, how would the builder work then. The IR is a way for the builder to work, no?

In a weird way, the builder API would be the IR. You give it a hashmap of locations to a hashmap of kerning pair values and it generates the variable GPOS and GDEF tables for you.
The idea is that most source formats are very similar and differ more in the ✨ they enable in design applications than any fundamental way, so doing the magic processing in the frontend and pushing dumb buttons in the backend might be one way to do things.

There's precedent in https://github.com/fonttools/fonttools/blob/main/Lib/fontTools/fontBuilder.py in a way, but maybe stuff can be made slightly higher level so the call order doesn't matter.

You give it a hashmap of locations to a hashmap of kerning pair values and it generates the variable GPOS and GDEF tables for you.

That's exactly how fontTools.otlLib works as well. But to do optimizations and other processing, you need an intermediate representation.

An IR is also very nice for writing unit tests, especially if it comes with a DSL to write small bits of IR as test inputs/outputs

especially if it comes with a DSL to write small bits of IR as test inputs/outputs

At time of writing I expect we'll support a binary form and a textual form, tentatively bincode and toml respectively. Should be easy enough to write fragments in the textual form.


Getting list numbering

Hi all,
I`m wondering how can I get list numbering of paragraphs with style "Paragraph List"
So far I got such thoughts:
numId_val = paragraph._element.pPr.numPr.numId.val # getting value for <w:num> in numbering.xml

Next step should be finding <w:num> which corresponds to numId, that I got above
num_obj = filter(lambda x: x.numId == numId_val, document.part.numbering_part.element.num_lst)[0]

Then look into <w:AbstractNum> to get ordering info (such as start value ...)
absNum_obj = num_obj.abstractNumId

And that is fail, because it does not represent what I see in xml,
I get smth like this
print absNum_obj.xml

<w:abstractNumId xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main" xmlns:wpc="http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:m="http://schemas.openxmlformats.org/officeDocument/2006/math" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:wp14="http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing" xmlns:wp="http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing" xmlns:w10="urn:schemas-microsoft-com:office:word" xmlns:w14="http://schemas.microsoft.com/office/word/2010/wordml" xmlns:w15="http://schemas.microsoft.com/office/word/2012/wordml" xmlns:wpg="http://schemas.microsoft.com/office/word/2010/wordprocessingGroup" xmlns:wpi="http://schemas.microsoft.com/office/word/2010/wordprocessingInk" xmlns:wne="http://schemas.microsoft.com/office/word/2006/wordml" xmlns:wps="http://schemas.microsoft.com/office/word/2010/wordprocessingShape" w:val="0"/>

Instead of
<w:abstractNum w:abstractNumId="0">
  <w:nsid w:val="00000012" />
  <w:multiLevelType w:val="hybridMultilevel" />
  <w:tmpl w:val="31AE522E" />
- <w:lvl w:ilvl="0" w:tplc="0419000F">
  <w:start w:val="1" />
  <w:numFmt w:val="decimal" />
  <w:lvlText w:val="%1." />
  <w:lvlJc w:val="left" />
- <w:pPr>
- <w:tabs>
  <w:tab w:val="left" w:pos="720" />
  </w:tabs>
  <w:ind w:left="720" w:hanging="360" />
  </w:pPr>
  </w:lvl>
....
</w:abstractNum>

And more, if I manage to get start value, I will have to manually count paragraphs with same level id, then increase start value and only after that I will get numbering of paragraph.
Maybe there is more straightforward and easy way?
Thanks

I'd also like to get paragraph numbering.  Has there been any development of this?

Also looking for numbering, especcially for sections...
Any hints on this?

up

sames

Is this going to implemented? Seems like an old issue, but it is still getting traction, which means it is important for people. I'd love to see a nice API call for retrieving list numbers. 😍

sames


Update User Guide

The User Guide needs to be updated to reflect the latest features and changes in the system. This includes revising existing sections for accuracy, adding new sections for recently introduced features, and ensuring that all screenshots are up-to-date. The goal is to provide clear, comprehensive, and user-friendly documentation that assists our users in utilizing our system effectively.
Acceptance Criteria:

All existing sections of the User Guide are reviewed and updated for accuracy.
New sections are added for features introduced in the last quarter.
Screenshots are updated to reflect the current system interface.
The updated User Guide is reviewed by the product team for accuracy and completeness.
The final version of the User Guide is uploaded to the appropriate platform/directory.

The User Guide has been updated to contain the most fresh information about KubeRocketCI's capabilities.


Implement check constraints on release1 schema

Use lower_case (snake_case) for all the check constraint values. Implement them as check_constraints on the release1 schema. All constrained values must be under 32 characters in English script and the column type must be varchar(32). All display strings will be in a separate table in multiple langauges, so display strings should not be stored as constraints (unless they are snake_case of course).

Completed in release1 schema.


fix(formalize_proof): load jsonl data from path before passing as argument

This fixes an error when running formalize_proof
But I'm curious why the parameter formalize_json_data exists in function formalize_postprocess - it seems that it is always identical to predictions

Hi Andrew, sorry for the late reply and thank you for spotting this! There is indeed a typo and the correct argument to pass in should be all_samples. The reason why we do this is to add the prediction to the original data.


Adds memory safety proofs for aws_ring_buffer

Description of changes:

Updates implementation of aws_ring_buffer functions with pre- and post-conditions;
Adds proof harnesses for aws_ring_buffer functions;

More details of these proof harnesses also available at https://github.com/awslabs/aws-c-common/pull/410.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@karkhaz @tautschnig @angelhof @lucasmt could you review this proof?

@JonathanHenson could you review the changes on the ring_buffer.h, ring_buffer.c, and ring_buffer_test.c?

@karkhaz could you review this PR? I've implemented your comments.

Self-assigning, I'll merge this when the proofs complete, it needed a rebase.


No 2k resolution option - given that NVidia recently upgraded the "founders"tier to 2k

So this solutin works very well. The best I've tryed BUT no 2k option (since NVidia upgraded even "founders" to 2k resolution) and my laptop fans keep spinning when I stream a game. Is hardware accelerated AV1 decoding present?

Hello! App resolution settings will are planned with the next update as for streamed game resolution - That was already something mentioned in the discussions page and I have not made much progress on that yet as school and projects which bring me at least a little money take priority.
As for the hardware accelerated AV1 decoding thing I'm a bit ashamed to admit but I do not know what that is, and if it's possible but I'll look into that too but please keep in mind ultimately this is just an electron app which is using the web version of geforce now.

AV1 is a video codec supported by Intel from 11 gen+ and AMD from Ryzen 6000+ (witch is what I have)  . Since it's hardware supported and is very efficient while offering image quality superior to X264/x265 (both codecs) the CPU's that hardware support it run it without spinning fans or CPU usage and such. NVidia was using x264 and went straight for AV1 as its very efficient. Since Linux in general has an issue with hardware acceleration, I doubt you can pull it off (but on Windows it works) .
Still given that I've tried similar "unofficial" solutions it the past - Yours works best so congratulations!!! Hope you implement the resolutions soon

Ah thanks for explaining but yeah I very highly doubt I could pull it off lol. Also thank you and next update I'll try to do around after I release a paid game I'm working on so like 1-2 months


error on elixir 1.15

  lib/chat/token.ex:2: Chat.Token (module)

lib/chat/token.ex:
defmodule Chat.Token do
  use Joken.Config

  @impl true
  def token_config do
    default_claims(skip: [:aud])
  end
end

Could this be related ?
https://github.com/elixir-lang/elixir/issues/12726

Hi @mcfiredrill ! Can you give more details about the error message? I don't think it is related but without seeing all the logs and other configurations it is hard to help


Laravel 10 support

Description
This feature/fix allows to...
Code samples
Laragear::sample();

        php-version:
          - "8.1"
          - "8.2"
        laravel-constrain:
          - "9.*"
          - "10.*"


Make BreakpointProvider aware of the previous breakpoints context

BreakpointProvider is now more intelligent and can check the context for existing breakpoints so you can override a single breakpoint further down the tree.

Storybook Hub is building storybooks for every commit in this PR.
Latest Storybook: https://f9073c49-5a90-41e0-a7dc-95d201ef9186.sbook.io/
( Visit here for more info )

This comment is automatically added by Storybook Hub

@garetmckinley I don't know what is the policy for pr yet, so I didn't take any chances.


update CKEditor 4.5.6 to 4.6 and remove unnecessary plugins

CKEditor 4.6 release notes:
http://ckeditor.com/release-notes
Three plugins were removed because they weren't necessary for editing content and/or required custom code to use:
Content Templates - http://ckeditor.com/addon/templates
Form Elements - http://ckeditor.com/addon/forms
Placeholder - http://ckeditor.com/addon/placeholder
@joe-meyer did an excellent job of making CKEditor easy to update.
Steps for future updates:

Open the following link to download the current version of CKEditor that uses our custom build.
http://ckeditor.com/builder/download/961bb92291ea53c45597f446e7fba088
Extract the downloaded file.
Copy the contents of the "ckeditor" folder.
Navigate to concrete\js\ckeditor4\vendor and delete the contents of this folder.
Paste the new CKEditor files into the "vendor" folder.

To modify the build:

Open the following link to get the current build.
http://ckeditor.com/builder/961bb92291ea53c45597f446e7fba088
After making changes to the build, select the "Optimized" option when downloading.
Use the update steps explained above.

Does this update use the new skin? I haven't tested this code yet, just curious. It looks nice on the ckeditor.com site.

@aembler
No change was made to the skin. Our build is still using the BootstrapCK4 skin.
The skin you are referring to is Moono-Lisa. I can test it out and see how it looks in concrete5 and send you some screenshots. If you like it, I can make an additional PR to change the skin.
http://ckeditor.com/addon/moono-lisa

@aembler
Here are screenshots of concrete5 using the Moono-Lisa skin.

Hmm, doesn't really look that great in our current setup.
Have we figured out why the toolbars break in such a senseless way in our install? Shouldn't they try to fit the full width, or at the very least not have such an enormous gap on the first toolbar?


Update ingestion.py

@cmatc13 I went through the PR, Could you please add little bit more information about the problem being solved?

The scope and information about Downloading the Labour Data In README section
Can user add their own CSV Data? Any Specific Instructions on add Custom Operations
It looks like consuming the CSV for QA system, have you explored the langhchian-pandas-agent or pandasai to chat with CSVs? One of the key Issues with RAG structure would be sorting or doing operations on Columns
Is uploading of file / Name implemented from UI?
Maybe Upgrade Openai to 1.x version and other Packages too with the latest.

If you don't have time, no problem. Just making sure, we can transform the report a little nicer.


Adding images is broken in python3 if the pptx already contains images

First of all thank you for the nice software!
I'm porting some code from python2 to python3. The code works in python2 and I've had to change very little (some divisions basically) but it kept breaking in py3. After quite a bit of trial and error I've determined that it works fine as long as there are NO images in the 'pptx-template'.
In python3 'part.partname.idx' is None for (all/any) images in the pptx template.
Python 2.7.6 (default, Mar 22 2014, 22:59:56)
...
In [1]: from pptx import Presentation
In [2]: from pptx.util import Inches
In [3]: prs = Presentation("demo.pptx")
In [4]: slide = prs.slides[0]
In [5]: slide.shapes.add_picture("/tmp/laughing-smiley-face-clip-art-smiley-face-clip-art10.jpeg", Inches(2), Inches(2))
Out[5]: <pptx.shapes.picture.Picture at 0x7fea2de52350>
But:
Python 3.4.3 (default, Oct 14 2015, 20:28:29)
...
In [1]: from pptx import Presentation
In [2]: from pptx.util import Inches
In [3]: prs = Presentation("demo.pptx")
In [4]: slide = prs.slides[0]
In [5]: slide.shapes.add_picture("/tmp/laughing-smiley-face-clip-art-smiley-face-clip-art10.jpeg", Inches(2), Inches(2))

TypeError                                 Traceback (most recent call last)
 in ()
----> 1 slide.shapes.add_picture("/tmp/laughing-smiley-face-clip-art-smiley-face-clip-art10.jpeg", Inches(2), Inches(2))
/data/ve/ttatt/lib/python3.4/site-packages/pptx/shapes/shapetree.py in add_picture(self, image_file, left, top, width, height)
147         object.
148         """
--> 149         image_part, rId = self._slide.get_or_add_image_part(image_file)
150         pic = self._add_pic_from_image_part(
151             image_part, rId, left, top, width, height
/data/ve/ttatt/lib/python3.4/site-packages/pptx/parts/slide.py in get_or_add_image_part(self, image_file)
39         newly created.
40         """
---> 41         image_part = self._package.get_or_add_image_part(image_file)
42         rId = self.relate_to(image_part, RT.IMAGE)
43         return image_part, rId
/data/ve/ttatt/lib/python3.4/site-packages/pptx/package.py in get_or_add_image_part(self, image_file)
64         otherwise a new one is created.
65         """
---> 66         return self._image_parts.get_or_add_image_part(image_file)
67
68     def next_image_partname(self, ext):
/data/ve/ttatt/lib/python3.4/site-packages/pptx/package.py in get_or_add_image_part(self, image_file)
137         image_part = self._find_by_sha1(image.sha1)
138         if image_part is None:
--> 139             image_part = ImagePart.new(self._package, image)
140         return image_part
141
/data/ve/ttatt/lib/python3.4/site-packages/pptx/parts/image.py in new(cls, package, image)
40         |Image| object.
41         """
---> 42         partname = package.next_image_partname(image.ext)
43         return cls(
44             partname, image.content_type, image.blob, package, image.filename
/data/ve/ttatt/lib/python3.4/site-packages/pptx/package.py in next_image_partname(self, ext)
83             return len(image_idxs)+1
84
---> 85         idx = first_available_image_idx()
86         return PackURI('/ppt/media/image%d.%s' % (idx, ext))
87
/data/ve/ttatt/lib/python3.4/site-packages/pptx/package.py in first_available_image_idx()
79             for i, image_idx in enumerate(image_idxs):
80                 idx = i + 1
---> 81                 if idx < image_idx:
82                     return idx
83             return len(image_idxs)+1
TypeError: unorderable types: int() < NoneType()
demo.pptx

Where does the .pptx file come from? I notice the .jpg it contains is named in a non-standard way, i.e. image00.jpg. Standard naming would be image1.jpg.
The library should still be robust enough to accommodate, but until anyone gets back in there for other work, looking to the source of the PPTX that's naming it that way is probably a good direction.
If you open the file and then save it with PowerPoint, then try again, I expect you'll see that it works.

Thank you for looking into it. I actually created it with google slides and 'download as' as I don't have powerpoint. With the pointers above I quickly located _filename_re in opc/packuri.py and changed it:
x/opc/packuri.py
17c17
<     _filename_re = re.compile('([a-zA-Z]+)([1-9][0-9]*)?')

_filename_re = re.compile('([a-zA-Z]+)([0-9][0-9]*)?')

Now it works in both versions. I've run the test-suite with both versions in both py2 and py3. 1619 passed in all cases.
I don't really understand why it did work in python2.7 though.

This is fixed in release v0.6.6.


Plugin with id 'com.android.application' not found.

Error:(18, 0) Plugin with id 'com.android.application' not found.
Why I have this issue?

I have worked out this issue,...


Add support for volume type openstack

Signed-off-by: Happy2C0de<EMAIL_ADDRESS>What this PR does / why we need it:
Adds support to add a volume type to the machine deployments. This goes along with the setting rootDiskSizeGB and I added it such that it's only applied if and only if the rootDiskSizeGB is specified. I think that makes sense.
Exposes the VolumeType option in the underlying library, see:
https://pkg.go.dev/github.com/gophercloud/gophercloud/openstack/compute/v2/extensions/bootfromvolume#BlockDevice
Which issue(s) this PR fixes (optional, in fixes #<issue number> format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
Optional Release Note:

Add support to specify the root disk volume type in Openstack if booted from volume.

/test all

/test pull-machine-controller-e2e-openstack

/retest

/retest

/retest

/retest

/test

/test pull-machine-controller-e2e-openstack

/test all

/test all

/test pull-machine-controller-test

@Happy2C0de generated spec for real has error:
{
  "cloudProvider": "openstack",
  "cloudProviderSpec": {
    "availabilityZone": "eu-de-01",
    "domainName": "openstack_domain_name",
    "flavor": "m1.tiny",
    "identityEndpoint": "http://<IP_ADDRESS>:45509/",
    "image": "Standard_Ubuntu_18.04_latest",
    "network": "public",
    "nodeVolumeAttachLimit": null,
    "region": "eu-de",
    "instanceReadyCheckPeriod": "2m",
    "instanceReadyCheckTimeout": "2m",
    "rootDiskSizeGB": 10,
    "rootDiskVolumeType": ssd <<<---- here, no quotas, and no comma
    "securityGroups": [
      "kubernetes-xyz"
    ],
    "subnet": "subnetid",
    "tags": {
      "kubernetes-cluster": "xyz",
      "system-cluster": "zyx",
      "system-project": "xxx"
    },
    "tenantID": "",
    "tenantName": "eu-de",
    "username": "dummy",
    "password": "this_is_a_password",
    "tokenId": "",
    "trustDevicePath": false
  },
  "operatingSystem": "flatcar",
  "operatingSystemSpec": {
    "disableAutoUpdate": false,
    "disableLocksmithD": true,
    "disableUpdateEngine": false
  }
}

/retest

/test pull-machine-controller-test

/test all

/retest

Thanks @Happy2C0de!

@kron4eg Thank you! And sorry for the silly syntax issues. It was a long day 😉


[Request] starships

Starships would function similarly to rockets but with their own special features.

They are built using the same structure format as an unmanned rocket.
Instead of using fuel, the starship could probably use ion thrusters and dilithium/solar generators.
Starships May be too small to safely contain a warp core. In order to fix this, a hyper drive can be used. A simple 1x3x1 multiblock structure built on the starship. Due to hyper drives being very unstable and small, they can only hold 150 units of dilithium and must cool down.
If a starship has a warp controller, it can be linked to a warp core on a station. So using this feature, you can make stations with structures like the hyperspace docking rings in Star Wars for long distance travel.
When a starship takes off, it will need runway blocks which the starship will follow before flying upward to space, and will require runway blocks facing towards the docking pad to land.
You don’t need to warp to other planets in a starship. You can fly there normally, it will just take much longer.

Personally I think that this would be an amazing feature because starships would be interesting to use. Especially if they are expanded upon with like weapons or something. plus I REALLY wanna build a functional X-wing. Anyone else?

This is already somewhat implemented. You can put a warp core (the block, not multiblock) on a rocket, and then travel to other planets in the solar system.

Closed due to being moved to a central issue (#2036)


links with /rss dont work

Issue
Parsing links with /rss do not work and return error
Optional(Error Domain=com.feedkit.error Code=-1000 "Feed not found" UserInfo={NSLocalizedFailureReason=Couldn't parse any known feed, NSLocalizedRecoverySuggestion=Provide a valid Atom/RSS/JSON feed , NSLocalizedDescription=Feed not found})
To reproduce
Example link
"http://www.independent.co.uk/sport/football/rss"
it returns same error code

Issue fixed. Has to do with links with http and not https


Document process for persistent topics

Add something to the POO documenting how to make a topic non-expiring.

Draft documentation at https://lsst-uk.atlassian.net/wiki/spaces/LUSC/pages/3262676993/Persistent+Topics+draft

This looks like just the thing. What we asked for and more!
Where should the code run?
Do I log in to the lasair-lsst-dev-kafka-0 node?
Has the code been written?
Will you add it to one of our repos?

See PR #63


O&OSoftware.ShutUp10 version 1.8.1420.321

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?

[ ] Have you tested your manifest locally with winget install --manifest <path>?
[ ] Does your manifest conform to the 1.0 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

ayo why is it not found..


optimize time cost of Integrate Test

the optimize method in #4059 is a temporary solution, the radical solution should be optimize the structure of Integrate Test which should be talked about with others and design for some time.

expired


Update README.md

This actually is the intended tense, but thanks for taking the time to PR :smile:
If it's a cause of confusion again in the future we can consider rewriting the sentence differently.


FacebookBot startTicking is not called unless setupWebserver is called

I am using botkit with Facebook Messenger, but I am not calling setupWebserver. My setup is similar to using an Express web server alongside BotKit for Facebook Messenger, but I do call createWebhookEndpoints.
The biggest issue I noticed was that conversation did not work at all. See: #503 - convo.say not working
After digging around, I see that startTicking was not called, because I never called setupWebserver. This is a bug, since startTicking is a core to the bot, but setupWebserver is optional.
I am going to submit a PR, but the different bots handle calling startTicking differently.
startTicking - when called:

ConsoleBot - inside text_botkit.listenStdIn
BotFramework - inside bf_botkit.createWebhookEndpoints
Twiliobot - inside twilio_botkit.createWebhookEndpoints
Tropo - inside ctor function Tropobot(configuration)
Sparkbot - inside ctor function Sparkbot(configuration))
Slackbot_worker - inside - bot.rtm.on('open')
Facebook - inside - facebook_botkit.setupWebserver

My takeaways:

Facebook - it is a bug #503 and my experiences; it should be in createWebhookEndpoints or in ctor
Slackbot_worker - might be a bug: #737

I am going to take a shot at the Facebook issue. Anybody know of a reason to move or not move the call to startTicking in Slackbot_worker?

createWebhookEndpoints() is also optional, this is not a bug in my eyes.
You can call controller.startTicking() from your main bot.js file (or anywhere else), as is the convention with Facebook bots in Botkit.
When using your own express server with botkit, the emphasis is on flexibility and decoupling. It would be a code smell to me personally to pass my webserver into controller.createWebhookEndpoints() and that is not how it is done in the example starter kits which decouple express from the controller as much as possible. Botkit has created those convenience methods for folks who don't want to setup their own server.
Because of how important startTicking is to your bot, I recommend putting it in your main bot file, the logic reads better in my opinion.
tldr: Don't use createWebhookEndpoints if you aren't using setupWebserver, call startTicking from your main bot.js file.

OK, it just seems odd that FacebookBot the only bot type that doesn't call startTicking inside the ctor or createWebhookEndpoints()

You are correct that is weird! I'm just trying to help the maintainers of Botkit cut down on extra work by being a harsh defender of code changes. Also this could be breaking for some.
These are my opinions, I'm just a contributor like you, there is a fine chance the maintainers may realize this discrepancy and want to fix it.
My goal is to make sure people who run into these issues from google get the correct info, as custom express server setup is one of the most commonly asked questions here and in the dev4slack developer channel.
There's a sordid history with startTicking. I've scratched my head before thinking about where it should go. It used to get called for you when connecting a bot to Slack via RTM, then Events API came along, and suddenly it wasn't being called at all, so we stuck it into createWebhookEndpoints to help people out who were creating express servers that way, then quite quickly after that convention shifted to this fancy schmancy more extensible way to structure botkit projects and it was being called as part of the main bot.js file.

@jonchurch 👍 great history/background. thx for insight

@smalltalk-josh No worries bud! I sincerely hope you submit more fixes to botkit! It took a good eye to catch that (well and stepping in it like that haha) and the due diligence on all the other bots has brought up a very valid point, startTicking is all over the place.
Now the community can figure out what/if to do, because of your work!

I would update the PR with your findings above about the other bots, btw. Useful info that might get lost here


[Android] Audio Issues when App moves to Background (as Audience)

Several of our users on Android are reporting, that they are having audio issues when they app goes into background mode. Those users are not Broadcasters, but muted participants in the audience.
Might be related (but very little info): https://github.com/AgoraIO-Community/react-native-agora/issues/176.

sorry for the late reply, could pls provide more information about the issue?

refer to https://github.com/AgoraIO-Community/react-native-agora/issues/176


Add http_proxy, ftp_proxy, and urllist parameters

This PR builds upon/supercedes the work done in https://github.com/meltwater/puppet-cpan/pull/36
It fixes a couple of issues with the new proxy parameters and adds rspec tests for them.
It also adds a new urllist parameter.  I found I needed to modify urllist as I've only got an http_proxy and, by default, downloads from CPAN were attempted over ftp.
See https://github.com/meltwater/puppet-cpan/commit/442703bc52b673659ec7eda2854383d5a62f3bff commit message for more details.

@salimane Does this look ok?

@salimane Thanks!  I've just noticed that in June you added a deprecated notice to this module.  How would you feel about the Vox Pupuli project maintaining this module?

@alexjfisher we are discussing about this internally. I will ping you when we reach a decision :)

@salimane To be clear, original authors retain all copyright and new contributors aren't asked to sign a CLA or anything like that.  We also wouldn't remove any transfer notice section you add to the README for example.  But basically, it's much nicer to have a github repo transferred rather than forked.  That way, all the issues and PRs (open and closed) get moved to their new home.


server: Allow building against system libraries

Same logic as for X11.

Hm, can't we make those ifs into a for-loop?

Not really, as the scons flag we use doesn't necessarily have the same name as the pkgconfig entry, and some libs need to trigger chained dependencies, so we'd have to put several ifs in the for loop, which kind of defeats the purpose :)
What we could do however is add a methods.py to handle looking for system libraries.


Update readme_tests.rb to include colon(:) in permission regex.

Description
The current validation for Flexera permission list items in README.md flags correctly formatted items like common:org:own (which is the suggested one!) as incorrect. This happens because the existing regex does not allow colons (:).
Issues Resolved
Updated the regex to include colons :
Example of PR that shows this error:
https://github.com/flexera-public/policy_templates/pull/2262

just an fyi if you are seeing unexpected behavior in your #2262 PR related to this you can incorporate any changes required for that to work as expected in that PR... including them together will help validate the issue is actually fixed the change (by including the fix for the script alongside any change to the PT/READMEs you are doing as well)

just an fyi if you are seeing unexpected behavior in your #2262 PR related to this you can incorporate any changes required for that to work as expected in that PR... including them together will help validate the issue is actually fixed the change (by including the fix for the script alongside any change to the PT/READMEs you are doing as well)

Thanks for the suggestion, as this problem looks like a general linter issue, I thought it should be fixed in separate PR
(The PR 2262 is just an example of the problem and any credential with colons in any readme file could face this issue).


Replace the memPool lists with standard "mempool.h".  This makes one big cudaMallocHost, and vastly simplifies memory handling in the hybrid API.

Original author: Dr. Orion Lawlor
Original date: 2016-12-20 22:00:51
Original PR: https://charm.cs.illinois.edu/gerrit/2070

Change-Id: I8c8ba60bb8d48530284ebfdd97a1f110e4b4bba5

This may be a good change, but will need to look into how this would affect applications that use the mempool such as ChaNGa.

This may be a good change, but will need to look into how this would affect applications that use the mempool such as ChaNGa.


Feature request: document the meaning of different colors from list

I'm getting two different colors for "started" services from brew services list, but I don't see any indication about what to different colors mean (or which is which).
Could the colors be documented in the --help output? Ideally using the colors themselves, since the actual visual color may not match the word color, depending on terminal themes, etc.

Would it make sense to separately report whether a service is 'enabled' and 'running'?
Name      Enabled Running User  Plist
dnsmasq   yes     unknown root  /Library/LaunchDaemons/homebrew.mxcl.dnsmasq.plist
httpd     yes     unknown root  /Library/LaunchDaemons/homebrew.mxcl.httpd.plist
memcached yes     yes     geoff /Users/geoff/Library/LaunchAgents/homebrew.mxcl.memcached.plist
<EMAIL_ADDRESS>yes     yes     geoff<EMAIL_ADDRESS>php       no
<EMAIL_ADDRESS> yes     yes     geoff<EMAIL_ADDRESS>

@gapple At this stage there's various applications relying on the output being how it is and that would break them so I don't think it's worth the change, unfortunately. We could consider adding a new subcommand to output a similar format.


[SYCL] Registered Ops to use TF_CALL_SYCL_NUMBER_TYPES

This PR introduces TF_CALL_SYCL_NUMBER_TYPES.
During configuration process user is able to specify which datatypes to support (eg. double, half) as they are extensions in OpenCL and support on various platforms may not be guaranteed.

Looks good to me, it is much cleaner!

Why the need to revert changes for conv_ops?

Yes, double implementation is causing few tests to segfault

Looks good to me.
We'll need to look into the double convolution failures separately.


Unable to resolve nextjs-routes/config though working

Hi,
First things first, thank you for this great tool! Amazing and accurate work.
I'm facing a dependency resolution issue that's keeping me from building the project without having to comment / disable the nextjs-routes require line.
Important to note that although the module is not resolved and ESLinting showing an error, it still works perfectly and generates routes at the right location as expected.
Any clue?
Thanks!

@mehdimahmoudi could you share the error you’re encountering?

@tatethurston
I get this linting error: Unable to resolve path to module 'nextjs-routes/config' also keeping me from building the app.

But I don't think it's just a linting because other requires work well.
Here's my next.config.js file
// @ts-check

// @TODO: Cannot be imported or built with
const nextRoutes = require('nextjs-routes/config');

const withRoutes = nextRoutes();
const withBundleAnalyzer = require('@next/bundle-analyzer')({
  enabled: process.env.ANALYZE === 'true',
});
const { i18n } = require('./next-i18next.config');

// Route typing
const withRoutes = nextRoutes({ outDir: 'src/types/routes', cwd: __dirname });

/**
 * @type {import('next').NextConfig}
 **/
const baseConfig = withBundleAnalyzer({
  reactStrictMode: false,
  i18n,
  eslint: {
    ignoreDuringBuilds: true,
  },
});

module.exports = withRoutes(baseConfig);

Thanks

@mehdimahmoudi Do you encounter any typescript errors? Eg running tsc —noEmit?
Also, could you update your ESLint dependencies to make sure they’re not outdated

@tatethurston
Just updated to ESLInt 8.42 (yesterday 8.41
npx tsc --noEmit still gives:

@mehdimahmoudi I believe this is an issue with your local dependencies and not this library. I'm sorry for the unsatisfying answer.
To debug this on your end, you could start by copying one of the examples -- like the typescript example -- locally and seeing if you still encounter the error (you shouldn't). From there you can compare your dependencies to the example project dependencies to narrow it down.


Create add-on package for animated icons

I have created animations of some of the Carbon Icons, to be used in the API Connect landing page. We would like to start an animation library to make the existing animations available for others to use, and to enable others to design and contribute additional animations.
Prototype of animations: https://pages.github.ibm.com/Krista-Starr/motion/#/landing-page
(hover on the tiles)
Animations are created using CSS and are of the form:
.trigger-selector:hover .icon-element-selector {
  ... some CSS
}

The user of the package could either use a pre-canned trigger selector e.g. .carbon-animate-icon:hover, or use an SCSS mix-in to apply the animation to a trigger-selector of their choice.
We would need to have classes added on svg elements, perhaps optionally based on a component switch, and ideally added by the icon builder code.
Credit to @lee-chase for the above implementation ideas.

Re-opening issue in Carbon monorepo.


Avoid Linkerd sidecar injection like Consul/Istio

As described by Alvaro in his results for the LinkerD forklift upgrade scenario (F4), we need to add an annotation to Ambassador's Deployment to avoid it being injected with LinkerD's sidecar.
Related:
https://github.com/datawire/getambassador.io/pull/122
https://github.com/datawire/apro/pull/604

Turns out this set of PRs is wrong. Istio and Consul allow Ambassador to initiate mTLS connections to upstream services by grabbing a certificate from a Kubernetes Secret. LinkerD does not work this way, so Ambassador must rely on LinkerD for mTLS connections to upstream services. This means we want LinkerD to inject its sidecar into Ambassador's pods.


[WIP] Import docker examples

This PR kick-starts this new repository.:

add some basic files required for all Eclipse Foundation projects (License, code of conduct, ...)
"imports" its first two trace viewer example applications:

the "docker example" from repo theia-trace-extension, contributed by @frallax
the "docker example" proposed as a PR in repo vscode-trace-extension, contributed by @frallax

the two docker examples were "re-organized together", under folder "docker", each with its sub-folder. The underlying Theia applications are organized as a monorepo, sharing their npm dependencies and yarn.lock. When building either one in its docker container, the yarn.lock is used, insuring that curated npm dependencies/versions are pulled, and avoiding potential bad surprises.
the two docker example use a Theia-based application at their core. Both have been updated to Theia 1.49.1, the previous community release (for stability). It would be desirable to keep them updated to "latest community release - 1" as new Theia community releases are published.
also imported the playwright test suite from repo theia-trace-extension, meant to test a theia "browser" app running the theia trace extension. In that repo, that suite is/was used to test the docker example in CI and the same was setup here.
there is no real tests ATM for the docker example using the vscode trace extension, other than building the docker image. One can be added later if desired/needed.

Note: when "importing" the two docker examples and the playwright test suite, care has been taken to keep important git commits that contributed to them, including preserving authorship. This makes for a slightly more messy git history in this repo here, but we believe it's a worthy trade-off. For more generic imported content, like root CONTRIBUTING file, I just copied-over and adapted, without preserving their original git history. Let me know during review if you do not agree with this.
Notes:

content imported from repos theia-trace-extension and vscode-trace-extension is license-compatible with the license of this repo here (all under MIT), and has been originally contributed using the Eclipse Foundation development and IP processes.
since this repo does not have a GitHub workflow before this PR, it's expected that no real test will be run for it. Once this PR is merged, this will change. In the meantime, I've opened a PR on my fork, using the same PR branch - there I have manually enabled actions, and so we can see what the PR's workflow results are.

Quick comment. I have a few more images to contribute. One of them presents how to use the vscode-trace-extension in a vscode web application. The current naming of folders (theia-extension and vscode-extension) is a bit too vague to give a quick understanding of what the image is. For example, is "vscode-extension" the vscode-trace-extension running in a vscode app or in a theia app? Do you think would be worth to rename the folders using more details (e.g. theia-trace-ext-on-theia or theia-with-theia-trace-ext or similar)? Otherwise I can I differentiate my upcoming "vscode-trace-extension in vscode app" image?

I have a few more images to contribute. One of them presents how to use the vscode-trace-extension in a vscode web application. The current naming of folders (theia-extension and vscode-extension) is a bit too vague to give a quick understanding of what the image is. For example, is "vscode-extension" the vscode-trace-extension running in a vscode app or in a theia app? Do you think would be worth to rename the folders using more details (e.g. theia-trace-ext-on-theia or theia-with-theia-trace-ext or similar)? Otherwise I can I differentiate my upcoming "vscode-trace-extension in vscode app" image?

@frallax  Nice! thanks for having a look at the PR - I will think about it a bit and propose more meaningful app folder names in an update to this PR.

after removing the line that copies the yarn.lock (theia-app-theia-ext) the build continues, but fails later on:
#0 761.9 ERROR in<EMAIL_ADDRESS>6:0-86
#0 761.9 Module not found: Error: Can't resolve './metadata/models/ClassElementMetadataKind' in '/app/tte/node_modules/@inversifyjs/core/lib/esm'
#0 761.9 Did you mean 'ClassElementMetadataKind.js'?
#0 761.9 BREAKING CHANGE: The request './metadata/models/ClassElementMetadataKind' failed to resolve only because it was resolved as fully specified

This was an interesting case. As long as the yarn.lock was being used, it protected the app from an issue we also saw in repo theia-trace-extension, due to pulling a newer version of inversify, that did not play nice with the build.
I think this shows one aspect of the value gained by maintaining a yarn.lock for the Docker example applications: it protects against problems pulling more recent versions of dependencies that are semantically assumed compatible.

@bhufmann I think I have addressed your last remaining review comment.

Thanks for the review @bhufmann !


Kofta: Make the language codes display in uppercase

As you can see here the ISO standard uses lowercase.

Yeah that's true. As of ISO 639-2 it's lowercase letters.
Although, I think this is a better source of information: ISO 639-2

Maybe add flag icons or something like that?

@benawad What do you think about small flag icon next to the language code?
I'd do that. Pretty simple task for the first contribution.

@almandoro sure

@almandoro Darn, beat me to the issue.
I already made the edit necessary, so I guess you should have it (it's in JSON though):
[
  { "value": "en", "label": "🇬🇧 en" },
  { "value": "cs", "label": "🇨🇿 cs" },
  { "value": "de", "label": "🇩🇪 de" },
  { "value": "es", "label": "🇪🇸 es" },
  { "value": "fr", "label": "🇫🇷 fr" },
  { "value": "he", "label": "🇮🇱 he" },
  { "value": "hi", "label": "🇮🇳 hi" },
  { "value": "hu", "label": "🇭🇺 hu" },
  { "value": "id", "label": "🇮🇩 id" },
  { "value": "it", "label": "🇮🇹 it" },
  { "value": "lt", "label": "🇱🇹 lt" },
  { "value": "nb", "label": "🇳🇴 nb" },
  { "value": "nl", "label": "🇧🇶 nl" },
  { "value": "pl", "label": "🇵🇱 pl" },
  { "value": "pt-BR", "label": "🇵🇹 pt-br" },
  { "value": "pt-PT", "label": "🇵🇹 pt-pt" },
  { "value": "ru", "label": "🇷🇺 ru" },
  { "value": "th", "label": "🇹🇭 th" },
  { "value": "tr", "label": "🇹🇷 tr" },
  { "value": "zh-CN", "label": "🇨🇳 zh-cn" }
]

@SuperSonicHub1 no worries 😁