Starting the game issues?

When opening the game, in the main menu, the save files look like this:

In-game console errors:

Can you send a list of mods you're using? r2modman profile code would be most preferable

I am also getting this error; I use thunderstore, though I'm not sure if R2MM is a fork of TS or not? (Never used it, but I have found it on the thunder store before so I know of it, so apologies if the code won't work and I can send a more detailed list). One thing I can say is the error does not seem to affect mod functionality on my end (I can still rename, delete, and create new saves with a name of my choice), but if that error has anything to do with it than I hope it's useful and if nothing else you know that any of our shared mods should be in the clear and thus not the issue.

Thunderstore Import Code: 018d3255-9603-942a-033c-30c52e9a205d

(Big thanks for the plugin, hope this saves some time on all ends)

After the most recent update of this mod, I am having this issue as well..

@DerTodlichEngel thank you!!
@ustaalon @xRunicTitan is this bug purely visual for you as well? are you still able to load / rename / delete saves?

@DerTodlichEngel thank you!!
@ustaalon @xRunicTitan is this bug purely visual for you as well? are you still able to load / rename / delete saves?

I am not able to select or do anything. All the saves are highlighted like the main post on here.
I have a feeling it's not the update on this mod itself, but another one. Before trying to play today, a couple of moon mods updated + AdvancedCompany.
Code 018d32c8-cf38-18e9-c1b4-4f69fa3b32db with currently 2 mods disabled which I plan on removing possibly.
(Disabled mods are BrackenReworked & LethalExpansion (I use the core version now)

Quickly wanted to add that I can select the weekly challenge moon save thingy, all my saves get deselected but when trying to click on any of my saves, it just selects them all.

@paul-merkamp I think its pure visual, as functionality seems to working.
list of mods:
profile id for thunderstore: 018d3308-b619-a118-2e41-8d5de2247d28

I can confirm that it is one of these mods for me at least:
https://prnt.sc/bL3KHD2HeKIy
This was on a second profile I had not updated mods on. Tested it without updating those 10 mods and it works. I will try figure out which of them it is and edit this post.

I dont have configurable company and its still happening. i have like 81 mods tho so i cant be talking

I'm getting the same error also. Purely visual in the log, I can still load/rename/create saves without issue.
Here is my Thunderstore MM modlist code:
018d4910-8fa3-3015-796f-ec9ce623d6f4
I love the mod by the way!

regarding the errors... i dont think any of these cause a major issue, but i also dont understand why they happen, these are the locations in the code. not familiar with lethal company mods code though so cant suggest a fix.
[Error  : Unity Log] Panel label not found.
https://github.com/paul-merkamp/LCBetterSaves/blob/91ab152876643bd2e17380480c1ff8a14691cf98/LethalCompanyTemplate/Plugin.cs#L102
[Error  : Unity Log] Delete file game object not found.
https://github.com/paul-merkamp/LCBetterSaves/blob/91ab152876643bd2e17380480c1ff8a14691cf98/LethalCompanyTemplate/Plugin.cs#L118
[Error  : Unity Log] Error occurred while refreshing save buttons: Object reference not set to an instance of an object
https://github.com/paul-merkamp/LCBetterSaves/blob/91ab152876643bd2e17380480c1ff8a14691cf98/LethalCompanyTemplate/Plugin.cs#L216
[Error  : Unity Log] Error occurred while updating files panel rect: Failed to find FilesPanel RectTransform.
https://github.com/paul-merkamp/LCBetterSaves/blob/91ab152876643bd2e17380480c1ff8a14691cf98/LethalCompanyTemplate/Plugin.cs#L593
[Error  : Unity Log] An error occurred during initialization: Object reference not set to an instance of an object
https://github.com/paul-merkamp/LCBetterSaves/blob/91ab152876643bd2e17380480c1ff8a14691cf98/LethalCompanyTemplate/Plugin.cs#L74


Suggestion/Request: Open all links in new background tabs

I looked through everywhere in Options / Actions but I can only set custom action for Long press of links. I would like single press of links to always open in a background tab. This is the only feature that keeps me on Dolphin. Thank you!!

Found it, it's not under Actions. It's under Browser settings, New tab settings.


adapter-vercel deployment error with split: true option

Describe the bug
When deploying a sveltekit project with the adapter-vercel and split: true option in svelte.config.js, deployment failes with the following message:
> Using @sveltejs/adapter-vercel
  ✔ done
Build Completed in /vercel/output [6s]
An unexpected error happened when running this build. We have been notified of the problem. If you have any questions, please contact<EMAIL_ADDRESS>
Reproduction
$ pnpm create svelte@latest vercel-split-test

✔ Which Svelte app template? › Skeleton project
✔ Add type checking with TypeScript? › Yes, using TypeScript syntax
✔ Add ESLint for code linting? No
✔ Add Prettier for code formatting? No
✔ Add Playwright for browser testing? No

create repo at github
cd vercel-split-test
git init
git add .
git commit -m "first commit"
git branch -M main
git remote add origin git@github.com:opensas/vercel-split-test.git
git push -u origin main

Import project to vercel with default options
Add "@sveltejs/adapter-vercel": "next" to the devDependencies in your package.json and run pnpm install
update svelte.config.js like this:
import adapter from '@sveltejs/adapter-vercel';
import preprocess from 'svelte-preprocess';

/** @type {import('@sveltejs/kit').Config} */
const config = {
	// Consult https://github.com/sveltejs/svelte-preprocess
	// for more information about preprocessors
	preprocess: preprocess(),

	kit: {
		adapter: adapter({
			split: true
		})
	}
};

export default config;

Commit and push changes
Logs
with split: true failed deploy:
[23:05:37.074] Cloning github.com/opensas/vercel-split-test (Branch: main, Commit: 85e0833)
[...]

devDependencies:
+ @sveltejs/adapter-auto 1.0.0-next.88
+ @sveltejs/adapter-vercel 1.0.0-next.81
+ @sveltejs/kit 1.0.0-next.551
+ svelte 3.53.1
+ svelte-check 2.9.2
+ svelte-preprocess 4.10.7
+ tslib 2.4.1
+ typescript 4.9.3
+ vite 3.2.4

Done in 3.3s
Running "pnpm run build"

><EMAIL_ADDRESS>build /vercel/path0
> vite build

vite v3.2.4 building for production...
transforming...
✓ 35 modules transformed.
rendering chunks...
vite v3.2.4 building SSR bundle for production...
transforming...
✓ 54 modules transformed.
Generated an empty chunk: "hooks"
rendering chunks...
.svelte-kit/output/server/vite-manifest.json                   1.39 KiB
.svelte-kit/output/server/index.js                             96.18 KiB
.svelte-kit/output/server/entries/fallbacks/layout.svelte.js   0.23 KiB
.svelte-kit/output/server/entries/fallbacks/error.svelte.js    1.50 KiB
.svelte-kit/output/server/entries/pages/_page.svelte.js        0.31 KiB
.svelte-kit/output/server/chunks/index.js                      3.15 KiB
.svelte-kit/output/server/chunks/hooks.js                      0.00 KiB

Run npm run preview to preview your production build locally.
.svelte-kit/output/client/vite-manifest.json                                         2.78 KiB
.svelte-kit/output/client/_app/immutable/components/layout.svelte-5d5c2819.js        0.53 KiB / gzip: 0.35 KiB
.svelte-kit/output/client/_app/immutable/components/error.svelte-0f9e2f60.js         2.07 KiB / gzip: 0.95 KiB
.svelte-kit/output/client/_app/immutable/components/pages/_page.svelte-aa58de35.js   0.81 KiB / gzip: 0.47 KiB
.svelte-kit/output/client/_app/immutable/chunks/singletons-1aa68ebc.js               1.99 KiB / gzip: 1.07 KiB
.svelte-kit/output/client/_app/immutable/chunks/0-000c53bf.js                        0.09 KiB / gzip: 0.09 KiB
.svelte-kit/output/client/_app/immutable/chunks/1-632860ef.js                        0.09 KiB / gzip: 0.09 KiB
.svelte-kit/output/client/_app/immutable/chunks/2-234451a5.js                        0.09 KiB / gzip: 0.10 KiB
.svelte-kit/output/client/_app/immutable/chunks/index-4ce6debf.js                    6.71 KiB / gzip: 2.72 KiB
.svelte-kit/output/client/_app/immutable/start-745d8c8c.js                           26.54 KiB / gzip: 10.21 KiB

> Using @sveltejs/adapter-vercel
  ✔ done
Build Completed in /vercel/output [6s]
An unexpected error happened when running this build. We have been notified of the problem. If you have any questions, please contact<EMAIL_ADDRESS>
with split: false deploy succeeded:
[...]
.svelte-kit/output/server/chunks/index.js                      3.15 KiB
.svelte-kit/output/server/chunks/hooks.js                      0.00 KiB
  ✔ done
Build Completed in /vercel/output [10s]
Generated build outputs:
 - Static files: 12
 - Serverless Functions: 1
 - Edge Functions: 0
Serverless regions: Washington, D.C., USA
Deployed outputs in 2s
Build completed. Populating build cache...
Uploading build cache [12.14 MB]...
Since the Node.js version () or package manager  could not be determined, Build Cache will not be stored
Done with "."

System Info
System:
    OS: Linux 5.4 Ubuntu 18.04.6 LTS (Bionic Beaver)
    CPU: (8) x64 Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz
    Memory: 7.62 GB / 15.08 GB
    Container: Yes
    Shell: 4.4.20 - /bin/bash
  Binaries:
    Node: 16.15.0 - ~/.nvm/versions/node/v16.15.0/bin/node
    npm: 8.5.5 - ~/.nvm/versions/node/v16.15.0/bin/npm
  Browsers:
    Brave Browser: <IP_ADDRESS>
    Chrome: 107.0.5304.110
    Firefox: 107.0
  npmPackages:
    @sveltejs/adapter-vercel: next => 1.0.0-next.81
    @sveltejs/kit: next => 1.0.0-next.551
    svelte: ^3.44.0 => 3.53.1
    vite: ^3.1.0 => 3.2.4

Severity
serious, but I can work around it (just set split: false)
Additional Information
public github repo with the issue and detailed steps to reproduce it: https://github.com/opensas/vercel-split-test#steps-to-reproduce

I can confirm that now it's working fine, great work as usual!


GPIO: STM32: Migration to new API

Is your enhancement proposal related to a problem? Please describe.
Move STM32 GPIO driver tto new GPIO API
Additional context
Creating the issue to make action visible.

Fixed by #19607


[e2e]: delegator-generic workflow_dispatch main default slsa3

Repo: https://github.com/slsa-framework/example-package/tree/main
Run: https://github.com/slsa-framework/example-package/actions/runs/5631408394
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.delegator-generic.workflow_dispatch.main.default.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.delegator-generic.workflow_dispatch.main.default.slsa3.yml
Trigger: workflow_dispatch
Branch: main
Date: Sat Jul 22 15:30:48 UTC 2023

Repo: https://github.com/slsa-framework/example-package/tree/main
Run: https://github.com/slsa-framework/example-package/actions/runs/5634200687
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.delegator-generic.workflow_dispatch.main.default.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.delegator-generic.workflow_dispatch.main.default.slsa3.yml
Trigger: workflow_dispatch
Branch: main
Date: Sun Jul 23 03:10:50 UTC 2023

Repo: https://github.com/slsa-framework/example-package/tree/main
Run: https://github.com/slsa-framework/example-package/actions/runs/5637300963
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.delegator-generic.workflow_dispatch.main.default.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.delegator-generic.workflow_dispatch.main.default.slsa3.yml
Trigger: workflow_dispatch
Branch: main
Date: Sun Jul 23 15:46:35 UTC 2023
Tests are passing now. Closing this issue.


react-scripts eslint-utils vulnerability

refs #7588
I haven't seen the new package get "picked up" yet.

react-scripts > @typescript-eslint/eslint-plugin > eslint-utils

https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/package.json#L44 shows ^1.4.2

react-scripts > eslint > eslint-utils

https://github.com/eslint/eslint/blob/master/package.json#L53 also shows ^1.4.2

the typescript plugin is pinned to 1.13.0
The eslint package is at ^6.1.0 which should update to latest. I think the typescript plugin is fouling things up?
What do I need to do since npm update etc are not picking up the new eslint-utils without an audit fix.

Unfortunately I think audit fix and maybe full re-install are the only two ways that npm gives you to update transitive dependencies. I'm not seeing any audit warnings during fresh installs, so I don't think this is something we can actually fix.

Actually I ran audit in the wrong folder :') I see it now.

Ok, in the latest release we pin @typescript-eslint/eslint-plugin to 1.13.0, which depends on that old eslint-utils. On master we've updated to ^2.2.0 so this issue will probably be fixed in the next release.

Great, glad you can reproduce and have updated that pinned dep. Any sense on when the next release will go to the wild?


DetectNet Training: Error code -11

hi all,
I follow Examples
to train data with DetectNet model.
Dataset is ok.
Model is ok.
Create Job to train, I alway get Error -11 as in output log.
Don't know why? Any idea.
Thank,
caffe_output.txt

Looks like a protobuf issue. How did you install DIGITS?

hi lukeyeager,
OS: Ubuntu 16.04 LTS
I had full down the code from github.
And then follow the Install guide from: https://github.com/NVIDIA/DIGITS/blob/master/docs/BuildDigits.md

Start Digits server is ok
I can build, train model in Classification successfull without any errors but Object detection is not.

I had exactly same problem yesterday when I followed those older instructions from https://github.com/NVIDIA/DIGITS/blob/master/docs/BuildDigits.md for my new Ubuntu 17.04 installation and BVLC caffe.
Came to conclusion it was definitely due to protobuf compatibility issue.
I decided to switch back to fresh Ubuntu 16.04 and followed  installation path for officially supported environments with new instructions from here: https://github.com/NVIDIA/DIGITS/blob/digits-5.0/docs/UbuntuInstall.md.
Checked all my types of models: object detection and  caffe&torch classification - everything works fine.
I am happy now.

There's at least one issue I'm aware of with Caffe on Ubuntu >16.04, but it's an OpenCV issue - not a protobuf issue: https://github.com/BVLC/caffe/issues/5540.

Hi.
I am getting similar error, is it possibly caused by the same OpenCV issue? (OpenCV version <IP_ADDRESS>). It is very frustrating that everything is fine until the 16th epoch and than it simply stops.
caffe_output.txt


V1 Ingress now works with TLS validation

Description
Down towards the bottom there is a paragraph that reads:
NOTE: If you’re using Ingress, TLS Delegation no longer works with the latest of the networking.k8s.io apiGroup (v1). You need to use previous version of the API (v1beta1), or use the more advanced HTTPProxy.

I'm not sure this is true any longer.
With the following packages installed:
➜  community-edition-setup tanzu package installed list
\ Retrieving installed packages...
  NAME          PACKAGE-NAME                             PACKAGE-VERSION  STATUS
  cert-manager  cert-manager.community.tanzu.vmware.com  1.5.3            Reconcile succeeded
  contour       contour.community.tanzu.vmware.com       1.18.1           Reconcile succeeded

I can use the Ingress definition:
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: sample
  annotations:
    cert-manager.io/cluster-issuer: letsencrypt-prod
    ingress.kubernetes.io/force-ssl-redirect: "true"
    kubernetes.io/ingress.class: contour
    kubernetes.io/tls-acme: "true"
spec:
  rules:
  - host: sample.tce.rubbersidedowntech.dev
    http:
      paths:
      - path: /
        pathType: Prefix
        backend:
          service:
            name: sample
            port:
              number: 8080
  tls:
  - secretName: sample
    hosts:
    - sample.tce.rubbersidedowntech.dev

And get a perfectly good SSL Ingress object with I kubectl apply.
Location
https://tanzucommunityedition.io/docs/latest/solutions-secure-ingress/
Additional Context

Gotcha...I'm not super well versed in Contour so that's good information.
Would it be useful to create a guide to show the other way?
If my goal as a software developer is to get a website quickly running on TCE with an SSL cert, then the other way may be more applicable.


[SPARK-46103][PYTHON][INFRA][BUILD][DOCS] Enhancing PySpark documentation

What changes were proposed in this pull request?
This PR proposes to enhance the PySpark documentation by leveraging modern Sphinx features and functionalities. The primary objective is to improve the overall user experience and readability of the documentation. To achieve this, the PR includes an upgrade of Sphinx and Jinja2 to their latest versions, enabling us to use the latest pydata_sphinx_theme features such as light/dark mode toggling.
Why are the changes needed?
Currently, the PySpark documentation is unable to utilize many of the advanced features available in recent Sphinx versions due to older package versions. This limitation hinders the documentation's visual appeal and usability, particularly when compared to other projects like Pandas which have already adopted these enhancements. For example:
Pandas API reference (better layout / switching light & dark mode available)
Dark mode

Light mode

PySpark API reference (less readable compare to pandas / no light & dark mode)

By updating the Sphinx and Jinja2 versions, we can significantly improve the documentation's layout, design, and interactive features, thereby enhancing the end-user experience.
Does this PR introduce any user-facing change?
No API changes, but users will notice a more modern and user-friendly interface in the PySpark documentation. New features like light/dark mode and improved page layouts will be available as below:
Before

After
Dark mode

Light mode

How was this patch tested?
Manually built docs from local environment, and also tested combinations between various Jinja2, Sphinx and pydata_sphinx_theme versions for best document rendering.
Was this patch authored or co-authored using generative AI tooling?
No.

This is a nice improvement!

Documentation build passed: https://github.com/itholic/spark/actions/runs/6991575840/job/19023836477

Merged to master.


The Great Improvement List of Amr

CC @amrbashir

[x] 1. remove the bread crumbs
[ ] 2. reduce the redundant ArgMatch
[ ] 3. property signature should be in a quote eg > occurences: number --> this one should be done for functions too and constructors
[x] 4. defined in should be less important so maybe instead of a heading followd by a line it couldbe **Defined in:** [cli.ts:24](url)

[x] 1. function name is in a code block
[x] 2. signature is a quote block
[ ] 3. `example` to ### Example: for @example tag
[x] 4. Return is reduced from 3 lines to one

I personally prefer having the parameters as a table rather than a list, it just seems a bit easier to scan through and find the specific one you want (plus the structure is similar if there are multiple parameters)

That's fine by me

Since we changed function names to be in inline code block, we also need to change the style of @example tag from `example` to ### Example: like in the second screenshot

Yeah, the example thing is on my list, it bothered me a bit. I had to work on it in the original repo a bit before so shouldn't be too bad.

I'm going to work on embedding interfaces, enums, and functions onto the module page and I think # 2 in the first list will be resolved with that

Interfaces and Classes could use some TLC on rendering


Add Run Before

Codecov Report

Merging #840 (b541d92) into refactor/middleware-http-support (dcf93ec) will increase coverage by 0.02%.
The diff coverage is 100.00%.

@@                         Coverage Diff                          @@
##           refactor/middleware-http-support     #840      +/-   ##
====================================================================
+ Coverage                             52.58%   52.61%   +0.02%
====================================================================
  Files                                    73       73
  Lines                                  2105     2106       +1
  Branches                                 51       60       +9
====================================================================
+ Hits                                   1107     1108       +1
  Misses                                  998      998

Impacted Files
Coverage Δ

...io-http/src/main/scala/zhttp/http/Middleware.scala
89.09% <100.00%> (+0.20%)
:arrow_up:

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 dcf93ec...b541d92. Read the comment docs.


@@unique constraint doesn't handle non-scalar types

I believe this is strongly related to #1681, and could be a regression on #1377.

In one of my models, I have a model that looks similar to this snippet:
model User { ... }
model Item { ... }

model Sprint {
  id String @id @default(cuid())

  user      User
  items     Item[]
  startDate DateTime
  endDate   DateTime

  createdAt DateTime @default(now())

  @@unique([user, startDate, endDate])
}

But I think the @@unique attribute only handles the startDate and endDate components. My parser isn't panicking, but it is creating a type called StartDateEndDateCompoundUniqueInput which ignores user entirely when doing sprint.upsert(...)
type StartDateEndDateCompoundUniqueInput {
  startDate: DateTime
  endDate: DateTime
}

Is the @@unique constraint completely ignoring non-scalar types in this example?

@weaversam8 I was unable to reproduce this with preview024:

User is avaliable for use. Can you please make sure you are on the latest version and please try this again?


Have one way to observe contentOffset

Currently, we report changes in contentOffset internally to hub components by enumerating them in scrollViewDidScroll and calling a method from HUBComponentContentOffsetObserver.
We have no solution for reporting contentOffset changes externally but we do have a scrollHandler that lets Hubs users modify things like contentInset and observe scrollingDidStart and didEnd events.
To be able to observe contentOffset changes externally, I added a new didScroll method to the scrollHandler in: https://github.com/spotify/HubFramework/pull/310
There's no good reason to have two ways of observing contentOffset changes.
The correct approach in my opinion is to have a ScrollHandlerObserver protocol and allow any class with access to the scrollHandler to register/unregister itself as an observer. That way it could optionally implement didStart/didScroll/didEnd events and we will have one clean solution for external and internal observation.

The Hub Framework is being phased out at Spotify, and therefore we will not be maintaining it further.


fix(frontend): Remove chumsky fork, attempt 2

Related issue
Resolves #853
Description
Summary of changes
Replace recovier_via of the chumsky fork with skip_parser from chumsky 0.9.2.
Dependency additions / changes
- chumsky = { git = "https://github.com/jfecher/chumsky", rev = "ad9d312" }
+ chumsky = "0.9.2"

Test additions / changes
None.
Checklist

[x] I have tested the changes locally.
[x] I have formatted the changes with Prettier and/or cargo fmt with default settings.
[x] I have linked this PR to the issue(s) that it resolves.
[x] I have reviewed the changes on GitHub, line by line.
[x] I have ensured all changes are covered in the description.

Documentation needs

[ ] This PR requires documentation updates when merged.

Additional context

@jfecher
Here is the description of the problem I encountered when looking into the CI failure: With recovery, empty lambda arguments (||) fail to parse. Chumsky prefers to parse "something that is a failure to parse nothing as something recovered to be something" over "nothing". This case happens with recovery within a repetition (.repeated()) or optionality (.or_not()). An issue is filed for Chumsky: https://github.com/zesterer/chumsky/issues/159
The workaround is: get two variants of a parser of a sequence: first without recovery, second with a recovery. Put them as alternatives: failing without recovery, the variant with recovery will be attempted.

@jfecher Recovery doesn't seem to work after adding the workaround:
Expected 1 error(s) and got 2:

Expected an expression but found |
secondary:
Expected an end of input but found :
secondary:

From input:   let g = |a:| a
Expected AST: let g: unspecified = |error: error| -> unspecified { plain::a }
Actual AST:   let g: unspecified = plain::a

@pczarn does this apply to most/all recovery or is it only not working for lambda parameters?
How would you say parser error recovery in general looks like before & after this change - I haven't yet pulled the PR to test myself. I suppose I'm alright with removing lambda parameter recovery as long as other recovery is working since it shows there may be a path to fixing it, but if recovery all around is worse then it is more difficult.

@jfecher

does this apply to most/all recovery or is it only not working for lambda parameters?

For function parameter recovery: Unaffected since parameter types are mandatory, so there is always at least a colon present and no need to worry about an empty parameter list.
For block statement recovery: unclear why an empty block is unaffected.

Closing this since it has become stale. I can revisit it after confirming there have been bugfixes to chumsky to fix the changed parser recovery strategies.


Question about the paper (Bayesian rule)

The paper is neat and novel compared to active learning, which only focuses on the unlabeled scenario. However, I cannot understand the Bayesian process. In my understanding, it should be:

Thank you for your valuable advice!

Yeah, I am also curious about it. Can you explain it? Thank you!

Hi,
What you wrote down is
Starting with Bayes rule:
P(A | B) = P(B | A)*P(A) / P(B)
Maybe the easiest way to understand it is by first considering a simplified
version of the problem in a setting without any x or D_t:
P(y_ho | y) = P(y | y_ho)*P(y_ho) / P(y)
Importantly in the above you can condition on some variable V. V does
nothing except stay in the conditional everywhere:
P(y_ho | y, V) = P(y | y_ho, V)*P(y_ho | V) / P(y | V)
(You could alternatively write P(y_ho | y, V) = P(y, V | y_ho)*P(y_ho) /
P(y, V). I think what you did is some variant of that. This is correct and
the line above is also correct.)
In our case that variable V is V = x, x_ho, Dt so we can substitute it in:
P(y_ho | y, Dt, x, x_ho) = P(y | y_ho, x, x_ho, Dt)*P(y_ho | x, x_ho, Dt) /
P(y | x, x_ho, Dt)
Sorry if I made any mistakes in writing this, it happens easily with so
many variables.
Best,
Sören
On Tue, Sep 19, 2023 at 11:22 PM Zichun Yu @.***> wrote:

Yeah, I am also curious about it. Can you explain it? Thank you!
—
Reply to this email directly, view it on GitHub
https://github.com/OATML/RHO-Loss/issues/7#issuecomment-1726620449, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ACCVMVH4JJVJN2CWYYUZMH3X3ILK7ANCNFSM6AAAAAAWX77A44
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Thank you for your detailed answer, I think i can figure out what it means. Great job & work for online data selection.


refactor: Change CompareStr for sorting to use the one from AnsiStrings.

different hash but still wrong. :-(

Hey David(@corneliusdavid),
@georges-hatem was able to solve the compare issue using System.AnsiStrings.CompareStr to match the hash.
https://github.com/gcarreno/1brc-ObjectPascal/blob/6745da028756f59ce4f7954714aa23550c5eecc6/entries/ghatem/src/OneBRC.pas#L193
Wanna have a go at that one and I'll wait?
Cheers,
Gus

Hey David(@corneliusdavid),
And I think he also never touches anything Unicode up til he has to output.
Uses ANSI for everything. Especially the comparison is made in ANSI.
Cheers,
Gus


Select the y fields to display using legends

This is an enhancement request.
I am using both Zeppelin and Brunel side by side during my IoT Analytic Prototyping. One of the Zeppelin feature I wish available in Brunel is displaying Y fields by selecting legends(mainly in line chart).
Brunel offers interaction() and selection() to show certain fields in the chart, however, the implementation is you will have 2 separated charts plotted. The lower block chart is big and listed the fields on the top chart. By selecting one or multiple blocks, the top chart changes accordingly.
Zeppelin does a better job in my opinion. It integrates the selection feature with legends. by click the legend color square, the fields will be displayed or disabled. It makes the real chart much bigger and cleaner.

As a comment, you can use the "at" command to place the secondary "legend" chart in a smaller space.This is designed as a general feature that makes it possible to create unusual and novel legends, but yep, I agree it makes it cumbersome to do the standard legend selection technique.
To make this easier, we could just have legends, by default, be interactive so that when you click on them, it modifies the selection as is common. Unless you use the selection field for the main chart, this would have no effect, so I think it wouldn't cause issues for people not using it (i.e.their charts won't suddenly change!) and seems natural for those who have used selection and legends.
Any comments or other thoughts welcome

trickier than I thought ... will attempt again later


Add perf pipeline convention to pipeline generator

Right now it's not entirely clear how to spin up new perf pipelines aside from duplicating existing pipelines and changing the yaml reference. I don't think it would be too much work to codify the pipeline conventions into the pipeline generator tool and enable the prepare-pipelines command.
CC @mikeharder @JoshLove-msft

There's a lot of excitement around perf on the team over the next few months, so this would make creating a perf pipeline much more self-serve for those jumping in, and also ensure that all the perf pipelines conform to the same structure/standard.  Understandably, there is a worry about people creating pipelines and then ignoring them after they're created.  We should cross that bridge when we get to it.  I think supporting perf pipelines in pipeline generator is a good investment for easier onboarding for folks to use our perf tools.


Snapshot Fix for Deprecation Info

When initially implemented, in order to retrieve deprecation metadata the subscription resolver was modified to add an optional sourceProvider and we incorrectly used the aggregate OperatorGroupToggleSourceProvider. This resulted in errors when taking snapshots from namespaces in which no OperatorGroups were present.
To fix, we just use the RegistrySourceProvider directly instead of the aggregate which is what we actually needed in the first place. This results in silencing the errors mentioned above and also resolves an issue where the deprecation info will not be added to Subscription status when the CatalogSource's namespace does not contain an OperatorGroup.

Any idea what's going on with tide? I haven't seen this before:
tide Pending — Not mergeable. No Tide query for branch master found.

Any idea what's going on with tide? I haven't seen this before: tide Pending — Not mergeable. No Tide query for branch master found.

It's disabled for the master branch. It's fine to merge.


use git submodule for library sources

To simply bundled library management, as explained in #7

@cmb69 you help welcome for needed change in config.w32 for this one (and perhaps CI)

@cmb69 thanks, applied

Also I wonder why there is an explicit --enable-system-libmd4c at all

Some user may prefer the bundled lib instead of system one, ex: when too old
I already think about a 3 states option (yes/no/auto), but IIRC from another ext, this was not a success, probably need to try again
@eklausme this PR is now broken because you create the submodule. Feel free to pick  what is needed here which have everything needed for linux, windows and CI

Rebased, and CI is green on  Windows and Linux (with bundled or system library)

@cmb69 see last commit which add "auto" mode

without option, use system library if available
--enable-system-libmd4c always use system library, fails if not available
--disable-system-libmd4c always use bundled library, ignore system

Thanks @remicollet, I think the option changes make sense.


Dockerize the application

Request
For the issue of versions it is always better to have the application dockable
Solution
Dockerize the application, I forked with the dockerization

Hi @Edwardb11, I don't have much experience with docker, feel free to open a pull request with this, thanks!


bug: brew install failed

Describe the bug
A clear and concise description of what the bug is.
brew install failed
To Reproduce
Steps to reproduce the behavior:

brew install zurawiki/brews/gptcommit

Expected behavior
brew insall successful
Screenshots
If applicable, add screenshots to help explain your problem.
Run your command with the RUST_LOG=trace environment variable for the best support

System Info (please complete the following information):

OS: macOS Sequoia 15.0
Version:

Additional context
Add any other context about the problem here.
cargo install --locked gptcommit install v0.5.16 has same issue

PR: https://github.com/zurawiki/gptcommit/pull/285


Transparent tuples

These are implemented in Jazz.

How exactly would we go about implementing something similar?
It seems that we do not need this for our current milestone

Derivation of update of single component of a tuple:
We want to check the sensitivity of the term let a,b = t in <f(a),b> with the following suppositions
G |- f : (a : A) -(S)-> A ; Sf
G |- t : A (S11 x S12) B ; St
-----------------------------
G |- ... : A (? x ?) B ; ?

We derive step by step:
G |- let (a,b) = t in Y : A (? x ?) B ; ?
G, (a : A), (b : B) |- (f a, b) : A (? x ?) b ; S2
-----
G, (a : A), (b : B) |- f a : A[a/a] ; Sf + S[a/a]

And get as result
G |- let ... in (f a, b) : A (Sa x Sb) B ; ?
 where
   Sa = (Sf + S) [ S11 + St / a , S12 + St / b]
   Sb = b [ S12 + St / b] = S12 + St

Simplifying in the following example
t = (x,x), f(a) + 5a, S = 5a, Sf = {}
S11 = S12 = x, St = {}

gives us
Sa = ({} + 5a) [a/x, x/b] = 5x
Sb = (b) [x/b] = x


Add a way to process even faster

Make it so you can liquefy blaze cakes so you can process at either 4 or 8x speed, or 4x speed but double the output.

molten blaze gold/molten cinder flour+lava could be a candidate.
Lore: when you melt a blaze cake, the eggs and sugar gets vapourized so only cinderflour and lava survive

Ahh ok, but yeah, sounds like a goid substitute.


Certification tests for MemCached State Store component.

Description
Adds certification tests for MemCached State Store component.

Fixes a problem in memcache state store parsing TTL values.

Issue reference
Please reference the issue this PR will close: #1929
Checklist
Please make sure you've completed the relevant tasks for this PR, out of the following list:

[x] Code compiles correctly
[x] Created/updated tests
[ ] Extended the documentation / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]

