We Cannot Create a Virtual Environment at the Specified Path - VS2017

Issue occurs when adding a virtual environment using "Python Environments->Add Virtual Environment"
When browsing to a folder containing python.exe and pythonw.exe Visual Studio shows
"We Cannot Create a Virtual Environment at the Specified path. Choose a folder that does not exist, is empty, or contains and existing virtual environment"
Therefore the user must create a virtual environment using a different menu "Tools->Python->Python Environments" which lets you enter the exact path of python.exe and python.exe

Do I need to have the virtual environment set up before adding it in visual studio, or does visual studio set one up for me? Is there a feature in visual studio that would allow me to select the directory where python libraries are where the python executable is without having to write scripts by hand, like in C++?

Add Virtual Environment will create one for you, just enter a name for it in the dialog, and it will be stored in a subfolder of your project.
https://docs.microsoft.com/en-us/visualstudio/python/selecting-a-python-environment-for-a-project#using-virtual-environments
To add an already existing virtual environment, you can use the same dialog and enter the path instead of a name, or use the Add Existing Virtual Environment command. Here I created a virtual env using command line and I'm adding it to the project.

If you want the virtual env to be available globally like the CPython installations, you can add it as a custom environment in the Python Environments window.

Then you can use Add/Remove Python Environments in your projects like this:

Closing since we haven't heard back. Hope you got it figured out.


Make version fabric semver compatible and bump it

Makes the mod version fabric semver compatible so it doesn't print a warning at startup (text after - is ignored for comparisons I think, or at least it doesn't complain if it's at the other side).
Also bumps the version to 1.0.4.

hey just to let you know i have not forgotton about this and i will be looking at it when i have free time over the weekend but off the top of my head the version is not semver complient because the X is captizled

oh god i forgot about this my bad, but yes your actually correct with the change here


python3Packages.openusd: init at 23.08

Description of changes
Closes #250542

This PR adds OpenUSD.

Technically, this library depends on pyside6-tools, which shares a repository with pyside6 and shiboken6. However, whether I built it the same way as those 2 or was following the arch PKGBUILD directly, I didn't get the correct pyside6-uic binary out, and for all that it's used here, investigating further didn't seem worth the effort.
Ideally, that would be packaged properly in the future and used here for the build.
I have not checked all the resulting binaries, but I have checked a couple including usdview and usdcat, I have tried using it as a library from C++, and I have tried using the python bindings.
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

Thanks for the pointers! What's the etiquette here around resolving threads? Should I do it it or should it be left to the commenter?

Some good points, thanks a bunch!
Unfortunately, splitting the derivation up further doesn't seem simple, and I'm not sure it's worth the effort. Their cmake configuration just assumes one install directory where everything is put. We can move stuff apart in postInstall , but it seems to be making assumptions about the structure as well, so more patching would be required, and I feel like it would be brittle.
In particular, separating bin doesn't seem worth it as it still needs lib and is only like 2 MB.
The python lib files need the other lib files.
The cmake files need to be together with the lib files, otherwise they return an error. I haven't checked if only the includes can be separated, but that doesn't seem very useful to me.
Everything but the lib files (and the docs which are now separate) is only like 12 MB in total, whereas the lib itself is already like 150 MB, so it's probably fine.
The plugins are needed because they allow lazily loading libraries at runtime.
I've tried statically linking in the past and ran into runtime issues about them missing, so I think they're important.
The file pxrConfig.cmake seems needed in the root directory as otherwise cmake doesn't find it in module mode, or that's what I assume is the reason.
Maybe my testing methodology was bad.

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

4 packages built:

python310Packages.openusd
python310Packages.openusd.doc
python311Packages.openusd
python311Packages.openusd.doc

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-already-reviewed/2617/1113

blocked by #262633


Feature request: make column's datatype icons different if the column is nullable

As title say, I found very useful the column's icon to instantly know what type each column is but when i'm the SQL Editor, I often found myself wondering if a specific column is nullable or not after a query.

I think this will complicate grid UI (we already have too many different icons).
But you can use Metadata panel to see properties of you result columns:


Size of cq could be wrong (?)

Hello, I see that in this repo the size of the cq ring is using uint32Size instead of the CompletionQueueEntry's size. For reference, in liburing they use CompletionQueueEntry.
Your code
https://github.com/Iceber/iouring-go/blob/b1dc8dd9fbfdd191b4e8f7ba8276c8aa4326a81b/mmap.go#L77
liburing:
https://github.com/axboe/liburing/blob/a71d56ef3259216739677473ddb17ad861c3a964/src/setup.c#L29
size = sizeof(struct io_uring_cqe);
...
cq->ring_sz = p->cq_off.cqes + p->cq_entries * size;

@d2gr Thanks, it does seem to be a serious bug, would you like to fix it?
Looks like I need to re-review this project,and start the development(alpha) of iouring-net.


unocss In order to load dynamic css variables, index.html adds @unocss/runtime

UnoCSS version
0.56.1
Describe the bug
This is the cdn file I introduced in index.html

Download @unocss/runtime from the diagram

这是我在main引入的npm下载的 未生效

There's another problem
In addition, there is another problem, because the document says that unocss is mounted after dom loading is completed, and I have been making a requirement recently, which is to obtain the width and height of the element dynamically after dom mounting, but I find that the padding provided by unocss does not take effect in time, resulting in the real width and height obtained does not include the width and height of unocss. This is not the case when the page is refreshed, only when the project is launched for the first time to enter the component for the first time, how to solve this asynchronous problem?

Note that refreshing the page padding is available, but the main error is restarting the project on the current page and then remounting unocss will cause the asynchronous problem described above!

Reproduction
This is the cdn file I introduced in index.html

Download @unocss/runtime from the diagram

这是我在main引入的npm下载的 未生效

There's another problem
In addition, there is another problem, because the document says that unocss is mounted after dom loading is completed, and I have been making a requirement recently, which is to obtain the width and height of the element dynamically after dom mounting, but I find that the padding provided by unocss does not take effect in time, resulting in the real width and height obtained does not include the width and height of unocss. This is not the case when the page is refreshed, only when the project is launched for the first time to enter the component for the first time, how to solve this asynchronous problem?

Note that refreshing the page padding is available, but the main error is restarting the project on the current page and then remounting unocss will cause the asynchronous problem described above!

System Info
No response
Validations

[X] Read the Contributing Guidelines.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

What's reason cause you use runtime package. I use unocss vite plugin mostly.

是什么原因导致您使用运行时包。我主要使用unocss vite插件。
因为要使用动态``模板字符串变量。

是什么原因导致您使用运行时包。我主要使用unocss vite插件。

Because if you use the template string variable

你可以分享一个最小复现的例子（仓库或 stackblitz 链接）吗，因为动态的 css 我们一般建议提前放入 safelist 配置项中，不太清楚你的场景。我觉得runtime package 使用的场景比较少 :( 个人觉得。


fix(yew-notifications): Update yew to latest version (0.21.0)

This pull request fixes compatibility with latest yew version and increments minor version of the crate in 1.

No problem, I'll fix it. I just don't know exactly what the problem is, is it because there is a line break? I have never used cargo-fmt

No problem, I'll fix it. I just don't know exactly what the problem is, is it because there is a line break? I have never used cargo-fmt

just run cargo +nightly fmt --all in the terminal. It will do everything we need. If you get an error, then try to run rustup toolchain install nightly

relaced with #7
I'm closing this PR for now. But thank you for your attention to this project anyway. I decided to do it by myself because I also need to fix the code and update other dependencies


Reconnect on wallet server list update

When the list of wallet servers is updated, if the current wallet server is not on that list, disconnect from the current server and do a reconnect.
In the app, there's only one wallet server at a time. so if that one changes, reconnect. Current sdk behavior requires an sdk restart to reconnect. That's painful.

changing means setting the conf through the API

This has been implemented with wallet reconnect


swiper is displayed only after swiping

mac os

react-native-swiper v1.5.14
react-native v0.50.4

Expected behaviour
the slider is displayed on the page
Actual behaviour
the swiper is displayed only after swiping (it does not matter which way)
How to reproduce it>
when you first open the application everything is ok
further in the application I exit my profile and log into it
and when I open the page where the swiper is located I see an empty place. if I swipe the screen the swiper immediately appears and no longer disappears (until I exit my profile again)
tried to enter different users
Steps to reproduce
1.open app
2.log out
3.login
my code

when i just opened the page

swiped across the screen

Having a similar issue here

+1 on ios

Have you tried this? https://github.com/leecade/react-native-swiper/issues/906#issuecomment-449013745

I had the same issue and the solution with key={Date.now()} didn't work for me. I needed to add removeClippedSubviews={false} to fix this (but I don't understand why).

Hi @GauthierG @abeeralshaer
the solution with key={Date.now()} didn't work for me too
removeClippedSubviews = {false} solved the problem
Thanks!

@Jendyy
Me either. But my problem was totally different. The problem was that the swiper doesn't update after re-rendering. So I had to put the key something that changes like email/ which first is undefined then comes as a string.

++


Add simple mount command

For consideration only; I don't expect this to be merged as-is.
Here's a very simple mount command to mount a restic repo on some mountpoint through fuse.
To use, do this:
$ mkdir /some/mount/path
$ make
$ ./restic -r /path/to/repo mount /some/mount/path
(do your stuff in /some/mount/path: cat, mplayer, thunar, whatever)
(stop the mount with ^C)
$ sudo fusermount -u /some/moutn/path # this step is important, I don't know the gritty details of fuse/filesystems so I couldn't explain why

Some notes about how it works:

Everything is read-only (dirs are executable to be browseable)
It seems to work ok for most files...
...except for videos, it is extremely laggy. A quick look at iotop shows almost no disk usage; further profiling is needed
I think using mount as a command name makes more sense than using fuse, because it is the actual thing the user wants to do whereas fuse is just the implementation.

Here's the hierarchy (inspired by bup):
mountpath
  `- snapshots (a pseudo dir)
        |- <snapshot date1> (another pseudo dir)
        |- <snapshot date2>
        | # there will be a "latest" symlink here that points to the latest snapshot directly
        `- <snapshot date3>
               `- <snapshot top dir, such as /home/rakoo/Documents>
                       |- dir1 (here we start real dirs)
                       |   |- dir 11
                       |   |    `- file 111
                       |   `- file 12
                       `- dir2

Closes #27

Wow, this already looks really good! I'll refactor things a bit while implementing #56, afterwards we can tackle the fuse mount. If you are interested in a chat, you can find me in #restic on irc.freenode.net.

Hey, are you still interested? Bundling of small blobs together has been implemented, so it's not a blocker any more.
I'll reopen this pull request in the hope that you have the motivation to implement this :+1:

Oh, I'm sorry, this fell completely out of my radar ! I'll have a look as soon as I have some time.

Great, I'm looking forward to it!

This is super cool. Can't wait for this to be merged.

New version ! Use it like that:
$ restic -r /path/to/your/repo mount /path/to/mountpoint
Now serving /path/to/your/repo under /path/to/mountpoint
Don't forget to umount after quitting !

Now you can access /path/to/mountpoint anyway you like. You can even add new snapshots here, they will be visible right away. After you're done with the mount:
$ sudo umount -l /path/to/mountpoint

