v5 createGlobalStyles does not work on production

Environment
styled-components: 5.0.0-beta.5
NPM: 6.9.0
Node: v8.11.4
OS: Windows 10

Reproduction
Try https://github.com/facebook/create-react-app build script after setting some global settings to body and html

I am seeing the same issue:

next v8.1.0
styled-components v5.0.0-beta.5
babel-plugin-styled-components v1.10.2

abbreviated code from _app.js
import { Provider } from 'react-redux';
import { createGlobalStyle } from 'styled-components';
import { reset } from '../config/css';

const GlobalStyle = createGlobalStyle`${reset}`;
class MyApp extends App {
  render() {
    const {
      Component,
      pageProps,
      queryParams,
      store,
      cookies,
    } = this.props;
    return (
      <Container>
        <Provider
          store={store}
        >
          <ErrorBoundary>
            <GlobalStyle />
            <Component
              {...pageProps}
              queryParams={queryParams}
              cookies={cookies}
            />
          </ErrorBoundary>
        </Provider>
      </Container>
    );
  }

reset (subset):
import styledNormalize from 'styled-normalize';

const reset = `
  ${styledNormalize}
  html {
    height: 100%;
    box-sizing: border-box;
    font-size: 62.5%;

    &[data-font-size="small"] {
      font-size: 47%;
    }

    &[data-font-size="large"] {
      font-size: 90%;
    }
  }
 /* ......other css, no other template tags, imports or props references */

I usually see the following in my source, followed by the contents of the createGlobalStyles: /* sc-component-id: sc-global-1715659747 */
Now, I am seeing this: data-styled.g94[id="sc-global-kCpMCY"]{content:"sc-global-kCpMCY,"}
Please let me know if I can provide additional info. Thanks so much for all the hard work on v5 - can't wait to get this into production!

Can you try https://github.com/styled-components/styled-components/releases/tag/v5.0.0-beta.6? Has some cGS changes baked into it.

Thanks for the fix! it looks like it's working for us.
On Thu, Jun 27, 2019 at 9:51 AM Evan Jacobs<EMAIL_ADDRESS>wrote:

Can you try
https://github.com/styled-components/styled-components/releases/tag/v5.0.0-beta.6?
Has some cGS changes baked into it.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/styled-components/styled-components/issues/2650?email_source=notifications&email_token=AEDZ2M742YSJ6UW5ZB3EGN3P4TAWBA5CNFSM4H3HDZ52YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYXFY5Y#issuecomment-506354807,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEDZ2M3ZDFFKBQ5HW37QV43P4TAWBANCNFSM4H3HDZ5Q
.

--
Jason Aslakson
Principal Software Engineer
America's Test Kitchen

Great, @ozluy can you try as well?

@probablyup I will try it on 8th July thank you for a quick fix👏👏👏

Going to close this in the meantime as cGS has definitely been working for my company projects. When you test the new beta out if there's an issue feel free to reopen.


CI: Add a flag to commits to instruct Circle only to build docs

Assuming this works, we'll be able to tag commits that don't need to run real code.

Super handy!

Well that went quickly. 15min build time, 10 of that docker pull + docker build.
Any commit message that contains (case-insensitive) docs only docs_only or docsonly will trigger this condition. If we'd prefer, I can change it to some other set of triggers.

Have we tried a commit that builds everything? I'm implementing the same idea to mriqc and it seems to identify all commits as DOCSONLY.

We looked at CircleCI together @oesteban and everything looks good.

Sorry, I misread the circle.yml file.


TA-84144

https://cockroachlabs.atlassian.net/browse/DOC-5008

This change is

a84144.md LGTM

Looks like changes from another PR got pulled into this somehow.. will try to revert


Elden Ring Update 1.05 Conflicts

Ever since update 1.05 came out for elden ring, mods wont load correctly. Even a mod that claimed to be compatible with the update isnt working. Please look into this issue and please inform on your consensus.

You think there will be an update ?

Any of you have Elden Ring being ran as admin?


getURL always prepends "public/" to the key that is passed in

Describe the bug
When I try to generate pre signed URLs for a users object (within their s3 bucket folder) the amplify function prepends "public/" to it, this invalidating the request.
let data = try await Amplify.Storage.getURL(key: key, options: .init(pluginOptions: AWSStorageGetURLOptions(validateObjectExistence: true)))
// Path that Amplify creates
Path: /public/private/ap-southeast-2:191f...E787.jpeg
// Key that is passed in
private/ap-southeast-2:191f8f74-4df...E787.jpeg
// More info
I have used the AWS console to produce a pre signed URL to verify that it works.
The  user has getObject permissions as per the IAM and bucket policy.
The user / app can upload and delete files.
I tried removing and adding the storage.
The amplify configuration.JSON file lists the default access as guest
},
"storage": {
"plugins": {
"awsS3StoragePlugin": {
"bucket": "chat...ain",
"region": "ap-southeast-2",
"defaultAccessLevel": "guest"
}
}
}
}
So I am considering that this is why the "public/" is prepended. But I cannot figure out how to change this configuration. I can change the json, but that doesn't seem that fix it. And if I run amplify push, that setting gets overwritten.
Steps To Reproduce
1. Set up amplify app / storage
2. Upload a file to the users store (private)
3. Request a resigned URL as per above

Expected behavior
It is expected that the URL be generated.
Amplify Framework Version
2.11.6
Amplify Categories
Storage
Dependency manager
Swift PM
Swift version
5.8.1
CLI version
12.1.1
Xcode version
14.3.1 -- 14E300c
Relevant log output
// Error log
Storage Error occurred: The key 'public/private/ap-southeast-2:191f8...E787.jpeg' could not be found with message: Unable to generate URL for non-existent key: public/private/ap-southeast-2:191f8...E787.jpeg.. Please ensure the key is valid or the object has been uploaded
The object for key in the public access level should exist under the public folder as public/<key>.
When looking for the key in protected or private access level, it will be under its respective folder
such as 'protected/<targetIdentityId>/<key>' or 'private/<targetIdentityId>/<key>'.

Is this a regression?
No
Regression additional context
No response
Device
iPhone 14 Pro Simulator
iOS Version
iOS 16.4
Specific to simulators
No response
Additional context
No response

Sorry, I am just a bad dev. I figure it out.


Create Docker Images and pleace them at ghcr

Awesome! Would be very useful to create and upload docker images to github container registry using github actions. Thanks!

Yes please. Docker would so useful


You forgot to update the VERSION file?

Hi guys... someone forgot to update the VERSION file with this 1.2.2 release ? ;)

Ha @arkid, we're busted! I guess 1.2.3 is around the corner then!

Fixed in faf7c8debcfecd483e04050c9d5679faa0be9df0!

Hahaha I wouldn't have mentioned it otherwise but because twill reads the file into the footer of the site its visible constantly when using the software, hence confusing.


margo build failed

GoSublime error: MarGo build failed
|                > This is possibly a bug or miss-configuration of your environment.
|                > For more help, please file an issue with the following build output
|                > at: https://github.com/DisposaBoy/GoSublime/issues/new
|                > or alternatively, you may send an email to<EMAIL_ADDRESS>|                >
|                >
|                > cmd: ['C:\\Go\\\\bin\\go.exe', 'build', '-tags', '', '-v', '-o', 'gosublime.margo_r18.02.17-2_go?.exe', 'gosublime/cmd/margo']
|                > stdout: |                >  |                >
|                > stderr: |                > ..\..\..\..\GoSublime\src\gosublime\cmd\margo_pkg\broker.go:4:2: cannot find package "bufio" in any of: |                > 	~\go\src\bufio (from $GOROOT) |                > 	~\AppData\Roaming\Sublime Text 3\Packages\User\GoSublime\src\bufio (from $GOPATH) |                > 	~\AppData\Roaming\Sublime Text 3\Packages\GoSublime\src\bufio |                > ..\..\..\..\GoSublime\src\gosublime\cmd\margo_pkg\broker.go:5:2: cannot find package "bytes" in any of: |                > 	~\go\src\bytes (from $GOROOT) |                > 	~\AppData\Roaming\Sublime Text 3\Packages\User\GoSublime\src\bytes (from $GOPATH) |                > 	~\AppData\Roaming\Sublime Text 3\Packages\GoSublime\src\bytes |                > ..\..\..\..\GoSublime\src\gosublime\cmd\margo_pkg\common.go:5:2: cannot find package "encoding/base64" in any of: |                > 	~\go\src\encoding\base64 (from $GOROOT) |                > 	~\AppData\Roaming\Sublime Text 3\Packages\User\GoSublime\src\encoding\base64 (from $GOPATH) |                > 	~\AppData\Roaming\Sublime Text 3\Packages\GoSublime\src\encoding\base64 |                > ..\..\..\..\GoSublime\src\gosublime\something-borrowed\gocode\package_bin.go:4:2: cannot find package "encoding/binary" in any of: |                > 	~\go\src\encoding\binary (from $GOROOT) |                > 	~\AppData\Roaming\Sublime Text 3\Packages\User\GoSublime\src\encoding\binary (from $GOPATH) |                > 	~\AppData\Roaming\Sublime Text 3\Packages\GoSublime\src\encoding\binary |                > ..\..\..\..\GoSublime\src\gosublime\cmd\margo_pkg\broker.go:6:2: cannot find package "encoding/json" in any of: |                > 	~\go\src\encoding\json (from $GOROOT) |                > 	~\AppData\Roaming\Sublime Text 3\Packages\User\GoSublime\src\encoding\json (from $GOPATH) |                > 	~\AppData\Roaming\Sublime Text 3\Packages\GoSublime\src\encoding\json |                > ..\..\..\..\GoSublime\src\gosublime\something-borrowed\gocode\package_text.go:5:2: cannot find package "errors" in any of: |                > 	~\go\src\errors (from $GOROOT) |                > 	~\AppData\Roaming\Sublime Text 3\Packages\User\GoSublime\src\errors (from $GOPATH) |                > 	~\AppData\Roaming\Sublime Text 3\Packages\GoSublime\src\errors |                > ..\..\..\..\GoSublime\src\gosublime\cmd\margo_pkg\main.go:7:2: cannot find package "flag" in any of: |                > 	~\go\src\flag (from $GOROOT) |                > 	~\AppData\Roaming\Sublime Text 3\Packages\User\GoSublime\src\flag (from $GOPATH) |                > 	~\AppData\Roaming\Sublime Text 3\Packages\GoSublime\src\flag |                > ..\..\..\..\GoSublime\src\gosublime\cmd\margo_pkg\common.go:7:2: cannot find package "fmt" in any of: |                > 	~\go\src\fmt (from $GOROOT) |                > 	~\AppData\Roaming\Sublime Text 3\Packages\User\GoSublime\src\fmt (from $GOPATH) |                > 	~\AppData\Roaming\Sublime Text 3\Packages\GoSublime\src\fmt |                > ..\..\..\..\GoSublime\src\gosublime\cmd\margo_pkg\common.go:8:2: cannot find package "go/ast" in any of: |                > 	~\go\src\go\ast (from $GOROOT) |                > 	~\AppData\Roaming\Sublime Text 3\Packages\User\GoSublime\src\go\ast (from $GOPATH) |                > 	~\AppData\Roaming\Sublime Text 3\Packages\GoSublime\src\go\ast |                > ..\..\..\..\GoSublime\src\gosublime\cmd\margo_pkg\m_import_paths.go:5:2: cannot find package "go/build" in any of: |                > 	~\go\src\go\build (from $GOROOT) |                > 	~\AppData\Roaming\Sublime Text 3\Packages\User\GoSublime\src\go\build (from $GOPATH) |                > 	~\AppData\Roaming\Sublime Text 3\Packages\GoSublime\src\go\build |                > ..\..\..\..\GoSublime\src\gosublime\cmd\margo_pkg\common.go:9:2: cannot find package "go/parser" in any of: |                > 	~\go\src\go\parser (from $GOROOT) |                > 	~\AppData\Roaming\Sublime Text 3\Packages\User\GoSublime\src\go\parser (from $GOPATH) |                > 	~\AppData\Roaming\Sublime Text 3\Packages\GoSublime\src\go\parser |                > ..\..\..\..\GoSublime\src\gosublime\cmd\margo_pkg\common.go:10:2: cannot find package "go/printer" in any of: |                > 	~\go\src\go\printer (from $GOROOT) |                > 	~\AppData\Roaming\Sublime Text 3\Packages\User\GoSublime\src\go\printer (from $GOPATH) |                > 	~\AppData\Roaming\Sublime Text 3\Packages\GoSublime\src\go\printer |                > ..\..\..\..\GoSublime\src\gosublime\cmd\margo_pkg\m_lint.go:6:2: cannot find package "go/scanner" in any of: |                > 	~\go\src\go\scanner (from $GOROOT) |                > 	~\AppData\Roaming\Sublime Text 3\Packages\User\GoSublime\src\go\scanner (from $GOPATH) |                > 	~\AppData\Roaming\Sublime Text 3\Packages\GoSublime\src\go\scanner |                > ..\..\..\..\GoSublime\src\gosublime\cmd\margo_pkg\common.go:11:2: cannot find package "go/token" in any of: |                > 	~\go\src\go\token (from $GOROOT) |                > 	~\AppData\Roaming\Sublime Text 3\Packages\User\GoSublime\src\go\token (from $GOPATH) |                > 	~\AppData\Roaming\Sublime Text 3\Packages\GoSublime\src\go\token |                > ..\..\..\..\GoSublime\src\gosublime\something-borrowed\gocode\config.go:7:2: cannot find package "io" in any of: |                > 	~\go\src\io (from $GOROOT) |                > 	~\AppData\Roaming\Sublime Text 3\Packages\User\GoSublime\src\io (from $GOPATH) |                > 	~\AppData\Roaming\Sublime Text 3\Packages\GoSublime\src\io |                > ..\..\..\..\GoSublime\src\gosublime\something-borrowed\gocode\client.go:7:2: cannot find package "io/ioutil" in any of: |                > 	~\go\src\io\ioutil (from $GOROOT) |                > 	~\AppData\Roaming\Sublime Text 3\Packages\User\GoSublime\src\io\ioutil (from $GOPATH) |                > 	~\AppData\Roaming\Sublime Text 3\Packages\GoSublime\src\io\ioutil |                > ..\..\..\..\GoSublime\src\gosublime\something-borrowed\gocode\autocompletecontext.go:9:2: cannot find package "log" in any of: |                > 	~\go\src\log (from $GOROOT) |                > 	~\AppData\Roaming\Sublime Text 3\Packages\User\GoSublime\src\log (from $GOPATH) |                > 	~\AppData\Roaming\Sublime Text 3\Packages\GoSublime\src\log |                > ..\..\..\..\GoSublime\src\gosublime\something-borrowed\types\const.go:12:2: cannot find package "math/big" in any of: |                > 	~\go\src\math\big (from $GOROOT) |                > 	~\AppData\Roaming\Sublime Text 3\Packages\User\GoSublime\src\math\big (from $GOPATH) |                > 	~\AppData\Roaming\Sublime Text 3\Packages\GoSublime\src\math\big |                > ..\..\..\..\GoSublime\src\gosublime\something-borrowed\gocode\server.go:8:2: cannot find package "net" in any of: |                > 	~\go\src\net (from $GOROOT) |                > 	~\AppData\Roaming\Sublime Text 3\Packages\User\GoSublime\src\net (from $GOPATH) |                > 	~\AppData\Roaming\Sublime Text 3\Packages\GoSublime\src\net |                > ..\..\..\..\GoSublime\src\gosublime\something-borrowed\gocode\gocode.go:7:2: cannot find package "net/http" in any of: |                > 	~\go\src\net\http (from $GOROOT) |                > 	~\AppData\Roaming\Sublime Text 3\Packages\User\GoSublime\src\net\http (from $GOPATH) |                > 	~\AppData\Roaming\Sublime Text 3\Packages\GoSublime\src\net\http |                > ..\..\..\..\GoSublime\src\gosublime\something-borrowed\gocode\gocode.go:8:2: cannot find package "net/http/pprof" in any of: |                > 	~\go\src\net\http\pprof (from $GOROOT) |                > 	~\AppData\Roaming\Sublime Text 3\Packages\User\GoSublime\src\net\http\pprof (from $GOPATH) |                > 	~\AppData\Roaming\Sublime Text 3\Packages\GoSublime\src\net\http\pprof |                > ..\..\..\..\GoSublime\src\gosublime\something-borrowed\gocode\client.go:8:2: cannot find package "net/rpc" in any of: |                > 	~\go\src\net\rpc (from $GOROOT) |                > 	~\AppData\Roaming\Sublime Text 3\Packages\User\GoSublime\src\net\rpc (from $GOPATH) |                > 	~\AppData\Roaming\Sublime Text 3\Packages\GoSublime\src\net\rpc |                > ..\..\..\..\GoSublime\src\gosublime\cmd\margo_pkg\m_pkgdoc.go:8:2: cannot find package "net/url" in any of: |                > 	~\go\src\net\url (from $GOROOT) |                > 	~\AppData\Roaming\Sublime Text 3\Packages\User\GoSublime\src\net\url (from $GOPATH) |                > 	~\AppData\Roaming\Sublime Text 3\Packages\GoSublime\src\net\url |                > ..\..\..\..\GoSublime\src\gosublime\margo\meth\importpaths\importpaths.go:9:2: cannot find package "os" in any of: |                > 	~\go\src\os (from $GOROOT) |                > 	~\AppData\Roaming\Sublime Text 3\Packages\User\GoSublime\src\os (from $GOPATH) |                > 	~\AppData\Roaming\Sublime Text 3\Packages\GoSublime\src\os |                > ..\..\..\..\GoSublime\src\gosublime\something-borrowed\gocode\declcache.go:11:2: cannot find package "os/exec" in any of: |                > 	~\go\src\os\exec (from $GOROOT) |                > 	~\AppData\Roaming\Sublime Text 3\Packages\User\GoSublime\src\os\exec (from $GOPATH) |                > 	~\AppData\Roaming\Sublime Text 3\Packages\GoSublime\src\os\exec |                > ..\..\..\..\GoSublime\src\gosublime\cmd\margo_pkg\m_doc.go:7:2: cannot find package "path" in any of: |                > 	~\go\src\path (from $GOROOT) |                > 	~\AppData\Roaming\Sublime Text 3\Packages\User\GoSublime\src\path (from $GOPATH) |                > 	~\AppData\Roaming\Sublime Text 3\Packages\GoSublime\src\path |                > ..\..\..\..\GoSublime\src\gosublime\margo\filter.go:4:2: cannot find package "path/filepath" in any of: |                > 	~\go\src\path\filepath (from $GOROOT) |                > 	~\AppData\Roaming\Sublime Text 3\Packages\User\GoSublime\src\path\filepath (from $GOPATH) |                > 	~\AppData\Roaming\Sublime Text 3\Packages\GoSublime\src\path\filepath |                > ..\..\..\..\GoSublime\src\gosublime\something-borrowed\gocode\config.go:10:2: cannot find package "reflect" in any of: |                > 	~\go\src\reflect (from $GOROOT) |                > 	~\AppData\Roaming\Sublime Text 3\Packages\User\GoSublime\src\reflect (from $GOPATH) |                > 	~\AppData\Roaming\Sublime Text 3\Packages\GoSublime\src\reflect |                > ..\..\..\..\GoSublime\src\gosublime\something-borrowed\gocode\config.go:11:2: cannot find package "regexp" in any of: |                > 	~\go\src\regexp (from $GOROOT) |                > 	~\AppData\Roaming\Sublime Text 3\Packages\User\GoSublime\src\regexp (from $GOPATH) |                > 	~\AppData\Roaming\Sublime Text 3\Packages\GoSublime\src\regexp |                > package gosublime/cmd/margo |                > 	imports runtime: cannot find package "runtime" in any of: |                > 	~\go\src\runtime (from $GOROOT) |                > 	~\AppData\Roaming\Sublime Text 3\Packages\User\GoSublime\src\runtime (from $GOPATH) |                > 	~\AppData\Roaming\Sublime Text 3\Packages\GoSublime\src\runtime |                > ..\..\..\..\GoSublime\src\gosublime\something-borrowed\gocode\autocompletecontext.go:13:2: cannot find package "sort" in any of: |                > 	~\go\src\sort (from $GOROOT) |                > 	~\AppData\Roaming\Sublime Text 3\Packages\User\GoSublime\src\sort (from $GOPATH) |                > 	~\AppData\Roaming\Sublime Text 3\Packages\GoSublime\src\sort |                > ..\..\..\..\GoSublime\src\gosublime\something-borrowed\gocode\client.go:11:2: cannot find package "strconv" in any of: |                > 	~\go\src\strconv (from $GOROOT) |                > 	~\AppData\Roaming\Sublime Text 3\Packages\User\GoSublime\src\strconv (from $GOPATH) |                > 	~\AppData\Roaming\Sublime Text 3\Packages\GoSublime\src\strconv |                > ..\..\..\..\GoSublime\src\gosublime\margo\meth\importpaths\importpaths.go:11:2: cannot find package "strings" in any of: |                > 	~\go\src\strings (from $GOROOT) |                > 	~\AppData\Roaming\Sublime Text 3\Packages\User\GoSublime\src\strings (from $GOPATH) |                > 	~\AppData\Roaming\Sublime Text 3\Packages\GoSublime\src\strings |                > ..\..\..\..\GoSublime\src\gosublime\margo\opts.go:5:2: cannot find package "sync" in any of: |                > 	~\go\src\sync (from $GOROOT) |                > 	~\AppData\Roaming\Sublime Text 3\Packages\User\GoSublime\src\sync (from $GOPATH) |                > 	~\AppData\Roaming\Sublime Text 3\Packages\GoSublime\src\sync |                > ..\..\..\..\GoSublime\src\gosublime\something-borrowed\gocode\os_windows.go:7:2: cannot find package "syscall" in any of: |                > 	~\go\src\syscall (from $GOROOT) |                > 	~\AppData\Roaming\Sublime Text 3\Packages\User\GoSublime\src\syscall (from $GOPATH) |                > 	~\AppData\Roaming\Sublime Text 3\Packages\GoSublime\src\syscall |                > ..\..\..\..\GoSublime\src\gosublime\something-borrowed\gocode\package_text.go:10:2: cannot find package "text/scanner" in any of: |                > 	~\go\src\text\scanner (from $GOROOT) |                > 	~\AppData\Roaming\Sublime Text 3\Packages\User\GoSublime\src\text\scanner (from $GOPATH) |                > 	~\AppData\Roaming\Sublime Text 3\Packages\GoSublime\src\text\scanner |                > ..\..\..\..\GoSublime\src\gosublime\margo\meth\importpaths\importpaths.go:13:2: cannot find package "time" in any of: |                > 	~\go\src\time (from $GOROOT) |                > 	~\AppData\Roaming\Sublime Text 3\Packages\User\GoSublime\src\time (from $GOPATH) |                > 	~\AppData\Roaming\Sublime Text 3\Packages\GoSublime\src\time |                > ..\..\..\..\GoSublime\src\gosublime\something-borrowed\gocode\package_bin.go:10:2: cannot find package "unicode" in any of: |                > 	~\go\src\unicode (from $GOROOT) |                > 	~\AppData\Roaming\Sublime Text 3\Packages\User\GoSublime\src\unicode (from $GOPATH) |                > 	~\AppData\Roaming\Sublime Text 3\Packages\GoSublime\src\unicode |                > ..\..\..\..\GoSublime\src\gosublime\something-borrowed\gocode\package_bin.go:11:2: cannot find package "unicode/utf8" in any of: |                > 	~\go\src\unicode\utf8 (from $GOROOT) |                > 	~\AppData\Roaming\Sublime Text 3\Packages\User\GoSublime\src\unicode\utf8 (from $GOPATH) |                > 	~\AppData\Roaming\Sublime Text 3\Packages\GoSublime\src\unicode\utf8 |                > ..\..\..\..\GoSublime\src\gosublime\something-borrowed\gocode\os_windows.go:8:2: cannot find package "unsafe" in any of: |                > 	~\go\src\unsafe (from $GOROOT) |                > 	~\AppData\Roaming\Sublime Text 3\Packages\User\GoSublime\src\unsafe (from $GOPATH) |                > 	~\AppData\Roaming\Sublime Text 3\Packages\GoSublime\src\unsafe |                >
|                > exception: None
|   install state: busy
| sublime.version: 3143
| sublime.channel: stable
|       about.ann: a18.02.17-1
|   about.version: r18.02.17-2
|         version: r18.02.17-2
|        platform: windows-x64
|            ~bin: ~\AppData\Roaming\Sublime Text 3\Packages\User\GoSublime\windows-x64\bin
|       margo.exe: ~bin\gosublime.margo_r18.02.17-2_go?.exe (missing)
|          go.exe: c:/go\bin\go.exe (ok)
|      go.version: go?
|          GOROOT: C:/Users/user/go
|          GOPATH: c:/go
|           GOBIN: C:\Go\bin
|       set.shell: []
|       env.shell:
|       shell.cmd: ['C:\Windows\system32\cmd.exe', '/C', '${CMD}']
|    sh.bootstrap:
|                > 	error running sh-bootstrap.go: import cycle not allowed
|                > package main
|                > 	imports encoding/json
|                > 	imports bytes
|                > 	imports errors
|                > 	imports runtime
|                > 	imports runtime/internal/atomic
|                > 	imports unsafe
|                > 	imports runtime
|                >
|                > 	go version: (raw version string)
|                > 	shell bootstrap took 0.740s

I think you configured your GOROOT and GOPATH incorrectly. Typically C:/Users/user/go would be GOPATH, not GOROOT. You should also probably stop setting GOROOT and GOBIN.

@DisposaBoy thx  ,i resolve this problem,it is the GOROOT incorrectly


Add ELIMS as REST receiver

Problems statement
ELIMS has requested to move their transport to REST
What you need to know

ELIMS REST information and guidance can be obtained from Chris or Victor, and is found in a direct Slack chat as well
ELIMS noted that there may be firewall issues, so we should try to get to that point as soon as possible as it may block us temporarily (waiting on their IT team to troubleshoot)
ELIMS rest transport is not currently supported. We'll make to change to our REST transport to accommodate them.

Acceptance criteria

[ ] Change ELIMS receiver to REST transport
[ ] Successfully test messages with ELIMS

Testing to see if whitelisting has been overcome.

Waiting for ELIMS to send test messages through

ELIMS confirmed that this is complete. Pulling it out of this sprint and closing in last sprint.


Test test_page_loads::test_with_timings fails in Docker runs

This test is the only failing test when building with Docker. I'm going to skip it, but wanted to note that we should fix it.
  This usually indicates a bug "
                "in the application where a module was not imported "
                "and decorators or other functionality was called too late.\n"
                "To fix this make sure to import all your view modules, "
                "database models and everything related at a central place "
                "before the application starts serving requests."
            )
E           AssertionError: A setup function was called after the first request was handled.  This usually indicates a bug in the application where a module was not imported and decorators or other functionality was called too late.
E           To fix this make sure to import all your view modules, database models and everything related at a central place before the application starts serving requests.

/usr/local/lib/python3.6/dist-packages/flask/app.py:90: AssertionError

This is an environment life cycle failure works for me in native build mode. Happy to take it on.


Update HX711_ADC.cpp

Efficiency and code size improvement.
The first term in most of the if statements was redundant anyway due to the preceding if but the daisy chain of if can be dispensed with completely.
Tested out of context with
#include <stdio.h>
void calculate(int samples)
{
int divBit;
printf("%d ", samples);
samples >>= 1;
for(divBit = 0; samples != 0; samples >>= 1, divBit++);
printf("%d %d\n", 1 << divBit, divBit);

}
int main()
{
calculate(3);
calculate(7);
calculate(8);
}

I had to look over your code a number of times to understand how it worked, but in the end I got it. Very neat.
Thank you, much appreciated!

Hi Olav,
Glad you like it. I realised that my change was neither maximum neatness
nor maximum clarity!
For maximum neatness
for(samples >>= 1, divBit = 0; samples; samples >>= 1, divBit++);
or for slightly more clarity
divBit = 0;
for(samples >>= 1; samples != 0; samples >>= 1)
{
divBit++;
}
All three versions should produce identical assembler, apart from some
inconsequential changes in the order of a couple of things.
No, I am not suggesting that it should be changed!
Malcolm


“Unexpected end of JSON input ” 频繁出现这个问题

我：the map struct in javascript
chatgpt：In JavaScript, a "map" is a built-in data structure that allows you to store key-value pairs, where the keys can be of any type (including objects) and the values can be of any type (including other maps, arrays, or functions).
Here is an example
Unexpected end of JSON input
出现得挺频繁的，大佬有时间可以看一下吗

我也类似：Unterminated string in JSON at position 112

I have investigated and fixed this issue: #16
Investigation Result
I confirmed that this issue occurs when data received through the stream is incorrectly divided. This causes errors at JSON.parse, as the data is cut off in the middle of the JSON format.
The following example shows a case where the stream is split into two parts and it works correctly:
Successful Case
The first stream:
data: {"id":"chatcmpl-6wbHdXzs8Cgh4arATBF53vGOV1YmB","object":"chat.completion.chunk","created":1679424361,"model":"gpt-3.5-turbo-0301","choices":[{"delta":{"role":"assistant"},"index":0,"finish_reason":null}]}

data: {"id":"chatcmpl-6wbHdXzs8Cgh4arATBF53vGOV1YmB","object":"chat.completion.chunk","created":1679424361,"model":"gpt-3.5-turbo-0301","choices":[{"delta":{"content":"H"},"index":0,"finish_reason":null}]}

data: {"id":"chatcmpl-6wbHdXzs8Cgh4arATBF53vGOV1YmB","object":"chat.completion.chunk","created":1679424361,"model":"gpt-3.5-turbo-0301","choices":[{"delta":{"content":"e"},"index":0,"finish_reason":null}]}

The second stream:
data: {"id":"chatcmpl-6wbHdXzs8Cgh4arATBF53vGOV1YmB","object":"chat.completion.chunk","created":1679424361,"model":"gpt-3.5-turbo-0301","choices":[{"delta":{"content":"l"},"index":0,"finish_reason":null}]}

data: {"id":"chatcmpl-6wbHdXzs8Cgh4arATBF53vGOV1YmB","object":"chat.completion.chunk","created":1679424361,"model":"gpt-3.5-turbo-0301","choices":[{"delta":{"content":"l"},"index":0,"finish_reason":null}]}

data: {"id":"chatcmpl-6wbHdXzs8Cgh4arATBF53vGOV1YmB","object":"chat.completion.chunk","created":1679424361,"model":"gpt-3.5-turbo-0301","choices":[{"delta":{"content":"o"},"index":0,"finish_reason":null}]}

data: [DONE]

Error Case
The following example shows a case where JSON parsing fails and an error as the current issue occurs:
The first stream:
data: {"id":"chatcmpl-6wbHdXzs8Cgh4arATBF53vGOV1YmB","object":"chat.completion.chunk","created":1679424361,"model":"gpt-3.5-turbo-0301","choices":[{"delta":{"role":"assistant"},"index":0,"finish_reason":null}]}

data: {"id":"chatcmpl-6wbHdXzs8Cgh4arATBF53vGOV1YmB","object":"chat.completion.chunk","created":1679424361,"model":"gpt-3.5-turbo-0301","choices":[{"delta":{"content":"H"},"index":0,"finish_reason":null}]}

data: {"id":"chatcmpl-6wbHdXzs8Cgh4arATBF53vGOV1YmB","object":"chat.completion.chunk","created":1679424361,"model":"gpt-3.5-turbo-0301","choices":[{"delta":{"content":"e"},"index":0,"finish_reason":null}]}

data: {"id":"chatcmpl-6wbHdXzs8Cgh4arATBF53vGOV1YmB","obj

The second stream:
ect":"chat.completion.chunk","created":1679424361,"model":"gpt-3.5-turbo-0301","choices":[{"delta":{"content":"l"},"index":0,"finish_reason":null}]}

data: {"id":"chatcmpl-6wbHdXzs8Cgh4arATBF53vGOV1YmB","object":"chat.completion.chunk","created":1679424361,"model":"gpt-3.5-turbo-0301","choices":[{"delta":{"content":"l"},"index":0,"finish_reason":null}]}

data: {"id":"chatcmpl-6wbHdXzs8Cgh4arATBF53vGOV1YmB","object":"chat.completion.chunk","created":1679424361,"model":"gpt-3.5-turbo-0301","choices":[{"delta":{"content":"o"},"index":0,"finish_reason":null}]}

data: [DONE]

Solution
I have fixed this issue by combining the received stream data and parsing only the remaining data in each loop.


Q3 2022 STLT Onboarding

This is an epic to track STLT onboarding tickets that come into ReportStream during 2022 Q3 (July-Sept).

@chris-kuryak I'm going to close this epic. We no longer write onboarding tickets this way. I'll just make new tickets for Maine in the new format


Add Venue Apollo Server to the Router

LIIKUNTA-336.

Added a new venues subgraph
Composed a new supergraph with venues schema and Tprek datasource
Added readmes to subgraph folders.
Routing url configuration for the new venues subgraph
Propagate the headers from the requests to get the venue server to work properly

NOTE: Needed to change the Venue type name in the Unified-Search. It works like it is now, but it should also be updated to the Unified-Search itself.

Multi-step deployment, because the current CI environment cannot handle a concurrent deployment for router and app changes:

Copy and migrate the Apollo-Server for Venues and Hauki data from the old deprecated Liikunte-Helsinki repo: https://github.com/City-of-Helsinki/events-helsinki-monorepo/pull/110
Do the Apollo Router work for the added Venue-subgraph (added in step 1): https://github.com/City-of-Helsinki/events-helsinki-monorepo/pull/109
Add (copy and migrate) the Venue details page when the Venue datasource is available (added in step 2): https://github.com/City-of-Helsinki/events-helsinki-monorepo/pull/108

NOTE: The Apollo-Router Review fails because the Venue-subgraph is not yet routed. Because the Venue Apollo-server is still inside the Liikunta-Helsinki next-API, this router PR has a dependency to a deployed Liikunta-Helsinki. #110 is needed before this could succeed.

[ ] Route the Venue-subgraph to the current Liikunta prod

Codecov Report

Merging #109 (e1ad382) into LIIKUNTA-336-nextApi (cc03be7) will decrease coverage by 0.25%.
The diff coverage is n/a.

@@                   Coverage Diff                    @@
##           LIIKUNTA-336-nextApi     #109      +/-   ##
========================================================
- Coverage                 67.89%   67.64%   -0.26%
========================================================
  Files                       201      100     -101
  Lines                      4841     2380    -2461
  Branches                   1087      530     -557
========================================================
- Hits                       3287     1610    -1677
+ Misses                     1423      706     -717
+ Partials                    131       64      -67

Impacted Files
Coverage Δ

...rc/domain/event/eventInfo/utils/EventInfo.mocks.ts

apps/hobbies-helsinki/src/assets/icons/Icon404.tsx

...-events/components/shareLinks/TwitterShareLink.tsx

...nts/components/category/CategoryFilter.stories.tsx

...i/src/domain/event/similarEvents/SimilarEvents.tsx

...bbies-helsinki/src/assets/icons/IconLiterature.tsx

apps/hobbies-helsinki/src/pages/api/readiness.ts

...ps/hobbies-helsinki/src/assets/icons/IconCraft.tsx

apps/hobbies-helsinki/src/domain/place/utils.ts

apps/hobbies-helsinki/src/pages/articles/index.tsx

... and 91 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

[ ] Update the Unified-Search Venue type name to UnifiedSearchVenue

Solution in: https://github.com/City-of-Helsinki/unified-search/pull/80

[ ] Update the Azure devops -configuration for the router

Federation Router branch is deployed to platta: https://events-graphql-federation-hobbies-pr109.dev.hel.ninja :rocket::rocket::rocket:

Federation Router branch is deployed to platta: https://events-graphql-federation-events-pr109.dev.hel.ninja :rocket::rocket::rocket:

Federation Router branch is deployed to platta: https://events-graphql-federation-sports-pr109.dev.hel.ninja :rocket::rocket::rocket:

Hobbies-Helsinki branch is deployed to platta: https://harrastukset-pr109.dev.hel.ninja :rocket::rocket::rocket:

Events-Helsinki branch is deployed to platta: https://tapahtumat-pr109.dev.hel.ninja :rocket::rocket::rocket:

Sports-Helsinki branch is deployed to platta: https://liikunta-pr109.dev.hel.ninja :rocket::rocket::rocket:


jni: null terminate strings before passing to NewStringUTF

The data coming in from the logging interface doesn't seem to be null terminated in all cases. This constructs
a std::string and uses c_str() to get a null terminated version of the data that honors the specified length.
Risk Level: Medium, JNI changes
Testing: Existing tests
Docs Changes: n/a
Release Notes: n/a

ptal @buildbreaker @goaway @junr03
I think this is pretty safe to do at the cost of another string copy/allocation, and seems to fix the logging issue @jingwei99 ran into

Will look today.

Re-running test.

At what point is it null terminated prior to this? The string coming out of spdlog is not when using formatting (it allocates into a buffer and provides the size of the formatted string), after which point I think it's all string_view from there on, which also doesn't guarantee null termination. Maybe I'm missing a step?


Security Review of Token Negotiator flows

Review of the end-to-end flows according to the flows defined in https://miro.com/app/board/uXjVOTp0400=/

The review is complete with the report submitted to @AW-STJ.
@AW-STJ should we close this issue and open any relevant issues that require fixing instead?

Closing this ticket.


Exception fallback does not work in zuul

Describe the bug
I tried to use fallback with zuul within service  inner exception. However zuul does not work and return me its own default error page. My spring cloud bug is Edgware.SR1.
The Phenomenon  is as below. pls help me check it. thx a lot.

Sample
Below is my test case. If you have any puzzle with my demo , pls contact me. Or if I have any mistaken steps / configurations pls contact me . thx.
step 1: I used maven model project. my spring cloud version is Edgware.SR1.

step 2: I developed a demo service named user-service to stimulate a business exception.
@RequestMapping("/user")
@Controller
public class UserController {
@RequestMapping("/hello")
@ResponseBody
public String hello() {
	throw new RuntimeException("user ex");
	//return "hello user";
}

}

application.yml
server:
port: 9794

eureka:
client:
serviceUrl:
defaultZone: http://localhost:9791/eureka/
instance:
prefer-ip-address: true
lease-expiration-duration-in-seconds: 10
lease-renewal-interval-in-seconds: 5
spring:
application:
name: user-service
step 3: I developed an Eureka server

Bootstrap class
@SpringBootApplication
@EnableEurekaServer
public class EurekaApplication
{
public static void main( String[] args )
{
SpringApplication.run(EurekaApplication.class, args);
System.out.println( "Eureka OK" );
}
}

application.yml

server:
port: 9791
spring:
application:
name: eureka-server
eureka:
instance:
lease-renewal-interval-in-seconds: 10
lease-expiration-duration-in-seconds: 20
client:
registry-fetch-interval-seconds: 5
register-with-eureka: true
fetch-registry: true
serviceUrl:
defaultZone: http://localhost:9791/eureka/
server:
eviction-interval-timer-in-ms:  15000
step 4: I developed  zuul server and added a FallbackProvider

FallbackProvider class

@Component
public class GatewayFallbackRouter implements FallbackProvider{
@Override
public String getRoute() {
	return "user-service";
}

@Override
public ClientHttpResponse fallbackResponse() {
	return new ClientHttpResponse() {
        @Override
        public HttpStatus getStatusCode() throws IOException {
            return HttpStatus.INTERNAL_SERVER_ERROR;
        }

        @Override
        public int getRawStatusCode() throws IOException {
            return HttpStatus.INTERNAL_SERVER_ERROR.value();
        }

        @Override
        public String getStatusText() throws IOException {
            return "error";
        }

        @Override
        public void close() {

        }

        @Override
        public InputStream getBody() throws IOException {
            return new ByteArrayInputStream("The service is unavailable.".getBytes());
        }

        @Override
        public HttpHeaders getHeaders() {
            HttpHeaders headers = new HttpHeaders();
            headers.setContentType(MediaType.TEXT_PLAIN);
            return headers;
        }
    };
}

@Override
public ClientHttpResponse fallbackResponse(Throwable cause) {
	 if (cause != null && cause.getCause() != null) {
           System.out.println(cause.getCause().getMessage());
        }
        return fallbackResponse();
}

application.yml

server:
port: 9795
eureka:
client:
serviceUrl:
defaultZone: http://localhost:9791/eureka/
instance:
prefer-ip-address: true
lease-expiration-duration-in-seconds: 10
lease-renewal-interval-in-seconds: 5
spring:
application:
name: zuul-gateway
zuul:
routes:
bing:
path: /bing
url: http://cn.bing.com/
userService:
path: /userService/**
service-id: user-service
strip-prefix: true
step5 : use below url to check fallback whether work or not
http://localhost:9795/userService/user/hello?accessToken=1

Edgware is long not supported. Please update to Hoxton.SR7 and boot 2.3.3 and try again

hi guys, have any feedback on it? @spencergibb @spring-issuemaster

Edgware is long unsupported (and neither is boot 1.5.x). Please upgrade to boot 2.x and spring cloud Hoxton.SR8 and try again.

Edgware is long unsupported (and neither is boot 1.5.x). Please upgrade to boot 2.x and spring cloud Hoxton.SR8 and try again.

Thanks your reply. I have upgraded my demo with Hoxton.SR7 version. You can find it in my last comment on Aug 22th. Can you try it in your free time? Let me know your puzzle and improve zuul together.  :)

Please provide a minimal, complete, verifiable example that reproduces the issue.

If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed.

Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue.


[DUOS-1521][risk=no] Fix incorrect denied election status display

Addresses
https://broadworkbench.atlassian.net/browse/DUOS-1521
Use the same logic that we use on the chair/admin pages to determine approval/denial election status.
See also https://github.com/DataBiosphere/consent/pull/1362 where we do some data population for safety and consistency.

Have you read Terra's Contributing Guide lately? If not, do that first.

Label PR with a Jira ticket number and include a link to the ticket
Label PR with a security risk modifier [no, low, medium, high]
PR describes scope of changes
Get a minimum of one thumbs worth of review, preferably two if enough team members are available
Get PO sign-off for all non-trivial UI or workflow changes
Verify all tests go green
Test this change deployed correctly and works on dev environment after deployment

@quazi-broad

My console did show me some compilation warnings about src/libs/utils.js though

Yes, this is true, my other PR about fixing those is not in this PR. Once these are both merged, that should go away.


TTD-243: Initial buildout of QuerySlimmer

Heads up. One of the tests for onSubscriptionCancelled is failing.


feat: Type check array subscripts

Closes #416. See #415 for context.

Adds a new SubscriptAccess place that will be used to track array subscripts during linearity checking
This place is emitted when checking a subscript AST node
Ensures that subscripts in inout positions also implement a __setitem__ method

Codecov Report
Attention: Patch coverage is 90.62500% with 6 lines in your changes missing coverage. Please review.

Project coverage is 92.46%. Comparing base (59e82c8) to head (c3081a3).

Files
Patch %
Lines

guppylang/checker/core.py
84.00%
4 Missing :warning:

guppylang/checker/expr_checker.py
93.10%
2 Missing :warning:

Additional details and impacted files
@@               Coverage Diff               @@
##           feat/arrays     #420      +/-   ##
===============================================
- Coverage        92.48%   92.46%   -0.02%
===============================================
  Files               48       48
  Lines             5178     5232      +54
===============================================
+ Hits              4789     4838      +49
- Misses             389      394       +5

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Take FileName option through jsonopt

FileName option is currently still read directly from the opt struct causing a bug when multiple options are passed (due to case insensitivity change).
This should fix this.

Thanks for pointing out this issue. This was previously  repo, but the patch was not ported to github.
I just manually ported the fix. see my commit
https://github.com/fangq/jsonlab/commit/aa37e53049647b3b8aabf5d21facd030d0afb3d3

The issue is not completely fixed and [https://github.com/fangq/jsonlab/commit/aa37e53049647b3b8aabf5d21facd030d0afb3d3] does introduce backward compatibility issues. The following code does not work anymore:
saveOptions = struct('FileName',outFilePath,'FloatFormat','%d');
savejson('',jsonOutput,saveOptions);

I would suggest that on lines 155 and 158 opt.filename is replaced by jsonopt('FileName','',opt).

sorry, I realized that and fixed it in a later commit, see
https://github.com/fangq/jsonlab/commit/7dd018bdd9e6edc29985c42ffa49382725c887ab#diff-fd478412e6fa3eae7265335f9e64e842L100
please pull from the repo and let me know if this works for you. thanks

Your latest commit fixed the issue. Thanks


Add assertions to fuzz test

Add an example for using assertions within fuzz tests. This might be helpful since there is the caveat that when using assertions during fuzzing, one has to ensure that those assertions are not disabled, e.g., via NDEBUG. For larger projects one should factor out this testing for assertions but there are multiple ways to do this so inlining might be a good option for the sake of this exemplary file.

That looks like a lot of extra overhead for anyone trying to read fuzz_test/fuzz_tester.cpp. The test_for_assert() code really should be in its own function, whose only purpose is to cause a compilation failure when assertions are disabled.
I was thinking that you were going to add this code to a header file, and include that file in every fuzz test .cpp file. I prefer that solution to this, since it's easier to extend to large projects.
Another thought: You could put the test_for_assert() function in its own .cpp file, and then link that file into every fuzz target from CMakeLists.txt. Users would never need to include the header file in any fuzz test .cpp file, and the test_for_assert() function name would never pollute the symbol table. You would never have to think about it; you could just trust that the compiler won't produce a fuzz_test binary with assertions disabled.
On the other hand, I really don't think it's so bad to just check that CMAKE_BUILD_TYPE STREQUAL "Debug", as in #116; that would make this whole thing a lot simpler.
Perhaps we could get an opinion from @lefticus?

I have never seen a need to have an assertion inside my fuzz test. The point of the fuzz test is to simply run until an ASAN or UBSAN event is triggered.
Fuzz test, logically speaking, can never test for correctness. (because you don't know the correct answer to every possible input)

I was supportive of this idea when it was in #116; maybe I should not have been.
I think that if your program being tested contains meaningful assertions, you would want your fuzz test to trip them. You want to know if it’s at all possible that your assertions could be false. If you’re using a release build, the assertions get stripped out and you will lose that information.
On the other hand, a release build on -O3 module could have a completely different set of branch points, and maybe you’d want to fuzz that too. This PR would prevent you from doing so.

Ok, it has been a whole year since we have heard anything from @avitase on this. We have plenty of reasons listed above not to use something like this, so I will close it. @avitase, if you disagree with this decision, or you have anything further to add, please let us know and we will reopen it for you.


[Request for Contributions (Issues)] Adding test to show that fit() is reducing reproducibility.

Hi!
Folowing #8906
Calling fit changes the numpy random state. I don't think this is a bug, but I don't have much experience so I'm giving it the benefit of the doubt. Please tell me if this necessitate changes in the codebase, so that I can make a PR.
Citing @MaxG87 :

Checking the source code I noticed that model.fit finally invokes np.random.shuffle(...), thus altering the global random state. This can be fixed very easily by introducing a new member of type np.random.RandomState, and then using this one instead of the global one.
I would appreciate very much if this could be fixed as it would remove one source of irreproducibility.
In my opinion, calling functions should not alter the global random state.

I was asked to explain my point of view over at #8906.
I think the described behaviour is very undesirable. It does not only alter the behaviour of other functions / objects depending on the numpy random state. It also introduces difficulties when pausing and continuing the training of models.
I found this when I tried to implement my own variant of HyperBand random search. There I train some models for some epochs, drop the worst ones and continue to train the best ones. However, there the order in which each element sees the data depends on how many models were trained how long before. This totally hurts reproducibility. Given some set of hyperparameters, the performance cannot be reproduced, as the order of the samples cannot be reproduced.
So, fixing this will be an important step towards easier reproducibility of model training. Not to infer with other codes randomness then only comes as a bonus.

While this pr was already closed, I want to support the statement that using the global random state is very undesirable for reproducibility. Actually, I strongly believe that every function shouldn't use the global random state except for convenience.
I suggest that model.fit should create there own np.random.RandomState and give users absolute control to select their own seed. There is no reason to force a user to use the mutable global random state to make already unpredictable training more unpredictable. If randomness is actually needed, just don't use seed.
I'm now using my own generator to make the results consistent. But I think it's still a great improvement.


docs: add trademark information to every possible published readme

Add trademark information to every README page that may be published or become an entry point. (bin/bindings/core/repo)
Unified format.

## Trademarks & Licenses

Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0

Apache OpenDAL, OpenDAL, and Apache are either registered trademarks or trademarks of the Apache Software Foundation.

It may also be necessary to add a logo statement if the entry uses the logos(such as the OpenDAL logo and Apache feather logo).
May need to check one by one.


Use native React context API

Reasoning behind PR:

Smaller package
Fewer dependencies
Utilizing native context implementation, which is better integrated in React rendering flow
Famous react packages like react-router, emotion, styled-components, react-final-form are already
in the process of migrating to React context.

This is a breaking changes, so it'll require v3.0 release.

The third point is not the problem
https://github.com/jamiebuilds/create-react-context/blob/master/src/index.js#L5

@TrySound Yeah, if this PR https://github.com/jamiebuilds/unstated/pull/46 is merged it won't be :)

For Travis not to fail, I probably need to include updated yarn.lock file to this PR, right?

Yes

Ok, I had to update flow to make build pass

Am I right, that this won't be merged in any near future?

Great change! I think this is also a necessary change if we want to support the new StrictMode. I hope @jamiebuilds will soon take a look at your pull request.


Replace grouping parameter with performance parameter

I hope I haven't replaced grouping in places where it was used for something other than the tracks.grouping value! (definitely worth checking)
Corresponding PR for LMS is https://github.com/LMS-Community/slimserver/pull/1109: we should try to co-ordinate release. Whether this means backporting this to master, I don't know, depends on your schedule for merging current dev.
Once we've got this done, we can look at reusing grouping for grouping tracks into Acts, Scenes, etc in the tracks listings.

Oops, created the PR against master - I'll close and try again.


Mpu6050 Accel/Gyro

Hopefully this addresses your concerns, I am working on a version that supports interrupts with a few other minor changes.


Adding Loader to required pages

Added a pure CSS animated loader

@shaurya35

@aadarsh10c good work. There are few things I want you to add.

Loaders are necessary where the web applications takes time to respond such as request from a database or verification
so please put loaders wherever required such as auth, companies, stocks, etc
Can you show a video of loader working, you may add some artificial delay just to test if the loader is working something like useEffect.

Sure @shaurya35 , I will send the video . Additionaly I will look into were u need addional Loaders.

@shaurya35 , The submit button of Signup and login forms will display a loading indicator upon click.Please check below and let me know if u want to keep or if u have any better  suggestions.
https://github.com/user-attachments/assets/9d7ab149-37c3-4cde-bf63-f9865752e123

@aadarsh10c can you send me a video when it's showing the loading icon when a page is loaded, that's what I asked for.

@shaurya35 , here is the video . Here I have shown for Analytics dashboard(3 secs delay added), Same Loader has been added for
Prediction and Chat.
https://github.com/user-attachments/assets/86a6f2ad-f607-4b4e-b151-795e695af8b7

@aadarsh10c good work with the login loading, but because to maintain the theme, the page loader should be somewhat similar to the theme. Can you please just put the loading loader and remove everything else.
Your PR will be merged after that.

only the loading loader

@shaurya35 , sorry for late submission , I had a unavodialbe situation that needed my attention . Anyways, I have removed the Login loading , and have added only the loading  Loaders as shown above. Let me know if it needs any imporvements.

@aadarsh10c hello
By loading loader I meant the loader shown when login is clicked.
Actually the page loader is not matching with the theme.
If you can create a similar theme loader, then the pull request will resolve the issue.
If I merge right now, the ui may get bonked for users.
Key points:

your login loader is good and can be merged
page loader needs to be changed with specific ui and theme

@shaurya35 , hi
sry for the misundersatanding , I will make the changes by EOD.
Just fror confirmatioin , this the requested laoder right : https://github.com/shaurya35/Stockwise-Inventory-Manager/pull/29#issuecomment-2407133366

@aadarsh10c yeah you got it right

I have removed the page loader, and kept the login loader see #30 , Please close this pull request.


Handle overlapping vtt cues

Ticket: https://dicetech.atlassian.net/browse/DEV-5209

closing, it seems the root cause was something else


Uncaught Error: Call to undefined method Kreait\Firebase\Database::send() in

$factory = (new Factory)->withServiceAccount(__DIR__.'/google-service-account.json');
$database = $factory->createDatabase();
$notification = Notification::fromArray([
            'title' => "Testing",
            'body' => "body Testing",
            'image' => "http://lorempixel.com/300/300/",
 ]);
$message = CloudMessage::withTarget("topic", "testing")->withNotification($notification);
$database->send($message);

You are trying to send a message from the database, this can't work :)
If you want to send a message, use the messaging component 🙏


Remove HAVE_LARGEFILE conf. option since it is not used.

Am I missing where this is used?

Self-reminder: if we merge this, remove from infra setting of this option.

a2ab5e48977fd92b2837cbd6cfd0eaedd89ce27b


QShortcut

I try to add shortcut inside the QWinWidget with 👍
QShortcut* ss = new QShortcut(QKeySequence(tr("F2", "Rename Record")), this); 	ss->setContext(Qt::ShortcutContext::ApplicationShortcut); 	connect(ss, &QShortcut::activated, this, [=]() { 		qDebug() << "TEST"; 		});
But the shortcut is never trigger.
Any idea ?
thanks

I just add :
if(message == WM_KEYUP ||message == WM_KEYDOWN || message == WM_SETFOCUS) 		if (childWindow) 			SendMessage(childWindow, message, wParam, lParam);
At the end of WnProc and it's seems to work ...
If it can help ...

as mentionned before


Load Command Contains --skip-procedures is this valid?

This command makes sense for the "dump" command, but not in "load". Verify this and correct if needed.

fixed


support for asp.net core 2.2

Hi,
quick question
do you plan to support ASP.NET Core 2.2 ? Thanks !
best regards
Lukas Slizik

Any updates on this?

Hi, @LukasSlizik @angelcalvasp
i did it on asp.net core 2.2 ,but i don't know why it worked.
see: [https://www.cnblogs.com/fansite/p/10516208.html]

Wow does seem to work


Spring Cloud Config Client with 4.0.1 with Jasypt 3.0.5 does not decrypt the credentials for the Spring Cloud Config Server on startup

I'm trying to using Jasypt 3.0.5 in our Spring Cloud Config Client based on 4.0.1 release (Spring 6.0.5 release) so that I can encrypt the credentials for the Spring Cloud Config Server in the client's application.properties file. I've written the client based on the examples provided and I see that the credentials are not decrypted when the client is executed. As a result the connection fails. I'm unable to find a way where the credentials are decrypted before they are used by the client to make a connection to the config server. Encrypting any other custom property in the application.properties works well.
Here is my sample code:
//////////////////////////
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.core.env.Environment;
import com.ulisesbocchio.jasyptspringboot.annotation.EnableEncryptableProperties;
@SpringBootApplication
@EnableEncryptableProperties
public class ConfigServerSampleClient implements CommandLineRunner {
@Autowired
private Environment env;

public static void main(String[] args) throws Exception {
	SpringApplication.run(ConfigServerSampleClient.class, args);
}

}
//////////////////////
Here is my application.properties file:
spring.profiles.active=test
spring.application.name=config-client
spring.config.import=configserver:https://localhost:8443/config-server/
spring.cloud.config.username=ENC(ESbGS75MjvgICT/bPDwk/vTo2ZBVTnqQkpyoGNP/WohJobV653/UswcirTRVP5aQ)
spring.cloud.config.password=ENC(oCirYOlGhC9yQRVLe+WXGfPvRokLH5t/12182FmtAuHvcLNIwA3JEprsUBUYlEcL)
Any help is really appreciated.

I resolved the issue. Here is what I had to do to implement Jasypt encryption in Spring Cloud Config Client which basically is a Spring Boot Application that acts as client for Spring Cloud Config Server:

Inside my pom.xml, I had to import following dependencies:

org.springframework.cloud
spring-cloud-starter-config

org.springframework.cloud
spring-cloud-starter-bootstrap

org.springframework.boot
spring-boot-starter-web

com.github.ulisesbocchio
jasypt-spring-boot-starter
3.0.5

com.github.ulisesbocchio
jasypt-spring-boot
3.0.5

In my main class, I made two changes:
Earlier (not working):
@SpringBootApplication
@@EnableEncryptableProperties
public class ConfigServerSampleClient implements CommandLineRunner {
public static void main(String[] args) throws Exception {
//SpringApplication.run(ConfigServerSampleClient.class, args);
}
}
Now (working):
@SpringBootApplication
public class ConfigServerSampleClient implements CommandLineRunner {
public static void main(String[] args) throws Exception {
new SpringApplicationBuilder()
.environment(new StandardEncryptableEnvironment())
.sources(ConfigServerSampleClient.class).run(args);
}
}


Migrate to pyproject.toml

Description
Move towards a more modernised tool-agnostic Python package setup: Migrate .coveragerc, MANIFEST.in, pytest.ini, setup.py to one single pyproject.toml to have less boilerplate files in the repo root.
This is not so much relevant for the use on the image as there only the src folder is kept from the repo and every other file is ignored / removed see e.g. https://github.com/SeedSigner/seedsigner/blob/dev/.github/workflows/build.yml#L76
So the pyproject.toml is both an informal place containing all the Python tooling specific package information and is currently only used when installing the package during testing via pip. Both coverage (since version 5.0, we use 7.3.1) and pytest (since version 6.0, we use 7.4.2) support reading their configuration from the central pyproject.toml.
The formal spec can be found here https://packaging.python.org/en/latest/specifications/pyproject-toml/#pyproject-toml-spec
This pull request is categorized as a:

[ ] New feature
[ ] Bug fix
[x] Code refactor
[ ] Documentation
[ ] Other

Checklist

[ ] I’ve run pytest and made sure all unit tests pass before sumbitting the PR

If you modified or added functionality/workflow, did you add new unit tests?

[ ] No, I’m a fool
[ ] Yes
[ ] N/A

I have tested this PR on the following platforms/os:

[ ] Raspberry Pi OS Manual Build
[ ] SeedSigner OS on a Pi0/Pi0W board
[ ] Other

Note: Keep your changes limited in scope; if you uncover other issues or improvements along the way, ideally submit those as a separate PR. The more complicated the PR the harder to review, test, and merge.

ACK!
I can confirm that everything ran as expected:
pytest
coverage run -m pytest
coverage report
coverage html

ACK


Getting error while running the cypress run command - Cannot read property 'name' of undefined.

Need help with cypress-cucumber-preprocessor plugin for Cypress.
Getting error while running the cypress run command( But it works fine with cypress open) -
Here are the logs
<EMAIL_ADDRESS>test:all
cypress run --spec "*/.features"
====================================================================================================
(Run Starting)
┌────────────────────────────────────────────────────────────────────────────────────────────────┐
│ Cypress: 6.8.0 │
│ Browser: Electron 87 (headless) │
│ Specs: 1 found (All.features) │
│ Searched: *.features │
└────────────────────────────────────────────────────────────────────────────────────────────────┘
────────────────────────────────────────────────────────────────────────────────────────────────────
Running: All.features (1 of 1)
The following error was thrown by a plugin.  Please check your plugins file (.....\CypressIOJsNodejsBDD\cypress\plugins\index.js)
TypeError: Cannot read property 'name' of undefined
at .....\CypressIOJsNodejsBDD\node_modules\cypress-cucumber-preprocessor\lib\featuresLoader.js:114:64
at Array.map (:null:null)
at module.exports ( .....\CypressIOJsNodejsBDD\node_modules\cypress-cucumber-preprocessor\lib\featuresLoader.js:112:6)
at Stream.end ( .....\CypressIOJsNodejsBDD\node_modules\cypress-cucumber-preprocessor\lib\index.js:21:18)
at _end ( .....\CypressIOJsNodejsBDD\node_modules\through\index.js:65:9)
at Stream.stream.end ( .....\CypressIOJsNodejsBDD\node_modules\through\index.js:74:5)
at DestroyableTransform.onend ( .....\CypressIOJsNodejsBDD\node_modules\readable-stream\lib_stream_readable.js:577:10)
at Object.onceWrapper (events.js:421:28)
at DestroyableTransform.emit (events.js:327:22)
at endReadableNT ( .....\CypressIOJsNodejsBDD\node_modules\readable-stream\lib_stream_readable.js:1010:12)
at processTicksAndRejections (internal/process/task_queues.js:84:21)
Note - ..... means local root dir.
Versions

Cypress version: 6.8
Preprocessor version: 4.0.3
Node version: v14.13.1

There's not enough information here for me to reproduce the issue. You need to provide me with a minimal example in the form of a cloneable repository.

I'm pretty sure this happens if you have an empty .feature; easy fix :)

Due to personal reasons, the previous maintainers of this package are stepping down and handing the reigns over to me, a long-time contributor to the project and a user of it myself. This is a responsibility I'm very excited about. Furthermore, I'd like to thank @lgandecki ++ for all the work that they've done so far.
Read more about the transfer of ownership here.
The repository has however moved and all outstanding issues are being closed. This is not a reflection of the perceived importance of your reported issue. However, if after upgrading to the new version, you still find there to be an issue, feel free to open up another ticket or comment below. Please make sure to read CONTRIBUTING.md before doing so.


Add New Templates to Formio

Hi all,
I want to add a custom framework, like bootstrap, to formio. I am trying to use Templates, but the struture of my css framework is not the same as formio/bootstrap, for example.
Is there any way to add my library using/ading new Templates?
@randallknutson

I'm trying to add a component that is devextreme too, but in Formio, I'm under the basic group. When I drag and drop, it doesn't appear in the preview.
@randallknutson
@rafmachado

Here's an example I received from one of our devs:
HQScript.txt


Revert "Do not assume pod is always in cache on delete"

Reverts openvswitch/ovn-kubernetes#20

PR #20 had a syntax error (missing self reference)

       del self.service_cache[cache_key]

       service_cache.pop(cache_key, None)

LGTM

Travis CI build for this patch appear to be stuck


GLIBC_2.28 not found when installing/updating on Stretch

When installing or updating on Stretch, you get the following error:
raspimjpeg: /lib/arm-linux-gnueabihf/libc.so.6: version 'GLIBC_2.28' not found (required by raspimjpeg)
Is it still practical to support Stretch?
(See also https://www.raspberrypi.org/forums/viewtopic.php?f=43&t=63276&p=1655663#p1655394 )

Stretch is supported but you have to use a different version of raspimjpeg as the libraries are different in stretch. This is covered in the wiki instructions.
The stretch compatible version of raspimjpeg is included in the install but called raspimjpeg-stretch and must be renamed to the standard raspimjpeg. Normally this should be done prior to running the install script. If the install has already been done then do the renaming and run the install script again.
There are a couple of features (not that important) which are only available on buster installs.

Ah, missed that - thanks!


Filter reviews for one (current git repo) project only

I have a .gitreview file with the following content
[gerrit]
host=https://my-gerrit.abc.com
project=sun/project_1

My aim is to solely view reviews linked to this specific project upon accessing the Gerrit panel, rather than all the projects I can access. Have I overlooked a particular setting for this? Or is there a method to integrate such support?
Upon inspecting the code, I noticed that the 'project' property from the gitreview file is solely used in the openOnGitiles function located at src/lib/gitles/gitles.ts.

That's a good point actually, I'll change it so that it only shows changes in the current project by default.

Now live in version 1.1.35 :)


Replace MonadBaseControl with MonadUnliftIO

Hi, would you accept a patch that replaces the dependency on monad-control with unliftio-core? (MonadBaseControl m -> MonadUnliftIO m).
The docs for immortal read:

The monadic «state» (captured by the MonadBaseControl instance) will be preserved if the computation terminates normally, and reset when the exception is thrown, so be cautious when m is stateful. It is completely safe, however, to instantiate m with something like ReaderT conf IO to pass configuration to the new thread.

which is the problem MonadUnliftIO is meant to solve.

Yes, soounds good.


Convert all strings to language translation strings [React]

Feature details

[ ] All strings in React components use language translation strings. Ex. convert Add Node to t('AddNode'). See some of our React components for real examples.

How to do this:

Find the strings (words or sentences) that are in english only
Open the app and change languages from English to another and take note of all the text that hasn't been converted to the other language and look through all of the components in src/renderer and any text that is shown to the user (in a render method of a component .tsx file)
Convert the code so that the string is translated before being shown to the user. Example, change:

<Button label="Next" />

to
const { t } = useTranslation();
...
<Button label={t('Next')} />

Live code example: https://github.com/jgresham/nice-node/blob/3b24921c261ec52f86857a5e31c45702294c57a0/src/renderer/Generics/redesign/Alert/Alert.tsx#L72
3. Add the English version of the text to one of the files in src/assets/locales/en here https://github.com/jgresham/nice-node/tree/3b24921c261ec52f86857a5e31c45702294c57a0/assets/locales/en. If the text is specific to NiceNode, put it in translation.json, if the text is used in a generic component (not specific to NiceNode) put it in genericComponents.json. Depending on which file you put it in, you will need to pass the filename to useTranslation like so const { t } = useTranslation('genericComponents');
When this work is done, Johns will upload the .json files to crowdin.com and anyone can come and translate the English to another language, which can then be used in NiceNode.

@wolfderechter has started on this

resolved with #280


[BUG]: Paypal subscription button - shows error but still charges the user

Is there an existing issue for this?

[X] I have searched the existing issues.

🐞 Describe the Bug
We are using react-paypal-js for integration with Paypal.
We found out weird issue.
Paypal popup shows error message and onApprove is not triggered, however the user is charged the amount.
We are not able to verify if the user payed since onApprove is not triggered.

😕 Current Behavior
When the user completes the checkout the error message is shown, onApprove is not triggered and window is not closing.
However user is charged.
🤔 Expected Behavior
If error pops up it should not charge the user.
🔬 Minimal Reproduction
No response
🌍 Environment
| Software         | Version(s) |
| ---------------- | ------------------ |
| react-paypal-js  | 8.1.3      |
| Browser          | Brave v1.58.131       |
| Operating System | MacOS 13.5.1    |

Relevant log output
No response
Code of Conduct

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

➕ Anything else?
No response

Hi @zcmqc -- Apologies for the delay in our acknowledgement, I'm currently working with the team to get answers. If you can please post a copy of your source code so we can troubleshoot this issue further.

@zcmqc Can you provide specific example IDs -- at least completed sandbox transactions, but preferably the full address bar and anything relevant from the browser console (or code/site with steps to reproduce).

@devchristina Hello Christina.
I am using subscription button https://paypal.github.io/react-paypal-js/?path=/docs/example-subscriptions--default
So after the user clicks this button, adds its data and goes through all the steps in the Paypal popup window, at the end of the process he gets the error I screenshot so the onApprove function is not triggered. But the user is charged.
At least that is what I see in the transactions.


Transfer of current folder "." crashes both sides of connection

wormhole send .

Created a giant zipfile then waited.  Ok.
wormhole receive

Asked for code then crashed:
Error: refusing to overwrite existing '.'
TransferError: transfer rejected

This also killed the sender !  Had run send and make the (huge) zipfile again, then:
wormhole receive -o tempfolder

Worked around the issue.  :/
Use of the current folder "." should be handled transparently, thank you.

Assigning to @mixmastamyk for verification: please close (or tell me to close) if 0.10.4 works as expected.

I haven't heard any further problem reports, so I'm assuming this is fixed. @mixmastamyk , please re-open if you see otherwise.


Fix buffer overflow and remove redundant albedo checks

The monthly albedo check caused a buffer overflow from an array out-of-bounds error when spatial monthly albedos are used instead of monthly uniform albedos. The other checks are redundant to the checks on lines 185-194 in lib_pv_io_manager.cpp .
Paul, please let me know if I'm misunderstanding anything. Thanks.

No problem! Thanks for reviewing.


Export  C# Project error

I'm using windows 7 godot version (3.1?) latest commit 5b8dde4b4a5a930e08da51e07ec87f43e5bd7b36
Despite succesfully installing the 3.1,alpha.mono template an unhandled exception is thrown when an export is started:
Unhandled Exception:
System.IO.FileNotFoundException: Data template directory not found
  at GodotSharpTools.Editor.GodotSharpExport._ExportBegin (System.String[] features, System.Boolean debug, System.String path, System.Int32 flags) [0x000c3] in
<71727b6fa85b499a9997012645bf816c>:0
ERROR: GodotSharpExport::_export_begin: Method/Function Failed.
   At: modules\mono\editor\godotsharp_export.cpp:161

Same problem goes for any project running in the editor, even bare minimum. Result of the export is an executable and a .pck file that fails to run because of a missing file: L:\GodotExports\TestExport/data_Godot/Mono/lib\mono\4.5\mscorlib.dll. At least from this error message it's clear what to look for and confirm the file is not there. So it seems i'm now stuck on the exception.

This is explained in the docs: http://docs.godotengine.org/en/latest/development/compiling/compiling_with_mono.html
SCons should have created a folder data.mono.<platform>.<bits>.<target>, e.g.: data.mono.windows.64.release. You must place this folder in the templates directory together with the Godot executable.

Thanks for your reply, it did help me get further rebuilding the editor step by step from scratch and copy the data template folder into the templates directory. Now it does find the data template directory and finish exporting without errors. But when I export a simple scene with only cube, camera and a C# script the result .exe crashes upon running.
The build folder now contains:

data_TestExport
TestExport.exe
TestExport.pck

Inside the editor log.txt after build some warning/error but seems unrelated to the export process so probably fine.
OpenGL ES 3.0 Renderer: Quadro K2200/PCIe/SSE2
**WARNING**: ObjectDB Instances still exist!
   At: core\object.cpp:2081:ObjectDB::cleanup() - ObjectDB Instances still exist!
**ERROR**: There are still MemoryPool allocs in use at exit!
   At: core\dvector.cpp:70:MemoryPool::cleanup() - Condition ' allocs_used > 0 ' is true.

Inside the exported project log.txt after running exe:
**ERROR**: The loaded API assembly is invalid
   At: modules/mono/mono_gd/gd_mono.cpp:307:initialize() - The loaded API assembly is invalid
**ERROR**: FATAL: Method/Function Failed.
   At: modules/mono/mono_gd/gd_mono.cpp:308:initialize() - FATAL: Method/Function Failed.

Inside the mono_logs.txt after running the exe:
Mono version <IP_ADDRESS>
Config attempting to parse: 'L:\GodotExports\TestExport/data_TestExport/Mono/etc\mono\config'. (in domain Mono, info)
Image addref mscorlib[000000000A247830] -> .mono/assemblies/mscorlib.dll[000000000A37DF50]: 2 (in domain Mono, info)
Prepared to set up assembly 'mscorlib' (.mono/assemblies/mscorlib.dll) (in domain Mono, info)
AOT: image '.mono/assemblies/mscorlib.dll.dll' not found: Het systeem kan het opgegeven pad niet vinden.
 (in domain Mono, info)
AOT: image 'L:\GodotExports\TestExport/data_TestExport/Mono/lib/mono/aot-cache/amd64/mscorlib.dll.dll' not found: Het systeem kan het opgegeven pad niet vinden.
 (in domain Mono, info)
Assembly mscorlib[000000000A247830] added to domain GodotEngine.RootDomain, ref_count=1 (in domain Mono, info)
Found assembly remapping for mscorlib and was for the same version <IP_ADDRESS> (in domain Mono, debug)
Assembly mscorlib[000000000A247830] added to domain GodotEngine.ScriptsDomain, ref_count=2 (in domain Mono, info)
Image addref GodotSharp[000000000A247EF0] -> .mono/assemblies/GodotSharp.dll[000000000A42C520]: 2 (in domain Mono, info)
Prepared to set up assembly 'GodotSharp' (.mono/assemblies/GodotSharp.dll) (in domain Mono, info)
Assembly GodotSharp[000000000A247EF0] added to domain GodotEngine.ScriptsDomain, ref_count=1 (in domain Mono, info)
Found assembly remapping for mscorlib and was for the same version <IP_ADDRESS> (in domain Mono, debug)
Config attempting to parse: ''. (in domain Mono, info)
Found assembly remapping for mscorlib and was for the same version <IP_ADDRESS> (in domain Mono, debug)
Assembly Ref addref GodotSharp[000000000A247EF0] -> mscorlib[000000000A247830]: 3 (in domain Mono, info)

The reference to mscorlib.dll.dll seems a bit suspicious. Mixing the forward and backward slashes looks odd but is actually valid. And here i'm stuck again.

Now it runs without issues

Glad, that its solved, and explained by @neikeq. Usage of nightly Godot builds for Mono is still struggling enough but much less than before..


launch zookeper then mesos

launch-mesos.sh

also copies Zookeeper template to S3
validates if user has updated TODOs in parameters.json

zookeeper.json

describes a zookeeper cluster

parameters.json

add params to launch Zookeeper, remove Zk Outputs

mesos.json

launches Zookeeper, then Mesos master.
Uses Zk Outputs in Mesos

Thinking more about this, at what point should we just move this over to fab?

This LGTM for now though

Will merge- but agreed to put in Fab. Should be straightforward.


add note about setting internal Nodata in COG

First let me say that Nodata/Mask is a complex topic. Internal nodata, bit mask  in GeoTIFF are a GDAL specification (meaning introduced by GDAL devs) but are widely supported (e.g https://github.com/geotiffjs/geotiff.js/blob/ac1fe594455430ae9180f5108c0a2f32615d382f/src/globals.js#L107) and not present in the GeoTIFF nor TIFF specification (surprisingly cc @wildintellect).
When sharing data as COG if think it should be mandatory to have the nodata value/mask/alpha band set (at least when there is a ghost part in the data).
It would be really difficult to enforce this in the specification but I think the least we could do is to add a note on this web page telling that if possible a method describing the ghost/masked/undefined area must be used.
from https://github.com/mapbox/nodata

doc

https://github.com/OSGeo/gdal/blob/master/gdal/frmts/gtiff/libtiff/tiff.h#L479
https://www.awaresystems.be/imaging/tiff/tifftags/gdal_nodata.html
https://gdal.org/development/rfc/rfc15_nodatabitmask.html
https://gdal.org/drivers/raster/gtiff.html#nodata-value
https://gdal.org/drivers/raster/gtiff.html#internal-nodata-masks

@cholmes any though?

I'm definitely +1 on recommendations in the web page. And if we were further on the 'spec' I'd be into making a 'best practices' document where we also strongly recommend it. But on the web page is a good start. I'd even be ok to put it in the spec, even if it's just a recommendation.


Empty div returned

although the div contains elements, but the jsoup does not show its data, when page is loaded in jsoup the div is empty but in website the div conatins elements

Without details, no-one can replicate or look into this. Please provide a test case.
Are you sure the HTML source actually contains content in that div? Or is JS adding to the parsed DOM? In Chrome you can check this by comparing View Page Source (the original HTML) with Inspect (the current DOM). Remember that jsoup doesn't execute JS.

seems like that JS is creating the elements, as you as said I compared the page sources with Inspect.
And since Jsoup can't execute the JS I think we can't solve this issue right now, so I will be closing it


VS Code hangs when using the World Bank type provider and "dotting" in to certain structures

Description
I'm not sure whether this is VS Code, Ionide, the type provider or (most likely!) something I'm doing wrong.
When attempting to use the World Bank type provider, when I dot into the structure in certain places, VS Code hangs and needs to be force closed and restarted.
To Reproduce

Initialise paket and add FSharp.Data to packages folder.
Create .fsx file and paste in as below:

#I "./packages"
#r "./packages/FSharp.Data/lib/net45/FSharp.Data.dll"
open FSharp.Data

let wb = WorldBankData.GetDataContext()

let whatever =
  wb.Countries.``Spain``.Indicators.``Access to electricity (% of population)``

As soon as I place a . after Access to electricity (% of population), VS Code hangs and doesn't seem to recover.
This occurs while in net and netcore mode, and it happens in a fresh console app as well as .fsx files.
The same snippet works fine in Visual Studio.
Environment:

Software
Version

OS
Windows 10

Ionide version
3.35.0

VSCode version
1.33.1

dotnet SDK version
I'm not sure as I don't know whether the global.json is used, however I have both 2.2.202 and 3.0.100-preview3-010431 installed. The issue occurs when I create a console app with a global.json that references 2.2.202.

mono / .Net Framework version
Mono 5.12.0, .Net Framework 4.7.2 - however with multiple versions hanging around my PC I sometimes find it hard to be sure what is actually being referenced!

Additional context
I don't see anything new if I have the VS Code Developer Tools window open while doing this, but if there are logs written somewhere I can go and dig those out...
Also while I'm here, huge thanks for the truly brilliant software!

I think this is related to #1073 (`` and ( .. ) on the same line)

Yes it appears to be that, since the issue persists when I remove the reference to the Type Provider.
What's the etiquette here, do I close my issue and let it be tracked under #1073?

If bug is not connected to TPs I’ll close this one


Fix transactions documentation

We have these pages supposed to document transactions

https://www.prisma.io/docs/concepts/components/prisma-client/transactions
https://www.prisma.io/docs/guides/performance-and-optimization/prisma-client-transactions-guide
https://www.prisma.io/docs/reference/api-reference/prisma-client-reference#transaction

It is really confusing how this is documented, especially between the first two links (and why the third does not actually contain any real documentation).
We should figure this out and clean it up, so that our users can actually understand Prisma transactions.

Closing since we did a major restructuring of the docs last year that should have made this more clear 🙏


audiofolder only creates dataset of 13 rows (files) when the data folder it's reading from has 20,000 mp3 files.

Describe the bug
x = load_dataset("audiofolder", data_dir="x")
When running this, x is a dataset of 13 rows (files) when it should be 20,000 rows (files) as the data_dir "x" has 20,000 mp3 files. Does anyone know what could possibly cause this (naming convention of mp3 files, etc.)
Steps to reproduce the bug
x = load_dataset("audiofolder", data_dir="x")
Expected behavior
x = load_dataset("audiofolder", data_dir="x") should create a dataset of 20,000 rows (files).
Environment info

datasets version: 2.9.0
Platform: Linux-3.10.0-1160.80.1.el7.x86_64-x86_64-with-glibc2.17
Python version: 3.9.16
PyArrow version: 11.0.0
Pandas version: 1.5.3

Hi!

naming convention of mp3 files

Yes, this could be the problem. MP3 files should end with  .mp3/.MP3 to be recognized as audio files.
If the file names are not the culprit, can you paste the audio folder's directory structure to help us reproduce the error (e.g., by running the tree "x" command)?

Hi! I'm sorry, I don't want to reveal my entire dataset, but here's a snippet (all the mp3 files below are some of the ones not being recognized by audiofolder. Also, for another dataset, audiofolder loaded zero mp3 files because "train" was in the name of one of the mp3 files.
my_dataset
├── data
│   ├── VHA_Innovation_Stories_-Day_2-123.mp3
│   ├── VHA_Innovation_Stories-Day_2-124.mp3
│   ├── ASSOCIATION_OF_GENERAL_PRACTITIONERS_OF_JAMAICA_NEPHROLOGY_CONFERENCE-_JULY_3,2022-93.mp3
│   ├── ASSOCIATION_OF_GENERAL_PRACTITIONERS_OF_JAMAICA_NEPHROLOGY_CONFERENCE-_JULY_3,2022-94.mp3
│   ├── ASSOCIATION_OF_GENERAL_PRACTITIONERS_OF_JAMAICA_NEPHROLOGY_CONFERENCE-_JULY_3,_2022-95.mp3
│   ├── Your_Impact\357\274\232_Neurosurgery_equipment-5.mp3
│   └── Your_Impact\357\274\232_Neurosurgery_equipment-6.mp3
└── metadata.csv
Here's a few of the 13 files recognized by the dataset:
British_Heart_Foundation_-_Your_guide_to_a_Coronary_Angiogram,a_test_for_heart_disease-1.mp3
British_Heart_Foundation-_Your_guide_to_a_Coronary_Angiogram,a_test_for_heart_disease-2.mp3
British_Heart_Foundation-_Your_guide_to_a_Coronary_Angiogram,a_test_for_heart_disease-3.mp3
IVP_⧸_IVU_teIVP_⧸_IVU_test_Procedure_for_Kidneys_intravenous_pyelogram-medical_radiology_X-ray_ivp-1.mp3st_Procedure_for_Kidneys_intravenous_pyelogram-_medical_radiology_X-ray_ivp-2.mp


operator mondoo-operator (1.1.1)

Signed-off-by: Ivan Milchev<EMAIL_ADDRESS>

/merge possible

/merge possible


RDM-13045 Trigger integration and functional tests from CI pipeline

JIRA link (if applicable)
https://tools.hmcts.net/jira/browse/RDM-13045
Change description
Configure Jenkins pipeline to run the case-disposer integration and functional tests
Does this PR introduce a breaking change? (check one with "x")
[ ] Yes
[x] No

Closing this PR per PlatOps request


URL_Launcher OnDismiss Callback or Listener

There currently isn't a way to tell when the SFSafariViewController is dismissed. It seems necessary when certain actions need to be carried out afterwards.

I'm interested in this as well. I gave the issue a thumbs up


Need string.h for memset

gcc 4.8 for Android is warning about
l52util.c:154:3: warning: incompatible implicit declaration of built-in function 'memset' [enabled by default]
#include <string.h> to fixes this.

Coverage decreased (-0.43%) to 63.06% when pulling 56f838155bb292c6d78a8737bdbf545f787cca96 on ewmailing:master into 88c610264395fe3e38b7b7cbeb94db526278c571 on Lua-cURL:master.


Swiper4 seems cannot be compressed by webpack UglifyJs plugin

Error below occurred when I tried to compress swiper4 via Webpack3 build-in UglifyJs plugin).
ERROR in scripts/lion_6a64ded940eb84148718.js from UglifyJs
Unexpected token: name (i) [scripts/lion_6a64ded940eb84148718.js:6536,6]

I have same problem.
I use laravel and production crash this error

3.4.2 version is ok Webpack build uglify

You are probably including ES-next version of swiper. If you use it with imports you need to use something like babel-loader or import correct version:
import Swiper from 'swiper/dist/js/swiper.js';

I was using just import Swiper from 'swiper'; and  I can confirm that import Swiper from 'swiper/dist/js/swiper.js'; solved the issue for me.

Yes, adding the absolute-like path fixed the issue :)

Didn't help me =(
package.json
"swiper": "=>4.0.2"
js code:
import Swiper from 'swiper/dist/js/swiper.js'
error:
scripts/main_93aa9e33.js from UglifyJs Unexpected token: name (w) [scripts/main_93aa9e33.js:20173,4]

@Phalconline :
I tried running everything as you did but still getting the same exact error.
Can you tell me what you mean by you added swiper to exclude?
I'm afraid if I can't get this to run I'm going to have use a different slider.

@devanflaherty
yep, on webpack config add next:
module: {     rules: [       {         test: /\.js$/,         exclude: [/(node_modules|bower_components)(?![/|\\](swiper))/],         use: [           { loader: 'cache' },           { loader: 'buble', options: { objectAssign: 'Object.assign' } },         ],       }

Saved my butt. Thanks man.
On Nov 4, 2017, 11:58 AM -0600, Alexander Sokolovskiy<EMAIL_ADDRESS>wrote:

@devanflaherty
yep, on webpack config add next:
module: { rules: [ { test: /.js$/, exclude: [/(node_modules|bower_components)(?)/], use: [ { loader: 'cache' }, { loader: 'buble', options: { objectAssign: 'Object.assign' } }, ], }
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@Phalconline  Did you resolve this problem, i meet the same problem like you
Unexpected token: name (w) [./node_modules/swiper/dist/js/swiper.esm.bundle.js:15,0]

@ashen9 yep, look below, just exclude swiper exclude: [/(node_modules)(?)/],'

It should be exclude: /node_modules\/(?!(dom7|swiper)\/).*/, per the docs.

But this does not solve the issue at all when used with the es2015 preset.

At least template literals are not transpiled by default. Unexpected character \'''`

Does anybody know the needed babel plugins and presets to compile the esm version?


Large number of Connections opened to redis in case of load

Expected behavior
Connection count should remain stable even during load due to connection pooling.
Actual behavior
When the application is load, there is a spike in number of connections to redis. This starts causing redis timeout exceptions in the application.
Cache manager implementation
Following is how we have implemented the cache manager which is used to handle data transfer to and from redis.
Every time there is a request to get and put things from/in cache we get an instance of RMapCache from redisClient and use that for the operation.
This map is not singleton or pooled. Since this map is instantiated for every request is this causing the spike in connections?

Could you share Redisson configuration and any code sample to reproduce the issue?

@kumar-pratyaksh you are probably using sync operations, look at the async api.

Could you share Redisson configuration and any code sample to reproduce the issue?

Hi @mrniko
Following is the code snippet we are using to get the map instance
private static RMapCache<Object, Object> getCache(String cacheMap) { 		if (redissonClient == null) { 			LOGGER.debug("New Redisson connection created"); 			createRedissonClient(); 		} 		return redissonClient.getMapCache(cacheMap); 	}
Following is the configuration
--- clusterServersConfig:   idleConnectionTimeout: 10000   pingTimeout: 1000   connectTimeout: 10000   timeout: 10000   retryAttempts: 5   retryInterval: 1500   reconnectionTimeout: 10000   failedAttempts: 5   password: null   subscriptionsPerConnection: 5   clientName: null   loadBalancer: !<org.redisson.connection.balancer.RoundRobinLoadBalancer> {}   subscriptionConnectionMinimumIdleSize: 1   subscriptionConnectionPoolSize: 500   slaveConnectionMinimumIdleSize: 10   slaveConnectionPoolSize: 200   masterConnectionMinimumIdleSize: 10   masterConnectionPoolSize: 200   readMode: "SLAVE"   subscriptionMode: "SLAVE"   nodeAddresses:   (@@@@@@@@)   (@@@@@@@@)   scanInterval: 1000 threads: 0 nettyThreads: 0 codec: !<org.redisson.codec.JsonJacksonCodec> {} useLinuxNativeEpoll: false

@kumar-pratyaksh you are probably using sync operations, look at the async api.

@johnou Yes all our operations are sync. Will it still be causing this spike in number of connections.

@kumar-pratyaksh yes it will.

as option you can reduce connection pool size or set *ConnectionPoolSize = *ConnectionMinimumIdleSize


CI integration

Want initial travis setup to deploy updates to the dev branch to the live dev site (likely firebase default)

dev deployment available at: https://precious-plastics-v4-dev.firebaseapp.com/
closing


make crate compatible with stable Rust

arbitrary_self_types was really not necessary: see patch in object/mod.rs

as I understand, proc_macro_hygiene adds checks,
but does not change the semantics, so I commented them out.

Yes arbitrary_self_types was unnecessary indeed. As for proc_macro_hygiene I'm a bit curious what changed since I clearly remember rustc rejecting the examples without it. But anyways, thanks for the changes, having it work on stable rust is a good thing.


Update smoke tests for atree inlining

Issue To Be Solved
Smoke tests have not been updated to support Atree inlining introduced in PR #342.
Suggested Solution
Smoke tests should be updated to support Atree inlining introduced in PR #342.

Closed by #348.


Support Windows Subsystem for Android

Preparation

[X] No one has asked for this feature before in other issues (even the closed ones)

Describe the feature
FGA dose not support Windows Subsystem for Android now.
I install the latest FGA, the accessibility service is on, it notice 'Overlay service running', but nothing happened.
Will FGA support WSA, or I must try another emulator?

WSA is only available in the USA on Insider Builds right now, so this has to wait until the rest of the world (including us developers) can access it.

I got WSA running. How did you get accessibility service to run @abbaccadd0 ?

Accessibility service may be accessed by:

Install a launcher app like Nova
Within Nova Launcher, launch the internal Android Settings app (not the WSA Settings in Windows)
Accessibility -> Enable for FGA

You should arrive at the stage where as described above, the overlay service is reported running but you cant see the play button anywhere


feat(sdk-metrics-base): remove per-meter config on MeterProvider.getMeter

Which problem is this PR solving?
API doesn't allow to pass a meter config to getMeter.
Related: #2546
Related: #2547
Short description of the changes
Removes per-meter config on MeterProvider.getMeter.
Type of change

[x] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

[x] Followed the style guidelines of this project
[x] Unit tests have been added

Can you please fix the conflicts so I can merge this?


Modified README.md file

Updated readme file with the following sections-

Project Description
Group members and Roles
Tech stack
Project Approach

Everything seems okay!


Get All Documents and not only 10

Hi, If I want to get all the document in search its always return only 10, but I have more and I don't want to use From and Size function, how can I do it?!
Thanks

Well, there has to be a default value for Size which looks like it is 10. Returning all documents by default is obviously a bad choice. Just imaging you have billions of documents (like we do). Why don't you want to use From and Size? That's the way to go.
Also remember that there is a default upper bound for Size (10000 I think) which you can increase (although that's a bad idea resource-wise). If you have millions or billions of documents, you should use the Scroll API and iterate over all documents like a cursor in a database.


updated the AI landing page location and TOC

Overview/Summary
Replace this with a brief description of what this Pull Request fixes, changes, etc.
This PR fixes/adds/changes/removes

updated the AI landing page location and TOC

Breaking Changes
As part of this Pull Request I have

[X] Read the Contribution Guide and ensured this PR is compliant with the guide
[X] Checked for duplicate Pull Requests
[X] Associated it with relevant GitHub Issues or ADO Work Items (Internal Only)
[X] Ensured my code/branch is up-to-date with the latest changes in the main branch
[X] Ensured PR tests are passing
[X] Updated relevant and associated documentation (e.g. Contribution Guide, Docs etc.)

@jhajduk-microsoft - FYI - I moved the Use Cases content to the top level of the AI section and fixed the TOC visibility.  I will sync with you offline about this.


Allow a custom executor class in GraphQL::Batch.batch

Follow up to https://github.com/Shopify/graphql-batch/pull/68
Would be great to be able to use this using the GraphQL::Batch.batch API. WDYT?
cc @chrisbutcher

Policial doesnt seem to know positive? is not a thing in older rubies 🤷♂

I don't think Policial should even be checking this repo, since there is no rubocop config file, in which I would otherwise suggest that we just ignore the cop.  I've changed the Policial settings for the repo to not check ruby files.


python310Packages.ultraheat-api: 0.5.0 -> 0.5.1

Description of changes
https://github.com/vpathuis/ultraheat/releases/tag/v0.5.1

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

[ ] 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
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.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
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

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

3 packages built:

home-assistant-component-tests.landisgyr_heat_meter
python310Packages.ultraheat-api
python39Packages.ultraheat-api


⚠ Pihole-HEL has degraded performance

In 8784636, Pihole-HEL ($URL_PIHOLE_FI) experienced degraded performance:

HTTP code: 200
Response time: 18211 ms

Resolved: Pihole-HEL performance has improved in ec12401 after 5 minutes.


Add an aggregation function which accepts max points rather than a time window

Sometimes you just want to specify the maximum points a query should return instead of an aggregation function and a time window.

Added limit (<max_points>, <aggr_function>) to the grammar.
Example:
# This will return not more than 100 points. Original points are returned in case less than 100 points
# are found and mean with an auto selected time-span  is used in case more than hundred points are found.
select limit (100, mean) from 'series-001'


[hareflow] Minor update + add vcpkg_cmake_config_fixup

Changes

Add vcpkg_cmake_config_fixup(). Without it, we had problems likeCMake Warning at $VCPKG_ROOT/scripts/buildsystems/vcpkg.cmake:639 (_add_library):
  Cannot generate a safe dependent library path for target CoveoTarget because
  there is a cycle in the constraint graph:

    dir 0 is [/builds/build/vcpkg_installed/arm64-linux-dynamic/debug/lib]
      dir 1 must precede it due to runtime library [libhareflow.so]
    dir 1 is [/builds/build/vcpkg_installed/arm64-linux-dynamic/lib]
      dir 0 must precede it due to runtime library [libaws-cpp-sdk-sqs.so]

  Some of these libraries may not be found correctly.
Call Stack (most recent call first):
  CoveoTarget/CMakeLists.txt:1 (add_library)

because IMPORTED_LOCATION_DEBUG was missing.
Minor update to the port from version 0.1.0 to 0.1.1. This integrates a pull request by @BillyONeal (thanks!) where some missing headers were added. Following this pull request, we don't need the patch anymore.

c.c. @yrivardmulrooney, @dalloriam: this might interest you.
Housekeeping

[x] Changes comply with the maintainer guide.
[x] SHA512s are updated for each updated download.
[x] The "supports" clause reflects platforms that may be fixed by this new version.
[x] Any fixed CI baseline entries are removed from that file.
[x] Any patches that are no longer applied are deleted from the port's directory.
[x] The version database is fixed by rerunning ./vcpkg x-add-version --all and committing the result.
[x] Only one version is added to each modified port's versions file.

Usage test passed on x64-windows.

Note: I will be converting your PR to draft status. When you respond, please revert to "ready for review". That way, I can be aware that you've responded since you can't modify the tags.