@tmacam please update docs to mark the component stable


Robotiq simulation

Hi guys,
I've been thinking - I should make a separate repo for the gazebo plugins and simulation for the robotiq grippers. Simply because putting it into the robotiq stack doesn't make sense for the real robot as it makes robot hardware have to install gazebo which is massively unneeded.
Thoughts?
robotiq_simulation repo?

So far in ROS-I, we've always included everything under a single repo for simplicity.  This has the main benefit of not having multiple PRs across several repos for changes, although I'm not sure how often such a change would touch simulation and hardware.
What "makes" you have to install gazebo?  Is it rosdep? If we released a debian (which we are pretty close to), would that make a difference?

It would be the ros dependencies in the package.xml, since gazebo_plugins depends on gazebo, and if its included here, all robots with the hardware robotiq_ package have to then install gazebo which is unnecessarily large. This becomes a dep for the debian packages too, and it prevents compilation using catkin_make because gazebo isn't installed

I see. Is it just a meta-package problem.  Should we create two meta-packages

robotiq_hardware
...
robotiq_simulation
...

And then the robotiq meta-package becomes:

robotiq

robotiq_hardware
robotiq_simulation

Will this solve the issue?

Doesn't this issue go away with the debian release?  Then you would install robotiq__control, which shouldn't have a dependency tree that points toward a gazebo plugin.  You wouldn't need to install the entire meta-package on a robot.