Some comments:

The build fails for openbsd/386 and openbsd/amd64 because of fuse.
I was thinking that #60 could be solved with a standard webserver pointing to a mounted repo, but Windows doesn't have fuse ...

Future possible improvements:

add a /snapshots/latest that is a symlink to latest snapshot
add a /recent that has, say, the 500 last modified files

Thanks for your work, this already looks really really good! I've addressed a few minor things with comments, the main things we need to work on to get this merged are:

Either disable fuse support for OpenBSD or make it work with it (should be not a big problem)
Add a test for the mount command

Very cool!

Hm, it looks like we can't run CI tests requiring fuse on the Travis container infrastructure...

I've opened https://github.com/bazil/fuse/pull/104 which adds support for openbsd to fuse.

I just noticed that you vendored an old version of the fuse library from April, could you use the current one?

Looks good! :+1:

If you rebase this branch then the OS X tests shouldn't hang anymore

Got it, the following patches fixes running the tests on Darwin:

https://gist.github.com/b5faeafb8b449099c6a6
https://gist.github.com/4a78458f13a1b8745baf (already pushed to master, you just need to rebase)

The first adds a timed test for the subdir snapshots, it's a race condition between sending to channel ready in CmdMount.Execute() and continuing the test. It seems that this only occurs in virtual machines, I haven't seen it on my Linux machine here.
The second patch fixes installing osxfuse on darwin. Here, the problem was that the osxfuse version installed with brew doesn't include a signed kernel module, so loading it fails. This is mitigated by using cask to install the official release of osxfuse, then it works.
Running the code on a real OS X VM with vagrant was invaluable for debugging this. I've pushed the Vagrantfile in 9441442a4d84313b993b1aa6df0729cb85a48566.
You can see that the mount suceeds here: https://travis-ci.org/restic/restic/builds/71675868
The error (with that revision of the fuse mount code) also occurs on my machine on Linux.

:heart:

The darwin tests pass! awesome!

Congrats everyone on this epic PR ! I thought I was prepared for harsh code reviews, I was not :)

Sorry for being harsh :)

@rakoo you did great work, I just verified that the fuse mount works like charm, even on freebsd :)

Sweet !


Can`t find @angular/common when update from RC4 to RC6

Note: for support questions, please use one of these channels: Chat: AngularClass.slack or Twitter: @AngularClass

I'm submitting a ...
[ x] bug report
[ ] feature request
[ ] question about the decisions made in the repository

Do you want to request a feature or report a bug?
Bug

What is the current behavior?
I`m trying to update project from RC4 to RC6 with changing package.json
"dependencies": {
"@angular/common": "2.0.0-rc.6",
"@angular/compiler": "2.0.0-rc.6",
"@angular/core": "2.0.0-rc.6",
"@angular/forms": "^2.0.0-rc.6",
"@angular/http": "2.0.0-rc.6",
"@angular/platform-browser": "2.0.0-rc.6",
"@angular/platform-browser-dynamic": "2.0.0-rc.6",
"@angular/platform-server": "2.0.0-rc.6",
"@angular/router": "3.0.0-rc.2",
"@angularclass/conventions-loader": "^1.0.2",
"@angularclass/hmr": "^1.0.1",
"@angularclass/hmr-loader": "^1.0.1",
"@angularclass/request-idle-callback": "^1.0.7",
"@angularclass/webpack-toolkit": "^1.3.3",
"core-js": "^2.4.1",
"http-server": "^0.9.0",
"ie-shim": "^0.1.0",
"rxjs": "5.0.0-beta.11",
"zone.js": "~0.6.17"
},

after run npm install get such message:
npm ERR! Windows_NT 6.3.9600
npm ERR! argv "C:\Program Files\nodejs\node.exe" "[path]\npm\node_modules\npm\bin\npm-cli.js" "install"
npm ERR! node v6.5.0
npm ERR! npm  v3.10.6
npm ERR! code E404
npm ERR! 404 no such package available : @angular/common
npm ERR! 404
npm ERR! 404  '@angular/common' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404 It was specified as a dependency of 'angular2-webpack-starter'
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.
npm ERR! Please include the following file with any support request:
npm ERR!     [path]\npm-debug.log

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via
https://plnkr.co or similar (you can use this template as a starting point: http://plnkr.co/edit/tpl:AvJOMERrnz94ekVua0u5).
steps to reproduce just run npm install with this dependencies.

What is the expected behavior?
node_modules will be updated without any problem

What is the motivation / use case for changing the behavior?

Please tell us about your environment:
Widhows 8 x64
Webstorm 2016.2.3 terminal

Angular version: 2.0.0-rc.4
Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]

Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, gitter, etc)

Which version NPM and Node are you running? RC6 required me to update to NPM 3+ and Node 4.4.7
Try running:

npm upgrade
Then wipe out all node_modules
npm install

This appears to be a different problem as you seem to already run on 6.5.0. Can you remove node_modules and to an npm cache clean. All packages specified also @angular/common are available https://www.npmjs.com/~angular


Remove ext migration tool from source, link to separate package

This moved to its own repo: pocoo/flask-ext-migrate.  It should probably be removed from the Flask repo and the documentation should be updated to mention the migration tool.

Is the pocoo github org staying around?
It's mostly Flask stuff. Now that Flask sits under pallets, I wasn't sure if those repos will get moved around as well. Not saying they should all get moved to pallets. For example, flask-ext-migrate repo would probably be just fine under @keyan 's handle since he did much of the work and it's a convenient helper rather than a critical piece. Those decisions are above my paygrade though.

Yup this is reasonable.

I've just moved flask-ext-migrate to the pallets organization and gave everybody in the Flask team access to it. I think this is a better solution, I'm very vary of creating single-user dependencies in the Flask ecosystem.
It's unlikely that it's going to change much or need maintenance, but we shouldn't take the risk.

BTW @keyan if you really want to have the migration tool under your handle, or think you generally get too little credit for it, we definetly should figure something out though.

Thanks @untitaker, nothing like that at all. It doesn't make much difference to me either way. Fine with whatever is best for the project.

I've just moved flask-ext-migrate to the pallets organization and gave everybody in the Flask team access to it.

FYI @untitaker looks like you gave the Flask team read access, probably you want to change that to write access.

Yes, sorry, fixed.


Upgraded NGINX from 1.13.9-alpine to 1.17.5-alpine ended up failing

Hi Team,
i am currently deploying 2.3.18 version through docker and want to upgrade the nginx webserver from 1.13.9-alpine to 1.17.5-alpine. The build will run successfully and container will also run up with when after setup is done it gives me Internal Server Error 500
"Internal Server Error
What does this mean?
Something went wrong on our servers while we were processing your request. An error has occurred and this resource cannot be displayed. This occurrence has been logged, and a highly trained team of monkeys has been dispatched to deal with your problem. We're really sorry about this, and will work hard to get this resolved as soon as possible.
This error can be identified by 05d7a0f1-1646-4c34-b4e4-79aea7a57a15. You might want to take a note of this code."

It means that an error occurred within the server. In this case, the 500 error means that PHP had an error. This is because the php version that gets installed in nginx 1.17.5 alpine is too new and this project hasn't been updated to work with it... I think. It has one of the last versions of php 7.3 and I think some syntax has changed. The latest I've had luck with was nginx 1.14.0-alpine. I don't believe 1.15 worked but I could be mistaken


doesn't correctly handle multiple content-type values

I found a peculiar issue of incompatibility of this library comparing to native browser fetch version. Affected version 2.6.0
Steps to reproduce:
1.) Create simple node server and run it
const http = require('http');

const requestListener = function (req, res) {
  res.setHeader('Cookie', ['one=1', 'two=2']);
  res.setHeader('Content-Type', ['text/plain', 'application/json']);
  res.writeHead(200);
  res.end('Hello, World!');
}

const server = http.createServer(requestListener);
server.listen(8080);

2.) Fetch the server
In browser
fetch('http://localhost:8080').then(r => r.headers).then(h => h.get('Content-Type')).then(console.dir);
// text/plain, application/json

node-fetch
fetch('http://localhost:8080').then(r => r.headers).then(h => h.get('Content-Type')).then(console.dir);
// text/plain

As you can see, node-fetch doesn't correctly handle multiple headers with the same name.

I was able to reproduce this on both 2.6.0 and 3.0.0-beta.5.

As you can see, node-fetch doesn't correctly handle multiple headers with the same name.

This is not true, because it works fine with the cookie header:
fetch('http://localhost:8080').then(r => r.headers.get('cookie')).then(console.dir); //=> 'one=1; two=2'

Also, it looks like this issue is not related just to the get() method:
fetch('http://localhost:8080').then(r => r.headers.raw()).then(console.dir); //=> [ 'text/plain' ]

This works correctly:
const headers = new Headers({
	'Content-Type': ['text/plain', 'application/json']
});

headers.get('Content-Type') //=> 'text/plain,application/json'
headers.raw()['Content-Type'] //=> 'text/plain,application/json'

This is not true, because it works fine with the cookie header:

Cookie header is special case, and is directly serialized by server and instead of two headers, one serialized header is sent.
Another special case is Set-Header. RFC 7230 says it should be handled in specific manner. And it is, at least by browser native fetch where headers will never contain entry for set-cookie.
Reason for both Cookie and Set-Cookie is simple. They can contain , character to delimit parts of header info:
Cookie-set: language=pl; expires=Sat, 15-Jul-2017 23:58:22 GMT; path=/; domain=x.com

headers.get('Content-Type') //=> 'text/plain,application/json'

I don't think this is correct either. Specification says that serialized headers should 0x2C 0x20 which translates to ,  (comma followed by single space)

Seems that it is caused by this project special handling of Content-Type header. Other headers work as expected and return values of headers separated by 0x2c and 0x20.
Regarding the code fragment:
const headers = new Headers({
	'Content-Type': ['text/plain', 'application/json']
});

..I IMHO this is unexpected init object. The array of ['text/plain', 'application/json'] is passed later inside append method which serializes it into text/plain,application/json as it tries to stringify the value of it's second argument (correctly).


Missing --deep flag prevents signing of packages that contain other binaries

Adding --deep to the args array in function signApplicationAsync (opts) allows signing of MacOS apps that contain other executables. If this flag is not included the signing fails with the error message "code object is not signed at all".

Hi @eriedl-kiban, thanks for filing the issue! We utilize walkAsync() to manually deep check all components that need signing, thus not providing the --deep flag. Also, the --deep flag is not recommended to be used. Are you having trouble signing your app currently with electron-osx-sign?

I'm using electron-builder to package and sign my app. I also just realized there is another project electron-macos-sign. My apologies for posting to the wrong project.
But to give you some background, if I don't add the --deep flag then the signing fails with the error message code object is not signed at all.

Looks like it is the same project. So the issue still persists :)

@eriedl-kiban  electron-builder uses another npm name because sometimes fork changes are required. Currently, latest version is used.

@eriedl-kiban oh, would you mind providing your Electron version and a debug log of your signing process with export DEBUG=electron-osx-sign* so we may potentially track down the missing files to be signed?