Just an FYI...we are close to a debian release.  I just have to verify the installs are correct.  I'm out next week, so it may be a couple of weeks until this is done.

@athackst I guess so? As long as only everything that depended on gazebo was logically separated. If that's the case, the code should be divided as well into two meta-packages for clarity. It's a convention 90% of ROS enabled robots/hardware uses
@shaun-edwards
yeah, a robotiq_robot and robotiq_simulator (as per conventional naming) is ideal.

@TheDash Then you would also have to add a robotiq_common because there should be shared resources between robot and simulator (for example the urdf and msgs).

Well, I'm up for it. We have deployed this code on 3-4 robots now and maintaining it as is is getting very difficult & logical commits/architecture are getting very messy.
I'll make some repos and reference them to this thread where you guys can code review and take a look and see if it makes sense. If they're good, we can initiate a transfer

Hey @TheDash , how are you doing with the simulation? Could you point out the repos you say above?
I'm starting to work on the new 2F models, and I'd like to see what others are doing as well.
@shaun-edwards I'd like to create one unique folder like this:

robotiq_2f_hardware

real : similar to PR #63 by @athackst
simulation : with the adaptable behavior added, not in gazebo_ros_control plugin ;)

I understand the implications of having gazebo as dependency, but hey, ain't ROS already a large dependency anyway?
My reasoning behind is that I like to have a hardware abstraction class described under ros-control, and then share it for real and simulation purposes. That is, the only thing to implement for any new interface (real or sim) is the init(), read() and write() which are defined as pure virtual in the abstract class. So the derived class for simulation will inherently depend on gazebo, as the real depends on the communication libraries.
What do you think?