Your comment gave me a hint to try something else in my configuration. In my initial build configuration I put my additional files in the folder MyApplication.app/Contents using the extraFiles configuration property without a specific target directory.
If I use extraResources then the additional files get copied to MyApplication.app/Contents/Resources and then the signing succeeds. The signing also succeeds when specifying a target directory using extraFiles, so the files get copied to MyApplication.app/Contents/myFiles.
I suppose electron-osx-sign does everything as it is supposed to do and I will adjust on my end to comply with a proper package structure.

Strange, as far I see, walk started from Contents (https://github.com/electron-userland/electron-osx-sign/blob/master/util.js#L97).

I don't think the issue is that the files are not found, but that codesign does not expect any other files in the root of Contents. This might be something that is required of MacOS apps in general. If I put my binaries into a subfolder under Contents it signs just fine.

Hi @eriedl-kiban, my understanding from the Apple doc (table 3-1 at https://developer.apple.com/library/content/documentation/Security/Conceptual/CodeSigningGuide/Procedures/Procedures.html, retrieved Jan 19, 2017) is that pretty much all components should be placed at their corresponding locations:

Location
Description

Contents
Top content directory of the bundle

Contents/MacOS
Helper apps and tools

Contents/Frameworks
Frameworks, dylibs

Contents/PlugIns
Plug-ins, both loadable and extensions

Contents/XPCServices
XPC services

Contents/Helpers
Helper apps and tools

Contents/Library/Automator
Automator actions

Contents/Library/Spotlight
Spotlight importers

Contents/Library/LoginItems
Installable login items

Contents/Library/LaunchServices
Privileged helper tools installed by the ServiceManagement framework

And I think placing your files outside the Contents dir's the reason of causing this issue?

Yes, that was indeed the problem. Thank you so much for providing this. It might be helpful to add this link to the general documentation of electron-builder for when build MacOS apps. I moved now my executables to Contents/MacOS as they are indeed helper apps and tools.


CRAM reference should be saved with the analysis object

It's useful to know the cram reference up front, so including the fully qualified path to the reference in meta.reference would be awesome for provenance and save some manual handling and guess work.

Based on #208 I was mis-characterising the issue a bit:

sub-CRAMs realigned using a masked reference
sub-CRAMs merged under an un-masked reference (doesn't affect alignments, only header)
resulting files have a discrepancy between header and content, and need unification


make clippy fails locally but not on CI

Currently, make clippy (as well as cargo build in the workspace root) is failing locally due to some recent changes to miden-base. Here is the error:
error[E0599]: no variant or associated item named `Local` found for enum `miden_objects::notes::NoteExecutionHint` in the current scope
  --> bin/faucet/src/handlers.rs:72:83
   |
72 | ...NoteExecutionHint::Local)
   |                       ^^^^^ variant or associated item not found in `NoteExecutionHint`

For more information about this error, try `rustc --explain E0599`.
error: could not compile `miden-faucet` (bin "miden-faucet") due to 1 previous error
warning: build failed, waiting for other jobs to finish...

The CI (which runs make clippy) however has been passing which could be an issue. This could be related to the new caching action (though I'm not too familiar with how it works).

https://github.com/0xPolygonMiden/miden-node/pull/434 fixes the faucet build

To ensure that we are always running with the latest of miden-base but not removing the cache, maybe we can add an update to all deps from that repo (cargo update {miden-tx, miden-objets, miden-lib}) in the GitHub workflows.

I think we explicitly wanted to decouple updates in miden-base etc from here. i.e. Only update when we decide to do so - otherwise there will forever be churn.
The lockfile should have prevented the issues you're seeing since it pins the commit of miden-base as a dependency. This is also why the ci is passing (nothing to do with the caching I hope 😅).
What I don't understand is how you managed to get a compile issue. You'll notice that your fix in #434 changed the lockfile hashes for miden-base et al, pulling in the new version of it.
Maybe one of

you ran cargo update locally
you use a shared cargo cache locally and make clippy does not have --locked so it was happy to use the updated version?

Probably we should at least add --locked to our make commands.


⚠ LPDM Handbook (hosted on Divio) has degraded performance

In 1185d61, LPDM Handbook (hosted on Divio) (https://repohubdev.tk) experienced degraded performance:

HTTP code: 500
Response time: 6466 ms

Resolved: LPDM Handbook (hosted on Divio) performance has improved in b5d5d8a.


q: Is there anyway to support dynamic flag names?

Suppose I have a go web program named goweb, and the subcommand web will starts a web daemon.
Most importantly, it can have multiple instances at the same time, of course, they have different port numbers.
This is my /etc/goweb/config.conf content:
[web]
path = "/var/lib/goweb/default"
port = 8000

[web.user1]
path = "/var/lib/goweb/user1"
port = 8001

[web.user2]
path = "/var/lib/goweb/user2"
port = 8002

What I expect is:

When I use goweb web --config /etc/goweb/config.conf, the web service is based on path /var/lib/goweb/default and port 8000.
When I use goweb --user user1 web --config /etc/goweb/config.conf, the web service is based on path /var/lib/goweb/user1 and port 8001.
Of course, when I use goweb --user user2 web --config /etc/goweb/config.conf, the web service is based on path /var/lib/goweb/user2 and port 8002.
And THE MOST WONDERFUL THING is, when I use goweb --user user1 web --config /etc/goweb/config.conf --port 10000, the web service is based on path /var/lib/goweb/user1 and port 10000!

This is my []cli.Flag section:
portFlag := &cli.IntFlag{Name: "port"}
pathFlag := &cli.StringFlag{Name: "path"}
flags := []cli.Flag{
    altsrc.NewStringFlag(pathFlag),
    altsrc.NewIntFlag(portFlag),
    &cli.StringFlag{Name: "config"},
}

And I changed the Aliases of portFlag in Before function:
func(c *cli.Context) error {
    var pathAlias string
    var portAlias string
    if len(user) == 0 {
        pathAlias = "web.port"
        portAlias = "web.port"
    } else {
        pathAlias = fmt.Sprint("web.", user, ".path")
        portAlias = fmt.Sprint("web.", user, ".port")
    }
    pathFlag.Aliases = append(pathFlag.Aliases, pathAlias)
    portFlag.Aliases = append(portFlag.Aliases, portAlias)
    altsrc.InitInputSourceWithContext(flags, altsrc.NewTomlSourceFromFlagFunc("config"))
    return nil
}

UNFORTUNATELY, IT DOESN'T WORK. SO, HOW CAN I DO FOR IT?

I don't think there's native support for what you're trying to do.
I've accomplished something similar by parsing CLI flags twice—once to get the non-dynamic flags (in your case, --user) and then afterwards, create a new cli.App with configuration based on the options parsed the first go around. Unfortunately, that was rather complex, and I'm not sure that the way I did it was necessarily the best way to do it, but it did work.
With the caveat that my use case is slightly different (the app creates additional flags dynamically) and that I have not migrated from v1 of the app, here is the code: https://github.com/rliebz/tusk/blob/524de887cdfea4e2c1499ce25765e803ca57aaf9/appcli/app.go#L93-L141


Cli fixes

rewrote all command line interface logic, it is way easy to add new command line flags and options


Improve .gitignore, add project icon

I took the liberty of designing an icon for the project :)

It's not the greatest ever, but it's decent enough, I think. It's inspired to the thing I love the most about Wien, the cathedral's roof.
I also added it as project icon (.idea/icon.png), so that it shows up nicely in IJ IDEA and in JetBrains Toolbox:

To make this work, I had to tweak the .gitignore file to allow for some files in .idea to be in VCS. This also allows us to have the code style expressed there — which is useful as we can then remove most stuff from the .editorconfig file and just have it live in the IJ code style. I personally prefer using the IJ codestyles instead of the .editorconfig as there's no UI to change the settings with, when you use the .editorconfig, and it's impossible to figure out which IJ code style values are overridden by the .editorconfig file. I generally disable .editorconfig code style support in IJ, but I haven't done it here yet. Happy to, if you are ok with this, though.

Great icon! It's nice that the project has a logo now :)
I am a bit unsure regarding the .editorconfig. Generally, I like to have a basic setup in place. On the other hand, you are quite right — it will get messy eventually if we keep both the IJ and the .editorconfig.
Since we are both using IJ, I guess it's better if we continue with it.

Great icon! It's nice that the project has a logo now :)
I am a bit unsure regarding the .editorconfig. Generally, I like to have a basic setup in place. On the other hand, you are quite right — it will get messy eventually if we keep both the IJ and the .editorconfig.
Since we are both using IJ, I guess it's better if we continue with it.


Created it.json

@LightwithoutLisonlyight
Thank you so much for your translations.
I have merged your locale files.
Non potrò mai ringraziarvi abbastanza.
I can't thank you enough.


[Ameba]Update scripts/build

Problem

Update scripts/build files for Ameba platform

Change overview

Add ameba-amebad-light in scripts/build files

Testing
build_example build

fast track: small PR, build changes only

/rebase

/rebase


Change "Archived" notifications to "Read" notifications

Description (required)
Fixes #3426 - "Archived" notifications should be referred to as "Read"
What changes did you make and why?
I replaced the word archived in strings with read. However, I did not change the string names, e.g., menu_option_archived was not changed to menu_option_read. Doing this would require changes in many files, so I'm not sure if it's necessary. In case it is better to change the string names too, please let me know and I will make those changes.
Screenshots (for UI changes only)

Codecov Report

Merging #3554 into master will increase coverage by 0.00%.
The diff coverage is n/a.

@@           Coverage Diff            @@
##             master   #3554   +/-   ##
========================================
  Coverage      7.27%   7.27%
  Complexity      298     298
========================================
  Files           257     257
  Lines         11752   11751    -1
  Branches        953     953
========================================
  Hits            855     855
+ Misses        10826   10825    -1
  Partials         71      71

Impacted Files
Coverage Δ
Complexity Δ

...ain/java/fr/free/nrw/commons/quiz/QuizChecker.java
0.00% <0.00%> (ø)
0.00% <0.00%> (ø%)

...ns/upload/categories/UploadCategoriesFragment.java
0.00% <0.00%> (ø)
0.00% <0.00%> (ø%)

...upload/mediaDetails/UploadMediaDetailFragment.java
0.00% <0.00%> (ø)
0.00% <0.00%> (ø%)

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 d028cf1...afc5a8f. Read the comment docs.

https://translatewiki.net/wiki/FAQ#Is_it_possible_to_rename_message_keys?

As a general rule: localization efforts should not block development. When there is a good reason to rename a key, do so. Just don't do so frivolously, as this unnecessarily hampers localization efforts.

I think renaming them is a good option but I really don't know the criteria for "frivolous"

@macgills I agree. I think it'll also add more clarity when eventually this change is made for other languages. I have pushed this change. Please review.

I'm not sure but I think we aren't supposed to touch the strings and keys of the strings in the other language files. Translate-wiki would handle it all by itself. @misaochan might know better.

Translatewiki shouldn't hinder development and the fact that refactor>rename/shift+f6 was used is - or should be - totally acceptable in my opinion

Ideally it shouldn't but I'm doubtful as the FAQ says

When renaming a key, it is sufficient to rename just the source language (usually English) keys. The keys for the translations will be renamed during the import process on Translatewiki.net.

I'll pinging Translatewiki per that FAQ.

@translatewiki A key rename is done in this PR along with a string change. The keys have been renamed in the other language files too. Would that be a problem?


Libgdx 1.11.0

I've updated the libgdx to 1.11.0 and fixed compiled errors. I've checked all tests/src/main/com/badlogic/gdx/ai/tests/*Tests.java.

This looks good and should be merged. Does anyone have write access to this repo?

@tommyettinger, merged


dead link

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

Hi @SharifElfouly can you sign the CLA?

@norhh the signing process seems to be broken for me....

It takes a while for the agreement to load.


Migrate to upstream debug abstractions

Closes https://github.com/hermitcore/uhyve/pull/352.

bors r+


NAT scopes --> PR #50

Adds the three proposed scopes (global, Network Device, interface) to PR #50.

Superseded by #61.


Logo bg color fix for all models that don't have logo

Bug:
Currently some logos in OpenRouter and custom providers appear as white, since they have a default white logo on a white bg.
Fix:
Set the default Avatar to have green bg color.

code change:

lgtm

lgtm

Made the change for the else if, will merge this now.


SystemEvents.SessionSwitch event is not getting fired in macOs mojave

Issue Title
SystemEvents.SessionSwitch event is not getting fired in macOs mojave.
SystemEvents.SessionSwitch += new SessionSwitchEventHandler(SystemEvents_SessionSwitch); is working fine for Windows 10 but it is not working in Mac.
General
Trying to listen to system events like lock/unlock, user sign in/out etc. for our dotnet core application which runs on both Windows and Mac.
To achieve this SystemEvents.SessionSwitch seemed a good option but it is not working in macOs mojave.
I am currently using dotnet core 2.2
Please suggest a solution for this.

According to the area ownership page, @maryamariyan, @Anipik are the best contacts to answer this question.


 This was very unclear from the instructions!

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

ID: 39fbe5a2-c138-b566-c094-82ffc3d1b734
Version Independent ID: 4d69ee5d-5a6d-a203-69fe-bf5441a8b5eb
Content: Connect to Exchange Online PowerShell
Content Source: exchange/docs-conceptual/exchange-online/connect-to-exchange-online-powershell/connect-to-exchange-online-powershell.md
Service: exchange-online
GitHub Login: @chrisda
Microsoft Alias: chrisda

@officedocsbot assign @yogkumgit

Hi @yuval-a, thank you for your feedback.
At the beginning of the article I can read:
"It's a simple three-step process where you enter your Office 365 credentials, provide the required connection settings, and then import the Exchange Online cmdlets into your local Windows PowerShell session so that you can use them."
In the step 1:
"In the Windows PowerShell Credential Request dialog box, type your work or school account and password, and then click OK."
Maybe I´m missing something, please let me know.
Thanks!

@dariomws  Thank you very much for the contribution and sharing this explanation. @yuval-a
Hope this comment is helpful for you. If you see a documentation update is required, please feel free to open an issue for the same. We proceed here to close it. Thanks for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.


Memory leak

Bug
Description
I tried to deploy this project on my Kubernetes cluster and I can see a memory leak on the latest version (0.7.0). Each 2 minutes, the rbac-manager container take around 6Mb more of RAM.
Context
Version: 0.7.0
Log:
time="2019-07-10T14:30:57Z" level=info msg=----------------------------------
time="2019-07-10T14:30:57Z" level=info msg="rbac-manager 0.7.0 running"
time="2019-07-10T14:30:57Z" level=info msg=----------------------------------
time="2019-07-10T14:30:57Z" level=debug msg="Setting up client for manager"
time="2019-07-10T14:30:57Z" level=debug msg="Setting up manager"
time="2019-07-10T14:30:57Z" level=info msg="Registering components"
time="2019-07-10T14:30:57Z" level=debug msg="Setting up scheme"
time="2019-07-10T14:30:57Z" level=debug msg="Setting up controller"
time="2019-07-10T14:30:57Z" level=info msg="Watching resources related to RBAC Definitions"
time="2019-07-10T14:30:57Z" level=info msg="Watching RBAC Definitions"
time="2019-07-10T14:30:58Z" level=info msg="Reconciling RBACDefinition rbac-definition"
time="2019-07-10T14:30:58Z" level=debug msg="Cluster Role Binding already exists rbac-definition-xxx"
time="2019-07-10T14:30:58Z" level=debug msg="Matches requested Cluster Role Binding: rbac-definition-xxx"

RBACDefinition Kind:
apiVersion: rbacmanager.reactiveops.io/v1beta1
kind: RBACDefinition
metadata:
  creationTimestamp: 2019-07-10T14:00:33Z
  generation: 1
  labels:
    app.kubernetes.io/instance: rbac-definition
    app.kubernetes.io/managed-by: Tiller
    app.kubernetes.io/name: rbac-definition
    helm.sh/chart: rbac-definition-0.1.0
  name: rbac-definition
  resourceVersion: "39790"
  selfLink: /apis/rbacmanager.reactiveops.io/v1beta1/rbacdefinitions/rbac-definition
  uid: 1580e73a-a31b-11e9-b0a7-0e03d92c217e
rbacBindings:
- clusterRoleBindings:
  - clusterRole: cluster-admin
  name: xxx
  subjects:
  - kind: Group
    name: admin

Expected behaviour:
Memory should stay at same level in time if nothing change in cluster.
Thanks !

@oxyno-zeta Thanks for reporting this.  I'll try to take a look sometime this week.  My gut says it has to do with the new reconciliation features that were added recently.  If you have a chance, could you see if this happens in version 0.6.1 of rbac-manager?

Ok I found why this appears.
I have tested with the 0.6.1 and the problem was still the same.
After a moment, I realized that it was the liveness probe ! This one was running rbac-manager at each check. That creates the memory leak (and probably other problems :) ).
I made a pull request to fix this.
Another question:
Why this readiness/liveness exists ? As the container entrypoint is rbac-manager itself, if it crash, the container will exit. I don't see how this can be interesting, can you explain to me ?

Thanks for catching that!
The liveness/readiness are a tricky one in this case.  Normally it is our practice to have them on all containers, but it does seem a bit superfluous here.  The only thing this might catch is a very unlikely edge case where the container doesn't actually crash, but the rbac-manager process isn't working properly.  This particular probe is probably ineffective at this and there's probably a better way to do it.


scan command causing an exception and displaying [scanForItems] instead of value

related issue in LethalLib
happens for a few client in the same server with this modpack
018d2384-b7dd-b8c5-1d3b-d80c7dab3b3f

log: LogOutput.log
seems like they got an item with itemProperties.minValue higher then itemProperties.maxValue in Terminal.cs:TextPostProcess
I think this may have happened because we had a shopping cart on board of the ship, but I'm not certain

seems like most of the Samples have the min and max values reversed
e.g.
Thumper
Bracken

Minimum and maximum values are set through code which picks up the configurated values from user input, both for samples and shopping cart.
Only issue I know that causes [scanForItems] is nutcracker spawning due to its shotgun

Closing for lack of response.


Use separate Tokenizer/Lexer?

Hi,
I ran into a few issues when trying to parse the IFC express schema.
One being that something like TrueNorth is tried to be parsed (e.g. in an expression rule) as a boolean literal, because the literal rule has higher priority than the simple_id rule, but obviously after changing the order of these rules made something like True not a boolean literal anymore.
So I think there are two options to solve this in its core issue (I think it's just a sign for further issues that may arise because of ambiguous parsing):
Either all the basic parsing rules check that they are not another basic parsing rule (e.g. simple_id checks that it doesn't contain e.g. literals or other things that may also be a simple_id) or use a separate lexer/tokenizer that weeds these cases out already.
I personally prefer using a lexer, it's easier to restrict the problem space/abstract the parser on top of that, because I also have had issues with weird parsing ambiguities in the past when not using a separate lexer (in way simpler languages). I think the BNF grammar of STEP and EXPRESS should allow tokenizing/lexing the whole input without having to think about modal lexing etc. but I'm not sure yet.
I have actually started writing a parser/lexer for the express language, I'm not sure yet, if I will progress this project much further though (I guess I underestimated the scope of supporting STEP completely).
My original motivation was having better error recovery/messages (by using something like chumsky as parser combinator library).
I think the lexer is almost complete, so you may be interested in this:
https://github.com/Philipp-M/express-parser/blob/6464b29e5eb14d70b0445b84567ed58fdfd144b6/src/lexer.rs

Btw. this may also be helpful in case you want to go with a lexer:
https://github.com/stepcode/stepcode/blob/develop/src/express/expscan.l


Updated Angular demo and did some minor cleanups according to https:/…

…/www.youtube.com/watch?v=u7BQksdfoJo&t=0s
What is the new behavior?
The angular demo was updated to correctly handle plugin version 0.1.0 sources, and minor cleanups to the plugin src were made.

Thank you @cjohn001 :)


Add ability to override IQE plugins on CJI

This adds a plugins field to the CJI IQE spec. By default, Clowder will use the plugin specified on the ClowdApp's .spec.testing.iqePlugin field (as it always has) -- but it can now be overridden using the 'plugins' field if desired when applying a CJI.

/retest


password issue

latest image exits immediately after starting unless you explicitly define -e POSTGRES_PASSOWRD=password
logs states, you must define password, however (according to all of my attempts) unless the value equals to password, your container exists. effectively there is no way to choose password at all which BTW equals to no password

Can you give all the commands you ran and any relevant files or logs for reproducing the issue
-e POSTGRES_PASSOWRD=password has a typo, so if you copied that from terminal that'd be the issue

unless the value equals to password, your container exists.

If you mean 'exits' then I can't reproduce
$ docker run -d --rm --name postgres -e POSTGRES_PASSWORD=testpass postgres
8d857fff8dc0d20772746e3a1d8cbc04c1f7c519c235751c066939a410351920

$ docker exec -it postgres psql -U postgres
psql (12.3 (Debian 12.3-1.pgdg100+1))
Type "help" for help.

postgres=#

This optional variable can be used to control the auth-method for host connections for all databases, all users, and all addresses. If unspecified then md5 password authentication is used. On an uninitialized database, this will populate pg_hba.conf via this approximate line:
echo "host all all all $POSTGRES_HOST_AUTH_METHOD" >> pg_hba.conf

See the PostgreSQL documentation on pg_hba.conf for more information about possible values and their meanings.
Note 1: It is not recommended to use trust since it allows anyone to connect without a password, even if one is set (like via POSTGRES_PASSWORD). For more information see the PostgreSQL documentation on Trust Authentication.
Note 2: If you set POSTGRES_HOST_AUTH_METHOD to trust, then POSTGRES_PASSWORD is not required.

https://github.com/docker-library/docs/tree/5e2c9cad0ded3ca38fbe9687b6e4ca6e7a149e01/postgres#postgres_host_auth_method


how to break through Windows' firewall?

I use tcpServer API to create a tcp server in Windows 7 system listening on port 9003
But others cannot connect to it because the windows firewall forbids inbound traffic with port 9003
I wonder if there is an API allowing the chrome app to write a firewall rule to allow inbound traffic with specific port number?
Of course when chrome app wants to write a firewall rule, it needs User's permission, in case of User has no idea about how to configure firewall rule.

Thanks.

I think this issue has no solution, but it enlightened me about the issue of Windows Firewall, which I had completely forgotten about and was causing me a lot of uneasiness.


Stable Baselines testing a model is not working as intended?

@araffin , sorry to bother. Although you may not be able to help me out on my rather... specific issue. Could you perhaps provide me with the information needed to print the output of the network, softmax/tanh? The only output i am getting now is the actual action, though i want to check whether my network is saturated or not which could cause this weird behaviour to create?

You can get the action probabilities with this function.
Two suggestions:

Did you use LSTM policies? If you did, the prediction loop gets bit more terms.
Check that environment has same behaviour during training and testing, e.g. some seed does not change this too much.
Check RL tips in docs if that would bring up some ideas that could be wrong.

Apart from that I do not know what suggestions to give. Stable-baselines side seems to work, and we do not have too much time to delve into individual problems like these.

You can get the action probabilities with this function.
Suggestions:

Did you use LSTM policies? If you did, the prediction loop gets bit more terms.
Check that environment has same behaviour during training and testing, e.g. some seed does not change this too much.
Check RL tips in docs if that would bring up some ideas that could be wrong.

Apart from that I do not know what suggestions to give. Stable-baselines side seems to work, and we do not have too much time to delve into individual problems like these.

Understood

Please delete issue

Please delete issue


Improve setState-after-dispose error message

We now explicitly mention the possibility of a memory leak.
Fixes #2978

@Hixie

I think I would have gone even more strongly against the mounted check, but this is fine.


Suddenly getting "Captcha required"

Summary
Captcha required appears for some accounts
Reproduction Steps
Just trying to log in, join a DM, and getting the captcha login error:
discord.errors.CaptchaRequired: 400 Bad Request (error code: -1): Captcha required
Code
No response
Expected Results
User logs in normally
Actual Results
File "D:\py\py.mq.midjourney\venv\lib\site-packages\discord\client.py", line 1940, in join_guild
data = await state.http.join_guild(guild_id, lurking, state.session_id)
File "D:\py\py.mq.midjourney\venv\lib\site-packages\discord\http.py", line 949, in request
headers['X-Captcha-Key'] = await captcha_handler(e)
File "D:\py\py.mq.midjourney\venv\lib\site-packages\discord\client.py", line 747, in handle_captcha
raise exception
File "D:\py\py.mq.midjourney\venv\lib\site-packages\discord\http.py", line 929, in request
raise CaptchaRequired(response, data)  # type: ignore
discord.errors.CaptchaRequired: 400 Bad Request (error code: -1): Captcha required
System Information

Python v3.10.6-final
discord.py-self v2.1.0-alpha

discord.py-self metadata: v2.1.0a4815+gcdc7e3c8

aiohttp v3.9.1
system info: Windows 10 10.0.19045

Checklist

[X] I have searched the open issues for duplicates.
[X] I have shared the entire traceback.
[X] I am using a user token (and it isn't visible in the code).

Additional Information
No response

If you're being CAPTCHA'd in the library and not in the official client, you can try installing the (VERY ALPHA) refactor/tls branch like this:
$ git clone https://github.com/dolfies/discord.py-self --branch refactor/tls
$ cd discord.py-self
$ python3 -m pip install -U .[voice]

is the tls branch still the suggested solution?


A big GPX file does not reappear after closing then reopening the site

F.Clean.gpx.txt
(Remove the .txt extension to test the GPX file)

Indeed it seems that the memory limit in localStorage is ~10MB. I could try to compress the data but the limit will always be hit at some point.

Thanks for your investigation. As soon as this limitation is mentionned in your About documentation, it's ok.


Initialise application [1/2]

Added

product api call (#161250236)

[Delivers #161250236]

@00eadeyemi missing getProduct added


Updated to 0.81.1 but it shows 0.81.0.dev0

**Home Assistant release with the issue: 0.81.1

Last working Home Assistant release (if known):
**Operating environment (Hass.io/Docker/Windows/etc.): Docker

Component/platform:

**Description of problem:
i updated to 81.1 and it show 0.81.0.dev0

Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):

Traceback (if applicable):

Additional information:

Showing as 81.1 here on a venv, which would suggest that your docker didn't upgrade to 81.1, so maybe the docker tags are out and when you asked for 81.1 you got 81.0.dev0.

This issue has been identified for Hass.io.
A new release/fix will be deployed at any moment now.

@frenck Do you have a link to an issue or a discussion about this problem?

Thanks Guys,
I can confirm I'm seeing the same behaviour after I just updated with the last 10 minutes.
Knotty

I had the same problem. Is any date for this fix? I'm using Hassio on Nuc. Thanks guys!!

Update to 0.81.2 and it should fix it.

@arsaboo I dont have this update yet. I think it is because updates for NUC always are released a couple of days later...

Unable to confirm, 0.81.1 broken and 0.81.2 not avalilable for raspberry:
Can't install homeassistant/raspberrypi3-homeassistant:0.81.2 -> 404 Client Error: Not Found ("manifest for homeassistant/raspberrypi3-homeassistant:0.81.2 not found").
I am on 0.81.0.dev0 and still waiting..

I have exactly the same problem :( Kaleo updated from 0.80 to 0.81.1 and got dev0 including with some errors in lovelace (which weren't there before).

This issue has been identified for Hass.io.
A new release/fix will be deployed at any moment now.

This has still not been updated yet.

I'm on Hass.io and the recent 0.81.2 fixed all issues.

Yep.. everything works great with 0.81.2


update pkgs for whitesource scan

There are some pretty big package jumps in this pr for the whitesource scans. Only two packages were flagged by the scan and they are both medium which is the good news. The bad news is that these pkgs require multiple other dependencies to update as well, namely controller-runtime which is currently at 0.6.2 which came out in August 2020. The namespace_controller.go file makes heavy use of this pkg and a lot of what is used is deprecated in version 0.7.0 which makes it pretty difficult to update the version without significant refactoring. According to the build failures, none of the CRUD functions exist in the package being used so every line that creates, updates, patches, or deletes something no longer works. This particular file is very important as well seeing as it more or less handles all of the reconciliation logic for the namespacescope operator.

Closing this pr in favor of https://github.com/IBM/ibm-namespace-scope-operator/pull/251 due to problems described in comment above


Add basic trigonometry using taylor series.

For all those times you wanted to set the size of an element to sin(10). But seriously, I did actually use this combined with calc to properly size some elements that had been skewed (or rotated). YMMV.

💁 #neverforget

🌮 🌀

🐫

😭


Egardia redesign - generic component and sensor support

Description:
We re-architected the alarm_control_panel.egardia component to be a generic component. Also, adding in sensor support. Docs not yet written, code is not high quality yet: works but needs some review! Will write docs after code is in good shape. Replacement of #11871 .
Related issue (if applicable): fixes #
Pull request in home-assistant.github.io with documentation (if applicable): home-assistant/home-assistant.github.io#<home-assistant.github.io PR number goes here>
Example entry for configuration.yaml (if applicable):
egardia:
    host: YOUR_HOST
    username: YOUR_USERNAME
    password: YOUR_PASSWORD

Checklist:

[X] The code change is tested and works locally.

If user exposed functionality or configuration variables are added/changed:

[ ] Documentation added/updated in home-assistant.github.io

If the code communicates with devices, web services, or third-party tools:

[X] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[X] New dependencies have been added to the REQUIREMENTS variable (example).
[X] New dependencies are only imported inside functions that use them (example).
[X] New dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.
[X] New files were added to .coveragerc.

If the code does not interact with devices:

[ ] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[ ] Tests have been added to verify that the new code works.

@MartinHjelmare  thanks for your extensive review! This really helped bringing the code to the right level.

@MartinHjelmare any chance you might be able to complete the review? :)

Please try to search the source for an example that has a similar validation schema. I do most review on mobile, so that kind of task is very hard for me.
I will try to find an example for you but I think you can probably do it quicker. :+1:

I am wondering about adding a configurable polling interval setting for the sensors. Do you know of any good examples of this? It is easy to add the config of course, but how do I actually tell HASS to poll more or less often depending on the config?

Without platform config sections, you need to add the scan interval option to the egardia component config, set should_poll to false in the platforms and implement the polling yourself in the platforms, using the interval configured in the component. To call a function at a regular interval there is a helper function in helper.py, track_time_interval.

@MartinHjelmare it seems all fine now, let me know if there is anything else. I might add the polling interval config later, not in this PR.

@MartinHjelmare updated the code as requested let me know if there is any thing else.

Travis build failed because of unrelated tests.

Awesome! I'll write the docs tomorrow.


Roll Engine from 965fbbed1776 to 43ad8347e148 (89 revisions)

Roll Engine from 965fbbed1776 to 43ad8347e148 (89 revisions)
https://github.com/flutter/engine/compare/965fbbed1776...43ad8347e148
2020-06-17<EMAIL_ADDRESS>Roll Skia from de980231f62c to 3244745c3d4b (1 revision) (flutter/engine#19081)
2020-06-17<EMAIL_ADDRESS>Roll Dart SDK from 4b9aa2bd7ecb to 7e5fe50b244c (4 revisions) (flutter/engine#19080)
2020-06-17<EMAIL_ADDRESS>Manual roll of Dart 021a49e88c...4b9aa2bd7e (flutter/engine#19079)
2020-06-17<EMAIL_ADDRESS>Roll Skia from f08a82b52dbf to de980231f62c (1 revision) (flutter/engine#19078)
2020-06-17<EMAIL_ADDRESS>Roll Skia from 5ca9d1a3414a to f08a82b52dbf (3 revisions) (flutter/engine#19077)
2020-06-16<EMAIL_ADDRESS>Manual roll of Dart 6d4e7d6830...021a49e88c (flutter/engine#19074)
2020-06-16<EMAIL_ADDRESS>Roll Skia from f1eb43e8800b to 5ca9d1a3414a (8 revisions) (flutter/engine#19072)
2020-06-16<EMAIL_ADDRESS>take web_ui to null safety (flutter/engine#19027)
2020-06-16<EMAIL_ADDRESS>Instantiate image codec doc fix (flutter/engine#19062)
2020-06-16<EMAIL_ADDRESS>Roll Fuchsia Linux SDK from YEXby... to aVCEp... (flutter/engine#19071)
2020-06-16<EMAIL_ADDRESS>Revert add createOverlaySurface JNI #19040 (flutter/engine#19075)
2020-06-16<EMAIL_ADDRESS>Roll Skia from 762cb4ea46dd to f1eb43e8800b (8 revisions) (flutter/engine#19063)
2020-06-16<EMAIL_ADDRESS>Revert "Remove pipeline in favor of layer tree holder (#18901)" (flutter/engine#19066)
2020-06-16<EMAIL_ADDRESS>Manual roll of Dart f043f9e5f6...6d4e7d6830 (flutter/engine#19065)
2020-06-16<EMAIL_ADDRESS>Add support for headless mode (flutter/engine#19038)
2020-06-16<EMAIL_ADDRESS>Allow access to raw zircon handle (flutter/engine#19052)
2020-06-16<EMAIL_ADDRESS>Roll Fuchsia Mac SDK from OiCnN... to 6I5dv... (flutter/engine#19061)
2020-06-16<EMAIL_ADDRESS>Roll Skia from f4ec452b7ab3 to 762cb4ea46dd (1 revision) (flutter/engine#19060)
2020-06-16<EMAIL_ADDRESS>Platform resolved locale and Android localization refactor (flutter/engine#18645)
2020-06-16<EMAIL_ADDRESS>Roll Fuchsia Linux SDK from evdT_... to YEXby... (flutter/engine#19058)
2020-06-16<EMAIL_ADDRESS>Roll Skia from 47111d18f48d to f4ec452b7ab3 (4 revisions) (flutter/engine#19057)
2020-06-16<EMAIL_ADDRESS>Rename trace-whitelist to trace-allowlist (flutter/engine#19047)
2020-06-16<EMAIL_ADDRESS>Roll Fuchsia Mac SDK from crMVM... to OiCnN... (flutter/engine#19055)
2020-06-16<EMAIL_ADDRESS>Add createOverlaySurface JNI (flutter/engine#19040)
2020-06-16<EMAIL_ADDRESS>Roll Skia from e3a39f7053bd to 47111d18f48d (9 revisions) (flutter/engine#19053)
2020-06-16<EMAIL_ADDRESS>Roll Skia from 602b4024858c to e3a39f7053bd (4 revisions) (flutter/engine#19048)
2020-06-15<EMAIL_ADDRESS>started polling the gpu usage (flutter/engine#18752)
2020-06-15<EMAIL_ADDRESS>updated tests names (flutter/engine#18966)
2020-06-15<EMAIL_ADDRESS>Roll Skia from 08ac84a66a5e to 602b4024858c (7 revisions) (flutter/engine#19046)
2020-06-15<EMAIL_ADDRESS>Roll Fuchsia Linux SDK from Gm8Wf... to evdT_... (flutter/engine#19045)
2020-06-15<EMAIL_ADDRESS>Roll Fuchsia Linux SDK from ThzHh... to Gm8Wf... (flutter/engine#18998)
2020-06-15<EMAIL_ADDRESS>Adding support for image filtering in CanvasKit backend. (flutter/engine#19035)
2020-06-15<EMAIL_ADDRESS>Roll Fuchsia Mac SDK from XHlPK... to crMVM... (flutter/engine#19042)
2020-06-15<EMAIL_ADDRESS>Roll Skia from 45fe2e8a9914 to 08ac84a66a5e (4 revisions) (flutter/engine#19041)
2020-06-15<EMAIL_ADDRESS>Roll Skia from ac16760df463 to 45fe2e8a9914 (4 revisions) (flutter/engine#19028)
2020-06-15<EMAIL_ADDRESS>Roll Fuchsia Mac SDK from pVORF... to XHlPK... (flutter/engine#19039)
2020-06-14<EMAIL_ADDRESS>Roll Fuchsia Mac SDK from 9XDKA... to pVORF... (flutter/engine#19037)
2020-06-13<EMAIL_ADDRESS>Roll Fuchsia Mac SDK from Q196k... to 9XDKA... (flutter/engine#19034)
2020-06-13<EMAIL_ADDRESS>Roll Fuchsia Mac SDK from H-uAk... to Q196k... (flutter/engine#19032)
2020-06-13<EMAIL_ADDRESS>Revert to last-known-good-rev of Dart SDK (flutter/engine#19031)
2020-06-13<EMAIL_ADDRESS>Fix hit testing logic in fuchsia a11y (flutter/engine#19029)
2020-06-12<EMAIL_ADDRESS>Wire up channel for restoration data (flutter/engine#18042)
2020-06-12<EMAIL_ADDRESS>Call Shell::NotifyLowMemory when backgrounded/memory pressure occurs on Android (flutter/engine#19026)
2020-06-12<EMAIL_ADDRESS>[fuchsia] Add ability to configure separate data and asset dirs (flutter/engine#18858)
2020-06-12<EMAIL_ADDRESS>onEndFrame JNI (flutter/engine#18867)
2020-06-12<EMAIL_ADDRESS>Roll Skia from 637838d20abd to ac16760df463 (1 revision) (flutter/engine#19025)
...

Repo has passed 43ad8347e148; will open a new dry run.


adding CLI Flag for  chainID in txsim for improved transaction control

Problem
txsim lacks a CLI flag for specifying the chain ID. Instead, it dynamically determines the chain ID by querying the target endpoint and assigns this ID to the generated transactions. This approach assumes that the transactions are intended for the same chain ID as the receiver's. However, if the endpoint changes its chain ID, submitting transactions may encounter issues, such as the master account having insufficient balance in the new chain or other failures due to a mismatch in chain IDs. This can create confusion for users trying to identify the root cause of the failure. Furthermore, there's a possibility that the transaction will succeed, but it might inadvertently be submitted to the wrong chain, diverging from the intended goal.
Solution
Providing user with a chain id flag to determine their intended chain.

This approach assumes that the transactions are intended for the same chain ID as the receiver's.

Can you give me an example where this is not the case

This approach assumes that the transactions are intended for the same chain ID as the receiver's.

Can you give me an example where this is not the case

In a testing experiment, we encountered an issue where the endpoint was updated to a newer version of Mocha. This upgrade led to transaction failures because the account held funds on the old chain ID, but not on the newly upgraded one.

That makes sense, but in this scenario, if you had supplied a chain ID, the transaction would still fail because the node that you had submitted to belongs to the new chain.
I guess my point is that you should get the chainID from the node you're submitting transactions to because if it's not that chainID you will fail regardless. Perhaps the only reason for supplying the chainID is so that you can fail fast but you could perform some sanity checks on the endpoint before running the txsim

That makes sense, but in this scenario, if you had supplied a chain ID, the transaction would still fail because the node that you had submitted to belongs to the new chain.

Right, however, if users could supply the chain ID and if a proper error message were shown for any mismatch between the endpoint and the intended chain ID, it would save a lot of debugging time in finding the root cause of failed transactions.

Perhaps the only reason for supplying the chainID is so that you can fail fast but you could perform some sanity checks on the endpoint before running the txsim

In my opinion, incorporating the chain ID in txsim and using it for the generated transactions would significantly enhance the user experience. Given that the chain ID is an integral part of a submitted transaction, it is more practical for users to specify it directly rather than having it inferred from the supplied endpoint. Additionally, if there's a mismatch between the chain ID and the endpoint, users could be notified to switch to an appropriate endpoint. This approach seems more user-friendly and efficient to me.

Actually most of the time the ChainID isn't known by the user. For example, if you're submitting a transaction on Keplr it derives the chain you are using based off the prefix in the account and works out the corresponding chainID you need to sign over. I was arguing that this made it simpler in terms of UX as it's one less variable the user has to find but that being said I don't find this decision too critical and am not opposed if we want to add the optional flag to the CLI.

I was arguing that this made it simpler in terms of UX as it's one less variable the user has to find but that being said I don't find this decision too critical and am not opposed if we want to add the optional flag to the CLI.

I still support adding an optional flag for the chain ID. However, if there's insufficient interest in this feature, I will move forward with closing this issue.

TBH I'm not strongly opinionated. I'm okay with the CLI flag or auto fetching it from the node. Will close for now b/c seems like we're not doing this soon.


output can take a username as an arg

Output entries starting with U will be converted to IM channels.
Please let me know if there's a better way to go about this.
Thanks,
Andy

This is a great idea! If you're still interested in this, mind rebasing and adding some tweaks? Looking forward to getting this in!

Coverage decreased (-0.04%) to 29.224% when pulling 7ec89b81880cd605160b82d8c7fa9cecdf665c6a on aerickson:output_can_take_username into f9f2fd5684c655fc83de56f02f9481aaa74998d9 on slackhq:master.

Coverage decreased (-0.04%) to 29.224% when pulling 7ec89b81880cd605160b82d8c7fa9cecdf665c6a on aerickson:output_can_take_username into f9f2fd5684c655fc83de56f02f9481aaa74998d9 on slackhq:master.

Coverage increased (+0.7%) to 29.954% when pulling d6e08c5393ccd7404b1a4c93e12c060a50e9b80c on aerickson:output_can_take_username into f9f2fd5684c655fc83de56f02f9481aaa74998d9 on slackhq:master.

Coverage increased (+0.7%) to 29.954% when pulling d6e08c5393ccd7404b1a4c93e12c060a50e9b80c on aerickson:output_can_take_username into f9f2fd5684c655fc83de56f02f9481aaa74998d9 on slackhq:master.

Coverage increased (+0.7%) to 29.954% when pulling ad1586b3265bb4a66190edd1a8aefa4338fc6e47 on aerickson:output_can_take_username into f9f2fd5684c655fc83de56f02f9481aaa74998d9 on slackhq:master.

Coverage increased (+0.7%) to 29.954% when pulling ad1586b3265bb4a66190edd1a8aefa4338fc6e47 on aerickson:output_can_take_username into f9f2fd5684c655fc83de56f02f9481aaa74998d9 on slackhq:master.

Coverage increased (+0.7%) to 29.954% when pulling ad1586b3265bb4a66190edd1a8aefa4338fc6e47 on aerickson:output_can_take_username into f9f2fd5684c655fc83de56f02f9481aaa74998d9 on slackhq:master.

@Yasumoto Sorry for the delay. I'm not exactly sure how the group messaging should work. Please let me know if you think of anything else.


Unable to get example working in standalone project

Hi @cjsmith - thanks for sharing this package!
I was able to clone your repo and get the example app working on my device (successfully sent messages back and forth between my phone and watch), but when I try using the react-native-connect-iq-mobile-sdk in my own react-native project (with identical code in my App.tsx, the "Call Get Connected Devices" button brings me to the Garmin Connect app and then back to my app, but doesn't display any connected devices.
Wondering if you have any suggestions for what I might need to do. Thanks!
Here's the link to my repo: https://github.com/zrachlin/rn-garmin-connect-iq-test

Glad to hear you figured it out Zach.  I will update the docs to make it clearer that you need to update the AppDelegate .


Document nightly requirement?

This is such a cool crate with an awesome idea behind it! 😄 I've been keeping an eye on the crate for a little while and for some reason I thought it had become possible to use on stable. It took me a little while to realize dacquiri still requires nightly. It might be helpful to others like me to document in the README requires nightly.
As a sidenote: Do you envision a usable subset of dacquiri being possible on stable now that GATs have landed (or do we need TAIT, RPITIT and friends)?

Hello! Thank you for the very kind comment :)
I should probably update the documentation to make that little more clear, you're right about that!

Do you envision a usable subset of dacquiri being possible on stable now that GATs have landed (or do we need TAIT, RPITIT and friends)?

Ohhhh this is an interesting question. I like the idea of a feature flag allowing you to opt-in and out of the "unstable nightly" crazy zone. Let me think about that a bit more and see what I can come up with!

I just fell into that same trap :) Cannot use nightly for production system so hand rolling type safety instead


replacing old "Stories" & "Submissions" table with "Stories-New" and "Submissions-New" and fixed seed data

Description
Fixes

What work was done?
Removed the current Stories and Submissions routers and renamed the existing Stories-New and Submissions-New to just Stories and Submissions (basically replaced)

Why was this work done?
To incorporate the Stories-New and Submissions-New tables to the schema. These tables were created in the first place to be able to collect important data such as timestamps of when they stared reading/writing.

Any relevant links or images / screenshots
Trello card

Type of change
Please delete options that are not relevant.

[ ] New feature (non-breaking change which adds functionality)
[x] Breaking change (fix or feature that would cause existing functionality to not work as expected)
The tests needs to be updated or re-written. Other than that, it is a new feature with non-breaking change
[x] This change requires a documentation update
We are changing columns in two tables therefore we also need to change the Swagger docs

Change Status

[x] Complete, tested, ready to review and merge

Has This Been Tested

[x] Yes
All affected endpoints tested with Postman
I also had Tristan Miller from the frontend take a look at the endpoints and FE data

Checklist

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] My code has been reviewed by at least one peer
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
Swagger Docs need update
[ ] New and existing unit tests pass locally with my changes
Tests are failing as expected due to changes in the tables

I am sorry, I did not know you were working on this. Maybe we can collaborate?
https://github.com/BloomTech-Labs/scribble-stadium-be/pull/95

Thanks for the immediate review @chrislauyc. All requested changes were added. Please resolve the conversation as you see fit. Thank you :)

Thanks Hansel for doing all of this. Was nice working with you!


Crash from unloadWorldFromDimId Mixin method mismatch

[22:48:25] [Server thread/INFO] [mixin]: Instancing error handler class org.spongepowered.mod.mixin.handler.MixinErrorHandler
[22:48:25] [Server thread/INFO] [Sponge]: /********************************************************************************************************/
[22:48:25] [Server thread/INFO] [Sponge]: /*                                                                                */
[22:48:25] [Server thread/INFO] [Sponge]: /* Oh dear. Something went wrong and the server had to shut down!                                       */
[22:48:25] [Server thread/INFO] [Sponge]: /*                                                                                */
[22:48:25] [Server thread/INFO] [Sponge]: /*------------------------------------------------------------------------------------------------------*/
[22:48:25] [Server thread/INFO] [Sponge]: /*                                                                                */
[22:48:25] [Server thread/INFO] [Sponge]: /* A critical error was encountered while blending Sponge with Forge!                                   */
[22:48:25] [Server thread/INFO] [Sponge]: /*                                                                                */
[22:48:25] [Server thread/INFO] [Sponge]: /*   Possible causes are:                                                                               */
[22:48:25] [Server thread/INFO] [Sponge]: /*                                                                                */
[22:48:25] [Server thread/INFO] [Sponge]: /*    * An incompatible Forge "core mod" is present. Try removing other mods to                         */
[22:48:25] [Server thread/INFO] [Sponge]: /*      see if the problem goes away.                                                                   */
[22:48:25] [Server thread/INFO] [Sponge]: /*                                                                                */
[22:48:25] [Server thread/INFO] [Sponge]: /*    * You are using the wrong version of Minecraft Forge. You must use the                            */
[22:48:25] [Server thread/INFO] [Sponge]: /*      correct version of Forge when running Sponge, this version is for                               */
[22:48:25] [Server thread/INFO] [Sponge]: /*      <IP_ADDRESS>7 (you are running <IP_ADDRESS>7)                                                     */
[22:48:25] [Server thread/INFO] [Sponge]: /*                                                                                */
[22:48:25] [Server thread/INFO] [Sponge]: /*    * An error exists in Sponge itself. Ensure you are running the latest version                     */
[22:48:25] [Server thread/INFO] [Sponge]: /*      of Sponge.                                                                                */
[22:48:25] [Server thread/INFO] [Sponge]: /*                                                                                */
[22:48:25] [Server thread/INFO] [Sponge]: /*    * Gremlins are invading your computer. Did you feed a Mogwai after midnight?                      */
[22:48:25] [Server thread/INFO] [Sponge]: /*                                                                                */
[22:48:25] [Server thread/INFO] [Sponge]: /*------------------------------------------------------------------------------------------------------*/
[22:48:25] [Server thread/INFO] [Sponge]: /*                                                                                */
[22:48:25] [Server thread/INFO] [Sponge]: /* Technical details:                                                                                */
[22:48:25] [Server thread/INFO] [Sponge]: /*                                                                                */
[22:48:25] [Server thread/INFO] [Sponge]: /*      Failed on class : org.spongepowered.common.world.DimensionManager                               */
[22:48:25] [Server thread/INFO] [Sponge]: /*         During phase : DEFAULT                                                                       */
[22:48:25] [Server thread/INFO] [Sponge]: /*                Mixin : common.world.MixinDimensionManager                                            */
[22:48:25] [Server thread/INFO] [Sponge]: /*               Config : mixins.forge.core.json                                                        */
[22:48:25] [Server thread/INFO] [Sponge]: /*           Error Type : org.spongepowered.asm.mixin.transformer.InvalidMixinException                 */
[22:48:25] [Server thread/INFO] [Sponge]: /*            Caused by : Unknown                                                                       */
[22:48:25] [Server thread/INFO] [Sponge]: /*              Message : Overwrite target unloadWorldFromDimId was not located in the target class     */
[22:48:25] [Server thread/INFO] [Sponge]: /*                                                                                */
[22:48:25] [Server thread/INFO] [Sponge]: /********************************************************************************************************/

Wat?
@Mumfrey why is this happening?
I changed the return type to boolean in SpongeCommon: https://github.com/SpongePowered/SpongeCommon/commit/a2e4f7b7#diff-8f8dae704b9b4b4e617edc675fc8424eR190
and then in Sponge: https://github.com/SpongePowered/Sponge/commit/f3c1c65#diff-2dfb33d7ab15cac40571159cf2e5fca3R116
All should be good right?
It works fine when running from eclipse, the .mixin.out even shows it worked
[...]
    @Overwrite
    @MixinMerged(
        mixin = "org.spongepowered.mod.mixin.core.common.world.MixinDimensionManager",
        priority = 1000,
        sessionId = "9e8ba62a-91eb-490f-ad2e-1624f61c9293"
    )
    public static boolean unloadWorldFromDimId(int id) {
        WorldServer world = net.minecraftforge.common.DimensionManager.getWorld(id);
[...]

Do you need @Overwrite(remap = false) since you are overwriting a forge method?

I get the same error on server start. But until know i thought i have messed something up myself.

Well, just to confirm, I dropped Simon's most recent Forge commit (f3c1c6525dc4a8eb2c22d03c667eda6edaf020e1) and reset the common ref to SpongeCommon@aa2bcadeec97561560e66bdd3e2064dbd7ff0c06, which allowed my server to start without this error.

@ryantheleach The entire mixin has remap = false in the @Mixin annotation so I don't think that's the problem. The other overwrites would have issues too if that were the case.

@DarkArc Just (force-)pull from Sponge and build again.
Either someone secretly force repushed the (fixed) commit or the latest commit was just stuck somewhere in git so I/we could not check it out.
I'm not sure why this had happened, but yesterday it didn't work for me.
And I'm sure that i pulled because i got all the commits from last week that time.
Has anyone a clue how this could have happened?

I tested on a clean forge server (<IP_ADDRESS>7) with Sponge build 517 and could not reproduce.
No commits were recently force pushed.
The only thing I think could have caused this issue is that you've built the jar yourself and used an incorrect version of DimensionManager. Possibly not checked-out the latest SpongeCommon, or perhaps the class was cached last time you built and it used the cached version rather than recompiling.
I don't see how this could be a fault with MixinDimensionManger.

@simon816 Today i could pull the latest commit, but yesterday my eclipse told me i was uptodate.
That's why i thought of those two possibilities:

Either someone secretly force repushed the (fixed) commit or the latest commit was just stuck somewhere in git so I/we could not check it out.

I don't think it was a cache problem because i executed cleanCache setupDecompWorkspace before building it after encountering the issue for the first time.
Although I'm not sure whether its the same issue with @DarkArc.

Not sure what caused this originally, but it seems to be fixed now.


Inference.rs uses the new power curve, but the default parameters are from v4

pub(crate) const DECAY: f64 = -0.5;
/// (9/10) ^ (1 / DECAY) - 1
pub(crate) const FACTOR: f64 = 19f64 / 81f64;
/// This is a slice for efficiency, but should always be 17 in length.
pub type Weights = [f32];

pub static DEFAULT_WEIGHTS: [f32; 17] = [
    0.27, 0.74, 1.3, 5.52, 5.1, 1.02, 0.78, 0.06, 1.57, 0.14, 0.94, 2.16, 0.06, 0.31, 1.34, 0.21,
    2.69,
];

Hopefully this will be fixed before 23.12 is released.

But the benchmark also uses that parameters. It's a loop. We couldn't know the new parameters until we run the benchmark with previous parameters.

I know, I just find it weird that you decided to implement FSRS-4.5 before finishing the benchmark to obtain the new default parameters. Feel free to close this issue once you finish benchmarking and obtain the new default parameters, just don't forget to tell Dae to update Anki 23.12.

Other questions:

Should we re-run the benchmark with the new default parameters?
Which value should be chosen for the new default parameters?

Ideally, if you have the time before 23.12 is released, yes.
The mode, I think. If this is with what you call "strong filter".

The mode parameters are [0.1, 0.58, 1.64, 5.38, 5.22, 1.14, 0.66, 0.0, 1.69, 0.1, 1.06, 2.12, 0.01, 0.28, 1.46, 0.0, 2.81]
It seems too aggressive:
1:again, 2:hard, 3:good, 4:easy

first rating: 1
rating history: 1,3,3,3,3,3,3,3,3,3,3
interval history: 0d,1d,2d,6d,16d,1.4m,3.4m,8.0m,1.5y,3.1y,6.4y
factor history: 0.0,0.0,2.00,3.00,2.67,2.62,2.45,2.34,2.22,2.13,2.05
difficulty history: 0,7.5,7.5,7.5,7.5,7.5,7.5,7.5,7.5,7.5,7.5

first rating: 2
rating history: 2,3,3,3,3,3,3,3,3,3,3
interval history: 0d,1d,3d,11d,1.2m,3.5m,9.6m,2.0y,5.0y,11.7y,25.9y
factor history: 0.0,0.0,3.00,3.67,3.18,2.97,2.77,2.60,2.45,2.33,2.22
difficulty history: 0,6.4,6.4,6.4,6.4,6.4,6.4,6.4,6.4,6.4,6.4

first rating: 3
rating history: 3,3,3,3,3,3,3,3,3,3,3
interval history: 0d,2d,8d,1.0m,3.6m,11.5m,2.8y,7.7y,19.8y,48.4y,100.0y
factor history: 0.0,0.0,4.00,3.88,3.48,3.19,2.95,2.75,2.58,2.44,2.07
difficulty history: 0,5.2,5.2,5.2,5.2,5.2,5.2,5.2,5.2,5.2,5.2

first rating: 4
rating history: 4,3,3,3,3,3,3,3,3,3,3
interval history: 0d,5d,23d,3.1m,11.5m,3.1y,9.7y,27.6y,73.6y,100.0y,100.0y
factor history: 0.0,0.0,4.60,4.09,3.66,3.34,3.07,2.85,2.67,1.36,1.00
difficulty history: 0,4.1,4.1,4.1,4.1,4.1,4.1,4.1,4.1,4.1,4.1

The preview of current parameters:
1:again, 2:hard, 3:good, 4:easy

first rating: 1
rating history: 1,3,3,3,3,3,3,3,3,3,3
interval history: 0d,1d,2d,5d,13d,1.0m,2.3m,5.0m,10.3m,1.7y,3.2y
factor history: 0.0,0.0,2.00,2.50,2.60,2.38,2.26,2.16,2.05,1.97,1.90
difficulty history: 0,7.1,7.0,6.9,6.8,6.7,6.6,6.5,6.4,6.3,6.3

first rating: 2
rating history: 2,3,3,3,3,3,3,3,3,3,3
interval history: 0d,1d,3d,9d,25d,2.1m,4.9m,10.9m,1.9y,3.8y,7.2y
factor history: 0.0,0.0,3.00,3.00,2.78,2.52,2.35,2.22,2.09,2.00,1.91
difficulty history: 0,6.1,6.1,6.0,5.9,5.9,5.8,5.8,5.8,5.7,5.7

first rating: 3
rating history: 3,3,3,3,3,3,3,3,3,3,3
interval history: 0d,1d,4d,13d,1.3m,3.5m,8.5m,1.6y,3.4y,7.0y,13.5y
factor history: 0.0,0.0,4.00,3.25,3.00,2.67,2.46,2.29,2.15,2.03,1.93
difficulty history: 0,5.1,5.1,5.1,5.1,5.1,5.1,5.1,5.1,5.1,5.1

first rating: 4
rating history: 4,3,3,3,3,3,3,3,3,3,3
interval history: 0d,6d,21d,2.2m,6.1m,1.3y,3.0y,6.5y,13.3y,26.0y,48.2y
factor history: 0.0,0.0,3.50,3.10,2.80,2.54,2.34,2.18,2.05,1.95,1.86
difficulty history: 0,4.1,4.1,4.2,4.3,4.3,4.4,4.4,4.4,4.5,4.5

You could do two dry runs (btw, the benchmark repo should include a dry run both for v4 and for 4.5) with two different sets of parameters, mode and median, to see which one results in lower RMSE.

Also, if it turns out the mode parameters are better (lower RMSE), then the benchmark entries for unoptimized v4 and 4.5 should use mode parameters; if it turns out the median parameters are better, then the benchmark entries should use median parameters.

@L-M-Sherlock is this critical for 23.12, or can it wait until 23.12.1?

It's not critical.

The dry run result of current default parameters:
| FSRS-4.5-dry-run | 0.3901 | 0.3310 | 0.1044 |

The result of the mode parameters:
| FSRS-4.5-dry-run | 0.4190 | 0.3489 | 0.1401 |

The result shows that the current default parameters are better.

But the current default parameters are median parameters from v4. We need median parameters from 4.5.

Also, please rename "FSRS-4.5-dry-run" to "FSRS-4.5 (default parameters)". I know I use the phrase "dry run", but for other people it may not be very clear.

The result of the median parameters:

Algorithm
Log Loss
RMSE
RMSE(bins)

FSRS-4.5-dry-run
0.3856
0.3257
0.0947

I will update the default parameters this week and re-run the benchmark.

But then how did you get a lower number here?

They are weighted by different rules.


Scrape store products

Provides some basic automation to push product/create events onto our RetailStream.
Includes serverless.yml which import roles from the retail/stream part of the project.

Please re-target the initial-formation branch since the code this relates to is being worked there.  If we'd like to change our workflow, lets talk about that.

Going to merge into WIP branch: initial-formation.


Backport "Support for prebuilt Ruby binary on x64-mingw-ucrt platform (#29684)" to 1.47.x

Add support for prebuilt Ruby binary on x64-mingw-ucrt platform, which is used for Windows RubyInstaller Ruby 3.1+

Thank you!


use dynamic route throw error

{
path: '/',
component: App,
indexRoute: {getComponent: resolveIndexComponent},
childRoutes: [
//使用到公共模块的时候用到
{path: ':module', getComponent(location,cb){
System.import(../components/${location.params.module})
.then(module => cb(null, module.default))
.catch(handleError);
}},
]
}
Error occurred loading dynamic route
index.js:25 Error: Cannot find module './about'.(…)

this is my other project and it work for me ,but no universal render
export default function createRoutes() {
injectAsyncReducer('config', configReducer)
injectAsyncReducer('HOME_INDEX_INDEX', HomeReducer)
return {
path: '/mc',
component: main,
indexRoute: {component: Home},
childRoutes: [
//使用到公共模块的时候用到
{path: ':module/:controller', getComponent(location,cb){
const key = ${location.params.module}/${location.params.controller}
System.import(app/${key}/index).then(loadRoute(location,cb,key)).catch(errorLoading)
}},
//独立子页面
{path: ':module/:controller/:action', getComponent(location,cb){
const key = ${location.params.module}/${location.params.controller}/${location.params.action}
System.import(app/${key}/index).then(loadRoute(location,cb,key)).catch(errorLoading)
}},
{path: '*', component: nomatch}
]
}
}

Hmmm, it's a slightly different configuration to my own.  I will play around with this concept soon as I plan to make some updates to the routing configuration.

I have a working solution :)
Just patching it up.  It should be available soon on the next branch.

@ckken I have made a push that to the next branch that includes a working model for what you are after. :)

Released :)

thx , all react in github your demo is best


Review multiple Item Input techniques

Do we want to use simple form, handlebar and mustache, or some other way of creating our forms.
At this point we have a mixture between the two.

Look at the two techniques and decide which would be easier to maintain into the future.

Accessibility
Make sense to developer for maintenance
Ease of Testing

We should discuss this during the retrospective


Fix verify share table items and access point share no bucket policy

Feature or Bugfix

Bugfix

Detail

Verify Share throws errors on verifying table shares since introducing the new way to initialize_clients() for LF Shares when determining the source Glue DB

This PR includes the initialize_client() call before starting to verify the table share item
This PR fixes verify share checks on table shares where the glue DB is hosted in a separate catalog account

When processing a folder item share - it will fail if there is no pre-existing bucket policy on the S3 bucket

This PR adds checks similar to how we handle with bucket sharing method get_bucket_policy_or_default()

Relates

N/A

Security
Please answer the questions below briefly where applicable, or write N/A. Based on
OWASP 10.

Does this PR introduce or modify any input fields or queries - this includes
fetching data from storage outside the application (e.g. a database, an S3 bucket)?

Is the input sanitized?
What precautions are you taking before deserializing the data you consume?
Is injection prevented by parametrizing queries?
Have you ensured no eval or similar functions are used?

Does this PR introduce any functionality or component that requires authorization?

How have you ensured it respects the existing AuthN/AuthZ mechanisms?
Are you logging failed auth attempts?

Are you using or adding any cryptographic features?

Do you use a standard proven implementations?
Are the used keys controlled by the customer? Where are they stored?

Are you introducing any new policies/roles/users?

Have you used the least-privilege principle? How?

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Tested this PR for the following:

Create Share for only Folder Share Item on Imported Dataset with no S3 Bucket Policy

[x] Bucket Policy created correctly

[x] Share Succeeds

[x] Can Access Folder as Requestor Principal IAM Role

Start Verify Share Items on Bucket and Table Items with Glue DB hosted in a separate Catalog Account in Data.all

[x] Share Verify successfully runs and determines share remains in healthy status (as expected)

Thanks for the PR @noah-paige. I confirm both errors and I am testing it. I will approve and merge once it is reviewed and tested


Rewrite convert

This rewrites the ConversionResource and infer_constant in the inferrer to be simpler. The tests seem to take 10-20% less time to execute overall with these changes. For example, for the RNN, step_infer is about 30% faster because it doesn't reroute to new constants when the constants already contain converted value (also, it doesn't set a _converted field in nodes anymore, which had always been a dirty hack).
I also fixed the debugger when using buche.