@carlosjoserg That was the point of PR #63.  It has a comm abstraction layer that allows for the integration of the many different communication libraries that the hand supports.  If I were to reorganize this repo, I would separate out the communication files into their own separate packages (ex: robotiq_can, robotiq_ethercat, or even robotiq_gazebo for simmed comm) and they would depend on the shared control code in robotiq_s_model_control.  However I thought my PR was large enough as is, and didn't pursue it.
I believe @TheDash wanted to separate simulation and real portions of the code into different repos, which I don't think is the right solution to the problem of having to install a bloated set of dependencies to get this running on a robot.  I think the right solution involves better package separation and debian installs, but all the code lives in one repo.  It makes things much easier to update and maintain.

@carlosjoserg
No longer working on this stuff, and still unable to complete these long standing robotiq/universal_robot PR's =(.. until probably... January Lol
But thoughts:
as per convention that has worked rather well, is that each robot (or robotics product) has a _simulation package and a _robot package, each independently included on the computer it is intended for. This allows for logical separation for the suites it provides, and dependencies included.
So for example, Gazebo and RViz doesn't get forced to be installed on your robot (which may or may not be able to render or support the CPU required to use these things, or bloat your hard disk)
@athackst Adding to what I just said above - the separate repos have just been conventional - what the real function here is to just have logical separation between the intent of use. It doesn't matter if its in a separate repo, but separate packages at a minimum. Separate github repos is a matter of my preference.

@athackst Yes, I'm looking at it to develop it for the 2F models, since unfortunately, it can't be used for these, I believe. So that's what I am onto now.
Thanks for the thoughts @TheDash ... when you say the robotiq/universal_robot PR's what do you mean, could you point me to those PRs or work you have done? Is it that you wanted to have a single hwiface to move both devices using a single ethernet connection (like accessing the USB of the remote debian within the UR controller while the gripper is connected to it)?
I see your points of having robot and simulation separated, it is for the case in which one would like to have an on-board PC with the minimum of stuff. In that case, yes, it is useful to have separated  apt-get'able packages, but I'd definitely go for a single github repo (agree with @athackst on this), also because the different packages would be tightly related and they'd refer to the same gripper.
What I would probably have in two separated github's is for 3 and 2 finger model packages.
I'll soon provide what I have on the new 2F models so you can give me your feedback. Thanks.

@TheDash any update on the robotiq/universal_robot PRs? We are very keen to get them integrated to move forward with the dual_ur5_husky simulation and development

not sure if it helps but I'm working on a PR including a robotiq 3 finger gripper and a ur5 arm for simulation ancorasir_urobotiq.
currently experiencing problems with rostopic /left_hand/command and state to send command to the gripper, any suggestions to resolve this issue?
like @TheDash mentioned, the osrf/drcsim is really complicated to "hack"
Thanks a lot

@ancorasir wrote:

currently experiencing problems with rostopic /left_hand/command and state to send command to the gripper, any suggestions to resolve this issue?

Well, what are the "problems"?

@gavanderhoorn
sorry but I'm not exactly sure, can make the gazebo simulation work just like the drcsim's robotiq tutorial, but somehow the left_hand/command and left_hand/state topics are not showing up, can't control the gripper.
any idea where to look for the solution? thanks

You've gotta get the atlas gazebo plugins and port them over to get the gazebo topics working in sim

@wxmerkt Heads up we are planning another development cycle in approx 1 months time relating to this where I will fix all of this up and re-org our robots setup

@TheDash
could you please explain a little bit more on the following line? new to ROS, sorry about that

get the atlas gazebo plugins and port them over

do you mean "apt-get install" drcsim in ROS or put the drcsim package in the same workspace?

Sorry, trying to do this with little instruction as possible here.
https://bitbucket.org/osrf/drcsim/src/194be8500fef/drcsim_gazebo_ros_plugins/?at=default
In short, you want to make sure you have this: (RobotiqHandPlugin)
https://bitbucket.org/osrf/drcsim/src/194be8500fef81593f79607a21ee2badd9700a0e/drcsim_gazebo_ros_plugins/include/drcsim_gazebo_ros_plugins/RobotiqHandPlugin.h?at=default&fileviewer=file-view-default

@ancorasir
In the indigo-devel branch see the robotiq gazebo articulated plugins package, i ported it over to there. That should work if it's in your catkin ws and you are loading the gazebo plugin in your urdf

Hey guys,
I'm trying to use robotiq-3f-gripper along with UR-10 Robot in simulation. Currently, I was able to fix the gripper to the robot by making changes to the urdf. But currently, I'm unsure how to do basic operations like pinch, open in the ROS, Gazebo simulation. Can you guys just guide me on how to start of with the simulation.
Thanks!

Hi, I have attempted to use the default gazebo plugins for the robotiq-3f-gripper along with UR Robot in simulation. Able to control by setting from both rostopic and moveit. Need more work on setting the PID as well as other factors to make the model less agitated/wobbly. Attached a GIF to show the controlled via Moveit to Gazebo model.
Noteworthy: If used on only RVIZ, the package will work perfectly fine.

Hi, I have attempted to use the default gazebo plugins for the robotiq-3f-gripper along with UR Robot in simulation. Able to control by setting from both rostopic and moveit. Need more work on setting the PID as well as other factors to make the model less agitated/wobbly.

I have attached the 3f gripper in a new xacro file to the UR(10) and can control the UR, but not the gripper. I wasn't able to successfully implement any controllers for the gripper. Could you share what steps are needed to implement the controller or share your work?


I lose ipv6 after a few minutes

Describe the bug
My ISP provides a /56 prefix over IPv6.
I have a PPPoE connection (FTTH connection).
I also get an IPv6 assigned without any problems when I start OPNsense.
My computer also gets an IPv6 assigned.
Up to here everything is fine.
I only get an IP address assigned via interface logging if I create a WAN rule that allows port 547 -> 546.
I found this hint in the internet.
()
After about 2-3 minutes, the connection drops for all IPv6 packets.
If I restart the firewall or reboot my PC, I can connect to the internet again via IPv6 for 2-3 minutes.
Both devices still have an IPv6 address assigned.
OPNsense also has an address for the LAN and WAN interface.
Only now comes the strange thing, if I execute a ping command, the result looks like this:
PC -> OPNsense LAN interface = OK
PC -> OPNsense WAN interface = Not ok
PC -> WAN address = Not ok
OPNsense WAN -> WAN address = OK (Ping tool in the web interface)
OPNsense LAN -> WAN address = OK (Ping tool in the web interface)
As it looks, OPNsense suddenly starts dropping the packets.
For whatever reason.
I have a rule for IPv4 and IPv6 each, which is structured as follows:
LAN -> WAN | IPv4 / IPv6 | any -> any
Environment
Software version used and hardware type if relevant, e.g.:
OPNsense 21.1.6-amd64 (amd64, OpenSSL)
FreeBSD 12.1-RELEASE-p126-HBSD
OpenSSL 1.1.1k
Intel® Core i5-10500T
RAM: 2x 4GB
Network Intel® X550-T2 (WAN + LAN)
Network 2: Intel I219-V (OnBoard-LAN)
I created this issue here because there seems to be another person who has the same problem on the OPNsense forum, but there is no solution to it yet:
https://forum.opnsense.org/index.php?topic=22052.0

Could you check if the opnsense blocks any ICMP(v6) traffic? ( Firewall > Log Files > Live View )


cmd/compile: line numbers attached to value spill/unspills (StoreReg/LoadReg/Copy) put line numbers in funny places

Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (go version)?
1.8
What operating system and processor architecture are you using (go env)?
darwin/amd64
What did you do?
This is extracted from a larger debugging problem to be self-contained, so it does not run.
When debugging, it can happen that when you set a breakpoint on a line, you'll actually end up stopping "somewhere else" because value unspills are tagged with the source line of the value, but may be located far from the rest of the code for that line.
https://play.golang.org/p/nyZdpigPAa
This can be seen in the assembly language output, either from go build -gcflags -S baddwarf.go:
	0x0077 00119 (.../tmp/baddwarf.go:116)	MOVQ	8(DX), R8
	0x007b 00123 (.../tmp/baddwarf.go:116)	TESTB	AL, (R8)
	0x007e 00126 (.../tmp/baddwarf.go:117)	MOVL	$1, AX
	0x0083 00131 (.../tmp/baddwarf.go:118)	MOVQ	$22, CX
	0x008a 00138 (.../tmp/baddwarf.go:121)	MOVQ	CX, "".shift+72(SP)
	0x008f 00143 (.../tmp/baddwarf.go:138)	MOVQ	R8, ""..autotmp_37+4272(SP)
	0x0097 00151 (.../tmp/baddwarf.go:142)	MOVQ	SI, ""..autotmp_38+4264(SP)
	0x009f 00159 (.../tmp/baddwarf.go:118)	TESTB	AL, AL
	0x00a1 00161 (.../tmp/baddwarf.go:118)	JEQ	$0, 1027
	0x00a7 00167 (.../tmp/baddwarf.go:120)	LEAQ	"".pos+144(SP), DI
	0x00af 00175 (.../tmp/baddwarf.go:121)	MOVQ	CX, AX
	0x00b2 00178 (.../tmp/baddwarf.go:120)	MOVQ	$512, CX
	0x00b9 00185 (.../tmp/baddwarf.go:121)	MOVQ	AX, R9
	0x00bc 00188 (.../tmp/baddwarf.go:120)	MOVQ	$0, AX
	0x00be 00190 (.../tmp/baddwarf.go:120)	REP
	0x00bf 00191 (.../tmp/baddwarf.go:120)	STOSQ

or (and this helps with spotting the cause) GOSSAFUNC='(*gcSortBuf).flush' go build baddwarf.go:
v37	00079 (.../tmp/baddwarf.go:116)	MOVQ	8(DX), R8
v38	00080 (.../tmp/baddwarf.go:116)	TESTB	AX, (R8)
v309	00081 (.../tmp/baddwarf.go:117)	MOVL	$1, AX
v299	00082 (.../tmp/baddwarf.go:118)	MOVQ	$22, CX
v175	00083 (.../tmp/baddwarf.go:121)	MOVQ	CX, "".shift-4208(SP)
v180	00084 (.../tmp/baddwarf.go:138)	MOVQ	R8, ""..autotmp_37-8(SP)
v61	00085 (.../tmp/baddwarf.go:142)	MOVQ	SI, ""..autotmp_38-16(SP)
v266	00086 (.../tmp/baddwarf.go:118)	TESTB	AX, AX
b9	00087 (.../tmp/baddwarf.go:118)	JEQ	$0, 259
v50	00088 (.../tmp/baddwarf.go:120)	VARDEF	"".pos-4136(SP)
v70	00089 (.../tmp/baddwarf.go:120)	LEAQ	"".pos-4136(SP), DI
v242	00090 (.../tmp/baddwarf.go:121)	MOVQ	CX, AX
v203	00091 (.../tmp/baddwarf.go:120)	MOVQ	$512, CX
v214	00092 (.../tmp/baddwarf.go:121)	MOVQ	AX, R9
v147	00093 (.../tmp/baddwarf.go:120)	MOVQ	$0, AX
v51	00094 (.../tmp/baddwarf.go:120)	REP
v51	00095 (.../tmp/baddwarf.go:120)	STOSQ