Everything passes now.


Always enabled pointer

Is there a way to always have a pointer enabled, instead of having to use a button?

There isn't but I could add an option to allow this if you want.
What would you expect it to do though? always be on but only throw the destination set event (i.e. teleport me now event) when you press a button?

@thestonefox I was thinking for something like a main menu screen, where I can point at different buttons (e.g. Singleplayer, Multiplayer, Options), then hit the trigger and change the scene.

@thesbros Ok so basically the beam is always on but doesn't throw it's event till you hit the button.
I'll look to add this feature (maybe today)

Exactly. Thanks!

Completed with f690eb229231563cccbec1e852c439f9028bd9f3
There is a new option on the pointer script called "Beam Always On"
Should do what you need.


Strange behavior with notify_update_strict

Hello,
I have a configuration with on_update calling an API to expire some of my streams.
Sometimes my connection is dropped. I know it because I see a connection timeout in my logs.

2019/11/05 04:01:18 [error] 6783#0: *1200726 upstream timed out (110: Connection timed out) while reading response header from upstream, client: <IP_ADDRESS>, server: , request: "GET /verify?app=live&flashver=Elemental%20Live%20/%<IP_ADDRESS>3179%20&swfurl=&tcurl=rtmp://ingest.live.video.mydomain.com/live&pageurl=&addr=<IP_ADDRESS>&clientid=1047358&call=update_publish&time=22235&timestamp=968503814&name=inhouseingest_554_0_0ee85640-2f89-4c98-9c9a-089d2144153d HTTP/1.0", subrequest: "/transmissions", upstream: "http://<IP_ADDRESS>:80/transmissions?signal=inhouseingest&limit=100&page=1", host: "<IP_ADDRESS>:8080"