which can be seen to come from v175, v180, v61,v242,v214
v175 = StoreReg <uint> v401 : shift[uint]
v180 = StoreReg <*uint8> v188 : .autotmp_37[*uint8]
v61 = StoreReg <*uint8> v234 : .autotmp_38[*uint8]
v242 = Copy <uint> v401 : AX
v214 = Copy <uint> v242 : R9

It might make more sense to give these regalloc-inserted instructions the same line numbers as their predecessors or some other sort of "not really that line" annotation.

Restores could be given the line of the value the restore is triggered for.
Restores during edge processing are a special case, not sure what their line should be.

I'm trying both copying the preceding line and src.NoXPos, and both seem to give a decent gdb debugging experience.  They may mean the same thing; there's no difference in the line number table sizes.


SOLR-16143 SolrConfig ResourceProvider can miss updates from ZooKeeper

https://issues.apache.org/jira/browse/SOLR-16143
Also includes integration test fixes that led to finding this bug.

Pushed manually since GH wouldn't let me preserve the commits.


Damage rework

Still a WIP.
In an effort to stave off the sense of immense dread and impending doom that you get when working with damage code.

Removes the concept of thresholds and damage states from DamageableComponent itself.
Gives each relevant component its own threshold.
Makes no component extend DamageableComponent.
Removes RuinableComponent.
Makes DestructibleComponent take on the role of itself, RuinableComponent and BreakableComponent.
Fixes DamageableComponent damage not being synced to the client.

TBD checking all of this for oopsies.
Reasons for this change:

DamageableComponent keeps me up at night.
Walls shouldn't even know about the concept of "crit".
I want to play Factorio with PJB without him getting neuron activated by the absolute state of damage code.

@metalgearsloth For the change where AIControllerComponent now takes UtilityAi instances instead of AiLogicProcessor to make them able to process component messages.

I'm actually gonna make UtilityAI inherit from AiController to make AI more DATA-DRIVEN so pr pending.

The idea is that walls have two states: alive and dead, and the "on enter death state" will destroy the entity. But whatever works. Those were mostly just me trying to use the old system that we had for damage. I think the DamageableComponent changes are pretty good. I assume this means DestructibleComponent will have a way to configure behavior?

I assume this means DestructibleComponent will have a way to configure behavior?

Yes, SpawnOnDestroy from itself, DestroySound and DestroySoundCollection from RuinableComponent and a new threshold property for the amount of damage when its behavior should trigger.

Ready for review.

My skimming hasn't found any issues apart from mostly diction, my biggest concern is just that it's all over the place (not your fault ofc). Code itself is good

Re action blocker - Not planning to change so much as just adding something, a way to know when blocking states change. It shouldn't be a problem for anything being developed now or require any coordination with me.


Ghost bone fix

Fixes: #190

https://github.com/wiremod/advdupe2/pull/233 Should be merged first. Diff will be better once it is.


Remove check for two URL params

This breaks tabs with non-ascii titles or musicians, because UG generates URLs for these tabs that only have the id.
Solves: #37

Note: I just naively removed the check, as I saw no reason for it further in the code (the .join("/") later down does silently nothing). If you added it intentionally, please correct this PR.
I did some light testing and it seems to work, both for songs with and without ascii characters.

Closes: #37