Reading the docs, I noticed that it should not happen because of this part:

Toggles strict mode for on_update callbacks. Default is off. When turned on all connection errors, timeouts as well as HTTP parse errors and empty responses are treated as update failures and lead to connection termination. When off only valid HTTP response codes other that 2xx lead to failure.

I did not set notify_update_strict to off because it is the default.
What am I missing?

One more log:

2019/11/05 11:41:44 [info] 22#0: *27 shutdown() failed (107: Socket not connected) while sending to client, client: <IP_ADDRESS>, server: , request: "GET /verify?app=&flashver=ngx-local-relay&swfurl=&tcurl=&pageurl=&addr=unix:/tmp/nginx-rtmp.1&clientid=2&call=update_play&time=30&timestamp=27708&name=coelhao_480_0_1628124e-3111-413d-87d4-19999537990c HTTP/1.0", host: "<IP_ADDRESS>:8080"

I had a problem with upstream directives, blocking my requests.
I noticed that proxy_upstream_cache_lock does not go well with this module.


Extra Argument for Sub and Show_List commands to filter

Lists are getting pretty long, I propose we add an extra argument so people can filter the resulting list.
e.g. in Nerdland Discord executing:

!sub meetup only shows lists containing the word meetup
-> in this case we still need to figure out how to handle situations where the filter word is also the exact name of a list

!show_lists meetup only shows the lists containing the word meetup

I'd say you can just give a full list of the results, even if there's an exact match?

My thoughts exactly, if there's more than 1 match we just show the list with some helpful text i.e. "we found more than 1, which one did you mean?".