This fails to build as the condition you removed also ensures that params !== undefined.  You can check if it will build by running `npm run build.
./src/pages/tab/[...id].tsx:401:14
Type error: 'params' is possibly 'undefined'.

  399 |   };
  400 |
> 401 |   if (typeof params.id === "object") {
      |              ^
  402 |     const url = params.id.join("/");
  403 |
  404 |     const savedTab = await prisma.tab.findUniqu

This can be mitigated with the suggested change.
Other than that this is a really good change! I had no idea that URLSs on UG existed that weren't /-.  Thank you very much!


WSL2: dmidecode missing /dev/mem -> /sys/firmware/dmi/tables/smbios_entry_point No such file or directory

Your Windows build number:  Microsoft Windows [Version 10.0.18362.356]
WSL: SUSE Linux Enterprise Server 12 SP2

What you're doing and what's happening:
Trying to register with SUSEConnect, with SUSE_registration_code replaced with actual registration code.

sudo SUSEConnect -r SUSE_registration_code
root's password:
command 'dmidecode -s system-uuid' failed
Error: SCC returned 'Unknown Registration Code.' (401)
When running dmidecode:
sudo dmidecode -s system-uuid
/dev/mem: No such file or directory

What's wrong / what should be happening instead:
SUSEConnect uses dmidecode, which fails
dmidecode -s system-uuid should give some usefull data

Strace of the failing command, if applicable:  (If some_command is failing, then run strace -o some_command.strace -f some_command some_args, and link the contents of some_command.strace in a gist here).

sudo strace dmidecode -s system-uuid
execve("/usr/sbin/dmidecode", ["dmidecode", "-s", "system-uuid"], [/* 14 vars */]) = 0
brk(0)                                  = 0x1cb2000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f2280d20000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=19301, ...}) = 0
mmap(NULL, 19301, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f2280d23000
close(3)                                = 0
open("/lib64/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\10\2\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1925032, ...}) = 0
mmap(NULL, 3811776, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f2280650000
mprotect(0x7f22807e9000, 2097152, PROT_NONE) = 0
mmap(0x7f22809e9000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x199000) = 0x7f22809e9000
mmap(0x7f22809ef000, 14784, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f22809ef000
close(3)                                = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f2280d10000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f2280d00000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f2280cf0000
arch_prctl(ARCH_SET_FS, 0x7f2280d00700) = 0
mprotect(0x7f22809e9000, 16384, PROT_READ) = 0
mprotect(0x612000, 4096, PROT_READ)     = 0
mprotect(0x7f2280c20000, 4096, PROT_READ) = 0
munmap(0x7f2280d23000, 19301)           = 0
open("/sys/firmware/dmi/tables/smbios_entry_point", O_RDONLY) = -1 ENOENT (No such file or directory)
brk(0)                                  = 0x1cb2000
brk(0x1cd3000)                          = 0x1cd3000
open("/sys/firmware/efi/systab", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/proc/efi/systab", O_RDONLY)      = -1 ENOENT (No such file or directory)
open("/dev/mem", O_RDONLY)              = -1 ENOENT (No such file or directory)
dup(2)                                  = 3
fcntl(3, F_GETFL)                       = 0x2 (flags O_RDWR)
fstat(3, {st_mode=S_IFCHR|0660, st_rdev=makedev(4, 1), ...}) = 0
ioctl(3, TCGETS, {B38400 opost isig icanon echo ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f2280ce0000
write(3, "/dev/mem: No such file or direct"..., 36/dev/mem: No such file or directory
) = 36
close(3)                                = 0
munmap(0x7f2280ce0000, 4096)            = 0
exit_group(1)                           = ?
+++ exited with 1 +++

zcat /proc/config.gz | grep -i devmem
CONFIG_DEVMEM is not set
Potentially something we should look at adding to the kernel config.

Without the possibility to add a regcode it isn't possible to update or add repositories.
Is there another way to register? Or please fix the bug.

Alternate way of register:
This is possible either with the YaST2 Registration Module or with the SUSEConnect tool.

With YaST2
Do the following:
yast -> software
-> Add-on Products
-> Add
-> Extensions and Modules from Registration Server...

enter registration details

That would be very useful.

I'm adding the config option, thanks for posting the issue.

I'm adding the config option, thanks for posting the issue.

What hapenned? Sounded like this was going to get addressed, but it's still an issue in released WSL2?


Do not label your osm note comments as anonymous

For comments with isNew, either do not display those or do not print "anonymous".

Done in 0.10.


Make CLI version of gnewsclient

A CLI of gnewsclient which can give a news feed to user on terminal itself.

Added a CLI in #13 Please verify. :)


update etag in factory calendar tutorial

@MichaelCzcz Can you merge my last change? I need this change by tomorrow for a workshop. Thank you.

@MichaelCzcz I updated some changes, can you please merge my request by tomorrow. It's urgent. Thank you.
Best regards,
Merve

We would like to make the picture slightly smaller, but we will merge the PR now.


LLVM failed to use the knowledge from a never-overflow assumption

Hi all, I am an LLVM developer working on the middle-end optimizations.
Recently I found an anti-pattern in some Rust applications from my benchmark.  All of them come from hashbrown::raw::RawTableInner::free_buckets:
https://github.com/rust-lang/hashbrown/blob/274c7bbd79398881e0225c0133e423ce60d7a8f1/src/raw/mod.rs#L3290-L3294
LLVM IR:
define i32 @src(i32 %x, i32 %y) {
  %res = call { i32, i1 } @llvm.umul.with.overflow.i32(i32 %x, i32 %y)
  %ov = extractvalue { i32, i1 } %res, 1
  %nowrap = xor i1 %ov, true
  tail call void @llvm.assume(i1 %nowrap)
  %val = extractvalue { i32, i1 } %res, 0
  ret i32 %val
}
define i32 @tgt(i32 %x, i32 %y) {
  %res = mul nuw i32 %x, %y
  ret i32 %res
}

Alive2: https://alive2.llvm.org/ce/z/YBRjxc
Currently LLVM cannot use the knowledge from a never-overflow assumption. I have a draft patch for the fold and it enables more optimizations in downstream users of hashbrown.  But I am not willing to do an application-specific optimization in LLVM. So I file this issue to see whether we can fix it in hashbrown.
cc @nikic @DianQK

Could you further explain why alive2 proves the correctness of the transformation, but we cannot transform it in LLVM?
BTW, we should probably find a reduce example to report at rust. But I can also do this later.

but we cannot transform it in LLVM?

It is just not implemented. But I am not willing to do this in LLVM. We should fix it in hashbrown or rustc.

An example from tokio-rs: https://godbolt.org/z/Gr55dfMc8

Looks like the same as https://github.com/llvm/llvm-project/issues/80637. As I noted there, this technically loses information, but I guess in practice it's a lot better to replace with mul nuw here. I wouldn't be opposed to doing that in LLVM, as this kind of pattern is probably somewhat common. It arises whenever you have uses of checked_* in some method, and then it gets used in multiple places, some of them checking the result, and the others doing something unwrap_unchecked style. It avoids the duplication of implementing it both with checked_* and unchecked_* arithmetic.
@dtcxzyw Do you have some example where the replacement enables follow-up optimization in practice? As far as I can tell your examples will be lowered to the same asm after assumes are dropped in CGP.

@nikic See the IR diff in https://github.com/dtcxzyw/llvm-opt-benchmark/pull/289/files:
bench/diesel-rs/optimized/1hskzwx2vflsavf7.ll: https://godbolt.org/z/8e6qd9Gjo
bench/image-rs/optimized/2mngkegtim1o10y3.ll: enables factorization: (%2505 + 1) * 392 + 15 --> %2505 * 392 + 407

It arises whenever you have uses of checked_* in some method, and then it gets used in multiple places, some of them checking the result, and the others doing something unwrap_unchecked style. It avoids the duplication of implementing it both with checked_* and unchecked_* arithmetic.

As @nikic said, we want to reuse calculate_layout_for.
https://github.com/rust-lang/hashbrown/blob/274c7bbd79398881e0225c0133e423ce60d7a8f1/src/raw/mod.rs#L1671-L1674
https://github.com/rust-lang/hashbrown/blob/274c7bbd79398881e0225c0133e423ce60d7a8f1/src/raw/mod.rs#L1745-L1748

But I am not willing to do an application-specific optimization in LLVM. So I file this issue to see whether we can fix it in hashbrown.

So as argued above by others, this is not an application-specific pattern. It is a pretty natural pattern for Rust programs: one has a checked operation that can fail in a safe way, and then one turns that into the unchecked variant (with UB on failure) by doing unwrap_unchecked() (which expands to the match statement from the issue description).
I'm not sure how else you are suggesting that code should be written, but it'd clearly be bad if calculate_layout_for had to be written twice.

Even aside from the pattern overall being visible in Rust code beyond hashbrown, most of the code in hashbrown is transitively included in every single Rust program that uses a hashmap, so "application-specific" is an amusing way to describe "probably 20% of all Rust programs ever? higher, even?"

@dtcxzyw Most of the callers that eventually arrived in hashbrown::raw::RawTableInner::free_buckets had std::collections::HashMap::some_fn higher on the stack, right? (I don't know what your tooling is like as to whether it can make this kind of thing obvious)

@dtcxzyw Most of the callers that eventually arrived in hashbrown::raw::RawTableInner::free_buckets had std::collections::HashMap::some_fn higher on the stack, right? (I don't know what your tooling is like as to whether it can make this kind of thing obvious)

Yeah.

Even aside from the pattern overall being visible in Rust code beyond hashbrown, most of the code in hashbrown is transitively included in every single Rust program that uses a hashmap, so "application-specific" is an amusing way to describe "probably 20% of all Rust programs ever? higher, even?"

I believe there is a better way to fix this issue by adding some MIR optimizations or modifying hashbrown itself. It is tricky to handle it in LLVM :(
See https://github.com/llvm/llvm-project/pull/84016.

Even aside from the pattern overall being visible in Rust code beyond hashbrown, most of the code in hashbrown is transitively included in every single Rust program that uses a hashmap, so "application-specific" is an amusing way to describe "probably 20% of all Rust programs ever? higher, even?"

I think you're missing the point here. When it comes to optimization issues, in Rust we are in the very fortunate position that the issue can be addressed either by adding new optimizations, or by changing library code to be more amenable to optimization. The fact that we can change the hashbrown implementation and have ~all Rust code benefit is the point, not an analysis mistake.
<rant> This is contrary to the stupidity prevalent in C/C++, where an incredible amount of compiler engineering resources go into implementing completely ridiculous optimizations that target specific patterns in SPEC benchmarks, where the proper thing to do would have been to just change the benchmark code. </rant>
(This is just for context -- as said above, I'm not convinced that modifying hashbrown is indeed the best solution here.)


Support Tag and Untag API for snapshot.

Issue #, if available:
Customer cannot update tags after snapshot creation.
Description of changes:
Add functions that support Tag and Untag APIs for snapshot.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

/retest

/retest

/retest

/retest


Tekton on Kind Cluster service account not on the list of allowed controller accounts

I'm trying to run dapr with my Tekton pipeline on kind cluster (version 0.13.0), and I keep getting this error message
service account 'system:serviceaccount:tekton-pipelines:tekton-pipelines-controller' not on the list of allowed controller accounts

I tried adding the service account to the clusterrole=dapr-operator-admin with no luck:
$ kubectl create clusterrolebinding dapr-tekton-operator --clusterrole=dapr-operator-admin --serviceaccount=tekton-pipelines:tekton-pipelines-controller
$ kubectl create clusterrolebinding dapr-tekton-operator --clusterrole=cluster-admin       --serviceaccount=tekton-pipelines:tekton-pipelines-controller

I'm puzzled because when I look at the code (pkg/injector/injector.go#L54) it seems that the service account is supported, but I don't know what's causing the error. Any thoughts?
Thanks
In what area(s)?
/area runtime
What version of Dapr?

1.7.1

Expected Behavior
Sidecar should be created.
Actual Behavior
Sidecar not created, and nekton service account is not recognized.
Steps to Reproduce the Problem

Create a kind cluster
Install Tekton
Let Tekton start a new pod with dapr annotations.

Release Note

RELEASE NOTE:

/assign

Root cause is that we always find sa in kube-system:
https://github.com/dapr/dapr/blob/16fcd3e4072ebce4121c736fcb26332113b7c57f/pkg/injector/injector.go#L145

@daixiang0 maybe we can provide users with a way to configure a key/value ConfigMap (through the Helm Chart) that get mounted to the injector, where key/value are service-account:namespace?

It is a solution but introduces an extra mount, now all config of the injector comes from ENV, since other components also use ENV config, keeping the same here is better to maintain I think.

It is a solution but introduces an extra mount, now all config of the injector comes from ENV, since other components also use ENV config, keeping the same here is better to maintain I think.
But in the update case, ENV is not a good solution, maybe we can create ConfigMap from ENV and reload it when update, let's support sa:ns ENV first.

I actually think it's ok for updates. An HA installation of Dapr won't result in downtime for the Injector. I'm ok to keep this with env.

Closed as fixed.


SIGSEGV for CUDA8.0

Process finished with exit code 139 (interrupted by signal 11: SIGSEGV)

@ansleliu can you provide us with more information? Also we stopped supporting cuda 8. Could you try with a more recent version of cuda?

@rotabulo Thank you for your rapid reply, I have solved this problem by updating the GCC from 4.8  to the latest version (because PyTorch "cpp_extensions" requires GCC 4.9 or higher) and so it is not caused by CUDA. Ref. hier bitte: https://github.com/pytorch/pytorch/issues/6987, Thanks.


Revert render changes from 0b686ff00295c382f245b0b4103a566d672498c8

It appears that installer is capable of injecting additional resources using the flow described in https://github.com/openshift/installer/blob/master/docs/user/overview.md#multiple-invocations
thus we don't need to support it in our render command.
/assign @sttts

/lgtm
/approve

/retest


Evaluate adding stroke to ExpressiveCard and ProductiveCard

Carbon v11 added a feature flag to tiles (cards) that adds a stroke around interactive cards. This stroke is intended to help improve the visual differentiation between a non-interactive and interactive (clickable) card.
We need to evaluate if any of the variants of Expressive card or Productive card should have a stroke prop.

Read the Carbon Design System documentation about Tiles

This will help you understand the design guidance for WHY a card should have a stroke (clickable) or no stroke (not clickable)
How buttons or icons are utilized
Sync with Olivia based on that learning

Evaluate the Expressive card

Start a Figma file to review all the variants
Evaluate if the card should have a stroke
Evaluate if the card is deviating from Carbon guidance (button placement or link usage)
Make note of suggested changes or fixes in the Figma file for review

Evaluate the Productive card

Start a Figma file to review the productive card variants
Evaluate if the card should have a stroke
Evaluate if the card is deviating from Carbon guidance (button placement or link usage)
Make note of suggested changes or fixes in the Figma file for review

Considerations:

If the entire area of a card is clickable that would have a stroke

Expressive:

Expressive card often has a button as the only click target.
Compare Carbon for IBM Products storybook and the website guidance

Are there any contradictions between the two?

Productive:

Productive card often has multiple click targets or clickable areas ie:

multiple icon buttons
A header area
Clickable body
Various footer clickable areas

Compare C4IP Storybook and website guidance

Document audit in Figma file
example audit files for reference:
### Tasks
- [x] Review the Core Tile docs to understand the stroke usage
- [x] Review all the versions of Expressive card and note any variant that could have a stroke
- [x] As you review the Expressive card, note any variant that goes against the Core guidance
- [x] Review all the versions of Productive card and note any variants that could have a stroke
- [x] As you review the Productive card, note any variant that goes against the Core guidance
- [x] Play back the findings to the team to consider next steps
- [x] Document any next steps in parent Epic

Presented the following findings to the team during a design crit:

Rules on how stroke is used within tiles in core.
Explorations on where stroke can be applied to both expressive and productive cards to keep them aligned with the guidelines in core. Examples of where stroke should not be applied in cards were also presented.
Gaps identified between website documents, Figma kit and story book.


⚠ MineVN Maven & Resource Pack has degraded performance

In 90649f1, MineVN Maven & Resource Pack (http://app.minevn.net/pack) experienced degraded performance:

HTTP code: 404
Response time: 9752 ms

Resolved: MineVN Maven & Resource Pack performance has improved in 10523b3.


dealing with one-channel input

Hi, thanks for sharing the code!
If I want to input one-channel images and still use the pretrained DeiT, how should I modify the code? I tried changing in_chans=1 in class AnySizePatchEmbed, but encountered the channel problem. RuntimeError: Given groups=1, weight of size [384, 3, 16, 16], expected input[7, 1, 512, 512] to have 3 channels, but got 1 channels instead

Hi. Try repeating the single channel across 3 channels and feed it to the model.


gpm selfupdate and selfupgrade contradiction

Hi,
I've installed the 1.6 branch for one of my projects.
Today, I tried to update plugins with bin/gpm update and it said :

WARNING: A new version of Grav is available. You should update Grav before updating >plugins and themes. If you continue withou                             t updating Grav, some plugins or >themes may stop working.
Continue with the update process? [Y|n] Y
GPM Releases Configuration: Stable
Nothing to update.

Then I tried bin/gpm selfupgrade and it said :

GPM Releases Configuration: Stable
You are already running the latest version of Grav (v1.6.0-rc.3) released on Fri Feb  8 00:05:27 2019

But I can see in the branches' page that there's a new version of 1.6 recently added. So it seems that my GPM releases configuration isn't correclty set, and try to apply stable versions instead of recent ones.
I don't know what to do to force him to apply the latest releases.

It looks like you are on the wrong channel (stable). You should be on testing channel instead.
It’s a system configuration.

Ah ok. I remember that someone's told me about that.
It's in system.yaml :
gpm:
  releases: testing

I changed that and retried, but now it says :
Found 16 packages installed of which 5 need updating

01.                 [v -> v]
02.                 [v -> v]
03.                 [v -> v]
04.                 [v -> v]
05.                 [v -> v]

Continue with the update process? [Y|n] Y

GPM Releases Configuration: Testing

Preparing to install Admin Panel [v1.9.0-rc.3]
  |- Downloading package...   100%
  |- Checking destination...  ok
  |- Installing package...
In Folder.php line 321:

  Unknown error

I actually fixed the no versions showing up recently. I don’t think we have a new rc out with the fix.
It is safe to update all even if it doesn’t display versions.

Yeah but it fails. PHP error.
I retried again, and now it's on the Email plugin that the rror is thrown :
The package Email will be updated to a new major version 3.0.0-rc.3, from 2.7.2
Preparing to install Email [v3.0.0-rc.3]
  |- Downloading package...   100%
  |- Checking destination...  ok
  |- Installing package...
In Folder.php line 321:

  Unknown error

What's going on ?

Not seen that error before... That i think might be a legit issue (in Folder.php line 321)

This turns out to be a legit issue. We are fixing it.
You can manually copy the email package to be up to date for now.
Cheers.


Introduce Service Instance resource

Introduce Service Instance resource
Motivation
Introduces Service Instance resource so Service Manager can start manage such entities.
Pull Request status

[x] Initial implementation

Topic branch:
https://github.com/Peripli/service-manager/pull/351

Coverage decreased (-1.3%) to 88.254% when pulling b8479d28bfe4eba720b3a6b16cbba10e251c65ab on service_instance_entity into 109e6bb4a53106fb9ca767080cb52f02dfee4619 on async_phase1.

@KirilKabakchiev
How do you propose component testing GET/LIST when there are no Create/Update/Delete APIs yet?
There's no direct way to create a resource, there's also no indirect way (eg. services and plans).
Also, the state of the controller right now is plain-vanilla base controller logic, nothing special about, which already has tests.

This is a new API and if you don't enable the list/get component tests its hard to guarantee that querying is working properly for all fields. I would suggest to implement the blueprint for instances by using the repository that is provided in the context


Add authentification arg to run command

The cloud credential arguments were only present to the compile command and not the run one. This PR fixes this issue, @Hakimovich99

Can we still test the compile command as well? Otherwise @GeorgesLorre will be depressed.

Can we still test the compile command as well? Otherwise @GeorgesLorre will be depressed.

haha sure, added it

Can we still test the compile command as well? Otherwise @GeorgesLorre will be depressed.

only 95%+ test coverage will cure my depression


Last Week in Pony - April 26, 2020

We are going to skip the 19th because we did a catch up version after a long absence on the 14th.

Are you interested in Pony and FreeBSD? We are now doing experimental nightly builds for FreeBSD 12.1 and are looking for testers.
If you are interested in helping, please check in on the Zulip.

Hydraconf is all online this July and they are looking for a Pony talk.
Interested? Submit your talk today at:
https://speakers.hydraconf.com/

Audio from the April 21st Pony development sync is now available.
There were a few topics of discussion. The primary topic was changing the syntax at the call site for behaviors from . to ~.
https://sync-recordings.ponylang.io/r/2020_04_21.m4a

pony-semver, a project started by @btab, has become an official Ponylang organization project.
pony-semver is a semantic versioning library for Pony. It is being used in the corral dependency manager project.


Player buttons

Your project is really great and very responsive! Could you add controls to the player for advancing to the next video or going back?
Thanks a lot

Your project is really great and very responsive! Could you add controls to the player for advancing to the next video or going back?
Thanks a lot

Do you mean previous/next channel playing buttons?

Yes


Andrzeng patch 4

Modified the init file so that the auxiliary functions in eigengame.py and Parallelize.py aren't imported
encapsulated Eigengame in a class, in the spirit of Sci-kit Learn; Implemented a function that calculates the explained variance ratio

I did not remove the old classless eigengame() function from eigengame.py, because doing so might break old code

I will work on that, thanks for the feedback


Add ruby linter

We should use a linter to standardise our code.
I would suggest looking at https://rubocop.readthedocs.io/en/latest/ but we could also compare others.

@drubin I'm adding in rubocop..


install R + extensions proof of concept

I tried a couple of different ways of installing and using R in neurodesktop and think installing Rstudio in a container is probably the way to go. I documented the different install steps for posterity:
1. Install base R and packages in a conda environement and use through vs code
_This works, but the way you install packages (through pip) is really unconventional and takes much longer. If people try to install any packages the normal way, not only does is not work, it breaks some of the existing packages. I think we should stay away from this method. _
2. Install base R in terminal and then access through vs.code
This works, but there are a lot of steps that need to be implemented and I'm not sure if some of them can be automatised. Install is as follows:
Install base R :
sudo apt-get update sudo apt install r-base
Install packages needed to communicate with vs code and optional install of the tidyverse packages:
add-apt-repository ppa:c2d4u.team/c2d4u4.0+ # allows apt to access most CRAN packages sudo apt install r-jsonlite sudo apt install r-languageserver sudo apt install --no-install-recommends r-cran-tidyverse
In VScode:

install R extension
in settings, set Rterm:Linux to the install path for R.

3. Install base R in terminal and then access through Rstudio
This works best and is simplest, so I think it's probably the method we should go with to start. The caveat is that for some reason, packages I installed by activating R in the terminal don't seem to be accessible when using the same base-R instillation in Rstudio. I'll have a look at this, there must be a simple way to change the install directory from the terminal so that we can install packages when building the container...Steps are as follows:
Install base R :
sudo apt-get update sudo apt install r-base
Install Rstudio:
'wget https://download1.rstudio.org/desktop/bionic/amd64/rstudio-2021.09.0%2B351-amd64.deb
sudo apt-get install gdebi-core # neither apt or dpkg seem to install rstudio properly, something to do with the dependencies being missing.
sudo gdebi rstudio-2021.09.0+351-amd64.deb '
That's it!

That's great :) I try to build a container with this


AudioPlayer: Can't load an audio file that is longer than the one currently loaded (buffered = true)

Describe the bug
AudioPlayer:
If I load an audiofile B that is longer (duration wise) than the one currently loaded A, it does not seem to be loaded correctly, at least A is still being played back.
Happens only when isBuffered = true.
I have attached a compiled test app and source code.
The test app includes three audio files of various length.
You will see that you can only load files that are shorter (further down the list) than the one currently loaded.
To Reproduce
Steps to reproduce the behavior:

player.load(file: "a short file", buffered: true)
player.load(file: "a long file", buffered: true)

Expected behavior
I expect that the long file is now loaded and played back, but it is not. It is still the short file that is being played.
Details (please complete the following information):

Type: MacOS
OS: Big Sur
AudioKit Version 5.2 Main

As far as I can see from one of my other projects, this is not new to version AK 5.2, as I can also make it occur there.

AudioKitTest.zip
Source:
AK Test Source.zip

@ShowtimeSoft You may reopen the issue if @emurray2 's fix proves insufficient. Till then, this is closed.


[bug] rename BSC chain name on switch networks modal error

Is there an existing issue for this?

[X] I have searched the existing issues

RainbowKit Version
1.3.3
wagmi Version
1.4.13
Current Behavior
I want to rename chain's name on switch networks modal, but errors:

Expected Behavior
Show correct name
Steps To Reproduce
No response
Link to Minimal Reproducible Example (CodeSandbox, StackBlitz, etc.)
https://codesandbox.io/p/devbox/amazing-goldberg-pr3v6p?file=%2Fsrc%2Findex.tsx
Anything else?
No response

@rks118 We currently don't support custom names for some chains. If the chain name is not configured on our end then it might work.
You can probably try using a different chain like holesky, but with binance smart chain we always override the name to our own custom metadata provided here


latest dart release possible causing an issue with flutter_map?

Hello,
After I updated to the latest Dart release, I am starting to get the following error while attempting to run my application.
Compiler message:
lib/components/map.dart:57:40: Error: The argument type 'Null Function(MapPosition, bool)' can't be assigned to the parameter type 'void Function(MapPosition, bool,
bool)'.

'MapPosition' is from 'package:flutter_map/flutter_map.dart'
('file:///Users/....../flutter/.pub-cache/hosted/pub.dartlang.org/flutter_map-0.5.3+1/lib/flutter_map.dart').
Try changing the type of the parameter, or casting the argument to 'void Function(MapPosition, bool, bool)'.
onPositionChanged: (position, bool) {
^
lib/components/map_results.dart:101:46: Error: The argument type 'Null Function(MapPosition, bool)' can't be assigned to the parameter type 'void Function(MapPosition,
bool, bool)'.
'MapPosition' is from 'package:flutter_map/flutter_map.dart'
('file:///Users/....../flutter/.pub-cache/hosted/pub.dartlang.org/flutter_map-0.5.3+1/lib/flutter_map.dart').
Try changing the type of the parameter, or casting the argument to 'void Function(MapPosition, bool, bool)'.
onPositionChanged: (position, bool) {
^
file:///Users/....../flutter/.pub-cache/hosted/pub.dartlang.org/flutter_map-0.5.3+1/lib/src/layer/mbtiles/mbtiles_image_provider.dart:93:31: Error: The argument type
'Null Function(StringBuffer)' can't be assigned to the parameter type 'Iterable Function()'.
'StringBuffer' is from 'dart:core'.
'Iterable' is from 'dart:core'.
'DiagnosticsNode' is from 'package:flutter/src/foundation/diagnostics.dart' ('file:///Users/...../flutter/packages/flutter/lib/src/foundation/diagnostics.dart').
Try changing the type of the parameter, or casting the argument to 'Iterable Function()'.
informationCollector: (StringBuffer information) {

Error: The argument type 'Null Function(StringBuffer)' can't be assigned to the parameter type 'Iterable Function()'
please help.
I did not understand anything from the above

I had the same problem working with the latest version of flutter.
So I switched to the stable branch of flutter and it worked.
For switching version to stable:

go in you flutter install directory (in Mac OS /Users/me/Library/flutter)
run git checkout stable
run flutter doctor

I am having (similar) issues after upgrading to the latest Dart/Flutter combo -- here is a dump in case it helps figure this out:
Compiler message:
file:///Users/sjm/.pub-cache/hosted/pub.dartlang.org/flutter_map-0.5.3+1/lib/src/layer/mbtiles/mbtiles_image_provider.dart:93:31: Error: The argument type 'Null Function(StringBuffer)' can't be assigned to the
parameter type 'Iterable<DiagnosticsNode> Function()'.
 - 'StringBuffer' is from 'dart:core'.
 - 'Iterable' is from 'dart:core'.
 - 'DiagnosticsNode' is from 'package:flutter/src/foundation/diagnostics.dart' ('file:///Users/sjm/Development/flutter/packages/flutter/lib/src/foundation/diagnostics.dart').
Try changing the type of the parameter, or casting the argument to 'Iterable<DiagnosticsNode> Function()'.
        informationCollector: (StringBuffer information) {
                              ^
file:///Users/sjm/.pub-cache/hosted/pub.dartlang.org/flutter_map-0.5.3+1/lib/src/layer/overlay_image_layer.dart:40:27: Error: The argument type 'void Function(ImageInfo, bool)' can't be assigned to the parameter
type 'ImageStreamListener'.
 - 'ImageInfo' is from 'package:flutter/src/painting/image_stream.dart' ('file:///Users/sjm/Development/flutter/packages/flutter/lib/src/painting/image_stream.dart').
 - 'ImageStreamListener' is from 'package:flutter/src/painting/image_stream.dart' ('file:///Users/sjm/Development/flutter/packages/flutter/lib/src/painting/image_stream.dart').
Try changing the type of the parameter, or casting the argument to 'ImageStreamListener'.
    stream.removeListener(listener);
                          ^
file:///Users/sjm/.pub-cache/hosted/pub.dartlang.org/flutter_map-0.5.3+1/lib/src/layer/overlay_image_layer.dart:43:22: Error: The argument type 'void Function(ImageInfo, bool)' can't be assigned to the parameter
type 'ImageStreamListener'.
 - 'ImageInfo' is from 'package:flutter/src/painting/image_stream.dart' ('file:///Users/sjm/Development/flutter/packages/flutter/lib/src/painting/image_stream.dart').
 - 'ImageStreamListener' is from 'package:flutter/src/painting/image_stream.dart' ('file:///Users/sjm/Development/flutter/packages/flutter/lib/src/painting/image_stream.dart').
Try changing the type of the parameter, or casting the argument to 'ImageStreamListener'.
  stream.addListener(listener);
                     ^
file:///Users/sjm/.pub-cache/hosted/pub.dartlang.org/flutter_image-1.0.0/lib/network.dart:75:31: Error: The argument type 'Null Function(StringBuffer)' can't be assigned to the parameter type
'Iterable<DiagnosticsNode> Function()'.
 - 'StringBuffer' is from 'dart:core'.
 - 'Iterable' is from 'dart:core'.
 - 'DiagnosticsNode' is from 'package:flutter/src/foundation/diagnostics.dart' ('file:///Users/sjm/Development/flutter/packages/flutter/lib/src/foundation/diagnostics.dart').
Try changing the type of the parameter, or casting the argument to 'Iterable<DiagnosticsNode> Function()'.
        informationCollector: (StringBuffer information) {
                              ^
file:///Users/sjm/.pub-cache/hosted/pub.dartlang.org/flutter_image-1.0.0/lib/network.dart:168:65: Error: The argument type 'String' can't be assigned to the parameter type 'DiagnosticsNode'.
 - 'DiagnosticsNode' is from 'package:flutter/src/foundation/diagnostics.dart' ('file:///Users/sjm/Development/flutter/packages/flutter/lib/src/foundation/diagnostics.dart').
Try changing the type of the parameter, or casting the argument to 'DiagnosticsNode'.
      context: '$runtimeType failed to load ${instructions.uri}',
                                                                ^
Compiler failed on /Users/sjm/work/carbyne/carbyne_aml_emu/lib/main.dart
Error launching application on iPhone Xʀ.

BTW -- I can confirm that @quantosapplications solution of reverting back to 'stable' does allow one to compile and run again .. at least for now. I did a
flutter channel stable

on my Mac OS to get it there as that seemed the more appropriate way?

@quantosapplications  solution working on Debian distributions as well.

The problem is addressed in this PR: https://github.com/johnpryan/flutter_map/pull/296

Got the same problem after upgrading flutter sdk
Compiler message:
file:///C:/Users/Yannick/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/flutter_map-0.5.3+1/lib/src/layer/mbtiles/mbtiles_image_provider.dart:93:31: Error: The argument type 'Null Function(StringBuffer)' can't be assigned to the parameter type 'Iterable<DiagnosticsNode> Function()'.
 - 'StringBuffer' is from 'dart:core'.
 - 'Iterable' is from 'dart:core'.
 - 'DiagnosticsNode' is from 'package:flutter/src/foundation/diagnostics.dart' ('file:///C:/Flutter%20SDK/flutter/packages/flutter/lib/src/foundation/diagnostics.dart').
Try changing the type of the parameter, or casting the argument to 'Iterable<DiagnosticsNode> Function()'.
        informationCollector: (StringBuffer information) {
                              ^
file:///C:/Users/Yannick/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/flutter_map-0.5.3+1/lib/src/layer/overlay_image_layer.dart:40:27: Error: The argument type 'void Function(ImageInfo, bool)' can't be assigned to the parameter type 'ImageStreamListener'.
 - 'ImageInfo' is from 'package:flutter/src/painting/image_stream.dart' ('file:///C:/Flutter%20SDK/flutter/packages/flutter/lib/src/painting/image_stream.dart').
 - 'ImageStreamListener' is from 'package:flutter/src/painting/image_stream.dart' ('file:///C:/Flutter%20SDK/flutter/packages/flutter/lib/src/painting/image_stream.dart').
Try changing the type of the parameter, or casting the argument to 'ImageStreamListener'.
    stream.removeListener(listener);
                          ^
file:///C:/Users/Yannick/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/flutter_map-0.5.3+1/lib/src/layer/overlay_image_layer.dart:43:22: Error: The argument type 'void Function(ImageInfo, bool)' can't be assigned to the parameter type 'ImageStreamListener'.
 - 'ImageInfo' is from 'package:flutter/src/painting/image_stream.dart' ('file:///C:/Flutter%20SDK/flutter/packages/flutter/lib/src/painting/image_stream.dart').
 - 'ImageStreamListener' is from 'package:flutter/src/painting/image_stream.dart' ('file:///C:/Flutter%20SDK/flutter/packages/flutter/lib/src/painting/image_stream.dart').
Try changing the type of the parameter, or casting the argument to 'ImageStreamListener'.
  stream.addListener(listener);
                     ^
file:///C:/Users/Yannick/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/flutter_image-1.0.0/lib/network.dart:75:31: Error: The argument type 'Null Function(StringBuffer)' can't be assigned to the parameter type 'Iterable<DiagnosticsNode> Function()'.
 - 'StringBuffer' is from 'dart:core'.
 - 'Iterable' is from 'dart:core'.
 - 'DiagnosticsNode' is from 'package:flutter/src/foundation/diagnostics.dart' ('file:///C:/Flutter%20SDK/flutter/packages/flutter/lib/src/foundation/diagnostics.dart').
Try changing the type of the parameter, or casting the argument to 'Iterable<DiagnosticsNode> Function()'.
        informationCollector: (StringBuffer information) {
                              ^
file:///C:/Users/Yannick/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/flutter_image-1.0.0/lib/network.dart:168:65: Error: The argument type 'String' can't be assigned to the parameter type 'DiagnosticsNode'.
 - 'DiagnosticsNode' is from 'package:flutter/src/foundation/diagnostics.dart' ('file:///C:/Flutter%20SDK/flutter/packages/flutter/lib/src/foundation/diagnostics.dart').
Try changing the type of the parameter, or casting the argument to 'DiagnosticsNode'.
      context: '$runtimeType failed to load ${instructions.uri}',
                                                                ^

Flutter Doctor output:

[√] Flutter (Channel beta, v1.6.3, on Microsoft Windows [Version 10.0.17134.765], locale de-AT)
• Flutter version 1.6.3 at C:\Flutter SDK\flutter
• Framework revision bc7bc94083 (2 weeks ago), 2019-05-23 10:29:07 -0700
• Engine revision 8dc3a4cde2
• Dart version 2.3.2 (build 2.3.2-dev.0.0 e3edfd36b2)

are you using flutter_map 0.6.0 or 0.5.x?

@johnpryan It was 0.5.x for me -- didn't see the update -- I can confirm with the 0.6.x version it's all happy now!

ok, great! thanks for testing


Add cache files to all workflows

Add .env file to hold environment variables: PIP_CACHE_KEY and FILES_CACHE_KEY for caching across workflows, HUB_HOME to set PaddleHub HUB_HOME to /tmp/paddlehub to allow caching

This is how you see that the cache works: the "Cache OpenVINO dependencies" step is skipped, and the "Install dependencies" step shows that openvino-dev is collected from the cache.


Please make compatible with AdvancedPortals plugin

Can you please make compatible/add support with/for AdvancedPortals plugin?
https://www.spigotmc.org/resources/advanced-portals.14356/
Atm when custom portals are made using AdvancedPortals, Multiverse-Netherportals prevents the player from entering the portal because it exspects the portal to be linked to a nether world even though in this case one doesn't need to be made :)

This is unlikely to happen, but if you'd like more information, you may ask for support on our Discord (quickest support).

Thanks for replying, that's ok I might just use this plugin on a separate server to my main one then it will still work that way ;)


Types folder is not available.

Hi,
Could it be that the latest change introducing the types folder has not been properly published?
Doing npm install stickyfilljs --save still downloads the old version without typings.
Thanks

It has not been released yet.
Try npm install wilddeer/stickyfill.

@h-shiratsuki Thanks for the reply.
Will though future updates to the library flow automatically also into wilddeer/stickyfill?

@pacoita Maybe, it is DNS name resolution error.
https://stackoverflow.com/questions/9393409/ssh-could-not-resolve-hostname-github-com-name-or-service-not-known-fatal-th


Include tag template for release plugin

Purpose

Include tag template for release plugin

Codecov Report

Merging #16531 into master will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master   #16531   +/-   ##
=========================================
  Coverage     14.14%   14.14%
  Complexity     3246     3246
=========================================
  Files          1513     1513
  Lines         73300    73300
  Branches       8990     8990
=========================================
  Hits          10366    10366
  Misses        61861    61861
  Partials       1073     1073

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 014f8c1...cd991f4. Read the comment docs.


Update ios view with prompt

Hmm, this is not what my intension was.. This PR should not be merged into master!


Always getting "'DataFrame' object has no attribute 'name'" upon trying to export.

Upon trying to use Nyoka to export some SARIMAX model to PMML in some project, I always end up with the same error, roughly something like
    ArimaToPMML(data, model, fit_model, path)
  File "/home/slereah/miniconda3/lib/python3.6/site-packages/nyoka/statsmodels/arima.py", line 175, in __init__
    ExportToPMML(model_name = model_name, arima_obj = sarimax_obj)
  File "/home/slereah/miniconda3/lib/python3.6/site-packages/nyoka/statsmodels/arima.py", line 28, in ExportToPMML
    DataField = get_data_field_objs(time_series_data)),
  File "/home/slereah/miniconda3/lib/python3.6/site-packages/nyoka/statsmodels/arima.py", line 150, in get_data_field_objs
    ts_name = ts_data.name
  File "/home/slereah/miniconda3/lib/python3.6/site-packages/pandas/core/generic.py", line 3614, in __getattr__
    return object.__getattribute__(self, name)
AttributeError: 'DataFrame' object has no attribute 'name'

I have tried the examples given for SARIMAX which work perfectly fine, but I have been unable to find the root cause for this error. I managed to reduce the code for the error to the following :

from statsmodels.tsa.statespace import sarimax
from nyoka import ArimaToPMML
import pandas as pd
import numpy as np

data = pd.read_csv('~/test.csv', index_col = 0)
labels = pd.read_csv('~/test2.csv', index_col = 0)
path = '~/pmmlsarimax.pmml'

model = sarimax.SARIMAX(
	endog=pd.DataFrame(data=labels),
	exog=pd.DataFrame(data=data),
	order=(1,0,0),
	seasonal_order=(0,0,0,0),
	trend='t',
	enforce_stationarity=True)
fit_model = model.fit(disp=False, maxiter=200)

ArimaToPMML(data, model, fit_model, path)

I have tried a few variations, trying to change column names or indexes, but so far nothing seems to work, or simply give different errors. The two data files are of the following form. For test.csv :
t,scaled_imputed_f2_t,ohe_label_2_t,ohe_label_3_t,ohe_label_1_t,scaled_imputed_ts_t,scaled_imputed_f1_t,ohe_label_0_t,scaled_imputed_f3_t
0,1.7320464849472046,1.0,1.0,1.0,-1.7320218086242676,-0.36193081736564636,1.0,1.7320464849472046

And for test2.csv :
,f1
0,1.087748646736145

Each being a few thousand lines long so I'll skip the full data. Where does this error come from?

Hi @Slereah , thanks for your feedback. The exporter is expecting the endog data for time_series_data parameter. Could you please try to send the endog data to the exporter as,
ArimaToPmml(labels, model, fit_model, path)

That was indeed the issue, thanks.


Host the bot to some public hosting

Also I need instruct on how to maintain the server (at least pay for it once in a while)

Hosted in in Digital Ocean.


Smoke test failures due to welcome page experiment

Getting lots of smoke test failures as we experiment with welcome page.

Removed the wait for specific welcome page element as it's not clear what that element should be at the moment


Login issue for twitter account

I was trying to login via my twitter account which was authenticated before but suddenly I couldn't login and was redirected to login page again until i use my github account
now i have completely new account opened 😌

Probably a duplicate of #2310
You got a new account opened because using another auth provider results in a new account. To understand why watch his DogeLog.